From 3dde5c4cb63c81c1f72865d90db5ad03bf932102 Mon Sep 17 00:00:00 2001 From: damodarnaik699 Date: Fri, 13 Feb 2026 16:49:27 +0530 Subject: [PATCH] feat: added new stablecoins and supproting usd1 on mantle and morph Ticket: SCAAS-2689 --- modules/statics/src/allCoinsAndTokens.ts | 18 +++++++ modules/statics/src/base.ts | 4 ++ modules/statics/src/coins/erc20Coins.ts | 24 +++++++++ modules/statics/src/coins/ofcErc20Coins.ts | 49 +++++++++++++++++++ .../test/unit/tokenNamingConvention.ts | 2 + 5 files changed, 97 insertions(+) diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index ca2279669c..194a8265e0 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -2403,6 +2403,15 @@ export const allCoinsAndTokens = [ UnderlyingAsset['tmantle:bgerch'], Networks.test.mantle ), + erc20Token( + 'c9bc1c74-2db0-4bdd-8545-f20a54815aa5', + 'tmantle:usd1', + 'Test USD1 Token', + 18, + '0x7ef7a15922510f91672207a2f61d7ffd998079b3', + UnderlyingAsset['tmantle:usd1'], + Networks.test.mantle + ), account( 'd7ed1781-23ff-49b7-be6b-7fec13e1c452', 'jovayeth', @@ -3567,6 +3576,15 @@ export const allCoinsAndTokens = [ UnderlyingAsset['tmorpheth:tmt'], Networks.test.morpheth ), + erc20Token( + '15286c32-210b-402d-84a2-5e406e584981', + 'tmorpheth:usd1', + 'Test USD1 Token', + 18, + '0x8bdaad0ebc24fb63af6c5f29e2a2898500c87886', + UnderlyingAsset['tmorpheth:usd1'], + Networks.test.morpheth + ), // Plume testnet tokens erc20Token( diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index fc0190db69..5ffcc91935 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -1842,6 +1842,8 @@ export enum UnderlyingAsset { 'hteth:stgsofid' = 'hteth:stgsofid', 'hteth:usd1' = 'hteth:usd1', 'hteth:stgusd1' = 'hteth:stgusd1', + 'hteth:cusd' = 'hteth:cusd', + 'hteth:fyusd' = 'hteth:fyusd', 'hteth:tsteth' = 'hteth:tsteth', THKD = 'thkd', THUNDER = 'thunder', @@ -2414,6 +2416,7 @@ export enum UnderlyingAsset { 'morpheth:usd1' = 'morpheth:usd1', 'tmorph:tmt' = 'tmorph:tmt', 'tmorpheth:tmt' = 'tmorpheth:tmt', + 'tmorpheth:usd1' = 'tmorpheth:usd1', 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ', 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M', @@ -3017,6 +3020,7 @@ export enum UnderlyingAsset { // Mantle testnet tokens 'tmantle:bgerch' = 'tmantle:bgerch', + 'tmantle:usd1' = 'tmantle:usd1', // Flow mainnet tokens 'flow:weth' = 'flow:weth', diff --git a/modules/statics/src/coins/erc20Coins.ts b/modules/statics/src/coins/erc20Coins.ts index 752980b2f9..2906da37b8 100644 --- a/modules/statics/src/coins/erc20Coins.ts +++ b/modules/statics/src/coins/erc20Coins.ts @@ -12784,6 +12784,30 @@ export const erc20Coins = [ undefined, Networks.test.hoodi ), + terc20( + '0de5107e-a28e-4cfb-8d2d-c8ffce77cb87', + 'hteth:cusd', + 'Test Catholic USD', + 6, + '0xb554e8dcadf5d6e18434ad29ad3f1c437bdb29a4', + UnderlyingAsset['hteth:cusd'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], + undefined, + undefined, + Networks.test.hoodi + ), + terc20( + 'f5ca2461-5bce-4268-a507-288c4504109a', + 'hteth:fyusd', + 'Test FYUSD', + 6, + '0xd1bbd247be78c68cdeb8486744bd4513e62025e6', + UnderlyingAsset['hteth:fyusd'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], + undefined, + undefined, + Networks.test.hoodi + ), terc20( '30179af0-ca75-4cb1-99d9-028bc56bf10e', 'tmsn', diff --git a/modules/statics/src/coins/ofcErc20Coins.ts b/modules/statics/src/coins/ofcErc20Coins.ts index 759149e11f..78cd9aa5e7 100644 --- a/modules/statics/src/coins/ofcErc20Coins.ts +++ b/modules/statics/src/coins/ofcErc20Coins.ts @@ -3922,6 +3922,34 @@ export const tOfcErc20Coins = [ undefined, 'hteth' ), + tofcerc20( + '7a14ba73-dfce-4f76-b0ff-563f2d3c47a8', + 'ofchteth:cusd', + 'Test Catholic USD', + 6, + UnderlyingAsset['hteth:cusd'], + undefined, + [CoinFeature.STABLECOIN], + undefined, + undefined, + undefined, + undefined, + 'hteth' + ), + tofcerc20( + 'a7c586b2-6471-4874-9856-e24cb56db132', + 'ofchteth:fyusd', + 'Test FYUSD', + 6, + UnderlyingAsset['hteth:fyusd'], + undefined, + [CoinFeature.STABLECOIN], + undefined, + undefined, + undefined, + undefined, + 'hteth' + ), tofcerc20( 'bf6a1c7b-eed7-46af-85ec-0adc09aa72d6', 'ofchteth:aut', @@ -5335,6 +5363,13 @@ export const tOfcErc20Coins = [ 18, underlyingAssetForSymbol('tmantle:bgerch') ), + tofcerc20( + 'ca77595a-dd77-4c64-a9d5-59d70ae9ac43', + 'ofctmantle:usd1', + 'Test USD1 Token', + 18, + underlyingAssetForSymbol('tmantle:usd1') + ), // MegaEth Network tokens ofcerc20( @@ -5476,6 +5511,20 @@ export const tOfcErc20Coins = [ true, 'tmorpheth' ), + tofcerc20( + '8c64311b-e288-4dd4-8f9f-25dad3418837', + 'ofctmorpheth:usd1', + 'Test USD1 Token', + 18, + underlyingAssetForSymbol('tmorpheth:usd1'), + undefined, + undefined, + '', + undefined, + undefined, + true, + 'tmorpheth' + ), ]; function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset { diff --git a/modules/statics/test/unit/tokenNamingConvention.ts b/modules/statics/test/unit/tokenNamingConvention.ts index d72e77daac..2bbb50a8ea 100644 --- a/modules/statics/test/unit/tokenNamingConvention.ts +++ b/modules/statics/test/unit/tokenNamingConvention.ts @@ -52,6 +52,8 @@ describe('Token Naming Convention Tests', function () { 'hteth:stgusd1', 'hteth:stgsofid', 'hteth:sofid', + 'hteth:cusd', + 'hteth:fyusd', 'hteth:tsteth', 'hteth:gousd', 'hteth:usd1',