From 60656a0599b3de886c64716a88777ab5ed2bb708 Mon Sep 17 00:00:00 2001 From: Nayan Das Date: Tue, 7 Apr 2026 13:26:32 +0530 Subject: [PATCH] feat: add new tokens usd1 and stgusd1 to tempo Ticket: CECHO-664 --- .../sdk-coin-tempo/test/resources/tempo.ts | 8 ++++ modules/statics/src/allCoinsAndTokens.ts | 39 ++++++++++++++++--- modules/statics/src/base.ts | 3 ++ modules/statics/src/coins/ofcCoins.ts | 15 +++++++ 4 files changed, 59 insertions(+), 6 deletions(-) diff --git a/modules/sdk-coin-tempo/test/resources/tempo.ts b/modules/sdk-coin-tempo/test/resources/tempo.ts index 4736b56789..30ba84cd4b 100644 --- a/modules/sdk-coin-tempo/test/resources/tempo.ts +++ b/modules/sdk-coin-tempo/test/resources/tempo.ts @@ -23,6 +23,14 @@ export const TESTNET_TOKENS = { address: '0x20c0000000000000000000000000000000000003', name: 'ttempo:thetausd', }, + usd1: { + address: '0xc4d0ee0f2b5416b22fdfdcca5f4a02488ea35602', + name: 'ttempo:usd1', + }, + stgUSD1: { + address: '0x7d29701e426e5c2fe991338c09c5d5be39522d9e', + name: 'ttempo:stgusd1', + }, }; // Valid checksummed test recipient address diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 7c19cd4ee9..97bdd59b34 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -3117,7 +3117,7 @@ export const allCoinsAndTokens = [ 6, '0x20c0000000000000000000000000000000000000', UnderlyingAsset['tempo:pathusd'], - TEMPO_FEATURES + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] ), tip20Token( '39a57b34-0ce5-40d6-a231-c53a287491a6', @@ -3126,7 +3126,16 @@ export const allCoinsAndTokens = [ 6, '0x20c000000000000000000000b9537d11c60e8b50', UnderlyingAsset['tempo:usdc'], - TEMPO_FEATURES + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] + ), + tip20Token( + 'fa9e874b-e1c0-4c40-ab4c-3cfba7b2ca8b', + 'tempo:usd1', + 'USD1', + 18, + '0x111111d2bf19e43c34263401e0cad979ed1cdb61', + UnderlyingAsset['tempo:usd1'], + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] ), // Tempo TIP20 testnet tokens ttip20Token( @@ -3136,7 +3145,7 @@ export const allCoinsAndTokens = [ 6, '0x20c0000000000000000000000000000000000000', UnderlyingAsset['ttempo:pathusd'], - TEMPO_FEATURES + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] ), ttip20Token( '3c67eaa8-f073-4e1a-9d3a-c6756a31bef0', @@ -3145,7 +3154,7 @@ export const allCoinsAndTokens = [ 6, '0x20c0000000000000000000000000000000000001', UnderlyingAsset['ttempo:alphausd'], - TEMPO_FEATURES + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] ), ttip20Token( 'da6d27bd-ed3b-4b59-b574-6e013e5eb55d', @@ -3154,7 +3163,7 @@ export const allCoinsAndTokens = [ 6, '0x20c0000000000000000000000000000000000002', UnderlyingAsset['ttempo:betausd'], - TEMPO_FEATURES + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] ), ttip20Token( '58cbb592-446e-4753-8c2a-c89f662135ba', @@ -3163,7 +3172,25 @@ export const allCoinsAndTokens = [ 6, '0x20c0000000000000000000000000000000000003', UnderlyingAsset['ttempo:thetausd'], - TEMPO_FEATURES + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] + ), + ttip20Token( + '1b9cb8c9-6eec-4f0a-acd4-3d1881efc85b', + 'ttempo:usd1', + 'Test USD1 Token', + 18, + '0xc4d0ee0f2b5416b22fdfdcca5f4a02488ea35602', + UnderlyingAsset['ttempo:usd1'], + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] + ), + ttip20Token( + 'b6455ffa-8732-4c61-bb2b-d72e72cb1e63', + 'ttempo:stgusd1', + 'Test USD1 Token', + 18, + '0x7d29701e426e5c2fe991338c09c5d5be39522d9e', + UnderlyingAsset['ttempo:stgusd1'], + [...TEMPO_FEATURES, CoinFeature.STABLECOIN] ), canton( '07385320-5a4f-48e9-97a5-86d4be9f24b0', diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 647aa15870..b225fbae76 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -3742,12 +3742,15 @@ export enum UnderlyingAsset { // Tempo mainnet tokens 'tempo:pathusd' = 'tempo:pathusd', 'tempo:usdc' = 'tempo:usdc', + 'tempo:usd1' = 'tempo:usd1', // Tempo testnet tokens 'ttempo:pathusd' = 'ttempo:pathusd', 'ttempo:alphausd' = 'ttempo:alphausd', 'ttempo:betausd' = 'ttempo:betausd', 'ttempo:thetausd' = 'ttempo:thetausd', + 'ttempo:usd1' = 'ttempo:usd1', + 'ttempo:stgusd1' = 'ttempo:stgusd1', // fiats AED = 'aed', diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index 564b8e2536..4280cbb2a7 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -4331,6 +4331,7 @@ export const ofcCoins = [ UnderlyingAsset['tempo:pathusd'] ), ofcTempoToken('c9a90ee0-6546-413c-9cbe-94fdc14985c5', 'ofctempo:usdc', 'USDC', 6, UnderlyingAsset['tempo:usdc']), + ofcTempoToken('05ac1283-5e72-4cba-8b0f-38cbd23a25c6', 'ofctempo:usd1', 'USD1', 18, UnderlyingAsset['tempo:usd1']), // Tempo testnet OFC tokens tofcTempoToken( '7912e76e-5a5c-4f1b-86e9-1fc2a51f5a98', @@ -4360,6 +4361,20 @@ export const ofcCoins = [ 6, UnderlyingAsset['ttempo:thetausd'] ), + tofcTempoToken( + '9540a6ee-9c93-473f-a00d-3c7f5e3c21c6', + 'ofcttempo:usd1', + 'Test USD1 Token', + 18, + UnderlyingAsset['ttempo:usd1'] + ), + tofcTempoToken( + 'a0daa4de-04fa-4b7f-9572-5084754879c2', + 'ofcttempo:stgusd1', + 'Test USD1 Token', + 18, + UnderlyingAsset['ttempo:stgusd1'] + ), ofc('6f0246cf-b792-483a-b720-9755b158c614', 'ofcunieth', 'Unichain', 18, UnderlyingAsset.UNIETH, CoinKind.CRYPTO), tofc( '4efb1377-8439-410a-b460-2aeeff944fb2',