Skip to content

Commit 8b53574

Browse files
committed
feat(statics): add polyx tokens
TICKET: WIN-7452
1 parent ca7d097 commit 8b53574

File tree

3 files changed

+108
-12
lines changed

3 files changed

+108
-12
lines changed

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import {
3434
terc721,
3535
tflrErc20,
3636
topethErc20,
37-
tpolyxToken,
3837
tronToken,
3938
tstellarToken,
4039
tsuiToken,
@@ -101,7 +100,6 @@ import {
101100
POLYGON_FEATURES,
102101
POLYGON_TOKEN_FEATURES,
103102
POLYX_FEATURES,
104-
POLYX_TOKEN_FEATURES,
105103
RBTC_FEATURES,
106104
SEI_FEATURES,
107105
SGB_FEATURES,
@@ -4666,16 +4664,6 @@ export const allCoinsAndTokens = [
46664664
UnderlyingAsset['ttao:targon'],
46674665
TAO_TOKEN_FEATURES
46684666
),
4669-
tpolyxToken(
4670-
'a63b4f8d-84d6-45d3-bc67-625239e40811',
4671-
'tpolyx:nvbitgot',
4672-
'NVBITGOT Fungible Asset',
4673-
6,
4674-
'NVBITGOT',
4675-
'0x780602887b358cf48989d0d9aa6c8d28',
4676-
UnderlyingAsset['tpolyx:nvbitgot'],
4677-
POLYX_TOKEN_FEATURES
4678-
),
46794667
aptToken(
46804668
'e2a2d8fc-df3e-4bb7-b9c6-19092bb3369a',
46814669
'apt:usd1',

modules/statics/src/base.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3131,6 +3131,16 @@ export enum UnderlyingAsset {
31313131

31323132
// Polymesh testnet tokens
31333133
'tpolyx:nvbitgot' = 'tpolyx:nvbitgot',
3134+
'tpolyx:RAND176TM' = 'tpolyx:RAND176TM',
3135+
'tpolyx:WEBINRASSET3' = 'tpolyx:WEBINRASSET3',
3136+
'tpolyx:WEBINRASSET4' = 'tpolyx:WEBINRASSET4',
3137+
'tpolyx:WEBINRASSET5' = 'tpolyx:WEBINRASSET5',
3138+
'tpolyx:WEBINRASSET6' = 'tpolyx:WEBINRASSET6',
3139+
'tpolyx:WEBINRASSET7' = 'tpolyx:WEBINRASSET7',
3140+
'tpolyx:BULLRWA' = 'tpolyx:BULLRWA',
3141+
3142+
// Polymesh mainnet tokens
3143+
'polyx:0xa0ce6bc4c60981e08eca6504656c99e6' = 'polyx:0xa0ce6bc4c60981e08eca6504656c99e6',
31343144

31353145
// Hbar tokens
31363146
'hbar:karate' = 'hbar:karate',
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
import { tpolyxToken, polyxToken } from '../account';
2+
import { UnderlyingAsset } from '../base';
3+
import { POLYX_TOKEN_FEATURES } from '../coinFeatures';
4+
5+
// https://polymesh.protofire.io/asset/{assetId}
6+
export const polyxTokens = [
7+
polyxToken(
8+
'4121c583-2e0f-4d4c-95de-24b2a3f77181',
9+
'polyx:0xa0ce6bc4c60981e08eca6504656c99e6',
10+
'RAND175TM',
11+
6,
12+
'',
13+
'0xa0ce6bc4c60981e08eca6504656c99e6',
14+
UnderlyingAsset['polyx:0xa0ce6bc4c60981e08eca6504656c99e6'],
15+
POLYX_TOKEN_FEATURES
16+
),
17+
tpolyxToken(
18+
'a63b4f8d-84d6-45d3-bc67-625239e40811',
19+
'tpolyx:nvbitgot',
20+
'NVBITGOT Fungible Asset',
21+
6,
22+
'NVBITGOT',
23+
'0x780602887b358cf48989d0d9aa6c8d28',
24+
UnderlyingAsset['tpolyx:nvbitgot'],
25+
POLYX_TOKEN_FEATURES
26+
),
27+
tpolyxToken(
28+
'd92f85d4-7d1a-4058-9972-66dbdfaddee2',
29+
'tpolyx:RAND176TM',
30+
'RAND176TM',
31+
6,
32+
'RAND176TM',
33+
'0x80c6b6e01589893ea70ef3d3789122d6',
34+
UnderlyingAsset['tpolyx:RAND176TM'],
35+
POLYX_TOKEN_FEATURES
36+
),
37+
38+
tpolyxToken(
39+
'4becde65-8d44-488f-bda9-74ca2d90b3dd',
40+
'tpolyx:WEBINRASSET3',
41+
'Webinar Real Estate',
42+
6,
43+
'WEBINRASSET3',
44+
'0xd7298d5b89628da5ab9ba80974552c8d',
45+
UnderlyingAsset['tpolyx:WEBINRASSET3'],
46+
POLYX_TOKEN_FEATURES
47+
),
48+
tpolyxToken(
49+
'6aa6cb3f-6ba8-4afc-9695-87290184d085',
50+
'tpolyx:WEBINRASSET4',
51+
'Webinar RWA',
52+
6,
53+
'WEBINRASSET4',
54+
'0x603f3b0e5f6d8ad399c080b496557a81',
55+
UnderlyingAsset['tpolyx:WEBINRASSET4'],
56+
POLYX_TOKEN_FEATURES
57+
),
58+
tpolyxToken(
59+
'c1e01419-65ea-4b33-ae13-d80b5e0035fd',
60+
'tpolyx:WEBINRASSET5',
61+
'Webinar Fund',
62+
6,
63+
'WEBINRASSET5',
64+
'0x0c7371af68b281798d5ff71d870ecd82',
65+
UnderlyingAsset['tpolyx:WEBINRASSET5'],
66+
POLYX_TOKEN_FEATURES
67+
),
68+
tpolyxToken(
69+
'db4ee911-642b-4a81-ba6e-2aac11d447df',
70+
'tpolyx:WEBINRASSET6',
71+
'Webinar Uranium',
72+
6,
73+
'WEBINRASSET6',
74+
'0x4e63130375b18444a3020aaa67d2ee3e',
75+
UnderlyingAsset['tpolyx:WEBINRASSET6'],
76+
POLYX_TOKEN_FEATURES
77+
),
78+
tpolyxToken(
79+
'9d6bcc8d-21d5-4d37-b016-8673c31c9dd2',
80+
'tpolyx:WEBINRASSET7',
81+
'Webinar Gold',
82+
6,
83+
'WEBINRASSET7',
84+
'0x0aaf71d50bbf8f5f95b11582fb8dbb74',
85+
UnderlyingAsset['tpolyx:WEBINRASSET7'],
86+
POLYX_TOKEN_FEATURES
87+
),
88+
tpolyxToken(
89+
'74f4d3f7-7b0f-457a-a4d5-bc21c8802169',
90+
'tpolyx:BULLRWA',
91+
'Bullish RWA Index',
92+
6,
93+
'BULLRWA',
94+
'0x17701e181aab8ba5bc5c3b56f472b340',
95+
UnderlyingAsset['tpolyx:BULLRWA'],
96+
POLYX_TOKEN_FEATURES
97+
),
98+
];

0 commit comments

Comments
 (0)