Skip to content

feat(statics): Onboard SPXUX (ETH, ARB, AVAXC, OP), XSGD (Testnet-HBAR) #6117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
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
10 changes: 10 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1868,6 +1868,10 @@ export enum UnderlyingAsset {
ZRX = 'zrx',
ZUSD = 'zusd',
'eth:usdg' = 'eth:usdg',
'eth:spxux' = 'eth:spxux',
'eth:aleo' = 'eth:aleo',
'eth:dbusd' = 'eth:dbusd',
'eth:aut' = 'eth:aut',
'eth:edu' = 'eth:edu',
'eth:telos' = 'eth:telos',
'eth:cusdo' = 'eth:cusdo',
Expand Down Expand Up @@ -1999,6 +2003,7 @@ export enum UnderlyingAsset {
'avaxc:xsgd' = 'avaxc:xsgd',
'avaxc:ticov2' = 'avaxc:ticov2',
'avaxc:nxpc' = 'avaxc:nxpc',
'avaxc:spxux' = 'avaxc:spxux',
'tavaxc:opm' = 'tavaxc:opm',
'tavaxc:cop2peq' = 'tavaxc:cop2peq',
'tavaxc:xsgd' = 'tavaxc:xsgd',
Expand Down Expand Up @@ -2175,6 +2180,7 @@ export enum UnderlyingAsset {
'polygon:mv' = 'polygon:mv',
'polygon:bid' = 'polygon:bid',
'polygon:tcs' = 'polygon:tcs',
'polygon:buidl' = 'polygon:buidl',
// Polygon NFTs
// generic NFTs
'erc721:polygontoken' = 'erc721:polygontoken',
Expand Down Expand Up @@ -2341,6 +2347,7 @@ export enum UnderlyingAsset {

// Arbitrum mainnet tokens
'arbeth:link' = 'arbeth:link',
'arbeth:spxux' = 'arbeth:spxux',
'arbeth:usdc' = 'arbeth:usdc',
'arbeth:xsgdv2' = 'arbeth:xsgdv2',
'arbeth:usdcv2' = 'arbeth:usdcv2',
Expand Down Expand Up @@ -2398,6 +2405,7 @@ export enum UnderlyingAsset {
'opeth:exa' = 'opeth:exa',
'opeth:wld' = 'opeth:wld',
'opeth:wct' = 'opeth:wct',
'opeth:spxux' = 'opeth:spxux',

// Optimism testnet tokens
'topeth:terc18dp' = 'topeth:terc18dp',
Expand Down Expand Up @@ -2545,6 +2553,8 @@ export enum UnderlyingAsset {
'sol:matrix' = 'sol:matrix',
'sol:eurcv' = 'sol:eurcv',
'sol:layer' = 'sol:layer',
'sol:rock' = 'sol:rock',
'sol:doodles' = 'sol:doodles',

// TRX tokens
'trx:htx' = 'trx:htx',
Expand Down
28 changes: 28 additions & 0 deletions modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,7 @@ export const coins = CoinMap.fromCoins([
'0.0.456858',
AccountCoin.DEFAULT_FEATURES
),

hederaToken(
'221fb1c9-0fb0-4b06-8dd1-ed857a804d58',
'hbar:xsgd',
Expand Down Expand Up @@ -1581,6 +1582,17 @@ export const coins = CoinMap.fromCoins([
'0.0.13078',
AccountCoin.DEFAULT_FEATURES
),
hederaToken(
'77bc438b-7206-4cb1-bee8-dc900e5915be',
'thbar:txsgd',
'Testnet Fungible Token',
Networks.test.hedera,
6,
UnderlyingAsset.USDC,
'0.0.5894751',
'0.0.5894751',
AccountCoin.DEFAULT_FEATURES
),
// End FTX missing ERC20 tokens
celoToken(
'1a9935a6-54d2-4988-97ff-d871338e29b5',
Expand Down Expand Up @@ -2342,6 +2354,14 @@ export const coins = CoinMap.fromCoins([
'0xf97f4df75117a78c1a5a0dbb814af92458539fb4',
UnderlyingAsset['arbeth:link']
),
arbethErc20(
'67c9fa5c-e9e0-4586-abe2-f2921d7a83cd',
'arbeth:spxux',
'WisdomTree 500 Digital Fund (SPXUX)',
18,
'0x4122047076a1106618e984a8776a3f7bbcb1d429',
UnderlyingAsset['arbeth:spxux']
),
arbethErc20(
'42ae1f1a-95df-40b7-a584-fe52b2cf08c6',
'arbeth:xsgdv2',
Expand Down Expand Up @@ -2771,6 +2791,14 @@ export const coins = CoinMap.fromCoins([
UnderlyingAsset['opeth:wct'],
WCT_FEATURES
),
opethErc20(
'19dc7cc3-614a-43e7-97f6-986aefbc958f',
'opeth:spxux',
'WisdomTree 500 Digital Fund (SPXUX)',
18,
'0x1a149e21bd3e74b7018db79c988b4ba3bbc1873d',
UnderlyingAsset['opeth:spxux']
),
topethErc20(
'3c06bc28-1af2-4869-a632-bd081376fb46',
'topeth:terc18dp',
Expand Down
8 changes: 8 additions & 0 deletions modules/statics/src/coins/avaxTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,14 @@ export const avaxTokens = [
UnderlyingAsset['avaxc:nxpc'],
AccountCoin.getFeaturesExcluding([CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, CoinFeature.CUSTODY_BITGO_MENA_FZE])
),
avaxErc20(
'45e27c49-3064-41b4-ae5f-d0620cfbdd9d',
'avaxc:spxux',
'WisdomTree 500 Digital Fund',
18,
'0x1a149e21bd3e74b7018db79c988b4ba3bbc1873d',
UnderlyingAsset['avaxc:spxux']
),
// End FTX missing AVAXC tokens
tavaxErc20(
'cd107316-6e78-4936-946f-70e8fd5d8040',
Expand Down
32 changes: 32 additions & 0 deletions modules/statics/src/coins/erc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10176,6 +10176,38 @@ export const erc20Coins = [
'0xe343167631d89b6ffc58b88d6b7fb0228795491d',
UnderlyingAsset['eth:usdg']
),
erc20(
'36ec9ba1-359b-4a05-addb-ada12ced8371',
'eth:spxux',
'WisdomTree 500 Digital Fund',
18,
'0x873d589f38abbcdd1fca27261aba2f1aa0661d44',
UnderlyingAsset['eth:spxux']
),
erc20(
'cd21be23-a0f4-4706-8b00-cee136e1188a',
'eth:aleo',
'Aleo',
3,
'0xa8162a07efa81602c3803772d18d1789a44fd87a',
UnderlyingAsset['eth:aleo']
),
erc20(
'4ce3341b-4811-47fd-a2d0-127e30a60d66',
'eth:dbusd',
'Deep Blue USD',
6,
'0x32bdd8b97868acf7014cfe6eb49bf4f2936c8f02',
UnderlyingAsset['eth:dbusd']
),
erc20(
'29c9cb44-00a9-4740-8de0-abf0a321b830',
'eth:aut',
'AllUnity',
6,
'0x63d0b467059a10b365aa18f441684ed154628f4e',
UnderlyingAsset['eth:aut']
),
erc20(
'6418f63b-3c9b-4880-9034-e286d3abd1ac',
'eth:edu',
Expand Down
44 changes: 44 additions & 0 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,22 @@ export const ofcCoins = [
UnderlyingAsset['sol:layer'],
SOL_OFC_TOKEN_FEATURES
),
ofcsolToken(
'da103839-dd2c-44db-bc26-40df2847304f',
'ofcsol:rock',
'Zenrock',
6,
UnderlyingAsset['sol:rock'],
SOL_TOKEN_FEATURES
),
ofcsolToken(
'78a9e2b8-40a5-4424-ae67-808248dc99cc',
'ofcsol:doodles',
'Doodles',
9,
UnderlyingAsset['sol:doodles'],
SOL_TOKEN_FEATURES
),
tofcsolToken(
'24d678cf-e0f0-4cde-a338-d754289c5b27',
'ofctsol:slnd',
Expand Down Expand Up @@ -770,6 +786,13 @@ export const ofcCoins = [
18,
UnderlyingAsset['arbeth:link']
),
ofcArbethErc20(
'7c49e631-1fbc-4e9e-aef5-fe04c5ebeb79',
'ofcarbeth:spxux',
'WisdomTree 500 Digital Fund (SPXUX)',
18,
UnderlyingAsset['arbeth:spxux']
),
ofcArbethErc20(
'0cf9baf8-eca6-47b2-82e1-6ca0ee09f760',
'ofcarbeth:xsgdv2',
Expand Down Expand Up @@ -973,8 +996,22 @@ export const ofcCoins = [
18,
UnderlyingAsset['avaxc:shrap']
),
ofcAvaxErc20(
'e348a290-b22b-40aa-b23f-91f2ffbdea24',
'ofcavaxc:spxux',
'WisdomTree 500 Digital Fund',
18,
UnderlyingAsset['avaxc:spxux']
),
ofcAvaxErc20('9fb77e47-8916-4dcb-ac10-e11fa07172fb', 'ofcavaxc:nxpc', 'NEXPACE', 18, UnderlyingAsset['avaxc:nxpc']),
ofcOpethErc20('10259b23-2e2e-4574-b146-b49f1119600f', 'ofcopeth:op', 'Optimism', 18, UnderlyingAsset['opeth:op']),
ofcOpethErc20(
'a6087e85-6c4a-40c5-83f0-3ebeabd8e39b',
'ofcopeth:spxux',
'Optimism',
6,
UnderlyingAsset['opeth:spxux']
),
ofcBscToken('a79933f5-a9d2-4a29-a948-79313a569988', 'ofcbsc:cfx', 'BSC Conflux', 18, UnderlyingAsset['bsc:cfx']),
ofcBscToken('c6f5df09-5a21-468b-89cc-f626d02d74d0', 'ofcbsc:oort', 'OORT', 18, UnderlyingAsset['bsc:oort']),
ofcBscToken(
Expand Down Expand Up @@ -1484,6 +1521,13 @@ export const ofcCoins = [
18,
UnderlyingAsset['polygon:tcs']
),
ofcPolygonErc20(
'bde9aea4-027d-48c3-95c7-e1a74bc5aa06',
'ofcpolygon:buidl',
'BlackRock USD Institutional Digital Liquidity Fund',
6,
UnderlyingAsset['polygon:buidl']
),
ofcPolygonErc20(
'82855675-ecfa-4acb-a489-8d7b826d2783',
'ofcpolygon:weth',
Expand Down
16 changes: 16 additions & 0 deletions modules/statics/src/coins/ofcErc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2975,6 +2975,22 @@ export const ofcErc20Coins = [
6,
underlyingAssetForSymbol('eth:usdg')
),
ofcerc20(
'2af4bdb7-18eb-46d5-a31a-22e297f12de9',
'ofceth:spxux',
'WisdomTree 500 Digital Fund',
18,
underlyingAssetForSymbol('eth:spxux')
),
ofcerc20('830c6c0f-b601-406b-a853-3a88ff85533d', 'ofceth:aleo', 'Aleo', 3, underlyingAssetForSymbol('eth:aleo')),
ofcerc20(
'c35c457f-2741-41aa-9c33-3a41f5ce6b1b',
'ofceth:dbusd',
'Deep Blue USD',
6,
underlyingAssetForSymbol('eth:dbusd')
),
ofcerc20('08b990d0-1f4b-4bb4-a509-456f2324c6de', 'ofceth:aut', 'All Unity', 6, underlyingAssetForSymbol('eth:aut')),
ofcerc20(
'fe2f5c57-90e4-49e0-a635-b6f1cec0c750',
'ofceth:edu',
Expand Down
9 changes: 9 additions & 0 deletions modules/statics/src/coins/polygonTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,15 @@ export const polygonTokens = [
UnderlyingAsset['polygon:uhu'],
POLYGON_TOKEN_FEATURES
),
polygonErc20(
'16e58623-b4bf-4e53-bfe8-d4bed3d3d338',
'polygon:buidl',
'BlackRock USD Institutional Digital Liquidity Fund',
6,
'0x2893ef551b6dd69f661ac00f11d93e5dc5dc0e99',
UnderlyingAsset['polygon:buidl'],
POLYGON_TOKEN_FEATURES
),
// testnet polygon tokens
tpolygonErc20(
'09ba76d0-331e-4b75-bb75-739285c3e03a',
Expand Down
21 changes: 20 additions & 1 deletion modules/statics/src/coins/solTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2588,7 +2588,26 @@ export const solTokens = [
UnderlyingAsset['sol:layer'],
SOL_TOKEN_FEATURES
),

solToken(
'7ac9fc4f-6e4d-4fdd-90b1-99a4d1c4f8ee',
'sol:rock',
'Zenrock',
6,
'5VsPJ2EG7jjo3k2LPzQVriENKKQkNUTzujEzuaj4Aisf',
'5VsPJ2EG7jjo3k2LPzQVriENKKQkNUTzujEzuaj4Aisf',
UnderlyingAsset['sol:rock'],
SOL_TOKEN_FEATURES
),
solToken(
'269e778e-f9fd-455d-a066-5eb38c32c845',
'sol:doodles',
'Doodles',
9,
'DvjbEsdca43oQcw2h3HW1CT7N3x5vRcr3QrvTUHnXvgV',
'DvjbEsdca43oQcw2h3HW1CT7N3x5vRcr3QrvTUHnXvgV',
UnderlyingAsset['sol:doodles'],
SOL_TOKEN_FEATURES
),
tsolToken(
'b98c5a7a-49c5-45f1-a6ee-b08dff596a7d',
'tsol:srm',
Expand Down
9 changes: 9 additions & 0 deletions modules/statics/src/gatekeep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1797,4 +1797,13 @@ export const gatekeep = [
'arbeth:wtgxx',
'arbeth:lngvx',
'arbeth:eqtyx',
'eth:spxux',
'eth:aleo',
'eth:dbusd',
'avaxc:spxux',
'polygon:buidl',
'arbeth:spxux',
'opeth:spxux',
'sol:rock',
'sol:doodles',
];