diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index b085ccaa27..b0fe9ddc15 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -2008,7 +2008,7 @@ export const allCoinsAndTokens = [ 6, UnderlyingAsset.USDC, '0.0.456858', - AccountCoin.DEFAULT_FEATURES + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), hederaToken( @@ -2139,7 +2139,7 @@ export const allCoinsAndTokens = [ 6, UnderlyingAsset.USDC, '0.0.429274', - AccountCoin.DEFAULT_FEATURES + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), hederaToken( '77bc438b-7206-4cb1-bee8-dc900e5915be', @@ -2230,7 +2230,7 @@ export const allCoinsAndTokens = [ 7, UnderlyingAsset['xlm:USD-GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX'], 'anchorusd.com', - AccountCoin.DEFAULT_FEATURES, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], '', 'USD' ), @@ -2263,7 +2263,7 @@ export const allCoinsAndTokens = [ 7, UnderlyingAsset['xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN'], 'centre.io', - XLM_TOKEN_FEATURES_WITH_FRANKFURT, + [...XLM_TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN], '', 'USDC' ), @@ -2340,7 +2340,7 @@ export const allCoinsAndTokens = [ 7, UnderlyingAsset['xlm:ZUSD-GDF6VOEGRWLOZ64PQQGKD2IYWA22RLT37GJKS2EJXZHT2VLAGWLC5TOB'], 'stablecoin.z.com', - XLM_TOKEN_FEATURES_WITH_FRANKFURT, + [...XLM_TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN], '', 'ZUSD' ), @@ -2448,7 +2448,8 @@ export const allCoinsAndTokens = [ 'USD Coin', 6, 'TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8', - UnderlyingAsset.USDC + UnderlyingAsset.USDC, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tronToken( 'f96fda99-cf5a-4ac4-885e-fa95292a7135', @@ -2456,7 +2457,8 @@ export const allCoinsAndTokens = [ 'Tether USD', 6, 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t', - UnderlyingAsset['trx:usdt'] + UnderlyingAsset['trx:usdt'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tronToken( '77fe25dc-7871-4d9d-9cc0-2e5cba6250ff', @@ -2488,7 +2490,8 @@ export const allCoinsAndTokens = [ 'TrueUSD', 18, 'TUpMhErZL2fhh4sVNULAbNKLokS4GjC1F4', - UnderlyingAsset['trx:tusd'] + UnderlyingAsset['trx:tusd'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tronToken( '71084f91-30f3-4907-bbb0-ce26ea8584d5', @@ -2512,7 +2515,8 @@ export const allCoinsAndTokens = [ 'USDD', 18, 'TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn', - UnderlyingAsset['trx:usdd'] + UnderlyingAsset['trx:usdd'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tronToken( '6d37a333-c09b-44b8-bd2b-f07f12b838cd', @@ -2520,7 +2524,8 @@ export const allCoinsAndTokens = [ 'USD1', 18, 'TPFqcBAaaUMCSVRCqPaQ9QnzKhmuoLR6Rc', - UnderlyingAsset['trx:usd1'] + UnderlyingAsset['trx:usd1'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tronToken( '35b44b0f-272c-4e13-8056-3bbab3fd609e', @@ -2537,7 +2542,7 @@ export const allCoinsAndTokens = [ 'USDC', 6, UnderlyingAsset['algo:USDC-31566704'], - AccountCoin.DEFAULT_FEATURES, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], '', 'USDC' ), @@ -2548,7 +2553,7 @@ export const allCoinsAndTokens = [ 'Algorand USDT', 6, UnderlyingAsset['algo:USDt-312769'], - AccountCoin.DEFAULT_FEATURES, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], '', 'USDt' ), @@ -2737,7 +2742,8 @@ export const allCoinsAndTokens = [ 'USD Coin', 6, 'TSdZwNqpHofzP6BsBKGQUWdBeJphLmF6id', - UnderlyingAsset.USDC + UnderlyingAsset.USDC, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), ttronToken( '85a60a5a-88e3-45df-9e2c-dc6161b4c6b1', @@ -2745,7 +2751,8 @@ export const allCoinsAndTokens = [ 'Tether USD', 6, 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs', - UnderlyingAsset['ttrx:usdt'] + UnderlyingAsset['ttrx:usdt'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), ttronToken( '78551a7f-17d1-4e81-b6a9-3c6e960337f4', @@ -2753,7 +2760,8 @@ export const allCoinsAndTokens = [ 'Test USD1 Token', 18, 'TMsuh7QxbJkYaLsGMGCgNJYtYjTZLJG3Np', - UnderlyingAsset['ttrx:usd1'] + UnderlyingAsset['ttrx:usd1'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), ttronToken( '4853b203-e475-4538-bcba-f69da0e45d4b', @@ -2761,7 +2769,8 @@ export const allCoinsAndTokens = [ 'Test USD1 Token', 18, 'TPEwuCefwvzBcr9BHvg2xhJCaf499uGMZx', - UnderlyingAsset['ttrx:stgusd1'] + UnderlyingAsset['ttrx:stgusd1'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), talgoToken( '0e20b757-3e62-4400-887d-caff117481c8', @@ -2770,7 +2779,7 @@ export const allCoinsAndTokens = [ 'USDC', 6, UnderlyingAsset['talgo:USDC-10458941'], - AccountCoin.DEFAULT_FEATURES, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], '', 'USDC' ), @@ -2781,7 +2790,7 @@ export const allCoinsAndTokens = [ 'Testnet Algorand USDT', 6, UnderlyingAsset['talgo:USDt-180447'], - AccountCoin.DEFAULT_FEATURES, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], '', 'USDt' ), @@ -2873,7 +2882,7 @@ export const allCoinsAndTokens = [ 'tethertether', 'tethertether', UnderlyingAsset.USDT, - AccountCoin.DEFAULT_FEATURES, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], '', 'USDT' ), @@ -2934,7 +2943,7 @@ export const allCoinsAndTokens = [ 'lionteste212', 'lionteste212', UnderlyingAsset.USDT, - AccountCoin.DEFAULT_FEATURES, + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN], '', 'USDT' ), @@ -3110,7 +3119,8 @@ export const allCoinsAndTokens = [ 'USD Coin', 6, '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8', - UnderlyingAsset['arbeth:usdc'] + UnderlyingAsset['arbeth:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), arbethErc20( '8deaaaf0-f81f-4697-bba6-77f4cfcd4efc', @@ -3119,7 +3129,7 @@ export const allCoinsAndTokens = [ 6, '0xaf88d065e77c8cc2239327c5edb3a432268e5831', UnderlyingAsset['arbeth:usdcv2'], - TOKEN_FEATURES_WITH_FRANKFURT + [...TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN] ), arbethErc20( 'a49b04e6-5a1b-4d55-9187-4d41c41f8f1e', @@ -3127,7 +3137,8 @@ export const allCoinsAndTokens = [ 'Tether USD', 6, '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9', - UnderlyingAsset['arbeth:usdt'] + UnderlyingAsset['arbeth:usdt'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), arbethErc20( '7dfbdd2b-efd6-45ab-90bd-9c3bc16d1397', @@ -3232,7 +3243,8 @@ export const allCoinsAndTokens = [ 'TrueUSD', 18, '0x4d15a3a2286d883af0aa1b3f21367843fac63e07', - UnderlyingAsset['arbeth:tusd'] + UnderlyingAsset['arbeth:tusd'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), arbethErc20( 'eb721759-6da6-46c3-b0d2-a7e9d939c527', @@ -3516,7 +3528,8 @@ export const allCoinsAndTokens = [ 'USD Coin', 6, '0x7f5c764cbc14f9669b88837ca1490cca17c31607', - UnderlyingAsset['opeth:usdc'] + UnderlyingAsset['opeth:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), opethErc20( '00abc58e-c1fb-4b9b-8b9a-d609071bb7be', @@ -3524,7 +3537,8 @@ export const allCoinsAndTokens = [ 'USD Coin (native)', 6, '0x0b2c639c533813f4aa9d7837caf62653d097ff85', - UnderlyingAsset['opeth:usdcv2'] + UnderlyingAsset['opeth:usdcv2'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), opethErc20( '634d052e-8c1c-47ed-aded-d0a2399439b0', @@ -3532,7 +3546,8 @@ export const allCoinsAndTokens = [ 'Tether USD', 6, '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58', - UnderlyingAsset['opeth:usdt'] + UnderlyingAsset['opeth:usdt'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), opethErc20( '949c4e1f-83b8-4ca0-a6dc-72817a8a86e7', @@ -3749,7 +3764,8 @@ export const allCoinsAndTokens = [ 18, // TODO: the mainnet contract address is still not available, adding placeholder here, WIN-3597 '0xbda130737bdd9618301681329bf2e46a016ff9a0', - UnderlyingAsset['bera:usdc'] + UnderlyingAsset['bera:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), beraErc20( 'd7b6efe9-4ce2-4f23-9a31-adba41900716', @@ -3790,7 +3806,8 @@ export const allCoinsAndTokens = [ 'Bera Testnet USDC', 18, '0xd6d83af58a19cd14ef3cf6fe848c9a4d21e5727c', - UnderlyingAsset['tbera:usdc'] + UnderlyingAsset['tbera:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tberaErc20( 'f46242ce-dd4a-44c9-8b52-ef6dfaae1d79', @@ -3838,7 +3855,8 @@ export const allCoinsAndTokens = [ 'USDC', 6, '0x79a02482a880bce3f13e09da970dc34db4cd24d1', - UnderlyingAsset['world:usdc'] + UnderlyingAsset['world:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tworldErc20( 'c5acdc9b-d0d4-4e0c-88fe-2cc68504cf86', @@ -3854,7 +3872,8 @@ export const allCoinsAndTokens = [ 'USDC', 6, '0x66145f38cbac35ca6f1dfb4914df98f1614aea88', - UnderlyingAsset['tworld:usdc'] + UnderlyingAsset['tworld:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), txrpToken( '8ef16158-1015-4a67-b6fe-db669c18ab2b', @@ -3876,7 +3895,8 @@ export const allCoinsAndTokens = [ '524C555344000000000000000000000000000000', 'rQhWct2fv4Vc4KRjRgMrxa8xPN9Zx9iLKV::524C555344000000000000000000000000000000', 'ripple.com', - UnderlyingAsset['txrp:rlusd'] + UnderlyingAsset['txrp:rlusd'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), xrpToken( 'a5e3e409-4cde-443d-9000-22bfc99ad456', @@ -3887,7 +3907,8 @@ export const allCoinsAndTokens = [ '524C555344000000000000000000000000000000', 'rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De::524C555344000000000000000000000000000000', 'ripple.com', - UnderlyingAsset['xrp:rlusd'] + UnderlyingAsset['xrp:rlusd'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), xrpToken( 'd6d5ff31-c539-4ea7-ae62-a6d986190234', @@ -4034,7 +4055,7 @@ export const allCoinsAndTokens = [ 'FDUSD', '0xf16e6b723f242ec745dfd7634ad072c42d5c1d9ac9d62a39c381303eaa57693a::fdusd::FDUSD', UnderlyingAsset['sui:fdusd'], - SUI_TOKEN_FEATURES + [...SUI_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), suiToken( 'e78941b5-9c34-4198-9c2c-cb9e27d4dde7', @@ -4046,7 +4067,7 @@ export const allCoinsAndTokens = [ 'USDC', '0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC', UnderlyingAsset['sui:usdc'], - SUI_TOKEN_FEATURES + [...SUI_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), suiToken( 'b3729af5-033b-495f-bab6-b5225c8f27e7', @@ -4058,7 +4079,7 @@ export const allCoinsAndTokens = [ 'COIN', '0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN', UnderlyingAsset['sui:wusdc'], - SUI_TOKEN_FEATURES + [...SUI_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), suiToken( '97617c48-004c-4222-9eff-d77d10ce8443', @@ -4281,7 +4302,7 @@ export const allCoinsAndTokens = [ 6, '0x357b0b74bc833e95a115ad22604854d6b0fca151cecd94111770e5d6ffc9dc2b', UnderlyingAsset['apt:usdt'], - APT_FEATURES + [...APT_FEATURES, CoinFeature.STABLECOIN] ), aptToken( 'bf82aa75-88a8-4010-91cf-b8811cf4b763', @@ -4290,7 +4311,7 @@ export const allCoinsAndTokens = [ 6, '0xbae207659db88bea0cbead6da0ed00aac12edcdda169e591cd41c94180b46f3b', UnderlyingAsset['apt:usdc'], - APT_FEATURES + [...APT_FEATURES, CoinFeature.STABLECOIN] ), aptToken( '3d29adfb-7df5-4295-a3c2-acdf3f23adc2', @@ -4326,7 +4347,7 @@ export const allCoinsAndTokens = [ 6, '0xd5d0d561493ea2b9410f67da804653ae44e793c2423707d4f11edb2e38192050', UnderlyingAsset['tapt:usdt'], - APT_FEATURES + [...APT_FEATURES, CoinFeature.STABLECOIN] ), aptNFTCollection( '3672e359-d96d-46fc-9a37-9c87c1d52a86', diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 15022aa276..a9a2bffc05 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -468,6 +468,11 @@ export enum CoinFeature { * This coin is an EVM compatible coin and should use common EVM message signing functionality */ SHARED_EVM_MESSAGE_SIGNING = 'shared-evm-message-signing', + + /** + * This token is a stablecoin + */ + STABLECOIN = 'stablecoin', } /** diff --git a/modules/statics/src/coins/avaxTokens.ts b/modules/statics/src/coins/avaxTokens.ts index 6ab29ff5ea..79f57cbb4b 100644 --- a/modules/statics/src/coins/avaxTokens.ts +++ b/modules/statics/src/coins/avaxTokens.ts @@ -86,7 +86,8 @@ export const avaxTokens = [ 'Tether USD', 6, '0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7', - UnderlyingAsset['avaxc:usdt'] + UnderlyingAsset['avaxc:usdt'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( '185c4019-56fa-4911-adc8-6811563431ed', @@ -94,7 +95,8 @@ export const avaxTokens = [ 'USD Coin', 6, '0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e', - UnderlyingAsset['avaxc:usdc'] + UnderlyingAsset['avaxc:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( '7c0a3d09-82b4-4da0-9bc2-32c6de527b11', @@ -102,7 +104,8 @@ export const avaxTokens = [ 'USD Coin', 6, '0xa7d7079b0fead91f3e65f86e8915cb59c1a4c664', - UnderlyingAsset['avaxc:usdc'] + UnderlyingAsset['avaxc:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( 'd9a021b1-a94a-495c-84c3-061d97c98748', @@ -110,7 +113,8 @@ export const avaxTokens = [ 'Dai Stablecoin', 18, '0xd586e7f844cea2f87f50152665bcbc2c279d8d70', - UnderlyingAsset['avaxc:dai'] + UnderlyingAsset['avaxc:dai'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( 'e6f2a1fd-4cb9-4eae-9278-434b334bdc09', @@ -118,7 +122,8 @@ export const avaxTokens = [ 'Tether USD', 6, '0xc7198437980c041c805a1edcba50c1ce5db95118', - UnderlyingAsset['avaxc:usdt'] + UnderlyingAsset['avaxc:usdt'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( '4a58ecf3-c505-4735-bf38-ce5f6e11fda6', @@ -166,7 +171,8 @@ export const avaxTokens = [ 'USD Coin (Wormhole)', 6, '0x543672e9cbec728cbba9c3ccd99ed80ac3607fa8', - UnderlyingAsset['avaxc:usdc'] + UnderlyingAsset['avaxc:usdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( '6e92ac8e-a2c8-49f3-8096-b630516bec5d', @@ -199,7 +205,8 @@ export const avaxTokens = [ 'YUSD Stablecoin', 18, '0x111111111111ed1d73f860f57b2798b683f2d325', - UnderlyingAsset['avaxc:yusd'] + UnderlyingAsset['avaxc:yusd'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( '005cae58-7917-4288-bf24-60752d193dbc', @@ -255,7 +262,8 @@ export const avaxTokens = [ 'Aave Avalanche USDC', 6, '0x625e7708f30ca75bfd92586e17077590c60eb4cd', - UnderlyingAsset['avaxc:aavausdc'] + UnderlyingAsset['avaxc:aavausdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( 'c6fd3419-164b-46a5-be0b-50f28f8c2c81', @@ -263,7 +271,8 @@ export const avaxTokens = [ 'TrueUSD', 18, '0x1c20e891bab6b1727d14da358fae2984ed9b59eb', - UnderlyingAsset['avaxc:tusd'] + UnderlyingAsset['avaxc:tusd'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( '4b2f8744-bbcd-4b18-ae84-52ef0647d09c', @@ -349,7 +358,8 @@ export const avaxTokens = [ 'Aave Avalanche USDT', 18, '0x6ab707aca953edaefbc4fd23ba73294241490620', - UnderlyingAsset['avaxc:aavausdt'] + UnderlyingAsset['avaxc:aavausdt'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( 'ffec10f0-09c7-4068-a623-b95d95eb6058', @@ -381,7 +391,8 @@ export const avaxTokens = [ 'Axelar Wrapped USDC', 6, '0xfab550568c688d5d8a52c7d794cb93edc26ec0ec', - UnderlyingAsset['avaxc:axlusdc'] + UnderlyingAsset['avaxc:axlusdc'], + [...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), avaxErc20( '5b2f8e28-bc54-432f-88a4-6de845624cc5', diff --git a/modules/statics/src/coins/bscTokens.ts b/modules/statics/src/coins/bscTokens.ts index 95c255aeb0..37e7e3636a 100644 --- a/modules/statics/src/coins/bscTokens.ts +++ b/modules/statics/src/coins/bscTokens.ts @@ -91,7 +91,7 @@ export const bscTokens = [ 18, '0xe9e7cea3dedca5984780bafc599bd69add087d56', UnderlyingAsset['bsc:busd'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), bscToken( 'b7128172-6f82-41ec-8557-522905e8f82a', @@ -109,7 +109,7 @@ export const bscTokens = [ 18, '0x55d398326f99059ff775485246999027b3197955', UnderlyingAsset['bsc:usdt'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), bscToken( '95296300-6d0b-4011-9028-53f54750d4b6', @@ -175,7 +175,7 @@ export const bscTokens = [ 18, '0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d', UnderlyingAsset['bsc:usdc'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), bscToken( 'ce33169c-7706-4f6b-9cbd-cd00ec785e7d', @@ -715,7 +715,7 @@ export const bscTokens = [ 18, '0x40af3827f39d0eacbf4a168f8d4ee67c121d11c9', UnderlyingAsset['bsc:tusd'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), bscToken( '75d857f8-577a-4daa-becc-32be8c2f9366', @@ -1042,7 +1042,7 @@ export const bscTokens = [ 18, '0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d', UnderlyingAsset['bsc:usd1'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), bscToken( '290801fc-fc48-4b5d-b5e7-abbc2101de13', @@ -1063,10 +1063,13 @@ export const bscTokens = [ 18, '0xc5f0f7b66764f6ec8c8dff7ba683102295e16409', UnderlyingAsset['bsc:fdusd'], - AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], - BSC_TOKEN_FEATURES - ) + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + BSC_TOKEN_FEATURES + ), + CoinFeature.STABLECOIN, + ] ), bscToken( '99f9276a-b2b7-471f-8e70-979559acd932', @@ -1111,7 +1114,7 @@ export const bscTokens = [ 18, '0xd17479997f34dd9156deef8f95a52d81d265be9c', UnderlyingAsset['bsc:usdd'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), bscToken( '74124b64-e619-4d4b-8e56-efcc3bdbf950', @@ -1315,7 +1318,7 @@ export const bscTokens = [ 18, '0xed24fc36d5ee211ea25a80239fb8c4cfd80f12ee', UnderlyingAsset['tbsc:busd'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tbscToken( 'bfd0daec-f849-4b96-bdb6-6373bffeb9b6', @@ -1324,7 +1327,7 @@ export const bscTokens = [ 18, '0xb0652e70b4ad023d5be50a4427bfa556cf8cbb5e', UnderlyingAsset['tbsc:usd1'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tbscToken( 'ab09153f-088e-413a-af9f-ea53dc99f747', @@ -1333,6 +1336,6 @@ export const bscTokens = [ 18, '0xcad6876355c024b388de9a8c3b8172e7f86748ba', UnderlyingAsset['tbsc:stgusd1'], - BSC_TOKEN_FEATURES + [...BSC_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), ]; diff --git a/modules/statics/src/coins/erc20Coins.ts b/modules/statics/src/coins/erc20Coins.ts index 045330e910..bcb2f34196 100644 --- a/modules/statics/src/coins/erc20Coins.ts +++ b/modules/statics/src/coins/erc20Coins.ts @@ -2,6 +2,7 @@ import { CoinFeature, UnderlyingAsset } from '../base'; import { AccountCoin, erc20, terc20 } from '../account'; import { Networks } from '../networks'; import { + ACCOUNT_COIN_DEFAULT_FEATURES, EIGEN_FEATURES, ETH_FEATURES, ETH_FEATURES_WITH_FRANKFURT, @@ -1200,7 +1201,8 @@ export const erc20Coins = [ 'Binance USD', 18, '0x4fabb145d64652a948d72533023f6e7a623c7c53', - UnderlyingAsset.BUSD + UnderlyingAsset.BUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '21ea5ea7-8660-4e68-aa17-1c9bed6f623d', @@ -2547,10 +2549,13 @@ export const erc20Coins = [ 18, '0xc5f0f7b66764f6ec8c8dff7ba683102295e16409', UnderlyingAsset.FDUSD, - AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], - ETH_FEATURES - ) + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + ETH_FEATURES + ), + CoinFeature.STABLECOIN, + ] ), erc20( '1bae0040-6e3c-4da5-bd27-a8a4818fd8c7', @@ -2849,7 +2854,8 @@ export const erc20Coins = [ 'goUSD', 6, '0xf1f6b8cc3a0d544a40f1d29909396378370e6938', - UnderlyingAsset['eth:gousd'] + UnderlyingAsset['eth:gousd'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '3628927c-05c7-4fba-9fc3-f3c17e261334', @@ -2988,7 +2994,8 @@ export const erc20Coins = [ 'Gemini Dollar', 2, '0x056fd409e1d7a124bd7017459dfea2f387b6d5cd', - UnderlyingAsset.GUSD + UnderlyingAsset.GUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '9c6ddd7f-3e3d-4a99-924a-9e522dabf27c', @@ -3147,10 +3154,13 @@ export const erc20Coins = [ 8, '0xdf574c24545e5ffecb9a659c229253d4111d87e1', UnderlyingAsset.HUSD, - AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], - ETH_FEATURES - ) + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + ETH_FEATURES + ), + CoinFeature.STABLECOIN, + ] ), erc20( '6a41551c-ec90-4522-b26a-b7674a0e467e', @@ -4107,7 +4117,8 @@ export const erc20Coins = [ 'mStable USD', 18, '0xe2f2a5c287993345a840db3b0845fbc70f5935a5', - UnderlyingAsset.MUSD + UnderlyingAsset.MUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '3018d8a9-cd00-433b-ba52-56933bcf0171', @@ -4855,7 +4866,8 @@ export const erc20Coins = [ 'PegUSD Token', 8, '0x93d3296cac208422bf587c3597d116e809870f2b', - UnderlyingAsset.PUSD + UnderlyingAsset.PUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'dfe5dacc-73b2-482d-a402-9aec770e4808', @@ -4896,7 +4908,7 @@ export const erc20Coins = [ 6, '0x6c3ea9036406852006290770bedfcaba0e23a0e8', UnderlyingAsset.PYUSD, - ETH_FEATURES_WITH_FRANKFURT + [...ETH_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN] ), erc20( '62a385af-296f-44e7-b4f0-7a25a1e990dc', @@ -5219,7 +5231,8 @@ export const erc20Coins = [ 'Ripple USD', 18, '0x8292bb45bf1ee4d140127049757c2e0ff06317ed', - UnderlyingAsset.RLUSD + UnderlyingAsset.RLUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '65e2f11f-77af-4c2e-9ecb-43962793adfc', @@ -6105,7 +6118,8 @@ export const erc20Coins = [ 'TrueUSD', 18, '0x0000000000085d4780b73119b644ae5ecd22b376', - UnderlyingAsset.TUSD + UnderlyingAsset.TUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'd1aae34f-d448-449c-91c3-fbfd9983eabf', @@ -6228,10 +6242,13 @@ export const erc20Coins = [ 2, '0x86367c0e517622dacdab379f2de389c3c9524345', UnderlyingAsset.UPUSD, - AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], - ETH_FEATURES - ) + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + ETH_FEATURES + ), + CoinFeature.STABLECOIN, + ] ), erc20( 'a3e31214-0c47-4329-a56c-c7539b0d7906', @@ -6256,7 +6273,12 @@ export const erc20Coins = [ 6, '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', UnderlyingAsset.USDC, - [...TOKEN_FEATURES_WITH_SWISS, CoinFeature.CUSTODY_BITGO_NEW_YORK, CoinFeature.CUSTODY_BITGO_FRANKFURT] + [ + ...TOKEN_FEATURES_WITH_SWISS, + CoinFeature.CUSTODY_BITGO_NEW_YORK, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + CoinFeature.STABLECOIN, + ] ), erc20( 'd2b0daf7-c664-4e97-a9b3-48c2fe4e6b30', @@ -6264,7 +6286,8 @@ export const erc20Coins = [ 'USDD', 18, '0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6', - UnderlyingAsset.USDD + UnderlyingAsset.USDD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '7ab504b3-eecc-45ca-8f33-7957cb9e774d', @@ -6272,7 +6295,8 @@ export const erc20Coins = [ 'USDe', 18, '0x4c9edd5852cd905f086c759e8383e09bff1e68b3', - UnderlyingAsset.USDE + UnderlyingAsset.USDE, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'e1d609f1-eb3f-4b3f-8ef6-87f434a6de83', @@ -6281,7 +6305,7 @@ export const erc20Coins = [ 6, '0xdac17f958d2ee523a2206206994597c13d831ec7', UnderlyingAsset.USDT, - [...TOKEN_FEATURES_WITH_SWISS, CoinFeature.CUSTODY_BITGO_FRANKFURT] + [...TOKEN_FEATURES_WITH_SWISS, CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.STABLECOIN] ), erc20( '7eab6610-5fa7-4a92-8317-c4d143cd58c0', @@ -6289,7 +6313,8 @@ export const erc20Coins = [ 'eToro United States Dollar', 18, '0x4e3856c37b2fe7ff2fe34510cda82a1dffd63cd0', - UnderlyingAsset.USDX + UnderlyingAsset.USDX, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '28a848d3-0490-4fd6-a1e8-4d1b5dc10966', @@ -6298,15 +6323,18 @@ export const erc20Coins = [ 18, '0x96f6ef951840721adbf46ac996b59e0235cb985c', UnderlyingAsset.USDY, - AccountCoin.getFeaturesByTypeExcluding( - [ - CoinFeature.CUSTODY_BITGO_SINGAPORE, - CoinFeature.CUSTODY_BITGO_GERMANY, - CoinFeature.CUSTODY_BITGO_EUROPE_APS, - CoinFeature.CUSTODY_BITGO_FRANKFURT, - ], - ETH_FEATURES - ) + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [ + CoinFeature.CUSTODY_BITGO_SINGAPORE, + CoinFeature.CUSTODY_BITGO_GERMANY, + CoinFeature.CUSTODY_BITGO_EUROPE_APS, + CoinFeature.CUSTODY_BITGO_FRANKFURT, + ], + ETH_FEATURES + ), + CoinFeature.STABLECOIN, + ] ), erc20( 'fd8d8929-ebd3-4d12-81bf-5b8183206741', @@ -6331,10 +6359,13 @@ export const erc20Coins = [ 18, '0xa47c8bf37f92abed4a126bda807a7b7498661acd', UnderlyingAsset.UST, - AccountCoin.getFeaturesByTypeExcluding( - [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], - ETH_FEATURES - ) + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_EUROPE_APS, CoinFeature.CUSTODY_BITGO_FRANKFURT], + ETH_FEATURES + ), + CoinFeature.STABLECOIN, + ] ), erc20( 'dee69d23-5898-45e4-89e7-ea90e02856e0', @@ -6359,7 +6390,8 @@ export const erc20Coins = [ 'USD Stable Token', 18, '0xe72f4c4ff9d294fc34829947e4371da306f90465', - UnderlyingAsset.USX + UnderlyingAsset.USX, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '4fa85b68-95e3-4c92-a921-fe86d3bdc4c0', @@ -7082,7 +7114,8 @@ export const erc20Coins = [ 'Z.com Usd', 6, '0xc56c2b7e71b54d38aab6d52e94a04cbfa8f604fa', - UnderlyingAsset.ZUSD + UnderlyingAsset.ZUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '2795af7b-6e14-46af-85e6-8f794f15b6a3', @@ -7570,7 +7603,8 @@ export const erc20Coins = [ 'XUSD', 6, '0xc08e7e23c235073c6807c2efe7021304cb7c2815', - UnderlyingAsset.XUSD + UnderlyingAsset.XUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '42010c6a-380b-4b11-983d-4b736172340d', @@ -8104,7 +8138,8 @@ export const erc20Coins = [ 'AUSD₮', 6, '0x9eead9ce15383caeed975427340b3a369410cfbf', - UnderlyingAsset.AUSD + UnderlyingAsset.AUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'e26974ca-1494-4c13-8b8d-ce155d246253', @@ -8624,7 +8659,8 @@ export const erc20Coins = [ 'DefiDollar', 18, '0x5bc25f649fc4e26069ddf4cf4010f9f706c23831', - UnderlyingAsset.DUSD + UnderlyingAsset.DUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '51750f69-0e78-4954-996c-bd9da846f759', @@ -9624,7 +9660,8 @@ export const erc20Coins = [ 'OpenSea', 18, '0x2a8e1e676ec238d8a992307b495b45b3feaa5e86', - UnderlyingAsset.OUSD + UnderlyingAsset.OUSD, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '980dfde9-6849-43aa-8e49-d4fd527e622c', @@ -10260,7 +10297,8 @@ export const erc20Coins = [ 'Glo Dollar', 18, '0x4f604735c1cf31399c6e711d5962b2b3e0225ad3', - UnderlyingAsset.USDGLO + UnderlyingAsset.USDGLO, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'b775f7f9-268f-457a-8476-bc64d832425a', @@ -10268,7 +10306,8 @@ export const erc20Coins = [ 'USDK', 18, '0x1c48f86ae57291f7686349f12601910bd8d470bb', - UnderlyingAsset.USDK + UnderlyingAsset.USDK, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '29a77428-7ddf-4dce-8845-2296cb1fc305', @@ -10565,7 +10604,8 @@ export const erc20Coins = [ 'Global Dollar', 6, '0xe343167631d89b6ffc58b88d6b7fb0228795491d', - UnderlyingAsset['eth:usdg'] + UnderlyingAsset['eth:usdg'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '36ec9ba1-359b-4a05-addb-ada12ced8371', @@ -10589,7 +10629,8 @@ export const erc20Coins = [ 'Deep Blue USD', 6, '0x32bdd8b97868acf7014cfe6eb49bf4f2936c8f02', - UnderlyingAsset['eth:dbusd'] + UnderlyingAsset['eth:dbusd'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '6418f63b-3c9b-4880-9034-e286d3abd1ac', @@ -10674,7 +10715,8 @@ export const erc20Coins = [ 'USD1', 18, '0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d', - UnderlyingAsset['eth:usd1'] + UnderlyingAsset['eth:usd1'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'e811d594-de4f-48b0-9b6b-47e8b4ba7dda', @@ -10846,14 +10888,17 @@ export const erc20Coins = [ 18, '0xfa2b947eec368f42195f24f36d2af29f7c24cec2', UnderlyingAsset['eth:usdf'], - AccountCoin.getFeaturesByTypeExcluding( - [ - CoinFeature.CUSTODY_BITGO_SINGAPORE, - CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, - CoinFeature.CUSTODY_BITGO_MENA_FZE, - ], - ETH_FEATURES - ) + [ + ...AccountCoin.getFeaturesByTypeExcluding( + [ + CoinFeature.CUSTODY_BITGO_SINGAPORE, + CoinFeature.CUSTODY_BITGO_CUSTODY_MENA_FZE, + CoinFeature.CUSTODY_BITGO_MENA_FZE, + ], + ETH_FEATURES + ), + CoinFeature.STABLECOIN, + ] ), erc20( 'f3ae12cd-6181-46af-9444-6acd605f123e', @@ -10861,7 +10906,8 @@ export const erc20Coins = [ 'Agora Dollar', 6, '0x00000000efe302beaa2b3e6e1b18d08d69a9012a', - UnderlyingAsset['eth:ausd'] + UnderlyingAsset['eth:ausd'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'cc2e9fd4-f2a7-4501-837d-9d0912001ed1', @@ -10877,7 +10923,8 @@ export const erc20Coins = [ 'USDS Stablecoin', 18, '0xdc035d45d973e3ec169d2276ddab16f1e407384f', - UnderlyingAsset['eth:usds'] + UnderlyingAsset['eth:usds'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'dfe67820-c659-4dfb-b699-26795d0ec543', @@ -11088,7 +11135,8 @@ export const erc20Coins = [ 'USD CoinVertible', 18, '0x5422374b27757da72d5265cc745ea906e0446634', - UnderlyingAsset['eth:usdcv'] + UnderlyingAsset['eth:usdcv'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '12fdbdb5-1e93-4a70-b651-8017959e12da', @@ -11128,7 +11176,8 @@ export const erc20Coins = [ 'Decentralized USD', 18, '0x3d7975eccfc61a2102b08925cbba0a4d4dbb6555', - UnderlyingAsset['eth:usdd'] + UnderlyingAsset['eth:usdd'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( '46761c18-9a0d-4482-9abe-83415b79572f', @@ -11152,7 +11201,8 @@ export const erc20Coins = [ 'Usual USD', 18, '0x73a15fed60bf67631dc6cd7bc5b6e8da8190acf5', - UnderlyingAsset['eth:usd0'] + UnderlyingAsset['eth:usd0'], + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), erc20( 'b23d4371-84a8-4780-bb51-f41813e8cda0', @@ -11529,7 +11579,7 @@ export const erc20Coins = [ 18, '0x64d081854fad45e64db52cd28ba78ae1ecfee59b', UnderlyingAsset.GUSDT, - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.goerli @@ -11933,7 +11983,7 @@ export const erc20Coins = [ 6, '0x399ae63d3fd23da82109fc8b632c19a1810f657e', UnderlyingAsset.TUSDS, - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.holesky @@ -11945,7 +11995,7 @@ export const erc20Coins = [ 6, '0x32275b636171ba98fec28e86ed5f0289bd42aeb9', UnderlyingAsset.TGOUSD, - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.hoodi @@ -11957,7 +12007,7 @@ export const erc20Coins = [ 18, '0xe4cf91a5bf7cc3d75ac85639e591e51d34948954', UnderlyingAsset['hteth:stgusd1'], - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.hoodi @@ -11981,7 +12031,7 @@ export const erc20Coins = [ 6, '0xd94dd81066271d0930e53cfd77f374e64ba306e9', UnderlyingAsset['hteth:gousd'], - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.hoodi @@ -11993,7 +12043,7 @@ export const erc20Coins = [ 18, '0xed9e025fc3fd4ab704378ff5486b596f00dbef1b', UnderlyingAsset['hteth:usd1'], - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.hoodi @@ -12029,7 +12079,7 @@ export const erc20Coins = [ 6, '0x37557a96ea4415af2d96a6f896fa8281a22802ce', UnderlyingAsset.TXUSD, - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.hoodi @@ -12380,7 +12430,8 @@ export const erc20Coins = [ 'Goerli USDC', 6, '0x07865c6e87b9f70255377e024ace6630c1eaa37f', - UnderlyingAsset.TUSDC + UnderlyingAsset.TUSDC, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), terc20( '891e4428-82b1-4970-8bad-a2cece698066', @@ -12388,7 +12439,8 @@ export const erc20Coins = [ 'Goerli USDT', 6, '0xc2c527c0cacf457746bd31b2a698fe89de2b6d49', - UnderlyingAsset.TUSDT + UnderlyingAsset.TUSDT, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), terc20( '6b43e702-d0ba-44c8-af93-c10cd9c2e730', @@ -12397,7 +12449,7 @@ export const erc20Coins = [ 18, '0xe101fb315a64cda9944e570a7bffafe60b994b1d', UnderlyingAsset.RLUSD, - undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN], undefined, undefined, Networks.test.holesky diff --git a/modules/statics/src/coins/nep141Tokens.ts b/modules/statics/src/coins/nep141Tokens.ts index daf40ab099..cbbabd1e74 100644 --- a/modules/statics/src/coins/nep141Tokens.ts +++ b/modules/statics/src/coins/nep141Tokens.ts @@ -1,5 +1,5 @@ import { nep141Token, tnep141Token } from '../account'; -import { UnderlyingAsset } from '../base'; +import { CoinFeature, UnderlyingAsset } from '../base'; import { NEAR_TOKEN_FEATURES } from '../coinFeatures'; export const nep141Tokens = [ @@ -11,7 +11,7 @@ export const nep141Tokens = [ '17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1', '1250000000000000000000', UnderlyingAsset['near:usdc'], - NEAR_TOKEN_FEATURES + [...NEAR_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), nep141Token( 'fc9db945-ffae-40df-8fb8-de27fa3d3132', @@ -21,7 +21,7 @@ export const nep141Tokens = [ 'usdt.tether-token.near', '1250000000000000000000', UnderlyingAsset['near:usdt'], - NEAR_TOKEN_FEATURES + [...NEAR_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), // testnet tokens tnep141Token( @@ -42,6 +42,6 @@ export const nep141Tokens = [ '3e2210e1184b45b64c8a434c0a7e7b23cc04ea7eb7a6c3c32520d03d4afcb8af', '1250000000000000000000', UnderlyingAsset['tnear:usdc'], - NEAR_TOKEN_FEATURES + [...NEAR_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), ]; diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index 813d7e5c6c..f14e70ee5c 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -36,9 +36,14 @@ import { ofcHashToken, tofcHashToken, } from '../ofc'; -import { UnderlyingAsset, CoinKind } from '../base'; +import { UnderlyingAsset, CoinKind, CoinFeature } from '../base'; -import { SOL_TOKEN_FEATURES, SOL_OFC_TOKEN_FEATURES, APT_OFC_TOKEN_FEATURES } from '../coinFeatures'; +import { + SOL_TOKEN_FEATURES, + SOL_OFC_TOKEN_FEATURES, + APT_OFC_TOKEN_FEATURES, + ACCOUNT_COIN_DEFAULT_FEATURES, +} from '../coinFeatures'; export const ofcCoins = [ ofc('837f0cab-cad1-4510-a8e4-f2c60e1a8760', 'ofcusd', 'USD', 2, UnderlyingAsset.USD, CoinKind.FIAT), @@ -554,8 +559,12 @@ export const ofcCoins = [ 6, UnderlyingAsset['sol:pnut'] ), - ofcsolToken('e792c18a-05d1-4622-a8db-192f431b70a2', 'ofcsol:usdg', 'Global Dollar', 6, UnderlyingAsset['sol:usdg']), - ofcsolToken('56b9f9c2-1a6a-4d79-aad2-2e418c3b52e0', 'ofcsol:ausd', 'Agora Dollar', 6, UnderlyingAsset['sol:ausd']), + ofcsolToken('e792c18a-05d1-4622-a8db-192f431b70a2', 'ofcsol:usdg', 'Global Dollar', 6, UnderlyingAsset['sol:usdg'], [ + CoinFeature.STABLECOIN, + ]), + ofcsolToken('56b9f9c2-1a6a-4d79-aad2-2e418c3b52e0', 'ofcsol:ausd', 'Agora Dollar', 6, UnderlyingAsset['sol:ausd'], [ + CoinFeature.STABLECOIN, + ]), ofcsolToken( 'c382f3cc-c071-4ef5-89ac-bcb85d8d415f', 'ofcsol:wec', @@ -564,22 +573,14 @@ export const ofcCoins = [ UnderlyingAsset['sol:wec'], SOL_OFC_TOKEN_FEATURES ), - ofcsolToken( - 'fb3b730f-c2cc-4598-8165-ddd42de8cbdf', - 'ofcsol:usdt', - 'USD Tether', - 6, - UnderlyingAsset['sol:usdt'], - SOL_OFC_TOKEN_FEATURES - ), - ofcsolToken( - '0d96e2db-d01e-4ea0-ac87-3b51d563ea91', - 'ofcsol:usdc', - 'USD Coin', - 6, - UnderlyingAsset['sol:usdc'], - SOL_OFC_TOKEN_FEATURES - ), + ofcsolToken('fb3b730f-c2cc-4598-8165-ddd42de8cbdf', 'ofcsol:usdt', 'USD Tether', 6, UnderlyingAsset['sol:usdt'], [ + ...SOL_OFC_TOKEN_FEATURES, + CoinFeature.STABLECOIN, + ]), + ofcsolToken('0d96e2db-d01e-4ea0-ac87-3b51d563ea91', 'ofcsol:usdc', 'USD Coin', 6, UnderlyingAsset['sol:usdc'], [ + ...SOL_OFC_TOKEN_FEATURES, + CoinFeature.STABLECOIN, + ]), ofcsolToken( 'ebbe0d38-44cb-4464-999f-68c9765e37ef', 'ofcsol:srm', @@ -1030,14 +1031,10 @@ export const ofcCoins = [ UnderlyingAsset['sol:benji'], SOL_TOKEN_FEATURES ), - ofcsolToken( - 'deaf138b-b1f7-476d-8de6-a268d56b8b0b', - 'ofcsol:usd1', - 'USD1', - 6, - UnderlyingAsset['sol:usd1'], - SOL_TOKEN_FEATURES - ), + ofcsolToken('deaf138b-b1f7-476d-8de6-a268d56b8b0b', 'ofcsol:usd1', 'USD1', 6, UnderlyingAsset['sol:usd1'], [ + ...SOL_TOKEN_FEATURES, + CoinFeature.STABLECOIN, + ]), ofcsolToken( 'b08c09fd-73fb-4b7f-8377-72225cd8c256', 'ofcsol:dupe', @@ -1062,22 +1059,14 @@ export const ofcCoins = [ UnderlyingAsset['sol:grift'], SOL_TOKEN_FEATURES ), - ofcsolToken( - 'ceb01fe5-edc8-4c2b-a27a-d2d10bb5c12d', - 'ofcsol:usdk', - 'Kast USDK', - 6, - UnderlyingAsset['sol:usdk'], - SOL_TOKEN_FEATURES - ), - ofcsolToken( - '6ac3b85c-0561-4ff1-a8be-12d23409c49b', - 'ofcsol:usdky', - 'Kast USDKY', - 6, - UnderlyingAsset['sol:usdky'], - SOL_TOKEN_FEATURES - ), + ofcsolToken('ceb01fe5-edc8-4c2b-a27a-d2d10bb5c12d', 'ofcsol:usdk', 'Kast USDK', 6, UnderlyingAsset['sol:usdk'], [ + ...SOL_TOKEN_FEATURES, + CoinFeature.STABLECOIN, + ]), + ofcsolToken('6ac3b85c-0561-4ff1-a8be-12d23409c49b', 'ofcsol:usdky', 'Kast USDKY', 6, UnderlyingAsset['sol:usdky'], [ + ...SOL_TOKEN_FEATURES, + CoinFeature.STABLECOIN, + ]), ofcsolToken( '74c35273-927d-4ff2-8ca9-50481a1c7e43', 'ofcsol:wave', @@ -1092,7 +1081,7 @@ export const ofcCoins = [ 'USD CoinVertible', 2, UnderlyingAsset['sol:usdcv'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), ofcsolToken( '696aa26f-332c-4a1e-a0bd-e3a80f4cac9b', @@ -1164,7 +1153,7 @@ export const ofcCoins = [ 'testnet USD Coin', 9, UnderlyingAsset['tsol:usdc'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tofcsolToken( '431a593e-0396-4d68-9db6-901d312df47d', @@ -1188,7 +1177,7 @@ export const ofcCoins = [ 'testnet USD Tether', 9, UnderlyingAsset['tsol:usdt'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tofcsolToken( '73a332da-1abf-4c4b-b5b5-f03fe36738cb', @@ -1221,7 +1210,7 @@ export const ofcCoins = [ 'Test USD1 Token', 6, UnderlyingAsset['sol:usd1'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tofcsolToken( '750f0e40-c5b9-464f-874f-dc455cf1494b', @@ -1229,7 +1218,7 @@ export const ofcCoins = [ 'Test USD1 Token', 6, UnderlyingAsset['sol:usd1'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tofcTronToken('937efe97-a17a-4d2a-aaf2-0ffdb529a943', 'ofcttrx:usdt', 'Tether USD', 6, UnderlyingAsset['ttrx:usdt']), tofcTronToken( @@ -1237,21 +1226,57 @@ export const ofcCoins = [ 'ofcttrx:usd1', 'Test USD1 Token', 18, - UnderlyingAsset['ttrx:usd1'] + UnderlyingAsset['ttrx:usd1'], + undefined, + [CoinFeature.STABLECOIN] ), tofcTronToken( '8e2ca812-2dee-4264-b5da-20d52a9194c8', 'ofcttrx:stgusd1', 'Test USD1 Token', 18, - UnderlyingAsset['ttrx:stgusd1'] + UnderlyingAsset['ttrx:stgusd1'], + undefined, + [CoinFeature.STABLECOIN] + ), + ofcTronToken( + '94b00b66-68a4-45ed-b772-77e5bca1e34c', + 'ofctrx:usdt', + 'Tether USD', + 6, + UnderlyingAsset['trx:usdt'], + undefined, + [CoinFeature.STABLECOIN] + ), + ofcTronToken( + '486dca06-5709-45ee-8b35-677e3d27509f', + 'ofctrx:usd1', + 'USD1 Token', + 18, + UnderlyingAsset['trx:usd1'], + undefined, + [CoinFeature.STABLECOIN] ), - ofcTronToken('94b00b66-68a4-45ed-b772-77e5bca1e34c', 'ofctrx:usdt', 'Tether USD', 6, UnderlyingAsset['trx:usdt']), - ofcTronToken('486dca06-5709-45ee-8b35-677e3d27509f', 'ofctrx:usd1', 'USD1 Token', 18, UnderlyingAsset['trx:usd1']), ofcTronToken('d953a72b-b7b9-4c8d-97bd-f03394e30608', 'ofctrx:trxs', 'Staked TRX', 18, UnderlyingAsset['trx:trxs']), ofcTronToken('d1f624a6-8d53-4c59-abdb-65fc12204ea3', 'ofctrx:jst', 'Just', 18, UnderlyingAsset['trx:jst']), - ofcXrpToken('6a173023-5faf-4a0a-af38-b8be98abe94f', 'ofcxrp:rlusd', 'Ripple USD', 15, UnderlyingAsset['xrp:rlusd']), - tofcXrpToken('bd406dab-3b55-4ab5-b0a5-74b9f94268a3', 'ofctxrp:rlusd', 'RLUSD', 15, UnderlyingAsset['txrp:rlusd']), + ofcXrpToken( + '6a173023-5faf-4a0a-af38-b8be98abe94f', + 'ofcxrp:rlusd', + 'Ripple USD', + 15, + UnderlyingAsset['xrp:rlusd'], + undefined, + [CoinFeature.STABLECOIN] + ), + tofcXrpToken( + 'bd406dab-3b55-4ab5-b0a5-74b9f94268a3', + 'ofctxrp:rlusd', + 'RLUSD', + 15, + UnderlyingAsset['txrp:rlusd'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcXrpToken('eb3c02de-7221-4fde-9235-5cc576eb7c8b', 'ofcxrp:xsgd', 'XSGD', 15, UnderlyingAsset['xrp:xsgd']), ofcXrpToken( '46c75216-5498-4417-b73c-a08c11d693ad', @@ -1300,14 +1325,18 @@ export const ofcCoins = [ 'ofcarbeth:usdcv2', 'USD Coin (native)', 6, - UnderlyingAsset['arbeth:usdcv2'] + UnderlyingAsset['arbeth:usdcv2'], + undefined, + [CoinFeature.STABLECOIN] ), ofcArbethErc20( 'eed6696c-9c38-4897-9cae-de3aa3cb6297', 'ofcarbeth:usdc', 'USD Coin', 6, - UnderlyingAsset['arbeth:usdc'] + UnderlyingAsset['arbeth:usdc'], + undefined, + [CoinFeature.STABLECOIN] ), ofcArbethErc20( 'cb8b1d90-f1e4-45e2-b760-1d073c7edccc', @@ -1328,7 +1357,9 @@ export const ofcCoins = [ 'ofcarbeth:usdt', 'Tether USD', 6, - UnderlyingAsset['arbeth:usdt'] + UnderlyingAsset['arbeth:usdt'], + undefined, + [CoinFeature.STABLECOIN] ), ofcArbethErc20( 'e91ce545-8ace-4f12-b6d4-8c5a3e84022f', @@ -1472,15 +1503,41 @@ export const ofcCoins = [ ofcAvaxErc20('cf570f0c-8c17-4ba8-b658-69d38e4f37a9', 'ofcavaxc:png', 'Pangolin', 18, UnderlyingAsset['avaxc:png']), ofcAvaxErc20('6753faa0-7c76-4c97-ad78-667ff2416c62', 'ofcavaxc:qi', 'BenQi', 18, UnderlyingAsset['avaxc:qi']), ofcAvaxErc20('786e03a4-c156-48ea-8782-42ea3c63c5a3', 'ofcavaxc:sbc', 'Stable Coin', 18, UnderlyingAsset['avaxc:sbc']), - ofcAvaxErc20('300dbac5-76a3-4ed5-96fb-1d7898da4b4e', 'ofcavaxc:usdc', 'USD Coin', 6, UnderlyingAsset['avaxc:usdc']), - ofcAvaxErc20('974e85e7-d6ad-4a5a-9aea-cae055842f36', 'ofcavaxc:usdc-e', 'USD Coin', 6, UnderlyingAsset['avaxc:usdc']), - ofcAvaxErc20('861e2833-90be-45ec-8c8b-a41b1b86fac3', 'ofcavaxc:usdt', 'Tether USD', 6, UnderlyingAsset['avaxc:usdt']), + ofcAvaxErc20( + '300dbac5-76a3-4ed5-96fb-1d7898da4b4e', + 'ofcavaxc:usdc', + 'USD Coin', + 6, + UnderlyingAsset['avaxc:usdc'], + undefined, + [CoinFeature.STABLECOIN] + ), + ofcAvaxErc20( + '974e85e7-d6ad-4a5a-9aea-cae055842f36', + 'ofcavaxc:usdc-e', + 'USD Coin', + 6, + UnderlyingAsset['avaxc:usdc'], + undefined, + [CoinFeature.STABLECOIN] + ), + ofcAvaxErc20( + '861e2833-90be-45ec-8c8b-a41b1b86fac3', + 'ofcavaxc:usdt', + 'Tether USD', + 6, + UnderlyingAsset['avaxc:usdt'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcAvaxErc20( 'e56e42a8-1566-4b5b-a2f3-5439278b1e8c', 'ofcavaxc:usdt-e', 'Tether USD', 6, - UnderlyingAsset['avaxc:usdt'] + UnderlyingAsset['avaxc:usdt'], + undefined, + [CoinFeature.STABLECOIN] ), ofcAvaxErc20( '3986ecd8-dda6-4b30-8883-b6bf111e4624', @@ -1636,7 +1693,15 @@ export const ofcCoins = [ 18, UnderlyingAsset['bsc:cake'] ), - ofcBscToken('fae56463-dc06-42cd-ad8b-5b4f6bbabffc', 'ofcbsc:usd1', 'USD1', 18, UnderlyingAsset['bsc:usd1']), + ofcBscToken( + 'fae56463-dc06-42cd-ad8b-5b4f6bbabffc', + 'ofcbsc:usd1', + 'USD1', + 18, + UnderlyingAsset['bsc:usd1'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcBscToken( '66583648-3200-4221-a677-930973dbcd72', 'ofcbsc:twt', @@ -1646,7 +1711,15 @@ export const ofcCoins = [ ), ofcBscToken('822d85d7-f42d-40de-a14c-220a375eda3f', 'ofcbsc:sfp', 'SafePal Token', 18, UnderlyingAsset['bsc:sfp']), ofcBscToken('10226e82-2fac-49f4-8ee0-e0f7affeaeec', 'ofcbsc:mask', 'Mask Network', 18, UnderlyingAsset['bsc:mask']), - ofcBscToken('a1380903-6d91-4555-b8ef-74b1bcd993d0', 'ofcbsc:usdt', 'BSC-USD', 18, UnderlyingAsset['bsc:usdt']), + ofcBscToken( + 'a1380903-6d91-4555-b8ef-74b1bcd993d0', + 'ofcbsc:usdt', + 'BSC-USD', + 18, + UnderlyingAsset['bsc:usdt'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcBscToken('6a1e8b8c-4d7e-4f9a-9d8f-f6e72f8c7e65', 'ofcbsc:solv', 'SOLV Protocol', 9, UnderlyingAsset['bsc:solv']), ofcBscToken('f8c3d7b5-2d9e-4b3f-8a1e-7c6d9e3a2f4b', 'ofcbsc:brise', 'Bitrise Token', 9, UnderlyingAsset['bsc:brise']), ofcBscToken('2e9f4c6b-8a7d-4b2e-9d3f-7c6a5e8b1f2a', 'ofcbsc:bsw', 'Biswap', 18, UnderlyingAsset['bsc:bsw']), @@ -1672,7 +1745,9 @@ export const ofcCoins = [ 'ofcbsc:busd', 'Binance USD Token', 18, - UnderlyingAsset['bsc:busd'] + UnderlyingAsset['bsc:busd'], + undefined, + [CoinFeature.STABLECOIN] ), ofcBscToken('1f9d3f6a-7c4b-2a2e-9e5c-6b1e8f7a2c9d', 'ofcbsc:hook', 'Hook Token', 18, UnderlyingAsset['bsc:hook']), ofcBscToken( @@ -1692,7 +1767,15 @@ export const ofcCoins = [ ofcBscToken('9d8f6a7c-3f1e-4b2e-8a5f-1e6a9c7a2b3f', 'ofcbsc:litt', 'LitLabToken', 18, UnderlyingAsset['bsc:litt']), ofcBscToken('4b1e9f6c-7c3f-3a2e-9d5f-6b1a2e7c8a3f', 'ofcbsc:xvs', 'Venus', 18, UnderlyingAsset['bsc:xvs']), ofcBscToken('7c6a9d8f-1f2e-4b3f-8a5f-9e2b1e6a7c9d', 'ofcbsc:epx', 'Ellipsis X', 18, UnderlyingAsset['bsc:epx']), - ofcBscToken('8a1e9d6f-7c3f-4b2e-9d5f-6b7a2c8a1e3f', 'ofcbsc:usdc', 'USDC', 18, UnderlyingAsset['bsc:usdc']), + ofcBscToken( + '8a1e9d6f-7c3f-4b2e-9d5f-6b7a2c8a1e3f', + 'ofcbsc:usdc', + 'USDC', + 18, + UnderlyingAsset['bsc:usdc'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcBscToken('5c7a9d8f-4b1e-3f2e-8a9f-6a1e7c9d2b3f', 'ofcbsc:dd', 'Diment Dollar', 6, UnderlyingAsset['bsc:dd']), ofcBscToken( '7c3f9d6a-1f2e-3a5f-8b2e-9e7a1c8a9b5f', @@ -1862,7 +1945,15 @@ export const ofcCoins = [ UnderlyingAsset['bsc:ocean'] ), ofcBscToken('8a9f7c6a-1e3f-4b2e-8f9d-7a8c9b6f1e5a', 'ofcbsc:sand', 'The Sandbox', 18, UnderlyingAsset['bsc:sand']), - ofcBscToken('9d6f8a4c-3f1e-4b2e-af9e-1a8c9b6f2e5a', 'ofcbsc:tusd', 'TrueUSD', 18, UnderlyingAsset['bsc:tusd']), + ofcBscToken( + '9d6f8a4c-3f1e-4b2e-af9e-1a8c9b6f2e5a', + 'ofcbsc:tusd', + 'TrueUSD', + 18, + UnderlyingAsset['bsc:tusd'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcBscToken('7c1e9f8a-3f6a-4b2e-bf9d-7a8c9b1f2e1a', 'ofcbsc:wrose', 'Wrapped ROSE', 18, UnderlyingAsset['bsc:wrose']), ofcBscToken( '7c8f9d6a-1e3f-4b2e-af9e-7a9c126f2e5a', @@ -1992,13 +2083,23 @@ export const ofcCoins = [ 'ofcbsc:fdusd', 'First Digital USD', 18, - UnderlyingAsset['bsc:fdusd'] + UnderlyingAsset['bsc:fdusd'], + undefined, + [CoinFeature.STABLECOIN] ), ofcBscToken('549d7f6a-4b1e-3f2e-9d8f-7c1e8b6f2e5a', 'ofcbsc:floki', 'FLOKI', 9, UnderlyingAsset['bsc:floki']), ofcBscToken('7c8f9d6a-1e3f-4b2e-8f9e-7a9c126f2e5a', 'ofcbsc:ldo', 'LIDO DAO', 18, UnderlyingAsset['bsc:ldo']), ofcBscToken('9e8f6a1e-3f7c-4b2e-9d8f-8a7c9b6f2e1a', 'ofcbsc:eos', 'EOS', 18, UnderlyingAsset['bsc:eos']), ofcBscToken('7c3f8a1e-9d1f-4b2e-bf9e-7a8c9b6f2e5a', 'ofcbsc:om', 'MANTRA DAO', 18, UnderlyingAsset['bsc:om']), - ofcBscToken('5c7a8f9e-4b1e-3f2e-9d6f-7c8a1b6f2e5a', 'ofcbsc:usdd', 'USDD', 18, UnderlyingAsset['bsc:usdd']), + ofcBscToken( + '5c7a8f9e-4b1e-3f2e-9d6f-7c8a1b6f2e5a', + 'ofcbsc:usdd', + 'USDD', + 18, + UnderlyingAsset['bsc:usdd'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcBscToken( '8a9f7c6a-1e3f-4b2e-bf9d-7a8c9b6f2e5a', 'ofcbsc:alpaca', @@ -2060,14 +2161,18 @@ export const ofcCoins = [ 'ofctbsc:usd1', 'Test USD1 Token', 18, - UnderlyingAsset['tbsc:usd1'] + UnderlyingAsset['tbsc:usd1'], + undefined, + [CoinFeature.STABLECOIN] ), tofcBscToken( 'e9174338-0d26-4f49-b111-3487b60c9912', 'ofctbsc:stgusd1', 'Test USD1 Token', 18, - UnderlyingAsset['tbsc:stgusd1'] + UnderlyingAsset['tbsc:stgusd1'], + undefined, + [CoinFeature.STABLECOIN] ), ofcPolygonErc20( '547ce68f-cb4c-4618-bef3-9a0ebe9facd2', @@ -2088,7 +2193,9 @@ export const ofcCoins = [ 'ofcpolygon:usdcv2', 'USD Coin (native)', 6, - UnderlyingAsset['polygon:usdcv2'] + UnderlyingAsset['polygon:usdcv2'], + undefined, + [CoinFeature.STABLECOIN] ), ofcPolygonErc20( 'b4381484-7f8d-4d20-aa19-5c99e9d230d6', @@ -2102,21 +2209,27 @@ export const ofcCoins = [ 'ofcpolygon:usdc', 'USD Coin', 6, - UnderlyingAsset['polygon:usdc'] + UnderlyingAsset['polygon:usdc'], + undefined, + [CoinFeature.STABLECOIN] ), ofcPolygonErc20( '659e66ef-2265-48d4-a73c-f98e479944d1', 'ofcpolygon:tusd', 'TrueUSD', 18, - UnderlyingAsset['polygon:tusd'] + UnderlyingAsset['polygon:tusd'], + undefined, + [CoinFeature.STABLECOIN] ), ofcPolygonErc20( '115e52f9-91bc-4e40-b1cb-046167bb4b09', 'ofcpolygon:usdt', 'Tether USD', 6, - UnderlyingAsset['polygon:usdt'] + UnderlyingAsset['polygon:usdt'], + undefined, + [CoinFeature.STABLECOIN] ), ofcPolygonErc20( 'c2e7a6d3-77bd-4a47-9cd5-cfa681a5bc95', @@ -2441,7 +2554,9 @@ export const ofcCoins = [ 'ofcpolygon:busd', 'BUSD Token', 18, - UnderlyingAsset['polygon:busd'] + UnderlyingAsset['polygon:busd'], + undefined, + [CoinFeature.STABLECOIN] ), ofcPolygonErc20( 'b12a9d51-3067-47d2-945e-65b3cd414532', @@ -2533,7 +2648,9 @@ export const ofcCoins = [ 'ofcpolygon:gusd', 'Gemini dollar', 2, - UnderlyingAsset['polygon:gusd'] + UnderlyingAsset['polygon:gusd'], + undefined, + [CoinFeature.STABLECOIN] ), ofcPolygonErc20( 'a6eb179c-c5e5-429d-8cfe-6d01ddf3c9cb', @@ -2817,7 +2934,9 @@ export const ofcCoins = [ 'ofcpolygon:xusd', 'StraitsX USD', 6, - UnderlyingAsset['polygon:xusd'] + UnderlyingAsset['polygon:xusd'], + undefined, + [CoinFeature.STABLECOIN] ), tofcPolygonErc20( '62f4329d-11cd-4875-b91b-9ceae66c9439', @@ -2831,14 +2950,18 @@ export const ofcCoins = [ 'ofctpolygon:usdc', 'USD Coin', 6, - UnderlyingAsset['tpolygon:usdc'] + UnderlyingAsset['tpolygon:usdc'], + undefined, + [CoinFeature.STABLECOIN] ), tofcPolygonErc20( '2136098f-9949-43a9-90f2-d8e5f0855e5d', 'ofctpolygon:usdt', 'Tether USD', 6, - UnderlyingAsset['tpolygon:usdt'] + UnderlyingAsset['tpolygon:usdt'], + undefined, + [CoinFeature.STABLECOIN] ), tofcPolygonErc20( '46100d09-4f3d-4b61-8f49-99d98b8f64c0', @@ -2867,7 +2990,9 @@ export const ofcCoins = [ 'ofcalgo:usdc', 'Algorand USDC', 6, - UnderlyingAsset['algo:USDC-31566704'] + UnderlyingAsset['algo:USDC-31566704'], + undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), tofcAlgoToken( @@ -2875,7 +3000,9 @@ export const ofcCoins = [ 'ofctalgo:usdc', 'Test Algorand USDC', 6, - UnderlyingAsset['talgo:USDC-10458941'] + UnderlyingAsset['talgo:USDC-10458941'], + undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), ofcHederaToken( @@ -2883,7 +3010,9 @@ export const ofcCoins = [ 'ofchbar:usdc', 'Mainnet Hedera USD Coin', 6, - UnderlyingAsset.USDC + UnderlyingAsset.USDC, + undefined, + [CoinFeature.STABLECOIN] ), ofcHederaToken( 'd59935a2-e435-4ffa-b519-443310c80830', @@ -2930,7 +3059,9 @@ export const ofcCoins = [ 'ofcthbar:usdc', 'Testnet Hedera USD Coin', 6, - UnderlyingAsset.USDC + UnderlyingAsset.USDC, + undefined, + [CoinFeature.STABLECOIN] ), ofcStellarToken( @@ -2938,7 +3069,9 @@ export const ofcCoins = [ 'ofcxlm:usdc', 'Stellar USDC', 7, - UnderlyingAsset['xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN'] + UnderlyingAsset['xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN'], + undefined, + [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN] ), ofcStellarToken( @@ -2978,14 +3111,10 @@ export const ofcCoins = [ 18, UnderlyingAsset['arbeth:bull'] ), - ofcaptToken( - '6d027643-3d96-4627-8312-1151a793d4f8', - 'ofcapt:usdc', - 'USD Coin', - 6, - UnderlyingAsset['apt:usdc'], - APT_OFC_TOKEN_FEATURES - ), + ofcaptToken('6d027643-3d96-4627-8312-1151a793d4f8', 'ofcapt:usdc', 'USD Coin', 6, UnderlyingAsset['apt:usdc'], [ + ...APT_OFC_TOKEN_FEATURES, + CoinFeature.STABLECOIN, + ]), ofcaptToken( '5d781823-37b5-4e50-bc3b-d078420f2972', 'ofcapt:benji', @@ -3002,14 +3131,10 @@ export const ofcCoins = [ UnderlyingAsset['apt:pact'], APT_OFC_TOKEN_FEATURES ), - ofcaptToken( - 'd15ec98e-1c8f-4c2d-9ede-e34edb3980b5', - 'ofcapt:usdt', - 'USD Tether', - 6, - UnderlyingAsset['apt:usdt'], - APT_OFC_TOKEN_FEATURES - ), + ofcaptToken('d15ec98e-1c8f-4c2d-9ede-e34edb3980b5', 'ofcapt:usdt', 'USD Tether', 6, UnderlyingAsset['apt:usdt'], [ + ...APT_OFC_TOKEN_FEATURES, + CoinFeature.STABLECOIN, + ]), ofcaptToken( '5ee043c0-d843-4ffa-920c-3099e9891f81', 'ofcapt:lsd', @@ -3019,7 +3144,15 @@ export const ofcCoins = [ APT_OFC_TOKEN_FEATURES ), ofcStxToken('2d2f9c7f-7d10-480e-a0ef-6893cf4d3493', 'ofcstx:sbtc', 'sBTC', 8, UnderlyingAsset['stx:sbtc']), - ofcStxToken('cc76810a-e19c-4123-ad0c-be39ce08550a', 'ofcstx:susdh', 'sUSDH', 8, UnderlyingAsset['stx:susdh']), + ofcStxToken( + 'cc76810a-e19c-4123-ad0c-be39ce08550a', + 'ofcstx:susdh', + 'sUSDH', + 8, + UnderlyingAsset['stx:susdh'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcStxToken('df131c24-8458-49ea-8f7d-7dcce6b13ad9', 'ofcstx:ststx', 'stSTX', 6, UnderlyingAsset['stx:ststx']), tofcStxToken('a7f63434-b424-4f8f-94d8-476f827e4d1b', 'ofctstx:tsbtc', 'Test sBTC', 8, UnderlyingAsset['tstx:tsbtc']), ofcStxToken('10210906-6701-4c25-a204-0fe7399bae83', 'ofcstx:alex', 'Alex Labs', 8, UnderlyingAsset['stx:alex']), @@ -3028,14 +3161,33 @@ export const ofcCoins = [ 'ofcstx:aeusdc', 'Allbridge Bridged USDC', 6, - UnderlyingAsset['stx:aeusdc'] + UnderlyingAsset['stx:aeusdc'], + undefined, + [CoinFeature.STABLECOIN] + ), + ofcStxToken( + 'b4ef967b-7aa3-4252-9366-bbcffffd1c4d', + 'ofcstx:usdh', + 'USDH', + 8, + UnderlyingAsset['stx:usdh'], + undefined, + [CoinFeature.STABLECOIN] ), - ofcStxToken('b4ef967b-7aa3-4252-9366-bbcffffd1c4d', 'ofcstx:usdh', 'USDH', 8, UnderlyingAsset['stx:usdh']), ofcStxToken('511fc482-d962-4c29-9921-4a7d99405e64', 'ofcstx:welsh', 'Welsh', 6, UnderlyingAsset['stx:welsh']), //Nep141 - ofcnep141Token('ae7413e9-147d-4f72-a180-e9d1ed4bb885', 'ofcnear:usdc', 'USD Coin', 6, UnderlyingAsset['near:usdc']), - ofcnep141Token('8e2467c9-f261-4e2e-abc6-cf08655359f8', 'ofcnear:usdt', 'Tether USD', 6, UnderlyingAsset['near:usdt']), + ofcnep141Token('ae7413e9-147d-4f72-a180-e9d1ed4bb885', 'ofcnear:usdc', 'USD Coin', 6, UnderlyingAsset['near:usdc'], [ + CoinFeature.STABLECOIN, + ]), + ofcnep141Token( + '8e2467c9-f261-4e2e-abc6-cf08655359f8', + 'ofcnear:usdt', + 'Tether USD', + 6, + UnderlyingAsset['near:usdt'], + [CoinFeature.STABLECOIN] + ), tofcnep141Token( 'a3a47204-c114-42d7-b673-0a5f60ca0d9e', 'ofctnear:tnep24dp', @@ -3048,10 +3200,19 @@ export const ofcCoins = [ 'ofctnear:usdc', 'USD Coin', 6, - UnderlyingAsset['tnear:usdc'] + UnderlyingAsset['tnear:usdc'], + [CoinFeature.STABLECOIN] ), ofcWorldErc20('809418f2-d9e7-4604-bc17-e7dc881324c3', 'ofcworld:wld', 'Worldcoin', 18, UnderlyingAsset['world:wld']), - ofcWorldErc20('b37a7ce1-3be3-4df1-808d-8cc9065c7ed7', 'ofcworld:usdc', 'USDC', 6, UnderlyingAsset['world:usdc']), + ofcWorldErc20( + 'b37a7ce1-3be3-4df1-808d-8cc9065c7ed7', + 'ofcworld:usdc', + 'USDC', + 6, + UnderlyingAsset['world:usdc'], + undefined, + [CoinFeature.STABLECOIN] + ), tofcWorldErc20( 'ed63bc0a-f979-4abb-953b-edb17cf9efd0', 'ofctworld:wld', @@ -3064,7 +3225,9 @@ export const ofcCoins = [ 'ofctworld:usdc', 'USDC Testnet', 6, - UnderlyingAsset['tworld:usdc'] + UnderlyingAsset['tworld:usdc'], + undefined, + [CoinFeature.STABLECOIN] ), ofcCoredaoErc20( '5bca7dee-35e6-46bc-8bb3-b53edd67c817', diff --git a/modules/statics/src/coins/ofcErc20Coins.ts b/modules/statics/src/coins/ofcErc20Coins.ts index a0c0b9d672..abc6ee0e86 100644 --- a/modules/statics/src/coins/ofcErc20Coins.ts +++ b/modules/statics/src/coins/ofcErc20Coins.ts @@ -1,5 +1,6 @@ import { ofcerc20, tofcerc20 } from '../ofc'; -import { UnderlyingAsset } from '../base'; +import { CoinFeature, UnderlyingAsset } from '../base'; +import { AccountCoin } from '../account'; export const ofcErc20Coins = [ ofcerc20('a6b6dd56-c25e-45a3-83e5-5da0f95d27d2', 'ofcpol', 'Polygon Ecosystem Token', 18, UnderlyingAsset.POL), @@ -35,9 +36,13 @@ export const ofcErc20Coins = [ ofcerc20('3db3b895-756c-4c95-9dea-08d283f09a7a', 'ofcmeme', 'Meme', 8, UnderlyingAsset.MEME), ofcerc20('8a73d170-28c1-48c9-8d3c-c7ea374f4414', 'ofcband', 'Band Protocol', 18, UnderlyingAsset.BAND), ofcerc20('ad5d8cf4-59b5-4b82-b1ee-d5d0d6ba5944', 'ofcant', 'Aragon', 18, UnderlyingAsset.ANT), - ofcerc20('2092c0cc-19cf-42b2-90a0-123b1904d901', 'ofcpyusd', 'PayPal USD', 6, UnderlyingAsset.PYUSD), + ofcerc20('2092c0cc-19cf-42b2-90a0-123b1904d901', 'ofcpyusd', 'PayPal USD', 6, UnderlyingAsset.PYUSD, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('8304c497-523d-4f3f-8744-65e2e5ebd5a5', 'ofc1inch', '1Inch Token', 18, UnderlyingAsset['1INCH']), - ofcerc20('28024a59-6fbb-4156-96e4-2ba7747e8581', 'ofcusdc', 'USD Coin', 6, UnderlyingAsset.USDC), + ofcerc20('28024a59-6fbb-4156-96e4-2ba7747e8581', 'ofcusdc', 'USD Coin', 6, UnderlyingAsset.USDC, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('f790e63d-9785-4e98-b323-897fdc489613', 'ofcaave', 'Aave', 18, UnderlyingAsset.AAVE), ofcerc20('a3b0e98b-3a50-4ee7-a290-696b4cbce666', 'ofcape', 'ApeCoin', 18, UnderlyingAsset.APE), ofcerc20('15c3f5fb-255c-4ef6-9df3-767b3aa2b36d', 'ofcaudio', 'Audio', 18, UnderlyingAsset.AUDIO), @@ -51,7 +56,9 @@ export const ofcErc20Coins = [ ofcerc20('4bc691c4-dcdd-4b78-be96-1e87269c3caf', 'ofcbnb', 'BNB Token', 18, UnderlyingAsset.BNB), ofcerc20('7a76184c-b4b2-4c87-81bc-0c496c605488', 'ofcbnt', 'Bancor', 18, UnderlyingAsset.BNT), ofcerc20('f142074d-8d94-442b-a0e3-3f09c98acaeb', 'ofcbtrst', 'Braintrust', 18, UnderlyingAsset.BTRST), - ofcerc20('779e9fa5-e4f2-4c74-947a-5b5df61e66df', 'ofcbusd', 'Binance USD', 18, UnderlyingAsset.BUSD), + ofcerc20('779e9fa5-e4f2-4c74-947a-5b5df61e66df', 'ofcbusd', 'Binance USD', 18, UnderlyingAsset.BUSD, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('50dab286-6071-4298-893b-fb6c38e3442b', 'ofccel', 'Celsius', 4, UnderlyingAsset.CEL), ofcerc20('94ea31eb-f35d-4075-a9fe-90a91a6b03f8', 'ofccelr', 'Celer Network', 18, UnderlyingAsset.CELR), ofcerc20('f019a286-14bb-4e27-9c08-3c6216a59851', 'ofccfx', 'Conflux', 18, UnderlyingAsset.CFX), @@ -101,7 +108,9 @@ export const ofcErc20Coins = [ ofcerc20('f3cfe483-3aab-4d9f-8990-08c2910c3f17', 'ofcsnx', 'Synthetix Network', 18, UnderlyingAsset.SNX), ofcerc20('7f591fea-dcaa-46de-88dd-7173537f4433', 'ofcsushi', 'SushiToken', 18, UnderlyingAsset.SUSHI), ofcerc20('f15ddadd-5b35-4fa0-bcf6-68e3254d3bb1', 'ofcuni', 'Uniswap Token', 18, UnderlyingAsset.UNI), - ofcerc20('e30203cd-99c0-4b98-b101-e0cd95a455a9', 'ofcusdt', 'Tether', 6, UnderlyingAsset.USDT), + ofcerc20('e30203cd-99c0-4b98-b101-e0cd95a455a9', 'ofcusdt', 'Tether', 6, UnderlyingAsset.USDT, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('b73b5bc1-1738-439b-a0d4-2c1880898ac5', 'ofcweth', 'Wrapped Ether', 18, UnderlyingAsset.WETH), ofcerc20('442030fc-5b0d-4678-8c7f-d266f363e31a', 'ofcwoo', 'Wootrade Network', 18, UnderlyingAsset.WOO), ofcerc20('08da24cf-1420-4361-b10f-5060673ab949', 'ofcxsushi', 'xSUSHI', 18, UnderlyingAsset.XSUSHI), @@ -112,7 +121,9 @@ export const ofcErc20Coins = [ ofcerc20('f4fed641-f2e2-4fc7-b55b-62c0477b1301', 'ofcegld', 'Elrond Gold', 18, UnderlyingAsset.EGLD), ofcerc20('7b9b62ad-fa00-468f-9b15-fe0d6db04c97', 'ofcenj', 'EnjinCoin', 18, UnderlyingAsset.ENJ), ofcerc20('b930e9f3-4476-499c-82f9-f11a3f774f41', 'ofcever', 'Everscale', 9, UnderlyingAsset.EVER), - ofcerc20('9e713b54-f46f-41a6-9792-a58964011d6b', 'ofcfei', 'Fei USD', 18, UnderlyingAsset.FEI), + ofcerc20('9e713b54-f46f-41a6-9792-a58964011d6b', 'ofcfei', 'Fei USD', 18, UnderlyingAsset.FEI, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('15caf3bc-1d2e-440a-8954-1f1f8a52ac71', 'ofcftm', 'Fantom Token', 18, UnderlyingAsset.FTM), ofcerc20('c3dac821-88cc-4080-8417-bed0f48cc651', 'ofcgala', 'Gala', 8, UnderlyingAsset.GALA), ofcerc20('af0b8e78-a821-4542-958a-5c1d3ac687b1', 'ofcgno', 'Gnosis', 18, UnderlyingAsset.GNO), @@ -145,7 +156,10 @@ export const ofcErc20Coins = [ ofcerc20('3c35a09e-2cf2-475c-a5e3-a4757dca7b36', 'ofcstorj', 'Storj', 8, UnderlyingAsset.STORJ), ofcerc20('cc429744-58ca-4c3b-abe7-1761320b76ce', 'ofcsxp', 'Swipe', 18, UnderlyingAsset.SXP), ofcerc20('764937cd-464b-4a49-88a4-836e39f8e7d3', 'ofctribe', 'Tribe', 18, UnderlyingAsset.TRIBE), - ofcerc20('dbaf70b2-e159-4c67-9dd9-39ef886a2390', 'ofctrueusd', 'TrueUSD', 18, UnderlyingAsset.TUSD), + ofcerc20('dbaf70b2-e159-4c67-9dd9-39ef886a2390', 'ofctrueusd', 'TrueUSD', 18, UnderlyingAsset.TUSD, undefined, [ + ...AccountCoin.DEFAULT_FEATURES, + CoinFeature.STABLECOIN, + ]), ofcerc20('2566f816-47de-481c-b4b9-f31989861388', 'ofcuma', 'UMA Voting Token V1', 18, UnderlyingAsset.UMA), ofcerc20('c6a7a05d-c4bf-44e6-b8e8-21ee1c0d2aa7', 'ofcwxt', 'Wirex', 18, UnderlyingAsset.WXT), ofcerc20('d46dc5ab-9c36-4591-b973-0175c2f4cdb5', 'ofcwsteth', 'Wrapped stETH', 18, UnderlyingAsset.WSTETH), @@ -161,7 +175,9 @@ export const ofcErc20Coins = [ ofcerc20('85aa8d06-1d85-4409-a421-99a2609a3106', 'ofccra', 'Crabada', 18, UnderlyingAsset.CRA), ofcerc20('a4271420-4e1d-46f2-b237-542c7720027d', 'ofcstmx', 'StormX', 18, UnderlyingAsset.STMX), ofcerc20('d37c6a8b-ddc8-4984-b2c0-317c18a8e4e1', 'ofccoti', 'Coti Token', 18, UnderlyingAsset.COTI), - ofcerc20('640b14f3-3c4d-4d9c-8139-73e68ec0db14', 'ofchusd', 'Husd Token', 8, UnderlyingAsset.HUSD), + ofcerc20('640b14f3-3c4d-4d9c-8139-73e68ec0db14', 'ofchusd', 'Husd Token', 8, UnderlyingAsset.HUSD, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('2b8c197e-b7ce-4069-8ab2-d75d1ba770ae', 'ofcqkc', 'QuarkChain', 18, UnderlyingAsset.QKC), ofcerc20('c11bbf5d-49ca-4678-8909-2599b60f80be', 'ofcrsr', 'Reserve Rights', 18, UnderlyingAsset.RSR), ofcerc20('41af8bf9-19a5-4975-9192-7e9f87718516', 'ofcspell', 'Spell Token', 18, UnderlyingAsset.SPELL), @@ -175,7 +191,9 @@ export const ofcErc20Coins = [ ofcerc20('af198c54-53d5-42b3-9e69-7fcc5887c0a0', 'ofcdia', 'DIA Token', 18, UnderlyingAsset.DIA), ofcerc20('4da7f6a6-9c56-44f7-a9b2-07ae7c669e42', 'ofcldo', 'Lido DAO Token', 18, UnderlyingAsset.LDO), ofcerc20('c7ac234f-5fb7-4ee3-b1e9-5479ccaab28c', 'ofcsbc', 'Sustainable Bitcoin Certificate', 8, UnderlyingAsset.SBC), - ofcerc20('1bc9f8be-81ea-4d1f-b55d-80c1986743f9', 'ofcusdglo', 'Glo Dollar', 18, UnderlyingAsset.USDGLO), + ofcerc20('1bc9f8be-81ea-4d1f-b55d-80c1986743f9', 'ofcusdglo', 'Glo Dollar', 18, UnderlyingAsset.USDGLO, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('dec90842-ca08-417e-9cb0-89723cc50b77', 'ofcwbtc', 'Wrapped Bitcoin', 8, UnderlyingAsset.WBTC), ofcerc20('8f01bcec-f576-49f8-b925-274566954017', 'ofcokb', 'OKB', 18, UnderlyingAsset.OKB), ofcerc20('37e7d659-c3a4-4761-8f42-76fb7bc5032c', 'ofcmnt', 'Mantle', 18, UnderlyingAsset.MNT), @@ -211,13 +229,29 @@ export const ofcErc20Coins = [ ofcerc20('4efe4036-6528-45f8-9a3f-d4175103da72', 'ofcom', 'Om Token', 18, UnderlyingAsset.OM), ofcerc20('f60e2aa4-0b99-40df-a316-bc1a41912ffd', 'ofcoceanv2', 'Ocean Token V2', 18, UnderlyingAsset.OCEANV2), ofcerc20('0ee531d4-6df5-437d-aec5-aa72e33ac775', 'ofceigen', 'Eigen', 18, UnderlyingAsset.EIGEN), - ofcerc20('bbe911d8-c900-401c-8dfb-febd98256e75', 'ofcusdy', 'Ondo U.S. Dollar Yield', 18, UnderlyingAsset.USDY), + ofcerc20( + 'bbe911d8-c900-401c-8dfb-febd98256e75', + 'ofcusdy', + 'Ondo U.S. Dollar Yield', + 18, + UnderlyingAsset.USDY, + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('017c87e8-db41-41f6-8382-c61ad8ced64b', 'ofcfold', 'Manifold Finance', 18, UnderlyingAsset.FOLD), ofcerc20('94fcd19b-6dd6-4a8c-8fea-11c73ba9fa48', 'ofcacx', 'Across Protocol', 18, UnderlyingAsset.ACX), ofcerc20('b5f3afea-f69a-4a05-87f9-965476ad77de', 'ofclpt', 'Livepeer Token', 18, UnderlyingAsset.LPT), ofcerc20('567b571f-6f79-40e4-adff-3e0e3c6ba959', 'ofcethfi', 'ether.fi governance token', 18, UnderlyingAsset.ETHFI), ofcerc20('cba66dc6-31eb-46c4-b73f-8cb77eb7ef5b', 'ofcgal', 'Project Galaxy', 18, UnderlyingAsset.GAL), - ofcerc20('0c6e4b19-d748-477c-9507-6c0f51142b07', 'ofcfdusd', 'First Digital USD', 18, UnderlyingAsset.FDUSD), + ofcerc20( + '0c6e4b19-d748-477c-9507-6c0f51142b07', + 'ofcfdusd', + 'First Digital USD', + 18, + UnderlyingAsset.FDUSD, + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('80c3e860-f589-4227-a0f5-2aa6b18293c5', 'ofcrune', 'THORChain ETH.RUNE', 18, UnderlyingAsset.RUNE), ofcerc20('db35feb4-9cdb-447a-a698-e0e944ca6869', 'ofckcs', 'KuCoin', 6, UnderlyingAsset.KCS), ofcerc20('519ab013-f634-41f4-9d31-6f9368de5b09', 'ofcbeam', 'Beam', 18, UnderlyingAsset.BEAM), @@ -226,7 +260,9 @@ export const ofcErc20Coins = [ ofcerc20('969180cc-5af9-49c5-ad19-d8e8de755467', 'ofckas', 'Kaspa', 8, UnderlyingAsset.KAS), ofcerc20('eb54ecb6-7312-42c0-926a-1600d61a50dc', 'ofcbgb', 'Bitget', 18, UnderlyingAsset.BGB), ofcerc20('a4e0613e-1d1b-477c-9da5-7c553ff787b7', 'ofcmew', 'MEW coin', 18, UnderlyingAsset.MEW), - ofcerc20('ba2c8abb-6375-4207-9262-8b907a1dbf1b', 'ofcusdd', 'USDD', 18, UnderlyingAsset.USDD), + ofcerc20('ba2c8abb-6375-4207-9262-8b907a1dbf1b', 'ofcusdd', 'USDD', 18, UnderlyingAsset.USDD, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('cbb73d46-ce0d-4045-822b-8aa0d6fb8ad4', 'ofcw', 'Wormhole Token', 18, UnderlyingAsset.W), ofcerc20( '03a02e79-f604-4b79-96da-fb4a21456566', @@ -237,7 +273,9 @@ export const ofcErc20Coins = [ ), ofcerc20('8f0d3af0-8f99-4860-88db-e9b52855262f', 'ofccore', 'cVault.finance', 18, UnderlyingAsset.CORE), ofcerc20('6135770b-d8a6-4998-85f4-5efc7379695c', 'ofcena', 'Ethena', 18, UnderlyingAsset.ENA), - ofcerc20('fb61c76b-ee66-48b6-a0a2-6ec37d03c542', 'ofcusde', 'USDe', 18, UnderlyingAsset.USDE), + ofcerc20('fb61c76b-ee66-48b6-a0a2-6ec37d03c542', 'ofcusde', 'USDe', 18, UnderlyingAsset.USDE, undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('4419a432-b655-4941-92f6-a8a8a405ee97', 'ofczro', 'LayerZero', 18, UnderlyingAsset.ZRO), ofcerc20('799795f1-0294-4bb7-9ed1-d5d43fd03e8b', 'ofcsafe', 'SAFE', 18, UnderlyingAsset.SAFE), ofcerc20('5d0f9251-58e1-44fa-b1d6-b87ed23586da', 'ofcmoca', 'Moca', 18, UnderlyingAsset.MOCA), @@ -252,7 +290,15 @@ export const ofcErc20Coins = [ ofcerc20('d3f81454-874d-44a2-96e9-2fa37b5311b3', 'ofceth:turbo', 'Turbo', 18, UnderlyingAsset['eth:turbo']), ofcerc20('509e7614-4134-4f4a-b107-cd3b4783a558', 'ofceth:spx', 'SPX6900', 8, UnderlyingAsset['eth:spx']), ofcerc20('2c863d38-6d3b-438a-983d-79f20aff030a', 'ofceth:kava', 'Kava', 6, UnderlyingAsset['eth:kava']), - ofcerc20('53a414b4-cefa-4a81-936c-9ecbb2da22cc', 'ofceth:gousd', 'goUSD', 6, UnderlyingAsset['eth:gousd']), + ofcerc20( + '53a414b4-cefa-4a81-936c-9ecbb2da22cc', + 'ofceth:gousd', + 'goUSD', + 6, + UnderlyingAsset['eth:gousd'], + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('42e30f8e-0e75-4e3f-bb9c-c4f8ec6d819e', 'ofceth:ryt', 'Real Yield Token', 18, UnderlyingAsset['eth:ryt']), ofcerc20('0bdaaf36-bd01-4cce-96b5-60a9d2c82c36', 'ofceth:guild', 'BlockchainSpace', 18, UnderlyingAsset['eth:guild']), ofcerc20('f9bb204c-cfc7-406a-8e4e-6205efb9b187', 'ofceth:rdo', 'Reddio', 18, UnderlyingAsset['eth:rdo']), @@ -758,7 +804,15 @@ export const ofcErc20Coins = [ ofcerc20('ca7e5745-af28-432a-8411-b8e3aaf38416', 'ofcgold', 'XBullion Token', 8, underlyingAssetForSymbol('gold')), ofcerc20('0330cfb6-43be-4cc6-b905-a09706a5e9ae', 'ofcgot', 'GOExchange', 18, underlyingAssetForSymbol('got')), ofcerc20('cccb78f7-8d8a-4b73-b915-a3754ac3d75b', 'ofcgto', 'Gifto', 5, underlyingAssetForSymbol('gto')), - ofcerc20('87290914-5a67-46a1-a2d6-26ba243dae33', 'ofcgusd', 'Gemini Dollar', 2, underlyingAssetForSymbol('gusd')), + ofcerc20( + '87290914-5a67-46a1-a2d6-26ba243dae33', + 'ofcgusd', + 'Gemini Dollar', + 2, + underlyingAssetForSymbol('gusd'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('c0089eb1-92d9-4775-bbf7-a0a60434c23f', 'ofcgxc', 'Game X Coin', 18, underlyingAssetForSymbol('gxc')), ofcerc20('a9bc71ef-b85e-4b3a-9949-7de54626258b', 'ofcgyen', 'Gmo JPY', 6, underlyingAssetForSymbol('gyen')), ofcerc20('0081146a-bde1-4bf4-abe7-703d90d5e1ec', 'ofchcn', 'Himalaya Coin', 18, underlyingAssetForSymbol('hcn')), @@ -914,7 +968,15 @@ export const ofcErc20Coins = [ ofcerc20('9a4e4778-5188-4fbc-8365-9dc0ec667692', 'ofcmpay', 'MenaPay', 18, underlyingAssetForSymbol('mpay')), ofcerc20('b6211763-0265-4b62-b611-8ed352c97516', 'ofcmtcn', 'Multiven', 18, underlyingAssetForSymbol('mtcn')), ofcerc20('a880c391-4c5a-4748-9bc7-1f36334562ec', 'ofcmta', 'Meta', 18, underlyingAssetForSymbol('mta')), - ofcerc20('a34f03a4-6e4f-45db-b00b-936f07127359', 'ofcmusd', 'mStable USD', 18, underlyingAssetForSymbol('musd')), + ofcerc20( + 'a34f03a4-6e4f-45db-b00b-936f07127359', + 'ofcmusd', + 'mStable USD', + 18, + underlyingAssetForSymbol('musd'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('8cbe862a-ce3e-4d0d-ab77-e854422d7a94', 'ofcmvi', 'Metaverse Index', 18, underlyingAssetForSymbol('mvi')), ofcerc20( '6213e9f1-19eb-4464-8353-308d0fe2c4a0', @@ -1047,7 +1109,15 @@ export const ofcErc20Coins = [ 18, underlyingAssetForSymbol('ns2drp') ), - ofcerc20('a48c13d4-387f-48f9-8ac6-add674f2dc60', 'ofcpusd', 'PegUSD Token', 8, underlyingAssetForSymbol('pusd')), + ofcerc20( + 'a48c13d4-387f-48f9-8ac6-add674f2dc60', + 'ofcpusd', + 'PegUSD Token', + 8, + underlyingAssetForSymbol('pusd'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('3ed1f00c-be87-45f4-b393-4a423422361f', 'ofcpush', 'Push Protocol', 18, underlyingAssetForSymbol('push')), ofcerc20('188194de-9728-4e29-997f-00dba0c224b4', 'ofcpv01', 'PV01', 18, underlyingAssetForSymbol('pv01')), ofcerc20( @@ -1106,7 +1176,15 @@ export const ofcErc20Coins = [ ofcerc20('a808f5a1-fd21-40ef-8be0-ffd1c9c61015', 'ofcringx', 'Ringx Token', 18, underlyingAssetForSymbol('ringx')), ofcerc20('07268667-86cc-4ae6-a986-2c39523ad2b8', 'ofcrio', 'Realio Network', 18, underlyingAssetForSymbol('rio')), ofcerc20('e6adc9cf-8125-4ff8-b34d-1a412060d88a', 'ofcrlc', 'Iexec Rlc', 9, underlyingAssetForSymbol('rlc')), - ofcerc20('fd56e938-5f94-4b19-b2c5-f15a2af50595', 'ofcrlusd', 'Ripple USD', 18, underlyingAssetForSymbol('rlusd')), + ofcerc20( + 'fd56e938-5f94-4b19-b2c5-f15a2af50595', + 'ofcrlusd', + 'Ripple USD', + 18, + underlyingAssetForSymbol('rlusd'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('8728409f-5e31-4fb1-a63e-e42a4fdd950a', 'ofcrook', 'KeeperDAO', 18, underlyingAssetForSymbol('rook')), ofcerc20('31f7b2ab-a7bc-463f-ac87-930cf8f3e203', 'ofcronc', 'RONCoin', 18, underlyingAssetForSymbol('ronc')), ofcerc20('8f5135de-5f0c-4a1c-8158-ccede1d39c30', 'ofcroobee', 'ROOBEE', 18, underlyingAssetForSymbol('roobee')), @@ -1313,7 +1391,9 @@ export const ofcErc20Coins = [ 'ofcupusd', 'Universal US Dollar', 2, - underlyingAssetForSymbol('upusd') + underlyingAssetForSymbol('upusd'), + undefined, + [CoinFeature.STABLECOIN] ), ofcerc20( '24415d14-0397-45b7-87c8-1aa680d11b79', @@ -1327,12 +1407,30 @@ export const ofcErc20Coins = [ 'ofcusdx', 'eToro United States Dollar', 18, - underlyingAssetForSymbol('usdx') + underlyingAssetForSymbol('usdx'), + undefined, + [CoinFeature.STABLECOIN] ), ofcerc20('fd6f7e4e-3a5e-4868-91af-399b8e4d76dd', 'ofcusg', 'US Gold', 9, underlyingAssetForSymbol('usg')), ofcerc20('7e1bc370-f226-4111-b51b-a3dd8ed54fb7', 'ofcuspx', 'USPX Token', 0, underlyingAssetForSymbol('uspx')), - ofcerc20('d5b18be0-8263-4729-84fe-57501c848e29', 'ofcust', 'TerraUSD', 18, underlyingAssetForSymbol('ust')), - ofcerc20('f55ca795-c8ed-4e8f-b137-bf74b5868503', 'ofcusx', 'USD Stable Token', 18, underlyingAssetForSymbol('usx')), + ofcerc20( + 'd5b18be0-8263-4729-84fe-57501c848e29', + 'ofcust', + 'TerraUSD', + 18, + underlyingAssetForSymbol('ust'), + undefined, + [CoinFeature.STABLECOIN] + ), + ofcerc20( + 'f55ca795-c8ed-4e8f-b137-bf74b5868503', + 'ofcusx', + 'USD Stable Token', + 18, + underlyingAssetForSymbol('usx'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('e0142e63-a344-49df-a671-bca12013d88c', 'ofcusyc', 'US Yield Coin', 6, underlyingAssetForSymbol('usyc')), ofcerc20('c7f9e986-8eb8-445f-b2d2-b029428024c5', 'ofcutk', 'UTrust', 18, underlyingAssetForSymbol('utk')), ofcerc20('59815a51-0298-43bf-9e7c-8aa58ba4d725', 'ofcutk1', 'UTrust Token', 18, underlyingAssetForSymbol('utk1')), @@ -1453,7 +1551,15 @@ export const ofcErc20Coins = [ ofcerc20('a528f520-dc66-4154-a368-904c9914ff3f', 'ofczlw', 'Zelwin', 18, underlyingAssetForSymbol('zlw')), ofcerc20('e669308b-14c0-4c3e-8c3a-4e12ac9701cf', 'ofczmt', 'Zipmex Token', 18, underlyingAssetForSymbol('zmt')), ofcerc20('d1ef8829-7f82-4697-8f5e-4430e1c3c851', 'ofczoom', 'CoinZoom', 18, underlyingAssetForSymbol('zoom')), - ofcerc20('41930258-22df-4edb-80db-912b097c92ec', 'ofczusd', 'Z.com Usd', 6, underlyingAssetForSymbol('zusd')), + ofcerc20( + '41930258-22df-4edb-80db-912b097c92ec', + 'ofczusd', + 'Z.com Usd', + 6, + underlyingAssetForSymbol('zusd'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20( '5246d956-3dfb-4de2-a5e4-f5d683c451ab', 'ofcadabear', @@ -1874,7 +1980,9 @@ export const ofcErc20Coins = [ 18, underlyingAssetForSymbol('xtzbull') ), - ofcerc20('0844dddc-d125-460d-b23b-e098d7d4ed98', 'ofcxusd', 'XUSD', 6, underlyingAssetForSymbol('xusd')), + ofcerc20('0844dddc-d125-460d-b23b-e098d7d4ed98', 'ofcxusd', 'XUSD', 6, underlyingAssetForSymbol('xusd'), undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20('22e95bde-0569-4cc0-991d-275fa548e792', 'ofcxvs', 'Venus XVS', 18, underlyingAssetForSymbol('xvs')), ofcerc20('522523cd-0716-4a10-a785-06d424286bed', 'ofcxzk', 'Mystiko Token', 18, underlyingAssetForSymbol('xzk')), ofcerc20( @@ -1923,7 +2031,9 @@ export const ofcErc20Coins = [ 'ofcsynth-susd', 'Synth sUSD', 18, - underlyingAssetForSymbol('synth-susd') + underlyingAssetForSymbol('synth-susd'), + undefined, + [CoinFeature.STABLECOIN] ), ofcerc20('2c14c22a-cdc9-4f5e-b6a4-6201f4fc48d9', 'ofcsusde', 'Staked USDe', 18, underlyingAssetForSymbol('susde')), ofcerc20('39a6d9e6-9f64-4c66-b6d2-22c4982cb488', 'ofcswag', 'Swag Token', 18, underlyingAssetForSymbol('swag')), @@ -2028,7 +2138,9 @@ export const ofcErc20Coins = [ ofcerc20('947b3b4e-280b-45be-9455-aabd7138c075', 'ofcatf', 'AntFarm Finance', 9, underlyingAssetForSymbol('atf')), ofcerc20('c8428197-606c-4950-89fc-97e8adcd74a5', 'ofcatl', 'ATLANT', 18, underlyingAssetForSymbol('atl')), ofcerc20('a368ec29-3204-4699-9815-c0d7a8683d50', 'ofcatlas', 'Star Atlas', 8, underlyingAssetForSymbol('atlas')), - ofcerc20('ad394bb6-3c1e-4c0d-9502-a13b23f69fc1', 'ofcausd', 'AUSD₮', 6, underlyingAssetForSymbol('ausd')), + ofcerc20('ad394bb6-3c1e-4c0d-9502-a13b23f69fc1', 'ofcausd', 'AUSD₮', 6, underlyingAssetForSymbol('ausd'), undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20( 'a7a5e765-af73-4769-a10b-88379386656b', 'ofcausdt', @@ -2631,7 +2743,15 @@ export const ofcErc20Coins = [ ofcerc20('dce641ae-8a76-4212-9dfc-a5ba981259c8', 'ofcorc', 'Orbit Chain', 18, underlyingAssetForSymbol('orc')), ofcerc20('8c5c434b-3ffa-46fc-8fb9-bc88d73a9363', 'ofcorn', 'Orion Protocol', 8, underlyingAssetForSymbol('orn')), ofcerc20('9d4c639f-29f1-4941-be3e-dfc23291b379', 'ofcos', 'OpenSea', 18, underlyingAssetForSymbol('os')), - ofcerc20('24daf055-c62a-43dc-844d-cb85361294e1', 'ofcousd', 'OpenSea', 18, underlyingAssetForSymbol('ousd')), + ofcerc20( + '24daf055-c62a-43dc-844d-cb85361294e1', + 'ofcousd', + 'OpenSea', + 18, + underlyingAssetForSymbol('ousd'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20( '015fe891-e2b9-4f89-949e-7b0682e0c163', 'ofcpaxgbear', @@ -2849,7 +2969,9 @@ export const ofcErc20Coins = [ underlyingAssetForSymbol('usdc-pos-wormhole') ), ofcerc20('6eea1886-280f-4fef-b392-8d0299437dfd', 'ofcuscc', 'USCC', 8, underlyingAssetForSymbol('uscc')), - ofcerc20('930506e9-5672-4a26-bc09-58df72267cac', 'ofcusdk', 'USDK', 18, underlyingAssetForSymbol('usdk')), + ofcerc20('930506e9-5672-4a26-bc09-58df72267cac', 'ofcusdk', 'USDK', 18, underlyingAssetForSymbol('usdk'), undefined, [ + CoinFeature.STABLECOIN, + ]), ofcerc20( '1c891223-1ffb-409d-89b9-52e57c7fc02a', 'ofcusdtbear', @@ -2974,13 +3096,23 @@ export const ofcErc20Coins = [ 6, underlyingAssetForSymbol('eth:rtbl') ), - ofcerc20('2bd66ef0-5767-4739-baf4-0eb862e5675e', 'ofceth:usd1', 'USD1', 18, underlyingAssetForSymbol('eth:usd1')), + ofcerc20( + '2bd66ef0-5767-4739-baf4-0eb862e5675e', + 'ofceth:usd1', + 'USD1', + 18, + underlyingAssetForSymbol('eth:usd1'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20( '80bfa43e-f01c-42bd-bd14-269b88948bbf', 'ofceth:usdg', 'Global Dollar', 6, - underlyingAssetForSymbol('eth:usdg') + underlyingAssetForSymbol('eth:usdg'), + undefined, + [CoinFeature.STABLECOIN] ), ofcerc20( '597fa9d6-2cc5-451e-b964-c18ca41ef3df', @@ -3002,7 +3134,9 @@ export const ofcErc20Coins = [ 'ofceth:usdd', 'Decentralized USD', 18, - underlyingAssetForSymbol('eth:usdd') + underlyingAssetForSymbol('eth:usdd'), + undefined, + [CoinFeature.STABLECOIN] ), ofcerc20('2732c732-1c77-4638-92a2-b2a6771e584b', 'ofceth:mx', 'MX Token', 18, underlyingAssetForSymbol('eth:mx')), ofcerc20( @@ -3017,7 +3151,9 @@ export const ofcErc20Coins = [ 'ofceth:usd0', 'Usual USD', 18, - underlyingAssetForSymbol('eth:usd0') + underlyingAssetForSymbol('eth:usd0'), + undefined, + [CoinFeature.STABLECOIN] ), ofcerc20( 'f0c97bb2-a778-4605-94d6-e3c82bf68821', @@ -3247,7 +3383,15 @@ export const ofcErc20Coins = [ 18, underlyingAssetForSymbol('eth:ibenji') ), - ofcerc20('c3a5c5d2-5d6e-4c9b-9f3e-6d2a4e5b6c8d', 'ofceth:usds', 'USDS', 18, underlyingAssetForSymbol('eth:usds')), + ofcerc20( + 'c3a5c5d2-5d6e-4c9b-9f3e-6d2a4e5b6c8d', + 'ofceth:usds', + 'USDS', + 18, + underlyingAssetForSymbol('eth:usds'), + undefined, + [CoinFeature.STABLECOIN] + ), ofcerc20('b4aed05b-b667-4b1e-b88e-19219989c1e4', 'ofceth:perc', 'Perion', 18, underlyingAssetForSymbol('eth:perc')), ofcerc20('d6ba9776-1b5b-4364-8afd-594363a01ec1', 'ofceth:cfg', 'Centrifuge', 18, underlyingAssetForSymbol('eth:cfg')), ofcerc20('d3ec2f84-fa4d-42a7-85f2-7d0e932b3bb0', 'ofceth:plume', 'Plume', 18, underlyingAssetForSymbol('eth:plume')), @@ -3491,7 +3635,7 @@ export const tOfcErc20Coins = [ 6, UnderlyingAsset.TUSDS, undefined, - undefined, + [CoinFeature.STABLECOIN], undefined, undefined, undefined, @@ -3505,7 +3649,7 @@ export const tOfcErc20Coins = [ 6, UnderlyingAsset.TGOUSD, undefined, - undefined, + [CoinFeature.STABLECOIN], undefined, undefined, undefined, @@ -3519,7 +3663,7 @@ export const tOfcErc20Coins = [ 18, UnderlyingAsset['hteth:stgusd1'], undefined, - undefined, + [CoinFeature.STABLECOIN], undefined, undefined, undefined, @@ -3547,7 +3691,7 @@ export const tOfcErc20Coins = [ 6, UnderlyingAsset['hteth:gousd'], undefined, - undefined, + [CoinFeature.STABLECOIN], undefined, undefined, undefined, @@ -3561,7 +3705,7 @@ export const tOfcErc20Coins = [ 18, UnderlyingAsset['hteth:usd1'], undefined, - undefined, + [CoinFeature.STABLECOIN], undefined, undefined, undefined, diff --git a/modules/statics/src/coins/polygonTokens.ts b/modules/statics/src/coins/polygonTokens.ts index fc0719796c..bd988473bb 100644 --- a/modules/statics/src/coins/polygonTokens.ts +++ b/modules/statics/src/coins/polygonTokens.ts @@ -19,7 +19,7 @@ export const polygonTokens = [ 6, '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', UnderlyingAsset['polygon:usdc'], - POLYGON_TOKEN_FEATURES_WITH_FRANKFURT + [...POLYGON_TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN] ), polygonErc20( '5a17fe9c-3b78-4f12-b419-ed3662f4e985', @@ -28,7 +28,7 @@ export const polygonTokens = [ 6, '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359', UnderlyingAsset['polygon:usdcv2'], - POLYGON_TOKEN_FEATURES + [...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), polygonErc20( 'dee07c7a-96cb-4dbb-906c-b0ad98160cff', @@ -37,7 +37,7 @@ export const polygonTokens = [ 6, '0xc2132d05d31c914a87c6611c10748aeb04b58e8f', UnderlyingAsset['polygon:usdt'], - POLYGON_TOKEN_FEATURES_WITH_FRANKFURT + [...POLYGON_TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN] ), polygonErc20( '7e891f15-a29e-4a01-9ff5-d739cfc171f9', @@ -118,7 +118,7 @@ export const polygonTokens = [ 18, '0x2e1ad108ff1d8c782fcbbb89aad783ac49586756', UnderlyingAsset['polygon:tusd'], - POLYGON_TOKEN_FEATURES + [...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), polygonErc20( 'd137313c-b6da-4ff7-806e-fefc10a931d5', @@ -143,7 +143,7 @@ export const polygonTokens = [ 18, '0x9c9e5fd8bbc25984b178fdce6117defa39d2db39', UnderlyingAsset['polygon:busd'], - POLYGON_TOKEN_FEATURES + [...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), polygonErc20( '467391b7-65a3-48a4-88da-96e024f553ac', @@ -722,7 +722,7 @@ export const polygonTokens = [ 2, '0xc8a94a3d3d2dabc3c1caffffdca6a7543c3e3e65', UnderlyingAsset['polygon:gusd'], - POLYGON_TOKEN_FEATURES + [...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), polygonErc20( '0942e4bb-540a-4fe9-a5ff-d5783fa773c9', @@ -1079,7 +1079,7 @@ export const polygonTokens = [ 6, '0x5c3552f94a322c4e8d4d4c627a3badf8257d1499', UnderlyingAsset['polygon:xusd'], - POLYGON_TOKEN_FEATURES + [...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), // testnet polygon tokens tpolygonErc20( @@ -1134,7 +1134,7 @@ export const polygonTokens = [ 6, '0x41e94eb019c0762f9bfcf9fb1e58725bfb0e7582', UnderlyingAsset['tpolygon:usdc'], - POLYGON_TOKEN_FEATURES + [...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tpolygonErc20( '6a24d660-0f7b-457e-bd5b-238ca34848ff', @@ -1152,7 +1152,7 @@ export const polygonTokens = [ 6, '0xbcf39d8616d15fd146dd5db4a86b4f244a9bc772', UnderlyingAsset['tpolygon:usdt'], - POLYGON_TOKEN_FEATURES + [...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tpolygonErc20( '2262a12e-1154-4f66-9f52-c2554454d2a1', diff --git a/modules/statics/src/coins/sip10Tokens.ts b/modules/statics/src/coins/sip10Tokens.ts index 5f260eb99a..739f0610be 100644 --- a/modules/statics/src/coins/sip10Tokens.ts +++ b/modules/statics/src/coins/sip10Tokens.ts @@ -1,5 +1,5 @@ import { sip10Token, tsip10Token } from '../account'; -import { UnderlyingAsset } from '../base'; +import { CoinFeature, UnderlyingAsset } from '../base'; import { STX_TOKEN_FEATURES } from '../coinFeatures'; // SIP10 tokens' assetId can be obtained as follows: @@ -42,7 +42,7 @@ export const sip10Tokens = [ 6, 'SP3Y2ZSH8P7D50B0VBTSX11S7XSG24M1VB9YFQA4K.token-aeusdc::aeUSDC', UnderlyingAsset['stx:aeusdc'], - STX_TOKEN_FEATURES + [...STX_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), sip10Token( 'baaf7ebe-b931-4a5e-a173-ab514688df73', @@ -51,7 +51,7 @@ export const sip10Tokens = [ 8, 'SPN5AKG35QZSK2M8GAMR4AFX45659RJHDW353HSG.susdh-token-v1::susdh', UnderlyingAsset['stx:susdh'], - STX_TOKEN_FEATURES + [...STX_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), sip10Token( '83fbaa8a-eeda-496a-9c38-98ef592a008b', @@ -60,7 +60,7 @@ export const sip10Tokens = [ 8, 'SPN5AKG35QZSK2M8GAMR4AFX45659RJHDW353HSG.usdh-token-v1::usdh', UnderlyingAsset['stx:usdh'], - STX_TOKEN_FEATURES + [...STX_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), sip10Token( 'c52dd53f-6db4-4fda-ba5f-0c0900e23caf', diff --git a/modules/statics/src/coins/solTokens.ts b/modules/statics/src/coins/solTokens.ts index de44528657..f86c516d09 100644 --- a/modules/statics/src/coins/solTokens.ts +++ b/modules/statics/src/coins/solTokens.ts @@ -76,7 +76,7 @@ export const solTokens = [ '2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH', // https://solscan.io/token/2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH '2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH', UnderlyingAsset['sol:usdg'], - SOL_TOKEN_FEATURES, + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), solToken( @@ -87,7 +87,7 @@ export const solTokens = [ 'AUSD1jCcCyPLybk1YnvPWsHQSrZ46dxwoMniN4N2UEB9', // https://solscan.io/token/AUSD1jCcCyPLybk1YnvPWsHQSrZ46dxwoMniN4N2UEB9 'AUSD1jCcCyPLybk1YnvPWsHQSrZ46dxwoMniN4N2UEB9', UnderlyingAsset['sol:ausd'], - SOL_TOKEN_FEATURES, + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), solToken( @@ -162,7 +162,7 @@ export const solTokens = [ 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', // https://explorer.solana.com/address/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', UnderlyingAsset['sol:usdc'], - SOL_TOKEN_FEATURES_WITH_FRANKFURT + [...SOL_TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN] ), solToken( '2a41c38d-c79a-4734-ae3a-c60e4d1f2d99', @@ -202,7 +202,7 @@ export const solTokens = [ 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB', // https://explorer.solana.com/address/Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB', UnderlyingAsset['sol:usdt'], - SOL_TOKEN_FEATURES_WITH_FRANKFURT + [...SOL_TOKEN_FEATURES_WITH_FRANKFURT, CoinFeature.STABLECOIN] ), solToken( '4d631f91-02e2-4b89-af01-7b42cb61b1bb', @@ -272,7 +272,7 @@ export const solTokens = [ 'FtgGSFADXBtroxq8VCausXRr2of47QBf5AS1NtZCu4GD', 'FtgGSFADXBtroxq8VCausXRr2of47QBf5AS1NtZCu4GD', UnderlyingAsset.BRZ, - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( '6b734108-6349-43cd-a84e-8af858f267b5', @@ -629,7 +629,7 @@ export const solTokens = [ 'A94X2fRy3wydNShU4dRaDyap2UuoeWJGWyATtyp61WZf', 'A94X2fRy3wydNShU4dRaDyap2UuoeWJGWyATtyp61WZf', UnderlyingAsset.TRYB, - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( '3ef9c7a1-913d-455d-a2c3-ab6ddef6ae7c', @@ -779,7 +779,7 @@ export const solTokens = [ 'CASHVDm2wsJXfhj6VWxb7GiMdoLc17Du7paH4bNr5woT', 'CASHVDm2wsJXfhj6VWxb7GiMdoLc17Du7paH4bNr5woT', UnderlyingAsset.CASH, - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( 'ee788c01-dfd6-4192-8636-c237ef49e2d6', @@ -946,7 +946,7 @@ export const solTokens = [ 'Ea5SjE2Y6yvCeW5dYTn7PYMuW5ikXkvbGdcmSnXeaLjS', 'Ea5SjE2Y6yvCeW5dYTn7PYMuW5ikXkvbGdcmSnXeaLjS', UnderlyingAsset.PAI, - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( 'd9108c43-75cd-4b5a-88b7-b94076083927', @@ -1096,7 +1096,7 @@ export const solTokens = [ '21jZ1ESEFYh9SBwjT5gqE3jHv3JnaGhgvypLTR96QXW9', '21jZ1ESEFYh9SBwjT5gqE3jHv3JnaGhgvypLTR96QXW9', UnderlyingAsset.SUSD, - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( 'c2b1e6bf-50b1-4f06-b0c4-3df1f985b6cb', @@ -1126,7 +1126,7 @@ export const solTokens = [ 'USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX', 'USDH1SM1ojwWUga67PGrgFWUHibbjqMvuMaDkRJTgkX', UnderlyingAsset.USDH, - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( 'f1dff494-7e67-40ce-af32-dabc35ee0fd4', @@ -1186,7 +1186,7 @@ export const solTokens = [ '83LGLCm7QKpYZbX8q4W2kYWbtt8NJBwbVwEepzkVnJ9y', '83LGLCm7QKpYZbX8q4W2kYWbtt8NJBwbVwEepzkVnJ9y', UnderlyingAsset.XUSD, - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( '11c51225-d615-4c5b-93de-be145435d6b1', @@ -2180,7 +2180,7 @@ export const solTokens = [ '2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo', '2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo', UnderlyingAsset['sol:pyusd'], - SOL_TOKEN_FEATURES, + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), solToken( @@ -2912,7 +2912,7 @@ export const solTokens = [ 'USD1ttGY1N17NEEHLmELoaybftRBUSErhqYiQzvEmuB', 'USD1ttGY1N17NEEHLmELoaybftRBUSErhqYiQzvEmuB', UnderlyingAsset['sol:usd1'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), solToken( 'c1890b01-02d5-456c-8aab-f9ba2a46496b', @@ -2952,7 +2952,7 @@ export const solTokens = [ 'usdkbee86pkLyRmxfFCdkyySpxRb5ndCxVsK2BkRXwX', 'usdkbee86pkLyRmxfFCdkyySpxRb5ndCxVsK2BkRXwX', UnderlyingAsset['sol:usdk'], - SOL_TOKEN_FEATURES, + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), solToken( @@ -2963,7 +2963,7 @@ export const solTokens = [ 'usdkyPPxgV7sfNyKb8eDz66ogPrkRXG3wS2FVb6LLUf', 'usdkyPPxgV7sfNyKb8eDz66ogPrkRXG3wS2FVb6LLUf', UnderlyingAsset['sol:usdky'], - SOL_TOKEN_FEATURES, + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), solToken( @@ -2994,7 +2994,7 @@ export const solTokens = [ '8smindLdDuySY6i2bStQX9o8DVhALCXCMbNxD98unx35', '8smindLdDuySY6i2bStQX9o8DVhALCXCMbNxD98unx35', UnderlyingAsset['sol:usdcv'], - SOL_TOKEN_FEATURES, + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), solToken( @@ -3065,7 +3065,7 @@ export const solTokens = [ 'F4uLeXJoFz3hw13MposuwaQbMcZbCjqvEGPPeRRB1Byf', 'F4uLeXJoFz3hw13MposuwaQbMcZbCjqvEGPPeRRB1Byf', UnderlyingAsset['tsol:usdc'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tsolToken( '6dcb8ff8-be59-471f-9e57-c3b68735d71e', @@ -3075,7 +3075,7 @@ export const solTokens = [ '4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU', '4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU', UnderlyingAsset['tsol:usdc'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tsolToken( '476582b6-1b18-471d-bdfd-ff29b8cdfd39', @@ -3105,7 +3105,7 @@ export const solTokens = [ '9cgpBeNZ2HnLda7NWaaU1i3NyTstk2c4zCMUcoAGsi9C', '9cgpBeNZ2HnLda7NWaaU1i3NyTstk2c4zCMUcoAGsi9C', UnderlyingAsset['tsol:usdt'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tsolToken( '7ad7512f-90ca-44e3-9238-ae78c1a3e57d', @@ -3156,7 +3156,7 @@ export const solTokens = [ 'F5eiWDW9nkme1gVYaZ4uBmw4RYH8qUdLwkAEQWh1mCPW', 'F5eiWDW9nkme1gVYaZ4uBmw4RYH8qUdLwkAEQWh1mCPW', UnderlyingAsset['sol:usd1'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), tsolToken( '6405b589-e0cf-4481-a48f-60f8416e21ca', @@ -3166,6 +3166,6 @@ export const solTokens = [ '88FxbeGaabmx179rpYUzEkp8YAeLNPyLPa68wsEgukyQ', '88FxbeGaabmx179rpYUzEkp8YAeLNPyLPa68wsEgukyQ', UnderlyingAsset['sol:usd1'], - SOL_TOKEN_FEATURES + [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN] ), ];