Skip to content

Commit 055ff2b

Browse files
feat(statics): onboard tokens on morph chain
TICKET: WIN-7900
1 parent 37cf6d1 commit 055ff2b

File tree

4 files changed

+38
-8
lines changed

4 files changed

+38
-8
lines changed

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2564,6 +2564,9 @@ export const allCoinsAndTokens = [
25642564
CoinFeature.EVM_COMPATIBLE_IMS,
25652565
CoinFeature.EVM_COMPATIBLE_UI,
25662566
CoinFeature.EVM_COMPATIBLE_WP,
2567+
CoinFeature.EVM_NON_BITGO_RECOVERY,
2568+
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
2569+
CoinFeature.SUPPORTS_ERC20,
25672570
]
25682571
),
25692572
account(
@@ -2581,6 +2584,9 @@ export const allCoinsAndTokens = [
25812584
CoinFeature.EVM_COMPATIBLE_IMS,
25822585
CoinFeature.EVM_COMPATIBLE_UI,
25832586
CoinFeature.EVM_COMPATIBLE_WP,
2587+
CoinFeature.EVM_NON_BITGO_RECOVERY,
2588+
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
2589+
CoinFeature.SUPPORTS_ERC20,
25842590
]
25852591
),
25862592
account(
@@ -2601,10 +2607,7 @@ export const allCoinsAndTokens = [
26012607
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
26022608
CoinFeature.SUPPORTS_ERC20,
26032609
CoinFeature.EVM_COMPATIBLE_WP,
2604-
],
2605-
KeyCurve.Secp256k1,
2606-
'',
2607-
'TDogeOS'
2610+
]
26082611
),
26092612
account(
26102613
'7d69a368-ea4b-422d-bb21-38812fb5a418',
@@ -2624,10 +2627,7 @@ export const allCoinsAndTokens = [
26242627
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
26252628
CoinFeature.SUPPORTS_ERC20,
26262629
CoinFeature.EVM_COMPATIBLE_WP,
2627-
],
2628-
KeyCurve.Secp256k1,
2629-
'',
2630-
'DogeOS'
2630+
]
26312631
),
26322632
account(
26332633
'cf06d1ea-f7c4-4a26-95fd-f71983eba58f',

modules/statics/src/base.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,6 +2377,9 @@ export enum UnderlyingAsset {
23772377
'eth:spec' = 'eth:spec',
23782378
'eth:prompt' = 'eth:prompt',
23792379
'eth:yb' = 'eth:yb',
2380+
'morph:usdc' = 'morph:usdc',
2381+
'morph:usdt' = 'morph:usdt',
2382+
'morph:usd1' = 'morph:usd1',
23802383

23812384
'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
23822385
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14251,4 +14251,28 @@ export const erc20Coins = [
1425114251
'0x01791f726b4103694969820be083196cc7c045ff',
1425214252
UnderlyingAsset['eth:yb']
1425314253
),
14254+
erc20(
14255+
'd95a9238-a1e6-42df-862f-a921adf8151d',
14256+
'morph:usdc',
14257+
'USD Coin',
14258+
6,
14259+
'0xe34c91815d7fc18a9e2148bcd4241d0a5848b693',
14260+
UnderlyingAsset['morph:usdc']
14261+
),
14262+
erc20(
14263+
'7c3fb96a-edaf-4c5d-85b3-4a445ce92fc8',
14264+
'morph:usdt',
14265+
'Tether USD',
14266+
6,
14267+
'0xc7d67a9cbb121b3b0b9c053dd9f469523243379a',
14268+
UnderlyingAsset['morph:usdt']
14269+
),
14270+
erc20(
14271+
'03ccbfa5-c912-45f7-8b77-9e21950a5369',
14272+
'morph:usd1',
14273+
'USD1',
14274+
18,
14275+
'0x111111d2bf19e43c34263401e0cad979ed1cdb61',
14276+
UnderlyingAsset['morph:usd1']
14277+
),
1425414278
];

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5212,6 +5212,9 @@ export const tOfcErc20Coins = [
52125212
18,
52135213
underlyingAssetForSymbol('megaeth:weth')
52145214
),
5215+
ofcerc20('4d5f4fb7-b2e2-4e63-bbda-7f315332da5b', 'ofcmorph:usdc', 'USD Coin', 6, UnderlyingAsset['morph:usdc']),
5216+
ofcerc20('37f51c58-9be5-4c56-adcb-2c7f3c2cfc1a', 'ofcmorph:usdt', 'Tether USD', 6, UnderlyingAsset['morph:usdt']),
5217+
ofcerc20('e499e7cc-22ae-4374-ae4b-27651565af15', 'ofcmorph:usd1', 'USD1', 18, UnderlyingAsset['morph:usd1']),
52155218
];
52165219

52175220
function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset {

0 commit comments

Comments
 (0)