Skip to content

Commit e3ca2e2

Browse files
Merge pull request #8054 from BitGo/CGARD-71-token-onboarding
feat: Onboard tokens SBET, ZRO, yPRISM, nvYLDS, nvHELOC, DONT, NIL, S…
2 parents dff63c5 + 6dd4a13 commit e3ca2e2

8 files changed

Lines changed: 170 additions & 0 deletions

File tree

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = {
7171
'FIAT-',
7272
'ME-',
7373
'ANT-',
74+
'CGARD-',
7475
'#', // Prefix used by GitHub issues
7576
],
7677
},

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4499,6 +4499,18 @@ export const allCoinsAndTokens = [
44994499
'VAULTA',
45004500
'A'
45014501
),
4502+
eosToken(
4503+
'bced2aec-ed0d-4686-803d-c9368367dce0',
4504+
'eos:SBET',
4505+
'SportBet SBET',
4506+
4,
4507+
'sportbetsbet',
4508+
'sportbetsbet',
4509+
UnderlyingAsset.EOS_SBET,
4510+
AccountCoin.DEFAULT_FEATURES,
4511+
'',
4512+
'SBET'
4513+
),
45024514
teosToken(
45034515
'1c627bb5-4bee-4ab0-8bb6-3d535e17a769',
45044516
'teos:CHEX',
@@ -4962,6 +4974,14 @@ export const allCoinsAndTokens = [
49624974
UnderlyingAsset['arbeth:tbill'],
49634975
AccountCoin.DEFAULT_FEATURES_EXCLUDE_SINGAPORE
49644976
),
4977+
arbethErc20(
4978+
'7911d5d4-4138-4a9a-b046-553aa406e02e',
4979+
'arbeth:zro',
4980+
'LayerZero',
4981+
18,
4982+
'0x6985884c4392d348587b19cb9eaaf157f13271cd',
4983+
UnderlyingAsset['arbeth:zro']
4984+
),
49654985
tarbethErc20(
49664986
'd6a8869d-3da4-4b95-a9af-f2a059ca651f',
49674987
'tarbeth:link',
@@ -5765,6 +5785,18 @@ export const allCoinsAndTokens = [
57655785
UnderlyingAsset['sui:suins'],
57665786
SUI_TOKEN_FEATURES
57675787
),
5788+
suiToken(
5789+
'634d40ff-009a-4619-8651-9fa8e03e92e6',
5790+
'sui:suiusde',
5791+
'eSui Dollar',
5792+
6,
5793+
'0x41d587e5336f1c86cad50d38a7136db99333bb9bda91cea4ba69115defeb1402',
5794+
'sui_usde',
5795+
'SUI_USDE',
5796+
'0x41d587e5336f1c86cad50d38a7136db99333bb9bda91cea4ba69115defeb1402::sui_usde::SUI_USDE',
5797+
UnderlyingAsset['sui:suiusde'],
5798+
[...SUI_TOKEN_FEATURES, CoinFeature.STABLECOIN]
5799+
),
57685800
suiToken(
57695801
'6ba90645-42ba-47d8-ba09-8b00228bfe33',
57705802
'sui:fdusd',

modules/statics/src/base.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,12 @@ export enum UnderlyingAsset {
10561056
'eth:bito' = 'eth:bito',
10571057
'ETH:ECASH' = 'eth:ecash',
10581058
'ETH:OORT' = 'eth:oort',
1059+
'eth:prism' = 'eth:prism',
10591060
'eth:ultra' = 'eth:ultra',
1061+
'eth:yprism' = 'eth:yprism',
1062+
'eth:nvylds' = 'eth:nvylds',
1063+
'eth:nvheloc' = 'eth:nvheloc',
1064+
'eth:nil' = 'eth:nil',
10601065
'eth:dragonx' = 'eth:dragonx',
10611066
ETHHEDGE = 'ethhedge',
10621067
ETHMOON = 'ethmoon',
@@ -2118,6 +2123,7 @@ export enum UnderlyingAsset {
21182123
'eth:sky' = 'eth:sky',
21192124
'eth:uco' = 'eth:uco',
21202125
'eth:fuel' = 'eth:fuel',
2126+
'eth:xprism' = 'eth:xprism',
21212127
'eth:xreth' = 'eth:xreth',
21222128
'eth:xy' = 'eth:xy',
21232129
'eth:yu' = 'eth:yu',
@@ -2146,6 +2152,7 @@ export enum UnderlyingAsset {
21462152
'eth:lngvx' = 'eth:lngvx',
21472153
'eth:eqtyx' = 'eth:eqtyx',
21482154
'eth:deuro' = 'eth:deuro',
2155+
'eth:usat' = 'eth:usat',
21492156
'eth:usdf' = 'eth:usdf',
21502157
'eth:ausd' = 'eth:ausd',
21512158
'eth:ags' = 'eth:ags',
@@ -2469,6 +2476,7 @@ export enum UnderlyingAsset {
24692476
CHEX = 'chex',
24702477
IQ = 'iq',
24712478
EOS_BOX = 'eos:box',
2479+
EOS_SBET = 'eos:sbet',
24722480
VAULTA = 'vaulta',
24732481

24742482
// Avax Token ERC-20
@@ -2698,6 +2706,7 @@ export enum UnderlyingAsset {
26982706
// BSC Token BEP-20
26992707
'bsc:sol' = 'bsc:sol',
27002708
'bsc:solv' = 'bsc:solv',
2709+
'bsc:stable' = 'bsc:stable',
27012710
'bsc:brise' = 'bsc:brise',
27022711
'bsc:bsw' = 'bsc:bsw',
27032712
'bsc:burger' = 'bsc:burger',
@@ -2943,6 +2952,7 @@ export enum UnderlyingAsset {
29432952
'arbeth:gmx' = 'arbeth:gmx',
29442953
'arbeth:uxlink' = 'arbeth:uxlink',
29452954
'arbeth:next' = 'arbeth:next',
2955+
'arbeth:zro' = 'arbeth:zro',
29462956

29472957
// BaseETH mainnet tokens
29482958
'baseeth:aero' = 'baseeth:aero',
@@ -3289,6 +3299,7 @@ export enum UnderlyingAsset {
32893299
'sol:superbonds' = 'sol:superbonds',
32903300
'sol:would' = 'sol:would',
32913301
'sol:dog' = 'sol:dog',
3302+
'sol:dont' = 'sol:dont',
32923303
'sol:saros' = 'sol:saros',
32933304
'sol:babydoge' = 'sol:babydoge',
32943305
'sol:useless' = 'sol:useless',
@@ -3384,6 +3395,7 @@ export enum UnderlyingAsset {
33843395
// Sui tokens
33853396
'sui:deep' = 'sui:deep',
33863397
'sui:suins' = 'sui:suins',
3398+
'sui:suiusde' = 'sui:suiusde',
33873399
'sui:fdusd' = 'sui:fdusd',
33883400
'sui:usdc' = 'sui:usdc',
33893401
'sui:wusdc' = 'sui:wusdc',

modules/statics/src/coins/bscTokens.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ export const bscTokens = [
1616
UnderlyingAsset['bsc:solv'],
1717
BSC_TOKEN_FEATURES
1818
),
19+
bscToken(
20+
'344b4235-9aec-4478-9637-0df3ddc9dff0',
21+
'bsc:stable',
22+
'Stable',
23+
18,
24+
'0x011ebe7d75e2c9d1e0bd0be0bef5c36f0a90075f',
25+
UnderlyingAsset['bsc:stable'],
26+
BSC_TOKEN_FEATURES
27+
),
1928
bscToken(
2029
'b7540916-53ed-49e9-b8a4-8a853fd7d607',
2130
'bsc:brise',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@ export const erc20Coins = [
9797
'0x584bc13c7d411c00c01a62e8019472de68768430',
9898
UnderlyingAsset['eth:hegic']
9999
),
100+
erc20(
101+
'23661500-e738-4d87-8805-6e08e4cdbd0b',
102+
'eth:xprism',
103+
'Staked Portfolio of Risk-adjusted Investment Strategy',
104+
18,
105+
'0x12e04c932d682a2999b4582f7c9b86171b73220d',
106+
UnderlyingAsset['eth:xprism'],
107+
AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_SINGAPORE], ETH_FEATURES)
108+
),
100109
erc20(
101110
'e5195aca-b807-4fb9-b8c3-b4440cb24f67',
102111
'eth:xreth',
@@ -11131,6 +11140,15 @@ export const erc20Coins = [
1113111140
ETH_FEATURES
1113211141
)
1113311142
),
11143+
erc20(
11144+
'86ed6c06-9a02-49e0-bb33-066775135704',
11145+
'eth:usat',
11146+
'Tether America USD',
11147+
6,
11148+
'0x07041776f5007aca2a54844f50503a18a72a8b68',
11149+
UnderlyingAsset['eth:usat'],
11150+
[...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN]
11151+
),
1113411152
erc20(
1113511153
'ad73ed49-cbce-4809-a2e1-9d66c7f7a8d8',
1113611154
'eth:usdf',
@@ -11697,6 +11715,15 @@ export const erc20Coins = [
1169711715
'0x764a726d9ced0433a8d7643335919deb03a9a935',
1169811716
UnderlyingAsset['eth:pokt']
1169911717
),
11718+
erc20(
11719+
'6b87364b-1616-48f1-8e8c-21b83e599486',
11720+
'eth:prism',
11721+
'Portfolio of Risk-adjusted Investment Strategy Mix',
11722+
18,
11723+
'0x06bb4ab600b7d22eb2c312f9babc22be6a619046',
11724+
UnderlyingAsset['eth:prism'],
11725+
AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_SINGAPORE], ETH_FEATURES)
11726+
),
1170011727
erc20(
1170111728
'648bf099-cefc-4ed3-9af8-14feecc89503',
1170211729
'eth:lon',
@@ -12210,6 +12237,41 @@ export const erc20Coins = [
1221012237
'0xe868084cf08f3c3db11f4b73a95473762d9463f7',
1221112238
UnderlyingAsset['eth:yu']
1221212239
),
12240+
erc20(
12241+
'16b94299-9ab8-4dfb-a0e0-fb906006d890',
12242+
'eth:yprism',
12243+
'yPRISM',
12244+
18,
12245+
'0xdd5eff0756db08bad0ff16b66f88f506e7318894',
12246+
UnderlyingAsset['eth:yprism'],
12247+
AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_SINGAPORE], ETH_FEATURES)
12248+
),
12249+
erc20(
12250+
'dcd5baad-31a9-433c-804b-2ce8604c3d18',
12251+
'eth:nvylds',
12252+
'NUVA YLDS',
12253+
12,
12254+
'0x82c9e80f0e099bf61e061ee96e23df605388d902',
12255+
UnderlyingAsset['eth:nvylds'],
12256+
AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_SINGAPORE], ETH_FEATURES)
12257+
),
12258+
erc20(
12259+
'08d068f6-95a0-4550-9d57-60a706ebb610',
12260+
'eth:nvheloc',
12261+
'NUVA HELOC',
12262+
12,
12263+
'0x4acb074ff8152de067be3da282dda6469992b42d',
12264+
UnderlyingAsset['eth:nvheloc'],
12265+
AccountCoin.getFeaturesByTypeExcluding([CoinFeature.CUSTODY_BITGO_SINGAPORE], ETH_FEATURES)
12266+
),
12267+
erc20(
12268+
'529b268a-55bf-40d1-89f5-d9ed0d8d4070',
12269+
'eth:nil',
12270+
'Nillion',
12271+
6,
12272+
'0x7cf9a80db3b29ee8efe3710aadb7b95270572d47',
12273+
UnderlyingAsset['eth:nil']
12274+
),
1221312275
terc20(
1221412276
'0205f0d6-0647-47c9-ad8b-c48d048e54f3',
1221512277
'fixed',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export const ofcCoins = [
8787
ofc('afa494f3-a56d-4b81-991d-066b4aae181c', 'ofcbsv', 'Bitcoin SV', 8, UnderlyingAsset.BSV, CoinKind.CRYPTO),
8888
ofc('5b206383-7b8c-4199-8456-71e7a84527d5', 'ofcdot', 'Polkadot', 10, UnderlyingAsset.DOT, CoinKind.CRYPTO),
8989
ofc('f1ed2667-fed1-4db8-87f5-061282d6147b', 'ofceos', 'Eos', 4, UnderlyingAsset.EOS, CoinKind.CRYPTO),
90+
ofc('6933eef0-7d11-498e-b810-5884b6efae2a', 'ofcsbet', 'SportBet SBET', 4, UnderlyingAsset.EOS_SBET, CoinKind.CRYPTO),
9091
ofc('6c0714f3-fb74-4bb7-b17d-e34e48821890', 'ofcetc', 'Ethereum Classic', 18, UnderlyingAsset.ETC, CoinKind.CRYPTO),
9192
ofc('49bc92d3-3085-4124-bdb3-df86385dd9b5', 'ofcstx', 'Stacks', 6, UnderlyingAsset.STX, CoinKind.CRYPTO),
9293
ofc('181974a6-b042-460e-acec-46733f8af941', 'ofchbar', 'Hedera', 8, UnderlyingAsset.HBAR, CoinKind.CRYPTO),
@@ -1147,6 +1148,14 @@ export const ofcCoins = [
11471148
UnderlyingAsset['sol:dog'],
11481149
SOL_TOKEN_FEATURES
11491150
),
1151+
ofcsolToken(
1152+
'68cf253c-fea8-4255-922e-65ff53bd0c9d',
1153+
'ofcsol:dont',
1154+
'DisclaimerCoin',
1155+
6,
1156+
UnderlyingAsset['sol:dont'],
1157+
SOL_TOKEN_FEATURES
1158+
),
11501159
ofcsolToken(
11511160
'3d4bfe68-49cb-4d30-aef0-d143a9e9d9a7',
11521161
'ofcsol:saros',
@@ -1923,6 +1932,13 @@ export const ofcCoins = [
19231932
18,
19241933
UnderlyingAsset['arbeth:uxlink']
19251934
),
1935+
ofcArbethErc20(
1936+
'b1fd241b-97a9-4074-a3ee-cbfd5b4ed431',
1937+
'ofcarbeth:zro',
1938+
'LayerZero',
1939+
18,
1940+
UnderlyingAsset['arbeth:zro']
1941+
),
19261942

19271943
ofcAvaxErc20('2bd6201d-c46c-481e-b82d-7cf3601679cb', 'ofcavaxc:aave-e', 'Aave', 18, UnderlyingAsset['avaxc:aave']),
19281944
ofcAvaxErc20(
@@ -2193,6 +2209,7 @@ export const ofcCoins = [
21932209
[CoinFeature.STABLECOIN]
21942210
),
21952211
ofcBscToken('6a1e8b8c-4d7e-4f9a-9d8f-f6e72f8c7e65', 'ofcbsc:solv', 'SOLV Protocol', 9, UnderlyingAsset['bsc:solv']),
2212+
ofcBscToken('6d96470a-3c8e-44de-a18e-9dd224d4bcc0', 'ofcbsc:stable', 'Stable', 18, UnderlyingAsset['bsc:stable']),
21962213
ofcBscToken('f8c3d7b5-2d9e-4b3f-8a1e-7c6d9e3a2f4b', 'ofcbsc:brise', 'Bitrise Token', 9, UnderlyingAsset['bsc:brise']),
21972214
ofcBscToken('2e9f4c6b-8a7d-4b2e-9d3f-7c6a5e8b1f2a', 'ofcbsc:bsw', 'Biswap', 18, UnderlyingAsset['bsc:bsw']),
21982215
ofcBscToken(
@@ -3913,6 +3930,13 @@ export const ofcCoins = [
39133930
UnderlyingAsset['tton:ukwny-us']
39143931
),
39153932
ofcSuiToken('6313a162-0c48-4c0c-ae73-27cc3df9e000', 'ofcsui:deep', 'Deepbook', 6, UnderlyingAsset['sui:deep']),
3933+
ofcSuiToken(
3934+
'51efbb9d-0cf9-48aa-a96f-7a7317807a3e',
3935+
'ofcsui:suiusde',
3936+
'eSui Dollar',
3937+
6,
3938+
UnderlyingAsset['sui:suiusde']
3939+
),
39163940
tofcSuiToken(
39173941
'b6e53ed9-5a86-4994-8b69-ca59c243cac6',
39183942
'ofctsui:deep',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,13 @@ export const ofcErc20Coins = [
329329
ofcerc20('cb202cff-d8de-4e1c-9b4f-c096fd888f72', 'ofceth:iris', 'IRISnet', 6, underlyingAssetForSymbol('eth:iris')),
330330
ofcerc20('6f9c8419-182f-4fe4-a82c-bd99939eb3b6', 'ofceth:hard', 'Kava Lend', 6, underlyingAssetForSymbol('eth:hard')),
331331
ofcerc20('8ee9f243-5192-43e0-a1ea-3b6b329b1bbc', 'ofceth:hegic', 'Hegic', 18, underlyingAssetForSymbol('eth:hegic')),
332+
ofcerc20(
333+
'f3a87df7-c341-4e36-a53d-cc71e32fb552',
334+
'ofceth:xprism',
335+
'Staked Portfolio of Risk-adjusted Investment Strategy',
336+
18,
337+
UnderlyingAsset['eth:xprism']
338+
),
332339
ofcerc20(
333340
'9321cc5f-623e-428c-a831-43cd381bdcda',
334341
'ofceth:xreth',
@@ -3368,6 +3375,7 @@ export const ofcErc20Coins = [
33683375
18,
33693376
underlyingAssetForSymbol('eth:deuro')
33703377
),
3378+
ofcerc20('a2159d62-1b1c-4e8b-ba43-332959015dbc', 'ofceth:usat', 'Tether America USD', 6, UnderlyingAsset['eth:usat']),
33713379
ofcerc20(
33723380
'e7b1c5d2-9e6e-4c9b-9f3e-2d2a4e5b6c8d',
33733381
'ofceth:usdf',
@@ -3977,6 +3985,14 @@ export const tOfcErc20Coins = [
39773985
underlyingAssetForSymbol('eth:pokt')
39783986
),
39793987

3988+
ofcerc20(
3989+
'9284c8a3-e1bd-4b34-ad08-1366af0ba57b',
3990+
'ofceth:prism',
3991+
'Portfolio of Risk-adjusted Investment Strategy Mix',
3992+
18,
3993+
UnderlyingAsset['eth:prism']
3994+
),
3995+
39803996
ofcerc20(
39813997
'de8fe485-c227-4ee3-a7c4-09ddea2ee81b',
39823998
'ofceth:lon',
@@ -4982,6 +4998,10 @@ export const tOfcErc20Coins = [
49824998
UnderlyingAsset['eth:fidd']
49834999
),
49845000
ofcerc20('c71454e2-c51c-40df-8605-e57f2d97ed53', 'ofceth:yu', 'Yala Stablecoin', 18, UnderlyingAsset['eth:yu']),
5001+
ofcerc20('f689a6e4-d76f-4591-afda-57e3c52fad22', 'ofceth:yprism', 'yPRISM', 18, UnderlyingAsset['eth:yprism']),
5002+
ofcerc20('253e2858-a27b-4d39-b1fc-b8f719584d1f', 'ofceth:nvylds', 'NUVA YLDS', 12, UnderlyingAsset['eth:nvylds']),
5003+
ofcerc20('e68260cc-3f0c-4429-9681-5a2cd46a6c87', 'ofceth:nvheloc', 'NUVA HELOC', 12, UnderlyingAsset['eth:nvheloc']),
5004+
ofcerc20('02a7867a-754e-4132-8802-1b4aa979a441', 'ofceth:nil', 'Nillion', 6, UnderlyingAsset['eth:nil']),
49855005
ofcerc20('14912a5e-254c-4c6f-9f9c-f9ce11b7b293', 'ofceth:bard', 'Lombard', 18, UnderlyingAsset['eth:bard']),
49865006
ofcerc20('a31a6330-cbd6-49b0-b8b1-a7f9a48e770c', 'ofceth:sfp', 'SafePal Token', 18, UnderlyingAsset['eth:sfp']),
49875007
ofcerc20('60f825f0-ed18-46b2-a03f-fd93b5e94f43', 'ofceth:aztec', 'Aztec', 18, UnderlyingAsset['eth:aztec']),

modules/statics/src/coins/solTokens.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2815,6 +2815,16 @@ export const solTokens = [
28152815
UnderlyingAsset['sol:dog'],
28162816
SOL_TOKEN_FEATURES
28172817
),
2818+
solToken(
2819+
'11001926-a01a-4006-8f13-70e375c8d0bf',
2820+
'sol:dont',
2821+
'DisclaimerCoin',
2822+
6,
2823+
'FbmmdcCYHL7WETG89xtWmNFMzQAaQ8Zs9NXVbimibonk',
2824+
'FbmmdcCYHL7WETG89xtWmNFMzQAaQ8Zs9NXVbimibonk',
2825+
UnderlyingAsset['sol:dont'],
2826+
SOL_TOKEN_FEATURES
2827+
),
28182828
solToken(
28192829
'a73223a4-e35f-4324-b0dd-21eb31d641db',
28202830
'sol:saros',

0 commit comments

Comments
 (0)