Skip to content

Commit a64f4ef

Browse files
feat: adding new stablecoin & usd1 on morph and mantle chain
Ticket: SCAAS-2689
1 parent f4ee459 commit a64f4ef

File tree

5 files changed

+121
-0
lines changed

5 files changed

+121
-0
lines changed

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 27 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+
'0659ec1e-c759-456b-9399-e1dc2f09e846',
2408+
'tmantle:stgusd1',
2409+
'Test USD1 Token',
2410+
18,
2411+
'0x334e1fe6d3518ab63a90e129701e954a44d835d8',
2412+
UnderlyingAsset['tmantle:stgusd1'],
2413+
Networks.test.mantle
2414+
),
24062415
account(
24072416
'd7ed1781-23ff-49b7-be6b-7fec13e1c452',
24082417
'jovayeth',
@@ -3527,6 +3536,15 @@ export const allCoinsAndTokens = [
35273536
UnderlyingAsset['tmorph:tmt'],
35283537
Networks.test.morph
35293538
),
3539+
erc20Token(
3540+
'b209e5fd-50c9-4742-b631-c47ae9e3252e',
3541+
'tmorph:stgusd1',
3542+
'Test USD1 Token',
3543+
18,
3544+
'0x055fd4bbad96a076c15187b60fe7ea07ea789b94',
3545+
UnderlyingAsset['tmorph:stgusd1'],
3546+
Networks.test.morph
3547+
),
35303548

35313549
// MorphEth mainnet tokens
35323550
erc20Token(
@@ -3567,6 +3585,15 @@ export const allCoinsAndTokens = [
35673585
UnderlyingAsset['tmorpheth:tmt'],
35683586
Networks.test.morpheth
35693587
),
3588+
erc20Token(
3589+
'e6a1553d-0dd0-4f77-b6a8-5f265243c7d0',
3590+
'tmorpheth:stgusd1',
3591+
'Test USD1 Token',
3592+
18,
3593+
'0x055fd4bbad96a076c15187b60fe7ea07ea789b94',
3594+
UnderlyingAsset['tmorpheth:stgusd1'],
3595+
Networks.test.morpheth
3596+
),
35703597

35713598
// Plume testnet tokens
35723599
erc20Token(

modules/statics/src/base.ts

Lines changed: 5 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:stgcusd' = 'hteth:stgcusd',
1846+
'hteth:stgfyusd' = 'hteth:stgfyusd',
18451847
'hteth:tsteth' = 'hteth:tsteth',
18461848
THKD = 'thkd',
18471849
THUNDER = 'thunder',
@@ -2414,6 +2416,8 @@ export enum UnderlyingAsset {
24142416
'morpheth:usd1' = 'morpheth:usd1',
24152417
'tmorph:tmt' = 'tmorph:tmt',
24162418
'tmorpheth:tmt' = 'tmorpheth:tmt',
2419+
'tmorph:stgusd1' = 'tmorph:stgusd1',
2420+
'tmorpheth:stgusd1' = 'tmorpheth:stgusd1',
24172421

24182422
'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
24192423
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',
@@ -3017,6 +3021,7 @@ export enum UnderlyingAsset {
30173021

30183022
// Mantle testnet tokens
30193023
'tmantle:bgerch' = 'tmantle:bgerch',
3024+
'tmantle:stgusd1' = 'tmantle:stgusd1',
30203025

30213026
// Flow mainnet tokens
30223027
'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+
'b800c6d9-c5fd-4ae0-8da0-22e45a489297',
12789+
'hteth:stgcusd',
12790+
'Test Catholic USD',
12791+
6,
12792+
'0xbfe885498d05beff9fb49db7d8dca46586a60a20',
12793+
UnderlyingAsset['hteth:stgcusd'],
12794+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN],
12795+
undefined,
12796+
undefined,
12797+
Networks.test.hoodi
12798+
),
12799+
terc20(
12800+
'e2ba2384-f838-453a-991c-0b5defb9e708',
12801+
'hteth:stgfyusd',
12802+
'Test FYUSD',
12803+
6,
12804+
'0x2d95790b3b38a6d95f0bf9b0c10e7e76836512c5',
12805+
UnderlyingAsset['hteth:stgfyusd'],
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: 63 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+
'befb8fc3-03e8-4d63-8da6-d4013f346149',
3927+
'ofchteth:stgcusd',
3928+
'Test Catholic USD',
3929+
6,
3930+
UnderlyingAsset['hteth:stgcusd'],
3931+
undefined,
3932+
[CoinFeature.STABLECOIN],
3933+
undefined,
3934+
undefined,
3935+
undefined,
3936+
undefined,
3937+
'hteth'
3938+
),
3939+
tofcerc20(
3940+
'9a56cdc4-25bd-47e9-93f6-0e8f463c4afd',
3941+
'ofchteth:stgfyusd',
3942+
'Test FYUSD',
3943+
6,
3944+
UnderlyingAsset['hteth:stgfyusd'],
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+
'4fc97feb-4d66-4ab7-8538-83ccf25673bb',
5368+
'ofctmantle:stgusd1',
5369+
'Test USD1 Token',
5370+
18,
5371+
underlyingAssetForSymbol('tmantle:stgusd1')
5372+
),
53385373

53395374
// MegaEth Network tokens
53405375
ofcerc20(
@@ -5418,6 +5453,20 @@ export const tOfcErc20Coins = [
54185453
true,
54195454
'tmorph'
54205455
),
5456+
tofcerc20(
5457+
'ff7b9afb-1d9e-4434-9b57-df8bc80c08ff',
5458+
'ofctmorph:stgusd1',
5459+
'Test USD1 Token',
5460+
18,
5461+
underlyingAssetForSymbol('tmorph:stgusd1'),
5462+
undefined,
5463+
undefined,
5464+
'',
5465+
undefined,
5466+
undefined,
5467+
true,
5468+
'tmorph'
5469+
),
54215470

54225471
// MorphETH tokens
54235472
ofcerc20(
@@ -5476,6 +5525,20 @@ export const tOfcErc20Coins = [
54765525
true,
54775526
'tmorpheth'
54785527
),
5528+
tofcerc20(
5529+
'15ca2074-d5bc-450c-886e-1338ffb114f8',
5530+
'ofctmorpheth:stgusd1',
5531+
'Test USD1 Token',
5532+
18,
5533+
underlyingAssetForSymbol('tmorpheth:stgusd1'),
5534+
undefined,
5535+
undefined,
5536+
'',
5537+
undefined,
5538+
undefined,
5539+
true,
5540+
'tmorpheth'
5541+
),
54795542
];
54805543

54815544
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:stgcusd',
56+
'hteth:stgfyusd',
5557
'hteth:tsteth',
5658
'hteth:gousd',
5759
'hteth:usd1',

0 commit comments

Comments
 (0)