File tree Expand file tree Collapse file tree 5 files changed +39
-3
lines changed
Expand file tree Collapse file tree 5 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -903,8 +903,9 @@ export function getCoinConstructor(coinName: string): CoinConstructor | undefine
903903 }
904904}
905905
906- // TODO: add IP token here and test changes (Ticket: https://bitgoinc.atlassian.net/browse/WIN-7835)
907- const ethLikeChainToTestnetMap : Record < string , string > = { } ;
906+ const ethLikeChainToTestnetMap : Record < string , string > = {
907+ ip : 'tip' ,
908+ } ;
908909export function getTokenConstructor ( tokenConfig : TokenConfig ) : CoinConstructor | undefined {
909910 if ( tokenConfig . coin in ethLikeChainToTestnetMap ) {
910911 return EthLikeErc20Token . createTokenConstructor ( tokenConfig as EthLikeTokenConfig , {
Original file line number Diff line number Diff line change @@ -1616,6 +1616,7 @@ export const allCoinsAndTokens = [
16161616 CoinFeature . EVM_NON_BITGO_RECOVERY ,
16171617 CoinFeature . EVM_UNSIGNED_SWEEP_RECOVERY ,
16181618 CoinFeature . STAKING ,
1619+ CoinFeature . SUPPORTS_ERC20 ,
16191620 ]
16201621 ) ,
16211622 account (
@@ -2678,6 +2679,28 @@ export const allCoinsAndTokens = [
26782679 Networks . main . mon
26792680 ) ,
26802681
2682+ // Story testnet tokens
2683+ erc20Token (
2684+ 'f9a9c36f-8938-4206-bf0d-5016a861c58f' ,
2685+ 'tip:usdc' ,
2686+ 'Testnet Story USDC' ,
2687+ 6 ,
2688+ '0x8c7c52eabb0fcbcaebce2556d9a719d539ea02d8' ,
2689+ UnderlyingAsset [ 'tip:usdc' ] ,
2690+ Networks . test . ip
2691+ ) ,
2692+
2693+ // Story Mainnet tokens
2694+ erc20Token (
2695+ '832c10c5-5bea-481f-948c-dbf6dd1560e5' ,
2696+ 'ip:aria' ,
2697+ 'Story Aria' ,
2698+ 18 ,
2699+ '0xc9cbbd8f211300dd0e7a3933b7aeedac6f61dd52' ,
2700+ UnderlyingAsset [ 'ip:aria' ] ,
2701+ Networks . main . ip
2702+ ) ,
2703+
26812704 hederaCoin (
26822705 '98aad956-27ee-45dd-aa43-6a23c9a1d1d0' ,
26832706 'hbar' ,
Original file line number Diff line number Diff line change @@ -2897,6 +2897,12 @@ export enum UnderlyingAsset {
28972897 'xdc:srx' = 'xdc:srx' ,
28982898 'xdc:weth' = 'xdc:weth' ,
28992899
2900+ // Story testnet tokens
2901+ 'tip:usdc' = 'tip:usdc' ,
2902+
2903+ // Story mainnet tokens
2904+ 'ip:aria' = 'ip:aria' ,
2905+
29002906 // Arbitrum testnet tokens
29012907 'tarbeth:link' = 'tarbeth:link' ,
29022908 'tarbeth:xsgd' = 'tarbeth:xsgd' ,
Original file line number Diff line number Diff 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' :
Original file line number Diff line number Diff line change 108108 "request" : " npm:@cypress/request@3.0.9" ,
109109 "**/avalanche/store2" : " 2.14.4" ,
110110 "webpack-dev-server" : " 5.2.1" ,
111- "memfs" : " 4.46.0"
111+ "memfs" : " 4.46.0" ,
112+ "**/lerna/**/glob" : " 11.1.0" ,
113+ "**/yeoman-generator/**/glob" : " 11.1.0" ,
114+ "**/cacache/glob" : " 11.1.0" ,
115+ "**/pacote/glob" : " 11.1.0"
112116 },
113117 "workspaces" : [
114118 " modules/*"
You can’t perform that action at this time.
0 commit comments