Skip to content

Commit 3b99ffb

Browse files
authored
Merge pull request #5216 from BitGo/GNA-199-fix-trx-usdt
feat(statics): fix trx tokens underlying asset
2 parents 27440dd + 259f21f commit 3b99ffb

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

modules/statics/src/base.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,6 +2332,10 @@ export enum UnderlyingAsset {
23322332
'trx:win' = 'trx:win',
23332333
'trx:btt' = 'trx:btt',
23342334
'trx:usdd' = 'trx:usdd',
2335+
'trx:usdt' = 'trx:usdt',
2336+
2337+
// TRX testnet tokens
2338+
'ttrx:usdt' = 'ttrx:usdt',
23352339

23362340
// XRP tokens
23372341
'txrp:tst-rP9jPyP5kyvFRb6ZiRghAGw5u8SGAmU4bd' = 'txrp:tst-rP9jPyP5kyvFRb6ZiRghAGw5u8SGAmU4bd',

modules/statics/src/coins.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,8 +1736,8 @@ export const coins = CoinMap.fromCoins([
17361736
UnderlyingAsset['sol:hnt'],
17371737
SOL_TOKEN_FEATURES
17381738
),
1739-
tofcTronToken('937efe97-a17a-4d2a-aaf2-0ffdb529a943', 'ofcttrx:usdt', 'Tether USD', 6, UnderlyingAsset.USDT),
1740-
ofcTronToken('94b00b66-68a4-45ed-b772-77e5bca1e34c', 'ofctrx:usdt', 'Tether USD', 6, UnderlyingAsset.USDT),
1739+
tofcTronToken('937efe97-a17a-4d2a-aaf2-0ffdb529a943', 'ofcttrx:usdt', 'Tether USD', 6, UnderlyingAsset['ttrx:usdt']),
1740+
ofcTronToken('94b00b66-68a4-45ed-b772-77e5bca1e34c', 'ofctrx:usdt', 'Tether USD', 6, UnderlyingAsset['trx:usdt']),
17411741
tofcXrpToken('bd406dab-3b55-4ab5-b0a5-74b9f94268a3', 'ofctxrp:rlusd', 'RLUSD', 96, UnderlyingAsset['txrp:rlusd']),
17421742
ofc('837f0cab-cad1-4510-a8e4-f2c60e1a8760', 'ofcusd', 'USD', 2, UnderlyingAsset.USD, CoinKind.FIAT),
17431743
ofc('798f2a7c-23fd-4e16-9fe5-6bf47ca438a0', 'ofceur', 'Euro', 2, UnderlyingAsset.EUR, CoinKind.FIAT),
@@ -13803,7 +13803,7 @@ export const coins = CoinMap.fromCoins([
1380313803
'Tether USD',
1380413804
6,
1380513805
'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t',
13806-
UnderlyingAsset.USDT
13806+
UnderlyingAsset['trx:usdt']
1380713807
),
1380813808
tronToken(
1380913809
'77fe25dc-7871-4d9d-9cc0-2e5cba6250ff',
@@ -15004,7 +15004,7 @@ export const coins = CoinMap.fromCoins([
1500415004
'Tether USD',
1500515005
6,
1500615006
'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',
15007-
UnderlyingAsset.USDT
15007+
UnderlyingAsset['ttrx:usdt']
1500815008
),
1500915009
talgoToken(
1501015010
'0e20b757-3e62-4400-887d-caff117481c8',

0 commit comments

Comments
 (0)