@swapkit/tokens 2.2.0 → 2.2.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.
package/package.json CHANGED
@@ -24,5 +24,5 @@
24
24
  },
25
25
  "type": "module",
26
26
  "types": "./src/index.ts",
27
- "version": "2.2.0"
27
+ "version": "2.2.2"
28
28
  }
package/src/helpers.ts CHANGED
@@ -1,12 +1,8 @@
1
- import { tokenLists as defaultTokenLists } from "./lists";
2
- import type { TokenList } from "./types";
1
+ import * as tokenLists from "./tokenLists";
3
2
 
4
- export function getTokenIcon(
5
- identifier: string,
6
- lists: Record<string, TokenList> = defaultTokenLists,
7
- ): string | undefined {
3
+ export function getTokenIcon(identifier: string): string | undefined {
8
4
  // Search through all lists for a matching token
9
- for (const list of Object.values(lists)) {
5
+ for (const list of Object.values(tokenLists)) {
10
6
  const token = list.tokens.find((token) => token.identifier === identifier);
11
7
  if (token?.logoURI) {
12
8
  return token.logoURI;
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./lists";
1
+ export * as tokenLists from "./tokenLists";
2
+ export * from "./tokenLists";
2
3
  export * from "./helpers";
3
- export * from "./types";
@@ -2,8 +2,8 @@ export const list = {
2
2
  provider: "CAMELOT_V3",
3
3
  chainId: "42161",
4
4
  name: "Camelot V3",
5
- timestamp: "1736334167052",
6
- count: 1581,
5
+ timestamp: "1737552726554",
6
+ count: 1591,
7
7
  tokens: [
8
8
  {
9
9
  address: "0xda39A32c9c5Bb2C9E99d4e2a24bc55A418599F90",
@@ -4435,6 +4435,16 @@ export const list = {
4435
4435
  "https://storage.googleapis.com/token-list-swapkit/images/arb.caprio-0xcff1c479c3a1a6cb828351af560a4750befe1246.png",
4436
4436
  ticker: "CAPRIO",
4437
4437
  },
4438
+ {
4439
+ address: "0xc08Cd26474722cE93F4D0c34D16201461c10AA8C",
4440
+ chain: "ARB",
4441
+ chainId: "42161",
4442
+ decimals: 18,
4443
+ identifier: "ARB.CARV-0xc08Cd26474722cE93F4D0c34D16201461c10AA8C",
4444
+ logoURI:
4445
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.carv-0xc08cd26474722ce93f4d0c34d16201461c10aa8c.png",
4446
+ ticker: "CARV",
4447
+ },
4438
4448
  {
4439
4449
  address: "0x840A5B8BB87bFC415F6a59c363cAfB8de2D484bD",
4440
4450
  chain: "ARB",
@@ -5195,6 +5205,16 @@ export const list = {
5195
5205
  "https://storage.googleapis.com/token-list-swapkit/images/arb.dai-0xda10009cbd5d07dd0cecc66161fc93d7c9000da1.png",
5196
5206
  ticker: "DAI",
5197
5207
  },
5208
+ {
5209
+ address: "0xf07F9b23aB581EF7a48574d1b090c88F36946E64",
5210
+ chain: "ARB",
5211
+ chainId: "42161",
5212
+ decimals: 18,
5213
+ identifier: "ARB.DAM-0xf07F9b23aB581EF7a48574d1b090c88F36946E64",
5214
+ logoURI:
5215
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.dam-0xf07f9b23ab581ef7a48574d1b090c88f36946e64.png",
5216
+ ticker: "DAM",
5217
+ },
5198
5218
  {
5199
5219
  address: "0x551a3e17eAeAC3689efb580Fe0C67Fce8c9a75a3",
5200
5220
  chain: "ARB",
@@ -5235,6 +5255,16 @@ export const list = {
5235
5255
  "https://storage.googleapis.com/token-list-swapkit/images/arb.dechat-0xf2852f56022f0177bdc51c8b56d38a2b6f0df65c.png",
5236
5256
  ticker: "DECHAT",
5237
5257
  },
5258
+ {
5259
+ address: "0x13ad3f1150db0e1e05fd32bDEeB7C110ee023de6",
5260
+ chain: "ARB",
5261
+ chainId: "42161",
5262
+ decimals: 18,
5263
+ identifier: "ARB.DeFAI-0x13ad3f1150db0e1e05fd32bDEeB7C110ee023de6",
5264
+ logoURI:
5265
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.defai-0x13ad3f1150db0e1e05fd32bdeeb7c110ee023de6.png",
5266
+ ticker: "DeFAI",
5267
+ },
5238
5268
  {
5239
5269
  address: "0x8c3a63206A23eEd588D5d2D7B7494f53Ff9331d5",
5240
5270
  chain: "ARB",
@@ -5655,6 +5685,16 @@ export const list = {
5655
5685
  "https://storage.googleapis.com/token-list-swapkit/images/arb.drp-0x2daefeb86fd19957cdf441b47bba412b43828143.png",
5656
5686
  ticker: "drp",
5657
5687
  },
5688
+ {
5689
+ address: "0x77b7787a09818502305C95d68A2571F090abb135",
5690
+ chain: "ARB",
5691
+ chainId: "42161",
5692
+ decimals: 18,
5693
+ identifier: "ARB.DRV-0x77b7787a09818502305C95d68A2571F090abb135",
5694
+ logoURI:
5695
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.drv-0x77b7787a09818502305c95d68a2571f090abb135.png",
5696
+ ticker: "DRV",
5697
+ },
5658
5698
  {
5659
5699
  address: "0x3FbB75df858e5b0164b27e294678fC78d0097d54",
5660
5700
  chain: "ARB",
@@ -5795,6 +5835,16 @@ export const list = {
5795
5835
  "https://storage.googleapis.com/token-list-swapkit/images/arb.earth fire-0xd24a0dcf1d56b8549b1d9b2d18c72787a3a5bcea.png",
5796
5836
  ticker: "Earth Fire",
5797
5837
  },
5838
+ {
5839
+ address: "0xec69Ad001CAc00bb5ABD9831aA18cfBebacEC369",
5840
+ chain: "ARB",
5841
+ chainId: "42161",
5842
+ decimals: 18,
5843
+ identifier: "ARB.EC-0xec69Ad001CAc00bb5ABD9831aA18cfBebacEC369",
5844
+ logoURI:
5845
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.ec-0xec69ad001cac00bb5abd9831aa18cfbebacec369.png",
5846
+ ticker: "EC",
5847
+ },
5798
5848
  {
5799
5849
  address: "0x93ca0d85837FF83158Cd14D65B169CdB223b1921",
5800
5850
  chain: "ARB",
@@ -6425,16 +6475,6 @@ export const list = {
6425
6475
  "https://storage.googleapis.com/token-list-swapkit/images/arb.flope-0x8d1444920caf026fbba85d0a69540cd775a70937.png",
6426
6476
  ticker: "FLOPE",
6427
6477
  },
6428
- {
6429
- address: "0x9b6226dd0191a77d032f56a6d383044ee99944c3",
6430
- chain: "ARB",
6431
- chainId: "42161",
6432
- decimals: 18,
6433
- identifier: "ARB.FLR-0x9b6226dd0191a77d032f56a6d383044ee99944c3",
6434
- logoURI:
6435
- "https://storage.googleapis.com/token-list-swapkit/images/arb.flr-0x9b6226dd0191a77d032f56a6d383044ee99944c3.png",
6436
- ticker: "FLR",
6437
- },
6438
6478
  {
6439
6479
  address: "0x9B6226dd0191a77d032F56A6d383044EE99944C3",
6440
6480
  chain: "ARB",
@@ -7785,6 +7825,16 @@ export const list = {
7785
7825
  "https://storage.googleapis.com/token-list-swapkit/images/arb.ikun-0x86da51cfac703766ec08c51f7a999a16e2814b4e.png",
7786
7826
  ticker: "IKUN",
7787
7827
  },
7828
+ {
7829
+ address: "0xcf1D7D1a7bBF5D11CCFe717FC6A9A45C8dD9c7bE",
7830
+ chain: "ARB",
7831
+ chainId: "42161",
7832
+ decimals: 18,
7833
+ identifier: "ARB.ILOCK-0xcf1D7D1a7bBF5D11CCFe717FC6A9A45C8dD9c7bE",
7834
+ logoURI:
7835
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.ilock-0xcf1d7d1a7bbf5d11ccfe717fc6a9a45c8dd9c7be.png",
7836
+ ticker: "ILOCK",
7837
+ },
7788
7838
  {
7789
7839
  address: "0xAf9E6cAF94472c51981107BC5084be847c58a603",
7790
7840
  chain: "ARB",
@@ -8265,6 +8315,16 @@ export const list = {
8265
8315
  "https://storage.googleapis.com/token-list-swapkit/images/arb.krn-0x57e10e54590add54c299e2b7b64161b5074b03c1.png",
8266
8316
  ticker: "KRN",
8267
8317
  },
8318
+ {
8319
+ address: "0xc9bD1C1e65eBFb36cF4b3d9FC8E2b844248deEE8",
8320
+ chain: "ARB",
8321
+ chainId: "42161",
8322
+ decimals: 18,
8323
+ identifier: "ARB.KUDAI-0xc9bD1C1e65eBFb36cF4b3d9FC8E2b844248deEE8",
8324
+ logoURI:
8325
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.kudai-0xc9bd1c1e65ebfb36cf4b3d9fc8e2b844248deee8.png",
8326
+ ticker: "KUDAI",
8327
+ },
8268
8328
  {
8269
8329
  address: "0x3A18dcC9745eDcD1Ef33ecB93b0b6eBA5671e7Ca",
8270
8330
  chain: "ARB",
@@ -10215,6 +10275,16 @@ export const list = {
10215
10275
  "https://storage.googleapis.com/token-list-swapkit/images/arb.o-0xca392594644b78a5a084596018ea22236178239f.png",
10216
10276
  ticker: "O",
10217
10277
  },
10278
+ {
10279
+ address: "0xDd89a4D3362828e601df52208302A741F08E46c5",
10280
+ chain: "ARB",
10281
+ chainId: "42161",
10282
+ decimals: 18,
10283
+ identifier: "ARB.O3-0xDd89a4D3362828e601df52208302A741F08E46c5",
10284
+ logoURI:
10285
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.o3-0xdd89a4d3362828e601df52208302a741f08e46c5.png",
10286
+ ticker: "O3",
10287
+ },
10218
10288
  {
10219
10289
  address: "0xa1150db5105987CEC5Fd092273d1e3cbb22b378b",
10220
10290
  chain: "ARB",
@@ -10335,6 +10405,16 @@ export const list = {
10335
10405
  "https://storage.googleapis.com/token-list-swapkit/images/arb.old-gnome-0x7698ac5d15bb3ba7185adcbff32a80ebd9d0709b.png",
10336
10406
  ticker: "OLD-GNOME",
10337
10407
  },
10408
+ {
10409
+ address: "0x20D419a8e12C45f88fDA7c5760bb6923Cee27F98",
10410
+ chain: "ARB",
10411
+ chainId: "42161",
10412
+ decimals: 6,
10413
+ identifier: "ARB.OLP-0x20D419a8e12C45f88fDA7c5760bb6923Cee27F98",
10414
+ logoURI:
10415
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.olp-0x20d419a8e12c45f88fda7c5760bb6923cee27f98.png",
10416
+ ticker: "OLP",
10417
+ },
10338
10418
  {
10339
10419
  address: "0x595b4e9966643c98FF27d5362E5c11B86Dc78f18",
10340
10420
  chain: "ARB",
@@ -10585,6 +10665,16 @@ export const list = {
10585
10665
  "https://storage.googleapis.com/token-list-swapkit/images/arb.ot-0x7ab205e34d6e1faa7b3c4362516ab50efb5ff913.png",
10586
10666
  ticker: "OT",
10587
10667
  },
10668
+ {
10669
+ address: "0xF6eB7A9799F6680C320e79D0FB35E842D54D38CE",
10670
+ chain: "ARB",
10671
+ chainId: "42161",
10672
+ decimals: 18,
10673
+ identifier: "ARB.OVER-0xF6eB7A9799F6680C320e79D0FB35E842D54D38CE",
10674
+ logoURI:
10675
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.over-0xf6eb7a9799f6680c320e79d0fb35e842d54d38ce.png",
10676
+ ticker: "OVER",
10677
+ },
10588
10678
  {
10589
10679
  address: "0xba0Dda8762C24dA9487f5FA026a9B64b695A07Ea",
10590
10680
  chain: "ARB",
@@ -14256,6 +14346,16 @@ export const list = {
14256
14346
  "https://storage.googleapis.com/token-list-swapkit/images/arb.uibt-0xb2af151d83d488c397aa6136c477ec48fe1b6161.png",
14257
14347
  ticker: "UIBT",
14258
14348
  },
14349
+ {
14350
+ address: "0x3F12a8Ef4643037F8D8b2C88AC99a2817AEf1344",
14351
+ chain: "ARB",
14352
+ chainId: "42161",
14353
+ decimals: 18,
14354
+ identifier: "ARB.UMAI-0x3F12a8Ef4643037F8D8b2C88AC99a2817AEf1344",
14355
+ logoURI:
14356
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.umai-0x3f12a8ef4643037f8d8b2c88ac99a2817aef1344.png",
14357
+ ticker: "UMAI",
14358
+ },
14259
14359
  {
14260
14360
  address: "0x1622bF67e6e5747b81866fE0b85178a93C7F86e3",
14261
14361
  chain: "ARB",
@@ -2,25 +2,15 @@ export const list = {
2
2
  provider: "CAVIAR_V1",
3
3
  chainId: "radix-mainnet",
4
4
  name: "CAVIAR_V1",
5
- timestamp: "2025-01-08T11:01:45.683Z",
5
+ timestamp: "2025-01-22T13:31:45.456Z",
6
6
  version: {
7
7
  major: 1,
8
8
  minor: 0,
9
9
  patch: 0,
10
10
  },
11
11
  keywords: [],
12
- count: 166,
12
+ count: 168,
13
13
  tokens: [
14
- {
15
- address: "resource_rdx1th04p2c55884yytgj0e8nq79ze9wjnvu4rpg9d7nh3t698cxdt0cr9",
16
- chain: "XRD",
17
- chainId: "radix-mainnet",
18
- decimals: 18,
19
- identifier: "XRD.$CVX-resource_rdx1th04p2c55884yytgj0e8nq79ze9wjnvu4rpg9d7nh3t698cxdt0cr9",
20
- logoURI:
21
- "https://storage.googleapis.com/token-list-swapkit/images/xrd.$cvx-resource_rdx1th04p2c55884yytgj0e8nq79ze9wjnvu4rpg9d7nh3t698cxdt0cr9.png",
22
- ticker: "$CVX",
23
- },
24
14
  {
25
15
  address: "resource_rdx1t4hw37aufauds7h7cwq24h25rxtzwe5gl7pz9qvrls2m3a7dmhh0v5",
26
16
  chain: "XRD",
@@ -231,6 +221,16 @@ export const list = {
231
221
  "https://storage.googleapis.com/token-list-swapkit/images/xrd.ctb-resource_rdx1thpjseu2zjy2cldlyxqckrj7nmgj6yhlaxvwa5s8m0fsu7ss9g7d27.png",
232
222
  ticker: "CTB",
233
223
  },
224
+ {
225
+ address: "resource_rdx1th04p2c55884yytgj0e8nq79ze9wjnvu4rpg9d7nh3t698cxdt0cr9",
226
+ chain: "XRD",
227
+ chainId: "radix-mainnet",
228
+ decimals: 18,
229
+ identifier: "XRD.CVX-resource_rdx1th04p2c55884yytgj0e8nq79ze9wjnvu4rpg9d7nh3t698cxdt0cr9",
230
+ logoURI:
231
+ "https://storage.googleapis.com/token-list-swapkit/images/xrd.cvx-resource_rdx1th04p2c55884yytgj0e8nq79ze9wjnvu4rpg9d7nh3t698cxdt0cr9.png",
232
+ ticker: "CVX",
233
+ },
234
234
  {
235
235
  address: "resource_rdx1tk4y4ct50fzgyjygm7j3y6r3cw5rgsatyfnwdz64yp5t388v0atw8w",
236
236
  chain: "XRD",
@@ -1590,6 +1590,16 @@ export const list = {
1590
1590
  "https://storage.googleapis.com/token-list-swapkit/images/xrd.xshib-resource_rdx1t55ja5ser4g8rkh2qm6jhr44zej9h6yd2z9n34e3wffrhnth6e5awe.png",
1591
1591
  ticker: "xSHIB",
1592
1592
  },
1593
+ {
1594
+ address: "resource_rdx1thkhj9gzgkd97m0fk79x0pd4y6qqhw60v6frh3nrhllxp83ma666jn",
1595
+ chain: "XRD",
1596
+ chainId: "radix-mainnet",
1597
+ decimals: 6,
1598
+ identifier: "XRD.xTRX-resource_rdx1thkhj9gzgkd97m0fk79x0pd4y6qqhw60v6frh3nrhllxp83ma666jn",
1599
+ logoURI:
1600
+ "https://storage.googleapis.com/token-list-swapkit/images/xrd.xtrx-resource_rdx1thkhj9gzgkd97m0fk79x0pd4y6qqhw60v6frh3nrhllxp83ma666jn.png",
1601
+ ticker: "xTRX",
1602
+ },
1593
1603
  {
1594
1604
  address: "resource_rdx1t5ytfqwtqjfyq2ku0n5r4d275h2uc9cx0s4l6fghaffgnvsatjw6hk",
1595
1605
  chain: "XRD",
@@ -1640,6 +1650,16 @@ export const list = {
1640
1650
  "https://storage.googleapis.com/token-list-swapkit/images/xrd.xwld-resource_rdx1t5jlk3wlxrvml2a0aa59h8cjt59utuku8qt5mlt8s8590qt024km3y.png",
1641
1651
  ticker: "xWLD",
1642
1652
  },
1653
+ {
1654
+ address: "resource_rdx1thc7rlr7hc9xh57q4slysppznam3py9h5spjm0jfu7x7t578gd6duk",
1655
+ chain: "XRD",
1656
+ chainId: "radix-mainnet",
1657
+ decimals: 7,
1658
+ identifier: "XRD.xXLM-resource_rdx1thc7rlr7hc9xh57q4slysppznam3py9h5spjm0jfu7x7t578gd6duk",
1659
+ logoURI:
1660
+ "https://storage.googleapis.com/token-list-swapkit/images/xrd.xxlm-resource_rdx1thc7rlr7hc9xh57q4slysppznam3py9h5spjm0jfu7x7t578gd6duk.png",
1661
+ ticker: "xXLM",
1662
+ },
1643
1663
  {
1644
1664
  address: "resource_rdx1tk35r6nlyjnt0aqjv7re27gu72ly7d3dwehe9e5k2nwjaue8fxtpkv",
1645
1665
  chain: "XRD",
@@ -1,7 +1,7 @@
1
1
  export const list = {
2
2
  provider: "CHAINFLIP",
3
3
  name: "CHAINFLIP",
4
- timestamp: "2025-01-08T11:00:55.832Z",
4
+ timestamp: "2025-01-22T13:30:48.543Z",
5
5
  version: {
6
6
  major: 1,
7
7
  minor: 0,
@@ -0,0 +1,13 @@
1
+ export { list as CaviarV1List } from "./caviar_v1";
2
+ export { list as ChainflipList } from "./chainflip";
3
+ export { list as JupiterList } from "./jupiter";
4
+ export { list as MayaList } from "./mayachain";
5
+ export { list as OneInchList } from "./oneinch";
6
+ export { list as OpenOceanV2List } from "./openocean_v2";
7
+ export { list as PancakeswapList } from "./pancakeswap";
8
+ export { list as PangolinList } from "./pangolin_v1";
9
+ export { list as SushiswapList } from "./sushiswap_v2";
10
+ export { list as ThorchainList } from "./thorchain";
11
+ export { list as TraderjoeV2List } from "./traderjoe_v2";
12
+ export { list as UniswapV2List } from "./uniswap_v2";
13
+ export { list as UniswapV3List } from "./uniswap_v3";