@swapkit/tokens 1.11.0 → 2.1.0

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": "1.11.0"
27
+ "version": "2.1.0"
28
28
  }
package/src/helpers.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { tokenLists } from "./index";
2
+
3
+ export function getTokenIcon(identifier: string): string | undefined {
4
+ // Search through all lists for a matching token
5
+ for (const list of Object.values(tokenLists)) {
6
+ const token = list.tokens.find((t) => t.identifier === identifier);
7
+ if (token?.logoURI) {
8
+ return token.logoURI;
9
+ }
10
+ }
11
+
12
+ return undefined;
13
+ }
package/src/index.ts CHANGED
@@ -1,15 +1,51 @@
1
- export { list as CaviarV1List } from "./tokenLists/caviar_v1";
2
- export { list as ChainflipList } from "./tokenLists/chainflip";
3
- export { list as JupiterList } from "./tokenLists/jupiter";
4
- export { list as KadoList } from "./tokenLists/kado";
5
- export { list as MayaList } from "./tokenLists/mayachain";
1
+ import { list as CaviarV1List } from "./tokenLists/caviar_v1";
2
+ import { list as ChainflipList } from "./tokenLists/chainflip";
3
+ import { list as JupiterList } from "./tokenLists/jupiter";
4
+ import { list as KadoList } from "./tokenLists/kado";
5
+ import { list as MayaList } from "./tokenLists/mayachain";
6
6
  // export { list as OciswapV1List } from "./tokenLists/ociswap_v1";
7
- export { list as OneInchList } from "./tokenLists/oneinch";
8
- export { list as OpenOceanV2List } from "./tokenLists/openocean_v2";
9
- export { list as PancakeswapList } from "./tokenLists/pancakeswap";
10
- export { list as PangolinList } from "./tokenLists/pangolin_v1";
11
- export { list as SushiswapList } from "./tokenLists/sushiswap_v2";
12
- export { list as ThorchainList } from "./tokenLists/thorchain";
13
- export { list as TraderjoeV2List } from "./tokenLists/traderjoe_v2";
14
- export { list as UniswapV2List } from "./tokenLists/uniswap_v2";
15
- export { list as UniswapV3List } from "./tokenLists/uniswap_v3";
7
+ import { list as OneInchList } from "./tokenLists/oneinch";
8
+ import { list as OpenOceanV2List } from "./tokenLists/openocean_v2";
9
+ import { list as PancakeswapList } from "./tokenLists/pancakeswap";
10
+ import { list as PangolinList } from "./tokenLists/pangolin_v1";
11
+ import { list as SushiswapList } from "./tokenLists/sushiswap_v2";
12
+ import { list as ThorchainList } from "./tokenLists/thorchain";
13
+ import { list as TraderjoeV2List } from "./tokenLists/traderjoe_v2";
14
+ import { list as UniswapV2List } from "./tokenLists/uniswap_v2";
15
+ import { list as UniswapV3List } from "./tokenLists/uniswap_v3";
16
+
17
+ export const tokenLists: {
18
+ CaviarV1List: typeof CaviarV1List;
19
+ ChainflipList: typeof ChainflipList;
20
+ JupiterList: typeof JupiterList;
21
+ KadoList: typeof KadoList;
22
+ MayaList: typeof MayaList;
23
+ // OciswapV1List: typeof OciswapV1List
24
+ OneInchList: typeof OneInchList;
25
+ OpenOceanV2List: typeof OpenOceanV2List;
26
+ PancakeswapList: typeof PancakeswapList;
27
+ PangolinList: typeof PangolinList;
28
+ SushiswapList: typeof SushiswapList;
29
+ ThorchainList: typeof ThorchainList;
30
+ TraderjoeV2List: typeof TraderjoeV2List;
31
+ UniswapV2List: typeof UniswapV2List;
32
+ UniswapV3List: typeof UniswapV3List;
33
+ } = {
34
+ CaviarV1List,
35
+ ChainflipList,
36
+ JupiterList,
37
+ KadoList,
38
+ MayaList,
39
+ // OciswapV1List,
40
+ OneInchList,
41
+ OpenOceanV2List,
42
+ PancakeswapList,
43
+ PangolinList,
44
+ SushiswapList,
45
+ ThorchainList,
46
+ TraderjoeV2List,
47
+ UniswapV2List,
48
+ UniswapV3List,
49
+ };
50
+
51
+ export * from "./helpers";
@@ -2,8 +2,8 @@ export const list = {
2
2
  provider: "CAMELOT_V3",
3
3
  chainId: "42161",
4
4
  name: "Camelot V3",
5
- timestamp: "1732296430514",
6
- count: 1565,
5
+ timestamp: "1736334167052",
6
+ count: 1581,
7
7
  tokens: [
8
8
  {
9
9
  address: "0xda39A32c9c5Bb2C9E99d4e2a24bc55A418599F90",
@@ -105,6 +105,26 @@ export const list = {
105
105
  "https://storage.googleapis.com/token-list-swapkit/images/arb.-0x64e5df8ac6e38e2742e5564f7e09f94063bd781e.png",
106
106
  ticker: "",
107
107
  },
108
+ {
109
+ address: "0x440017336bf1944f7152f48e53ba22af0c4E31F1",
110
+ chain: "ARB",
111
+ chainId: "42161",
112
+ decimals: 18,
113
+ identifier: "ARB.@G-0x440017336bf1944f7152f48e53ba22af0c4E31F1",
114
+ logoURI:
115
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.@g-0x440017336bf1944f7152f48e53ba22af0c4e31f1.png",
116
+ ticker: "@G",
117
+ },
118
+ {
119
+ address: "0x440017A1b021006d556d7fc06A54c32E42Eb745B",
120
+ chain: "ARB",
121
+ chainId: "42161",
122
+ decimals: 18,
123
+ identifier: "ARB.@G-0x440017A1b021006d556d7fc06A54c32E42Eb745B",
124
+ logoURI:
125
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.@g-0x440017a1b021006d556d7fc06a54c32e42eb745b.png",
126
+ ticker: "@G",
127
+ },
108
128
  {
109
129
  address: "0x194CCAa78Bf1746AF6c22b829233587E01132754",
110
130
  chain: "ARB",
@@ -2165,6 +2185,16 @@ export const list = {
2165
2185
  "https://storage.googleapis.com/token-list-swapkit/images/arb.apboop-0x5e5ca34c64e2deeead7d33f71345699c52a8e5ba.png",
2166
2186
  ticker: "apBoop",
2167
2187
  },
2188
+ {
2189
+ address: "0x47442DAdA6D72381C3bcfe31445Eebc199165ABe",
2190
+ chain: "ARB",
2191
+ chainId: "42161",
2192
+ decimals: 18,
2193
+ identifier: "ARB.apDEFI-0x47442DAdA6D72381C3bcfe31445Eebc199165ABe",
2194
+ logoURI:
2195
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.apdefi-0x47442dada6d72381c3bcfe31445eebc199165abe.png",
2196
+ ticker: "apDEFI",
2197
+ },
2168
2198
  {
2169
2199
  address: "0x95fBf30F240914752f5033e156E035cD65276949",
2170
2200
  chain: "ARB",
@@ -2515,6 +2545,16 @@ export const list = {
2515
2545
  "https://storage.googleapis.com/token-list-swapkit/images/arb.aprs-0x86a2aaa2a36b5b836671636f48a7e5e0bfa581dd.png",
2516
2546
  ticker: "APRS",
2517
2547
  },
2548
+ {
2549
+ address: "0x0a51da0cb302792415A08F0a83C34E4ab0a235F9",
2550
+ chain: "ARB",
2551
+ chainId: "42161",
2552
+ decimals: 18,
2553
+ identifier: "ARB.apSINDEX-0x0a51da0cb302792415A08F0a83C34E4ab0a235F9",
2554
+ logoURI:
2555
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.apsindex-0x0a51da0cb302792415a08f0a83c34e4ab0a235f9.png",
2556
+ ticker: "apSINDEX",
2557
+ },
2518
2558
  {
2519
2559
  address: "0x28656c22D22C82C4869578672D05E48F0cB7D611",
2520
2560
  chain: "ARB",
@@ -3325,6 +3365,16 @@ export const list = {
3325
3365
  "https://storage.googleapis.com/token-list-swapkit/images/arb.bakio-0xbe31e0890a7dbed5d107101f809c2fd53059e0b8.png",
3326
3366
  ticker: "BAKIO",
3327
3367
  },
3368
+ {
3369
+ address: "0x1343Ab9D0b134de0e5a7ce9F0197393C30921C22",
3370
+ chain: "ARB",
3371
+ chainId: "42161",
3372
+ decimals: 18,
3373
+ identifier: "ARB.BALD ED-0x1343Ab9D0b134de0e5a7ce9F0197393C30921C22",
3374
+ logoURI:
3375
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.bald ed-0x1343ab9d0b134de0e5a7ce9f0197393c30921c22.png",
3376
+ ticker: "BALD ED",
3377
+ },
3328
3378
  {
3329
3379
  address: "0xA613F0624362460A1C8ca0F7684185f9A2A37EFf",
3330
3380
  chain: "ARB",
@@ -5715,6 +5765,16 @@ export const list = {
5715
5765
  "https://storage.googleapis.com/token-list-swapkit/images/arb.e404-0x7427a37cc8b5b20e606aeded5c9ce539acad6954.png",
5716
5766
  ticker: "E404",
5717
5767
  },
5768
+ {
5769
+ address: "0xDB8C67e6CA293F43C75e106c70b97033cC2909E3",
5770
+ chain: "ARB",
5771
+ chainId: "42161",
5772
+ decimals: 18,
5773
+ identifier: "ARB.EAI-0xDB8C67e6CA293F43C75e106c70b97033cC2909E3",
5774
+ logoURI:
5775
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.eai-0xdb8c67e6ca293f43c75e106c70b97033cc2909e3.png",
5776
+ ticker: "EAI",
5777
+ },
5718
5778
  {
5719
5779
  address: "0xFB111dcCDd259BF7417731e30C2f8296023549F5",
5720
5780
  chain: "ARB",
@@ -6545,6 +6605,16 @@ export const list = {
6545
6605
  "https://storage.googleapis.com/token-list-swapkit/images/arb.ftd-0xe1a0bb0d42d623b95fb3b38e0ea3cbfb6e69fe55.png",
6546
6606
  ticker: "FTD",
6547
6607
  },
6608
+ {
6609
+ address: "0x130096aF9163B185cae4a833f856760199Fc6cEB",
6610
+ chain: "ARB",
6611
+ chainId: "42161",
6612
+ decimals: 18,
6613
+ identifier: "ARB.FU-0x130096aF9163B185cae4a833f856760199Fc6cEB",
6614
+ logoURI:
6615
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.fu-0x130096af9163b185cae4a833f856760199fc6ceb.png",
6616
+ ticker: "FU",
6617
+ },
6548
6618
  {
6549
6619
  address: "0x9aee3C99934C88832399D6C6E08ad802112eBEab",
6550
6620
  chain: "ARB",
@@ -6845,6 +6915,16 @@ export const list = {
6845
6915
  "https://storage.googleapis.com/token-list-swapkit/images/arb.glizzies-0xae35e2f40f24754135d85e01773732f706291500.png",
6846
6916
  ticker: "GLIZZIES",
6847
6917
  },
6918
+ {
6919
+ address: "0x4d48d503ed04d50418C9aBF163b1168FF834E47c",
6920
+ chain: "ARB",
6921
+ chainId: "42161",
6922
+ decimals: 18,
6923
+ identifier: "ARB.GLOOP-0x4d48d503ed04d50418C9aBF163b1168FF834E47c",
6924
+ logoURI:
6925
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.gloop-0x4d48d503ed04d50418c9abf163b1168ff834e47c.png",
6926
+ ticker: "GLOOP",
6927
+ },
6848
6928
  {
6849
6929
  address: "0x98AFEdaaCFfca3200817a643cc9a1A7Bca643E38",
6850
6930
  chain: "ARB",
@@ -6915,6 +6995,16 @@ export const list = {
6915
6995
  "https://storage.googleapis.com/token-list-swapkit/images/arb.gme.dw-0x43333771e8d5fd74e5491d10aeac2bfdc23d19c8.png",
6916
6996
  ticker: "GME.dw",
6917
6997
  },
6998
+ {
6999
+ address: "0xAad4187a81689AF72d91966c8119756E425cD7CF",
7000
+ chain: "ARB",
7001
+ chainId: "42161",
7002
+ decimals: 18,
7003
+ identifier: "ARB.GMI-0xAad4187a81689AF72d91966c8119756E425cD7CF",
7004
+ logoURI:
7005
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.gmi-0xaad4187a81689af72d91966c8119756e425cd7cf.png",
7006
+ ticker: "GMI",
7007
+ },
6918
7008
  {
6919
7009
  address: "0xBFcc79720c6e1a684DBE099f6A68D18711b3C9a3",
6920
7010
  chain: "ARB",
@@ -7075,6 +7165,16 @@ export const list = {
7075
7165
  "https://storage.googleapis.com/token-list-swapkit/images/arb.grome-0x3c090b7c53fecca12ee102d0171579af3b469677.png",
7076
7166
  ticker: "gROME",
7077
7167
  },
7168
+ {
7169
+ address: "0x9623063377AD1B27544C965cCd7342f7EA7e88C7",
7170
+ chain: "ARB",
7171
+ chainId: "42161",
7172
+ decimals: 18,
7173
+ identifier: "ARB.GRT-0x9623063377AD1B27544C965cCd7342f7EA7e88C7",
7174
+ logoURI:
7175
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.grt-0x9623063377ad1b27544c965ccd7342f7ea7e88c7.png",
7176
+ ticker: "GRT",
7177
+ },
7078
7178
  {
7079
7179
  address: "0x9fb02066094daAA478C879b0c4640B2d2866Dd9b",
7080
7180
  chain: "ARB",
@@ -7095,6 +7195,16 @@ export const list = {
7095
7195
  "https://storage.googleapis.com/token-list-swapkit/images/arb.grv-0x10031e7cff689de64f1a5a8ecf4fbbc7aa068927.png",
7096
7196
  ticker: "GRV",
7097
7197
  },
7198
+ {
7199
+ address: "0xb08D8BeCAB1bf76A9Ce3d2d5fa946F65EC1d3e83",
7200
+ chain: "ARB",
7201
+ chainId: "42161",
7202
+ decimals: 18,
7203
+ identifier: "ARB.GS-0xb08D8BeCAB1bf76A9Ce3d2d5fa946F65EC1d3e83",
7204
+ logoURI:
7205
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.gs-0xb08d8becab1bf76a9ce3d2d5fa946f65ec1d3e83.png",
7206
+ ticker: "GS",
7207
+ },
7098
7208
  {
7099
7209
  address: "0x580E933D90091b9cE380740E3a4A39c67eB85B4c",
7100
7210
  chain: "ARB",
@@ -9255,6 +9365,16 @@ export const list = {
9255
9365
  "https://storage.googleapis.com/token-list-swapkit/images/arb.merlin-0x9a4f2bfc4ef58b875098e0e087d144c654eb9a0b.png",
9256
9366
  ticker: "MERLIN",
9257
9367
  },
9368
+ {
9369
+ address: "0x89a44961D7AEfC6F10C379ece6663a7A6E6a91b2",
9370
+ chain: "ARB",
9371
+ chainId: "42161",
9372
+ decimals: 18,
9373
+ identifier: "ARB.mert-0x89a44961D7AEfC6F10C379ece6663a7A6E6a91b2",
9374
+ logoURI:
9375
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.mert-0x89a44961d7aefc6f10c379ece6663a7a6e6a91b2.png",
9376
+ ticker: "mert",
9377
+ },
9258
9378
  {
9259
9379
  address: "0x1D0543849bf53cDf736267fFF3BFb58b2ae76CF1",
9260
9380
  chain: "ARB",
@@ -12315,6 +12435,16 @@ export const list = {
12315
12435
  "https://storage.googleapis.com/token-list-swapkit/images/arb.sat-0xb9804790572c7e9c43694ef66fd2022cbe324c57.png",
12316
12436
  ticker: "SAT",
12317
12437
  },
12438
+ {
12439
+ address: "0xd2262724641504cE0d3064B3dbfE2e8387f3d939",
12440
+ chain: "ARB",
12441
+ chainId: "42161",
12442
+ decimals: 18,
12443
+ identifier: "ARB.sbf-0xd2262724641504cE0d3064B3dbfE2e8387f3d939",
12444
+ logoURI:
12445
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.sbf-0xd2262724641504ce0d3064b3dbfe2e8387f3d939.png",
12446
+ ticker: "sbf",
12447
+ },
12318
12448
  {
12319
12449
  address: "0x177EeCa8E98CF18EA4D405009530038f4C823B8e",
12320
12450
  chain: "ARB",
@@ -13366,6 +13496,16 @@ export const list = {
13366
13496
  "https://storage.googleapis.com/token-list-swapkit/images/arb.supr-0xf8393c8de20953b83db1be7ca42cd242563d8fe7.png",
13367
13497
  ticker: "SUPR",
13368
13498
  },
13499
+ {
13500
+ address: "0x7788a3538c5fc7f9c7c8a74eac4c898fc8d87d92",
13501
+ chain: "ARB",
13502
+ chainId: "42161",
13503
+ decimals: 18,
13504
+ identifier: "ARB.sUSDX-0x7788a3538c5fc7f9c7c8a74eac4c898fc8d87d92",
13505
+ logoURI:
13506
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.susdx-0x7788a3538c5fc7f9c7c8a74eac4c898fc8d87d92.png",
13507
+ ticker: "sUSDX",
13508
+ },
13369
13509
  {
13370
13510
  address: "0xeEE18334c414A47FB886a7317E1885b2Bfb8c2A6",
13371
13511
  chain: "ARB",
@@ -14356,6 +14496,16 @@ export const list = {
14356
14496
  "https://storage.googleapis.com/token-list-swapkit/images/arb.usdv-0x323665443cef804a3b5206103304bd4872ea4253.png",
14357
14497
  ticker: "USDV",
14358
14498
  },
14499
+ {
14500
+ address: "0xf3527ef8dE265eAa3716FB312c12847bFBA66Cef",
14501
+ chain: "ARB",
14502
+ chainId: "42161",
14503
+ decimals: 18,
14504
+ identifier: "ARB.USDX-0xf3527ef8dE265eAa3716FB312c12847bFBA66Cef",
14505
+ logoURI:
14506
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.usdx-0xf3527ef8de265eaa3716fb312c12847bfba66cef.png",
14507
+ ticker: "USDX",
14508
+ },
14359
14509
  {
14360
14510
  address: "0x35e050d3C0eC2d29D269a8EcEa763a183bDF9A9D",
14361
14511
  chain: "ARB",
@@ -14466,6 +14616,16 @@ export const list = {
14466
14616
  "https://storage.googleapis.com/token-list-swapkit/images/arb.vin-0xb544ea96cb338894e27f28ddaf5478adde5db2da.png",
14467
14617
  ticker: "VIN",
14468
14618
  },
14619
+ {
14620
+ address: "0x1B7AD346b6Ff2D196DaA8E78AEd86Baa6D7e3B02",
14621
+ chain: "ARB",
14622
+ chainId: "42161",
14623
+ decimals: 18,
14624
+ identifier: "ARB.VITAI-0x1B7AD346b6Ff2D196DaA8E78AEd86Baa6D7e3B02",
14625
+ logoURI:
14626
+ "https://storage.googleapis.com/token-list-swapkit/images/arb.vitai-0x1b7ad346b6ff2d196daa8e78aed86baa6d7e3b02.png",
14627
+ ticker: "VITAI",
14628
+ },
14469
14629
  {
14470
14630
  address: "0x417a1aFD44250314BffB11ff68E989775e990ab6",
14471
14631
  chain: "ARB",