Skip to content

Commit 2f48a80

Browse files
fix: fix underlying asset for ofc assets
TICKET: WIN-8249
1 parent 8b5d8de commit 2f48a80

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

modules/statics/src/base.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ export enum UnderlyingAsset {
17421742
SWAP = 'SWAP',
17431743
SWEAT = 'sweat',
17441744
SWETH = 'sweth',
1745-
SWISE = 'swice',
1745+
SWISE = 'swise',
17461746
SWITCH = 'switch',
17471747
SWRV = 'swrv',
17481748
SXP = 'sxp',
@@ -2441,6 +2441,8 @@ export enum UnderlyingAsset {
24412441
'tavaxc:xsgd' = 'tavaxc:xsgd',
24422442
'tavaxc:bitgo' = 'tavaxc:bitgo',
24432443
'tavaxc:stavax' = 'tavaxc:stavax',
2444+
'avaxc:usdc-e' = 'avaxc:usdc-e',
2445+
'avaxc:usdt-e' = 'avaxc:usdt-e',
24442446
// Begin FTX missing AVAXC tokens
24452447
'avaxc:yeti' = 'avaxc:yeti',
24462448
'avaxc:spell' = 'avaxc:spell',
@@ -3342,6 +3344,7 @@ export enum UnderlyingAsset {
33423344
'hbar:bonzo' = 'hbar:bonzo',
33433345
'hbar:co2e' = 'hbar:co2e',
33443346
'hbar:hsuite' = 'hbar:hsuite',
3347+
'hbar:usdc' = 'hbar:usdc',
33453348

33463349
// Hbar Testnet tokens
33473350
'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),
@@ -1306,7 +1313,7 @@ export const ofcCoins = [
13061313
'ofcsol:glxy',
13071314
'Galaxy Digital Inc. Class A Common Stock',
13081315
6,
1309-
UnderlyingAsset['sol:ford'],
1316+
UnderlyingAsset['sol:glxy'],
13101317
SOL_TOKEN_FEATURES
13111318
),
13121319

@@ -1787,7 +1794,7 @@ export const ofcCoins = [
17871794
'ofcavaxc:usdc-e',
17881795
'USD Coin',
17891796
6,
1790-
UnderlyingAsset['avaxc:usdc'],
1797+
UnderlyingAsset['avaxc:usdc-e'],
17911798
undefined,
17921799
[CoinFeature.STABLECOIN]
17931800
),
@@ -1805,7 +1812,7 @@ export const ofcCoins = [
18051812
'ofcavaxc:usdt-e',
18061813
'Tether USD',
18071814
6,
1808-
UnderlyingAsset['avaxc:usdt'],
1815+
UnderlyingAsset['avaxc:usdt-e'],
18091816
undefined,
18101817
[CoinFeature.STABLECOIN]
18111818
),
@@ -3346,7 +3353,7 @@ export const ofcCoins = [
33463353
'ofchbar:usdc',
33473354
'Mainnet Hedera USD Coin',
33483355
6,
3349-
UnderlyingAsset.USDC,
3356+
UnderlyingAsset['hbar:usdc'],
33503357
undefined,
33513358
[CoinFeature.STABLECOIN]
33523359
),

yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20803,10 +20803,12 @@ validate-npm-package-name@^5.0.0:
2080320803
resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz"
2080420804
integrity sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==
2080520805

20806-
[email protected], validator@^13.7.0:
20807-
version "13.15.23"
20808-
resolved "https://registry.npmjs.org/validator/-/validator-13.15.23.tgz#59a874f84e4594588e3409ab1edbe64e96d0c62d"
20809-
integrity sha512-4yoz1kEWqUjzi5zsPbAS/903QXSYp0UOtHsPpp7p9rHAw/W+dkInskAE386Fat3oKRROwO98d9ZB0G4cObgUyw==
20806+
validator@^13.7.0:
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)