@swapkit/tokens 4.0.32 → 4.0.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/dist/chunk-0aa05g4b.js +4 -0
- package/dist/chunk-0aa05g4b.js.map +10 -0
- package/dist/chunk-232gdya2.js +4 -0
- package/dist/chunk-232gdya2.js.map +10 -0
- package/dist/chunk-3r06g2zx.js +4 -0
- package/dist/chunk-3r06g2zx.js.map +10 -0
- package/dist/chunk-45zq8h4t.js +4 -0
- package/dist/chunk-45zq8h4t.js.map +10 -0
- package/dist/chunk-4cqhhkdj.js +4 -0
- package/dist/chunk-4cqhhkdj.js.map +10 -0
- package/dist/chunk-bxsbajbc.js +4 -0
- package/dist/chunk-bxsbajbc.js.map +10 -0
- package/dist/{chunk-968rqdpy.js → chunk-dfx0r71q.js} +3 -3
- package/dist/{chunk-968rqdpy.js.map → chunk-dfx0r71q.js.map} +2 -2
- package/dist/chunk-dgpxrc76.js +4 -0
- package/dist/chunk-dgpxrc76.js.map +10 -0
- package/dist/chunk-e5fphjp0.js +4 -0
- package/dist/chunk-e5fphjp0.js.map +10 -0
- package/dist/chunk-ekzfn8xa.js +4 -0
- package/dist/chunk-ekzfn8xa.js.map +10 -0
- package/dist/chunk-es0fqbqf.js +4 -0
- package/dist/chunk-es0fqbqf.js.map +10 -0
- package/dist/chunk-fhdt8361.js +4 -0
- package/dist/chunk-fhdt8361.js.map +10 -0
- package/dist/chunk-hjgb9gzm.js +4 -0
- package/dist/chunk-hjgb9gzm.js.map +10 -0
- package/dist/chunk-jm41ms86.js +4 -0
- package/dist/chunk-jm41ms86.js.map +10 -0
- package/dist/chunk-ky99e7tw.js +4 -0
- package/dist/chunk-ky99e7tw.js.map +10 -0
- package/dist/chunk-nkswhp7c.js +4 -0
- package/dist/chunk-nkswhp7c.js.map +10 -0
- package/dist/chunk-nr63q5m1.js +4 -0
- package/dist/chunk-nr63q5m1.js.map +10 -0
- package/dist/chunk-qc9bxv7t.js +4 -0
- package/dist/chunk-qc9bxv7t.js.map +10 -0
- package/dist/chunk-qqtgf04f.js +4 -0
- package/dist/chunk-qqtgf04f.js.map +10 -0
- package/dist/chunk-reqc68ah.js +4 -0
- package/dist/chunk-reqc68ah.js.map +10 -0
- package/dist/chunk-sr5vktf0.js +4 -0
- package/dist/chunk-sr5vktf0.js.map +10 -0
- package/dist/chunk-t8rpycqn.js +4 -0
- package/dist/chunk-t8rpycqn.js.map +10 -0
- package/dist/{chunk-eahgs98q.js → chunk-vc52n2vc.js} +3 -3
- package/dist/{chunk-eahgs98q.js.map → chunk-vc52n2vc.js.map} +2 -2
- package/dist/chunk-vpa6qes9.js +4 -0
- package/dist/chunk-vpa6qes9.js.map +10 -0
- package/dist/chunk-w24zgrnc.js +4 -0
- package/dist/chunk-w24zgrnc.js.map +10 -0
- package/dist/chunk-z718jmfs.js +4 -0
- package/dist/chunk-z718jmfs.js.map +10 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lists/caviar_v1.d.ts +26 -2
- package/dist/types/lists/caviar_v1.d.ts.map +1 -1
- package/dist/types/lists/chainflip.d.ts +1 -1
- package/dist/types/lists/garden.d.ts +150 -0
- package/dist/types/lists/garden.d.ts.map +1 -0
- package/dist/types/lists/index.d.ts +2 -0
- package/dist/types/lists/index.d.ts.map +1 -1
- package/dist/types/lists/jupiter.d.ts +1 -7973
- package/dist/types/lists/jupiter.d.ts.map +1 -1
- package/dist/types/lists/mayachain.d.ts +2 -217
- package/dist/types/lists/mayachain.d.ts.map +1 -1
- package/dist/types/lists/near.d.ts +108 -32
- package/dist/types/lists/near.d.ts.map +1 -1
- package/dist/types/lists/okx.d.ts +18732 -0
- package/dist/types/lists/okx.d.ts.map +1 -0
- package/dist/types/lists/oneinch.d.ts +953 -2
- package/dist/types/lists/oneinch.d.ts.map +1 -1
- package/dist/types/lists/openocean_v2.d.ts +122 -2
- package/dist/types/lists/openocean_v2.d.ts.map +1 -1
- package/dist/types/lists/pancakeswap.d.ts +337 -9
- package/dist/types/lists/pancakeswap.d.ts.map +1 -1
- package/dist/types/lists/thorchain.d.ts +25 -309
- package/dist/types/lists/thorchain.d.ts.map +1 -1
- package/dist/types/lists/traderjoe_v2.d.ts +42 -122
- package/dist/types/lists/traderjoe_v2.d.ts.map +1 -1
- package/dist/types/lists/uniswap_v2.d.ts +18 -10
- package/dist/types/lists/uniswap_v2.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-03ksjtha.js +0 -4
- package/dist/chunk-03ksjtha.js.map +0 -10
- package/dist/chunk-0s0zr05s.js +0 -4
- package/dist/chunk-0s0zr05s.js.map +0 -10
- package/dist/chunk-2dwkpdrp.js +0 -4
- package/dist/chunk-2dwkpdrp.js.map +0 -10
- package/dist/chunk-3gge5tnm.js +0 -4
- package/dist/chunk-3gge5tnm.js.map +0 -10
- package/dist/chunk-42qsrmk0.js +0 -4
- package/dist/chunk-42qsrmk0.js.map +0 -10
- package/dist/chunk-42x1fh4n.js +0 -4
- package/dist/chunk-42x1fh4n.js.map +0 -10
- package/dist/chunk-49cpy4s9.js +0 -4
- package/dist/chunk-49cpy4s9.js.map +0 -10
- package/dist/chunk-8d6aapaw.js +0 -4
- package/dist/chunk-8d6aapaw.js.map +0 -10
- package/dist/chunk-brhaaczs.js +0 -4
- package/dist/chunk-brhaaczs.js.map +0 -10
- package/dist/chunk-cnmeq1ff.js +0 -4
- package/dist/chunk-cnmeq1ff.js.map +0 -10
- package/dist/chunk-ebdg9vcn.js +0 -4
- package/dist/chunk-ebdg9vcn.js.map +0 -10
- package/dist/chunk-fhb85csf.js +0 -4
- package/dist/chunk-fhb85csf.js.map +0 -10
- package/dist/chunk-j3fsk2a7.js +0 -4
- package/dist/chunk-j3fsk2a7.js.map +0 -10
- package/dist/chunk-ndf1p805.js +0 -4
- package/dist/chunk-ndf1p805.js.map +0 -10
- package/dist/chunk-nxt3p6wx.js +0 -4
- package/dist/chunk-nxt3p6wx.js.map +0 -10
- package/dist/chunk-qj2dwp3t.js +0 -4
- package/dist/chunk-qj2dwp3t.js.map +0 -10
- package/dist/chunk-qn5vmt2k.js +0 -4
- package/dist/chunk-qn5vmt2k.js.map +0 -10
- package/dist/chunk-tt67gwx5.js +0 -4
- package/dist/chunk-tt67gwx5.js.map +0 -10
- package/dist/chunk-xnk2dsjd.js +0 -4
- package/dist/chunk-xnk2dsjd.js.map +0 -10
- package/dist/chunk-zg0qdbj1.js +0 -4
- package/dist/chunk-zg0qdbj1.js.map +0 -10
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var M={};G(M,{loadTokenLists:()=>J});module.exports=F(M);var D=require("ts-pattern"),H=["camelot","caviar","chainflip","jupiter","mayachain","near","oneinch","openocean","pancakeswap","pangolin","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function J(z){let A=z||H,B={};for(let C of A){let E=await K(C);B[C]=E}return B}async function K(z){let{list:A}=await D.match(z).with("camelot",()=>import("./chunk-x5cqtbpq.js")).with("caviar",()=>import("./chunk-
|
|
1
|
+
var M={};G(M,{loadTokenLists:()=>J});module.exports=F(M);var D=require("ts-pattern"),H=["camelot","caviar","chainflip","jupiter","mayachain","garden","near","okx","oneinch","openocean","pancakeswap","pangolin","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function J(z){let A=z||H,B={};for(let C of A){let E=await K(C);B[C]=E}return B}async function K(z){let{list:A}=await D.match(z).with("camelot",()=>import("./chunk-x5cqtbpq.js")).with("caviar",()=>import("./chunk-e5fphjp0.js")).with("chainflip",()=>import("./chunk-dfx0r71q.js")).with("garden",()=>import("./chunk-vpa6qes9.js")).with("jupiter",()=>import("./chunk-qc9bxv7t.js")).with("mayachain",()=>import("./chunk-w24zgrnc.js")).with("near",()=>import("./chunk-sr5vktf0.js")).with("okx",()=>import("./chunk-4cqhhkdj.js")).with("oneinch",()=>import("./chunk-ky99e7tw.js")).with("openocean",()=>import("./chunk-nr63q5m1.js")).with("pancakeswap",()=>import("./chunk-t8rpycqn.js")).with("pangolin",()=>import("./chunk-m0aqcysq.js")).with("sushiswap",()=>import("./chunk-106khhwv.js")).with("thorchain",()=>import("./chunk-0aa05g4b.js")).with("traderjoe",()=>import("./chunk-45zq8h4t.js")).with("uniswap",()=>import("./chunk-reqc68ah.js")).with("uniswapv3",()=>import("./chunk-sh15jv98.js")).otherwise(()=>{return console.warn(`Token list ${z} not found`),{list:[]}});return A}
|
|
2
2
|
|
|
3
|
-
//# debugId=
|
|
3
|
+
//# debugId=CA97FC8FE7AF1B2564756E2164756E21
|
|
4
4
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"import { match } from \"ts-pattern\";\nimport type * as tokenLists from \"./lists\";\n\ntype ListOfTokens = Exclude<\n keyof typeof tokenLists,\n | \"JupiterList\"\n | \"CamelotV3List\"\n | \"OneInchList\"\n | \"OpenOceanV2List\"\n | \"PancakeswapList\"\n | \"PangolinList\"\n | \"SushiswapList\"\n | \"TraderjoeV2List\"\n>;\n\nexport type TokenLists = {\n camelot: typeof tokenLists.CamelotV3List;\n caviar: typeof tokenLists.CaviarV1List;\n chainflip: typeof tokenLists.ChainflipList;\n jupiter: typeof tokenLists.JupiterList;\n mayachain: typeof tokenLists.MayaList;\n near: typeof tokenLists.NearList;\n oneinch: typeof tokenLists.OneInchList;\n openocean: typeof tokenLists.OpenOceanV2List;\n pancakeswap: typeof tokenLists.PancakeswapList;\n pangolin: typeof tokenLists.PangolinList;\n sushiswap: typeof tokenLists.SushiswapList;\n thorchain: typeof tokenLists.ThorchainList;\n traderjoe: typeof tokenLists.TraderjoeV2List;\n uniswap: typeof tokenLists.UniswapV2List;\n uniswapv3: typeof tokenLists.UniswapV3List;\n};\n\nexport type TokenListName = keyof TokenLists;\nexport type TokenTax = { buy: number; sell: number };\nexport type TokenNames = (typeof tokenLists)[ListOfTokens][\"tokens\"][number][\"identifier\"];\n\nconst defaultLists = [\n \"camelot\",\n \"caviar\",\n \"chainflip\",\n \"jupiter\",\n \"mayachain\",\n \"near\",\n \"oneinch\",\n \"openocean\",\n \"pancakeswap\",\n \"pangolin\",\n \"sushiswap\",\n \"thorchain\",\n \"traderjoe\",\n \"uniswap\",\n \"uniswapv3\",\n] as TokenListName[];\n\nexport async function loadTokenLists<T extends TokenListName[]>(pickedLists?: T) {\n const listsToLoad = pickedLists || defaultLists;\n const lists = {} as { [key in T[number]]: TokenLists[key] };\n\n for (const list of listsToLoad) {\n const tokenList = await loadTokenList(list);\n\n // @ts-expect-error - It's fine to do this because we know the type of the list\n lists[list] = tokenList;\n }\n\n return lists;\n}\n\nasync function loadTokenList<T extends TokenListName>(listName: T): Promise<TokenLists[T]> {\n const { list } = await match(listName as TokenListName)\n .with(\"camelot\", () => import(\"./lists/camelot_v3\"))\n .with(\"caviar\", () => import(\"./lists/caviar_v1\"))\n .with(\"chainflip\", () => import(\"./lists/chainflip\"))\n .with(\"jupiter\", () => import(\"./lists/jupiter\"))\n .with(\"mayachain\", () => import(\"./lists/mayachain\"))\n .with(\"near\", () => import(\"./lists/near\"))\n .with(\"oneinch\", () => import(\"./lists/oneinch\"))\n .with(\"openocean\", () => import(\"./lists/openocean_v2\"))\n .with(\"pancakeswap\", () => import(\"./lists/pancakeswap\"))\n .with(\"pangolin\", () => import(\"./lists/pangolin_v1\"))\n .with(\"sushiswap\", () => import(\"./lists/sushiswap_v2\"))\n .with(\"thorchain\", () => import(\"./lists/thorchain\"))\n .with(\"traderjoe\", () => import(\"./lists/traderjoe_v2\"))\n .with(\"uniswap\", () => import(\"./lists/uniswap_v2\"))\n .with(\"uniswapv3\", () => import(\"./lists/uniswap_v3\"))\n .otherwise(() => {\n console.warn(`Token list ${listName} not found`);\n return { list: [] };\n });\n\n return list as unknown as TokenLists[T];\n}\n"
|
|
5
|
+
"import { match } from \"ts-pattern\";\nimport type * as tokenLists from \"./lists\";\n\ntype ListOfTokens = Exclude<\n keyof typeof tokenLists,\n | \"JupiterList\"\n | \"CamelotV3List\"\n | \"OneInchList\"\n | \"OpenOceanV2List\"\n | \"PancakeswapList\"\n | \"PangolinList\"\n | \"SushiswapList\"\n | \"TraderjoeV2List\"\n>;\n\nexport type TokenLists = {\n camelot: typeof tokenLists.CamelotV3List;\n caviar: typeof tokenLists.CaviarV1List;\n chainflip: typeof tokenLists.ChainflipList;\n jupiter: typeof tokenLists.JupiterList;\n garden: typeof tokenLists.GardenList;\n mayachain: typeof tokenLists.MayaList;\n near: typeof tokenLists.NearList;\n okx: typeof tokenLists.OkxList;\n oneinch: typeof tokenLists.OneInchList;\n openocean: typeof tokenLists.OpenOceanV2List;\n pancakeswap: typeof tokenLists.PancakeswapList;\n pangolin: typeof tokenLists.PangolinList;\n sushiswap: typeof tokenLists.SushiswapList;\n thorchain: typeof tokenLists.ThorchainList;\n traderjoe: typeof tokenLists.TraderjoeV2List;\n uniswap: typeof tokenLists.UniswapV2List;\n uniswapv3: typeof tokenLists.UniswapV3List;\n};\n\nexport type TokenListName = keyof TokenLists;\nexport type TokenTax = { buy: number; sell: number };\nexport type TokenNames = (typeof tokenLists)[ListOfTokens][\"tokens\"][number][\"identifier\"];\n\nconst defaultLists = [\n \"camelot\",\n \"caviar\",\n \"chainflip\",\n \"jupiter\",\n \"mayachain\",\n \"garden\",\n \"near\",\n \"okx\",\n \"oneinch\",\n \"openocean\",\n \"pancakeswap\",\n \"pangolin\",\n \"sushiswap\",\n \"thorchain\",\n \"traderjoe\",\n \"uniswap\",\n \"uniswapv3\",\n] as TokenListName[];\n\nexport async function loadTokenLists<T extends TokenListName[]>(pickedLists?: T) {\n const listsToLoad = pickedLists || defaultLists;\n const lists = {} as { [key in T[number]]: TokenLists[key] };\n\n for (const list of listsToLoad) {\n const tokenList = await loadTokenList(list);\n\n // @ts-expect-error - It's fine to do this because we know the type of the list\n lists[list] = tokenList;\n }\n\n return lists;\n}\n\nasync function loadTokenList<T extends TokenListName>(listName: T): Promise<TokenLists[T]> {\n const { list } = await match(listName as TokenListName)\n .with(\"camelot\", () => import(\"./lists/camelot_v3\"))\n .with(\"caviar\", () => import(\"./lists/caviar_v1\"))\n .with(\"chainflip\", () => import(\"./lists/chainflip\"))\n .with(\"garden\", () => import(\"./lists/garden\"))\n .with(\"jupiter\", () => import(\"./lists/jupiter\"))\n .with(\"mayachain\", () => import(\"./lists/mayachain\"))\n .with(\"near\", () => import(\"./lists/near\"))\n .with(\"okx\", () => import(\"./lists/okx\"))\n .with(\"oneinch\", () => import(\"./lists/oneinch\"))\n .with(\"openocean\", () => import(\"./lists/openocean_v2\"))\n .with(\"pancakeswap\", () => import(\"./lists/pancakeswap\"))\n .with(\"pangolin\", () => import(\"./lists/pangolin_v1\"))\n .with(\"sushiswap\", () => import(\"./lists/sushiswap_v2\"))\n .with(\"thorchain\", () => import(\"./lists/thorchain\"))\n .with(\"traderjoe\", () => import(\"./lists/traderjoe_v2\"))\n .with(\"uniswap\", () => import(\"./lists/uniswap_v2\"))\n .with(\"uniswapv3\", () => import(\"./lists/uniswap_v3\"))\n .otherwise(() => {\n console.warn(`Token list ${listName} not found`);\n return { list: [] };\n });\n\n return list as unknown as TokenLists[T];\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "yDAAsB,IAAtB,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": "yDAAsB,IAAtB,wBAuCM,EAAe,CACnB,UACA,SACA,YACA,UACA,YACA,SACA,OACA,MACA,UACA,YACA,cACA,WACA,YACA,YACA,YACA,UACA,WACF,EAEA,eAAsB,CAAyC,CAAC,EAAiB,CAC/E,IAAM,EAAc,GAAe,EAC7B,EAAQ,CAAC,EAEf,QAAW,KAAQ,EAAa,CAC9B,IAAM,EAAY,MAAM,EAAc,CAAI,EAG1C,EAAM,GAAQ,EAGhB,OAAO,EAGT,eAAe,CAAsC,CAAC,EAAqC,CACzF,IAAQ,QAAS,MAAM,QAAM,CAAyB,EACnD,KAAK,UAAW,IAAa,6BAAqB,EAClD,KAAK,SAAU,IAAa,6BAAoB,EAChD,KAAK,YAAa,IAAa,6BAAoB,EACnD,KAAK,SAAU,IAAa,6BAAiB,EAC7C,KAAK,UAAW,IAAa,6BAAkB,EAC/C,KAAK,YAAa,IAAa,6BAAoB,EACnD,KAAK,OAAQ,IAAa,6BAAe,EACzC,KAAK,MAAO,IAAa,6BAAc,EACvC,KAAK,UAAW,IAAa,6BAAkB,EAC/C,KAAK,YAAa,IAAa,6BAAuB,EACtD,KAAK,cAAe,IAAa,6BAAsB,EACvD,KAAK,WAAY,IAAa,6BAAsB,EACpD,KAAK,YAAa,IAAa,6BAAuB,EACtD,KAAK,YAAa,IAAa,6BAAoB,EACnD,KAAK,YAAa,IAAa,6BAAuB,EACtD,KAAK,UAAW,IAAa,6BAAqB,EAClD,KAAK,YAAa,IAAa,6BAAqB,EACpD,UAAU,IAAM,CAEf,OADA,QAAQ,KAAK,cAAc,aAAoB,EACxC,CAAE,KAAM,CAAC,CAAE,EACnB,EAEH,OAAO",
|
|
8
|
+
"debugId": "CA97FC8FE7AF1B2564756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as q,b as z}from"./chunk-kx2thqhk.js";import{match as F}from"ts-pattern";var G=["camelot","caviar","chainflip","jupiter","mayachain","near","oneinch","openocean","pancakeswap","pangolin","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function K(A){let B=A||G,C={};for(let D of B){let E=await H(D);C[D]=E}return C}async function H(A){let{list:B}=await F(A).with("camelot",()=>import("./chunk-dywgw6a7.js")).with("caviar",()=>import("./chunk-
|
|
1
|
+
import{a as q,b as z}from"./chunk-kx2thqhk.js";import{match as F}from"ts-pattern";var G=["camelot","caviar","chainflip","jupiter","mayachain","garden","near","okx","oneinch","openocean","pancakeswap","pangolin","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function K(A){let B=A||G,C={};for(let D of B){let E=await H(D);C[D]=E}return C}async function H(A){let{list:B}=await F(A).with("camelot",()=>import("./chunk-dywgw6a7.js")).with("caviar",()=>import("./chunk-hjgb9gzm.js")).with("chainflip",()=>import("./chunk-vc52n2vc.js")).with("garden",()=>import("./chunk-ekzfn8xa.js")).with("jupiter",()=>import("./chunk-bxsbajbc.js")).with("mayachain",()=>import("./chunk-es0fqbqf.js")).with("near",()=>import("./chunk-jm41ms86.js")).with("okx",()=>import("./chunk-dgpxrc76.js")).with("oneinch",()=>import("./chunk-z718jmfs.js")).with("openocean",()=>import("./chunk-fhdt8361.js")).with("pancakeswap",()=>import("./chunk-nkswhp7c.js")).with("pangolin",()=>import("./chunk-ckchms37.js")).with("sushiswap",()=>import("./chunk-6dg54dtp.js")).with("thorchain",()=>import("./chunk-232gdya2.js")).with("traderjoe",()=>import("./chunk-3r06g2zx.js")).with("uniswap",()=>import("./chunk-qqtgf04f.js")).with("uniswapv3",()=>import("./chunk-8w25skew.js")).otherwise(()=>{return console.warn(`Token list ${A} not found`),{list:[]}});return B}export{K as loadTokenLists};
|
|
2
2
|
|
|
3
|
-
//# debugId=
|
|
3
|
+
//# debugId=8BD1A239E3FC5BF864756E2164756E21
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"import { match } from \"ts-pattern\";\nimport type * as tokenLists from \"./lists\";\n\ntype ListOfTokens = Exclude<\n keyof typeof tokenLists,\n | \"JupiterList\"\n | \"CamelotV3List\"\n | \"OneInchList\"\n | \"OpenOceanV2List\"\n | \"PancakeswapList\"\n | \"PangolinList\"\n | \"SushiswapList\"\n | \"TraderjoeV2List\"\n>;\n\nexport type TokenLists = {\n camelot: typeof tokenLists.CamelotV3List;\n caviar: typeof tokenLists.CaviarV1List;\n chainflip: typeof tokenLists.ChainflipList;\n jupiter: typeof tokenLists.JupiterList;\n mayachain: typeof tokenLists.MayaList;\n near: typeof tokenLists.NearList;\n oneinch: typeof tokenLists.OneInchList;\n openocean: typeof tokenLists.OpenOceanV2List;\n pancakeswap: typeof tokenLists.PancakeswapList;\n pangolin: typeof tokenLists.PangolinList;\n sushiswap: typeof tokenLists.SushiswapList;\n thorchain: typeof tokenLists.ThorchainList;\n traderjoe: typeof tokenLists.TraderjoeV2List;\n uniswap: typeof tokenLists.UniswapV2List;\n uniswapv3: typeof tokenLists.UniswapV3List;\n};\n\nexport type TokenListName = keyof TokenLists;\nexport type TokenTax = { buy: number; sell: number };\nexport type TokenNames = (typeof tokenLists)[ListOfTokens][\"tokens\"][number][\"identifier\"];\n\nconst defaultLists = [\n \"camelot\",\n \"caviar\",\n \"chainflip\",\n \"jupiter\",\n \"mayachain\",\n \"near\",\n \"oneinch\",\n \"openocean\",\n \"pancakeswap\",\n \"pangolin\",\n \"sushiswap\",\n \"thorchain\",\n \"traderjoe\",\n \"uniswap\",\n \"uniswapv3\",\n] as TokenListName[];\n\nexport async function loadTokenLists<T extends TokenListName[]>(pickedLists?: T) {\n const listsToLoad = pickedLists || defaultLists;\n const lists = {} as { [key in T[number]]: TokenLists[key] };\n\n for (const list of listsToLoad) {\n const tokenList = await loadTokenList(list);\n\n // @ts-expect-error - It's fine to do this because we know the type of the list\n lists[list] = tokenList;\n }\n\n return lists;\n}\n\nasync function loadTokenList<T extends TokenListName>(listName: T): Promise<TokenLists[T]> {\n const { list } = await match(listName as TokenListName)\n .with(\"camelot\", () => import(\"./lists/camelot_v3\"))\n .with(\"caviar\", () => import(\"./lists/caviar_v1\"))\n .with(\"chainflip\", () => import(\"./lists/chainflip\"))\n .with(\"jupiter\", () => import(\"./lists/jupiter\"))\n .with(\"mayachain\", () => import(\"./lists/mayachain\"))\n .with(\"near\", () => import(\"./lists/near\"))\n .with(\"oneinch\", () => import(\"./lists/oneinch\"))\n .with(\"openocean\", () => import(\"./lists/openocean_v2\"))\n .with(\"pancakeswap\", () => import(\"./lists/pancakeswap\"))\n .with(\"pangolin\", () => import(\"./lists/pangolin_v1\"))\n .with(\"sushiswap\", () => import(\"./lists/sushiswap_v2\"))\n .with(\"thorchain\", () => import(\"./lists/thorchain\"))\n .with(\"traderjoe\", () => import(\"./lists/traderjoe_v2\"))\n .with(\"uniswap\", () => import(\"./lists/uniswap_v2\"))\n .with(\"uniswapv3\", () => import(\"./lists/uniswap_v3\"))\n .otherwise(() => {\n console.warn(`Token list ${listName} not found`);\n return { list: [] };\n });\n\n return list as unknown as TokenLists[T];\n}\n"
|
|
5
|
+
"import { match } from \"ts-pattern\";\nimport type * as tokenLists from \"./lists\";\n\ntype ListOfTokens = Exclude<\n keyof typeof tokenLists,\n | \"JupiterList\"\n | \"CamelotV3List\"\n | \"OneInchList\"\n | \"OpenOceanV2List\"\n | \"PancakeswapList\"\n | \"PangolinList\"\n | \"SushiswapList\"\n | \"TraderjoeV2List\"\n>;\n\nexport type TokenLists = {\n camelot: typeof tokenLists.CamelotV3List;\n caviar: typeof tokenLists.CaviarV1List;\n chainflip: typeof tokenLists.ChainflipList;\n jupiter: typeof tokenLists.JupiterList;\n garden: typeof tokenLists.GardenList;\n mayachain: typeof tokenLists.MayaList;\n near: typeof tokenLists.NearList;\n okx: typeof tokenLists.OkxList;\n oneinch: typeof tokenLists.OneInchList;\n openocean: typeof tokenLists.OpenOceanV2List;\n pancakeswap: typeof tokenLists.PancakeswapList;\n pangolin: typeof tokenLists.PangolinList;\n sushiswap: typeof tokenLists.SushiswapList;\n thorchain: typeof tokenLists.ThorchainList;\n traderjoe: typeof tokenLists.TraderjoeV2List;\n uniswap: typeof tokenLists.UniswapV2List;\n uniswapv3: typeof tokenLists.UniswapV3List;\n};\n\nexport type TokenListName = keyof TokenLists;\nexport type TokenTax = { buy: number; sell: number };\nexport type TokenNames = (typeof tokenLists)[ListOfTokens][\"tokens\"][number][\"identifier\"];\n\nconst defaultLists = [\n \"camelot\",\n \"caviar\",\n \"chainflip\",\n \"jupiter\",\n \"mayachain\",\n \"garden\",\n \"near\",\n \"okx\",\n \"oneinch\",\n \"openocean\",\n \"pancakeswap\",\n \"pangolin\",\n \"sushiswap\",\n \"thorchain\",\n \"traderjoe\",\n \"uniswap\",\n \"uniswapv3\",\n] as TokenListName[];\n\nexport async function loadTokenLists<T extends TokenListName[]>(pickedLists?: T) {\n const listsToLoad = pickedLists || defaultLists;\n const lists = {} as { [key in T[number]]: TokenLists[key] };\n\n for (const list of listsToLoad) {\n const tokenList = await loadTokenList(list);\n\n // @ts-expect-error - It's fine to do this because we know the type of the list\n lists[list] = tokenList;\n }\n\n return lists;\n}\n\nasync function loadTokenList<T extends TokenListName>(listName: T): Promise<TokenLists[T]> {\n const { list } = await match(listName as TokenListName)\n .with(\"camelot\", () => import(\"./lists/camelot_v3\"))\n .with(\"caviar\", () => import(\"./lists/caviar_v1\"))\n .with(\"chainflip\", () => import(\"./lists/chainflip\"))\n .with(\"garden\", () => import(\"./lists/garden\"))\n .with(\"jupiter\", () => import(\"./lists/jupiter\"))\n .with(\"mayachain\", () => import(\"./lists/mayachain\"))\n .with(\"near\", () => import(\"./lists/near\"))\n .with(\"okx\", () => import(\"./lists/okx\"))\n .with(\"oneinch\", () => import(\"./lists/oneinch\"))\n .with(\"openocean\", () => import(\"./lists/openocean_v2\"))\n .with(\"pancakeswap\", () => import(\"./lists/pancakeswap\"))\n .with(\"pangolin\", () => import(\"./lists/pangolin_v1\"))\n .with(\"sushiswap\", () => import(\"./lists/sushiswap_v2\"))\n .with(\"thorchain\", () => import(\"./lists/thorchain\"))\n .with(\"traderjoe\", () => import(\"./lists/traderjoe_v2\"))\n .with(\"uniswap\", () => import(\"./lists/uniswap_v2\"))\n .with(\"uniswapv3\", () => import(\"./lists/uniswap_v3\"))\n .otherwise(() => {\n console.warn(`Token list ${listName} not found`);\n return { list: [] };\n });\n\n return list as unknown as TokenLists[T];\n}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "+CAAA,gBAAS,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": "+CAAA,gBAAS,mBAuCT,IAAM,EAAe,CACnB,UACA,SACA,YACA,UACA,YACA,SACA,OACA,MACA,UACA,YACA,cACA,WACA,YACA,YACA,YACA,UACA,WACF,EAEA,eAAsB,CAAyC,CAAC,EAAiB,CAC/E,IAAM,EAAc,GAAe,EAC7B,EAAQ,CAAC,EAEf,QAAW,KAAQ,EAAa,CAC9B,IAAM,EAAY,MAAM,EAAc,CAAI,EAG1C,EAAM,GAAQ,EAGhB,OAAO,EAGT,eAAe,CAAsC,CAAC,EAAqC,CACzF,IAAQ,QAAS,MAAM,EAAM,CAAyB,EACnD,KAAK,UAAW,IAAa,6BAAqB,EAClD,KAAK,SAAU,IAAa,6BAAoB,EAChD,KAAK,YAAa,IAAa,6BAAoB,EACnD,KAAK,SAAU,IAAa,6BAAiB,EAC7C,KAAK,UAAW,IAAa,6BAAkB,EAC/C,KAAK,YAAa,IAAa,6BAAoB,EACnD,KAAK,OAAQ,IAAa,6BAAe,EACzC,KAAK,MAAO,IAAa,6BAAc,EACvC,KAAK,UAAW,IAAa,6BAAkB,EAC/C,KAAK,YAAa,IAAa,6BAAuB,EACtD,KAAK,cAAe,IAAa,6BAAsB,EACvD,KAAK,WAAY,IAAa,6BAAsB,EACpD,KAAK,YAAa,IAAa,6BAAuB,EACtD,KAAK,YAAa,IAAa,6BAAoB,EACnD,KAAK,YAAa,IAAa,6BAAuB,EACtD,KAAK,UAAW,IAAa,6BAAqB,EAClD,KAAK,YAAa,IAAa,6BAAqB,EACpD,UAAU,IAAM,CAEf,OADA,QAAQ,KAAK,cAAc,aAAoB,EACxC,CAAE,KAAM,CAAC,CAAE,EACnB,EAEH,OAAO",
|
|
8
|
+
"debugId": "8BD1A239E3FC5BF864756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5,8 +5,10 @@ export type TokenLists = {
|
|
|
5
5
|
caviar: typeof tokenLists.CaviarV1List;
|
|
6
6
|
chainflip: typeof tokenLists.ChainflipList;
|
|
7
7
|
jupiter: typeof tokenLists.JupiterList;
|
|
8
|
+
garden: typeof tokenLists.GardenList;
|
|
8
9
|
mayachain: typeof tokenLists.MayaList;
|
|
9
10
|
near: typeof tokenLists.NearList;
|
|
11
|
+
okx: typeof tokenLists.OkxList;
|
|
10
12
|
oneinch: typeof tokenLists.OneInchList;
|
|
11
13
|
openocean: typeof tokenLists.OpenOceanV2List;
|
|
12
14
|
pancakeswap: typeof tokenLists.PancakeswapList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,UAAU,MAAM,SAAS,CAAC;AAE3C,KAAK,YAAY,GAAG,OAAO,CACzB,MAAM,OAAO,UAAU,EACrB,aAAa,GACb,eAAe,GACf,aAAa,GACb,iBAAiB,GACjB,iBAAiB,GACjB,cAAc,GACd,eAAe,GACf,iBAAiB,CACpB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;IACzC,MAAM,EAAE,OAAO,UAAU,CAAC,YAAY,CAAC;IACvC,SAAS,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;IAC3C,OAAO,EAAE,OAAO,UAAU,CAAC,WAAW,CAAC;IACvC,SAAS,EAAE,OAAO,UAAU,CAAC,QAAQ,CAAC;IACtC,IAAI,EAAE,OAAO,UAAU,CAAC,QAAQ,CAAC;IACjC,OAAO,EAAE,OAAO,UAAU,CAAC,WAAW,CAAC;IACvC,SAAS,EAAE,OAAO,UAAU,CAAC,eAAe,CAAC;IAC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C,QAAQ,CAAC;IACtC,IAAI,EAAE,OAAO,UAAU,CAAC,QAAQ,CAAC;IACjC,GAAG,EAAE,OAAO,UAAU,CAAC,OAAO,CAAC;IAC/B,OAAO,EAAE,OAAO,UAAU,CAAC,WAAW,CAAC;IACvC,SAAS,EAAE,OAAO,UAAU,CAAC,eAAe,CAAC;IAC7C,WAAW,EAAE,OAAO,UAAU,CAAC,eAAe,CAAC;IAC/C,QAAQ,EAAE,OAAO,UAAU,CAAC,YAAY,CAAC;IACzC,SAAS,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;IAC3C,SAAS,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;IAC3C,SAAS,EAAE,OAAO,UAAU,CAAC,eAAe,CAAC;IAC7C,OAAO,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;IACzC,SAAS,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,UAAU,CAAC;AAC7C,MAAM,MAAM,QAAQ,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AACrD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC;AAsB3F,wBAAsB,cAAc,CAAC,CAAC,SAAS,aAAa,EAAE,EAAE,WAAW,CAAC,EAAE,CAAC,cAEtD,GAAG,oCAU3B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const list: {
|
|
2
2
|
readonly chainId: "radix-mainnet";
|
|
3
|
-
readonly count:
|
|
3
|
+
readonly count: 179;
|
|
4
4
|
readonly keywords: readonly [];
|
|
5
5
|
readonly name: "CAVIAR_V1";
|
|
6
6
|
readonly provider: "CAVIAR_V1";
|
|
7
|
-
readonly timestamp: "2025-
|
|
7
|
+
readonly timestamp: "2025-10-15T15:09:25.896Z";
|
|
8
8
|
readonly tokens: readonly [{
|
|
9
9
|
readonly address: "resource_rdx1t4hw37aufauds7h7cwq24h25rxtzwe5gl7pz9qvrls2m3a7dmhh0v5";
|
|
10
10
|
readonly chain: "XRD";
|
|
@@ -13,6 +13,14 @@ export declare const list: {
|
|
|
13
13
|
readonly identifier: "XRD.$NERD-resource_rdx1t4hw37aufauds7h7cwq24h25rxtzwe5gl7pz9qvrls2m3a7dmhh0v5";
|
|
14
14
|
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.$nerd-resource_rdx1t4hw37aufauds7h7cwq24h25rxtzwe5gl7pz9qvrls2m3a7dmhh0v5.png";
|
|
15
15
|
readonly ticker: "$NERD";
|
|
16
|
+
}, {
|
|
17
|
+
readonly address: "resource_rdx1t4a4c4l430z45zyhvkwltdsrfexwejzxsvtnhlt53gl530yqa4qzy4";
|
|
18
|
+
readonly chain: "XRD";
|
|
19
|
+
readonly chainId: "radix-mainnet";
|
|
20
|
+
readonly decimals: 18;
|
|
21
|
+
readonly identifier: "XRD.3IATLAS-resource_rdx1t4a4c4l430z45zyhvkwltdsrfexwejzxsvtnhlt53gl530yqa4qzy4";
|
|
22
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.3iatlas-resource_rdx1t4a4c4l430z45zyhvkwltdsrfexwejzxsvtnhlt53gl530yqa4qzy4.png";
|
|
23
|
+
readonly ticker: "3IATLAS";
|
|
16
24
|
}, {
|
|
17
25
|
readonly address: "resource_rdx1t5an9vvvgw045rkd5drghr7luu23q74w4x7ydyzjrjtfe3rlc95dk2";
|
|
18
26
|
readonly chain: "XRD";
|
|
@@ -501,6 +509,14 @@ export declare const list: {
|
|
|
501
509
|
readonly identifier: "XRD.HODL-resource_rdx1t5hn3rcmcphhmmwk383au92xw3wl72n7g98s0rpdp35lk4hr8sudnx";
|
|
502
510
|
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.hodl-resource_rdx1t5hn3rcmcphhmmwk383au92xw3wl72n7g98s0rpdp35lk4hr8sudnx.png";
|
|
503
511
|
readonly ticker: "HODL";
|
|
512
|
+
}, {
|
|
513
|
+
readonly address: "resource_rdx1t5ljlq97xfcewcdjxsqld89443fchqg96xv8a8k8gdftdycy9haxpx";
|
|
514
|
+
readonly chain: "XRD";
|
|
515
|
+
readonly chainId: "radix-mainnet";
|
|
516
|
+
readonly decimals: 9;
|
|
517
|
+
readonly identifier: "XRD.hSOL-resource_rdx1t5ljlq97xfcewcdjxsqld89443fchqg96xv8a8k8gdftdycy9haxpx";
|
|
518
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.hsol-resource_rdx1t5ljlq97xfcewcdjxsqld89443fchqg96xv8a8k8gdftdycy9haxpx.png";
|
|
519
|
+
readonly ticker: "hSOL";
|
|
504
520
|
}, {
|
|
505
521
|
readonly address: "resource_rdx1t5kmyj54jt85malva7fxdrnpvgfgs623yt7ywdaval25vrdlmnwe97";
|
|
506
522
|
readonly chain: "XRD";
|
|
@@ -933,6 +949,14 @@ export declare const list: {
|
|
|
933
949
|
readonly identifier: "XRD.scorp-resource_rdx1t5egwd52s2xemaa6r8jkhj0vs4q82ym93efn4g4267de4fwnfww7cy";
|
|
934
950
|
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.scorp-resource_rdx1t5egwd52s2xemaa6r8jkhj0vs4q82ym93efn4g4267de4fwnfww7cy.png";
|
|
935
951
|
readonly ticker: "scorp";
|
|
952
|
+
}, {
|
|
953
|
+
readonly address: "resource_rdx1tkff46jkeu98jgl8naxpzfkn0m0hytysxzex3l3a8m7qps49f7m45c";
|
|
954
|
+
readonly chain: "XRD";
|
|
955
|
+
readonly chainId: "radix-mainnet";
|
|
956
|
+
readonly decimals: 18;
|
|
957
|
+
readonly identifier: "XRD.SCRYPTO-resource_rdx1tkff46jkeu98jgl8naxpzfkn0m0hytysxzex3l3a8m7qps49f7m45c";
|
|
958
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/xrd.scrypto-resource_rdx1tkff46jkeu98jgl8naxpzfkn0m0hytysxzex3l3a8m7qps49f7m45c.png";
|
|
959
|
+
readonly ticker: "SCRYPTO";
|
|
936
960
|
}, {
|
|
937
961
|
readonly address: "resource_rdx1t4hka09gp6ptfa57wupze0u2dpdrrh0vs9w09mfq3xh2pp4zwvg46n";
|
|
938
962
|
readonly chain: "XRD";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caviar_v1.d.ts","sourceRoot":"","sources":["../../../src/lists/caviar_v1.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"caviar_v1.d.ts","sourceRoot":"","sources":["../../../src/lists/caviar_v1.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ly timestamp: "2025-10-15T15:08:30.853Z";
|
|
7
7
|
readonly tokens: readonly [{
|
|
8
8
|
readonly chain: "ARB";
|
|
9
9
|
readonly chainId: "42161";
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
export declare const list: {
|
|
2
|
+
readonly count: 17;
|
|
3
|
+
readonly keywords: readonly [];
|
|
4
|
+
readonly name: "GARDEN";
|
|
5
|
+
readonly provider: "GARDEN";
|
|
6
|
+
readonly timestamp: "2025-10-15T15:12:22.530Z";
|
|
7
|
+
readonly tokens: readonly [{
|
|
8
|
+
readonly address: "0x86f65121804D2Cdbef79F9f072D4e0c2eEbABC08";
|
|
9
|
+
readonly chain: "ARB";
|
|
10
|
+
readonly chainId: "42161";
|
|
11
|
+
readonly decimals: 18;
|
|
12
|
+
readonly identifier: "ARB.SEED-0x86f65121804D2Cdbef79F9f072D4e0c2eEbABC08";
|
|
13
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.seed-0x86f65121804d2cdbef79f9f072d4e0c2eebabc08.png";
|
|
14
|
+
readonly ticker: "SEED";
|
|
15
|
+
}, {
|
|
16
|
+
readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
17
|
+
readonly chain: "ARB";
|
|
18
|
+
readonly chainId: "42161";
|
|
19
|
+
readonly decimals: 6;
|
|
20
|
+
readonly identifier: "ARB.USDC-0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
21
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.usdc-0xaf88d065e77c8cc2239327c5edb3a432268e5831.png";
|
|
22
|
+
readonly ticker: "USDC";
|
|
23
|
+
}, {
|
|
24
|
+
readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
|
|
25
|
+
readonly chain: "ARB";
|
|
26
|
+
readonly chainId: "42161";
|
|
27
|
+
readonly decimals: 8;
|
|
28
|
+
readonly identifier: "ARB.WBTC-0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
|
|
29
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/arb.wbtc-0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f.png";
|
|
30
|
+
readonly ticker: "WBTC";
|
|
31
|
+
}, {
|
|
32
|
+
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
33
|
+
readonly chain: "BASE";
|
|
34
|
+
readonly chainId: "8453";
|
|
35
|
+
readonly decimals: 8;
|
|
36
|
+
readonly identifier: "BASE.CBBTC-0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
37
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/base.cbbtc-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf.png";
|
|
38
|
+
readonly ticker: "CBBTC";
|
|
39
|
+
}, {
|
|
40
|
+
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
41
|
+
readonly chain: "BASE";
|
|
42
|
+
readonly chainId: "8453";
|
|
43
|
+
readonly decimals: 6;
|
|
44
|
+
readonly identifier: "BASE.USDC-0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
45
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/base.usdc-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.png";
|
|
46
|
+
readonly ticker: "USDC";
|
|
47
|
+
}, {
|
|
48
|
+
readonly address: "";
|
|
49
|
+
readonly chain: "BSC";
|
|
50
|
+
readonly chainId: "56";
|
|
51
|
+
readonly decimals: 18;
|
|
52
|
+
readonly identifier: "BSC.BNB";
|
|
53
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/bsc.bnb.png";
|
|
54
|
+
readonly ticker: "BNB";
|
|
55
|
+
}, {
|
|
56
|
+
readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
|
|
57
|
+
readonly chain: "BSC";
|
|
58
|
+
readonly chainId: "56";
|
|
59
|
+
readonly decimals: 18;
|
|
60
|
+
readonly identifier: "BSC.BTCB-0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
|
|
61
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/bsc.btcb-0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c.png";
|
|
62
|
+
readonly ticker: "BTCB";
|
|
63
|
+
}, {
|
|
64
|
+
readonly address: "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d";
|
|
65
|
+
readonly chain: "BSC";
|
|
66
|
+
readonly chainId: "56";
|
|
67
|
+
readonly decimals: 18;
|
|
68
|
+
readonly identifier: "BSC.USDC-0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d";
|
|
69
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/bsc.usdc-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d.png";
|
|
70
|
+
readonly ticker: "USDC";
|
|
71
|
+
}, {
|
|
72
|
+
readonly address: "";
|
|
73
|
+
readonly chain: "BTC";
|
|
74
|
+
readonly chainId: "bitcoin";
|
|
75
|
+
readonly decimals: 8;
|
|
76
|
+
readonly identifier: "BTC.BTC";
|
|
77
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/btc.btc.png";
|
|
78
|
+
readonly ticker: "BTC";
|
|
79
|
+
}, {
|
|
80
|
+
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
81
|
+
readonly chain: "ETH";
|
|
82
|
+
readonly chainId: "1";
|
|
83
|
+
readonly decimals: 8;
|
|
84
|
+
readonly identifier: "ETH.CBBTC-0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
85
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.cbbtc-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf.png";
|
|
86
|
+
readonly ticker: "CBBTC";
|
|
87
|
+
}, {
|
|
88
|
+
readonly address: "";
|
|
89
|
+
readonly chain: "ETH";
|
|
90
|
+
readonly chainId: "1";
|
|
91
|
+
readonly decimals: 18;
|
|
92
|
+
readonly identifier: "ETH.ETH";
|
|
93
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.eth.png";
|
|
94
|
+
readonly ticker: "ETH";
|
|
95
|
+
}, {
|
|
96
|
+
readonly address: "0x5eed99d066a8CaF10f3E4327c1b3D8b673485eED";
|
|
97
|
+
readonly chain: "ETH";
|
|
98
|
+
readonly chainId: "1";
|
|
99
|
+
readonly decimals: 18;
|
|
100
|
+
readonly identifier: "ETH.SEED-0x5eed99d066a8CaF10f3E4327c1b3D8b673485eED";
|
|
101
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.seed-0x5eed99d066a8caf10f3e4327c1b3d8b673485eed.png";
|
|
102
|
+
readonly ticker: "SEED";
|
|
103
|
+
}, {
|
|
104
|
+
readonly address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
105
|
+
readonly chain: "ETH";
|
|
106
|
+
readonly chainId: "1";
|
|
107
|
+
readonly decimals: 6;
|
|
108
|
+
readonly identifier: "ETH.USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48";
|
|
109
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png";
|
|
110
|
+
readonly ticker: "USDC";
|
|
111
|
+
}, {
|
|
112
|
+
readonly address: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599";
|
|
113
|
+
readonly chain: "ETH";
|
|
114
|
+
readonly chainId: "1";
|
|
115
|
+
readonly decimals: 8;
|
|
116
|
+
readonly identifier: "ETH.WBTC-0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599";
|
|
117
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/eth.wbtc-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png";
|
|
118
|
+
readonly ticker: "WBTC";
|
|
119
|
+
}, {
|
|
120
|
+
readonly address: "cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij";
|
|
121
|
+
readonly chain: "SOL";
|
|
122
|
+
readonly chainId: "solana";
|
|
123
|
+
readonly decimals: 8;
|
|
124
|
+
readonly identifier: "SOL.CBBTC-cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij";
|
|
125
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/sol.cbbtc-cbbtcf3aa214zxhbiazqwf4122fbybrandfqgw4imij.png";
|
|
126
|
+
readonly ticker: "CBBTC";
|
|
127
|
+
}, {
|
|
128
|
+
readonly address: "";
|
|
129
|
+
readonly chain: "SOL";
|
|
130
|
+
readonly chainId: "solana";
|
|
131
|
+
readonly decimals: 9;
|
|
132
|
+
readonly identifier: "SOL.SOL";
|
|
133
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/sol.sol.png";
|
|
134
|
+
readonly ticker: "SOL";
|
|
135
|
+
}, {
|
|
136
|
+
readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
137
|
+
readonly chain: "SOL";
|
|
138
|
+
readonly chainId: "solana";
|
|
139
|
+
readonly decimals: 6;
|
|
140
|
+
readonly identifier: "SOL.USDC-EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
141
|
+
readonly logoURI: "https://storage.googleapis.com/token-list-swapkit-dev/images/sol.usdc-epjfwdd5aufqssqem2qn1xzybapc8g4weggkzwytdt1v.png";
|
|
142
|
+
readonly ticker: "USDC";
|
|
143
|
+
}];
|
|
144
|
+
readonly version: {
|
|
145
|
+
readonly major: 1;
|
|
146
|
+
readonly minor: 0;
|
|
147
|
+
readonly patch: 0;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
//# sourceMappingURL=garden.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"garden.d.ts","sourceRoot":"","sources":["../../../src/lists/garden.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+KP,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { list as CamelotV3List } from "./camelot_v3";
|
|
2
2
|
export { list as CaviarV1List } from "./caviar_v1";
|
|
3
3
|
export { list as ChainflipList } from "./chainflip";
|
|
4
|
+
export { list as GardenList } from "./garden";
|
|
4
5
|
export { list as JupiterList } from "./jupiter";
|
|
5
6
|
export { list as MayaList } from "./mayachain";
|
|
6
7
|
export { list as NearList } from "./near";
|
|
8
|
+
export { list as OkxList } from "./okx";
|
|
7
9
|
export { list as OneInchList } from "./oneinch";
|
|
8
10
|
export { list as OpenOceanV2List } from "./openocean_v2";
|
|
9
11
|
export { list as PancakeswapList } from "./pancakeswap";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lists/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAC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