Skip to content

Commit a81f7fe

Browse files
feat: onboard new tokens
TICKET: WIN-5098
1 parent a532620 commit a81f7fe

File tree

8 files changed

+85
-1
lines changed

8 files changed

+85
-1
lines changed

modules/statics/src/base.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,8 @@ export enum UnderlyingAsset {
818818
ETHFI = 'ethfi',
819819
'eth:block' = 'eth:block',
820820
'eth:bito' = 'eth:bito',
821+
'ETH:ECASH' = 'eth:ecash',
822+
'ETH:OORT' = 'eth:oort',
821823
'eth:ultra' = 'eth:ultra',
822824
ETHHEDGE = 'ethhedge',
823825
ETHMOON = 'ethmoon',
@@ -1968,6 +1970,7 @@ export enum UnderlyingAsset {
19681970
'avaxc:aavausdt' = 'avaxc:aavausdt',
19691971
'avaxc:acre' = 'avaxc:acre',
19701972
'avaxc:gmx' = 'avaxc:gmx',
1973+
'avaxc:gunz' = 'avaxc:gunz',
19711974
'avaxc:mim' = 'avaxc:mim',
19721975
'avaxc:axlusdc' = 'avaxc:axlusdc',
19731976
'avaxc:lot' = 'avaxc:lot',
@@ -2343,6 +2346,7 @@ export enum UnderlyingAsset {
23432346
'bera:honey' = 'bera:honey',
23442347
'bera:usdc' = 'bera:usdc',
23452348
'bera:ibera' = 'bera:ibera',
2349+
'bera:dolo' = 'bera:dolo',
23462350

23472351
// bera testnet tokens
23482352
'tbera:bgt' = 'tbera:bgt',
@@ -2527,9 +2531,11 @@ export enum UnderlyingAsset {
25272531
'stx:alex' = 'stx:alex',
25282532
'stx:aeusdc' = 'stx:aeusdc',
25292533
'stx:usdh' = 'stx:usdh',
2534+
'stx:susdh' = 'stx:susdh',
25302535
'stx:welsh' = 'stx:welsh',
25312536

25322537
// Sip10 testnet tokens
2538+
'tstx:tsbtc' = 'tstx:tsbtc',
25332539
'tstx:tsip6dp' = 'tstx:tsip6dp',
25342540
'tstx:tsip8dp' = 'tstx:tsip8dp',
25352541

modules/statics/src/coins.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,6 +2574,14 @@ export const coins = CoinMap.fromCoins([
25742574
UnderlyingAsset['bera:bgt'],
25752575
BERA_BGT_FEATURES
25762576
),
2577+
beraErc20(
2578+
'a2b9e15b-4196-494c-b86a-f4fa9dcee13b',
2579+
'bera:dolo',
2580+
'Dolomite',
2581+
18,
2582+
'0x0f81001ef0a83ecce5ccebf63eb302c70a39a654',
2583+
UnderlyingAsset['bera:dolo']
2584+
),
25772585
beraErc20(
25782586
'ca86baf8-fcc6-40ff-9d65-08db513a131e',
25792587
'bera:honey',

modules/statics/src/coins/avaxTokens.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ import { avaxErc20, tavaxErc20, AccountCoin } from '../account';
22
import { UnderlyingAsset } from '../base';
33

44
export const avaxTokens = [
5+
avaxErc20(
6+
'64d0e7de-bda5-4ba8-8b48-96ca71385076',
7+
'avaxc:gunz',
8+
'GUNZ',
9+
18,
10+
'0x26debd39d5ed069770406fca10a0e4f8d2c743eb',
11+
UnderlyingAsset['avaxc:gunz']
12+
),
513
avaxErc20(
614
'820d451a-3c7f-43fb-a872-9e323468c922',
715
'avaxc:qi',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,6 +1990,14 @@ export const erc20Coins = [
19901990
'0x8f00458479ea850f584ed82881421f9d9eac6cb1',
19911991
UnderlyingAsset.EGOLD
19921992
),
1993+
erc20(
1994+
'03423ec5-a65f-428d-9a96-1affb41d583e',
1995+
'eth:ecash',
1996+
'Ethereum Cash',
1997+
18,
1998+
'0x5d21ef5f25a985380b65c8e943a0082feda0db84',
1999+
UnderlyingAsset['ETH:ECASH']
2000+
),
19932001
erc20(
19942002
'cd3628a6-9585-4964-9994-f295c65e8338',
19952003
'egl',
@@ -10243,6 +10251,14 @@ export const erc20Coins = [
1024310251
'0x20157dbabb84e3bbfe68c349d0d44e48ae7b5ad2',
1024410252
UnderlyingAsset['eth:ibtc']
1024510253
),
10254+
erc20(
10255+
'ece250d3-eb11-4981-ba26-8db4c7680f00',
10256+
'eth:oort',
10257+
'OORT',
10258+
18,
10259+
'0x5651fa7a726b9ec0cad00ee140179912b6e73599',
10260+
UnderlyingAsset['ETH:OORT']
10261+
),
1024610262
erc20(
1024710263
'e036704f-1b00-4d9c-83ac-da4cf0452a8a',
1024810264
'eth:pyr',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
ofcHederaToken,
2424
tofcHederaToken,
2525
ofcaptToken,
26+
tofcStxToken,
2627
} from '../ofc';
2728
import { UnderlyingAsset, CoinKind } from '../base';
2829

@@ -147,6 +148,7 @@ export const ofcCoins = [
147148
ofc('6f1f9d82-dc02-4448-b289-84e246a921f8', 'ofcbera', 'Bera', 18, UnderlyingAsset.BERA, CoinKind.CRYPTO),
148149
ofc('ecc046f9-eb9c-479d-943f-9fe0633ea212', 'ofcoas', 'oaschain', 18, UnderlyingAsset.OAS, CoinKind.CRYPTO),
149150
ofc('24c3b525-b5d3-45c0-9280-599db27c0fab', 'ofctao', 'Bittensor', 9, UnderlyingAsset.TAO, CoinKind.CRYPTO),
151+
ofc('77661a48-865f-48ea-bb73-875744729a69', 'ofcbera:dolo', 'Dolomite', 18, UnderlyingAsset.BERA, CoinKind.CRYPTO),
150152
ofc('411fd61a-3571-41f4-b632-6058a30a66a2', 'ofcapt', 'Aptos', 8, UnderlyingAsset.APT, CoinKind.CRYPTO),
151153
tofc('6677edac-c597-43ca-b8ff-6cdfa4e094a3', 'ofctapt', 'Testnet Aptos', 8, UnderlyingAsset.APT, CoinKind.CRYPTO),
152154
tofc('81bd0c13-6531-42b9-a58a-b1e65d239f6f', 'ofctoas', 'Testnet oaschain', 18, UnderlyingAsset.OAS, CoinKind.CRYPTO),
@@ -796,6 +798,7 @@ export const ofcCoins = [
796798
UnderlyingAsset['avaxc:weth']
797799
),
798800
ofcAvaxErc20('caeec903-4c42-4d03-8cee-91319ab708c9', 'ofcavaxc:xava', 'Avalaunch', 18, UnderlyingAsset['avaxc:xava']),
801+
ofcAvaxErc20('7ab1e706-8751-4e9a-b710-c56540a24c11', 'ofcavaxc:gunz', 'GUNZ', 18, UnderlyingAsset['avaxc:gunz']),
799802
tofcAvaxErc20(
800803
'e70417f4-61df-4622-a933-40a43f807923',
801804
'ofctavaxc:link',
@@ -1250,7 +1253,9 @@ export const ofcCoins = [
12501253
UnderlyingAsset['apt:usdt'],
12511254
APT_OFC_TOKEN_FEATURES
12521255
),
1256+
ofcStxToken('cc76810a-e19c-4123-ad0c-be39ce08550a', 'ofcstx:susdh', 'sUSDH', 6, UnderlyingAsset['stx:susdh']),
12531257
ofcStxToken('df131c24-8458-49ea-8f7d-7dcce6b13ad9', 'ofcstx:ststx', 'stSTX', 6, UnderlyingAsset['stx:ststx']),
1258+
tofcStxToken('a7f63434-b424-4f8f-94d8-476f827e4d1b', 'ofctstx:tsbtc', 'Test sBTC', 8, UnderlyingAsset['tstx:tsbtc']),
12541259
ofcStxToken('10210906-6701-4c25-a204-0fe7399bae83', 'ofcstx:alex', 'Alex Labs', 8, UnderlyingAsset['stx:alex']),
12551260
ofcStxToken(
12561261
'6eefa66f-3065-48db-b78f-3ae4e2172a41',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,14 @@ export const ofcErc20Coins = [
609609
ofcerc20('81d817b5-da65-41aa-983a-ec9619a6a46f', 'ofcedr', 'Endor Protocol', 18, underlyingAssetForSymbol('edr')),
610610
ofcerc20('c74b96eb-2b24-43a6-a718-936526651f3a', 'ofcefi', 'Efinity', 18, underlyingAssetForSymbol('efi')),
611611
ofcerc20('e925c83f-bcbd-42a6-90f0-40cc8eae54bd', 'ofcegold', 'eGold', 4, underlyingAssetForSymbol('egold')),
612+
ofcerc20(
613+
'570832c1-4e4f-4a68-8c0b-3085e065cd9f',
614+
'ofceth:ecash',
615+
'Ethereum Cash',
616+
18,
617+
underlyingAssetForSymbol('eth:ecash')
618+
),
619+
ofcerc20('ac3f2b43-0ea1-4692-994c-4adac50bb86a', 'ofceth:oort', 'OORT', 18, underlyingAssetForSymbol('eth:oort')),
612620
ofcerc20('8ca8c8ac-fba8-48f4-8615-5413017937f0', 'ofcegl', 'Ethereum Eagle', 18, underlyingAssetForSymbol('egl')),
613621
ofcerc20('9b8af64f-7fe5-4e86-838c-27344322a709', 'ofcerd', 'Elrond', 18, underlyingAssetForSymbol('erd')),
614622
ofcerc20('f08fa2d8-ef9a-4ce2-a1c3-80349758282e', 'ofcese', 'Eesee', 18, underlyingAssetForSymbol('ese')),

modules/statics/src/coins/sip10Tokens.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ export const sip10Tokens = [
3939
UnderlyingAsset['stx:aeusdc'],
4040
STX_TOKEN_FEATURES
4141
),
42+
sip10Token(
43+
'baaf7ebe-b931-4a5e-a173-ab514688df73',
44+
'stx:susdh',
45+
'sUSDH',
46+
6,
47+
'SPN5AKG35QZSK2M8GAMR4AFX45659RJHDW353HSG.susdh-token-v1::susdh-token-v1',
48+
UnderlyingAsset['stx:susdh'],
49+
STX_TOKEN_FEATURES
50+
),
4251
sip10Token(
4352
'83fbaa8a-eeda-496a-9c38-98ef592a008b',
4453
'stx:usdh',
@@ -58,6 +67,15 @@ export const sip10Tokens = [
5867
STX_TOKEN_FEATURES
5968
),
6069
// testnet tokens
70+
tsip10Token(
71+
'74b5f05c-9cfa-45bf-b6a4-bc7f6dde37f9',
72+
'tstx:tsbtc',
73+
'Test sBTC',
74+
8,
75+
'ST1F7QA2MDF17S807EPA36TSS8AMEFY4KA9TVGWXT.sbtc-token::sbtc-token',
76+
UnderlyingAsset['tstx:tsbtc'],
77+
STX_TOKEN_FEATURES
78+
),
6179
tsip10Token(
6280
'ffa80cb4-dd2f-4729-9635-11071b9d8496',
6381
'tstx:tsip6dp',

yarn.lock

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11304,7 +11304,7 @@ formidable@^1.1.1, formidable@^1.2.0:
1130411304
resolved "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz#d2a51d60162bbc9b4a055d8457a7c75315d1a168"
1130511305
integrity sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==
1130611306

11307-
formidable@^3.5.1:
11307+
formidable@^3.5.1, formidable@^3.5.2:
1130811308
version "3.5.2"
1130911309
resolved "https://registry.npmjs.org/formidable/-/formidable-3.5.2.tgz#207c33fecdecb22044c82ba59d0c63a12fb81d77"
1131011310
integrity sha512-Jqc1btCy3QzRbJaICGwKcBfGWuLADRerLzDqi2NwSt/UkXLsHJw2TVResiaoBufHVHy9aSgClOHCeJsSsFLTbg==
@@ -18986,6 +18986,21 @@ [email protected]:
1898618986
qs "^6.5.1"
1898718987
readable-stream "^2.0.5"
1898818988

18989+
superagent@^10.1.1:
18990+
version "10.2.0"
18991+
resolved "https://registry.npmjs.org/superagent/-/superagent-10.2.0.tgz#28f262a0a56433e0df53db978ceaa51f23e762ab"
18992+
integrity sha512-IKeoGox6oG9zyDeizaezkJ2/aK0wc5la9st7WsAKyrAkfJ56W3whVbVtF68k6wuc87/y9T85NyON5FLz7Mrzzw==
18993+
dependencies:
18994+
component-emitter "^1.3.0"
18995+
cookiejar "^2.1.4"
18996+
debug "^4.3.4"
18997+
fast-safe-stringify "^2.1.1"
18998+
form-data "^4.0.0"
18999+
formidable "^3.5.2"
19000+
methods "^1.1.2"
19001+
mime "2.6.0"
19002+
qs "^6.11.0"
19003+
1898919004
superagent@^3.8.3:
1899019005
version "3.8.3"
1899119006
resolved "https://registry.npmjs.org/superagent/-/superagent-3.8.3.tgz#460ea0dbdb7d5b11bc4f78deba565f86a178e128"

0 commit comments

Comments
 (0)