diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 02a3828665..c152b750e8 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -132,6 +132,7 @@ import { ZKETH_FEATURES, ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_SINGAPORE_AND_MENA_FZE, WFLR_FEATURES, + ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, } from './coinFeatures'; import { botTokens } from './coins/botTokens'; import { adaTokens } from './coins/adaTokens'; @@ -483,7 +484,7 @@ export const allCoinsAndTokens = [ 18, UnderlyingAsset.RBTC, BaseUnit.ETH, - RBTC_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], RBTC_FEATURES) ), account( '9cf6d137-6c6b-4fc0-acc0-8e78a1599c15', @@ -2620,7 +2621,7 @@ export const allCoinsAndTokens = [ 7, UnderlyingAsset['xlm:SLT-GCKA6K5PCQ6PNF5RQBF7PQDJWRHO6UOGFMRLK3DYHDOI244V47XKQ4GP'], 'smartlands.io', - AccountCoin.DEFAULT_FEATURES, + ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, '', 'SLT' ), diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 97ca3284e5..94bcea82e5 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -3469,4 +3469,20 @@ export abstract class BaseCoin { this.network = options.network; this.primaryKeyCurve = options.primaryKeyCurve; } + + /** + * Returns features from a base feature set, excluding specified features + * @param excludedFeatures Array of features to exclude + * @param baseFeatures Base feature array to filter from (optional) + * @returns Filtered array of features + */ + public static getFeaturesByTypeExcluding( + excludedFeatures: CoinFeature[], + baseFeatures?: CoinFeature[] + ): CoinFeature[] { + if (!baseFeatures) { + return []; + } + return baseFeatures.filter((feature) => !excludedFeatures.includes(feature)); + } } diff --git a/modules/statics/src/coins/avaxTokens.ts b/modules/statics/src/coins/avaxTokens.ts index 04eb588b24..7607d81afb 100644 --- a/modules/statics/src/coins/avaxTokens.ts +++ b/modules/statics/src/coins/avaxTokens.ts @@ -1,5 +1,6 @@ import { AccountCoin, avaxErc20, tavaxErc20 } from '../account'; import { CoinFeature, UnderlyingAsset } from '../base'; +import { ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE } from '../coinFeatures'; export const avaxTokens = [ avaxErc20( @@ -568,7 +569,8 @@ export const avaxTokens = [ 'Betswap.gg', 18, '0x49f519002eeced6902f24c0be72b6d898e4d27fc', - UnderlyingAsset['avaxc:bsgg'] + UnderlyingAsset['avaxc:bsgg'], + ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE ), avaxErc20( 'e6bd6935-daac-4edc-8cfb-f8305ebbdb11', diff --git a/modules/statics/src/coins/bscTokens.ts b/modules/statics/src/coins/bscTokens.ts index 47a8b73237..0ba4081619 100644 --- a/modules/statics/src/coins/bscTokens.ts +++ b/modules/statics/src/coins/bscTokens.ts @@ -1,9 +1,9 @@ -import { bscToken, tbscToken, AccountCoin } from '../account'; -import { UnderlyingAsset, CoinFeature } from '../base'; +import { AccountCoin, bscToken, tbscToken } from '../account'; +import { CoinFeature, UnderlyingAsset } from '../base'; import { BSC_TOKEN_FEATURES, - BSC_TOKEN_FEATURES_EXCLUDE_SINGAPORE, BSC_TOKEN_FEATURES_EXCLUDE_MENA_FZE, + BSC_TOKEN_FEATURES_EXCLUDE_SINGAPORE, } from '../coinFeatures'; export const bscTokens = [ @@ -150,7 +150,12 @@ export const bscTokens = [ '0xcebef3df1f3c5bfd90fde603e71f31a53b11944d', UnderlyingAsset['bsc:litt'], AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], BSC_TOKEN_FEATURES ) ), @@ -197,7 +202,7 @@ export const bscTokens = [ 6, '0x71b3a0566f4bf80331d115d8026a7022bf670cce', UnderlyingAsset['bsc:dd'], - BSC_TOKEN_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], BSC_TOKEN_FEATURES) ), bscToken( 'ebfcdf18-bdad-41da-bbda-2b3a71338c1c', @@ -317,7 +322,7 @@ export const bscTokens = [ 18, '0x9b4bdddaeb68d85b0848bab7774e6855439fd94e', UnderlyingAsset['bsc:tking'], - BSC_TOKEN_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], BSC_TOKEN_FEATURES) ), bscToken( 'd24030d5-e0a1-4216-9b80-9582ce5e4de1', @@ -1019,7 +1024,7 @@ export const bscTokens = [ 18, '0x2003f7ba57ea956b05b85c60b4b2ceea9b111256', UnderlyingAsset['bsc:kmd'], - BSC_TOKEN_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], BSC_TOKEN_FEATURES) ), bscToken( 'a4cda030-4c22-4ece-93b4-840da127781c', @@ -1180,7 +1185,7 @@ export const bscTokens = [ 18, '0xad29abb318791d579433d831ed122afeaf29dcfe', UnderlyingAsset['bsc:ftm'], - BSC_TOKEN_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], BSC_TOKEN_FEATURES) ), bscToken( '2a1d251c-388d-48cb-9f91-53d41d7e0e91', diff --git a/modules/statics/src/coins/erc20Coins.ts b/modules/statics/src/coins/erc20Coins.ts index 143aa85aa0..8236556389 100644 --- a/modules/statics/src/coins/erc20Coins.ts +++ b/modules/statics/src/coins/erc20Coins.ts @@ -3,6 +3,7 @@ import { AccountCoin, erc20, terc20 } from '../account'; import { Networks } from '../networks'; import { ACCOUNT_COIN_DEFAULT_FEATURES, + ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, EIGEN_FEATURES, ETH_FEATURES, ETH_FEATURES_WITH_FRANKFURT, @@ -19,7 +20,6 @@ import { TWETH_FEATURES, WETH_FEATURES, ZETA_EVM_FEATURES, - ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, } from '../coinFeatures'; export const erc20Coins = [ @@ -607,7 +607,8 @@ export const erc20Coins = [ 'Atari Token', 0, '0xdacd69347de42babfaecd09dc88958378780fb62', - UnderlyingAsset.ATRI + UnderlyingAsset.ATRI, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '0d0e43eb-2bf0-474c-baf9-97dd9d05d383', @@ -801,7 +802,8 @@ export const erc20Coins = [ 'Basiscoin Cash', 18, '0xae17f4f5ca32f77ea8e3786db7c0b2fe877ac176', - UnderlyingAsset.BCC + UnderlyingAsset.BCC, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '1dcb6e39-bb47-4bf3-a9c5-809a7953f7a2', @@ -811,7 +813,12 @@ export const erc20Coins = [ '0xcdc412f306e0c51e3249b88c65423cd16b322673', UnderlyingAsset.BCIO, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -1486,7 +1493,8 @@ export const erc20Coins = [ 'CoinLoan Token', 8, '0x2001f2a0cf801ecfda622f6c28fb6e10d803d969', - UnderlyingAsset.CLT + UnderlyingAsset.CLT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '97c1443c-de9e-43c8-ba15-fc77f948f5d7', @@ -1547,7 +1555,12 @@ export const erc20Coins = [ '0x5d8d9f5b96f4438195be9b99eee6118ed4304286', UnderlyingAsset.COVER, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -1614,7 +1627,7 @@ export const erc20Coins = [ 18, '0x2ba592f78db6436527729929aaf6c908497cb200', UnderlyingAsset.CREAM, - ETH_FEATURES_WITH_FRANKFURT + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], ETH_FEATURES_WITH_FRANKFURT) ), erc20( '4bc48062-4e23-4338-9337-418eea86665d', @@ -2084,7 +2097,8 @@ export const erc20Coins = [ 'Easy', 18, '0x913d8adf7ce6986a8cbfee5a54725d9eea4f0729', - UnderlyingAsset.EASY + UnderlyingAsset.EASY, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'afc0e68f-7ed8-4f2b-b81d-a5e6436c97f6', @@ -2265,7 +2279,12 @@ export const erc20Coins = [ '0xf0ee6b27b759c9893ce4f094b49ad28fd15a23e4', UnderlyingAsset.ENG, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -2319,7 +2338,12 @@ export const erc20Coins = [ '0x5af2be193a6abca9c8817001f45744777db30756', UnderlyingAsset.ETHOS, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -2364,7 +2388,12 @@ export const erc20Coins = [ '0xa967dd943b336680540011536e7d8c3d33333515', UnderlyingAsset.EURL, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -2539,7 +2568,12 @@ export const erc20Coins = [ '0xed1480d12be41d92f36f5f7bdd88212e381a3677', UnderlyingAsset.FDT, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -2623,7 +2657,12 @@ export const erc20Coins = [ '0xb4d0fdfc8497aef97d3c2892ae682ee06064a2bc', UnderlyingAsset.FMF, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -2768,7 +2807,12 @@ export const erc20Coins = [ '0x6bea7cfef803d1e3d5f7c0103f7ded065644e197', UnderlyingAsset.GAMMA, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -2788,7 +2832,12 @@ export const erc20Coins = [ '0x86b4dbe5d203e634a12364c0e428fa242a3fba98', UnderlyingAsset.GBPT, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -2814,7 +2863,8 @@ export const erc20Coins = [ 'DAOstack', 18, '0x543ff227f64aa17ea132bf9886cab5db55dcaddf', - UnderlyingAsset.GEN + UnderlyingAsset.GEN, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'b603b989-3fe0-4bbd-a1e8-84169e073d4f', @@ -2822,7 +2872,8 @@ export const erc20Coins = [ 'Gelato Network Token', 18, '0x15b7c0c907e4c6b9adaaaabc300c08991d6cea05', - UnderlyingAsset.GEL + UnderlyingAsset.GEL, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '29cbff1a-04bf-4906-983e-14b7fd9656a2', @@ -3111,7 +3162,12 @@ export const erc20Coins = [ '0x3e1d5a855ad9d948373ae68e4fe1f094612b1322', UnderlyingAsset.HQT, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -3121,7 +3177,8 @@ export const erc20Coins = [ 'Decision Token', 18, '0x554c20b7c486beee439277b4540a434566dc4c02', - UnderlyingAsset.HST + UnderlyingAsset.HST, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'cc2b7961-a970-4f88-9d0a-163512ddeff8', @@ -3157,7 +3214,12 @@ export const erc20Coins = [ UnderlyingAsset.HUSD, [ ...AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ), CoinFeature.STABLECOIN, @@ -3169,7 +3231,8 @@ export const erc20Coins = [ 'Hybrid Block', 18, '0x6059f55751603ead7dc6d280ad83a7b33d837c90', - UnderlyingAsset.HYB + UnderlyingAsset.HYB, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'd974e147-3232-4546-85d9-66625ecee68e', @@ -3177,7 +3240,8 @@ export const erc20Coins = [ 'Hydro', 18, '0xebbdf302c940c6bfd49c6b165f457fdb324649bc', - UnderlyingAsset.HYDRO + UnderlyingAsset.HYDRO, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '1be67eaa-55ad-42f5-828a-46d186aae458', @@ -3456,7 +3520,8 @@ export const erc20Coins = [ 'Kine Governance Token', 18, '0xcbfef8fdd706cde6f208460f2bf39aa9c785f05d', - UnderlyingAsset.KINE + UnderlyingAsset.KINE, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'dbbc8474-8899-48a8-b57e-28300469b856', @@ -3536,6 +3601,7 @@ export const erc20Coins = [ CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, ], ETH_FEATURES ) @@ -3614,7 +3680,12 @@ export const erc20Coins = [ '0x0a50c93c762fdd6e56d86215c24aaad43ab629aa', UnderlyingAsset.LGO, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -3690,7 +3761,8 @@ export const erc20Coins = [ 'Loom Network', 18, '0xa4e8c3ec456107ea67d3075bf9e3df3a75823db0', - UnderlyingAsset.LOOM + UnderlyingAsset.LOOM, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'd84a0737-6c44-4827-8e11-b07ac1e84d17', @@ -3887,7 +3959,7 @@ export const erc20Coins = [ 18, '0x9d03393d297e42c135625d450c814892505f1a84', UnderlyingAsset.MDX, - ETH_FEATURES_WITH_FRANKFURT + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], ETH_FEATURES_WITH_FRANKFURT) ), erc20( '4d88bb1f-b643-41f8-87ca-e01259903393', @@ -3895,7 +3967,8 @@ export const erc20Coins = [ 'Medibloc', 8, '0xfd1e80508f243e64ce234ea88a5fd2827c71d4b7', - UnderlyingAsset.MEDX + UnderlyingAsset.MEDX, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'f6c5793b-d6f6-46de-a7a8-5fe4283d01c9', @@ -3952,7 +4025,8 @@ export const erc20Coins = [ 'Mainframe', 18, '0xdf2c7238198ad8b389666574f2d8bc411a4b7428', - UnderlyingAsset.MFT + UnderlyingAsset.MFT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '8e69cc01-e657-42dd-98a0-3398ea93549b', @@ -3977,7 +4051,7 @@ export const erc20Coins = [ 18, '0x09a3ecafa817268f77be1283176b946c4ff2e608', UnderlyingAsset.MIR, - ETH_FEATURES_WITH_FRANKFURT + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], ETH_FEATURES_WITH_FRANKFURT) ), erc20( '6d781cdc-3bb0-4865-afa0-0aa61ccf49b2', @@ -4060,7 +4134,8 @@ export const erc20Coins = [ 'Molecular Future', 16, '0x653430560be843c4a3d143d0110e896c2ab8ac0d', - UnderlyingAsset.MOF + UnderlyingAsset.MOF, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'a692ffeb-4628-4014-adc9-7fb6c4b2ef65', @@ -4195,7 +4270,12 @@ export const erc20Coins = [ '0xa823e6722006afe99e91c30ff5295052fe6b8e32', UnderlyingAsset.NEU, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -4232,7 +4312,12 @@ export const erc20Coins = [ '0x05bbed16620b352a7f889e23e3cf427d1d379ffe', UnderlyingAsset.NGNT, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -4378,7 +4463,12 @@ export const erc20Coins = [ '0x6863be0e7cf7ce860a574760e9020d519a8bdc47', UnderlyingAsset.ONL, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -4396,7 +4486,8 @@ export const erc20Coins = [ 'Ooki Protocol', 18, '0x0de05f6447ab4d22c8827449ee4ba2d5c288379b', - UnderlyingAsset.OOKI + UnderlyingAsset.OOKI, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'b308e6cc-52ff-421b-a3df-da70dac6a6a4', @@ -4734,7 +4825,8 @@ export const erc20Coins = [ 'PumaPay', 18, '0x846c66cf71c43f80403b51fe3906b3599d63336f', - UnderlyingAsset.PMA + UnderlyingAsset.PMA, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '03181686-ae56-45b6-86fb-9cf1969ff855', @@ -5176,7 +5268,8 @@ export const erc20Coins = [ 'Refereum', 4, '0xd0929d411954c47438dc1d871dd6081f5c5e149c', - UnderlyingAsset.RFR + UnderlyingAsset.RFR, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'ffa98750-a6c2-4310-9cb7-2bb301e8213e', @@ -5192,7 +5285,8 @@ export const erc20Coins = [ 'Rari Governance Token', 18, '0xd291e7a03283640fdc51b121ac401383a46cc623', - UnderlyingAsset.RGT + UnderlyingAsset.RGT, + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], ETH_FEATURES_WITH_FRANKFURT) ), erc20( '5ec84a31-9a02-4c57-9328-a8d09e9e5c61', @@ -5259,7 +5353,8 @@ export const erc20Coins = [ 'KeeperDAO', 18, '0xfa5047c9c78b8877af97bdcb85db743fd7313d4a', - UnderlyingAsset.ROOK + UnderlyingAsset.ROOK, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'a6fa8063-3065-4ce0-a02a-7973efe94a0a', @@ -5373,7 +5468,8 @@ export const erc20Coins = [ 'SashimiToken', 18, '0xc28e27870558cf22add83540d2126da2e4b464c2', - UnderlyingAsset.SASHIMI + UnderlyingAsset.SASHIMI, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'b01a005d-21b2-49af-b77c-fd513e38dd20', @@ -5397,7 +5493,8 @@ export const erc20Coins = [ 'Saga', 18, '0xed0849bf46cfb9845a2d900a0a4e593f2dd3673c', - UnderlyingAsset.SGA + UnderlyingAsset.SGA, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '309608be-d029-4a87-bce8-c172d0bdfaac', @@ -5429,7 +5526,8 @@ export const erc20Coins = [ 'iShook', 18, '0xebe4a49df7885d015329c919bf43e6460a858f1e', - UnderlyingAsset.SHK + UnderlyingAsset.SHK, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '22de4eea-4b58-4082-9651-4d8078474c45', @@ -5579,7 +5677,8 @@ export const erc20Coins = [ 'SODACoin', 18, '0xcad49c39b72c37b32cee8b14f33f316d3a8bc335', - UnderlyingAsset.SOC + UnderlyingAsset.SOC, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '38042770-b9de-497c-bce3-eb93394dca70', @@ -5638,7 +5737,8 @@ export const erc20Coins = [ 'Serenity', 18, '0xbc7942054f77b82e8a71ace170e4b00ebae67eb6', - UnderlyingAsset.SRNT + UnderlyingAsset.SRNT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'bb84158f-c89c-40a4-bea5-dede449acfd2', @@ -5797,7 +5897,8 @@ export const erc20Coins = [ 'Synapse', 18, '0x0f2d719407fdbeff09d87557abb7232601fd9f29', - UnderlyingAsset.SYN + UnderlyingAsset.SYN, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'be5c0f72-51cf-4e42-b373-5a7d66b86f02', @@ -5815,7 +5916,12 @@ export const erc20Coins = [ '0x00006100f7090010005f1bd7ae6122c3c2cf0090', UnderlyingAsset.TAUD, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -5852,7 +5958,12 @@ export const erc20Coins = [ '0x00000100f2a2bd000715001920eb70d229700085', UnderlyingAsset.TCAD, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -5897,7 +6008,12 @@ export const erc20Coins = [ '0x00000000441378008ea67f4284a57932b1c000a5', UnderlyingAsset.TGBP, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -5923,7 +6039,8 @@ export const erc20Coins = [ 'Trade Token X', 18, '0xd947b0ceab2a8885866b9a04a06ae99de852a3d4', - UnderlyingAsset.TIOX + UnderlyingAsset.TIOX, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'c2144148-0460-4e44-9c4c-30367e6eb67f', @@ -5931,7 +6048,8 @@ export const erc20Coins = [ 'Tknt', 18, '0xbce7bd79558dda90b261506768f265c5543a9f90', - UnderlyingAsset.TKNT + UnderlyingAsset.TKNT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '8c3744b3-f435-4a6b-91a0-346139bd2b86', @@ -5980,7 +6098,8 @@ export const erc20Coins = [ 'Tierion', 8, '0x08f5a9235b08173b7569f83645d2c7fb55e8ccd8', - UnderlyingAsset.TNT + UnderlyingAsset.TNT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '7c18aaa3-a3e5-4bd8-8152-5c702c0bc7f5', @@ -6061,7 +6180,8 @@ export const erc20Coins = [ 'WeTrust', 6, '0xcb94be6f13a1182e4a4b6140cb7bf2025d28e41b', - UnderlyingAsset.TRST + UnderlyingAsset.TRST, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '89749307-fd2a-4705-898d-077c49b2e4ec', @@ -6069,7 +6189,8 @@ export const erc20Coins = [ 'Tru', 8, '0x4c19596f5aaff459fa38b0f7ed92f11ae6543784', - UnderlyingAsset.TRU + UnderlyingAsset.TRU, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '8385ecb0-1053-4630-a46e-417bad13584f', @@ -6210,7 +6331,8 @@ export const erc20Coins = [ 'UpToken', 8, '0x6ba460ab75cd2c56343b3517ffeba60748654d26', - UnderlyingAsset.UP + UnderlyingAsset.UP, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '3ad008a2-b1b6-4e77-b338-8bccfce4f5ef', @@ -6218,7 +6340,8 @@ export const erc20Coins = [ 'Universal Bitcoin', 8, '0xc7461b398005e50bcc43c8e636378c6722e76c01', - UnderlyingAsset.UPBTC + UnderlyingAsset.UPBTC, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'fc3e297a-a707-4f36-b5a9-42c54cdeaef1', @@ -6245,7 +6368,12 @@ export const erc20Coins = [ UnderlyingAsset.UPUSD, [ ...AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ), CoinFeature.STABLECOIN, @@ -6465,7 +6593,8 @@ export const erc20Coins = [ 'Vector', 9, '0x1bb9b64927e0c5e207c9db4093b3738eef5d8447', - UnderlyingAsset.VEC + UnderlyingAsset.VEC, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'c0fe9fe3-a242-452e-95e2-56ba38a40d56', @@ -6531,7 +6660,8 @@ export const erc20Coins = [ 'VroomGo', 8, '0x4861b1a0ead261897174fd849ca0f5154fcf2442', - UnderlyingAsset.VRGX + UnderlyingAsset.VRGX, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '2e3fa047-1765-480b-ab11-87618c3d78a4', @@ -6572,7 +6702,8 @@ export const erc20Coins = [ 'Wafl Token', 18, '0x3fee076a0f0218899b89fe7e3f54dd2dc18917e0', - UnderlyingAsset.WAFL + UnderlyingAsset.WAFL, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '4c479a99-bd52-44fa-a5b1-155e0c921743', @@ -6662,7 +6793,8 @@ export const erc20Coins = [ 'We Show Token', 18, '0x36d10c6800d569bb8c4fe284a05ffe3b752f972c', - UnderlyingAsset.WET + UnderlyingAsset.WET, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '77303c92-c191-41aa-aafb-0515dafb149e', @@ -6704,7 +6836,8 @@ export const erc20Coins = [ 'Whatshalal', 18, '0xae8d4da01658dd0ac118dde60f5b78042d0da7f2', - UnderlyingAsset.WHT + UnderlyingAsset.WHT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '451d4bb5-e7c3-4899-8838-b71b33375cee', @@ -6747,7 +6880,12 @@ export const erc20Coins = [ '0xd2877702675e6ceb975b4a1dff9fb7baf4c91ea9', UnderlyingAsset.WLUNA, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + ], ETH_FEATURES ) ), @@ -6794,7 +6932,8 @@ export const erc20Coins = [ 'WalletPlusX', 18, '0x4bb0a085db8cedf43344bd2fbec83c2c79c4e76b', - UnderlyingAsset.WPX + UnderlyingAsset.WPX, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '5d8b899f-bc1b-4ec2-88e6-d946cbb8d476', @@ -6877,7 +7016,12 @@ export const erc20Coins = [ '0x670f9d9a26d3d42030794ff035d35a67aa092ead', UnderlyingAsset.XBGOLD, AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -6887,7 +7031,8 @@ export const erc20Coins = [ 'CapdaxToken', 18, '0xca00bc15f67ebea4b20dfaaa847cace113cc5501', - UnderlyingAsset.XCD + UnderlyingAsset.XCD, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '458bbf8e-6996-4a8c-8d33-612c2b8c8abe', @@ -7090,7 +7235,8 @@ export const erc20Coins = [ 'Zipmex Token', 18, '0xaa602de53347579f86b996d2add74bb6f79462b2', - UnderlyingAsset.ZMT + UnderlyingAsset.ZMT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'efbeb8d6-2cc9-46a9-8525-07f934a7f145', @@ -8998,7 +9144,8 @@ export const erc20Coins = [ 'HEX', 8, '0x2b591e99afe9f32eaa6214f7b7629768c40eeb39', - UnderlyingAsset.HEX + UnderlyingAsset.HEX, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( 'a4334b0a-f28c-4e7d-9f36-2c2f239ad7ac', @@ -10389,7 +10536,8 @@ export const erc20Coins = [ 'Volt Inu', 9, '0x7f792db54b0e580cdc755178443f0430cf799aca', - UnderlyingAsset.VOLT + UnderlyingAsset.VOLT, + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '30a19a96-87c5-494c-bda6-ff98b065f35b', @@ -10682,7 +10830,12 @@ export const erc20Coins = [ '0xb5130f4767ab0acc579f25a76e8f9e977cb3f948', UnderlyingAsset['eth:god'], AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + [ + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], ETH_FEATURES ) ), @@ -11121,7 +11274,8 @@ export const erc20Coins = [ 'Storiqa', 18, '0x5c3a228510d246b78a3765c20221cbf3082b44a4', - UnderlyingAsset['eth:stq'] + UnderlyingAsset['eth:stq'], + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '289b4eb1-e109-48de-a016-09d9172b688c', @@ -11260,7 +11414,8 @@ export const erc20Coins = [ 'Vana', 18, '0x7ff7fa94b8b66ef313f7970d4eebd2cb3103a2c0', - UnderlyingAsset['eth:vana'] + UnderlyingAsset['eth:vana'], + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '65e96474-3e1f-433a-990b-db78f4de7a97', @@ -11374,7 +11529,13 @@ export const erc20Coins = [ 9, '0x5a3e6a77ba2f983ec0d371ea3b475f8bc0811ad5', UnderlyingAsset['eth:0x0'], - [...AccountCoin.DEFAULT_FEATURES_EXCLUDE_SINGAPORE, CoinFeature.BULK_TRANSACTION] + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [CoinFeature.CUSTODY_BITGO_SINGAPORE, CoinFeature.CUSTODY_BITGO_MENA_FZE], + ACCOUNT_COIN_DEFAULT_FEATURES + ), + CoinFeature.BULK_TRANSACTION, + ] ), erc20( '7839148f-7b3b-4926-a9d4-bdfe2e009abc', @@ -11431,7 +11592,13 @@ export const erc20Coins = [ 18, '0x046eee2cc3188071c02bfc1745a6b17c656e3f3d', UnderlyingAsset['eth:rlb'], - [...AccountCoin.DEFAULT_FEATURES_EXCLUDE_SINGAPORE, CoinFeature.BULK_TRANSACTION] + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [CoinFeature.CUSTODY_BITGO_SINGAPORE, CoinFeature.CUSTODY_BITGO_MENA_FZE], + ACCOUNT_COIN_DEFAULT_FEATURES + ), + CoinFeature.BULK_TRANSACTION, + ] ), erc20( '5ef3ded1-1a49-45f6-80a5-7e4a6f397bcf', @@ -13601,7 +13768,8 @@ export const erc20Coins = [ 'KUB', 18, '0x0649cef6d11ed6f88535462e147304d3fe5ae14d', - UnderlyingAsset['eth:kub'] + UnderlyingAsset['eth:kub'], + [...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION] ), erc20( '379c0ab5-7729-456b-b0b6-db74c3bd6a03', diff --git a/modules/statics/src/coins/polygonTokens.ts b/modules/statics/src/coins/polygonTokens.ts index 23d5019440..f5ef58bfeb 100644 --- a/modules/statics/src/coins/polygonTokens.ts +++ b/modules/statics/src/coins/polygonTokens.ts @@ -506,7 +506,7 @@ export const polygonTokens = [ 8, '0xdbf31df14b66535af65aac99c32e9ea844e14501', UnderlyingAsset['polygon:renbtc'], - POLYGON_TOKEN_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], POLYGON_TOKEN_FEATURES) ), polygonErc20( 'e7d6568e-696c-4482-8dbf-9c0bb2364978', @@ -954,7 +954,7 @@ export const polygonTokens = [ 18, '0x2f697bc31895ea05e6a364cedc8a76ff3467d32f', UnderlyingAsset['polygon:tcs'], - POLYGON_TOKEN_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], POLYGON_TOKEN_FEATURES) ), polygonErc20( 'eac8b635-e692-40f7-bf22-0197ae5e11f8', diff --git a/modules/statics/src/coins/solTokens.ts b/modules/statics/src/coins/solTokens.ts index ac37309b77..f6f369e7b6 100644 --- a/modules/statics/src/coins/solTokens.ts +++ b/modules/statics/src/coins/solTokens.ts @@ -1,4 +1,4 @@ -import { ProgramID, SolCoin, solToken, tsolToken } from '../account'; +import { AccountCoin, ProgramID, SolCoin, solToken, tsolToken } from '../account'; import { CoinFeature, UnderlyingAsset } from '../base'; import { SOL_TOKEN_FEATURES, @@ -2324,7 +2324,10 @@ export const solTokens = [ 'pumpCmXqMfrsAkQ5r49WcJnRayYRqmXz6ae8H7H9Dfn', 'pumpCmXqMfrsAkQ5r49WcJnRayYRqmXz6ae8H7H9Dfn', UnderlyingAsset['sol:pump'], - [...SOL_TOKEN_FEATURES, CoinFeature.CUSTODY_BITGO_GERMANY], + [ + ...AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], SOL_TOKEN_FEATURES), + CoinFeature.CUSTODY_BITGO_GERMANY, + ], ProgramID.Token2022ProgramId ), solToken( @@ -2830,7 +2833,7 @@ export const solTokens = [ 'DtR4D9FtVoTX2569gaL837ZgrB6wNjj6tkmnX9Rdk9B2', 'DtR4D9FtVoTX2569gaL837ZgrB6wNjj6tkmnX9Rdk9B2', UnderlyingAsset['sol:aura'], - SOL_TOKEN_FEATURES + AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE], SOL_TOKEN_FEATURES) ), solToken( '4e6eee4d-637e-42fd-bb4d-196337a2e302', diff --git a/modules/statics/src/utxo.ts b/modules/statics/src/utxo.ts index c25f9c6f24..3cecc6715d 100644 --- a/modules/statics/src/utxo.ts +++ b/modules/statics/src/utxo.ts @@ -257,7 +257,7 @@ export const utxoCoins: Readonly[] = [ Networks.test.bitcoinGold, UnderlyingAsset.BTG, BaseUnit.BTC, - BTG_FEATURES.filter((f) => f !== CoinFeature.MULTISIG_COLD) + BaseCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_MENA_FZE, CoinFeature.MULTISIG_COLD], BTG_FEATURES) ), utxo( '9c8097f1-5d2c-4a62-a94c-96c271c0e5e0',