diff --git a/src/store/consts/static.ts b/src/store/consts/static.ts index a400b7d..af13b3e 100644 --- a/src/store/consts/static.ts +++ b/src/store/consts/static.ts @@ -76,10 +76,20 @@ export const WETH_TEST: Token = { address: new PublicKey('So11111111111111111111111111111111111111112'), decimals: 9, name: 'Ether', - logoURI: 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/2FPyTwcZLUg1MDrwsyoP4D6s1tM7hAkHYRjkNb5w6Pxk/logo.png', + logoURI: + 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/2FPyTwcZLUg1MDrwsyoP4D6s1tM7hAkHYRjkNb5w6Pxk/logo.png', coingeckoId: 'ethereum' } +export const MOON_TEST: Token = { + symbol: 'MOON', + address: new PublicKey('JChWwuoqpXZZn6WjSCssjaozj4u65qNgvGFsV6eJ2g8S'), + decimals: 5, + name: 'Moon Inu', + logoURI: 'https://raw.githubusercontent.com/moon-meme/assets/main/Moon.png', + coingeckoId: '' +} + enum EclipseNetworks { TEST = 'https://testnet.dev2.eclipsenetwork.xyz', // TODO: TEST and MAIN temporarily set to the same endpoint as DEV; they are unvailable to change to on frontend anyways MAIN = 'https://staging-rpc-eu.dev2.eclipsenetwork.xyz', @@ -101,7 +111,12 @@ const MAX_U64 = new BN('18446744073709551615') export const tokensPrices: Record> = { Devnet: { USDC_DEV: { price: 1 }, BTC_DEV: { price: 64572.0 }, WETH_DEV: { price: 3430.21 } }, Mainnet: {}, - Testnet: { USDC_TEST: { price: 1 }, BTC_TEST: { price: 64572.0 }, WETH_TEST: { price: 3430.21 } }, + Testnet: { + USDC_TEST: { price: 1 }, + BTC_TEST: { price: 64572.0 }, + WETH_TEST: { price: 3430.21 }, + MOON_TEST: { price: 0.00000005735 } + }, Localnet: {} } export const tokens: Record = { @@ -222,10 +237,7 @@ export const airdropTokens: Record = { export const airdropQuantities: Record = { Devnet: [100 * 10 ** USDC_DEV.decimals, 0.0025 * 10 ** BTC_DEV.decimals], Mainnet: [], - Testnet: [ - 10 * 10 ** USDC_TEST.decimals, - 0.00025 * 10 ** BTC_TEST.decimals - ], + Testnet: [10 * 10 ** USDC_TEST.decimals, 0.00025 * 10 ** BTC_TEST.decimals], Localnet: [] } diff --git a/src/store/consts/utils.ts b/src/store/consts/utils.ts index f935597..da09820 100644 --- a/src/store/consts/utils.ts +++ b/src/store/consts/utils.ts @@ -14,6 +14,7 @@ import { BTC_DEV, BTC_TEST, MAX_U64, + MOON_TEST, NetworkType, PRICE_DECIMAL, Token, @@ -400,7 +401,8 @@ export const getNetworkTokensList = (networkType: NetworkType): Record