From 68c296373f5b57bfe7beb7a2f05c11dfe6a871ec Mon Sep 17 00:00:00 2001 From: damodarnaik699 Date: Fri, 29 May 2026 15:01:18 +0530 Subject: [PATCH] feat: onboarding usd1 on canton chain Ticket: SCAAS-9501 --- modules/statics/src/base.ts | 3 +++ modules/statics/src/coins/cantonTokens.ts | 32 ++++++++++++++++++++++- modules/statics/src/coins/ofcCoins.ts | 27 +++++++++++++++++++ 3 files changed, 61 insertions(+), 1 deletion(-) diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 1c64fb99e6..b51b690fad 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -3927,9 +3927,12 @@ export enum UnderlyingAsset { // Canton testnet tokens 'tcanton:testcoin1' = 'tcanton:testcoin1', 'tcanton:testtoken' = 'tcanton:testtoken', + 'tcanton:stgusd1' = 'tcanton:stgusd1', + 'tcanton:usd1' = 'tcanton:usd1', // Canton mainnet tokens 'canton:usdcx' = 'canton:usdcx', + 'canton:usd1' = 'canton:usd1', 'canton:cbtc' = 'canton:cbtc', 'canton:usdxlr' = 'canton:usdxlr', 'canton:cltc' = 'canton:cltc', diff --git a/modules/statics/src/coins/cantonTokens.ts b/modules/statics/src/coins/cantonTokens.ts index c4f36aedb7..e6a90aa00e 100644 --- a/modules/statics/src/coins/cantonTokens.ts +++ b/modules/statics/src/coins/cantonTokens.ts @@ -1,5 +1,5 @@ import { cantonToken, tcantonToken } from '../account'; -import { UnderlyingAsset } from '../base'; +import { CoinFeature, UnderlyingAsset } from '../base'; import { CANTON_TOKEN_FEATURES } from '../coinFeatures'; export const cantonTokens = [ @@ -73,6 +73,16 @@ export const cantonTokens = [ UnderlyingAsset['canton:ceth'], CANTON_TOKEN_FEATURES ), + cantonToken( + '9ecb4703-a612-4905-9955-83b273f6decd', + 'canton:usd1', + 'USD1', + 10, + 'https://api.utilities.digitalasset.com/api/token-standard/v0/registrars/', + '12207::12207104d046b9339c2615aaa1ff7170eace89d1e4c657148eab5d0c2417583fa1a0:USD1', + UnderlyingAsset['canton:usd1'], + [...CANTON_TOKEN_FEATURES, CoinFeature.STABLECOIN] + ), // testnet tokens tcantonToken( '46356790-0ac4-4c3b-8b70-39094106d772', @@ -94,4 +104,24 @@ export const cantonTokens = [ UnderlyingAsset['tcanton:testtoken'], CANTON_TOKEN_FEATURES ), + tcantonToken( + '713b202a-d14a-4818-92d8-3505fc39b1bf', + 'tcanton:stgusd1', + 'Test USD1 Token', + 10, + 'https://api.utilities.digitalasset-dev.com/api/token-standard/v0/registrars/', + '1220e::1220e2b2bf85aa100fe92d6089458f19a272205a3cc7fea2eb46030cdc3dff605d4a:STGUSD1', + UnderlyingAsset['tcanton:stgusd1'], + [...CANTON_TOKEN_FEATURES, CoinFeature.STABLECOIN] + ), + tcantonToken( + '57b5236d-1660-4756-b76a-2d0ac2290936', + 'tcanton:usd1', + 'Test USD1 Token', + 10, + 'https://api.utilities.digitalasset-dev.com/api/token-standard/v0/registrars/', + '12209::12209fec64653a5324fba57424949ccbdb51828b76d914451772c4496a0215d0cca7:USD1', + UnderlyingAsset['tcanton:usd1'], + [...CANTON_TOKEN_FEATURES, CoinFeature.STABLECOIN] + ), ]; diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index e443922577..0d784af793 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -4849,6 +4849,15 @@ export const ofcCoins = [ UnderlyingAsset['canton:ibenji'] ), ofcCantonToken('784c76fb-59c6-4826-b72e-20e996a35739', 'ofccanton:ceth', 'cETH', 10, UnderlyingAsset['canton:ceth']), + ofcCantonToken( + '092883f7-c65d-446d-8a92-ad25c39e6e93', + 'ofccanton:usd1', + 'USD1', + 10, + UnderlyingAsset['canton:usd1'], + undefined, + [CoinFeature.STABLECOIN] + ), tofcCantonToken( 'd7297535-c1d4-429d-b3c5-d36351b110e5', 'ofctcanton:testcoin1', @@ -4863,6 +4872,24 @@ export const ofcCoins = [ 10, UnderlyingAsset['tcanton:testtoken'] ), + tofcCantonToken( + '621027de-7161-41ec-a5cc-72fbf16cf275', + 'ofctcanton:stgusd1', + 'Test USD1 Token', + 10, + UnderlyingAsset['tcanton:stgusd1'], + undefined, + [CoinFeature.STABLECOIN] + ), + tofcCantonToken( + '9845adf4-b638-4a4e-be1d-b6d6c7a22fae', + 'ofctcanton:usd1', + 'Test USD1 Token', + 10, + UnderlyingAsset['tcanton:usd1'], + undefined, + [CoinFeature.STABLECOIN] + ), // New SUI OFC token ofcSuiToken('1e01eb3d-2573-4662-aa5e-4c390e4a9b38', 'ofcsui:dmc', 'DeLorean', 9, UnderlyingAsset['sui:dmc']), ofcSuiToken('e4f5a6b7-8c9d-4eaf-82a3-4b5c6d7e8f9a', 'ofcsui:mmt', 'Momentum', 9, UnderlyingAsset['sui:mmt']),