Skip to content

Commit b44d892

Browse files
fix: fix underlying asset for ofc assets
TICKET: WIN-8249
1 parent a600d30 commit b44d892

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

modules/statics/src/base.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,6 +2427,8 @@ export enum UnderlyingAsset {
24272427
'tavaxc:xsgd' = 'tavaxc:xsgd',
24282428
'tavaxc:bitgo' = 'tavaxc:bitgo',
24292429
'tavaxc:stavax' = 'tavaxc:stavax',
2430+
'avaxc:usdc-e' = 'avaxc:usdc-e',
2431+
'avaxc:usdt-e' = 'avaxc:usdt-e',
24302432
// Begin FTX missing AVAXC tokens
24312433
'avaxc:yeti' = 'avaxc:yeti',
24322434
'avaxc:spell' = 'avaxc:spell',
@@ -3320,6 +3322,7 @@ export enum UnderlyingAsset {
33203322
'hbar:bonzo' = 'hbar:bonzo',
33213323
'hbar:co2e' = 'hbar:co2e',
33223324
'hbar:hsuite' = 'hbar:hsuite',
3325+
'hbar:usdc' = 'hbar:usdc',
33233326

33243327
// Hbar Testnet tokens
33253328
'thbar:txsgd' = 'thbar:txsgd',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,14 @@ export const ofcCoins = [
339339
UnderlyingAsset.POLYX,
340340
CoinKind.CRYPTO
341341
),
342-
ofc('77661a48-865f-48ea-bb73-875744729a69', 'ofcbera:dolo', 'Dolomite', 18, UnderlyingAsset.BERA, CoinKind.CRYPTO),
342+
ofc(
343+
'77661a48-865f-48ea-bb73-875744729a69',
344+
'ofcbera:dolo',
345+
'Dolomite',
346+
18,
347+
UnderlyingAsset['bera:dolo'],
348+
CoinKind.CRYPTO
349+
),
343350
ofc('411fd61a-3571-41f4-b632-6058a30a66a2', 'ofcapt', 'Aptos', 8, UnderlyingAsset.APT, CoinKind.CRYPTO),
344351
ofc('2fee34a2-cfb8-4882-953a-ac02f2c1577d', 'ofcvet', 'VeChain', 18, UnderlyingAsset.VET, CoinKind.CRYPTO),
345352
ofc('195cfca5-2a3e-4581-b47c-5582fe9bcf25', 'ofccanton', 'Canton Coin', 10, UnderlyingAsset.CANTON, CoinKind.CRYPTO),
@@ -1303,7 +1310,7 @@ export const ofcCoins = [
13031310
'ofcsol:glxy',
13041311
'Galaxy Digital Inc. Class A Common Stock',
13051312
6,
1306-
UnderlyingAsset['sol:ford'],
1313+
UnderlyingAsset['sol:glxy'],
13071314
SOL_TOKEN_FEATURES
13081315
),
13091316

@@ -1777,7 +1784,7 @@ export const ofcCoins = [
17771784
'ofcavaxc:usdc-e',
17781785
'USD Coin',
17791786
6,
1780-
UnderlyingAsset['avaxc:usdc'],
1787+
UnderlyingAsset['avaxc:usdc-e'],
17811788
undefined,
17821789
[CoinFeature.STABLECOIN]
17831790
),
@@ -1795,7 +1802,7 @@ export const ofcCoins = [
17951802
'ofcavaxc:usdt-e',
17961803
'Tether USD',
17971804
6,
1798-
UnderlyingAsset['avaxc:usdt'],
1805+
UnderlyingAsset['avaxc:usdt-e'],
17991806
undefined,
18001807
[CoinFeature.STABLECOIN]
18011808
),
@@ -3332,7 +3339,7 @@ export const ofcCoins = [
33323339
'ofchbar:usdc',
33333340
'Mainnet Hedera USD Coin',
33343341
6,
3335-
UnderlyingAsset.USDC,
3342+
UnderlyingAsset['hbar:usdc'],
33363343
undefined,
33373344
[CoinFeature.STABLECOIN]
33383345
),

0 commit comments

Comments
 (0)