Skip to content

Commit 86167cf

Browse files
authored
Merge pull request #7184 from BitGo/WIN-7438
chore: Gate GMX,Anoma & Spectral in MENA and/or singapore
2 parents 39ea1fd + cec88b8 commit 86167cf

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ import {
130130
XTZ_FEATURES,
131131
ZETA_FEATURES,
132132
ZKETH_FEATURES,
133+
ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_SINGAPORE_AND_MENA_FZE,
133134
} from './coinFeatures';
134135
import { botTokens } from './coins/botTokens';
135136
import { adaTokens } from './coins/adaTokens';
@@ -3908,7 +3909,8 @@ export const allCoinsAndTokens = [
39083909
'GMX',
39093910
18,
39103911
'0xfc5a1a6eb076a2c7ad06ed22c90d7e710e35ad0a',
3911-
UnderlyingAsset['arbeth:gmx']
3912+
UnderlyingAsset['arbeth:gmx'],
3913+
[...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_SINGAPORE_AND_MENA_FZE, CoinFeature.EIP1559]
39123914
),
39133915

39143916
arbethErc20(

modules/statics/src/coinFeatures.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ export const ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE = ACCOUNT_COIN_DEFAU
2525
(feature) => feature !== CoinFeature.CUSTODY_BITGO_MENA_FZE
2626
);
2727

28+
export const ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_SINGAPORE_AND_MENA_FZE = ACCOUNT_COIN_DEFAULT_FEATURES.filter(
29+
(feature) => feature !== CoinFeature.CUSTODY_BITGO_SINGAPORE && feature !== CoinFeature.CUSTODY_BITGO_MENA_FZE
30+
);
31+
2832
export const ETH_FEATURES = [
2933
...ACCOUNT_COIN_DEFAULT_FEATURES,
3034
CoinFeature.SUPPORTS_TOKENS,

modules/statics/src/coins/erc20Coins.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
TWETH_FEATURES,
2020
WETH_FEATURES,
2121
ZETA_EVM_FEATURES,
22+
ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE,
2223
} from '../coinFeatures';
2324

2425
export const erc20Coins = [
@@ -11633,7 +11634,8 @@ export const erc20Coins = [
1163311634
'Spectral',
1163411635
18,
1163511636
'0x96419929d7949d6a801a6909c145c8eef6a40431',
11636-
UnderlyingAsset['baseeth:spec']
11637+
UnderlyingAsset['baseeth:spec'],
11638+
[...AccountCoin.DEFAULT_FEATURES_EXCLUDE_SINGAPORE, CoinFeature.BULK_TRANSACTION]
1163711639
),
1163811640

1163911641
erc20(
@@ -11723,7 +11725,8 @@ export const erc20Coins = [
1172311725
'Anoma',
1172411726
18,
1172511727
'0xcedbea37c8872c4171259cdfd5255cb8923cf8e7',
11726-
UnderlyingAsset['eth:xan']
11728+
UnderlyingAsset['eth:xan'],
11729+
[...ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_MENA_FZE, CoinFeature.BULK_TRANSACTION]
1172711730
),
1172811731

1172911732
terc20(

0 commit comments

Comments
 (0)