From e91e314a4539acec5a3aabd30e63b2a9f175dcdd Mon Sep 17 00:00:00 2001 From: Manoj Kumar Date: Mon, 16 Nov 2026 12:13:03 +0530 Subject: [PATCH] feat(statics): onboard CECHO-2732 mon:usdt0 and eth:stampx with OFC counterparts Adds two client-requested tokens for the CECHO-2732 ticket's OVC and Express releases, plus OFC counterparts for all ticket tokens: - mon:usdt0 (USDT0) on Monad mainnet: 6 decimals, 0xe7cd86e13ac4309349f30b3435a9d337750fc82d (symbol/decimals verified on-chain via eth_call on rpc.monad.xyz) - eth:stampx (STAMPx) on Ethereum mainnet: 18 decimals, 0xc0aca7acdd9adeed3177a4b299caebe816842f52 (symbol/decimals verified on-chain via eth_call; note 18, not the 6 typical of wrapped assets) OFC counterparts added for all 8 CECHO-2732 tokens (the 6 from batch 11/12 plus these two): - ofchoodeth:rlusd (ofcHoodethTokens.ts) - ofcxlm:SPXU-... (ofcStellarToken, ACCOUNT_COIN_DEFAULT_FEATURES_TRUST_ONLY to mirror the base token's Trust-only custody; the mixed-case Stellar name never matches getFilteredFeatures' lowercase lookup, so the features must be passed explicitly) - ofccanton:beth/usty/exau/exag (ofcCantonToken) - ofcthbar:fly (tofcHederaToken, 'Fluency (Testnet)' per naming rule) - ofcsol:cash (ofcsolToken, UnderlyingAsset.CASH, 6 decimals, [...SOL_OFC_TOKEN_FEATURES, CoinFeature.STABLECOIN] matching ofcsol:usdc; the underlying sol:cash is a stablecoin) - ofcmon:usdt0, ofceth:stampx (ofcerc20, STABLECOIN on usdt0) ofcxlm:SPXU-... is added to the 'WTGXX Trust-only custody' test to lock the behavior in. Also bumps @bitgo/key-card's devDependency @bitgo/sdk-lib-mpc ^11.6.0 -> ^11.6.1 to fix check-package-versions, which currently breaks master's own CI too (key-card pinned the old version). USDT0 is priced on CoinGecko (live, $1 pegged); STAMPx has no CryptoCompare pricing yet. Ticket: CECHO-2732 --- modules/key-card/package.json | 2 +- modules/statics/src/allCoinsAndTokens.ts | 8 +++ modules/statics/src/base.ts | 2 + modules/statics/src/coins/erc20Coins.ts | 8 +++ modules/statics/src/coins/ofcCoins.ts | 53 +++++++++++++++++++ modules/statics/src/coins/ofcErc20Coins.ts | 21 ++++++++ modules/statics/src/coins/ofcHoodethTokens.ts | 14 +++++ modules/statics/test/unit/coins.ts | 1 + 8 files changed, 108 insertions(+), 1 deletion(-) diff --git a/modules/key-card/package.json b/modules/key-card/package.json index 36d49468eef..f5664b18efe 100644 --- a/modules/key-card/package.json +++ b/modules/key-card/package.json @@ -42,7 +42,7 @@ "qrcode": "^1.5.1" }, "devDependencies": { - "@bitgo/sdk-lib-mpc": "^11.6.0", + "@bitgo/sdk-lib-mpc": "^11.6.1", "@bitgo/utxo-lib": "^11.25.0", "@types/qrcode": "1.5.0" }, diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 39c58587989..9693c146d5a 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -5528,6 +5528,14 @@ export const allCoinsAndTokens = [ '0x0cb6d03b0ac88a463f67b7ad99f9f3ec4678092e', UnderlyingAsset['mon:sofid'] ), + monErc20( + '6c615ca8-2bbd-4713-a162-e4b2e1b49407', // CECHO-2732 + 'mon:usdt0', + 'USDT0', + 6, + '0xe7cd86e13ac4309349f30b3435a9d337750fc82d', // https://monadexplorer.com/token/0xe7cd86e13ac4309349f30b3435a9d337750fc82d + UnderlyingAsset['mon:usdt0'] + ), // MON testnet tokens tmonErc20( diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 5de66f2b2b6..82a2473dff2 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -2626,6 +2626,7 @@ export enum UnderlyingAsset { ZUSD = 'zusd', 'eth:usdg' = 'eth:usdg', 'eth:spxux' = 'eth:spxux', + 'eth:stampx' = 'eth:stampx', // CECHO-2732 'eth:aleo' = 'eth:aleo', 'eth:dbusd' = 'eth:dbusd', 'eth:edu' = 'eth:edu', @@ -3918,6 +3919,7 @@ export enum UnderlyingAsset { 'mon:usdc' = 'mon:usdc', 'mon:wmon' = 'mon:wmon', 'mon:sofid' = 'mon:sofid', + 'mon:usdt0' = 'mon:usdt0', // CECHO-2732 // Monad testnet tokens 'tmon:tmt' = 'tmon:tmt', diff --git a/modules/statics/src/coins/erc20Coins.ts b/modules/statics/src/coins/erc20Coins.ts index 0de13b07867..cf540ec205b 100644 --- a/modules/statics/src/coins/erc20Coins.ts +++ b/modules/statics/src/coins/erc20Coins.ts @@ -10886,6 +10886,14 @@ export const erc20Coins = [ '0x873d589f38abbcdd1fca27261aba2f1aa0661d44', UnderlyingAsset['eth:spxux'] ), + erc20( + '19f73ddf-723e-4eec-9deb-279794bca9f6', // CECHO-2732 + 'eth:stampx', + 'STAMPx', + 18, + '0xc0aca7acdd9adeed3177a4b299caebe816842f52', // https://etherscan.io/token/0xc0aca7acdd9adeed3177a4b299caebe816842f52 + UnderlyingAsset['eth:stampx'] + ), erc20( 'cd21be23-a0f4-4706-8b00-cee136e1188a', 'eth:aleo', diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index 31adb01a301..9e10258667d 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -54,6 +54,7 @@ import { SOL_OFC_TOKEN_FEATURES, APT_OFC_TOKEN_FEATURES, ACCOUNT_COIN_DEFAULT_FEATURES, + ACCOUNT_COIN_DEFAULT_FEATURES_TRUST_ONLY, } from '../coinFeatures'; export const ofcCoins = [ @@ -4997,6 +4998,13 @@ export const ofcCoins = [ undefined, [CoinFeature.STABLECOIN] ), + tofcHederaToken( + '2341e390-b6a2-4b04-a2ad-ca5d0bd1b10c', // CECHO-2732 + 'ofcthbar:fly', + 'Fluency (Testnet)', + 18, + UnderlyingAsset['thbar:fly'] + ), ofcStellarToken( 'fd90a80b-d615-434e-9821-1ef179a06071', @@ -5055,6 +5063,15 @@ export const ofcCoins = [ 7, UnderlyingAsset['xlm:BTGO-GAXTPUVP2XINTMEN57FPJ34DAPZXDMMGX7TB7ASIBWHWT6ARC3IOGA2W'] ), + ofcStellarToken( + '8ad91a65-6cc9-443f-8e88-23afc0404b03', // CECHO-2732 + 'ofcxlm:SPXU-GDJBVX3QA5HJPBSAU5VIX2W6MC37NU4UFXPKEGK42SJCYN6AEQ4Z6COM', + 'WisdomTree 500 Digital Fund', + 7, + UnderlyingAsset['xlm:SPXU-GDJBVX3QA5HJPBSAU5VIX2W6MC37NU4UFXPKEGK42SJCYN6AEQ4Z6COM'], + undefined, + ACCOUNT_COIN_DEFAULT_FEATURES_TRUST_ONLY + ), ofcStellarToken( '66c55a71-3352-407b-945a-ceed3fdc7487', 'ofcxlm:usdt0', @@ -6652,6 +6669,34 @@ export const ofcCoins = [ 10, UnderlyingAsset['canton:ibenji'] ), + ofcCantonToken( + '8b1dcf20-aa1f-4348-a4c0-e0df61e45b42', // CECHO-2732 + 'ofccanton:beth', + 'BitSafe Ethereum', + 10, + UnderlyingAsset['canton:beth'] + ), + ofcCantonToken( + 'e01c1955-98ae-445e-9858-765dce7a6d20', // CECHO-2732 + 'ofccanton:usty', + 'US Treasury Bill', + 10, + UnderlyingAsset['canton:usty'] + ), + ofcCantonToken( + '4f1e118b-afc3-4c32-af2a-acc81be89442', // CECHO-2732 + 'ofccanton:exau', + 'Ember Gold', + 10, + UnderlyingAsset['canton:exau'] + ), + ofcCantonToken( + '154d2cca-4970-4445-aac7-58b995ff4f9e', // CECHO-2732 + 'ofccanton:exag', + 'Ember Silver', + 10, + UnderlyingAsset['canton:exag'] + ), ofcCantonToken( '784c76fb-59c6-4826-b72e-20e996a35739', 'ofccanton:ceth', @@ -7033,6 +7078,14 @@ export const ofcCoins = [ ), ofcsolToken('7826627c-7358-47ff-ac6f-03a2e9eff95c', 'ofcsol:jlp', 'Jupiter Perps LP', 6, UnderlyingAsset['sol:jlp']), ofcsolToken('00f31d2d-6946-43f6-bde1-7fda6887750d', 'ofcsol:grass', 'Grass', 9, UnderlyingAsset['sol:grass']), + ofcsolToken( + '99924682-e24d-4e94-8479-0d34ffbe4b90', // CECHO-2732 + 'ofcsol:cash', + 'Cash', + 6, + UnderlyingAsset.CASH, + [...SOL_OFC_TOKEN_FEATURES, CoinFeature.STABLECOIN] + ), ofcBscToken('3a9daeda-7e08-494d-a47c-d2c89dd1c735', 'ofcbsc:godl', 'GODL', 18, UnderlyingAsset['bsc:godl']), ofcBscToken('93a459bc-c661-4001-be26-9175046c9a36', 'ofcbsc:gdl', 'GDL', 18, UnderlyingAsset['bsc:gdl']), ofcBscToken('9febc919-85af-48eb-9821-e9d18e4cd98e', 'ofcbsc:usgd', 'USGD', 18, UnderlyingAsset['bsc:usgd']), diff --git a/modules/statics/src/coins/ofcErc20Coins.ts b/modules/statics/src/coins/ofcErc20Coins.ts index 06a3bbae31a..cdcd9563e94 100644 --- a/modules/statics/src/coins/ofcErc20Coins.ts +++ b/modules/statics/src/coins/ofcErc20Coins.ts @@ -3358,6 +3358,13 @@ export const ofcErc20Coins = [ 18, underlyingAssetForSymbol('eth:spxux') ), + ofcerc20( + 'e8e161f1-b3d7-411e-851e-d3c987c42bc0', // CECHO-2732 + 'ofceth:stampx', + 'STAMPx', + 18, + underlyingAssetForSymbol('eth:stampx') + ), ofcerc20('830c6c0f-b601-406b-a853-3a88ff85533d', 'ofceth:aleo', 'Aleo', 3, underlyingAssetForSymbol('eth:aleo')), ofcerc20( 'c35c457f-2741-41aa-9c33-3a41f5ce6b1b', @@ -6640,6 +6647,20 @@ export const tOfcErc20Coins = [ true, 'mon' ), + ofcerc20( + 'f2cd10f8-a5eb-4fe3-b070-af7804667319', // CECHO-2732 + 'ofcmon:usdt0', + 'MON:USDT0', + 6, + underlyingAssetForSymbol('mon:usdt0'), + undefined, + [...OfcCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], + '', + undefined, + undefined, + true, + 'mon' + ), ofcerc20( 'a59c0575-4bf1-4789-8fdf-292ebc1a649c', 'ofcmon:sofid', diff --git a/modules/statics/src/coins/ofcHoodethTokens.ts b/modules/statics/src/coins/ofcHoodethTokens.ts index 6571e25ff65..b2a07f67bb6 100644 --- a/modules/statics/src/coins/ofcHoodethTokens.ts +++ b/modules/statics/src/coins/ofcHoodethTokens.ts @@ -4316,4 +4316,18 @@ export const ofcHoodethTokens = [ true, 'hoodeth' ), + ofcerc20( + 'ab7828c0-d5f8-493c-9933-da17f92b20cc', // CECHO-2732 + 'ofchoodeth:rlusd', + 'Ripple USD • Robinhood', + 18, + UnderlyingAsset['hoodeth:rlusd'], + undefined, + undefined, + '', + undefined, + undefined, + true, + 'hoodeth' + ), ]; diff --git a/modules/statics/test/unit/coins.ts b/modules/statics/test/unit/coins.ts index 7dbd053cbfa..96de296cb8d 100644 --- a/modules/statics/test/unit/coins.ts +++ b/modules/statics/test/unit/coins.ts @@ -1130,6 +1130,7 @@ describe('WTGXX Trust-only custody', () => { 'sepeth:wtgxx', 'sol:wtgxx', 'ofcwtgxx', + 'ofcxlm:SPXU-GDJBVX3QA5HJPBSAU5VIX2W6MC37NU4UFXPKEGK42SJCYN6AEQ4Z6COM', 'ofcarbeth:wtgxx', 'ofcopeth:wtgxx', 'ofcsol:wtgxx',