From ee855ffcf3a542e61373b3f7592710adcaedc0a2 Mon Sep 17 00:00:00 2001 From: Kashif Jamil Date: Fri, 27 Sep 2024 16:43:18 +0530 Subject: [PATCH 1/2] feat(sdk-coin-eth): added new tokens TICKET: COIN-1870 --- modules/statics/src/base.ts | 13 +++++ modules/statics/src/coins.ts | 104 +++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 4af1675057..ee1407cb66 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -839,6 +839,7 @@ export enum UnderlyingAsset { GENIE = 'genie', GF = 'gf', GFI = 'gfi', + GHST = 'ghst', GHUB = 'ghub', GIGDROP = 'gigdrop', GIV = 'giv', @@ -889,6 +890,8 @@ export enum UnderlyingAsset { HEX = 'hex', HFT = 'hft', HGET = 'hget', + HIGH = 'high', + HIFI = 'hifi', HIT = 'hit', HKDX = 'hkdx', HLC = 'hlc', @@ -993,6 +996,7 @@ export enum UnderlyingAsset { LEOHEDGE = 'leohedge', LEOMOON = 'leomoon', LEV = 'lev', + LEVER = 'lever', LGO = 'lgo', LIEN = 'lien', LIF3 = 'lif3', @@ -1008,10 +1012,12 @@ export enum UnderlyingAsset { LKR = 'lkr', LMWR = 'lmwr', LNC = 'lnc', + LOKA = 'loka', LOOKS = 'looks', LOOM = 'loom', LOOM1 = 'loom1', LOVE = 'love', + LOVELY = 'lovely', LOWB = 'lowb', LPT = 'lpt', LQID = 'lqid', @@ -1019,11 +1025,13 @@ export enum UnderlyingAsset { LRC = 'lrc', LRCV2 = 'lrcv2', LSETH = 'lseth', + LSK = 'lsk', LTCBEAR = 'ltcbear', LTCBULL = 'ltcbull', LTCDOOM = 'ltcdoom', LTCHEDGE = 'ltchedge', LTCMOON = 'ltcmoon', + LTO = 'lto', LUA = 'lua', LUNA = 'luna', LUNAWORMHOLE = 'lunawormhole', @@ -1841,6 +1849,7 @@ export enum UnderlyingAsset { 'avaxc:note' = 'avaxc:note', 'avaxc:wrose' = 'avaxc:wrose', 'avaxc:swap' = 'avaxc:swap', + 'avaxc:tico' = 'avaxc:tico', // End FTX missing AVAXC tokens // polygon Token ERC-20 @@ -2051,6 +2060,9 @@ export enum UnderlyingAsset { 'bsc:volt' = 'bsc:volt', 'tbsc:busd' = 'tbsc:busd', 'bsc:city' = 'bsc:city', + 'bsc:gft' = 'bsc:gft', + 'bsc:glmr' = 'bsc:glmr', + 'bsc:gmt' = 'bsc:gmt', // BSC NFTs // generic NFTs 'erc721:bsctoken' = 'erc721:bsctoken', @@ -2194,6 +2206,7 @@ export enum UnderlyingAsset { 'sol:io' = 'sol:io', // TRX tokens + 'trx:htx' = 'trx:htx', 'trx:jst' = 'trx:jst', 'trx:tusd' = 'trx:tusd', 'trx:win' = 'trx:win', diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 4ab3ceec6b..9ac0de5499 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -4089,6 +4089,14 @@ export const coins = CoinMap.fromCoins([ '0xeb40045347531f06179ffb3c6be33d5b35a52ebd', UnderlyingAsset.GHUB ), + erc20( + 'd3c6a9b2-1551-401c-b576-db429d48b895', + 'ghst', + 'Aavegotchi', + 18, + '0x3F382DbD960E3a9bbCeaE22651E88158d2791550', + UnderlyingAsset.GHST + ), erc20( '2eb02229-65f4-46dc-9ff0-300ac647214c', 'gigdrop', @@ -4241,6 +4249,22 @@ export const coins = CoinMap.fromCoins([ '0x7968bc6a03017ea2de509aaa816f163db0f35148', UnderlyingAsset.HGET ), + erc20( + '50bc024c-f6e2-4b69-8010-be20243a1c35', + 'high', + 'Highstreet', + 6, + '0x71Ab77b7dbB4fa7e017BC15090b2163221420282', + UnderlyingAsset.HIGH + ), + erc20( + '713f7531-d5ba-4c38-9c21-64458cb1bcf9', + 'hifi', + 'Hifi Finance', + 6, + '0x4b9278b94a1112cAD404048903b8d343a810B07e', + UnderlyingAsset.HIFI + ), erc20( '3e3c2765-2d55-4d18-b5a8-f5cca0d3dade', 'hkdx', @@ -4786,6 +4810,14 @@ export const coins = CoinMap.fromCoins([ '0x6beb418fc6e1958204ac8baddcf109b8e9694966', UnderlyingAsset.LNC ), + erc20( + '8b4aa7e7-6b76-4571-875f-9e2a45d690a4', + 'loka', + 'League of Kingdoms', + 18, + '0x61E90A50137E1F645c9eF4a0d3A4f01477738406', + UnderlyingAsset.LOKA + ), erc20( '903f10ef-6c5a-4049-9d84-584cae7cf3a6', 'looks', @@ -4834,6 +4866,14 @@ export const coins = CoinMap.fromCoins([ '0x48d93d8c45fb25125f13cdd40529bbeaa97a6565', UnderlyingAsset.LSETH ), + erc20( + 'f55a200e-3eba-4336-9f95-4b0578c10d0b', + 'lsk', + 'Lisk', + 18, + '0x6033F7f88332B8db6ad452B7C6D5bB643990aE3f', + UnderlyingAsset.LSK + ), erc20( '69a336d1-d401-4efc-b613-615c6f19f450', 'ltcbull', @@ -9979,6 +10019,14 @@ export const coins = CoinMap.fromCoins([ '0x0f4ca92660efad97a9a70cb0fe969c755439772c', UnderlyingAsset.LEV ), + erc20( + '5d760978-16f0-4575-85d9-2cc7a5d359fe', + 'lever', + 'LeverFI', + 18, + '0x4B5f49487ea7B3609b1aD05459BE420548789f1f', + UnderlyingAsset.LEVER + ), erc20( '2963170f-2c71-489a-b772-7e571b2683cb', 'lien', @@ -10019,6 +10067,14 @@ export const coins = CoinMap.fromCoins([ '0x5380442d3c4ec4f5777f551f5edd2fa0f691a27c', UnderlyingAsset.LOVE ), + erc20( + 'ce92918a-54ab-4d78-9b2d-dbc1b6a58b02', + 'lovely', + 'Lovely Finance', + 18, + '0x0f6d4d4643A514132F84F4a270946dB3c7Cb701C', + UnderlyingAsset.LOVELY + ), erc20( '24929a4b-d237-4224-8580-b425bcf0cfaa', 'lpt', @@ -10051,6 +10107,14 @@ export const coins = CoinMap.fromCoins([ '0x08da69ca2bfe378f384cb76c84d6ded701ec65c7', UnderlyingAsset.LTCMOON ), + erc20( + 'ad6681c9-a517-4592-9aed-994804b133ce', + 'lto', + 'LTO Network', + 8, + '0xd01409314aCb3b245CEa9500eCE3F6Fd4d70ea30', + UnderlyingAsset.LTO + ), erc20( '7189b0aa-b4be-4fe9-8ad6-c02a948a21c3', 'luna-wormhole', @@ -11990,6 +12054,30 @@ export const coins = CoinMap.fromCoins([ '0x4e7e8579a9edc6283011be942537baf9284bebe1', UnderlyingAsset['bsc:city'] ), + bscToken( + '5c7702c4-8eb8-423b-ab23-eff15a6a8a1c', + 'bsc:gft', + 'Gifto', + 18, + '0x72fF5742319eF07061836F5C924aC6D72c919080', + UnderlyingAsset['bsc:gft'] + ), + bscToken( + '71861b2e-03b0-4101-81ea-ea35b13d48d1', + 'bsc:glmr', + 'Moonbeam', + 18, + '0x76F3CE6aF26de7A9854dBD153ACd8f46a2Cf5133', + UnderlyingAsset['bsc:glmr'] + ), + bscToken( + 'bcc8389e-a3bf-493d-89a8-3d95676e817c', + 'bsc:gmt', + 'Green Metaverse Token', + 18, + '0x3019BF2a2eF8040C242C9a4c5c4BD4C81678b2A1', + UnderlyingAsset['bsc:gmt'] + ), bscToken( '290801fc-fc48-4b5d-b5e7-abbc2101de13', 'bsc:firo', @@ -12914,6 +13002,14 @@ export const coins = CoinMap.fromCoins([ 'TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S', UnderlyingAsset.SUN ), + tronToken( + 'dd0e0950-ff1a-4302-b12d-d661d59602d8', + 'trx:htx', + 'HTX', + 18, + 'TUPM7K8REVzD2UdV4R5fe5M8XbnR2DdoJ6', + UnderlyingAsset['trx:htx'] + ), tronToken( '888fb35c-1b3d-425d-af65-e6aa7453edce', 'trx:jst', @@ -14781,6 +14877,14 @@ export const coins = CoinMap.fromCoins([ '0xc7b5d72c836e718cda8888eaf03707faef675079', UnderlyingAsset['avaxc:swap'] ), + avaxErc20( + 'd4e4244e-505c-428b-b3a9-c039f3286a9a', + 'avaxc:tico', + 'Funtico', + 18, + '0xba69b8aff564fe150ff7e2f965e0dba23b9d2571', + UnderlyingAsset['avaxc:tico'] + ), // End FTX missing AVAXC tokens tavaxErc20( 'cd107316-6e78-4936-946f-70e8fd5d8040', From d7118ea882aa8b29268666d5698c129baca2259b Mon Sep 17 00:00:00 2001 From: Kashif Jamil Date: Fri, 27 Sep 2024 20:18:45 +0530 Subject: [PATCH 2/2] feat(sdk-coin-eth): changed contract address to lower case TICKET: COIN-1870 --- modules/statics/src/coins.ts | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 9ac0de5499..3509636c4d 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -4092,9 +4092,9 @@ export const coins = CoinMap.fromCoins([ erc20( 'd3c6a9b2-1551-401c-b576-db429d48b895', 'ghst', - 'Aavegotchi', + 'aavegotchi', 18, - '0x3F382DbD960E3a9bbCeaE22651E88158d2791550', + '0x3f382dbd960e3a9bbceae22651e88158d2791550', UnderlyingAsset.GHST ), erc20( @@ -4254,15 +4254,15 @@ export const coins = CoinMap.fromCoins([ 'high', 'Highstreet', 6, - '0x71Ab77b7dbB4fa7e017BC15090b2163221420282', + '0x71ab77b7dbb4fa7e017bc15090b2163221420282', UnderlyingAsset.HIGH ), erc20( '713f7531-d5ba-4c38-9c21-64458cb1bcf9', 'hifi', 'Hifi Finance', - 6, - '0x4b9278b94a1112cAD404048903b8d343a810B07e', + 18, + '0x4b9278b94a1112cad404048903b8d343a810b07e', UnderlyingAsset.HIFI ), erc20( @@ -4815,7 +4815,7 @@ export const coins = CoinMap.fromCoins([ 'loka', 'League of Kingdoms', 18, - '0x61E90A50137E1F645c9eF4a0d3A4f01477738406', + '0x61e90a50137e1f645c9ef4a0d3a4f01477738406', UnderlyingAsset.LOKA ), erc20( @@ -4871,7 +4871,7 @@ export const coins = CoinMap.fromCoins([ 'lsk', 'Lisk', 18, - '0x6033F7f88332B8db6ad452B7C6D5bB643990aE3f', + '0x6033f7f88332b8db6ad452b7c6d5bb643990ae3f', UnderlyingAsset.LSK ), erc20( @@ -10024,7 +10024,7 @@ export const coins = CoinMap.fromCoins([ 'lever', 'LeverFI', 18, - '0x4B5f49487ea7B3609b1aD05459BE420548789f1f', + '0x4b5f49487ea7b3609b1ad05459be420548789f1f', UnderlyingAsset.LEVER ), erc20( @@ -10072,7 +10072,7 @@ export const coins = CoinMap.fromCoins([ 'lovely', 'Lovely Finance', 18, - '0x0f6d4d4643A514132F84F4a270946dB3c7Cb701C', + '0x0f6d4d4643a514132f84f4a270946db3c7cb701c', UnderlyingAsset.LOVELY ), erc20( @@ -10112,7 +10112,7 @@ export const coins = CoinMap.fromCoins([ 'lto', 'LTO Network', 8, - '0xd01409314aCb3b245CEa9500eCE3F6Fd4d70ea30', + '0xd01409314acb3b245cea9500ece3f6fd4d70ea30', UnderlyingAsset.LTO ), erc20( @@ -12059,23 +12059,23 @@ export const coins = CoinMap.fromCoins([ 'bsc:gft', 'Gifto', 18, - '0x72fF5742319eF07061836F5C924aC6D72c919080', + '0x72ff5742319ef07061836f5c924ac6d72c919080', UnderlyingAsset['bsc:gft'] ), bscToken( '71861b2e-03b0-4101-81ea-ea35b13d48d1', 'bsc:glmr', - 'Moonbeam', + 'moonbeam', 18, - '0x76F3CE6aF26de7A9854dBD153ACd8f46a2Cf5133', + '0x76f3ce6af26de7a9854dbd153acd8f46a2cf5133', UnderlyingAsset['bsc:glmr'] ), bscToken( 'bcc8389e-a3bf-493d-89a8-3d95676e817c', 'bsc:gmt', - 'Green Metaverse Token', - 18, - '0x3019BF2a2eF8040C242C9a4c5c4BD4C81678b2A1', + 'green metaverse token', + 8, + '0x3019bf2a2ef8040c242c9a4c5c4bd4c81678b2a1', UnderlyingAsset['bsc:gmt'] ), bscToken(