Mp 2591 add terms of service (#300)

This commit is contained in:
Linkie Link
2023-07-14 16:39:12 +02:00
committed by GitHub
parent d949cc84b7
commit 48d07173fb
14 changed files with 156 additions and 28 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ interface EnvironmentVariables {
URL_API: string
URL_APOLLO_APR: string
WALLETS: string[]
PYTH_API: string
PYTH_ENDPOINT: string
MAINNET_REST_API: string
}
@@ -40,7 +40,7 @@ export const ENV: EnvironmentVariables = {
: process.env.NEXT_PUBLIC_API || '',
URL_APOLLO_APR: process.env.NEXT_PUBLIC_APOLLO_APR || '',
WALLETS: process.env.NEXT_PUBLIC_WALLETS?.split(',') || [],
PYTH_API: process.env.NEXT_PUBLIC_PYTH_API || '',
PYTH_ENDPOINT: process.env.NEXT_PUBLIC_PYTH_ENDPOINT || '',
MAINNET_REST_API: process.env.NEXT_PUBLIC_MAINNET_REST || '',
}
+1
View File
@@ -5,3 +5,4 @@ export const FAVORITE_ASSETS_KEY = 'favoriteAssets'
export const LEND_ASSETS_KEY = 'lendAssets'
export const AUTO_LEND_ENABLED_ACCOUNT_IDS_KEY = 'autoLendEnabledAccountIds'
export const SLIPPAGE_KEY = 'slippage'
export const TERMS_OF_SERVICE_KEY = 'termsOfService'