Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
32 changes: 31 additions & 1 deletion modules/statics/src/coins/cantonTokens.ts
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down Expand Up @@ -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',
Expand All @@ -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]
),
];
27 changes: 27 additions & 0 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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']),
Expand Down
Loading