Skip to content

Commit 82890ef

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

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

modules/statics/src/base.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ export enum UnderlyingAsset {
17341734
SWAP = 'SWAP',
17351735
SWEAT = 'sweat',
17361736
SWETH = 'sweth',
1737-
SWISE = 'swice',
1737+
SWISE = 'swise',
17381738
SWITCH = 'switch',
17391739
SWRV = 'swrv',
17401740
SXP = 'sxp',
@@ -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
),

yarn.lock

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20804,9 +20804,11 @@ validate-npm-package-name@^5.0.0:
2080420804
integrity sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==
2080520805

2080620806
validator@^13.7.0:
20807-
version "13.15.15"
20808-
resolved "https://registry.npmjs.org/validator/-/validator-13.15.15.tgz"
20809-
integrity sha512-BgWVbCI72aIQy937xbawcs+hrVaN/CZ2UwutgaJ36hGqRrLNM+f5LUT/YPRbo8IV/ASeFzXszezV+y2+rq3l8A==
20807+
version "13.15.22"
20808+
resolved ""
20809+
integrity ""
20810+
dependencies:
20811+
2081020812

2081120813
varuint-bitcoin@^1.0.1, varuint-bitcoin@^1.0.4, varuint-bitcoin@^1.1.2:
2081220814
version "1.1.2"

0 commit comments

Comments
 (0)