Skip to content

Commit 262dc3e

Browse files
Merge pull request #8137 from BitGo/SCAAS-2689-TEST
feat: added new stablecoins and supproting usd1 on mantle and morph
2 parents d9c2df2 + 3dde5c4 commit 262dc3e

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
@@ -2408,6 +2408,15 @@ export const allCoinsAndTokens = [
24082408
UnderlyingAsset['tmantle:bgerch'],
24092409
Networks.test.mantle
24102410
),
2411+
erc20Token(
2412+
'c9bc1c74-2db0-4bdd-8545-f20a54815aa5',
2413+
'tmantle:usd1',
2414+
'Test USD1 Token',
2415+
18,
2416+
'0x7ef7a15922510f91672207a2f61d7ffd998079b3',
2417+
UnderlyingAsset['tmantle:usd1'],
2418+
Networks.test.mantle
2419+
),
24112420
account(
24122421
'd7ed1781-23ff-49b7-be6b-7fec13e1c452',
24132422
'jovayeth',
@@ -3572,6 +3581,15 @@ export const allCoinsAndTokens = [
35723581
UnderlyingAsset['tmorpheth:tmt'],
35733582
Networks.test.morpheth
35743583
),
3584+
erc20Token(
3585+
'15286c32-210b-402d-84a2-5e406e584981',
3586+
'tmorpheth:usd1',
3587+
'Test USD1 Token',
3588+
18,
3589+
'0x8bdaad0ebc24fb63af6c5f29e2a2898500c87886',
3590+
UnderlyingAsset['tmorpheth:usd1'],
3591+
Networks.test.morpheth
3592+
),
35753593

35763594
// Plume testnet tokens
35773595
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',
@@ -2416,6 +2418,7 @@ export enum UnderlyingAsset {
24162418
'morpheth:usd1' = 'morpheth:usd1',
24172419
'tmorph:tmt' = 'tmorph:tmt',
24182420
'tmorpheth:tmt' = 'tmorpheth:tmt',
2421+
'tmorpheth:usd1' = 'tmorpheth:usd1',
24192422

24202423
'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
24212424
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',
@@ -3020,6 +3023,7 @@ export enum UnderlyingAsset {
30203023

30213024
// Mantle testnet tokens
30223025
'tmantle:bgerch' = 'tmantle:bgerch',
3026+
'tmantle:usd1' = 'tmantle:usd1',
30233027

30243028
// Flow mainnet tokens
30253029
'flow:weth' = 'flow:weth',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12802,6 +12802,30 @@ export const erc20Coins = [
1280212802
undefined,
1280312803
Networks.test.hoodi
1280412804
),
12805+
terc20(
12806+
'0de5107e-a28e-4cfb-8d2d-c8ffce77cb87',
12807+
'hteth:cusd',
12808+
'Test Catholic USD',
12809+
6,
12810+
'0xb554e8dcadf5d6e18434ad29ad3f1c437bdb29a4',
12811+
UnderlyingAsset['hteth:cusd'],
12812+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN],
12813+
undefined,
12814+
undefined,
12815+
Networks.test.hoodi
12816+
),
12817+
terc20(
12818+
'f5ca2461-5bce-4268-a507-288c4504109a',
12819+
'hteth:fyusd',
12820+
'Test FYUSD',
12821+
6,
12822+
'0xd1bbd247be78c68cdeb8486744bd4513e62025e6',
12823+
UnderlyingAsset['hteth:fyusd'],
12824+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN],
12825+
undefined,
12826+
undefined,
12827+
Networks.test.hoodi
12828+
),
1280512829
terc20(
1280612830
'30179af0-ca75-4cb1-99d9-028bc56bf10e',
1280712831
'tmsn',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3947,6 +3947,34 @@ export const tOfcErc20Coins = [
39473947
undefined,
39483948
'hteth'
39493949
),
3950+
tofcerc20(
3951+
'7a14ba73-dfce-4f76-b0ff-563f2d3c47a8',
3952+
'ofchteth:cusd',
3953+
'Test Catholic USD',
3954+
6,
3955+
UnderlyingAsset['hteth:cusd'],
3956+
undefined,
3957+
[CoinFeature.STABLECOIN],
3958+
undefined,
3959+
undefined,
3960+
undefined,
3961+
undefined,
3962+
'hteth'
3963+
),
3964+
tofcerc20(
3965+
'a7c586b2-6471-4874-9856-e24cb56db132',
3966+
'ofchteth:fyusd',
3967+
'Test FYUSD',
3968+
6,
3969+
UnderlyingAsset['hteth:fyusd'],
3970+
undefined,
3971+
[CoinFeature.STABLECOIN],
3972+
undefined,
3973+
undefined,
3974+
undefined,
3975+
undefined,
3976+
'hteth'
3977+
),
39503978
tofcerc20(
39513979
'bf6a1c7b-eed7-46af-85ec-0adc09aa72d6',
39523980
'ofchteth:aut',
@@ -5360,6 +5388,13 @@ export const tOfcErc20Coins = [
53605388
18,
53615389
underlyingAssetForSymbol('tmantle:bgerch')
53625390
),
5391+
tofcerc20(
5392+
'ca77595a-dd77-4c64-a9d5-59d70ae9ac43',
5393+
'ofctmantle:usd1',
5394+
'Test USD1 Token',
5395+
18,
5396+
underlyingAssetForSymbol('tmantle:usd1')
5397+
),
53635398

53645399
// MegaEth Network tokens
53655400
ofcerc20(
@@ -5501,6 +5536,20 @@ export const tOfcErc20Coins = [
55015536
true,
55025537
'tmorpheth'
55035538
),
5539+
tofcerc20(
5540+
'8c64311b-e288-4dd4-8f9f-25dad3418837',
5541+
'ofctmorpheth:usd1',
5542+
'Test USD1 Token',
5543+
18,
5544+
underlyingAssetForSymbol('tmorpheth:usd1'),
5545+
undefined,
5546+
undefined,
5547+
'',
5548+
undefined,
5549+
undefined,
5550+
true,
5551+
'tmorpheth'
5552+
),
55045553
];
55055554

55065555
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)