Skip to content

Commit 4735a8f

Browse files
Merge pull request #5472 from BitGo/COIN-2935-Onboard-Tokens
feat(statics): add new batch of tokens
2 parents e4d5651 + 2e79b89 commit 4735a8f

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

modules/statics/src/base.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,7 @@ export enum UnderlyingAsset {
18271827
'eth:icnt' = 'eth:icnt',
18281828
'eth:god' = 'eth:god',
18291829
'eth:sky' = 'eth:sky',
1830+
'eth:fuel' = 'eth:fuel',
18301831
'eth:xreth' = 'eth:xreth',
18311832
'eth:xy' = 'eth:xy',
18321833
'eth:move' = 'eth:move',

modules/statics/src/coins.ts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ const ICP_FEATURES = [
461461
const TAO_FEATURES = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.TSS, CoinFeature.TSS_COLD, CoinFeature.STAKING];
462462

463463
const ETH_FEATURES_WITH_FRANKFURT = [...ETH_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
464+
const ETH_FEATURES_WITH_GERMANY = [...ETH_FEATURES, CoinFeature.CUSTODY_BITGO_GERMANY];
464465
const ETH_FEATURES_WITH_FRANKFURT_GERMANY = [...ETH_FEATURES_WITH_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY];
465466
const SOL_TOKEN_FEATURES_WITH_FRANKFURT = [
466467
...SOL_TOKEN_FEATURES,
@@ -12352,7 +12353,16 @@ export const coins = CoinMap.fromCoins([
1235212353
'Sky',
1235312354
18,
1235412355
'0x56072c95faa701256059aa122697b133aded9279',
12355-
UnderlyingAsset['eth:sky']
12356+
UnderlyingAsset['eth:sky'],
12357+
ETH_FEATURES_WITH_GERMANY
12358+
),
12359+
erc20(
12360+
'c6ea07a4-4fda-4018-b2cf-967d4bf41255',
12361+
'eth:fuel',
12362+
'Fuel',
12363+
9,
12364+
'0x675b68aa4d9c2d3bb3f0397048e62e6b7192079c',
12365+
UnderlyingAsset['eth:fuel']
1235612366
),
1235712367
erc20(
1235812368
'1edeae93-293e-4883-b007-83b5ae1ba3d4',
@@ -20360,8 +20370,7 @@ export const coins = CoinMap.fromCoins([
2036020370
'bera:bgt',
2036120371
'BGT Token',
2036220372
18,
20363-
// TODO: the mainnet contract address is still not available, adding placeholder here
20364-
'0xbda130737bdd9618301681329bf2e46a016ff9aa',
20373+
'0x656b95e550c07a9ffe548bd4085c72418ceb1dba',
2036520374
UnderlyingAsset['bera:bgt'],
2036620375
BERA_BGT_FEATURES
2036720376
),
@@ -20370,9 +20379,9 @@ export const coins = CoinMap.fromCoins([
2037020379
'bera:honey',
2037120380
'Honey Token',
2037220381
18,
20373-
// TODO: the mainnet contract address is still not available, adding placeholder here, WIN-3597
20374-
'0xbda130737bdd9618301681329bf2e46a016ff9ab',
20375-
UnderlyingAsset['bera:honey']
20382+
'0xfcbd14dc51f0a4d49d5e53c2e0950e0bc26d0dce',
20383+
UnderlyingAsset['bera:honey'],
20384+
BERA_BGT_FEATURES
2037620385
),
2037720386
beraErc20(
2037820387
'31cdb51f-3bcc-489e-8b35-8e074169c573',

modules/statics/test/unit/coins.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
163163
'sol:tai': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
164164
'sol:pengu': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
165165
'bera:bgt': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
166+
'bera:honey': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_GERMANY] },
166167
injective: { features: [CoinFeature.CUSTODY_BITGO_SWITZERLAND] },
167168
opeth: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
168169
'opeth:op': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
@@ -258,6 +259,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
258259
mnt: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
259260
pyusd: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
260261
'eth:spx': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
262+
'eth:sky': { features: [CoinFeature.CUSTODY_BITGO_GERMANY] },
261263
'sol:pyth': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
262264
'sol:bonk': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
263265
'sol:jup': { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },

0 commit comments

Comments
 (0)