From ad76ef709af190ecd1dfce927b3b37345aea8338 Mon Sep 17 00:00:00 2001 From: Bhavi Dhingra Date: Fri, 23 May 2025 17:00:46 +0530 Subject: [PATCH] feat(statics): add new batch of tokens Ticket: COIN-1234 --- modules/statics/src/base.ts | 2 ++ modules/statics/src/coins/erc20Coins.ts | 25 ++++++++++++++++++++++ modules/statics/src/coins/ofcErc20Coins.ts | 15 +++++++++++++ modules/statics/src/gatekeep.ts | 1 + 4 files changed, 43 insertions(+) diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 29ed4d745e..23392b8ace 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -1620,6 +1620,7 @@ export enum UnderlyingAsset { 'hteth:gousd' = 'hteth:gousd', 'hteth:usd1' = 'hteth:usd1', 'hteth:stgusd1' = 'hteth:stgusd1', + 'hteth:testnewtoken' = 'hteth:testnewtoken', THKD = 'thkd', THUNDER = 'thunder', TIO = 'tio', @@ -1925,6 +1926,7 @@ export enum UnderlyingAsset { 'eth:ausd' = 'eth:ausd', 'eth:gaia' = 'eth:gaia', 'eth:usds' = 'eth:usds', + 'eth:newtoken' = 'eth:newtoken', 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ', 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M', 'xlm:SLT-GCKA6K5PCQ6PNF5RQBF7PQDJWRHO6UOGFMRLK3DYHDOI244V47XKQ4GP' = 'xlm:SLT-GCKA6K5PCQ6PNF5RQBF7PQDJWRHO6UOGFMRLK3DYHDOI244V47XKQ4GP', diff --git a/modules/statics/src/coins/erc20Coins.ts b/modules/statics/src/coins/erc20Coins.ts index 0a2f9ba9c7..3c546c65d7 100644 --- a/modules/statics/src/coins/erc20Coins.ts +++ b/modules/statics/src/coins/erc20Coins.ts @@ -10468,6 +10468,19 @@ export const erc20Coins = [ '0xdc035d45d973e3ec169d2276ddab16f1e407384f', UnderlyingAsset['eth:usds'] ), + erc20( + '7b05276c-74d6-4eb4-b690-758fd0d36454', + 'eth:newtoken', + 'New Token', + 18, + '0x1234567890123456789012345678901234567890', + UnderlyingAsset['eth:newtoken'], + [ + ...AccountCoin.DEFAULT_FEATURES, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.CUSTODY_BITGO_GERMANY, + ], + ), terc20( '0205f0d6-0647-47c9-ad8b-c48d048e54f3', 'fixed', @@ -11384,4 +11397,16 @@ export const erc20Coins = [ undefined, Networks.test.holesky ), + terc20( + '9e8511bd-f440-4b55-8576-220f67341560', + 'hteth:testnewtoken', + 'Test New Token', + 18, + '0x1234567890123456789012345678901234567890', + UnderlyingAsset['hteth:testnewtoken'], + HTETH_TOKEN_FEATURES, + undefined, + undefined, + Networks.test.holesky + ), ]; diff --git a/modules/statics/src/coins/ofcErc20Coins.ts b/modules/statics/src/coins/ofcErc20Coins.ts index 8ad4e5e74e..e6d8d67506 100644 --- a/modules/statics/src/coins/ofcErc20Coins.ts +++ b/modules/statics/src/coins/ofcErc20Coins.ts @@ -3153,6 +3153,7 @@ export const ofcErc20Coins = [ underlyingAssetForSymbol('eth:gaia') ), ofcerc20('c3a5c5d2-5d6e-4c9b-9f3e-6d2a4e5b6c8d', 'ofceth:usds', 'USDS', 18, underlyingAssetForSymbol('eth:usds')), + ofcerc20('68f3183e-a90f-4bbe-8074-28cae32e1960', 'ofcnewtoken', 'New Token', 18, UnderlyingAsset['eth:newtoken']), ]; export const tOfcErc20Coins = [ @@ -3312,6 +3313,20 @@ export const tOfcErc20Coins = [ undefined, 'hteth' ), + tofcerc20( + '4ee34236-5c8a-4c1b-b152-5d53a07f7107', + 'ofchtestnewtoken', + 'Test New Token', + 18, + UnderlyingAsset['hteth:testnewtoken'], + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + 'hteth' + ), ]; function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset { diff --git a/modules/statics/src/gatekeep.ts b/modules/statics/src/gatekeep.ts index 5b7436ce3a..111bf44615 100644 --- a/modules/statics/src/gatekeep.ts +++ b/modules/statics/src/gatekeep.ts @@ -1824,4 +1824,5 @@ export const gatekeep = [ 'ofcsol:rock', 'sol:dood', 'ofcsol:dood', + 'ofchteth:testnewtoken', ];