Skip to content

Commit 54cb576

Browse files
feat: adding new stablecoin & usd1 on morph and mantle chain
Ticket: SCAAS-2689
1 parent 262dc3e commit 54cb576

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
@@ -2417,6 +2417,15 @@ export const allCoinsAndTokens = [
24172417
UnderlyingAsset['tmantle:usd1'],
24182418
Networks.test.mantle
24192419
),
2420+
erc20Token(
2421+
'0659ec1e-c759-456b-9399-e1dc2f09e846',
2422+
'tmantle:stgusd1',
2423+
'Test USD1 Token',
2424+
18,
2425+
'0x334e1fe6d3518ab63a90e129701e954a44d835d8',
2426+
UnderlyingAsset['tmantle:stgusd1'],
2427+
Networks.test.mantle
2428+
),
24202429
account(
24212430
'd7ed1781-23ff-49b7-be6b-7fec13e1c452',
24222431
'jovayeth',
@@ -3590,6 +3599,15 @@ export const allCoinsAndTokens = [
35903599
UnderlyingAsset['tmorpheth:usd1'],
35913600
Networks.test.morpheth
35923601
),
3602+
erc20Token(
3603+
'e6a1553d-0dd0-4f77-b6a8-5f265243c7d0',
3604+
'tmorpheth:stgusd1',
3605+
'Test USD1 Token',
3606+
18,
3607+
'0x055fd4bbad96a076c15187b60fe7ea07ea789b94',
3608+
UnderlyingAsset['tmorpheth:stgusd1'],
3609+
Networks.test.morpheth
3610+
),
35933611

35943612
// Plume testnet tokens
35953613
erc20Token(

modules/statics/src/base.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,6 +1844,8 @@ export enum UnderlyingAsset {
18441844
'hteth:stgusd1' = 'hteth:stgusd1',
18451845
'hteth:cusd' = 'hteth:cusd',
18461846
'hteth:fyusd' = 'hteth:fyusd',
1847+
'hteth:stgcusd' = 'hteth:stgcusd',
1848+
'hteth:stgfyusd' = 'hteth:stgfyusd',
18471849
'hteth:tsteth' = 'hteth:tsteth',
18481850
THKD = 'thkd',
18491851
THUNDER = 'thunder',
@@ -2419,6 +2421,7 @@ export enum UnderlyingAsset {
24192421
'tmorph:tmt' = 'tmorph:tmt',
24202422
'tmorpheth:tmt' = 'tmorpheth:tmt',
24212423
'tmorpheth:usd1' = 'tmorpheth:usd1',
2424+
'tmorpheth:stgusd1' = 'tmorpheth:stgusd1',
24222425

24232426
'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
24242427
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',
@@ -3024,6 +3027,7 @@ export enum UnderlyingAsset {
30243027
// Mantle testnet tokens
30253028
'tmantle:bgerch' = 'tmantle:bgerch',
30263029
'tmantle:usd1' = 'tmantle:usd1',
3030+
'tmantle:stgusd1' = 'tmantle:stgusd1',
30273031

30283032
// Flow mainnet tokens
30293033
'flow:weth' = 'flow:weth',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12826,6 +12826,30 @@ export const erc20Coins = [
1282612826
undefined,
1282712827
Networks.test.hoodi
1282812828
),
12829+
terc20(
12830+
'b800c6d9-c5fd-4ae0-8da0-22e45a489297',
12831+
'hteth:stgcusd',
12832+
'Test Catholic USD',
12833+
6,
12834+
'0xbfe885498d05beff9fb49db7d8dca46586a60a20',
12835+
UnderlyingAsset['hteth:stgcusd'],
12836+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN],
12837+
undefined,
12838+
undefined,
12839+
Networks.test.hoodi
12840+
),
12841+
terc20(
12842+
'e2ba2384-f838-453a-991c-0b5defb9e708',
12843+
'hteth:stgfyusd',
12844+
'Test FYUSD',
12845+
6,
12846+
'0x2d95790b3b38a6d95f0bf9b0c10e7e76836512c5',
12847+
UnderlyingAsset['hteth:stgfyusd'],
12848+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN],
12849+
undefined,
12850+
undefined,
12851+
Networks.test.hoodi
12852+
),
1282912853
terc20(
1283012854
'30179af0-ca75-4cb1-99d9-028bc56bf10e',
1283112855
'tmsn',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3975,6 +3975,34 @@ export const tOfcErc20Coins = [
39753975
undefined,
39763976
'hteth'
39773977
),
3978+
tofcerc20(
3979+
'befb8fc3-03e8-4d63-8da6-d4013f346149',
3980+
'ofchteth:stgcusd',
3981+
'Test Catholic USD',
3982+
6,
3983+
UnderlyingAsset['hteth:stgcusd'],
3984+
undefined,
3985+
[CoinFeature.STABLECOIN],
3986+
undefined,
3987+
undefined,
3988+
undefined,
3989+
undefined,
3990+
'hteth'
3991+
),
3992+
tofcerc20(
3993+
'9a56cdc4-25bd-47e9-93f6-0e8f463c4afd',
3994+
'ofchteth:stgfyusd',
3995+
'Test FYUSD',
3996+
6,
3997+
UnderlyingAsset['hteth:stgfyusd'],
3998+
undefined,
3999+
[CoinFeature.STABLECOIN],
4000+
undefined,
4001+
undefined,
4002+
undefined,
4003+
undefined,
4004+
'hteth'
4005+
),
39784006
tofcerc20(
39794007
'bf6a1c7b-eed7-46af-85ec-0adc09aa72d6',
39804008
'ofchteth:aut',
@@ -5395,6 +5423,13 @@ export const tOfcErc20Coins = [
53955423
18,
53965424
underlyingAssetForSymbol('tmantle:usd1')
53975425
),
5426+
tofcerc20(
5427+
'4fc97feb-4d66-4ab7-8538-83ccf25673bb',
5428+
'ofctmantle:stgusd1',
5429+
'Test USD1 Token',
5430+
18,
5431+
underlyingAssetForSymbol('tmantle:stgusd1')
5432+
),
53985433

53995434
// MegaEth Network tokens
54005435
ofcerc20(
@@ -5550,6 +5585,20 @@ export const tOfcErc20Coins = [
55505585
true,
55515586
'tmorpheth'
55525587
),
5588+
tofcerc20(
5589+
'15ca2074-d5bc-450c-886e-1338ffb114f8',
5590+
'ofctmorpheth:stgusd1',
5591+
'Test USD1 Token',
5592+
18,
5593+
underlyingAssetForSymbol('tmorpheth:stgusd1'),
5594+
undefined,
5595+
undefined,
5596+
'',
5597+
undefined,
5598+
undefined,
5599+
true,
5600+
'tmorpheth'
5601+
),
55535602
];
55545603

55555604
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
@@ -54,6 +54,8 @@ describe('Token Naming Convention Tests', function () {
5454
'hteth:sofid',
5555
'hteth:cusd',
5656
'hteth:fyusd',
57+
'hteth:stgcusd',
58+
'hteth:stgfyusd',
5759
'hteth:tsteth',
5860
'hteth:gousd',
5961
'hteth:usd1',

0 commit comments

Comments
 (0)