diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 583c35d3a8..49e9ac0d4d 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -165,6 +165,7 @@ const DOT_FEATURES = [ CoinFeature.STAKING, CoinFeature.EXPIRING_TRANSACTIONS, CoinFeature.REBUILD_ON_CUSTODY_SIGNING, + CoinFeature.CUSTODY_BITGO_FRANKFURT, ]; const EOS_FEATURES = [ ...AccountCoin.DEFAULT_FEATURES, @@ -230,6 +231,7 @@ const NEAR_FEATURES = [ CoinFeature.TSS_COLD, CoinFeature.STAKING, CoinFeature.REBUILD_ON_CUSTODY_SIGNING, + CoinFeature.CUSTODY_BITGO_FRANKFURT, ]; const MATIC_FEATURES = [ ...AccountCoin.DEFAULT_FEATURES, @@ -313,9 +315,13 @@ const INJECTIVE_FEATURES = [ const COREUM_FEATURES = [...COSMOS_SIDECHAIN_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT]; const SEI_FEATURES = [...COSMOS_SIDECHAIN_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT]; const TOKEN_FEATURES_WITH_SWISS = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_SWITZERLAND]; -const TOKEN_FEATURES_WITH_NY = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_NEW_YORK]; -const TOKEN_FEATURES_WITH_NY_GERMANY = [...TOKEN_FEATURES_WITH_NY, CoinFeature.CUSTODY_BITGO_GERMANY]; const TOKEN_FEATURES_WITH_FRANKFURT = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT]; +const TOKEN_FEATURES_WITH_NY_GERMANY_FRANKFURT = [ + ...AccountCoin.DEFAULT_FEATURES, + CoinFeature.CUSTODY_BITGO_NEW_YORK, + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_FRANKFURT, +]; const GENERIC_TOKEN_FEATURES = [ CoinFeature.ACCOUNT_MODEL, CoinFeature.REQUIRES_BIG_NUMBER, @@ -4474,7 +4480,8 @@ export const coins = CoinMap.fromCoins([ 'The Graph', 18, '0xc944e90c64b2c07662a292be6244bdf05cda44a7', - UnderlyingAsset.GRT + UnderlyingAsset.GRT, + ETH_FEATURES_WITH_FRANKFURT ), erc20( 'b9a52473-f4a9-491f-a59d-e642f87299ef', @@ -5102,7 +5109,8 @@ export const coins = CoinMap.fromCoins([ 'ChainLink', 18, '0x514910771af9ca656af840dff83e8264ecf986ca', - UnderlyingAsset.LINK + UnderlyingAsset.LINK, + ETH_FEATURES_WITH_FRANKFURT ), erc20( 'ca72e22a-8fd4-4f17-90f0-c44987be9dcd', @@ -6767,7 +6775,8 @@ export const coins = CoinMap.fromCoins([ 'Sand', 18, '0x3845badade8e6dff049820680d1f14bd3903a5d0', - UnderlyingAsset.SAND + UnderlyingAsset.SAND, + ETH_FEATURES_WITH_FRANKFURT ), erc20( '2de0ecf5-f1ad-410f-900d-1843755e4b49', @@ -6856,7 +6865,7 @@ export const coins = CoinMap.fromCoins([ 18, '0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce', UnderlyingAsset.SHIB, - TOKEN_FEATURES_WITH_NY_GERMANY + TOKEN_FEATURES_WITH_NY_GERMANY_FRANKFURT ), erc20( 'e25ca1cf-b0f4-42a0-9d7f-42b94a1e9738', @@ -7578,7 +7587,8 @@ export const coins = CoinMap.fromCoins([ 'Uniswap Token', 18, '0x1f9840a85d5af5bf1d1762f925bdaddc4201f984', - UnderlyingAsset.UNI + UnderlyingAsset.UNI, + ETH_FEATURES_WITH_FRANKFURT ), erc20( 'c0210f3b-f053-4a5b-b375-2abe8c013e29', diff --git a/modules/statics/test/unit/coins.ts b/modules/statics/test/unit/coins.ts index ee4a6bf564..b3d619331b 100644 --- a/modules/statics/test/unit/coins.ts +++ b/modules/statics/test/unit/coins.ts @@ -77,6 +77,7 @@ const custodyFeatures: Record = { CoinFeature.CUSTODY_BITGO_NEW_YORK, ], }, + dot: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, eos: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] }, eth: { features: [ @@ -105,6 +106,7 @@ const custodyFeatures: Record = { }, dash: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, matic: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, + near: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, weth: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, eigen: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, 'reth-rocket': { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, @@ -154,7 +156,13 @@ const custodyFeatures: Record = { CoinFeature.CUSTODY_BITGO_FRANKFURT, ], }, - shib: { features: [CoinFeature.CUSTODY_BITGO_NEW_YORK, CoinFeature.CUSTODY_BITGO_GERMANY] }, + shib: { + features: [ + CoinFeature.CUSTODY_BITGO_NEW_YORK, + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + ], + }, injv2: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, moca: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, wbtc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, @@ -226,6 +234,10 @@ const custodyFeatures: Record = { rly: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, atom: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, dfi: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, + grt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, + link: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, + sand: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, + uni: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, tia: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND, CoinFeature.CUSTODY_BITGO_FRANKFURT] }, bsc: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, @@ -315,6 +327,7 @@ const custodyFeatures: Record = { tcelo: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] }, tcoreum: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, tdoge: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] }, + tdot: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, teos: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] }, gteth: { features: [ @@ -351,6 +364,7 @@ const custodyFeatures: Record = { ], }, tmatic: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, + tnear: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] }, tweth: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, tinjective: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] }, topeth: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },