Skip to content

Commit a2f09f7

Browse files
(feat+refactor): ip token onboarding + code optimisation for erc20
Ticket: WIN-7914
1 parent c27b13b commit a2f09f7

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2678,6 +2678,17 @@ export const allCoinsAndTokens = [
26782678
Networks.main.mon
26792679
),
26802680

2681+
// Story testnet tokens
2682+
erc20Token(
2683+
'f9a9c36f-8938-4206-bf0d-5016a861c58f',
2684+
'tip:usdc',
2685+
'Testnet Story USDC',
2686+
6,
2687+
'0x8c7c52eabb0fcbcaebce2556d9a719d539ea02d8',
2688+
UnderlyingAsset['tip:usdc'],
2689+
Networks.test.ip
2690+
),
2691+
26812692
hederaCoin(
26822693
'98aad956-27ee-45dd-aa43-6a23c9a1d1d0',
26832694
'hbar',

modules/statics/src/base.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2898,6 +2898,12 @@ export enum UnderlyingAsset {
28982898
'xdc:srx' = 'xdc:srx',
28992899
'xdc:weth' = 'xdc:weth',
29002900

2901+
// Story testnet tokens
2902+
'tip:usdc' = 'tip:usdc',
2903+
2904+
// Story mainnet tokens
2905+
'ip:aria' = 'ip:aria',
2906+
29012907
// Arbitrum testnet tokens
29022908
'tarbeth:link' = 'tarbeth:link',
29032909
'tarbeth:xsgd' = 'tarbeth:xsgd',

modules/statics/src/coins.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export function createToken(token: AmsTokenConfig): Readonly<BaseCoin> | undefin
6060
seievm: erc20Token,
6161
mon: erc20Token,
6262
xdc: erc20Token,
63+
ip: erc20Token,
6364
bsc: bscToken,
6465
celo: celoToken,
6566
cosmos: cosmosToken,
@@ -125,6 +126,7 @@ export function createToken(token: AmsTokenConfig): Readonly<BaseCoin> | undefin
125126
case 'seievm':
126127
case 'mon':
127128
case 'xdc':
129+
case 'ip':
128130
case 'celo':
129131
case 'eth':
130132
case 'opeth':

0 commit comments

Comments
 (0)