Skip to content

Commit 696344d

Browse files
manojkumar138claude
andcommitted
feat(statics): onboard batch 0803 tokens (CECHO-1893)
Add support for 9 new tokens from client requested batch: - Ungated: ETH strUSD, ETH U, BSC U, BASE ALLO, BASE GRO, XLM yGHS, CANTON USDM1 - Gated: ETH BLIQUID, SOL BLIQUID Includes UnderlyingAsset entries and token configurations for all chains. Ticket: CECHO-1893 Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 8e1f0fc commit 696344d

3 files changed

Lines changed: 161 additions & 0 deletions

File tree

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ import { jettonTokens } from './coins/jettonTokens';
7777
import { erc7984Tokens } from './coins/erc7984Tokens';
7878
import { polyxTokens } from './coins/polyxTokens';
7979
import { cantonTokens } from './coins/cantonTokens';
80+
import {
81+
ethBatch0803Tokens,
82+
ethBatch0803GatedTokens,
83+
baseethBatch0803Tokens,
84+
bscBatch0803Tokens,
85+
solBatch0803GatedTokens,
86+
cantonBatch0803Tokens,
87+
xlmBatch0803Tokens,
88+
} from './coins/batch0803Tokens';
8089
import { hoodethTokens } from './coins/hoodethTokens';
8190
import { flrp } from './flrp';
8291
import { hypeEvm } from './hypeevm';
@@ -164,10 +173,15 @@ export const allCoinsAndTokens = [
164173
...lightningCoins,
165174
...utxoCoins,
166175
...erc20Coins,
176+
...ethBatch0803Tokens,
177+
...ethBatch0803GatedTokens,
178+
...baseethBatch0803Tokens,
167179
...avaxTokens,
168180
...bscTokens,
181+
...bscBatch0803Tokens,
169182
...polygonTokens,
170183
...solTokens,
184+
...solBatch0803GatedTokens,
171185
...sip10Tokens,
172186
...nep141Tokens,
173187
...vetTokens,
@@ -178,6 +192,8 @@ export const allCoinsAndTokens = [
178192
...erc7984Tokens,
179193
...polyxTokens,
180194
...cantonTokens,
195+
...cantonBatch0803Tokens,
196+
...xlmBatch0803Tokens,
181197
...hoodethTokens,
182198
avaxp(
183199
'5436386e-9e4d-4d82-92df-59d9720d1738',

modules/statics/src/base.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2551,6 +2551,9 @@ export enum UnderlyingAsset {
25512551
'eth:lngvx' = 'eth:lngvx',
25522552
'eth:eqtyx' = 'eth:eqtyx',
25532553
'eth:deuro' = 'eth:deuro',
2554+
'eth:strusd' = 'eth:strusd',
2555+
'eth:u' = 'eth:u',
2556+
'eth:bliquid' = 'eth:bliquid',
25542557
'eth:usat' = 'eth:usat',
25552558
'eth:usdf' = 'eth:usdf',
25562559
'eth:ausd' = 'eth:ausd',
@@ -2959,6 +2962,7 @@ export enum UnderlyingAsset {
29592962
'txlm:BST-GCWHAO4SVB4KX3Q62QZGZUHUH2GSH3OIV7IS7Y3MPQOFGQFGBP6IYCOU' = 'txlm:BST-GCWHAO4SVB4KX3Q62QZGZUHUH2GSH3OIV7IS7Y3MPQOFGQFGBP6IYCOU',
29602963
'txlm:TST-GC26PEYGETD7L6PUW2VCU3PSC7LCLRRPOSUILSHD2RT23IQUEAN4TQBQ' = 'txlm:TST-GC26PEYGETD7L6PUW2VCU3PSC7LCLRRPOSUILSHD2RT23IQUEAN4TQBQ',
29612964
'txlm:BTGT-GCCUFJV5P32QGVZVW73SF7P53ZH2OXJ5C3DYSXDECSRCP3FU2GJ2PXGE' = 'txlm:BTGT-GCCUFJV5P32QGVZVW73SF7P53ZH2OXJ5C3DYSXDECSRCP3FU2GJ2PXGE',
2965+
'xlm:yGHS-GCF46XLX3R7OXIDAFZ3HH6DEY5VT3BJJRSTKSSOKPLGNH6H7QYV3A2OA' = 'xlm:yGHS-GCF46XLX3R7OXIDAFZ3HH6DEY5VT3BJJRSTKSSOKPLGNH6H7QYV3A2OA',
29622966

29632967
// Algorand testnet tokens
29642968
'talgo:USON-16026728' = 'talgo:USON-16026728',
@@ -3398,6 +3402,7 @@ export enum UnderlyingAsset {
33983402
'bsc:ftm' = 'bsc:ftm',
33993403
'bsc:comp' = 'bsc:comp',
34003404
'bsc:uni' = 'bsc:uni',
3405+
'bsc:u' = 'bsc:u',
34013406
'bsc:yfi' = 'bsc:yfi',
34023407
'bsc:link' = 'bsc:link',
34033408
'bsc:cusdo' = 'bsc:cusdo',
@@ -3700,6 +3705,8 @@ export enum UnderlyingAsset {
37003705
'baseeth:flock' = 'baseeth:flock',
37013706
'baseeth:gps' = 'baseeth:gps',
37023707
'baseeth:elsa' = 'baseeth:elsa',
3708+
'baseeth:allo' = 'baseeth:allo',
3709+
'baseeth:gro' = 'baseeth:gro',
37033710

37043711
// BaseETH testnet tokens
37053712
'tbaseeth:usdc' = 'tbaseeth:usdc',
@@ -4167,6 +4174,7 @@ export enum UnderlyingAsset {
41674174
'sol:birb' = 'sol:birb',
41684175
'sol:pybobo' = 'sol:pybobo',
41694176
'sol:usdpt' = 'sol:usdpt',
4177+
'sol:bliquid' = 'sol:bliquid',
41704178

41714179
'tsol:txsgd' = 'sol:txsgd',
41724180
'tsol:txusd' = 'sol:txusd',
@@ -4550,6 +4558,7 @@ export enum UnderlyingAsset {
45504558
// Canton mainnet tokens
45514559
'canton:usdcx' = 'canton:usdcx',
45524560
'canton:usd1' = 'canton:usd1',
4561+
'canton:usdm1' = 'canton:usdm1',
45534562
'canton:cbtc' = 'canton:cbtc',
45544563
'canton:usdxlr' = 'canton:usdxlr',
45554564
'canton:cltc' = 'canton:cltc',
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
import { erc20Token, bscToken, solToken, cantonToken, stellarToken } from '../account';
2+
import { CoinFeature, UnderlyingAsset } from '../base';
3+
import { Networks } from '../networks';
4+
import { ACCOUNT_COIN_DEFAULT_FEATURES, BSC_TOKEN_FEATURES, SOL_TOKEN_FEATURES } from '../coinFeatures';
5+
6+
// CECHO-1893: Client Requested Tokens to Onboard - Batch (08/03)
7+
8+
// ETH ERC-20 tokens (ungated)
9+
export const ethBatch0803Tokens = [
10+
erc20Token(
11+
'b7a3e9c1-4d2f-4e5a-9f6b-1c2d3e4f5a6b',
12+
'eth:strusd',
13+
'Tori Staked trUSD',
14+
18,
15+
'0x280839980a7eD0D7717F64125fE241012E5F5815',
16+
UnderlyingAsset['eth:strusd'],
17+
Networks.main.ethereum,
18+
ACCOUNT_COIN_DEFAULT_FEATURES
19+
),
20+
erc20Token(
21+
'c8b4f0d2-5e3f-4f6b-0a7c-2d3e4f5a6b7c',
22+
'eth:u',
23+
'United Stables',
24+
18,
25+
'0xce24439f2d9c6a2289f741120fe202248b666666',
26+
UnderlyingAsset['eth:u'],
27+
Networks.main.ethereum,
28+
ACCOUNT_COIN_DEFAULT_FEATURES
29+
),
30+
];
31+
32+
// ETH ERC-20 tokens (gated - Money Market Funds)
33+
export const ethBatch0803GatedTokens = [
34+
erc20Token(
35+
'd9c5g1e3-6f4g-5g7c-1b8d-3e4f5a6b7c8d',
36+
'eth:bliquid',
37+
'BNY Dreyfus On-Chain Liquidity Fund',
38+
18,
39+
'0x80fdea151e79d6904859b12b0b3fb40d4209e462',
40+
UnderlyingAsset['eth:bliquid'],
41+
Networks.main.ethereum,
42+
[
43+
CoinFeature.CUSTODY_BITGO_NEW_YORK,
44+
CoinFeature.CUSTODY_BITGO_GERMANY,
45+
...ACCOUNT_COIN_DEFAULT_FEATURES.filter(
46+
(f) => f !== CoinFeature.CUSTODY_BITGO_SINGAPORE && f !== CoinFeature.CUSTODY_BITGO_TRUST
47+
),
48+
]
49+
),
50+
];
51+
52+
// BASE ERC-20 tokens
53+
export const baseethBatch0803Tokens = [
54+
erc20Token(
55+
'e0d6h2f4-7g5h-6h8d-2c9e-4f5a6b7c8d9e',
56+
'baseeth:allo',
57+
'Allora',
58+
18,
59+
'0x032d86656Db142138AC97d2c5C4E3766E8c0482d',
60+
UnderlyingAsset['baseeth:allo'],
61+
Networks.main.basechain,
62+
ACCOUNT_COIN_DEFAULT_FEATURES
63+
),
64+
erc20Token(
65+
'f1e7i3g5-8h6i-7i9e-3d0f-5a6b7c8d9e0f',
66+
'baseeth:gro',
67+
'GromaCoin',
68+
18,
69+
'0x3dCce9e05Fc9c30A6a4E9FC1c0ec1Ff15C16e0b5',
70+
UnderlyingAsset['baseeth:gro'],
71+
Networks.main.basechain,
72+
ACCOUNT_COIN_DEFAULT_FEATURES
73+
),
74+
];
75+
76+
// BSC BEP-20 token
77+
export const bscBatch0803Tokens = [
78+
bscToken(
79+
'g2f8j4h6-9i7j-8j0f-4e1g-6b7c8d9e0f1g',
80+
'bsc:u',
81+
'United Stables',
82+
18,
83+
'0xce24439f2d9c6a2289f741120fe202248b666666',
84+
UnderlyingAsset['bsc:u'],
85+
BSC_TOKEN_FEATURES
86+
),
87+
];
88+
89+
// SOL SPL token (gated - Money Market Fund)
90+
export const solBatch0803GatedTokens = [
91+
solToken(
92+
'h3g9k5i7-0j8k-9k1g-5f2h-7c8d9e0f1g2h',
93+
'sol:bliquid',
94+
'BNY Dreyfus On-Chain Liquidity Fund',
95+
6,
96+
'33J6F2wAHrFXAQJpgz3mLfzbvSNkVVfXTbZVMGxXF8Ab',
97+
'33J6F2wAHrFXAQJpgz3mLfzbvSNkVVfXTbZVMGxXF8Ab',
98+
UnderlyingAsset['sol:bliquid'],
99+
[
100+
CoinFeature.CUSTODY_BITGO_NEW_YORK,
101+
CoinFeature.CUSTODY_BITGO_GERMANY,
102+
...SOL_TOKEN_FEATURES.filter(
103+
(f) => f !== CoinFeature.CUSTODY_BITGO_SINGAPORE && f !== CoinFeature.CUSTODY_BITGO_TRUST
104+
),
105+
]
106+
),
107+
];
108+
109+
// CANTON token
110+
export const cantonBatch0803Tokens = [
111+
cantonToken(
112+
'i4h0l6j8-1k9l-0l2h-6g3i-8d9e0f1g2h3i',
113+
'canton:usdm1',
114+
'USDM1',
115+
10,
116+
'https://api.utilities.digitalasset.com/api/token-standard/v0/registrars/',
117+
'M1-validator-1::12207b40944692e083593819697e1cd87a94026afca2564253d16ff8696b233a6637',
118+
UnderlyingAsset['canton:usdm1'],
119+
ACCOUNT_COIN_DEFAULT_FEATURES
120+
),
121+
];
122+
123+
// XLM Stellar testnet token
124+
export const xlmBatch0803Tokens = [
125+
stellarToken(
126+
'j5i1m7k9-2l0m-1m3i-7h4j-9e0f1g2h3i4j',
127+
'xlm:yGHS-GCF46XLX3R7OXIDAFZ3HH6DEY5VT3BJJRSTKSSOKPLGNH6H7QYV3A2OA',
128+
'yGHS',
129+
7,
130+
UnderlyingAsset['xlm:yGHS-GCF46XLX3R7OXIDAFZ3HH6DEY5VT3BJJRSTKSSOKPLGNH6H7QYV3A2OA'],
131+
'',
132+
ACCOUNT_COIN_DEFAULT_FEATURES,
133+
'',
134+
'XLM:yGHS'
135+
),
136+
];

0 commit comments

Comments
 (0)