Skip to content

Commit

Permalink
Merge pull request #353 from invariant-labs/add-tokens
Browse files Browse the repository at this point in the history
add tokens to mainnet token list
  • Loading branch information
wojciech-cichocki authored Jan 8, 2025
2 parents f6fb3c7 + c2a61e8 commit 63fd6dc
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 3 deletions.
38 changes: 37 additions & 1 deletion src/store/consts/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,39 @@ export const TETH_MAIN: Token = {
coingeckoId: 'turbo-eth'
}

export const TURBO_AI_MAIN: Token = {
tokenProgram: TOKEN_PROGRAM_ID,
symbol: 'TURBO',
address: new PublicKey('6G61dR9rbcGW4btoLFFFDtebUV8J8LmAobnvvzhdf4Vf'),
decimals: 6,
name: 'Turbo AI',
logoURI:
'https://statics.eclipsescan.xyz/cdn/imgs/s60?ref=68747470733a2f2f697066732e696f2f697066732f516d563739564a58697479344a456d454c72526e635254556f664648646a5032626650706a53586a79434b337853',
coingeckoId: ''
}

export const ORCA_MAIN: Token = {
tokenProgram: TOKEN_2022_PROGRAM_ID,
symbol: 'ORCA',
address: new PublicKey('2tGbYEm4nuPFyS6zjDTELzEhvVKizgKewi6xT7AaSKzn'),
decimals: 6,
name: 'Orca',
logoURI:
'https://raw.githubusercontent.com/hyperlane-xyz/hyperlane-registry/refs/heads/main/deployments/warp_routes/ORCA/logo.svg',
coingeckoId: 'orca'
}

export const SOLAR_MAIN: Token = {
tokenProgram: TOKEN_2022_PROGRAM_ID,
symbol: 'SOLAR',
address: new PublicKey('CwrZKtPiZJrAK3tTjNPP22rD9VzeoxQv8iHd6EeyNoze'),
decimals: 9,
name: 'SOLAR STUDIOS',
logoURI:
'https://statics.eclipsescan.xyz/cdn/imgs/s60?ref=68747470733a2f2f617661746172732e67697468756275736572636f6e74656e742e636f6d2f752f3138343930303638323f733d393626763d34',
coingeckoId: ''
}

export enum RPC {
TEST = 'https://testnet.dev2.eclipsenetwork.xyz',
MAIN = 'https://mainnetbeta-rpc.eclipse.xyz',
Expand Down Expand Up @@ -676,7 +709,10 @@ export const getAddressTickerMap = (network: NetworkType): { [k: string]: string
EBull: EBULL_MAIN.address.toString(),
EGoat: EGOAT_MAIN.address.toString(),
DOGO: DOGO_MAIN.address.toString(),
PUNKSTAR: PUNKSTAR_MAIN.address.toString()
PUNKSTAR: PUNKSTAR_MAIN.address.toString(),
TURBO_AI: TURBO_AI_MAIN.address.toString(),
ORCA: ORCA_MAIN.address.toString(),
SOLAR: SOLAR_MAIN.address.toString()
}
}
}
Expand Down
10 changes: 8 additions & 2 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ import {
WETH_TEST,
WRAPPED_ETH_ADDRESS,
MAX_CROSSES_IN_SINGLE_TX,
USDT_MAIN
USDT_MAIN,
TURBO_AI_MAIN,
ORCA_MAIN,
SOLAR_MAIN
} from '@store/consts/static'
import { PoolWithAddress } from '@store/reducers/pools'
import { bs58 } from '@coral-xyz/anchor/dist/cjs/utils/bytes'
Expand Down Expand Up @@ -883,7 +886,10 @@ export const getNetworkTokensList = (networkType: NetworkType): Record<string, T
[BRICK_MAIN.address.toString()]: BRICK_MAIN,
[PANTY_MAIN.address.toString()]: PANTY_MAIN,
[PODAVINI_MAIN.address.toString()]: PODAVINI_MAIN,
[DOGW_MAIN.address.toString()]: DOGW_MAIN
[DOGW_MAIN.address.toString()]: DOGW_MAIN,
[TURBO_AI_MAIN.address.toString()]: TURBO_AI_MAIN,
[ORCA_MAIN.address.toString()]: ORCA_MAIN,
[SOLAR_MAIN.address.toString()]: SOLAR_MAIN
}
case NetworkType.Devnet:
return {
Expand Down

0 comments on commit 63fd6dc

Please sign in to comment.