Skip to content

Commit a225e97

Browse files
Merge pull request #7730 from BitGo/manas/fix-sol-glxy-ofc-underlying-asset
fix: fix underlying assets for ofc assets
2 parents 7ac610f + 12f73ce commit a225e97

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

modules/statics/src/base.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ export enum UnderlyingAsset {
17461746
SWAP = 'SWAP',
17471747
SWEAT = 'sweat',
17481748
SWETH = 'sweth',
1749-
SWISE = 'swice',
1749+
SWISE = 'swise',
17501750
SWITCH = 'switch',
17511751
SWRV = 'swrv',
17521752
SXP = 'sxp',
@@ -2447,6 +2447,8 @@ export enum UnderlyingAsset {
24472447
'tavaxc:xsgd' = 'tavaxc:xsgd',
24482448
'tavaxc:bitgo' = 'tavaxc:bitgo',
24492449
'tavaxc:stavax' = 'tavaxc:stavax',
2450+
'avaxc:usdc-e' = 'avaxc:usdc-e',
2451+
'avaxc:usdt-e' = 'avaxc:usdt-e',
24502452
// Begin FTX missing AVAXC tokens
24512453
'avaxc:yeti' = 'avaxc:yeti',
24522454
'avaxc:spell' = 'avaxc:spell',
@@ -3355,6 +3357,7 @@ export enum UnderlyingAsset {
33553357
'hbar:bonzo' = 'hbar:bonzo',
33563358
'hbar:co2e' = 'hbar:co2e',
33573359
'hbar:hsuite' = 'hbar:hsuite',
3360+
'hbar:usdc' = 'hbar:usdc',
33583361

33593362
// Hbar Testnet tokens
33603363
'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),
@@ -1309,7 +1316,7 @@ export const ofcCoins = [
13091316
'ofcsol:glxy',
13101317
'Galaxy Digital Inc. Class A Common Stock',
13111318
6,
1312-
UnderlyingAsset['sol:ford'],
1319+
UnderlyingAsset['sol:glxy'],
13131320
SOL_TOKEN_FEATURES
13141321
),
13151322

@@ -1805,7 +1812,7 @@ export const ofcCoins = [
18051812
'ofcavaxc:usdc-e',
18061813
'USD Coin',
18071814
6,
1808-
UnderlyingAsset['avaxc:usdc'],
1815+
UnderlyingAsset['avaxc:usdc-e'],
18091816
undefined,
18101817
[CoinFeature.STABLECOIN]
18111818
),
@@ -1823,7 +1830,7 @@ export const ofcCoins = [
18231830
'ofcavaxc:usdt-e',
18241831
'Tether USD',
18251832
6,
1826-
UnderlyingAsset['avaxc:usdt'],
1833+
UnderlyingAsset['avaxc:usdt-e'],
18271834
undefined,
18281835
[CoinFeature.STABLECOIN]
18291836
),
@@ -3364,7 +3371,7 @@ export const ofcCoins = [
33643371
'ofchbar:usdc',
33653372
'Mainnet Hedera USD Coin',
33663373
6,
3367-
UnderlyingAsset.USDC,
3374+
UnderlyingAsset['hbar:usdc'],
33683375
undefined,
33693376
[CoinFeature.STABLECOIN]
33703377
),

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ export const ofcErc20Coins = [
20462046
ofcerc20('db12970d-9be6-4399-9657-705a984661a6', 'ofcgate', 'GATENet', 18, underlyingAssetForSymbol('gate')),
20472047
ofcerc20('7949daf7-305c-47bd-9e08-f85a4972b002', 'ofclcx', 'LCX', 18, underlyingAssetForSymbol('lcx')),
20482048
ofcerc20('a2872b71-b5d1-4ac9-bcaa-5a0c18062b44', 'ofcrfox', 'RFOX', 18, underlyingAssetForSymbol('rfox')),
2049-
ofcerc20('8dfdb813-b1e7-4975-9b14-a862906563b5', 'ofcswise', 'StakeWise', 18, underlyingAssetForSymbol('swice')),
2049+
ofcerc20('8dfdb813-b1e7-4975-9b14-a862906563b5', 'ofcswise', 'StakeWise', 18, underlyingAssetForSymbol('swise')),
20502050
ofcerc20('c8224deb-4439-4fa1-8472-bb84c9852736', 'ofcdamm', 'dAMM', 18, underlyingAssetForSymbol('damm')),
20512051
ofcerc20('8303eadb-7732-4b60-9c5e-2699aed58111', 'ofccere', 'CERE Network', 10, underlyingAssetForSymbol('cere')),
20522052
ofcerc20(

0 commit comments

Comments
 (0)