@swapkit/tokens 1.0.0-rc.32 → 1.0.0-rc.34

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.
package/package.json CHANGED
@@ -3,13 +3,13 @@
3
3
  "description": "SwapKit Lib tokens",
4
4
  "devDependencies": {
5
5
  "@types/fs-extra": "11.0.4",
6
- "@vitest/coverage-istanbul": "1.0.4",
6
+ "@vitest/coverage-istanbul": "1.2.1",
7
7
  "fs-extra": "11.2.0",
8
- "vite": "5.0.7",
9
- "vitest": "1.0.4",
10
- "@internal/config": "null-rc.0",
11
- "@swapkit/api": "1.0.0-rc.31",
12
- "@swapkit/types": "1.0.0-rc.31"
8
+ "vite": "5.0.12",
9
+ "vitest": "1.2.1",
10
+ "@internal/config": "0.0.2-rc.0",
11
+ "@swapkit/api": "1.0.0-rc.37",
12
+ "@swapkit/types": "1.0.0-rc.36"
13
13
  },
14
14
  "eslintConfig": {
15
15
  "extends": "../../../internal/eslint-config"
@@ -30,14 +30,14 @@
30
30
  "main": "./dist/index.cjs",
31
31
  "module": "./dist/index.es.js",
32
32
  "name": "@swapkit/tokens",
33
- "publishConfig": {
34
- "access": "public"
35
- },
36
33
  "react-native": "./src/index.ts",
37
- "repository": "https://github.com/thorswap/SwapKit.git",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/thorswap/SwapKit.git"
37
+ },
38
38
  "type": "module",
39
39
  "types": "./dist/index.d.ts",
40
- "version": "1.0.0-rc.32",
40
+ "version": "1.0.0-rc.34",
41
41
  "scripts": {
42
42
  "build": "vite build",
43
43
  "generate-tokens": "node ./scripts/fetchTokenLists.js",
package/src/index.ts CHANGED
@@ -10,3 +10,4 @@ export { list as ThorchainList } from './tokenLists/Thorchain.ts';
10
10
  export { list as TraderjoeList } from './tokenLists/Traderjoe.ts';
11
11
  export { list as UniswapList } from './tokenLists/Uniswap.ts';
12
12
  export { list as WoofiList } from './tokenLists/Woofi.ts';
13
+ export { list as ChainflipList } from './tokenLists/Chainflip.ts';
@@ -4,27 +4,33 @@ export const list = {
4
4
  version: { major: 14, minor: 0, patch: 0 },
5
5
  tokens: [
6
6
  {
7
- address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
7
+ address: '0x111111111117dC0aa78b770fA6A738034120C302',
8
8
  chain: 'ETH',
9
- identifier: 'ETH.WETH-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2',
9
+ identifier: 'ETH.1INCH-0X111111111117DC0AA78B770FA6A738034120C302',
10
10
  decimals: 18,
11
11
  },
12
12
  {
13
- address: '0x0000000000085d4780B73119b644AE5ecd22b376',
13
+ address: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9',
14
14
  chain: 'ETH',
15
- identifier: 'ETH.TUSD-0X0000000000085D4780B73119B644AE5ECD22B376',
15
+ identifier: 'ETH.AAVE-0X7FC66500C84A76AD7E9C93437BFC5AC33E2DDAE9',
16
16
  decimals: 18,
17
17
  },
18
18
  {
19
- address: '0x0Ae055097C6d159879521C384F1D2123D1f195e6',
19
+ address: '0xD46bA6D942050d489DBd938a2C909A5d5039A161',
20
20
  chain: 'ETH',
21
- identifier: 'ETH.STAKE-0X0AE055097C6D159879521C384F1D2123D1F195E6',
21
+ identifier: 'ETH.AMPL-0XD46BA6D942050D489DBD938A2C909A5D5039A161',
22
+ decimals: 9,
23
+ },
24
+ {
25
+ address: '0xba100000625a3754423978a60c9317c58a424e3D',
26
+ chain: 'ETH',
27
+ identifier: 'ETH.BAL-0XBA100000625A3754423978A60C9317C58A424E3D',
22
28
  decimals: 18,
23
29
  },
24
30
  {
25
- address: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e',
31
+ address: '0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55',
26
32
  chain: 'ETH',
27
- identifier: 'ETH.YFI-0X0BC529C00C6401AEF6D220BE8C6EA1667F6AD93E',
33
+ identifier: 'ETH.BAND-0XBA11D00C5F74255F56A5E366F4F77F5A186D7F55',
28
34
  decimals: 18,
29
35
  },
30
36
  {
@@ -34,63 +40,63 @@ export const list = {
34
40
  decimals: 18,
35
41
  },
36
42
  {
37
- address: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942',
43
+ address: '0xaaAEBE6Fe48E54f431b0C390CfaF0b017d09D42d',
38
44
  chain: 'ETH',
39
- identifier: 'ETH.MANA-0X0F5D2FB29FB7D3CFEE444A200298F468908CC942',
40
- decimals: 18,
45
+ identifier: 'ETH.CEL-0XAAAEBE6FE48E54F431B0C390CFAF0B017D09D42D',
46
+ decimals: 4,
41
47
  },
42
48
  {
43
- address: '0x111111111117dC0aa78b770fA6A738034120C302',
49
+ address: '0xc00e94Cb662C3520282E6f5717214004A7f26888',
44
50
  chain: 'ETH',
45
- identifier: 'ETH.1INCH-0X111111111117DC0AA78B770FA6A738034120C302',
51
+ identifier: 'ETH.COMP-0XC00E94CB662C3520282E6F5717214004A7F26888',
46
52
  decimals: 18,
47
53
  },
48
54
  {
49
- address: '0x1985365e9f78359a9B6AD760e32412f4a445E862',
55
+ address: '0x2ba592F78dB6436527729929AAf6c908497cB200',
50
56
  chain: 'ETH',
51
- identifier: 'ETH.REP-0X1985365E9F78359A9B6AD760E32412F4A445E862',
57
+ identifier: 'ETH.CREAM-0X2BA592F78DB6436527729929AAF6C908497CB200',
52
58
  decimals: 18,
53
59
  },
54
60
  {
55
- address: '0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44',
61
+ address: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
56
62
  chain: 'ETH',
57
- identifier: 'ETH.KP3R-0X1CEB5CB57C4D4E2B2433641B95DD330A33185A44',
63
+ identifier: 'ETH.DAI-0X6B175474E89094C44DA98B954EEDEAC495271D0F',
58
64
  decimals: 18,
59
65
  },
60
66
  {
61
- address: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984',
67
+ address: '0x84cA8bc7997272c7CfB4D0Cd3D55cd942B3c9419',
62
68
  chain: 'ETH',
63
- identifier: 'ETH.UNI-0X1F9840A85D5AF5BF1D1762F925BDADDC4201F984',
69
+ identifier: 'ETH.DIA-0X84CA8BC7997272C7CFB4D0CD3D55CD942B3C9419',
64
70
  decimals: 18,
65
71
  },
66
72
  {
67
- address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
73
+ address: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c',
68
74
  chain: 'ETH',
69
- identifier: 'ETH.WBTC-0X2260FAC5E5542A773AA44FBCFEDF7C193BC2C599',
70
- decimals: 8,
75
+ identifier: 'ETH.ENJ-0XF629CBD94D3791C9250152BD8DFBDF380E2A3B9C',
76
+ decimals: 18,
71
77
  },
72
78
  {
73
- address: '0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39',
79
+ address: '0x6BFf2fE249601ed0Db3a87424a2E923118BB0312',
74
80
  chain: 'ETH',
75
- identifier: 'ETH.HEX-0X2B591E99AFE9F32EAA6214F7B7629768C40EEB39',
76
- decimals: 8,
81
+ identifier: 'ETH.FYZ-0X6BFF2FE249601ED0DB3A87424A2E923118BB0312',
82
+ decimals: 18,
77
83
  },
78
84
  {
79
- address: '0x2ba592F78dB6436527729929AAf6c908497cB200',
85
+ address: '0x584bC13c7D411c00c01A62e8019472dE68768430',
80
86
  chain: 'ETH',
81
- identifier: 'ETH.CREAM-0X2BA592F78DB6436527729929AAF6C908497CB200',
87
+ identifier: 'ETH.HEGIC-0X584BC13C7D411C00C01A62E8019472DE68768430',
82
88
  decimals: 18,
83
89
  },
84
90
  {
85
- address: '0x408e41876cCCDC0F92210600ef50372656052a38',
91
+ address: '0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39',
86
92
  chain: 'ETH',
87
- identifier: 'ETH.REN-0X408E41876CCCDC0F92210600EF50372656052A38',
88
- decimals: 18,
93
+ identifier: 'ETH.HEX-0X2B591E99AFE9F32EAA6214F7B7629768C40EEB39',
94
+ decimals: 8,
89
95
  },
90
96
  {
91
- address: '0x40FD72257597aA14C7231A7B1aaa29Fce868F677',
97
+ address: '0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44',
92
98
  chain: 'ETH',
93
- identifier: 'ETH.XOR-0X40FD72257597AA14C7231A7B1AAA29FCE868F677',
99
+ identifier: 'ETH.KP3R-0X1CEB5CB57C4D4E2B2433641B95DD330A33185A44',
94
100
  decimals: 18,
95
101
  },
96
102
  {
@@ -100,130 +106,130 @@ export const list = {
100
106
  decimals: 18,
101
107
  },
102
108
  {
103
- address: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51',
109
+ address: '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942',
104
110
  chain: 'ETH',
105
- identifier: 'ETH.sUSD-0X57AB1EC28D129707052DF4DF418D58A2D46D5F51',
111
+ identifier: 'ETH.MANA-0X0F5D2FB29FB7D3CFEE444A200298F468908CC942',
106
112
  decimals: 18,
107
113
  },
108
114
  {
109
- address: '0x584bC13c7D411c00c01A62e8019472dE68768430',
115
+ address: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2',
110
116
  chain: 'ETH',
111
- identifier: 'ETH.HEGIC-0X584BC13C7D411C00C01A62E8019472DE68768430',
117
+ identifier: 'ETH.MKR-0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2',
112
118
  decimals: 18,
113
119
  },
114
120
  {
115
- address: '0x607F4C5BB672230e8672085532f7e901544a7375',
121
+ address: '0x967da4048cD07aB37855c090aAF366e4ce1b9F48',
116
122
  chain: 'ETH',
117
- identifier: 'ETH.RLC-0X607F4C5BB672230E8672085532F7E901544A7375',
118
- decimals: 9,
123
+ identifier: 'ETH.OCEAN-0X967DA4048CD07AB37855C090AAF366E4CE1B9F48',
124
+ decimals: 18,
119
125
  },
120
126
  {
121
- address: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
127
+ address: '0xd26114cd6EE289AccF82350c8d8487fedB8A0C07',
122
128
  chain: 'ETH',
123
- identifier: 'ETH.DAI-0X6B175474E89094C44DA98B954EEDEAC495271D0F',
129
+ identifier: 'ETH.OMG-0XD26114CD6EE289ACCF82350C8D8487FEDB8A0C07',
124
130
  decimals: 18,
125
131
  },
126
132
  {
127
- address: '0x6B3595068778DD592e39A122f4f5a5cF09C90fE2',
133
+ address: '0x408e41876cCCDC0F92210600ef50372656052a38',
128
134
  chain: 'ETH',
129
- identifier: 'ETH.SUSHI-0X6B3595068778DD592E39A122F4F5A5CF09C90FE2',
135
+ identifier: 'ETH.REN-0X408E41876CCCDC0F92210600EF50372656052A38',
130
136
  decimals: 18,
131
137
  },
132
138
  {
133
- address: '0x6BFf2fE249601ed0Db3a87424a2E923118BB0312',
139
+ address: '0x1985365e9f78359a9B6AD760e32412f4a445E862',
134
140
  chain: 'ETH',
135
- identifier: 'ETH.FYZ-0X6BFF2FE249601ED0DB3A87424A2E923118BB0312',
141
+ identifier: 'ETH.REP-0X1985365E9F78359A9B6AD760E32412F4A445E862',
136
142
  decimals: 18,
137
143
  },
138
144
  {
139
- address: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9',
145
+ address: '0x607F4C5BB672230e8672085532f7e901544a7375',
140
146
  chain: 'ETH',
141
- identifier: 'ETH.AAVE-0X7FC66500C84A76AD7E9C93437BFC5AC33E2DDAE9',
142
- decimals: 18,
147
+ identifier: 'ETH.RLC-0X607F4C5BB672230E8672085532F7E901544A7375',
148
+ decimals: 9,
143
149
  },
144
150
  {
145
- address: '0x8400D94A5cb0fa0D041a3788e395285d61c9ee5e',
151
+ address: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F',
146
152
  chain: 'ETH',
147
- identifier: 'ETH.UBT-0X8400D94A5CB0FA0D041A3788E395285D61C9EE5E',
148
- decimals: 8,
153
+ identifier: 'ETH.SNX-0XC011A73EE8576FB46F5E1C5751CA3B9FE0AF2A6F',
154
+ decimals: 18,
149
155
  },
150
156
  {
151
- address: '0x84cA8bc7997272c7CfB4D0Cd3D55cd942B3c9419',
157
+ address: '0x0Ae055097C6d159879521C384F1D2123D1f195e6',
152
158
  chain: 'ETH',
153
- identifier: 'ETH.DIA-0X84CA8BC7997272C7CFB4D0CD3D55CD942B3C9419',
159
+ identifier: 'ETH.STAKE-0X0AE055097C6D159879521C384F1D2123D1F195E6',
154
160
  decimals: 18,
155
161
  },
156
162
  {
157
- address: '0x8CE9137d39326AD0cD6491fb5CC0CbA0e089b6A9',
163
+ address: '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51',
158
164
  chain: 'ETH',
159
- identifier: 'ETH.SXP-0X8CE9137D39326AD0CD6491FB5CC0CBA0E089B6A9',
165
+ identifier: 'ETH.sUSD-0X57AB1EC28D129707052DF4DF418D58A2D46D5F51',
160
166
  decimals: 18,
161
167
  },
162
168
  {
163
- address: '0x967da4048cD07aB37855c090aAF366e4ce1b9F48',
169
+ address: '0x6B3595068778DD592e39A122f4f5a5cF09C90fE2',
164
170
  chain: 'ETH',
165
- identifier: 'ETH.OCEAN-0X967DA4048CD07AB37855C090AAF366E4CE1B9F48',
171
+ identifier: 'ETH.SUSHI-0X6B3595068778DD592E39A122F4F5A5CF09C90FE2',
166
172
  decimals: 18,
167
173
  },
168
174
  {
169
- address: '0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2',
175
+ address: '0x8CE9137d39326AD0cD6491fb5CC0CbA0e089b6A9',
170
176
  chain: 'ETH',
171
- identifier: 'ETH.MKR-0X9F8F72AA9304C8B593D555F12EF6589CC3A579A2',
177
+ identifier: 'ETH.SXP-0X8CE9137D39326AD0CD6491FB5CC0CBA0E089B6A9',
172
178
  decimals: 18,
173
179
  },
174
180
  {
175
- address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
181
+ address: '0x0000000000085d4780B73119b644AE5ecd22b376',
176
182
  chain: 'ETH',
177
- identifier: 'ETH.USDC-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48',
178
- decimals: 6,
183
+ identifier: 'ETH.TUSD-0X0000000000085D4780B73119B644AE5ECD22B376',
184
+ decimals: 18,
179
185
  },
180
186
  {
181
- address: '0xaaAEBE6Fe48E54f431b0C390CfaF0b017d09D42d',
187
+ address: '0x8400D94A5cb0fa0D041a3788e395285d61c9ee5e',
182
188
  chain: 'ETH',
183
- identifier: 'ETH.CEL-0XAAAEBE6FE48E54F431B0C390CFAF0B017D09D42D',
184
- decimals: 4,
189
+ identifier: 'ETH.UBT-0X8400D94A5CB0FA0D041A3788E395285D61C9EE5E',
190
+ decimals: 8,
185
191
  },
186
192
  {
187
- address: '0xba100000625a3754423978a60c9317c58a424e3D',
193
+ address: '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984',
188
194
  chain: 'ETH',
189
- identifier: 'ETH.BAL-0XBA100000625A3754423978A60C9317C58A424E3D',
195
+ identifier: 'ETH.UNI-0X1F9840A85D5AF5BF1D1762F925BDADDC4201F984',
190
196
  decimals: 18,
191
197
  },
192
198
  {
193
- address: '0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55',
199
+ address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
194
200
  chain: 'ETH',
195
- identifier: 'ETH.BAND-0XBA11D00C5F74255F56A5E366F4F77F5A186D7F55',
196
- decimals: 18,
201
+ identifier: 'ETH.USDC-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48',
202
+ decimals: 6,
197
203
  },
198
204
  {
199
- address: '0xc00e94Cb662C3520282E6f5717214004A7f26888',
205
+ address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
200
206
  chain: 'ETH',
201
- identifier: 'ETH.COMP-0XC00E94CB662C3520282E6F5717214004A7F26888',
202
- decimals: 18,
207
+ identifier: 'ETH.USDT-0XDAC17F958D2EE523A2206206994597C13D831EC7',
208
+ decimals: 6,
203
209
  },
204
210
  {
205
- address: '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F',
211
+ address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
206
212
  chain: 'ETH',
207
- identifier: 'ETH.SNX-0XC011A73EE8576FB46F5E1C5751CA3B9FE0AF2A6F',
208
- decimals: 18,
213
+ identifier: 'ETH.WBTC-0X2260FAC5E5542A773AA44FBCFEDF7C193BC2C599',
214
+ decimals: 8,
209
215
  },
210
216
  {
211
- address: '0xd26114cd6EE289AccF82350c8d8487fedB8A0C07',
217
+ address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
212
218
  chain: 'ETH',
213
- identifier: 'ETH.OMG-0XD26114CD6EE289ACCF82350C8D8487FEDB8A0C07',
219
+ identifier: 'ETH.WETH-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2',
214
220
  decimals: 18,
215
221
  },
216
222
  {
217
- address: '0xD46bA6D942050d489DBd938a2C909A5d5039A161',
223
+ address: '0x40FD72257597aA14C7231A7B1aaa29Fce868F677',
218
224
  chain: 'ETH',
219
- identifier: 'ETH.AMPL-0XD46BA6D942050D489DBD938A2C909A5D5039A161',
220
- decimals: 9,
225
+ identifier: 'ETH.XOR-0X40FD72257597AA14C7231A7B1AAA29FCE868F677',
226
+ decimals: 18,
221
227
  },
222
228
  {
223
- address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
229
+ address: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e',
224
230
  chain: 'ETH',
225
- identifier: 'ETH.USDT-0XDAC17F958D2EE523A2206206994597C13D831EC7',
226
- decimals: 6,
231
+ identifier: 'ETH.YFI-0X0BC529C00C6401AEF6D220BE8C6EA1667F6AD93E',
232
+ decimals: 18,
227
233
  },
228
234
  {
229
235
  address: '0xE41d2489571d322189246DaFA5ebDe1F4699F498',
@@ -231,12 +237,6 @@ export const list = {
231
237
  identifier: 'ETH.ZRX-0XE41D2489571D322189246DAFA5EBDE1F4699F498',
232
238
  decimals: 18,
233
239
  },
234
- {
235
- address: '0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c',
236
- chain: 'ETH',
237
- identifier: 'ETH.ENJ-0XF629CBD94D3791C9250152BD8DFBDF380E2A3B9C',
238
- decimals: 18,
239
- },
240
240
  ],
241
241
  count: 39,
242
242
  logo: 'https://static.thorswap.net/token-list/images/eth.1inch-0x111111111117dc0aa78b770fa6a738034120c302.png',
@@ -0,0 +1,12 @@
1
+ export const list = {
2
+ name: 'native-l1',
3
+ timestamp: '2023-10-17T00:00:00.000Z',
4
+ version: { major: 1, minor: 0, patch: 0 },
5
+ keywords: ['Native'],
6
+ tokens: [
7
+ { chain: 'DOT', identifier: 'DOT.DOT', decimals: 10 },
8
+ { chain: 'FLIP', identifier: 'FLIP.FLIP', decimals: 18 },
9
+ ],
10
+ count: 2,
11
+ logo: 'https://static.thorswap.net/logo.png',
12
+ } as const;