2023-03-02 17:18:52 -08:00
|
|
|
export const LAST_ACCOUNT_KEY = 'mangoAccount-0.3'
|
2022-08-20 11:17:57 -07:00
|
|
|
|
2022-09-29 21:21:23 -07:00
|
|
|
export const CLIENT_TX_TIMEOUT = 90000
|
2022-08-20 11:17:57 -07:00
|
|
|
|
|
|
|
export const INPUT_TOKEN_DEFAULT = 'USDC'
|
2022-11-18 11:11:06 -08:00
|
|
|
export const MANGO_MINT = 'MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac'
|
|
|
|
export const USDC_MINT = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
|
2022-08-20 11:17:57 -07:00
|
|
|
export const OUTPUT_TOKEN_DEFAULT = 'SOL'
|
2022-08-20 19:57:07 -07:00
|
|
|
|
2022-12-15 14:51:19 -08:00
|
|
|
export const JUPITER_V4_PROGRAM_ID =
|
|
|
|
'JUP4Fb2cqiRUcaTHdrPC8h2gNsA2ETXiPDD33WcGuJB'
|
2022-08-24 16:25:59 -07:00
|
|
|
|
2023-01-02 14:21:41 -08:00
|
|
|
export const CONNECTION_COMMITMENT = 'processed'
|
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
// Local storage keys for settings
|
|
|
|
export const IS_ONBOARDED_KEY = 'isOnboarded-0.1'
|
2022-08-24 16:25:59 -07:00
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
export const SHOW_ZERO_BALANCES_KEY = 'show-zero-balances-0.2'
|
2022-08-31 07:54:37 -07:00
|
|
|
|
2022-09-01 11:51:15 -07:00
|
|
|
export const SIDEBAR_COLLAPSE_KEY = 'sidebar-0.1'
|
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
export const ONBOARDING_TOUR_KEY = 'showOnboardingTour-0.1'
|
|
|
|
|
|
|
|
export const PREFERRED_EXPLORER_KEY = 'preferredExplorer-0.1'
|
2022-09-11 17:22:37 -07:00
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
export const ANIMATION_SETTINGS_KEY = 'animationSettings-0.1'
|
2022-09-11 17:22:37 -07:00
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
export const SOUND_SETTINGS_KEY = 'soundSettings-0.1'
|
2022-09-27 20:07:26 -07:00
|
|
|
|
2022-12-21 14:33:26 -08:00
|
|
|
export const SIZE_INPUT_UI_KEY = 'tradeFormUi-0.2'
|
2022-11-22 21:38:31 -08:00
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
export const GRID_LAYOUT_KEY = 'savedLayouts-0.2'
|
2022-11-22 21:38:31 -08:00
|
|
|
|
2022-12-21 14:33:26 -08:00
|
|
|
export const NOTIFICATION_POSITION_KEY = 'notificationPosition-0.2'
|
2022-11-15 17:32:55 -08:00
|
|
|
|
2023-01-19 20:15:04 -08:00
|
|
|
export const TRADE_CHART_UI_KEY = 'tradeChart-0.3'
|
2022-12-27 11:00:34 -08:00
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
export const FAVORITE_MARKETS_KEY = 'favoriteMarkets-0.2'
|
2022-11-15 17:32:55 -08:00
|
|
|
|
2022-12-19 16:38:04 -08:00
|
|
|
export const THEME_KEY = 'theme-0.1'
|
|
|
|
|
2022-12-27 16:40:03 -08:00
|
|
|
export const RPC_PROVIDER_KEY = 'rpcProviderKey-0.4'
|
2022-12-27 13:34:05 -08:00
|
|
|
|
2023-01-19 12:31:45 -08:00
|
|
|
export const PRIORITY_FEE_KEY = 'priorityFeeKey-0.1'
|
|
|
|
|
2023-02-09 03:41:15 -08:00
|
|
|
export const SHOW_STABLE_PRICE_KEY = 'showStablePriceKey-0.1'
|
|
|
|
|
2023-02-08 01:58:03 -08:00
|
|
|
export const SHOW_ORDER_LINES_KEY = 'showOrderLines-0.1'
|
|
|
|
|
2023-03-02 09:02:26 -08:00
|
|
|
export const SHOW_SWAP_INTRO_MODAL = 'showSwapModal-0.1'
|
|
|
|
|
2022-12-19 16:24:46 -08:00
|
|
|
// Unused
|
2022-08-31 07:54:37 -07:00
|
|
|
export const PROFILE_CATEGORIES = [
|
|
|
|
'borrower',
|
|
|
|
'day-trader',
|
|
|
|
'degen',
|
|
|
|
'discretionary',
|
|
|
|
'loan-shark',
|
|
|
|
'market-maker',
|
|
|
|
'swing-trader',
|
|
|
|
'trader',
|
|
|
|
'yolo',
|
|
|
|
]
|
|
|
|
|
2023-01-12 13:22:46 -08:00
|
|
|
export const MANGO_ROUTER_API_URL = 'https://api.mngo.cloud/router/v1'
|
|
|
|
|
2023-01-18 05:13:29 -08:00
|
|
|
export const MANGO_DATA_API_URL = 'https://api.mngo.cloud/data/v4'
|
|
|
|
|
2022-09-13 23:24:26 -07:00
|
|
|
export const DEFAULT_MARKET_NAME = 'SOL/USDC'
|
|
|
|
|
2023-01-03 15:58:31 -08:00
|
|
|
export const MIN_SOL_BALANCE = 0.001
|
2022-11-29 20:01:55 -08:00
|
|
|
|
2023-03-01 04:33:02 -08:00
|
|
|
export const ACCOUNT_ACTION_MODAL_HEIGHT = '462px'
|
2022-12-19 16:24:46 -08:00
|
|
|
|
2023-03-01 04:33:02 -08:00
|
|
|
export const ACCOUNT_ACTION_MODAL_INNER_HEIGHT = '400px'
|
2023-01-12 16:16:10 -08:00
|
|
|
|
2023-01-17 21:06:00 -08:00
|
|
|
export const TRADE_VOLUME_ALERT_KEY = 'tradeVolumeAlert-0.1'
|
2023-01-18 20:35:36 -08:00
|
|
|
|
2023-01-19 21:25:43 -08:00
|
|
|
export const PAGINATION_PAGE_LENGTH = 250
|