Skip to content

Commit 3dde5c4

Browse files
feat: added new stablecoins and supproting usd1 on mantle and morph
Ticket: SCAAS-2689
1 parent f4ee459 commit 3dde5c4

5 files changed

Lines changed: 97 additions & 0 deletions

File tree

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2403,6 +2403,15 @@ export const allCoinsAndTokens = [
24032403
UnderlyingAsset['tmantle:bgerch'],
24042404
Networks.test.mantle
24052405
),
2406+
erc20Token(
2407+
'c9bc1c74-2db0-4bdd-8545-f20a54815aa5',
2408+
'tmantle:usd1',
2409+
'Test USD1 Token',
2410+
18,
2411+
'0x7ef7a15922510f91672207a2f61d7ffd998079b3',
2412+
UnderlyingAsset['tmantle:usd1'],
2413+
Networks.test.mantle
2414+
),
24062415
account(
24072416
'd7ed1781-23ff-49b7-be6b-7fec13e1c452',
24082417
'jovayeth',
@@ -3567,6 +3576,15 @@ export const allCoinsAndTokens = [
35673576
UnderlyingAsset['tmorpheth:tmt'],
35683577
Networks.test.morpheth
35693578
),
3579+
erc20Token(
3580+
'15286c32-210b-402d-84a2-5e406e584981',
3581+
'tmorpheth:usd1',
3582+
'Test USD1 Token',
3583+
18,
3584+
'0x8bdaad0ebc24fb63af6c5f29e2a2898500c87886',
3585+
UnderlyingAsset['tmorpheth:usd1'],
3586+
Networks.test.morpheth
3587+
),
35703588

35713589
// Plume testnet tokens
35723590
erc20Token(

modules/statics/src/base.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,6 +1842,8 @@ export enum UnderlyingAsset {
18421842
'hteth:stgsofid' = 'hteth:stgsofid',
18431843
'hteth:usd1' = 'hteth:usd1',
18441844
'hteth:stgusd1' = 'hteth:stgusd1',
1845+
'hteth:cusd' = 'hteth:cusd',
1846+
'hteth:fyusd' = 'hteth:fyusd',
18451847
'hteth:tsteth' = 'hteth:tsteth',
18461848
THKD = 'thkd',
18471849
THUNDER = 'thunder',
@@ -2414,6 +2416,7 @@ export enum UnderlyingAsset {
24142416
'morpheth:usd1' = 'morpheth:usd1',
24152417
'tmorph:tmt' = 'tmorph:tmt',
24162418
'tmorpheth:tmt' = 'tmorpheth:tmt',
2419+
'tmorpheth:usd1' = 'tmorpheth:usd1',
24172420

24182421
'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
24192422
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',
@@ -3017,6 +3020,7 @@ export enum UnderlyingAsset {
30173020

30183021
// Mantle testnet tokens
30193022
'tmantle:bgerch' = 'tmantle:bgerch',
3023+
'tmantle:usd1' = 'tmantle:usd1',
30203024

30213025
// Flow mainnet tokens
30223026
'flow:weth' = 'flow:weth',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12784,6 +12784,30 @@ export const erc20Coins = [
1278412784
undefined,
1278512785
Networks.test.hoodi
1278612786
),
12787+
terc20(
12788+
'0de5107e-a28e-4cfb-8d2d-c8ffce77cb87',
12789+
'hteth:cusd',
12790+
'Test Catholic USD',
12791+
6,
12792+
'0xb554e8dcadf5d6e18434ad29ad3f1c437bdb29a4',
12793+
UnderlyingAsset['hteth:cusd'],
12794+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN],
12795+
undefined,
12796+
undefined,
12797+
Networks.test.hoodi
12798+
),
12799+
terc20(
12800+
'f5ca2461-5bce-4268-a507-288c4504109a',
12801+
'hteth:fyusd',
12802+
'Test FYUSD',
12803+
6,
12804+
'0xd1bbd247be78c68cdeb8486744bd4513e62025e6',
12805+
UnderlyingAsset['hteth:fyusd'],
12806+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN],
12807+
undefined,
12808+
undefined,
12809+
Networks.test.hoodi
12810+
),
1278712811
terc20(
1278812812
'30179af0-ca75-4cb1-99d9-028bc56bf10e',
1278912813
'tmsn',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3922,6 +3922,34 @@ export const tOfcErc20Coins = [
39223922
undefined,
39233923
'hteth'
39243924
),
3925+
tofcerc20(
3926+
'7a14ba73-dfce-4f76-b0ff-563f2d3c47a8',
3927+
'ofchteth:cusd',
3928+
'Test Catholic USD',
3929+
6,
3930+
UnderlyingAsset['hteth:cusd'],
3931+
undefined,
3932+
[CoinFeature.STABLECOIN],
3933+
undefined,
3934+
undefined,
3935+
undefined,
3936+
undefined,
3937+
'hteth'
3938+
),
3939+
tofcerc20(
3940+
'a7c586b2-6471-4874-9856-e24cb56db132',
3941+
'ofchteth:fyusd',
3942+
'Test FYUSD',
3943+
6,
3944+
UnderlyingAsset['hteth:fyusd'],
3945+
undefined,
3946+
[CoinFeature.STABLECOIN],
3947+
undefined,
3948+
undefined,
3949+
undefined,
3950+
undefined,
3951+
'hteth'
3952+
),
39253953
tofcerc20(
39263954
'bf6a1c7b-eed7-46af-85ec-0adc09aa72d6',
39273955
'ofchteth:aut',
@@ -5335,6 +5363,13 @@ export const tOfcErc20Coins = [
53355363
18,
53365364
underlyingAssetForSymbol('tmantle:bgerch')
53375365
),
5366+
tofcerc20(
5367+
'ca77595a-dd77-4c64-a9d5-59d70ae9ac43',
5368+
'ofctmantle:usd1',
5369+
'Test USD1 Token',
5370+
18,
5371+
underlyingAssetForSymbol('tmantle:usd1')
5372+
),
53385373

53395374
// MegaEth Network tokens
53405375
ofcerc20(
@@ -5476,6 +5511,20 @@ export const tOfcErc20Coins = [
54765511
true,
54775512
'tmorpheth'
54785513
),
5514+
tofcerc20(
5515+
'8c64311b-e288-4dd4-8f9f-25dad3418837',
5516+
'ofctmorpheth:usd1',
5517+
'Test USD1 Token',
5518+
18,
5519+
underlyingAssetForSymbol('tmorpheth:usd1'),
5520+
undefined,
5521+
undefined,
5522+
'',
5523+
undefined,
5524+
undefined,
5525+
true,
5526+
'tmorpheth'
5527+
),
54795528
];
54805529

54815530
function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset {

modules/statics/test/unit/tokenNamingConvention.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ describe('Token Naming Convention Tests', function () {
5252
'hteth:stgusd1',
5353
'hteth:stgsofid',
5454
'hteth:sofid',
55+
'hteth:cusd',
56+
'hteth:fyusd',
5557
'hteth:tsteth',
5658
'hteth:gousd',
5759
'hteth:usd1',

0 commit comments

Comments
 (0)