@pioneer-platform/tokens 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/LICENSE +674 -0
  2. package/lib/index.d.ts +14 -0
  3. package/lib/index.js +31 -0
  4. package/lib/tokenLists/1inch.d.ts +207 -0
  5. package/lib/tokenLists/1inch.js +246 -0
  6. package/lib/tokenLists/Coingecko.d.ts +22899 -0
  7. package/lib/tokenLists/Coingecko.js +27482 -0
  8. package/lib/tokenLists/Maya.d.ts +57 -0
  9. package/lib/tokenLists/Maya.js +36 -0
  10. package/lib/tokenLists/Native.d.ts +73 -0
  11. package/lib/tokenLists/Native.js +28 -0
  12. package/lib/tokenLists/Pancakeswap.d.ts +1793 -0
  13. package/lib/tokenLists/Pancakeswap.js +2149 -0
  14. package/lib/tokenLists/Pancakeswapeth.d.ts +253 -0
  15. package/lib/tokenLists/Pancakeswapeth.js +301 -0
  16. package/lib/tokenLists/Pangolin.d.ts +848 -0
  17. package/lib/tokenLists/Pangolin.js +1015 -0
  18. package/lib/tokenLists/Pioneer.d.ts +30 -0
  19. package/lib/tokenLists/Pioneer.js +22 -0
  20. package/lib/tokenLists/Stargatearb.d.ts +27 -0
  21. package/lib/tokenLists/Stargatearb.js +35 -0
  22. package/lib/tokenLists/Sushiswap.d.ts +2455 -0
  23. package/lib/tokenLists/Sushiswap.js +2949 -0
  24. package/lib/tokenLists/Thorchain.d.ts +143 -0
  25. package/lib/tokenLists/Thorchain.js +131 -0
  26. package/lib/tokenLists/Traderjoe.d.ts +558 -0
  27. package/lib/tokenLists/Traderjoe.js +667 -0
  28. package/lib/tokenLists/Uniswap.d.ts +1247 -0
  29. package/lib/tokenLists/Uniswap.js +1494 -0
  30. package/lib/tokenLists/Woofi.d.ts +43 -0
  31. package/lib/tokenLists/Woofi.js +49 -0
  32. package/package.json +25 -0
  33. package/src/index.ts +14 -0
  34. package/src/tokenLists/1inch.ts +243 -0
  35. package/src/tokenLists/Coingecko.ts +27479 -0
  36. package/src/tokenLists/Maya.ts +33 -0
  37. package/src/tokenLists/Native.ts +25 -0
  38. package/src/tokenLists/Pancakeswap.ts +2146 -0
  39. package/src/tokenLists/Pancakeswapeth.ts +298 -0
  40. package/src/tokenLists/Pangolin.ts +1012 -0
  41. package/src/tokenLists/Pioneer.ts +19 -0
  42. package/src/tokenLists/Stargatearb.ts +32 -0
  43. package/src/tokenLists/Sushiswap.ts +2946 -0
  44. package/src/tokenLists/Thorchain.ts +128 -0
  45. package/src/tokenLists/Traderjoe.ts +664 -0
  46. package/src/tokenLists/Uniswap.ts +1491 -0
  47. package/src/tokenLists/Woofi.ts +46 -0
  48. package/tsconfig.json +13 -0
@@ -0,0 +1,43 @@
1
+ export declare const list: {
2
+ readonly name: "Woofi Avalanche";
3
+ readonly timestamp: "2023-05-10T04:35:02.814Z";
4
+ readonly version: {
5
+ readonly major: 1;
6
+ readonly minor: 0;
7
+ readonly patch: 0;
8
+ };
9
+ readonly keywords: readonly ["woofi", "avalanche"];
10
+ readonly tokens: readonly [{
11
+ readonly address: "0x152b9d0FdC40C096757F570A51E494bd4b943E50";
12
+ readonly chain: "AVAX";
13
+ readonly identifier: "AVAX.BTC.b-0X152B9D0FDC40C096757F570A51E494BD4B943E50";
14
+ readonly decimals: 8;
15
+ }, {
16
+ readonly address: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7";
17
+ readonly chain: "AVAX";
18
+ readonly identifier: "AVAX.WAVAX-0XB31F66AA3C1E785363F0875A1B74E27B85FD66C7";
19
+ readonly decimals: 18;
20
+ }, {
21
+ readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
22
+ readonly chain: "AVAX";
23
+ readonly identifier: "AVAX.USDC-0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E";
24
+ readonly decimals: 6;
25
+ }, {
26
+ readonly address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";
27
+ readonly chain: "AVAX";
28
+ readonly identifier: "AVAX.USDT-0X9702230A8EA53601F5CD2DC00FDBC13D4DF4A8C7";
29
+ readonly decimals: 6;
30
+ }, {
31
+ readonly address: "0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB";
32
+ readonly chain: "AVAX";
33
+ readonly identifier: "AVAX.WETH.e-0X49D5C2BDFFAC6CE2BFDB6640F4F80F226BC10BAB";
34
+ readonly decimals: 18;
35
+ }, {
36
+ readonly address: "0xaBC9547B534519fF73921b1FBA6E672b5f58D083";
37
+ readonly chain: "AVAX";
38
+ readonly identifier: "AVAX.WOO-0XABC9547B534519FF73921B1FBA6E672B5F58D083";
39
+ readonly decimals: 18;
40
+ }];
41
+ readonly count: 6;
42
+ readonly logo: "https://static.thorswap.net/token-list/images/eth.woo-0x4691937a7508860f876c9c0a2a617e7d9e945d4b.png";
43
+ };
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.list = void 0;
4
+ exports.list = {
5
+ name: 'Woofi Avalanche',
6
+ timestamp: '2023-05-10T04:35:02.814Z',
7
+ version: { major: 1, minor: 0, patch: 0 },
8
+ keywords: ['woofi', 'avalanche'],
9
+ tokens: [
10
+ {
11
+ address: '0x152b9d0FdC40C096757F570A51E494bd4b943E50',
12
+ chain: 'AVAX',
13
+ identifier: 'AVAX.BTC.b-0X152B9D0FDC40C096757F570A51E494BD4B943E50',
14
+ decimals: 8,
15
+ },
16
+ {
17
+ address: '0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7',
18
+ chain: 'AVAX',
19
+ identifier: 'AVAX.WAVAX-0XB31F66AA3C1E785363F0875A1B74E27B85FD66C7',
20
+ decimals: 18,
21
+ },
22
+ {
23
+ address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E',
24
+ chain: 'AVAX',
25
+ identifier: 'AVAX.USDC-0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E',
26
+ decimals: 6,
27
+ },
28
+ {
29
+ address: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7',
30
+ chain: 'AVAX',
31
+ identifier: 'AVAX.USDT-0X9702230A8EA53601F5CD2DC00FDBC13D4DF4A8C7',
32
+ decimals: 6,
33
+ },
34
+ {
35
+ address: '0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB',
36
+ chain: 'AVAX',
37
+ identifier: 'AVAX.WETH.e-0X49D5C2BDFFAC6CE2BFDB6640F4F80F226BC10BAB',
38
+ decimals: 18,
39
+ },
40
+ {
41
+ address: '0xaBC9547B534519fF73921b1FBA6E672b5f58D083',
42
+ chain: 'AVAX',
43
+ identifier: 'AVAX.WOO-0XABC9547B534519FF73921B1FBA6E672B5F58D083',
44
+ decimals: 18,
45
+ },
46
+ ],
47
+ count: 6,
48
+ logo: 'https://static.thorswap.net/token-list/images/eth.woo-0x4691937a7508860f876c9c0a2a617e7d9e945d4b.png',
49
+ };
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@pioneer-platform/tokens",
3
+ "version": "0.0.2",
4
+ "main": "./lib/index.js",
5
+ "types": "./lib/index.d.ts",
6
+ "scripts": {
7
+ "npm": "npm i",
8
+ "test": "npm run build && node __tests__/test-module.js",
9
+ "lint": "prettier --write '**/**/*.ts'",
10
+ "start": "nodemon --watch 'src/**/*.ts' --exec ts-node __tests__node",
11
+ "build": "tsc -p .",
12
+ "prepublish": "npm run build",
13
+ "refresh": "rm -rf ./node_modules ./package-lock.json && npm install"
14
+ },
15
+ "dependencies": {
16
+ "@coinmasters/tokens": "^3.7.28",
17
+ "@coinmasters/types": "^4.7.28",
18
+ "@noble/hashes": "^1.4.0",
19
+ "@pioneer-platform/loggerdog": "^8.3.1",
20
+ "@types/node": "^18.15.11",
21
+ "ts-node": "^8.10.2",
22
+ "typescript": "^5.0.2"
23
+ },
24
+ "gitHead": "e4a7114f00103ee48533c369dba4a02021ddcbe4"
25
+ }
package/src/index.ts ADDED
@@ -0,0 +1,14 @@
1
+ export { list as OneInchList } from './tokenLists/1inch';
2
+ export { list as CoinGeckoList } from './tokenLists/Coingecko';
3
+ export { list as MayaList } from './tokenLists/Maya';
4
+ export { list as NativeList } from './tokenLists/Native';
5
+ export { list as PancakeswapList } from './tokenLists/Pancakeswap';
6
+ export { list as PancakeswapETHList } from './tokenLists/Pancakeswapeth';
7
+ export { list as PangolinList } from './tokenLists/Pangolin';
8
+ export { list as PioneerList } from './tokenLists/Pioneer';
9
+ export { list as StargateARBList } from './tokenLists/Stargatearb';
10
+ export { list as SushiswapList } from './tokenLists/Sushiswap';
11
+ export { list as ThorchainList } from './tokenLists/Thorchain';
12
+ export { list as TraderjoeList } from './tokenLists/Traderjoe';
13
+ export { list as UniswapList } from './tokenLists/Uniswap';
14
+ export { list as WoofiList } from './tokenLists/Woofi';
@@ -0,0 +1,243 @@
1
+ export const list = {
2
+ name: 'Trust Wallet: Ethereum',
3
+ timestamp: '2021-11-09T22:30:24.689Z',
4
+ version: { major: 14, minor: 0, patch: 0 },
5
+ tokens: [
6
+ {
7
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
8
+ chain: 'ETH',
9
+ identifier: 'ETH.WETH-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2',
10
+ decimals: 18,
11
+ },
12
+ {
13
+ address: '0x0000000000085d4780B73119b644AE5ecd22b376',
14
+ chain: 'ETH',
15
+ identifier: 'ETH.TUSD-0X0000000000085D4780B73119B644AE5ECD22B376',
16
+ decimals: 18,
17
+ },
18
+ {
19
+ address: '0x0Ae055097C6d159879521C384F1D2123D1f195e6',
20
+ chain: 'ETH',
21
+ identifier: 'ETH.STAKE-0X0AE055097C6D159879521C384F1D2123D1F195E6',
22
+ decimals: 18,
23
+ },
24
+ {
25
+ address: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e',
26
+ chain: 'ETH',
27
+ identifier: 'ETH.YFI-0X0BC529C00C6401AEF6D220BE8C6EA1667F6AD93E',
28
+ decimals: 18,
29
+ },
30
+ {
31
+ address: '0x0D8775F648430679A709E98d2b0Cb6250d2887EF',
32
+ chain: 'ETH',
33
+ identifier: 'ETH.BAT-0X0D8775F648430679A709E98D2B0CB6250D2887EF',
34
+ decimals: 18,
35
+ },
36
+ {
37
+ address: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942',
38
+ chain: 'ETH',
39
+ identifier: 'ETH.MANA-0X0F5D2FB29FB7D3CFEE444A200298F468908CC942',
40
+ decimals: 18,
41
+ },
42
+ {
43
+ address: '0x111111111117dC0aa78b770fA6A738034120C302',
44
+ chain: 'ETH',
45
+ identifier: 'ETH.1INCH-0X111111111117DC0AA78B770FA6A738034120C302',
46
+ decimals: 18,
47
+ },
48
+ {
49
+ address: '0x1985365e9f78359a9B6AD760e32412f4a445E862',
50
+ chain: 'ETH',
51
+ identifier: 'ETH.REP-0X1985365E9F78359A9B6AD760E32412F4A445E862',
52
+ decimals: 18,
53
+ },
54
+ {
55
+ address: '0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44',
56
+ chain: 'ETH',
57
+ identifier: 'ETH.KP3R-0X1CEB5CB57C4D4E2B2433641B95DD330A33185A44',
58
+ decimals: 18,
59
+ },
60
+ {
61
+ address: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984',
62
+ chain: 'ETH',
63
+ identifier: 'ETH.UNI-0X1F9840A85D5AF5BF1D1762F925BDADDC4201F984',
64
+ decimals: 18,
65
+ },
66
+ {
67
+ address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
68
+ chain: 'ETH',
69
+ identifier: 'ETH.WBTC-0X2260FAC5E5542A773AA44FBCFEDF7C193BC2C599',
70
+ decimals: 8,
71
+ },
72
+ {
73
+ address: '0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39',
74
+ chain: 'ETH',
75
+ identifier: 'ETH.HEX-0X2B591E99AFE9F32EAA6214F7B7629768C40EEB39',
76
+ decimals: 8,
77
+ },
78
+ {
79
+ address: '0x2ba592F78dB6436527729929AAf6c908497cB200',
80
+ chain: 'ETH',
81
+ identifier: 'ETH.CREAM-0X2BA592F78DB6436527729929AAF6C908497CB200',
82
+ decimals: 18,
83
+ },
84
+ {
85
+ address: '0x408e41876cCCDC0F92210600ef50372656052a38',
86
+ chain: 'ETH',
87
+ identifier: 'ETH.REN-0X408E41876CCCDC0F92210600EF50372656052A38',
88
+ decimals: 18,
89
+ },
90
+ {
91
+ address: '0x40FD72257597aA14C7231A7B1aaa29Fce868F677',
92
+ chain: 'ETH',
93
+ identifier: 'ETH.XOR-0X40FD72257597AA14C7231A7B1AAA29FCE868F677',
94
+ decimals: 18,
95
+ },
96
+ {
97
+ address: '0x514910771AF9Ca656af840dff83E8264EcF986CA',
98
+ chain: 'ETH',
99
+ identifier: 'ETH.LINK-0X514910771AF9CA656AF840DFF83E8264ECF986CA',
100
+ decimals: 18,
101
+ },
102
+ {
103
+ address: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51',
104
+ chain: 'ETH',
105
+ identifier: 'ETH.sUSD-0X57AB1EC28D129707052DF4DF418D58A2D46D5F51',
106
+ decimals: 18,
107
+ },
108
+ {
109
+ address: '0x584bC13c7D411c00c01A62e8019472dE68768430',
110
+ chain: 'ETH',
111
+ identifier: 'ETH.HEGIC-0X584BC13C7D411C00C01A62E8019472DE68768430',
112
+ decimals: 18,
113
+ },
114
+ {
115
+ address: '0x607F4C5BB672230e8672085532f7e901544a7375',
116
+ chain: 'ETH',
117
+ identifier: 'ETH.RLC-0X607F4C5BB672230E8672085532F7E901544A7375',
118
+ decimals: 9,
119
+ },
120
+ {
121
+ address: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
122
+ chain: 'ETH',
123
+ identifier: 'ETH.DAI-0X6B175474E89094C44DA98B954EEDEAC495271D0F',
124
+ decimals: 18,
125
+ },
126
+ {
127
+ address: '0x6B3595068778DD592e39A122f4f5a5cF09C90fE2',
128
+ chain: 'ETH',
129
+ identifier: 'ETH.SUSHI-0X6B3595068778DD592E39A122F4F5A5CF09C90FE2',
130
+ decimals: 18,
131
+ },
132
+ {
133
+ address: '0x6BFf2fE249601ed0Db3a87424a2E923118BB0312',
134
+ chain: 'ETH',
135
+ identifier: 'ETH.FYZ-0X6BFF2FE249601ED0DB3A87424A2E923118BB0312',
136
+ decimals: 18,
137
+ },
138
+ {
139
+ address: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9',
140
+ chain: 'ETH',
141
+ identifier: 'ETH.AAVE-0X7FC66500C84A76AD7E9C93437BFC5AC33E2DDAE9',
142
+ decimals: 18,
143
+ },
144
+ {
145
+ address: '0x8400D94A5cb0fa0D041a3788e395285d61c9ee5e',
146
+ chain: 'ETH',
147
+ identifier: 'ETH.UBT-0X8400D94A5CB0FA0D041A3788E395285D61C9EE5E',
148
+ decimals: 8,
149
+ },
150
+ {
151
+ address: '0x84cA8bc7997272c7CfB4D0Cd3D55cd942B3c9419',
152
+ chain: 'ETH',
153
+ identifier: 'ETH.DIA-0X84CA8BC7997272C7CFB4D0CD3D55CD942B3C9419',
154
+ decimals: 18,
155
+ },
156
+ {
157
+ address: '0x8CE9137d39326AD0cD6491fb5CC0CbA0e089b6A9',
158
+ chain: 'ETH',
159
+ identifier: 'ETH.SXP-0X8CE9137D39326AD0CD6491FB5CC0CBA0E089B6A9',
160
+ decimals: 18,
161
+ },
162
+ {
163
+ address: '0x967da4048cD07aB37855c090aAF366e4ce1b9F48',
164
+ chain: 'ETH',
165
+ identifier: 'ETH.OCEAN-0X967DA4048CD07AB37855C090AAF366E4CE1B9F48',
166
+ decimals: 18,
167
+ },
168
+ {
169
+ address: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2',
170
+ chain: 'ETH',
171
+ identifier: 'ETH.MKR-0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2',
172
+ decimals: 18,
173
+ },
174
+ {
175
+ address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
176
+ chain: 'ETH',
177
+ identifier: 'ETH.USDC-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48',
178
+ decimals: 6,
179
+ },
180
+ {
181
+ address: '0xaaAEBE6Fe48E54f431b0C390CfaF0b017d09D42d',
182
+ chain: 'ETH',
183
+ identifier: 'ETH.CEL-0XAAAEBE6FE48E54F431B0C390CFAF0B017D09D42D',
184
+ decimals: 4,
185
+ },
186
+ {
187
+ address: '0xba100000625a3754423978a60c9317c58a424e3D',
188
+ chain: 'ETH',
189
+ identifier: 'ETH.BAL-0XBA100000625A3754423978A60C9317C58A424E3D',
190
+ decimals: 18,
191
+ },
192
+ {
193
+ address: '0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55',
194
+ chain: 'ETH',
195
+ identifier: 'ETH.BAND-0XBA11D00C5F74255F56A5E366F4F77F5A186D7F55',
196
+ decimals: 18,
197
+ },
198
+ {
199
+ address: '0xc00e94Cb662C3520282E6f5717214004A7f26888',
200
+ chain: 'ETH',
201
+ identifier: 'ETH.COMP-0XC00E94CB662C3520282E6F5717214004A7F26888',
202
+ decimals: 18,
203
+ },
204
+ {
205
+ address: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F',
206
+ chain: 'ETH',
207
+ identifier: 'ETH.SNX-0XC011A73EE8576FB46F5E1C5751CA3B9FE0AF2A6F',
208
+ decimals: 18,
209
+ },
210
+ {
211
+ address: '0xd26114cd6EE289AccF82350c8d8487fedB8A0C07',
212
+ chain: 'ETH',
213
+ identifier: 'ETH.OMG-0XD26114CD6EE289ACCF82350C8D8487FEDB8A0C07',
214
+ decimals: 18,
215
+ },
216
+ {
217
+ address: '0xD46bA6D942050d489DBd938a2C909A5d5039A161',
218
+ chain: 'ETH',
219
+ identifier: 'ETH.AMPL-0XD46BA6D942050D489DBD938A2C909A5D5039A161',
220
+ decimals: 9,
221
+ },
222
+ {
223
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
224
+ chain: 'ETH',
225
+ identifier: 'ETH.USDT-0XDAC17F958D2EE523A2206206994597C13D831EC7',
226
+ decimals: 6,
227
+ },
228
+ {
229
+ address: '0xE41d2489571d322189246DaFA5ebDe1F4699F498',
230
+ chain: 'ETH',
231
+ identifier: 'ETH.ZRX-0XE41D2489571D322189246DAFA5EBDE1F4699F498',
232
+ decimals: 18,
233
+ },
234
+ {
235
+ address: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c',
236
+ chain: 'ETH',
237
+ identifier: 'ETH.ENJ-0XF629CBD94D3791C9250152BD8DFBDF380E2A3B9C',
238
+ decimals: 18,
239
+ },
240
+ ],
241
+ count: 39,
242
+ logo: 'https://static.thorswap.net/token-list/images/eth.1inch-0x111111111117dc0aa78b770fa6a738034120c302.png',
243
+ } as const;