@swapkit/helpers 3.0.0-beta.1 → 3.0.0-beta.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 (112) hide show
  1. package/dist/chunk-509k5s4y.js +3 -0
  2. package/dist/chunk-509k5s4y.js.map +10 -0
  3. package/dist/chunk-6vvdbb6s.js +4 -0
  4. package/dist/chunk-6vvdbb6s.js.map +10 -0
  5. package/dist/{chunk-x2fe9scs.js → chunk-8pft100q.js} +2 -2
  6. package/dist/{chunk-x2fe9scs.js.map → chunk-8pft100q.js.map} +2 -2
  7. package/dist/chunk-abwjsvdg.js +3 -0
  8. package/dist/chunk-abwjsvdg.js.map +10 -0
  9. package/dist/chunk-ahpfxkx0.js +4 -0
  10. package/dist/chunk-ahpfxkx0.js.map +10 -0
  11. package/dist/chunk-bz1hfk9z.js +3 -0
  12. package/dist/chunk-bz1hfk9z.js.map +10 -0
  13. package/dist/chunk-cs1sv94g.js +3 -0
  14. package/dist/chunk-cs1sv94g.js.map +10 -0
  15. package/dist/{chunk-v4dvhh90.js → chunk-dbsrwnw2.js} +2 -2
  16. package/dist/{chunk-v4dvhh90.js.map → chunk-dbsrwnw2.js.map} +2 -2
  17. package/dist/chunk-ekd1k975.js +4 -0
  18. package/dist/chunk-ekd1k975.js.map +10 -0
  19. package/dist/chunk-hqs6577q.js +3 -0
  20. package/dist/chunk-hqs6577q.js.map +10 -0
  21. package/dist/chunk-j2emm8jm.js +3 -0
  22. package/dist/chunk-j2emm8jm.js.map +10 -0
  23. package/dist/chunk-kdcsgh3q.js +4 -0
  24. package/dist/chunk-kdcsgh3q.js.map +10 -0
  25. package/dist/{chunk-1gwdyyeh.js → chunk-kr69v1tm.js} +2 -2
  26. package/dist/{chunk-1gwdyyeh.js.map → chunk-kr69v1tm.js.map} +2 -2
  27. package/dist/chunk-mjavf655.js +3 -0
  28. package/dist/chunk-mjavf655.js.map +10 -0
  29. package/dist/chunk-mmwvr2y8.js +4 -0
  30. package/dist/chunk-mmwvr2y8.js.map +10 -0
  31. package/dist/chunk-q8xy3739.js +4 -0
  32. package/dist/chunk-q8xy3739.js.map +10 -0
  33. package/dist/{chunk-3ptwhtpd.js → chunk-qr6hqr2f.js} +2 -2
  34. package/dist/{chunk-3ptwhtpd.js.map → chunk-qr6hqr2f.js.map} +2 -2
  35. package/dist/chunk-rqj9janq.js +3 -0
  36. package/dist/chunk-rqj9janq.js.map +10 -0
  37. package/dist/chunk-s3f27t8q.js +3 -0
  38. package/dist/chunk-s3f27t8q.js.map +10 -0
  39. package/dist/chunk-tq87xn7m.js +4 -0
  40. package/dist/chunk-tq87xn7m.js.map +10 -0
  41. package/dist/chunk-wmxwvv8c.js +4 -0
  42. package/dist/chunk-wmxwvv8c.js.map +10 -0
  43. package/dist/chunk-wrjh857m.js +4 -0
  44. package/dist/chunk-wrjh857m.js.map +10 -0
  45. package/dist/chunk-xyczdrny.js +4 -0
  46. package/dist/chunk-xyczdrny.js.map +10 -0
  47. package/dist/chunk-z80467hm.js +3 -0
  48. package/dist/chunk-z80467hm.js.map +10 -0
  49. package/dist/chunk-z8emzpyc.js +4 -0
  50. package/dist/chunk-z8emzpyc.js.map +10 -0
  51. package/dist/{chunk-a0fxkkfh.js → chunk-zsakm9d3.js} +2 -3
  52. package/dist/chunk-zsakm9d3.js.map +10 -0
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.js +1 -1
  55. package/dist/tokens/index.js +1 -1
  56. package/package.json +2 -2
  57. package/src/tokens/lists/camelot_v3.ts +114 -4
  58. package/src/tokens/lists/caviar_v1.ts +1 -1
  59. package/src/tokens/lists/chainflip.ts +1 -1
  60. package/src/tokens/lists/jupiter.ts +13685 -11126
  61. package/src/tokens/lists/mayachain.ts +2 -48
  62. package/src/tokens/lists/oneinch.ts +439 -3939
  63. package/src/tokens/lists/pancakeswap.ts +907 -17
  64. package/src/tokens/lists/pangolin_v1.ts +2 -82
  65. package/src/tokens/lists/sushiswap_v2.ts +2 -392
  66. package/src/tokens/lists/thorchain.ts +18 -8
  67. package/src/tokens/lists/traderjoe_v2.ts +182 -922
  68. package/src/tokens/lists/uniswap_v2.ts +6300 -1502
  69. package/src/tokens/lists/uniswap_v3.ts +14517 -1748
  70. package/dist/chunk-2bhvezjh.js +0 -4
  71. package/dist/chunk-2bhvezjh.js.map +0 -10
  72. package/dist/chunk-40epvqbm.js +0 -3
  73. package/dist/chunk-40epvqbm.js.map +0 -10
  74. package/dist/chunk-49nsjaay.js +0 -3
  75. package/dist/chunk-49nsjaay.js.map +0 -10
  76. package/dist/chunk-4b66tryh.js +0 -4
  77. package/dist/chunk-4b66tryh.js.map +0 -10
  78. package/dist/chunk-4kzjrrjv.js +0 -3
  79. package/dist/chunk-4kzjrrjv.js.map +0 -10
  80. package/dist/chunk-5m49s8z8.js +0 -4
  81. package/dist/chunk-5m49s8z8.js.map +0 -10
  82. package/dist/chunk-9b6y7r75.js +0 -4
  83. package/dist/chunk-9b6y7r75.js.map +0 -10
  84. package/dist/chunk-9zcbvqq2.js +0 -3
  85. package/dist/chunk-9zcbvqq2.js.map +0 -10
  86. package/dist/chunk-a0bpx1q3.js +0 -4
  87. package/dist/chunk-a0bpx1q3.js.map +0 -10
  88. package/dist/chunk-a0fxkkfh.js.map +0 -10
  89. package/dist/chunk-bg6pz5qh.js +0 -3
  90. package/dist/chunk-bg6pz5qh.js.map +0 -10
  91. package/dist/chunk-cpdcnp2x.js +0 -4
  92. package/dist/chunk-cpdcnp2x.js.map +0 -10
  93. package/dist/chunk-ftdtdkhk.js +0 -3
  94. package/dist/chunk-ftdtdkhk.js.map +0 -10
  95. package/dist/chunk-gjeaw024.js +0 -4
  96. package/dist/chunk-gjeaw024.js.map +0 -10
  97. package/dist/chunk-hdcdd2cf.js +0 -4
  98. package/dist/chunk-hdcdd2cf.js.map +0 -10
  99. package/dist/chunk-q2pb6ggs.js +0 -3
  100. package/dist/chunk-q2pb6ggs.js.map +0 -10
  101. package/dist/chunk-t9s9811k.js +0 -3
  102. package/dist/chunk-t9s9811k.js.map +0 -10
  103. package/dist/chunk-vzptz52h.js +0 -4
  104. package/dist/chunk-vzptz52h.js.map +0 -10
  105. package/dist/chunk-wyr5d8ad.js +0 -3
  106. package/dist/chunk-wyr5d8ad.js.map +0 -10
  107. package/dist/chunk-x0jsq6ag.js +0 -3
  108. package/dist/chunk-x0jsq6ag.js.map +0 -10
  109. package/dist/chunk-xm5jkehh.js +0 -4
  110. package/dist/chunk-xm5jkehh.js.map +0 -10
  111. package/dist/chunk-xzb1nshn.js +0 -3
  112. package/dist/chunk-xzb1nshn.js.map +0 -10
@@ -1,4 +1,3 @@
1
- import"./chunk-3wnfcm30.js";var e={provider:"THORCHAIN",chainId:"thorchain-1",name:"THORCHAIN",timestamp:"2025-01-22T13:31:17.516Z",version:{major:1,minor:0,patch:0},keywords:[],count:68,tokens:[{chain:"AVAX",chainId:"43114",decimals:18,identifier:"AVAX.AVAX",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.avax.png",shortCode:"a",ticker:"AVAX"},{address:"0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",chain:"AVAX",chainId:"43114",decimals:9,identifier:"AVAX.SOL-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.sol-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f.png",ticker:"SOL"},{address:"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",chain:"AVAX",chainId:"43114",decimals:6,identifier:"AVAX.USDC-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdc-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e.png",ticker:"USDC"},{address:"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",chain:"AVAX",chainId:"43114",decimals:6,identifier:"AVAX.USDT-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdt-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7.png",ticker:"USDT"},{address:"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",chain:"BASE",chainId:"8453",decimals:8,identifier:"BASE.CBBTC-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/base.cbbtc-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf.png",ticker:"CBBTC"},{chain:"BASE",chainId:"8453",decimals:18,identifier:"BASE.ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/base.eth.png",shortCode:"f",ticker:"ETH"},{address:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",chain:"BASE",chainId:"8453",decimals:6,identifier:"BASE.USDC-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/base.usdc-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.png",ticker:"USDC"},{chain:"BCH",chainId:"bitcoincash",decimals:8,identifier:"BCH.BCH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bch.bch.png",shortCode:"c",ticker:"BCH"},{chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.BNB",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.bnb.png",shortCode:"s",ticker:"BNB"},{address:"0x4b0f1812e5df2a09796481ff14017e6005508003",chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.TWT-0x4b0f1812e5df2a09796481ff14017e6005508003",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.twt-0x4b0f1812e5df2a09796481ff14017e6005508003.png",ticker:"TWT"},{address:"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.USDC-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdc-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d.png",ticker:"USDC"},{address:"0x55d398326f99059ff775485246999027b3197955",chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.USDT-0x55d398326f99059ff775485246999027b3197955",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdt-0x55d398326f99059ff775485246999027b3197955.png",ticker:"USDT"},{chain:"BTC",chainId:"bitcoin",decimals:8,identifier:"BTC.BTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/btc.btc.png",shortCode:"b",ticker:"BTC"},{chain:"DOGE",chainId:"dogecoin",decimals:8,identifier:"DOGE.DOGE",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/doge.doge.png",shortCode:"d",ticker:"DOGE"},{address:"0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.AAVE-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.aave-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9.png",ticker:"AAVE"},{address:"0x6b175474e89094c44da98b954eedeac495271d0f",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.DAI-0x6b175474e89094c44da98b954eedeac495271d0f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dai-0x6b175474e89094c44da98b954eedeac495271d0f.png",ticker:"DAI"},{address:"0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.DPI-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dpi-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.png",ticker:"DPI"},{chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.eth.png",shortCode:"e",ticker:"ETH"},{address:"0xc770eefad204b5180df6a14ee197d99d808ee52d",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.FOX-0xc770eefad204b5180df6a14ee197d99d808ee52d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.fox-0xc770eefad204b5180df6a14ee197d99d808ee52d.png",ticker:"FOX"},{address:"0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",chain:"ETH",chainId:"1",decimals:2,identifier:"ETH.GUSD-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.gusd-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.png",ticker:"GUSD"},{address:"0x514910771af9ca656af840dff83e8264ecf986ca",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.LINK-0x514910771af9ca656af840dff83e8264ecf986ca",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.link-0x514910771af9ca656af840dff83e8264ecf986ca.png",ticker:"LINK"},{address:"0x5f98805a4e8be255a32880fdec7f6728c6568ba0",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.LUSD-0x5f98805a4e8be255a32880fdec7f6728c6568ba0",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.lusd-0x5f98805a4e8be255a32880fdec7f6728c6568ba0.png",ticker:"LUSD"},{address:"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.SNX-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.snx-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f.png",ticker:"SNX"},{address:"0x108a850856db3f85d0269a2693d896b394c80325",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.TGT-0x108a850856db3f85d0269a2693d896b394c80325",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.tgt-0x108a850856db3f85d0269a2693d896b394c80325.png",ticker:"TGT"},{address:"0xa5f2211b9b8170f694421f2046281775e8468044",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.THOR-0xa5f2211b9b8170f694421f2046281775e8468044",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.thor-0xa5f2211b9b8170f694421f2046281775e8468044.png",ticker:"THOR"},{address:"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",chain:"ETH",chainId:"1",decimals:6,identifier:"ETH.USDC-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png",ticker:"USDC"},{address:"0x8e870d67f660d95d5be530380d0ec0bd388289e1",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.USDP-0x8e870d67f660d95d5be530380d0ec0bd388289e1",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdp-0x8e870d67f660d95d5be530380d0ec0bd388289e1.png",ticker:"USDP"},{address:"0xdac17f958d2ee523a2206206994597c13d831ec7",chain:"ETH",chainId:"1",decimals:6,identifier:"ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png",ticker:"USDT"},{address:"0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.VTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.vthor-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d.png",ticker:"VTHOR"},{address:"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",chain:"ETH",chainId:"1",decimals:8,identifier:"ETH.WBTC-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.wbtc-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png",ticker:"WBTC"},{address:"0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.XRUNE-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.xrune-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c.png",ticker:"XRUNE"},{chain:"GAIA",chainId:"cosmoshub-4",decimals:6,identifier:"GAIA.ATOM",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/gaia.atom.png",shortCode:"g",ticker:"ATOM"},{chain:"LTC",chainId:"litecoin",decimals:8,identifier:"LTC.LTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/ltc.ltc.png",shortCode:"l",ticker:"LTC"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/AVAX",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.avax.png",ticker:"AVAX"},{address:"0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/SOL-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.sol-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f.png",ticker:"SOL"},{address:"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/USDC-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdc-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e.png",ticker:"USDC"},{address:"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/USDT-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdt-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7.png",ticker:"USDT"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BCH/BCH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bch.bch.png",ticker:"BCH"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/BNB",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.bnb.png",ticker:"BNB"},{address:"0x4b0f1812e5df2a09796481ff14017e6005508003",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/TWT-0x4b0f1812e5df2a09796481ff14017e6005508003",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.twt-0x4b0f1812e5df2a09796481ff14017e6005508003.png",ticker:"TWT"},{address:"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/USDC-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdc-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d.png",ticker:"USDC"},{address:"0x55d398326f99059ff775485246999027b3197955",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/USDT-0x55d398326f99059ff775485246999027b3197955",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdt-0x55d398326f99059ff775485246999027b3197955.png",ticker:"USDT"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BTC/BTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/btc.btc.png",ticker:"BTC"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.DOGE/DOGE",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/doge.doge.png",ticker:"DOGE"},{address:"0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/AAVE-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.aave-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9.png",ticker:"AAVE"},{address:"0x6b175474e89094c44da98b954eedeac495271d0f",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/DAI-0x6b175474e89094c44da98b954eedeac495271d0f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dai-0x6b175474e89094c44da98b954eedeac495271d0f.png",ticker:"DAI"},{address:"0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/DPI-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dpi-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.png",ticker:"DPI"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.eth.png",ticker:"ETH"},{address:"0x826180541412d574cf1336d22c0c0a287822678a",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/FLIP-0x826180541412d574cf1336d22c0c0a287822678a",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.flip-0x826180541412d574cf1336d22c0c0a287822678a.png",ticker:"FLIP"},{address:"0xc770eefad204b5180df6a14ee197d99d808ee52d",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/FOX-0xc770eefad204b5180df6a14ee197d99d808ee52d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.fox-0xc770eefad204b5180df6a14ee197d99d808ee52d.png",ticker:"FOX"},{address:"0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/GUSD-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.gusd-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.png",ticker:"GUSD"},{address:"0x514910771af9ca656af840dff83e8264ecf986ca",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/LINK-0x514910771af9ca656af840dff83e8264ecf986ca",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.link-0x514910771af9ca656af840dff83e8264ecf986ca.png",ticker:"LINK"},{address:"0x5f98805a4e8be255a32880fdec7f6728c6568ba0",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/LUSD-0x5f98805a4e8be255a32880fdec7f6728c6568ba0",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.lusd-0x5f98805a4e8be255a32880fdec7f6728c6568ba0.png",ticker:"LUSD"},{address:"0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/RAZE-0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.raze-0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac.png",ticker:"RAZE"},{address:"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/SNX-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.snx-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f.png",ticker:"SNX"},{address:"0x108a850856db3f85d0269a2693d896b394c80325",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/TGT-0x108a850856db3f85d0269a2693d896b394c80325",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.tgt-0x108a850856db3f85d0269a2693d896b394c80325.png",ticker:"TGT"},{address:"0xa5f2211b9b8170f694421f2046281775e8468044",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/THOR-0xa5f2211b9b8170f694421f2046281775e8468044",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.thor-0xa5f2211b9b8170f694421f2046281775e8468044.png",ticker:"THOR"},{address:"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/USDC-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png",ticker:"USDC"},{address:"0x8e870d67f660d95d5be530380d0ec0bd388289e1",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/USDP-0x8e870d67f660d95d5be530380d0ec0bd388289e1",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdp-0x8e870d67f660d95d5be530380d0ec0bd388289e1.png",ticker:"USDP"},{address:"0xdac17f958d2ee523a2206206994597c13d831ec7",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png",ticker:"USDT"},{address:"0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/VTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.vthor-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d.png",ticker:"VTHOR"},{address:"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/WBTC-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.wbtc-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png",ticker:"WBTC"},{address:"0x72b886d09c117654ab7da13a14d603001de0b777",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/XDEFI-0x72b886d09c117654ab7da13a14d603001de0b777",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.xdefi-0x72b886d09c117654ab7da13a14d603001de0b777.png",ticker:"XDEFI"},{address:"0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/XRUNE-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.xrune-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c.png",ticker:"XRUNE"},{address:"0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/YFI-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.yfi-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e.png",ticker:"YFI"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.GAIA/ATOM",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/gaia.atom.png",ticker:"ATOM"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.LTC/LTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/ltc.ltc.png",ticker:"LTC"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.RUNE",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/thor.rune.png",shortCode:"r",ticker:"RUNE"}]};export{e as list};
2
- export{e as i};
1
+ var e={provider:"THORCHAIN",chainId:"thorchain-1",name:"THORCHAIN",timestamp:"2025-05-01T16:02:50.014Z",version:{major:1,minor:0,patch:0},keywords:[],count:69,tokens:[{chain:"AVAX",chainId:"43114",decimals:18,identifier:"AVAX.ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.eth.png",shortCode:"a",ticker:"ETH"},{address:"0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",chain:"AVAX",chainId:"43114",decimals:9,identifier:"AVAX.SOL-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.sol-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f.png",ticker:"SOL"},{address:"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",chain:"AVAX",chainId:"43114",decimals:6,identifier:"AVAX.USDC-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdc-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e.png",ticker:"USDC"},{address:"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",chain:"AVAX",chainId:"43114",decimals:6,identifier:"AVAX.USDT-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdt-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7.png",ticker:"USDT"},{address:"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",chain:"BASE",chainId:"8453",decimals:8,identifier:"BASE.CBBTC-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/base.cbbtc-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf.png",ticker:"CBBTC"},{chain:"BASE",chainId:"8453",decimals:18,identifier:"BASE.ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/base.eth.png",shortCode:"f",ticker:"ETH"},{address:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",chain:"BASE",chainId:"8453",decimals:6,identifier:"BASE.USDC-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/base.usdc-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.png",ticker:"USDC"},{chain:"BCH",chainId:"bitcoincash",decimals:8,identifier:"BCH.BCH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bch.bch.png",shortCode:"c",ticker:"BCH"},{chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.BNB",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.bnb.png",shortCode:"s",ticker:"BNB"},{address:"0x4b0f1812e5df2a09796481ff14017e6005508003",chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.TWT-0x4b0f1812e5df2a09796481ff14017e6005508003",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.twt-0x4b0f1812e5df2a09796481ff14017e6005508003.png",ticker:"TWT"},{address:"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.USDC-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdc-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d.png",ticker:"USDC"},{address:"0x55d398326f99059ff775485246999027b3197955",chain:"BSC",chainId:"56",decimals:18,identifier:"BSC.USDT-0x55d398326f99059ff775485246999027b3197955",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdt-0x55d398326f99059ff775485246999027b3197955.png",ticker:"USDT"},{chain:"BTC",chainId:"bitcoin",decimals:8,identifier:"BTC.BTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/btc.btc.png",shortCode:"b",ticker:"BTC"},{chain:"DOGE",chainId:"dogecoin",decimals:8,identifier:"DOGE.DOGE",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/doge.doge.png",shortCode:"d",ticker:"DOGE"},{address:"0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.AAVE-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.aave-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9.png",ticker:"AAVE"},{address:"0x6b175474e89094c44da98b954eedeac495271d0f",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.DAI-0x6b175474e89094c44da98b954eedeac495271d0f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dai-0x6b175474e89094c44da98b954eedeac495271d0f.png",ticker:"DAI"},{address:"0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.DPI-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dpi-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.png",ticker:"DPI"},{chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.eth.png",shortCode:"e",ticker:"ETH"},{address:"0xc770eefad204b5180df6a14ee197d99d808ee52d",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.FOX-0xc770eefad204b5180df6a14ee197d99d808ee52d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.fox-0xc770eefad204b5180df6a14ee197d99d808ee52d.png",ticker:"FOX"},{address:"0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",chain:"ETH",chainId:"1",decimals:2,identifier:"ETH.GUSD-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.gusd-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.png",ticker:"GUSD"},{address:"0x514910771af9ca656af840dff83e8264ecf986ca",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.LINK-0x514910771af9ca656af840dff83e8264ecf986ca",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.link-0x514910771af9ca656af840dff83e8264ecf986ca.png",ticker:"LINK"},{address:"0x5f98805a4e8be255a32880fdec7f6728c6568ba0",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.LUSD-0x5f98805a4e8be255a32880fdec7f6728c6568ba0",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.lusd-0x5f98805a4e8be255a32880fdec7f6728c6568ba0.png",ticker:"LUSD"},{address:"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.SNX-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.snx-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f.png",ticker:"SNX"},{address:"0x108a850856db3f85d0269a2693d896b394c80325",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.TGT-0x108a850856db3f85d0269a2693d896b394c80325",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.tgt-0x108a850856db3f85d0269a2693d896b394c80325.png",ticker:"TGT"},{address:"0xa5f2211b9b8170f694421f2046281775e8468044",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.THOR-0xa5f2211b9b8170f694421f2046281775e8468044",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.thor-0xa5f2211b9b8170f694421f2046281775e8468044.png",ticker:"THOR"},{address:"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",chain:"ETH",chainId:"1",decimals:6,identifier:"ETH.USDC-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png",ticker:"USDC"},{address:"0x8e870d67f660d95d5be530380d0ec0bd388289e1",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.USDP-0x8e870d67f660d95d5be530380d0ec0bd388289e1",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdp-0x8e870d67f660d95d5be530380d0ec0bd388289e1.png",ticker:"USDP"},{address:"0xdac17f958d2ee523a2206206994597c13d831ec7",chain:"ETH",chainId:"1",decimals:6,identifier:"ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png",ticker:"USDT"},{address:"0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.VTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.vthor-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d.png",ticker:"VTHOR"},{address:"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",chain:"ETH",chainId:"1",decimals:8,identifier:"ETH.WBTC-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.wbtc-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png",ticker:"WBTC"},{address:"0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.XRUNE-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.xrune-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c.png",ticker:"XRUNE"},{address:"0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",chain:"ETH",chainId:"1",decimals:18,identifier:"ETH.YFI-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.yfi-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e.png",ticker:"YFI"},{chain:"GAIA",chainId:"cosmoshub-4",decimals:6,identifier:"GAIA.ATOM",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/gaia.atom.png",shortCode:"g",ticker:"ATOM"},{chain:"LTC",chainId:"litecoin",decimals:8,identifier:"LTC.LTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/ltc.ltc.png",shortCode:"l",ticker:"LTC"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.eth.png",ticker:"ETH"},{address:"0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/SOL-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.sol-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f.png",ticker:"SOL"},{address:"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/USDC-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdc-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e.png",ticker:"USDC"},{address:"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.AVAX/USDT-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/avax.usdt-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7.png",ticker:"USDT"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BCH/BCH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bch.bch.png",ticker:"BCH"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/BNB",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.bnb.png",ticker:"BNB"},{address:"0x4b0f1812e5df2a09796481ff14017e6005508003",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/TWT-0x4b0f1812e5df2a09796481ff14017e6005508003",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.twt-0x4b0f1812e5df2a09796481ff14017e6005508003.png",ticker:"TWT"},{address:"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/USDC-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdc-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d.png",ticker:"USDC"},{address:"0x55d398326f99059ff775485246999027b3197955",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BSC/USDT-0x55d398326f99059ff775485246999027b3197955",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdt-0x55d398326f99059ff775485246999027b3197955.png",ticker:"USDT"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.BTC/BTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/btc.btc.png",ticker:"BTC"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.DOGE/DOGE",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/doge.doge.png",ticker:"DOGE"},{address:"0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/AAVE-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.aave-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9.png",ticker:"AAVE"},{address:"0x6b175474e89094c44da98b954eedeac495271d0f",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/DAI-0x6b175474e89094c44da98b954eedeac495271d0f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dai-0x6b175474e89094c44da98b954eedeac495271d0f.png",ticker:"DAI"},{address:"0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/DPI-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.dpi-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.png",ticker:"DPI"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/ETH",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.eth.png",ticker:"ETH"},{address:"0x826180541412d574cf1336d22c0c0a287822678a",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/FLIP-0x826180541412d574cf1336d22c0c0a287822678a",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.flip-0x826180541412d574cf1336d22c0c0a287822678a.png",ticker:"FLIP"},{address:"0xc770eefad204b5180df6a14ee197d99d808ee52d",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/FOX-0xc770eefad204b5180df6a14ee197d99d808ee52d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.fox-0xc770eefad204b5180df6a14ee197d99d808ee52d.png",ticker:"FOX"},{address:"0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/GUSD-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.gusd-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.png",ticker:"GUSD"},{address:"0x514910771af9ca656af840dff83e8264ecf986ca",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/LINK-0x514910771af9ca656af840dff83e8264ecf986ca",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.link-0x514910771af9ca656af840dff83e8264ecf986ca.png",ticker:"LINK"},{address:"0x5f98805a4e8be255a32880fdec7f6728c6568ba0",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/LUSD-0x5f98805a4e8be255a32880fdec7f6728c6568ba0",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.lusd-0x5f98805a4e8be255a32880fdec7f6728c6568ba0.png",ticker:"LUSD"},{address:"0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/RAZE-0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.raze-0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac.png",ticker:"RAZE"},{address:"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/SNX-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.snx-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f.png",ticker:"SNX"},{address:"0x108a850856db3f85d0269a2693d896b394c80325",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/TGT-0x108a850856db3f85d0269a2693d896b394c80325",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.tgt-0x108a850856db3f85d0269a2693d896b394c80325.png",ticker:"TGT"},{address:"0xa5f2211b9b8170f694421f2046281775e8468044",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/THOR-0xa5f2211b9b8170f694421f2046281775e8468044",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.thor-0xa5f2211b9b8170f694421f2046281775e8468044.png",ticker:"THOR"},{address:"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/USDC-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png",ticker:"USDC"},{address:"0x8e870d67f660d95d5be530380d0ec0bd388289e1",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/USDP-0x8e870d67f660d95d5be530380d0ec0bd388289e1",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdp-0x8e870d67f660d95d5be530380d0ec0bd388289e1.png",ticker:"USDP"},{address:"0xdac17f958d2ee523a2206206994597c13d831ec7",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/USDT-0xdac17f958d2ee523a2206206994597c13d831ec7",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png",ticker:"USDT"},{address:"0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/VTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.vthor-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d.png",ticker:"VTHOR"},{address:"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/WBTC-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.wbtc-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png",ticker:"WBTC"},{address:"0x72b886d09c117654ab7da13a14d603001de0b777",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/XDEFI-0x72b886d09c117654ab7da13a14d603001de0b777",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.xdefi-0x72b886d09c117654ab7da13a14d603001de0b777.png",ticker:"XDEFI"},{address:"0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/XRUNE-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.xrune-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c.png",ticker:"XRUNE"},{address:"0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.ETH/YFI-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/eth.yfi-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e.png",ticker:"YFI"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.GAIA/ATOM",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/gaia.atom.png",ticker:"ATOM"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.LTC/LTC",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/ltc.ltc.png",ticker:"LTC"},{chain:"THOR",chainId:"thorchain-1",decimals:8,identifier:"THOR.RUNE",logoURI:"https://storage.googleapis.com/token-list-swapkit/images/thor.rune.png",shortCode:"r",ticker:"RUNE"}]};
3
2
 
4
- //# debugId=DA86555F97410B6D64756E2164756E21
3
+ //# debugId=6F0C04558BEDB23F64756E2164756E21
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/tokens/lists/thorchain.ts"],
4
+ "sourcesContent": [
5
+ "export const list = {\n provider: \"THORCHAIN\",\n chainId: \"thorchain-1\",\n name: \"THORCHAIN\",\n timestamp: \"2025-05-01T16:02:50.014Z\",\n version: {\n major: 1,\n minor: 0,\n patch: 0,\n },\n keywords: [],\n count: 69,\n tokens: [\n {\n chain: \"AVAX\",\n chainId: \"43114\",\n decimals: 18,\n identifier: \"AVAX.ETH\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/avax.eth.png\",\n shortCode: \"a\",\n ticker: \"ETH\",\n },\n {\n address: \"0xfe6b19286885a4f7f55adad09c3cd1f906d2478f\",\n chain: \"AVAX\",\n chainId: \"43114\",\n decimals: 9,\n identifier: \"AVAX.SOL-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/avax.sol-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f.png\",\n ticker: \"SOL\",\n },\n {\n address: \"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e\",\n chain: \"AVAX\",\n chainId: \"43114\",\n decimals: 6,\n identifier: \"AVAX.USDC-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/avax.usdc-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e.png\",\n ticker: \"USDC\",\n },\n {\n address: \"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7\",\n chain: \"AVAX\",\n chainId: \"43114\",\n decimals: 6,\n identifier: \"AVAX.USDT-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/avax.usdt-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7.png\",\n ticker: \"USDT\",\n },\n {\n address: \"0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf\",\n chain: \"BASE\",\n chainId: \"8453\",\n decimals: 8,\n identifier: \"BASE.CBBTC-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/base.cbbtc-0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf.png\",\n ticker: \"CBBTC\",\n },\n {\n chain: \"BASE\",\n chainId: \"8453\",\n decimals: 18,\n identifier: \"BASE.ETH\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/base.eth.png\",\n shortCode: \"f\",\n ticker: \"ETH\",\n },\n {\n address: \"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n chain: \"BASE\",\n chainId: \"8453\",\n decimals: 6,\n identifier: \"BASE.USDC-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/base.usdc-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.png\",\n ticker: \"USDC\",\n },\n {\n chain: \"BCH\",\n chainId: \"bitcoincash\",\n decimals: 8,\n identifier: \"BCH.BCH\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/bch.bch.png\",\n shortCode: \"c\",\n ticker: \"BCH\",\n },\n {\n chain: \"BSC\",\n chainId: \"56\",\n decimals: 18,\n identifier: \"BSC.BNB\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/bsc.bnb.png\",\n shortCode: \"s\",\n ticker: \"BNB\",\n },\n {\n address: \"0x4b0f1812e5df2a09796481ff14017e6005508003\",\n chain: \"BSC\",\n chainId: \"56\",\n decimals: 18,\n identifier: \"BSC.TWT-0x4b0f1812e5df2a09796481ff14017e6005508003\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/bsc.twt-0x4b0f1812e5df2a09796481ff14017e6005508003.png\",\n ticker: \"TWT\",\n },\n {\n address: \"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d\",\n chain: \"BSC\",\n chainId: \"56\",\n decimals: 18,\n identifier: \"BSC.USDC-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdc-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d.png\",\n ticker: \"USDC\",\n },\n {\n address: \"0x55d398326f99059ff775485246999027b3197955\",\n chain: \"BSC\",\n chainId: \"56\",\n decimals: 18,\n identifier: \"BSC.USDT-0x55d398326f99059ff775485246999027b3197955\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdt-0x55d398326f99059ff775485246999027b3197955.png\",\n ticker: \"USDT\",\n },\n {\n chain: \"BTC\",\n chainId: \"bitcoin\",\n decimals: 8,\n identifier: \"BTC.BTC\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/btc.btc.png\",\n shortCode: \"b\",\n ticker: \"BTC\",\n },\n {\n chain: \"DOGE\",\n chainId: \"dogecoin\",\n decimals: 8,\n identifier: \"DOGE.DOGE\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/doge.doge.png\",\n shortCode: \"d\",\n ticker: \"DOGE\",\n },\n {\n address: \"0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.AAVE-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.aave-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9.png\",\n ticker: \"AAVE\",\n },\n {\n address: \"0x6b175474e89094c44da98b954eedeac495271d0f\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.DAI-0x6b175474e89094c44da98b954eedeac495271d0f\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.dai-0x6b175474e89094c44da98b954eedeac495271d0f.png\",\n ticker: \"DAI\",\n },\n {\n address: \"0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.DPI-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.dpi-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.png\",\n ticker: \"DPI\",\n },\n {\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.ETH\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/eth.eth.png\",\n shortCode: \"e\",\n ticker: \"ETH\",\n },\n {\n address: \"0xc770eefad204b5180df6a14ee197d99d808ee52d\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.FOX-0xc770eefad204b5180df6a14ee197d99d808ee52d\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.fox-0xc770eefad204b5180df6a14ee197d99d808ee52d.png\",\n ticker: \"FOX\",\n },\n {\n address: \"0x056fd409e1d7a124bd7017459dfea2f387b6d5cd\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 2,\n identifier: \"ETH.GUSD-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.gusd-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.png\",\n ticker: \"GUSD\",\n },\n {\n address: \"0x514910771af9ca656af840dff83e8264ecf986ca\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.LINK-0x514910771af9ca656af840dff83e8264ecf986ca\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.link-0x514910771af9ca656af840dff83e8264ecf986ca.png\",\n ticker: \"LINK\",\n },\n {\n address: \"0x5f98805a4e8be255a32880fdec7f6728c6568ba0\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.LUSD-0x5f98805a4e8be255a32880fdec7f6728c6568ba0\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.lusd-0x5f98805a4e8be255a32880fdec7f6728c6568ba0.png\",\n ticker: \"LUSD\",\n },\n {\n address: \"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.SNX-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.snx-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f.png\",\n ticker: \"SNX\",\n },\n {\n address: \"0x108a850856db3f85d0269a2693d896b394c80325\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.TGT-0x108a850856db3f85d0269a2693d896b394c80325\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.tgt-0x108a850856db3f85d0269a2693d896b394c80325.png\",\n ticker: \"TGT\",\n },\n {\n address: \"0xa5f2211b9b8170f694421f2046281775e8468044\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.THOR-0xa5f2211b9b8170f694421f2046281775e8468044\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.thor-0xa5f2211b9b8170f694421f2046281775e8468044.png\",\n ticker: \"THOR\",\n },\n {\n address: \"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 6,\n identifier: \"ETH.USDC-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png\",\n ticker: \"USDC\",\n },\n {\n address: \"0x8e870d67f660d95d5be530380d0ec0bd388289e1\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.USDP-0x8e870d67f660d95d5be530380d0ec0bd388289e1\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.usdp-0x8e870d67f660d95d5be530380d0ec0bd388289e1.png\",\n ticker: \"USDP\",\n },\n {\n address: \"0xdac17f958d2ee523a2206206994597c13d831ec7\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 6,\n identifier: \"ETH.USDT-0xdac17f958d2ee523a2206206994597c13d831ec7\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png\",\n ticker: \"USDT\",\n },\n {\n address: \"0x815c23eca83261b6ec689b60cc4a58b54bc24d8d\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.VTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.vthor-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d.png\",\n ticker: \"VTHOR\",\n },\n {\n address: \"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 8,\n identifier: \"ETH.WBTC-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.wbtc-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png\",\n ticker: \"WBTC\",\n },\n {\n address: \"0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.XRUNE-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.xrune-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c.png\",\n ticker: \"XRUNE\",\n },\n {\n address: \"0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e\",\n chain: \"ETH\",\n chainId: \"1\",\n decimals: 18,\n identifier: \"ETH.YFI-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.yfi-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e.png\",\n ticker: \"YFI\",\n },\n {\n chain: \"GAIA\",\n chainId: \"cosmoshub-4\",\n decimals: 6,\n identifier: \"GAIA.ATOM\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/gaia.atom.png\",\n shortCode: \"g\",\n ticker: \"ATOM\",\n },\n {\n chain: \"LTC\",\n chainId: \"litecoin\",\n decimals: 8,\n identifier: \"LTC.LTC\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/ltc.ltc.png\",\n shortCode: \"l\",\n ticker: \"LTC\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.AVAX/ETH\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/avax.eth.png\",\n ticker: \"ETH\",\n },\n {\n address: \"0xfe6b19286885a4f7f55adad09c3cd1f906d2478f\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.AVAX/SOL-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/avax.sol-0xfe6b19286885a4f7f55adad09c3cd1f906d2478f.png\",\n ticker: \"SOL\",\n },\n {\n address: \"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.AVAX/USDC-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/avax.usdc-0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e.png\",\n ticker: \"USDC\",\n },\n {\n address: \"0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.AVAX/USDT-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/avax.usdt-0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7.png\",\n ticker: \"USDT\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.BCH/BCH\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/bch.bch.png\",\n ticker: \"BCH\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.BSC/BNB\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/bsc.bnb.png\",\n ticker: \"BNB\",\n },\n {\n address: \"0x4b0f1812e5df2a09796481ff14017e6005508003\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.BSC/TWT-0x4b0f1812e5df2a09796481ff14017e6005508003\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/bsc.twt-0x4b0f1812e5df2a09796481ff14017e6005508003.png\",\n ticker: \"TWT\",\n },\n {\n address: \"0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.BSC/USDC-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdc-0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d.png\",\n ticker: \"USDC\",\n },\n {\n address: \"0x55d398326f99059ff775485246999027b3197955\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.BSC/USDT-0x55d398326f99059ff775485246999027b3197955\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/bsc.usdt-0x55d398326f99059ff775485246999027b3197955.png\",\n ticker: \"USDT\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.BTC/BTC\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/btc.btc.png\",\n ticker: \"BTC\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.DOGE/DOGE\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/doge.doge.png\",\n ticker: \"DOGE\",\n },\n {\n address: \"0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/AAVE-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.aave-0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9.png\",\n ticker: \"AAVE\",\n },\n {\n address: \"0x6b175474e89094c44da98b954eedeac495271d0f\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/DAI-0x6b175474e89094c44da98b954eedeac495271d0f\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.dai-0x6b175474e89094c44da98b954eedeac495271d0f.png\",\n ticker: \"DAI\",\n },\n {\n address: \"0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/DPI-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.dpi-0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b.png\",\n ticker: \"DPI\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/ETH\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/eth.eth.png\",\n ticker: \"ETH\",\n },\n {\n address: \"0x826180541412d574cf1336d22c0c0a287822678a\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/FLIP-0x826180541412d574cf1336d22c0c0a287822678a\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.flip-0x826180541412d574cf1336d22c0c0a287822678a.png\",\n ticker: \"FLIP\",\n },\n {\n address: \"0xc770eefad204b5180df6a14ee197d99d808ee52d\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/FOX-0xc770eefad204b5180df6a14ee197d99d808ee52d\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.fox-0xc770eefad204b5180df6a14ee197d99d808ee52d.png\",\n ticker: \"FOX\",\n },\n {\n address: \"0x056fd409e1d7a124bd7017459dfea2f387b6d5cd\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/GUSD-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.gusd-0x056fd409e1d7a124bd7017459dfea2f387b6d5cd.png\",\n ticker: \"GUSD\",\n },\n {\n address: \"0x514910771af9ca656af840dff83e8264ecf986ca\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/LINK-0x514910771af9ca656af840dff83e8264ecf986ca\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.link-0x514910771af9ca656af840dff83e8264ecf986ca.png\",\n ticker: \"LINK\",\n },\n {\n address: \"0x5f98805a4e8be255a32880fdec7f6728c6568ba0\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/LUSD-0x5f98805a4e8be255a32880fdec7f6728c6568ba0\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.lusd-0x5f98805a4e8be255a32880fdec7f6728c6568ba0.png\",\n ticker: \"LUSD\",\n },\n {\n address: \"0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/RAZE-0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.raze-0x5eaa69b29f99c84fe5de8200340b4e9b4ab38eac.png\",\n ticker: \"RAZE\",\n },\n {\n address: \"0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/SNX-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.snx-0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f.png\",\n ticker: \"SNX\",\n },\n {\n address: \"0x108a850856db3f85d0269a2693d896b394c80325\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/TGT-0x108a850856db3f85d0269a2693d896b394c80325\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.tgt-0x108a850856db3f85d0269a2693d896b394c80325.png\",\n ticker: \"TGT\",\n },\n {\n address: \"0xa5f2211b9b8170f694421f2046281775e8468044\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/THOR-0xa5f2211b9b8170f694421f2046281775e8468044\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.thor-0xa5f2211b9b8170f694421f2046281775e8468044.png\",\n ticker: \"THOR\",\n },\n {\n address: \"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/USDC-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png\",\n ticker: \"USDC\",\n },\n {\n address: \"0x8e870d67f660d95d5be530380d0ec0bd388289e1\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/USDP-0x8e870d67f660d95d5be530380d0ec0bd388289e1\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.usdp-0x8e870d67f660d95d5be530380d0ec0bd388289e1.png\",\n ticker: \"USDP\",\n },\n {\n address: \"0xdac17f958d2ee523a2206206994597c13d831ec7\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/USDT-0xdac17f958d2ee523a2206206994597c13d831ec7\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.usdt-0xdac17f958d2ee523a2206206994597c13d831ec7.png\",\n ticker: \"USDT\",\n },\n {\n address: \"0x815c23eca83261b6ec689b60cc4a58b54bc24d8d\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/VTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.vthor-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d.png\",\n ticker: \"VTHOR\",\n },\n {\n address: \"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/WBTC-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.wbtc-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.png\",\n ticker: \"WBTC\",\n },\n {\n address: \"0x72b886d09c117654ab7da13a14d603001de0b777\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/XDEFI-0x72b886d09c117654ab7da13a14d603001de0b777\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.xdefi-0x72b886d09c117654ab7da13a14d603001de0b777.png\",\n ticker: \"XDEFI\",\n },\n {\n address: \"0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/XRUNE-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.xrune-0x69fa0fee221ad11012bab0fdb45d444d3d2ce71c.png\",\n ticker: \"XRUNE\",\n },\n {\n address: \"0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e\",\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.ETH/YFI-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e\",\n logoURI:\n \"https://storage.googleapis.com/token-list-swapkit/images/eth.yfi-0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e.png\",\n ticker: \"YFI\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.GAIA/ATOM\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/gaia.atom.png\",\n ticker: \"ATOM\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.LTC/LTC\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/ltc.ltc.png\",\n ticker: \"LTC\",\n },\n {\n chain: \"THOR\",\n chainId: \"thorchain-1\",\n decimals: 8,\n identifier: \"THOR.RUNE\",\n logoURI: \"https://storage.googleapis.com/token-list-swapkit/images/thor.rune.png\",\n shortCode: \"r\",\n ticker: \"RUNE\",\n },\n ],\n} as const;\n"
6
+ ],
7
+ "mappings": "AAAO,IAAM,EAAO,CAClB,SAAU,YACV,QAAS,cACT,KAAM,YACN,UAAW,2BACX,QAAS,CACP,MAAO,EACP,MAAO,EACP,MAAO,CACT,EACA,SAAU,CAAC,EACX,MAAO,GACP,OAAQ,CACN,CACE,MAAO,OACP,QAAS,QACT,SAAU,GACV,WAAY,WACZ,QAAS,wEACT,UAAW,IACX,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,QACT,SAAU,EACV,WAAY,sDACZ,QACE,mHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,QACT,SAAU,EACV,WAAY,uDACZ,QACE,oHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,QACT,SAAU,EACV,WAAY,uDACZ,QACE,oHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,OACT,SAAU,EACV,WAAY,wDACZ,QACE,qHACF,OAAQ,OACV,EACA,CACE,MAAO,OACP,QAAS,OACT,SAAU,GACV,WAAY,WACZ,QAAS,wEACT,UAAW,IACX,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,OACT,SAAU,EACV,WAAY,uDACZ,QACE,oHACF,OAAQ,MACV,EACA,CACE,MAAO,MACP,QAAS,cACT,SAAU,EACV,WAAY,UACZ,QAAS,uEACT,UAAW,IACX,OAAQ,KACV,EACA,CACE,MAAO,MACP,QAAS,KACT,SAAU,GACV,WAAY,UACZ,QAAS,uEACT,UAAW,IACX,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,KACT,SAAU,GACV,WAAY,qDACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,KACT,SAAU,GACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,KACT,SAAU,GACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,MAAO,MACP,QAAS,UACT,SAAU,EACV,WAAY,UACZ,QAAS,uEACT,UAAW,IACX,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,WACT,SAAU,EACV,WAAY,YACZ,QAAS,yEACT,UAAW,IACX,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,qDACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,qDACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,UACZ,QAAS,uEACT,UAAW,IACX,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,qDACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,EACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,qDACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,qDACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,EACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,EACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,uDACZ,QACE,oHACF,OAAQ,OACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,EACV,WAAY,sDACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,uDACZ,QACE,oHACF,OAAQ,OACV,EACA,CACE,QAAS,6CACT,MAAO,MACP,QAAS,IACT,SAAU,GACV,WAAY,qDACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,YACZ,QAAS,yEACT,UAAW,IACX,OAAQ,MACV,EACA,CACE,MAAO,MACP,QAAS,WACT,SAAU,EACV,WAAY,UACZ,QAAS,uEACT,UAAW,IACX,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,gBACZ,QAAS,wEACT,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,4DACZ,QACE,oHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,4DACZ,QACE,oHACF,OAAQ,MACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,eACZ,QAAS,uEACT,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,eACZ,QAAS,uEACT,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,0DACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,eACZ,QAAS,uEACT,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,iBACZ,QAAS,yEACT,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,0DACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,0DACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,eACZ,QAAS,uEACT,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,0DACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,0DACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,0DACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,4DACZ,QACE,oHACF,OAAQ,OACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,2DACZ,QACE,mHACF,OAAQ,MACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,4DACZ,QACE,oHACF,OAAQ,OACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,4DACZ,QACE,oHACF,OAAQ,OACV,EACA,CACE,QAAS,6CACT,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,0DACZ,QACE,kHACF,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,iBACZ,QAAS,yEACT,OAAQ,MACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,eACZ,QAAS,uEACT,OAAQ,KACV,EACA,CACE,MAAO,OACP,QAAS,cACT,SAAU,EACV,WAAY,YACZ,QAAS,yEACT,UAAW,IACX,OAAQ,MACV,CACF,CACF",
8
+ "debugId": "6F0C04558BEDB23F64756E2164756E21",
9
+ "names": []
10
+ }
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- var hs={};as(hs,{wrapWithThrow:()=>_t,wrapMethodWithNetworkSwitch:()=>Qn,warnOnce:()=>Z,validateTNS:()=>mt,validateIdentifier:()=>un,updateDerivationPath:()=>v,switchEVMWalletNetwork:()=>wn,prepareNetworkSwitch:()=>lt,okxMobileEnabled:()=>zn,loadTokenLists:()=>Rn,listWeb3EVMWallets:()=>Un,isWeb3Detected:()=>Kt,isGasAsset:()=>An,isDetected:()=>Et,initializeRPCUrlsWithFallback:()=>st,getWalletFormatFor:()=>ct,getTHORNameCost:()=>Ft,getSymmetricWithdraw:()=>bt,getSymmetricPoolShare:()=>Xn,getMinAmountByChain:()=>St,getMemoForWithdraw:()=>zt,getMemoForUnbond:()=>Xt,getMemoForSaverWithdraw:()=>Jt,getMemoForSaverDeposit:()=>wt,getMemoForRunePoolWithdraw:()=>Zt,getMemoForRunePoolDeposit:()=>Ut,getMemoForNameRegister:()=>Yt,getMemoForNamePreferredAssetRegister:()=>Dt,getMemoForLoan:()=>Wt,getMemoForLeaveAndBond:()=>jt,getMemoForDeposit:()=>Qt,getMAYANameCost:()=>Ht,getLiquiditySlippage:()=>Gt,getGasAsset:()=>Pt,getEstimatedPoolShare:()=>Vt,getETHDefaultWallet:()=>ts,getEIP6963Wallets:()=>ss,getDynamicChainId:()=>kt,getDerivationPathFor:()=>et,getDecimal:()=>Tn,getCommonAssetInfo:()=>z,getChainIdentifier:()=>Bt,getAsymmetricRuneWithdrawAmount:()=>Mt,getAsymmetricRuneShare:()=>Gn,getAsymmetricAssetWithdrawAmount:()=>Lt,getAsymmetricAssetShare:()=>jn,getAssetType:()=>nn,formatBigIntToSafeValue:()=>V,findAssetBy:()=>ft,filterSupportedChains:()=>vt,derivationPathToString:()=>cn,createWallet:()=>os,createPlugin:()=>rt,assetFromString:()=>pn,addEVMWalletNetwork:()=>Jn,addAccountsChangedCallback:()=>ns,WarningCodeEnum:()=>On,WalletOption:()=>Q,UTXOChains:()=>an,TCSupportedChains:()=>En,SwapKitNumber:()=>y,SwapKitError:()=>F,SubstrateChains:()=>qn,StagenetChain:()=>r,SWAP_OUT:()=>ht,SWAP_IN:()=>at,SKConfig:()=>m,RequestClient:()=>L,RPC_URLS:()=>w,QuoteMode:()=>Bn,ProviderName:()=>mn,NetworkDerivationPath:()=>M,NODE_URLS:()=>X,MemoType:()=>Cn,MAYASupportedChains:()=>vn,LedgerErrorCode:()=>In,FeeTypeEnum:()=>yn,FeeOption:()=>Sn,FALLBACK_URLS:()=>Hn,ErrorCode:()=>Nn,EXPLORER_URLS:()=>E,EVMChains:()=>j,DerivationPath:()=>Ct,CosmosChains:()=>rn,CosmosChainPrefixes:()=>Kn,ContractAddress:()=>kn,CommonAssetStrings:()=>At,ChainToHexChainId:()=>en,ChainToExplorerUrl:()=>ot,ChainToChainId:()=>hn,ChainIdToChain:()=>Yn,ChainId:()=>U,Chain:()=>N,BlockTimes:()=>Wn,BigIntArithmetics:()=>g,BaseDecimal:()=>x,AssetValue:()=>I,ApproveMode:()=>$n,AGG_SWAP:()=>it});module.exports=is(hs);var N;((u)=>{u.Arbitrum="ARB";u.Avalanche="AVAX";u.Base="BASE";u.BinanceSmartChain="BSC";u.Bitcoin="BTC";u.BitcoinCash="BCH";u.Cosmos="GAIA";u.Dash="DASH";u.Dogecoin="DOGE";u.Ethereum="ETH";u.Fiat="FIAT";u.Kujira="KUJI";u.Litecoin="LTC";u.Maya="MAYA";u.Near="NEAR";u.Optimism="OP";u.Polkadot="DOT";u.Chainflip="FLIP";u.Polygon="MATIC";u.Radix="XRD";u.Ripple="XRP";u.THORChain="THOR";u.Solana="SOL"})(N||={});var r;((s)=>{s.THORChain="THOR_STAGENET";s.Maya="MAYA_STAGENET"})(r||={});var U;((T)=>{T.Arbitrum="42161";T.ArbitrumHex="0xa4b1";T.Avalanche="43114";T.AvalancheHex="0xa86a";T.Base="8453";T.BaseHex="0x2105";T.BinanceSmartChain="56";T.BinanceSmartChainHex="0x38";T.Bitcoin="bitcoin";T.BitcoinCash="bitcoincash";T.Chainflip="chainflip";T.Cosmos="cosmoshub-4";T.Dash="dash";T.Dogecoin="dogecoin";T.Kujira="kaiyo-1";T.Ethereum="1";T.EthereumHex="0x1";T.Fiat="fiat";T.Litecoin="litecoin";T.Maya="mayachain-mainnet-v1";T.MayaStagenet="mayachain-stagenet-v1";T.Near="near";T.Optimism="10";T.OptimismHex="0xa";T.Polkadot="polkadot";T.Polygon="137";T.PolygonHex="0x89";T.Radix="radix-mainnet";T.Ripple="ripple";T.THORChain="thorchain-1";T.THORChainStagenet="thorchain-stagenet-v2";T.Solana="solana"})(U||={});var Yn={["0xa4b1"]:"ARB",["42161"]:"ARB",["0xa86a"]:"AVAX",["43114"]:"AVAX",["0x2105"]:"BASE",["8453"]:"BASE",["0x38"]:"BSC",["56"]:"BSC",["bitcoincash"]:"BCH",["bitcoin"]:"BTC",["chainflip"]:"FLIP",["cosmoshub-4"]:"GAIA",["dash"]:"DASH",["dogecoin"]:"DOGE",["0x1"]:"ETH",["1"]:"ETH",["fiat"]:"FIAT",["kaiyo-1"]:"KUJI",["litecoin"]:"LTC",["mayachain-stagenet-v1"]:"MAYA",["mayachain-mainnet-v1"]:"MAYA",["near"]:"NEAR",["0xa"]:"OP",["10"]:"OP",["polkadot"]:"DOT",["0x89"]:"MATIC",["137"]:"MATIC",["radix-mainnet"]:"XRD",["ripple"]:"XRP",["solana"]:"SOL",["thorchain-stagenet-v2"]:"THOR",["thorchain-1"]:"THOR"},Dn=Object.keys(N),K=Object.values(N),x={ARB:18,AVAX:18,BASE:18,BCH:8,BSC:18,BTC:8,DASH:8,DOGE:8,DOT:10,ETH:18,FIAT:2,FLIP:18,GAIA:6,KUJI:6,LTC:8,MATIC:18,MAYA:8,NEAR:24,OP:18,SOL:9,THOR:8,XRD:18,XRP:6},Wn={["ARB"]:0.3,["AVAX"]:3,["BASE"]:2,["BSC"]:3,["BTC"]:600,["BCH"]:600,["FLIP"]:5,["GAIA"]:2,["DASH"]:150,["DOGE"]:600,["ETH"]:12.5,["FIAT"]:60,["KUJI"]:2.2,["LTC"]:150,["MAYA"]:6,["NEAR"]:1,["OP"]:2,["DOT"]:6,["MATIC"]:2.1,["XRD"]:5,["XRP"]:5,["SOL"]:0.4,["THOR"]:6},qn=["DOT","FLIP"],j=["ARB","AVAX","BASE","BSC","ETH","OP","MATIC"],an=["BTC","BCH","DASH","DOGE","LTC"],rn=["GAIA","THOR","MAYA","KUJI"],Kn={["GAIA"]:"cosmos",["THOR"]:"thor",["MAYA"]:"maya",["KUJI"]:"kujira"},En=["AVAX","BSC","BTC","BCH","GAIA","DOGE","ETH","LTC","THOR"],vn=["ARB","DASH","ETH","KUJI","MAYA","THOR"],w={["ARB"]:"https://arb1.arbitrum.io/rpc",["AVAX"]:"https://api.avax.network/ext/bc/C/rpc",["BASE"]:"https://base-rpc.publicnode.com",["BSC"]:"https://bsc-dataseed.binance.org",["BCH"]:"https://node-router.thorswap.net/bitcoin-cash",["BTC"]:"https://bitcoin-rpc.publicnode.com",["FLIP"]:"wss://mainnet-archive.chainflip.io",["GAIA"]:"https://node-router.thorswap.net/cosmos/rpc",["DASH"]:"https://dash-rpc.publicnode.com",["DOGE"]:"https://node-router.thorswap.net/dogecoin",["ETH"]:"https://ethereum-rpc.publicnode.com",["FIAT"]:"",["KUJI"]:"https://kujira-rpc.ibs.team",["LTC"]:"https://node-router.thorswap.net/litecoin",["MAYA"]:"https://tendermint.mayachain.info",["NEAR"]:"https://rpc.ankr.com/near",["OP"]:"https://mainnet.optimism.io",["DOT"]:"wss://rpc.polkadot.io",["MATIC"]:"https://polygon-rpc.com",["XRD"]:"https://radix-mainnet.rpc.grove.city/v1/326002fc/core",["XRP"]:"wss://xrpl.ws/",["SOL"]:"https://solana-rpc.publicnode.com",["THOR"]:"https://rpc.thorswap.net",["MAYA_STAGENET"]:"https://stagenet.tendermint.mayachain.info",["THOR_STAGENET"]:"https://stagenet-rpc.ninerealms.com"},X={["THOR"]:"https://thornode.thorswap.net",["MAYA"]:"https://mayanode.mayachain.info",["THOR_STAGENET"]:"https://stagenet-thornode.ninerealms.com",["MAYA_STAGENET"]:"https://stagenet.mayanode.mayachain.info"},Hn={["ARB"]:["https://arb-mainnet.g.alchemy.com/v2/demo","https://arbitrum.blockpi.network/v1/rpc/public"],["AVAX"]:["https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com"],["BASE"]:["https://base.blockpi.network/v1/rpc/public","https://1rpc.io/base"],["BSC"]:["https://bsc-rpc.gateway.pokt.network","https://bsc-dataseed2.binance.org"],["BTC"]:["https://bitcoin.publicnode.com"],["BCH"]:["https://bch-dataseed.binance.org","https://bch.getblock.io/mainnet"],["FLIP"]:["wss://archive-1.mainnet.chainflip.io","wss://archive-2.mainnet.chainflip.io"],["GAIA"]:["https://cosmos-rpc.quickapi.com","https://cosmos-rpc.publicnode.com"],["DASH"]:["https://dash-rpc.publicnode.com"],["DOGE"]:["https://doge.getblock.io/mainnet","https://dogecoin.publicnode.com"],["ETH"]:["https://eth.llamarpc.com","https://rpc.ankr.com/eth"],["FIAT"]:[],["KUJI"]:["https://kujira-rpc.polkachu.com","https://rpc-kujira.synergynodes.com/"],["LTC"]:["https://ltc.getblock.io/mainnet","https://litecoin.publicnode.com"],["MAYA"]:["https://tendermint.mayachain.info","https://maya-tendermint.publicnode.com"],["MAYA_STAGENET"]:[],["NEAR"]:["https://1rpc.io/near"],["OP"]:["https://optimism.llamarpc.com","https://1rpc.io/op"],["DOT"]:["wss://polkadot-rpc.dwellir.com","wss://polkadot.api.onfinality.io/public-ws"],["MATIC"]:["https://polygon.llamarpc.com","https://rpc.ankr.com/polygon"],["XRD"]:["https://mainnet.radixdlt.com","https://radix-mainnet.rpc.grove.city/v1"],["XRP"]:["wss://s1.ripple.com/","wss://s2.ripple.com/"],["THOR"]:["https://thornode.ninerealms.com",X.THOR],["THOR_STAGENET"]:[],["SOL"]:["https://api.mainnet-beta.solana.com","https://rpc.ankr.com/solana"]},E={["ARB"]:"https://arbiscan.io",["AVAX"]:"https://snowtrace.io",["BASE"]:"https://basescan.org",["BSC"]:"https://bscscan.com",["BTC"]:"https://blockchair.com/bitcoin",["BCH"]:"https://www.blockchair.com/bitcoin-cash",["FLIP"]:"https://explorer.polkascan.io/polkadot",["GAIA"]:"https://www.mintscan.io/cosmos",["DASH"]:"https://blockchair.com/dash",["DOGE"]:"https://blockchair.com/dogecoin",["ETH"]:"https://etherscan.io",["FIAT"]:"",["KUJI"]:"https://finder.kujira.network/kaiyo-1",["LTC"]:"https://blockchair.com/litecoin",["MAYA"]:"https://www.mayascan.org",["NEAR"]:"https://nearblocks.io",["OP"]:"https://optimistic.etherscan.io",["DOT"]:"https://polkadot.subscan.io",["MATIC"]:"https://polygonscan.com",["XRD"]:"https://dashboard.radixdlt.com",["XRP"]:"https://livenet.xrpl.org/",["THOR"]:"https://runescan.io",["SOL"]:"https://solscan.io"},xn=w,ln=(n)=>{switch(n){case"ARB":case"AVAX":case"BASE":case"BSC":case"ETH":case"OP":case"MATIC":return{id:1,jsonrpc:"2.0",method:"eth_blockNumber",params:[]};case"BTC":case"DOGE":case"BCH":case"DASH":case"LTC":return{id:"test",jsonrpc:"1.0",method:"getblockchaininfo",params:[]};case"GAIA":case"KUJI":case"MAYA":case"THOR":case"MAYA_STAGENET":case"THOR_STAGENET":return{id:1,jsonrpc:"2.0",method:"status",params:{}};case"DOT":return{id:1,jsonrpc:"2.0",method:"system_health",params:[]};case"SOL":return{id:1,jsonrpc:"2.0",method:"getHealth"};case"XRD":return"";default:throw new Error(`Unsupported chain: ${n}`)}};function nt(n){switch(n){case"XRD":return"/status/network-configuration";default:return""}}var Fn=async(n,t)=>{try{let s=t.startsWith("wss")?t.replace("wss","https"):t;return(await fetch(`${s}${nt(n)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ln(n)),signal:AbortSignal.timeout(3000)})).ok}catch{return!1}},tt=async(n)=>{let t=w[n];if(await Fn(n,t))return t;for(let s of Hn[n])if(await Fn(n,s))return s;return t},st=async(n=[...Object.values(N),...Object.values(r)])=>{let t={};await Promise.all(n.map(async(s)=>{let o=await tt(s);t[s]=o})),xn={...xn,...t}},_n=K.reduce((n,t)=>{let s=Dn.find((o)=>N[o]===t);if(s)n[t]=s;return n},{}),hn=K.reduce((n,t)=>{return n[t]=U[_n[t]],n},{}),en=K.reduce((n,t)=>{let s=`${_n[t]}Hex`;return n[t]=U[s],n},{}),ot=K.reduce((n,t)=>{return n[t]=E[t],n},{});var J=require("ts-pattern");var gn=require("zustand/vanilla");var Bn;((P)=>{P.TC_SUPPORTED_TO_TC_SUPPORTED="TC-TC";P.TC_SUPPORTED_TO_ETH="TC-ERC20";P.TC_SUPPORTED_TO_AVAX="TC-ARC20";P.TC_SUPPORTED_TO_BSC="TC-BEP20";P.ETH_TO_TC_SUPPORTED="ERC20-TC";P.ETH_TO_ETH="ERC20-ERC20";P.ETH_TO_AVAX="ERC20-ARC20";P.ETH_TO_BSC="ERC20-BEP20";P.AVAX_TO_TC_SUPPORTED="ARC20-TC";P.AVAX_TO_ETH="ARC20-ERC20";P.AVAX_TO_AVAX="ARC20-ARC20";P.AVAX_TO_BSC="ARC20-BEP20";P.BSC_TO_TC_SUPPORTED="BEP20-TC";P.BSC_TO_ETH="BEP20-ERC20";P.BSC_TO_AVAX="BEP20-ARC20";P.BSC_TO_BSC="BEP20-BEP20"})(Bn||={});var it=["ERC20-ERC20","ARC20-ARC20","BEP20-BEP20"],at=["ERC20-TC","ERC20-ARC20","ERC20-BEP20","ARC20-TC","ARC20-ERC20","ARC20-BEP20","BEP20-TC","BEP20-ERC20","BEP20-ARC20"],ht=["TC-TC","TC-ERC20","TC-ARC20","TC-BEP20"];function v(n,t){if("index"in t)return[...n.slice(0,n.length-1),t.index];if("change"in t){let[s,o,i,,h]=n;return[s,o,i,t.change,h]}if("account"in t){let[s,o,,i,h]=n;return[s,o,t.account,i,h]}return n}function cn([n,t,s,o,i]){return`m/${n}'/${t}'/${s}'/${o}${typeof i!=="number"?"":`/${i}`}`}function et({chain:n,index:t,addressIndex:s=0,type:o}){if(j.includes(n)){if(o&&["legacy","account"].includes(o))return[44,60,0,t];if(o==="ledgerLive")return[44,60,t,0,s];return v(M[n],{index:t})}if(n==="SOL"){if(o==="account")return[44,501,0,t];return v(M[n],{index:t})}let i=n==="LTC"?2:0;switch(o){case"nativeSegwitMiddleAccount":return[84,i,t,0,s];case"segwit":return[49,i,0,0,t];case"legacy":return[44,i,0,0,t];default:return v(M[n],{index:t})}}function ct(n){let[t,s,o]=n.split("/").map((i)=>Number.parseInt(i,10));switch(s){case 44:return"legacy";case 49:return"p2sh";default:return"bech32"}}var kn;((e)=>{e.ARB="0x0000000000000000000000000000000000000000";e.AVAX="0x0000000000000000000000000000000000000000";e.BASE="0x0000000000000000000000000000000000000000";e.ETH="0x0000000000000000000000000000000000000000";e.BSC="0x0000000000000000000000000000000000000000";e.MATIC="0x0000000000000000000000000000000000001010";e.OP="0x4200000000000000000000000000000000000042"})(kn||={});var M={ARB:[44,60,0,0,0],AVAX:[44,60,0,0,0],BASE:[44,60,0,0,0],BCH:[44,145,0,0,0],BSC:[44,60,0,0,0],BTC:[84,0,0,0,0],DASH:[44,5,0,0,0],DOGE:[44,3,0,0,0],ETH:[44,60,0,0,0],GAIA:[44,118,0,0,0],KUJI:[44,118,0,0,0],LTC:[84,2,0,0,0],MATIC:[44,60,0,0,0],MAYA:[44,931,0,0,0],NEAR:[44,397,0,0,0],OP:[44,60,0,0,0],SOL:[44,501,0,0,0],THOR:[44,931,0,0,0],DOT:[0,0,0,0,0],FIAT:[0,0,0,0,0],FLIP:[0,0,0,0,0],XRD:[0,0,0,0,0],XRP:[44,144,0,0,0]},Ct=Object.keys(M).reduce((n,t)=>{return n[t]=cn(M[t]),n},{});var Nn;((a)=>{a.unknownError="unknownError";a.test_error="test_error";a.providerDetailsError="providerDetailsError";a.blockHeaderNotFound="blockHeaderNotFound";a.blockHashNotFoundAtHeight="blockHashNotFoundAtHeight";a.blockHashNotFoundAtHash="blockHashNotFoundAtHash";a.txHashMissing="txHashMissing";a.assetValueMissingInfo="assetValueMissingInfo";a.invalidAsset="invalidAsset";a.blockIsRequired="blockIsRequired";a.currentBlockHeaderNotFound="currentBlockHeaderNotFound";a.failedToRetrieveBalance="failedToRetrieveBalance";a.failedToRetrieveBlock="failedToRetrieveBlock";a.failedToRetrieveFees="failedToRetrieveFees";a.notImplementedBCH="notImplementedBCH";a.notImplementedDoge="notImplementedDoge";a.noPoolsFound="noPoolsFound";a.noVaultsFound="noVaultsFound";a.noTxFound="noTxFound";a.noInputCoinFound="noInputCoinFound";a.noBlockDataFound="noBlockDataFound";a.multipleCosmosMessages="multipleCosmosMessages";a.heightOrHashNotProvided="heightOrHashNotProvided";a.unknownDenom="unknownDenom";a.invalidBlockHeight="invalidBlockHeight";a.timestampExtrinsicNoArgumentsForBlock="timestampExtrinsicNoArgumentsForBlock";a.timestampExtrinsicNoTimestampForBlock="timestampExtrinsicNoTimestampForBlock";a.noTimestampExtrinsicForHash="noTimestampExtrinsicForHash";a.timestampExtrinsicNoArgumentsForHash="timestampExtrinsicNoArgumentsForHash";a.txMemoUndefined="txMemoUndefined";a.txMemoIncorrect="txMemoIncorrect";a.txTypeNotFound="txTypeNotFound";a.txNoMessage="txNoMessage";a.txNotFound="txNotFound";a.txReceiptNotFound="txReceiptNotFound";a.txParsingError="txParsingError";a.txLogsParsingError="txLogsParsingError";a.blockNotFound="blockNotFound";a.balanceNotFound="balanceNotFound";a.configError="configError";a.synthSwapDisallowed="synthSwapDisallowed";a.providerQuoteTimeout="providerQuoteTimeout";a.noQuoteResponse="noQuoteResponse";a.noPoolAssetsFound="noPoolAssetsFound";a.noThorchainPools="noThorchainPools";a.noMayachainPools="noMayachainPools";a.noThorchainNetworkInfo="noThorchainNetworkInfo";a.invalidAffiliateFee="invalidAffiliateFee";a.invalidBuyAssetAddress="invalidBuyAssetAddress";a.invalidSellAssetAddress="invalidSellAssetAddress";a.invalidSourceAddress="invalidSourceAddress";a.invalidDestinationAddress="invalidDestinationAddress";a.sourceAddressIsSmartContract="sourceAddressIsSmartContract";a.destinationAddressIsSmartContract="destinationAddressIsSmartContract";a.invalidChainId="invalidChainId";a.unsupportedChainId="unsupportedChainId";a.unsupportedEVMChainId="unsupportedEVMChainId";a.unsupportedMethod="unsupportedMethod";a.unsupportedProvider="unsupportedProvider";a.invalidParamsForMethod="invalidParamsForMethod";a.unsupportedAdapter="unsupportedAdapter";a.noWhitelistTokens="noWhitelistTokens";a.failedFetchGasPrice="failedFetchGasPrice";a.failedToCreateDepositChannel="failedToCreateDepositChannel";a.noProviderDetailsFound="noProviderDetailsFound";a.noTokenListsFound="noTokenListsFound";a.tokenNotFound="tokenNotFound";a.tokenPriceNotFound="tokenPriceNotFound";a.tokenPriceFailedToUpdate="tokenPriceFailedToUpdate";a.swapAmountTooSmall="swapAmountTooSmall";a.legsArrayIsEmpty="legsArrayIsEmpty";a.failedToFetchQuoteForLeg="failedToFetchQuoteForLeg";a.noBlockHeaderFound="noBlockHeaderFound";a.failedToSimulateSwap="failedToSimulateSwap";a.addressScreeningFailed="addressScreeningFailed";a.noLiquidtyProvidersFound="noLiquidtyProvidersFound";a.insufficientLiquidity="insufficientLiquidity";a.noSaversFound="noSaversFound";a.noInboundDataFound="noInbounDataFound";a.noInboundAddressesFound="noInboundAddressesFound";a.noInboundAddressFoundForChain="noInboundAddressFoundForChain";a.noLastBlocksFound="noLastBlocksFound";a.noVersionFound="noVersionFound";a.noConstantsFound="noConstantsFound";a.noMimirsFound="noMimirsFound";a.noRoutesFound="noRoutesFound";a.quoteNotFound="quoteNotFound";a.ledgerSignFailed="ledgerSignFailed";a.ledgerWrongPayload="ledgerWrongPayload";a.ledgerFetchSwapFailed="ledgerFetchSwapFailed";a.failedToFetchTx="failedToFetchTx";a.failedBuildTransactionDetails="failedBuildTransactionDetails";a.noLegsForRoute="noLegsForRoute";a.noRouterAddressFound="noRouterAddressFound";a.noAggregatorAddressFound="noAggregatorAddressFound";a.noContractInstanceFound="noContractInstanceFound";a.noContractAddressFound="noContractAddressFound";a.invalidAffiliate="invalidAffiliate";a.thornameAffiliate="thornameAffiliate";a.providerNotfound="No provider found";a.noRecordFound="No Record found";a.slippageTooLow="Slippage too low";a.tradingHalted="tradingHalted";a.noWrappedGasAsset="noWrappedGasAsset";a.aggregatorAddressNotFound="aggregatorAddressNotFound";a.routerAddressNotFound="routerAddressNotFound";a.dummyAddressNotFound="dummyAddressNotFound";a.trackerError="trackerError";a.thorchainPoolUnavailable="thorchainPoolUnavailable";a.noOhlcvDataFound="noOhlcvDataFound";a.noTradingPairs="noTradingPairs";a.noLoanPositionFound="noLoanPositionFound";a.noLendingAvailability="noLendingAvailability";a.lendingRepayTooSmall="lendingRepayTooSmall";a.missingState="missingState";a.ledgerSwapNotFound="ledgerSwapNotFound";a.ledgerSwapNotReadyForTracking="ledgerSwapNotReadyForTracking";a.errorEstimatingGas="errorEstimatingGas";a.apiKeyInvalid="apiKeyInvalid";a.apiKeyFailedToUpdate="apiKeyFailedToUpdate";a.apiKeyExpired="apiKeyExpired";a.unauthorized="unauthorized";a.failedToCreateMemo="failedToCreateMemo";a.radixIncorrectInstructions="radixIncorrectInstructions";a.radixTxMissedParam="radixTxMissedParam";a.radixTxMissedAccount="radixTxMissedAccount";a.radixManifestParseError="radixManifestParseError";a.radixManifestBuildError="radixManifestBuildError";a.invalidAddressForChain="invalidAddressForChain";a.riskyAddress="riskyAddress";a.noRoutesToProcess="noRoutesToProcess";a.sellAssetAmountTooSmall="sellAssetAmountTooSmall";a.missingPrivateKey="missingPrivateKey";a.noMemoPriceProtection="noMemoPriceProtection"})(Nn||={});var On;((s)=>{s.highSlippage="highSlippage";s.highPriceImpact="highPriceImpact"})(On||={});var mn;((f)=>{f.CAVIAR_V1="CAVIAR_V1";f.CAMELOT_V3="CAMELOT_V3";f.CHAINFLIP="CHAINFLIP";f.CHAINFLIP_STREAMING="CHAINFLIP_STREAMING";f.JUPITER="JUPITER";f.MAYACHAIN="MAYACHAIN";f.MAYACHAIN_STREAMING="MAYACHAIN_STREAMING";f.OCISWAP_V1="OCISWAP_V1";f.ONEINCH="ONEINCH";f.OPENOCEAN_V2="OPENOCEAN_V2";f.PANCAKESWAP="PANCAKESWAP";f.PANGOLIN_V1="PANGOLIN_V1";f.SUSHISWAP_V2="SUSHISWAP_V2";f.THORCHAIN="THORCHAIN";f.THORCHAIN_STREAMING="THORCHAIN_STREAMING";f.TRADERJOE_V2="TRADERJOE_V2";f.UNISWAP_V2="UNISWAP_V2";f.UNISWAP_V3="UNISWAP_V3";f.KADO="KADO"})(mn||={});var yn;((e)=>{e.LIQUIDITY="liquidity";e.NETWORK="network";e.INBOUND="inbound";e.OUTBOUND="outbound";e.AFFILIATE="affiliate";e.TAX="tax";e.PRIORITY="priority"})(yn||={});var Sn;((o)=>{o.Average="average";o.Fast="fast";o.Fastest="fastest"})(Sn||={});var $n;((s)=>{s.Approve="approve";s.CheckOnly="checkOnly"})($n||={});var Cn;((p)=>{p.NAME_REGISTER="~";p.BOND="BOND";p.DEPOSIT="+";p.LEAVE="LEAVE";p.UNBOND="UNBOND";p.WITHDRAW="-";p.OPEN_LOAN="$+";p.CLOSE_LOAN="$-";p.RUNEPOOL_DEPOSIT="POOL+";p.RUNEPOOL_WITHDRAW="POOL-"})(Cn||={});var Q;((R)=>{R.BITGET="BITGET";R.BRAVE="BRAVE";R.COINBASE_MOBILE="COINBASE_MOBILE";R.COINBASE_WEB="COINBASE_WEB";R.CTRL="CTRL";R.EIP6963="EIP6963";R.EXODUS="EXODUS";R.KEEPKEY="KEEPKEY";R.KEEPKEY_BEX="KEEPKEY_BEX";R.KEPLR="KEPLR";R.KEYSTORE="KEYSTORE";R.LEAP="LEAP";R.LEDGER="LEDGER";R.LEDGER_LIVE="LEDGER_LIVE";R.METAMASK="METAMASK";R.OKX="OKX";R.OKX_MOBILE="OKX_MOBILE";R.ONEKEY="ONEKEY";R.PHANTOM="PHANTOM";R.POLKADOT_JS="POLKADOT_JS";R.RADIX_WALLET="RADIX_WALLET";R.TREZOR="TREZOR";R.TALISMAN="TALISMAN";R.TRUSTWALLET_WEB="TRUSTWALLET_WEB";R.WALLETCONNECT="WALLETCONNECT"})(Q||={});var In;((o)=>{o[o.NoError=36864]="NoError";o[o.LockedDevice=21781]="LockedDevice";o[o.TC_NotFound=65535]="TC_NotFound"})(In||={});var Tt={apis:{},chains:Object.values(N),wallets:Object.values(Q),explorerUrls:E,nodeUrls:X,rpcUrls:w,apiKeys:{blockchair:"",kado:"",keepKey:"",swapKit:"",walletConnectProjectId:""},envs:{apiUrl:"https://api.swapkit.dev",devApiUrl:"https://dev-api.swapkit.dev",isDev:!1,isStagenet:!1},integrations:{radix:{applicationName:"Swapkit Playground",applicationVersion:"0.0.1",dAppDefinitionAddress:"account_rdx128r289p58222hcvev7frs6kue76pl7pdcnw8725aw658v0zggkh9ws",network:{dashboardBase:"https://dashboard.radixdlt.com",networkId:1,networkName:"mainnet"}}}},$=gn.createStore((n)=>({...Tt,setApiKey:(t,s)=>n((o)=>({apiKeys:{...o.apiKeys,[t]:s}})),setEnv:(t,s)=>n((o)=>({envs:{...o.envs,[t]:s}})),setExplorerUrl:(t,s)=>n((o)=>({explorerUrls:{...o.explorerUrls,[t]:s}})),setNodeUrl:(t,s)=>n((o)=>({nodeUrls:{...o.nodeUrls,[t]:s}})),setRpcUrl:(t,s)=>n((o)=>({rpcUrls:{...o.rpcUrls,[t]:s}})),setIntegrationConfig:(t,s)=>n((o)=>({integrations:{...o.integrations,[t]:s}})),setConfig:(t)=>n((s)=>({apiKeys:{...s.apiKeys,...t.apiKeys},envs:{...s.envs,...t.envs},explorerUrls:{...s.explorerUrls,...t.explorerUrls},integrations:{...s.integrations,...t.integrations},nodeUrls:{...s.nodeUrls,...t.nodeUrls},rpcUrls:{...s.rpcUrls,...t.rpcUrls},chains:s.chains.concat(t.chains||[]),wallets:s.wallets.concat(t.wallets||[])}))})),m={getState:$.getState,get:(n)=>$.getState()[n],set:(n)=>$.getState().setConfig(n),setApiKey:(n,t)=>$.getState().setApiKey(n,t),setEnv:(n,t)=>$.getState().setEnv(n,t),setExplorerUrl:(n,t)=>$.getState().setExplorerUrl(n,t),setNodeUrl:(n,t)=>$.getState().setNodeUrl(n,t),setRpcUrl:(n,t)=>$.getState().setRpcUrl(n,t),setIntegrationConfig:(n,t)=>$.getState().setIntegrationConfig(n,t)};var L={get:l("GET"),post:l("POST"),extend:(n)=>({get:l("GET",n),post:l("POST",n),extend:(t)=>L.extend({...n,...t})})};function l(n,t={}){return async(s,o={})=>{let{searchParams:i,json:h,body:c,headers:e}={...t,...o},{swapKit:A}=m.get("apiKeys"),C=h||s.endsWith(".json"),p=C?JSON.stringify(h):c,_=new URL(s);if(i)_.search=new URLSearchParams(i).toString();let S={...e,...C?{"Content-Type":"application/json"}:{},...A?{"x-api-key":A}:{}};try{let H=await fetch(_.toString(),{...o,method:n,body:p,headers:S});if(!H.ok){let d=await H.text();throw new Error(`${H.statusText}(${H.status}): ${d}`)}let k=await H.json();return o.onSuccess?.(k)||o.responseHandler?.(k)||k}catch(H){return o.onError?.(H)||console.error(H)}}}var At=[`${"MAYA"}.MAYA`,`${"ETH"}.THOR`,`${"ETH"}.vTHOR`,`${"KUJI"}.USK`,`${"ETH"}.FLIP`,`${"XRD"}.XRD`],dn=["ARB","AVAX","BASE","ETH","OP","MATIC"];async function pt({chain:n,to:t}){try{let{result:o}=await L.post(m.get("rpcUrls")[n],{headers:{accept:"*/*","content-type":"application/json","cache-control":"no-cache"},body:JSON.stringify({id:44,jsonrpc:"2.0",method:"eth_call",params:[{to:t.toLowerCase(),data:"0x313ce567"},"latest"]})});return Number.parseInt(BigInt(o||x[n]).toString())}catch(o){return console.error(o),x[n]}}async function Rt(n){if(n==="XRD")return x.XRD;try{let t=n.split("-")[1]?.toLowerCase(),{manager:s}=await L.post(`${m.get("rpcUrls").XRD}/state/resource`,{headers:{Accept:"*/*","Content-Type":"application/json"},body:JSON.stringify({network:"mainnet",resource_address:t})});return s.divisibility.value.divisibility}catch(t){return console.error(t),x["XRD"]}}async function ut({chain:n,symbol:t}){if(j.includes(t))return x[t];let s=t.split("-"),o=s.length===1?void 0:s[s.length-1]?.toLowerCase();return await(o?.startsWith("0x")?pt({chain:n,to:o}):x[n])}function Tn({chain:n,symbol:t}){return J.match(n).with(...j,(s)=>ut({chain:s,symbol:t})).with("XRD",()=>Rt(t)).otherwise(()=>x[n])}function Pt({chain:n}){return I.from({chain:n})}function An({chain:n,symbol:t}){return J.match(n).with(...dn,()=>t==="ETH").with("BSC",()=>t==="BNB").with("MAYA",()=>t==="CACAO").with("GAIA",()=>t==="ATOM").with("THOR",()=>t==="RUNE").with("XRD",()=>`${n}.${t}`===z(n).identifier).otherwise(()=>t===n)}var z=(n)=>{let t=x[n];return J.match(n.toUpperCase()).with(...dn,()=>({identifier:`${n.toUpperCase()}.ETH`,decimal:t})).with("THOR",()=>({identifier:`${n.toUpperCase()}.RUNE`,decimal:t})).with("GAIA",()=>({identifier:`${n.toUpperCase()}.ATOM`,decimal:t})).with("MAYA",()=>({identifier:`${n.toUpperCase()}.CACAO`,decimal:10})).with("BSC",()=>({identifier:`${n.toUpperCase()}.BNB`,decimal:t})).with(...an,"SOL","FLIP","KUJI","XRP","DOT",()=>({identifier:`${n.toUpperCase()}.${n.toUpperCase()}`,decimal:t})).with("XRD","XRD.XRD",()=>({identifier:"XRD.XRD-resource_rdx1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxradxrd",decimal:t})).with("KUJI.USK",()=>({identifier:n.toUpperCase(),decimal:6})).with("ETH.FLIP",()=>({identifier:"ETH.FLIP-0x826180541412D574cf1336d22c0C0a287822678A",decimal:x.ETH})).with("ETH.THOR",()=>({identifier:"ETH.THOR-0xa5f2211b9b8170f694421f2046281775e8468044",decimal:x.ETH})).with("ETH.vTHOR",()=>({identifier:"ETH.vTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",decimal:x.ETH})).with("MAYA.MAYA",()=>({identifier:n.toUpperCase(),decimal:4})).otherwise(()=>({identifier:n,decimal:t}))};function nn({chain:n,symbol:t}){if(t.includes("/"))return"Synth";if(t.includes("~"))return"Trade";return J.match(n).with("XRD",()=>t==="XRD"||`${n}.${t}`===z(n).identifier).with("ARB","OP","BASE",()=>t==="ETH").with("GAIA",()=>t==="ATOM").with("BSC",()=>t==="BNB").with("MAYA",()=>t==="CACAO").with("THOR",()=>t==="RUNE").otherwise(()=>t===n)?"Native":n}var pn=(n)=>{let[t,...s]=n.split("."),o=n.includes("/"),i=s.join("."),h=i?.split("-"),c=h?.length?h.length===1?h[0]:h.slice(0,-1).join("-"):void 0;return{chain:t,symbol:i,ticker:c,synth:o}};async function ft(n){let{tokenLists:t}=await import("@swapkit/helpers/tokens");for(let s of Object.values(t))for(let{identifier:o,chain:i,...h}of s.tokens){if("identifier"in n&&o===n.identifier)return o;if("address"in h&&"chain"in n&&i===n.chain&&h.address.toLowerCase()===n.contract.toLowerCase())return o}return}var xt={core_estimated_max_spendable_chain_not_supported:10002,core_extend_error:10003,core_inbound_data_not_found:10004,core_approve_asset_address_or_from_not_found:10005,core_plugin_not_found:10006,core_plugin_swap_not_found:10007,core_approve_asset_target_invalid:10008,core_explorer_unsupported_chain:10009,core_verify_message_not_supported:10010,core_chain_halted:10099,core_wallet_connection_not_found:10100,core_wallet_ctrl_not_installed:10101,core_wallet_evmwallet_not_installed:10102,core_wallet_walletconnect_not_installed:10103,core_wallet_keystore_not_installed:10104,core_wallet_ledger_not_installed:10105,core_wallet_trezor_not_installed:10106,core_wallet_keplr_not_installed:10107,core_wallet_okx_not_installed:10108,core_wallet_keepkey_not_installed:10109,core_wallet_talisman_not_installed:10110,core_wallet_not_keypair_wallet:10111,core_wallet_sign_message_not_supported:10110,core_wallet_connection_failed:10112,core_swap_invalid_params:10200,core_swap_route_not_complete:10201,core_swap_asset_not_recognized:10202,core_swap_contract_not_found:10203,core_swap_route_transaction_not_found:10204,core_swap_contract_not_supported:10205,core_swap_transaction_error:10206,core_swap_quote_mode_not_supported:10207,core_transaction_deposit_error:10301,core_transaction_create_liquidity_base_error:10302,core_transaction_create_liquidity_asset_error:10303,core_transaction_create_liquidity_invalid_params:10304,core_transaction_add_liquidity_invalid_params:10305,core_transaction_add_liquidity_base_address:10306,core_transaction_add_liquidity_base_error:10307,core_transaction_add_liquidity_asset_error:10308,core_transaction_withdraw_error:10309,core_transaction_deposit_to_pool_error:10310,core_transaction_deposit_insufficient_funds_error:10311,core_transaction_deposit_gas_error:10312,core_transaction_invalid_sender_address:10313,core_transaction_deposit_server_error:10314,core_transaction_user_rejected:10315,core_transaction_failed:10316,core_transaction_invalid_recipient_address:10317,wallet_connection_rejected_by_user:20000,wallet_missing_api_key:20001,wallet_chain_not_supported:20002,wallet_missing_params:20003,wallet_provider_not_found:20004,wallet_failed_to_add_or_switch_network:20005,wallet_ledger_connection_error:20101,wallet_ledger_connection_claimed:20102,wallet_ledger_get_address_error:20103,wallet_ledger_device_not_found:20104,wallet_ledger_device_locked:20105,wallet_phantom_not_found:20201,wallet_ctrl_not_found:20301,wallet_ctrl_send_transaction_no_address:20302,wallet_ctrl_contract_address_not_provided:20303,wallet_ctrl_asset_not_defined:20304,wallet_walletconnect_project_id_not_specified:20401,wallet_walletconnect_connection_not_established:20402,wallet_walletconnect_namespace_not_supported:20403,wallet_trezor_failed_to_sign_transaction:20501,wallet_trezor_derivation_path_not_supported:20502,wallet_trezor_failed_to_get_address:20503,wallet_talisman_not_enabled:20601,wallet_talisman_not_found:20602,wallet_polkadot_not_found:20701,wallet_radix_not_found:20801,wallet_radix_transaction_failed:20802,wallet_keepkey_not_found:20900,wallet_keepkey_asset_not_defined:20901,wallet_keepkey_contract_address_not_provided:20902,wallet_keepkey_send_transaction_no_address:20903,wallet_bitkeep_not_found:21001,wallet_exodus_sign_transaction_error:21100,wallet_keystore_invalid_password:29900,wallet_keystore_unsupported_version:29901,wallet_onekey_not_found:21200,wallet_onekey_sign_transaction_error:21201,chainflip_channel_error:30001,chainflip_unknown_asset:30002,chainflip_broker_invalid_params:30100,chainflip_broker_recipient_error:30101,chainflip_broker_register:30102,chainflip_broker_tx_error:30103,chainflip_broker_withdraw:30104,chainflip_broker_fund_only_flip_supported:30105,chainflip_broker_fund_invalid_address:30106,thorchain_chain_halted:40001,thorchain_trading_halted:40002,thorchain_swapin_router_required:40100,thorchain_swapin_vault_required:40101,thorchain_swapin_memo_required:40102,thorchain_swapin_token_required:40103,thorchain_preferred_asset_payout_required:40104,api_v2_invalid_response:50001,api_v2_server_error:50002,api_v2_invalid_method_key_hash:50003,toolbox_cosmos_signer_not_defined:90101,toolbox_cosmos_no_accounts_found:90102,toolbox_cosmos_verify_signature_no_pubkey:90103,toolbox_cosmos_validate_address_prefix_not_found:90104,toolbox_evm_no_abi_fragment:90201,toolbox_evm_no_signer:90202,toolbox_evm_no_signer_address:90203,toolbox_evm_no_from_address:90204,toolbox_evm_no_contract_address:90205,toolbox_evm_no_fee_data:90206,toolbox_evm_no_gas_price:90207,toolbox_evm_no_to_address:90208,toolbox_evm_invalid_gas_asset_address:90209,toolbox_evm_provider_not_eip1193_compatible:90210,toolbox_evm_error_estimating_gas_limit:90211,toolbox_evm_error_sending_transaction:90212,toolbox_radix_signer_not_defined:90301,toolbox_solana_no_signer:90401,toolbox_solana_fee_estimation_failed:90402,toolbox_ripple_rpc_not_configured:90501,toolbox_ripple_signer_not_found:90502,toolbox_ripple_asset_not_supported:90503,toolbox_ripple_broadcast_error:90504,toolbox_ripple_get_balance_error:90505,helpers_invalid_number_different_decimals:99000,helpers_invalid_number_of_years:99001,helpers_invalid_identifier:99002,helpers_invalid_asset_url:99003,helpers_invalid_asset_identifier:99004,helpers_invalid_memo_type:99005,helpers_failed_to_switch_network:99103,helpers_not_found_provider:99200,not_implemented:99999};class F extends Error{static ErrorCode=xt;constructor(n,t){let s=typeof n==="string",o=s?n:n.errorKey,i=`${o}${s?"":`: ${JSON.stringify(n.info)}`}`;if(t)console.error(t);console.error(o,{code:F.ErrorCode[o],message:i});super(o);Object.setPrototypeOf(this,F.prototype)}}function Ft(n){if(n<0)throw new F({errorKey:"helpers_invalid_number_of_years",info:{numberOfYears:n}});return 10+n}function Ht(n){if(n<0)throw new F({errorKey:"helpers_invalid_number_of_years",info:{numberOfYears:n}});return Math.round((10+n*1.0512)*10000000000)/10000000000}function _t(n,t){try{return n()}catch(s){if(t)throw new F(t,s);return console.error(s)}}function Bt(n){switch(n){case"THOR":return`${n}.RUNE`;case"GAIA":return`${n}.ATOM`;case"BSC":return`${n}`;default:return`${n}.${n}`}}var Mn=new Set;function Z(n,t){if(n){if(Mn.has(t))return;Mn.add(t),console.warn(t)}}async function kt(n="thorchain-1"){if(!["thorchain-stagenet-v2","thorchain-1","thorchain-mainnet-v1"].includes(n))return n;try{let t=m.get("rpcUrls")[n!=="thorchain-1"?"THOR_STAGENET":"THOR"];return(await L.get(`${t}/status`)).result.node_info.network}catch(t){return n}}var Ln=require("ts-pattern"),Nt=["camelot","caviar","chainflip","jupiter","mayachain","oneinch","openocean","pancakeswap","pangolin","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function Rn(n){let t=n||Nt,s={};for(let o of t){let i=await Ot(o);s[o]=i}return s}async function Ot(n){let{list:t}=await Ln.match(n).with("camelot",()=>import("./chunk-t9s9811k.js")).with("caviar",()=>import("./chunk-x2fe9scs.js")).with("chainflip",()=>import("./chunk-3ptwhtpd.js")).with("jupiter",()=>import("./chunk-ftdtdkhk.js")).with("mayachain",()=>import("./chunk-q2pb6ggs.js")).with("oneinch",()=>import("./chunk-4kzjrrjv.js")).with("openocean",()=>import("./chunk-a6bjd9ar.js")).with("pancakeswap",()=>import("./chunk-9zcbvqq2.js")).with("pangolin",()=>import("./chunk-wyr5d8ad.js")).with("sushiswap",()=>import("./chunk-49nsjaay.js")).with("thorchain",()=>import("./chunk-xzb1nshn.js")).with("traderjoe",()=>import("./chunk-x0jsq6ag.js")).with("uniswap",()=>import("./chunk-40epvqbm.js")).with("uniswapv3",()=>import("./chunk-bg6pz5qh.js")).exhaustive();return t}var bn=["TERRA",...m.get("chains")];function un(n=""){let t=n.toUpperCase(),[s]=t.split(".");if(bn.includes(s))return!0;let[o]=t.split("/");if(bn.includes(o))return!0;throw new F({errorKey:"helpers_invalid_identifier",info:{message:`Invalid identifier: ${n}. Expected format: <Chain>.<Ticker> or <Chain>.<Ticker>-<ContractAddress>`,identifier:n}})}function mt(n){if(n.length>30)return!1;let t=/^[a-zA-Z0-9+_-]+$/g;return!!n.match(t)}var D=8,b=(n)=>10n**BigInt(n),Y=(n)=>Math.log10(Number.parseFloat(n.toString()));function V({value:n,bigIntDecimal:t=D,decimal:s=D}){if(s===0)return n.toString();let o=n<0n,i=n.toString().substring(o?1:0),h=s-(i.length-1);if(h>0)i="0".repeat(h)+i;let c=i.length-s,e=i.slice(-s);if(Number.parseInt(e[t]||"0")>=5)e=`${e.substring(0,t-1)}${(Number.parseInt(e[t-1]||"0")+1).toString()}`;else e=e.substring(0,t);return`${o?"-":""}${i.slice(0,c)}.${e}`.replace(/\.?0*$/,"")}class g{decimalMultiplier=10n**8n;bigIntValue=0n;decimal;static fromBigInt(n,t){return new g({decimal:t,value:V({value:n,bigIntDecimal:t,decimal:t})})}static shiftDecimals({value:n,from:t,to:s}){return g.fromBigInt(n.getBaseValue("bigint")*b(s)/b(t),s)}constructor(n){let t=Pn(n),s=typeof n==="object";this.decimal=s?n.decimal:void 0,this.decimalMultiplier=s&&"decimalMultiplier"in n?n.decimalMultiplier:b(Math.max(Vn(tn(t)),this.decimal||0)),this.#i(t)}set(n){return new this.constructor({decimal:this.decimal,value:n,identifier:this.toString({includeSynthProtocol:!0})})}add(...n){return this.#t("add",...n)}sub(...n){return this.#t("sub",...n)}mul(...n){return this.#t("mul",...n)}div(...n){return this.#t("div",...n)}gt(n){return this.#n("gt",n)}gte(n){return this.#n("gte",n)}lt(n){return this.#n("lt",n)}lte(n){return this.#n("lte",n)}eqValue(n){return this.#n("eqValue",n)}getValue(n,t){let s=this.formatBigIntToSafeValue(this.bigIntValue,t||this.decimal||Y(this.decimalMultiplier));switch(n){case"number":return Number(s);case"string":return s;case"bigint":return this.bigIntValue*10n**BigInt(this.decimal||8n)/this.decimalMultiplier;default:return s}}getBaseValue(n,t){let s=this.decimalMultiplier/b(t||this.decimal||x.THOR),o=this.bigIntValue/s;switch(n){case"number":return Number(o);case"string":return o.toString();case"bigint":return o;default:return o}}getBigIntValue(n,t){if(!t&&typeof n==="object")return n.bigIntValue;let s=Pn(n),o=tn(s);if(o==="0"||o==="undefined")return 0n;return this.#o(o,t)}toSignificant(n=6){let[t,s]=this.getValue("string").split("."),o=t||"",i=s||"";if((Number.parseInt(o)?o.length+i.length:i.length)<=n)return this.getValue("string");if(o.length>=n)return o.slice(0,n).padEnd(o.length,"0");if(Number.parseInt(o))return`${o}.${i.slice(0,n-o.length)}`.padEnd(n-o.length,"0");let c=Number.parseInt(i),e=`${c}`.slice(0,n);return`0.${e.padStart(i.length-`${c}`.length+e.length,"0")}`}toFixed(n=6){let[t,s]=this.getValue("string").split("."),o=t||"",i=s||"";if(Number.parseInt(o))return`${o}.${i.slice(0,n)}`.padEnd(n,"0");let h=Number.parseInt(i),c=`${h}`.slice(0,n);return`0.${c.padStart(i.length-`${h}`.length+c.length,"0")}`}toAbbreviation(n=2){let t=this.getValue("number"),s=["","K","M","B","T","Q","Qi","S"],o=Math.floor(Math.log10(Math.abs(t))/3),i=s[o];if(!i)return this.getValue("string");let h=10**(o*3);return`${(t/h).toFixed(n)}${i}`}toCurrency(n="$",{currencyPosition:t="start",decimal:s=2,decimalSeparator:o=".",thousandSeparator:i=","}={}){let h=this.getValue("number"),[c="",e=""]=h.toFixed(6).split("."),A=c.replace(/\B(?=(\d{3})+(?!\d))/g,i),C=c||e?c==="0"?`${Number.parseFloat(`0.${e}`)}`.replace(".",o):`${A}${Number.parseInt(e)?`${o}${e.slice(0,s)}`:""}`:"0.00";return`${t==="start"?n:""}${C}${t==="end"?n:""}`}formatBigIntToSafeValue(n,t){let s=t||this.decimal||D,o=Math.max(s,Y(this.decimalMultiplier)),i=n<0n,h=n.toString().substring(i?1:0),c=o-(h.length-1),e=c>0?"0".repeat(c)+h:h,A=e.length-o,C=e.slice(-o);if(Number.parseInt(C[s]||"0")>=5)C=`${C.substring(0,s-1)}${(Number.parseInt(C[s-1]||"0")+1).toString()}`;else C=C.substring(0,s);return`${i?"-":""}${e.slice(0,A)}.${C}`.replace(/\.?0*$/,"")}#t(n,...t){let s=this.#s(this,...t),o=Math.max(s,Y(this.decimalMultiplier)),i=b(o),h=t.reduce((e,A)=>{let C=this.getBigIntValue(A,o);switch(n){case"add":return e+C;case"sub":return e-C;case"mul":return e*C/i;case"div":{if(C===0n)throw new RangeError("Division by zero");return e*i/C}default:return e}},this.bigIntValue*i/this.decimalMultiplier),c=V({bigIntDecimal:o,decimal:o,value:h});return new this.constructor({decimalMultiplier:b(o),decimal:this.decimal,value:c,identifier:this.toString()})}#n(n,...t){let s=this.#s(this,...t),o=this.getBigIntValue(t[0]||"0",s),i=this.getBigIntValue(this,s);switch(n){case"gt":return i>o;case"gte":return i>=o;case"lt":return i<o;case"lte":return i<=o;case"eqValue":return i===o;default:return!1}}#i(n){let t=tn(n)||"0";this.bigIntValue=this.#o(t)}#s(...n){let t=n.map((s)=>{return typeof s==="object"?s.decimal||Y(s.decimalMultiplier):Vn(tn(s))}).filter(Boolean);return Math.max(...t,D)}#o(n,t){let s=t?b(t):this.decimalMultiplier,o=Y(s),[i="",h=""]=n.split(".");return BigInt(`${i}${h.padEnd(o,"0")}`)}}var yt=Intl.NumberFormat("fullwide",{useGrouping:!1,maximumFractionDigits:20});function tn(n){let s=`${typeof n==="number"?yt.format(n):Pn(n)}`.replaceAll(",",".").split(".");return s.length>1?`${s.slice(0,-1).join("")}.${s.at(-1)}`:s[0]||"0"}function Vn(n){let t=n.split(".")[1]?.length||0;return Math.max(t,D)}function Pn(n){return typeof n==="object"?"getValue"in n?n.getValue("string"):n.value:n}var sn=new Map;class I extends g{address;chain;isGasAsset=!1;isSynthetic=!1;isTradeAsset=!1;symbol;tax;ticker;type;chainId;constructor({value:n,decimal:t,tax:s,chain:o,symbol:i,identifier:h}){super(typeof n==="object"?n:{decimal:t,value:n});let c=fn(h||`${o}.${i}`);this.type=nn(c),this.tax=s,this.chain=c.chain,this.ticker=c.ticker,this.symbol=c.symbol,this.address=c.address,this.isSynthetic=c.isSynthetic,this.isTradeAsset=c.isTradeAsset,this.isGasAsset=c.isGasAsset,this.chainId=hn[c.chain]}toString({includeSynthProtocol:n}={}){return(this.isSynthetic||this.isTradeAsset)&&!n?this.symbol:`${this.chain}.${this.symbol}`}toUrl(){return this.isSynthetic?`${this.chain}.${this.symbol.replace("/",".")}`:this.isTradeAsset?`${this.chain}.${this.symbol.replace("~","..")}`:this.toString()}eqAsset({chain:n,symbol:t}){return this.chain===n&&this.symbol===t}eq(n){return this.eqAsset(n)&&this.eqValue(n)}static fromUrl(n,t=0){let[s,o,i]=n.split(".");if(!(s&&o))throw new F({errorKey:"helpers_invalid_asset_url",info:{urlAsset:n}});let h=s==="THOR"&&i?`${s}.${o}/${i}`:n;return I.from({asset:h,value:t})}static from({value:n=0,fromBaseDecimal:t,asyncTokenLookup:s,...o}){let i=n instanceof g?n.getValue("string"):n,h=gt(o),{identifier:c,decimal:e}=z(h),{chain:A,isSynthetic:C,isTradeAsset:p}=fn(c),_=sn.get(A==="SOL"?c:c.toUpperCase()),S=_?.decimal||e;Z(!(s||S),`Couldn't find static decimal for one or more tokens on ${A} (Using default ${x[A]} decimal as fallback).
1
+ var hs={};as(hs,{wrapWithThrow:()=>_t,wrapMethodWithNetworkSwitch:()=>Qn,warnOnce:()=>Z,validateTNS:()=>mt,validateIdentifier:()=>un,updateDerivationPath:()=>v,switchEVMWalletNetwork:()=>wn,prepareNetworkSwitch:()=>lt,okxMobileEnabled:()=>zn,loadTokenLists:()=>Rn,listWeb3EVMWallets:()=>Un,isWeb3Detected:()=>Kt,isGasAsset:()=>An,isDetected:()=>Et,initializeRPCUrlsWithFallback:()=>st,getWalletFormatFor:()=>ct,getTHORNameCost:()=>Ft,getSymmetricWithdraw:()=>bt,getSymmetricPoolShare:()=>Xn,getMinAmountByChain:()=>St,getMemoForWithdraw:()=>zt,getMemoForUnbond:()=>Xt,getMemoForSaverWithdraw:()=>Jt,getMemoForSaverDeposit:()=>wt,getMemoForRunePoolWithdraw:()=>Zt,getMemoForRunePoolDeposit:()=>Ut,getMemoForNameRegister:()=>Yt,getMemoForNamePreferredAssetRegister:()=>Dt,getMemoForLoan:()=>Wt,getMemoForLeaveAndBond:()=>jt,getMemoForDeposit:()=>Qt,getMAYANameCost:()=>Ht,getLiquiditySlippage:()=>Gt,getGasAsset:()=>Pt,getEstimatedPoolShare:()=>Vt,getETHDefaultWallet:()=>ts,getEIP6963Wallets:()=>ss,getDynamicChainId:()=>kt,getDerivationPathFor:()=>et,getDecimal:()=>Tn,getCommonAssetInfo:()=>z,getChainIdentifier:()=>Bt,getAsymmetricRuneWithdrawAmount:()=>Mt,getAsymmetricRuneShare:()=>Gn,getAsymmetricAssetWithdrawAmount:()=>Lt,getAsymmetricAssetShare:()=>jn,getAssetType:()=>nn,formatBigIntToSafeValue:()=>V,findAssetBy:()=>ft,filterSupportedChains:()=>vt,derivationPathToString:()=>cn,createWallet:()=>os,createPlugin:()=>rt,assetFromString:()=>pn,addEVMWalletNetwork:()=>Jn,addAccountsChangedCallback:()=>ns,WarningCodeEnum:()=>On,WalletOption:()=>Q,UTXOChains:()=>an,TCSupportedChains:()=>En,SwapKitNumber:()=>y,SwapKitError:()=>F,SubstrateChains:()=>qn,StagenetChain:()=>r,SWAP_OUT:()=>ht,SWAP_IN:()=>at,SKConfig:()=>m,RequestClient:()=>L,RPC_URLS:()=>w,QuoteMode:()=>Bn,ProviderName:()=>mn,NetworkDerivationPath:()=>M,NODE_URLS:()=>X,MemoType:()=>Cn,MAYASupportedChains:()=>vn,LedgerErrorCode:()=>In,FeeTypeEnum:()=>yn,FeeOption:()=>Sn,FALLBACK_URLS:()=>Hn,ErrorCode:()=>Nn,EXPLORER_URLS:()=>E,EVMChains:()=>j,DerivationPath:()=>Ct,CosmosChains:()=>rn,CosmosChainPrefixes:()=>Kn,ContractAddress:()=>kn,CommonAssetStrings:()=>At,ChainToHexChainId:()=>en,ChainToExplorerUrl:()=>ot,ChainToChainId:()=>hn,ChainIdToChain:()=>Yn,ChainId:()=>U,Chain:()=>N,BlockTimes:()=>Wn,BigIntArithmetics:()=>g,BaseDecimal:()=>x,AssetValue:()=>I,ApproveMode:()=>$n,AGG_SWAP:()=>it});module.exports=is(hs);var N;((u)=>{u.Arbitrum="ARB";u.Avalanche="AVAX";u.Base="BASE";u.BinanceSmartChain="BSC";u.Bitcoin="BTC";u.BitcoinCash="BCH";u.Cosmos="GAIA";u.Dash="DASH";u.Dogecoin="DOGE";u.Ethereum="ETH";u.Fiat="FIAT";u.Kujira="KUJI";u.Litecoin="LTC";u.Maya="MAYA";u.Near="NEAR";u.Optimism="OP";u.Polkadot="DOT";u.Chainflip="FLIP";u.Polygon="MATIC";u.Radix="XRD";u.Ripple="XRP";u.THORChain="THOR";u.Solana="SOL"})(N||={});var r;((s)=>{s.THORChain="THOR_STAGENET";s.Maya="MAYA_STAGENET"})(r||={});var U;((T)=>{T.Arbitrum="42161";T.ArbitrumHex="0xa4b1";T.Avalanche="43114";T.AvalancheHex="0xa86a";T.Base="8453";T.BaseHex="0x2105";T.BinanceSmartChain="56";T.BinanceSmartChainHex="0x38";T.Bitcoin="bitcoin";T.BitcoinCash="bitcoincash";T.Chainflip="chainflip";T.Cosmos="cosmoshub-4";T.Dash="dash";T.Dogecoin="dogecoin";T.Kujira="kaiyo-1";T.Ethereum="1";T.EthereumHex="0x1";T.Fiat="fiat";T.Litecoin="litecoin";T.Maya="mayachain-mainnet-v1";T.MayaStagenet="mayachain-stagenet-v1";T.Near="near";T.Optimism="10";T.OptimismHex="0xa";T.Polkadot="polkadot";T.Polygon="137";T.PolygonHex="0x89";T.Radix="radix-mainnet";T.Ripple="ripple";T.THORChain="thorchain-1";T.THORChainStagenet="thorchain-stagenet-v2";T.Solana="solana"})(U||={});var Yn={["0xa4b1"]:"ARB",["42161"]:"ARB",["0xa86a"]:"AVAX",["43114"]:"AVAX",["0x2105"]:"BASE",["8453"]:"BASE",["0x38"]:"BSC",["56"]:"BSC",["bitcoincash"]:"BCH",["bitcoin"]:"BTC",["chainflip"]:"FLIP",["cosmoshub-4"]:"GAIA",["dash"]:"DASH",["dogecoin"]:"DOGE",["0x1"]:"ETH",["1"]:"ETH",["fiat"]:"FIAT",["kaiyo-1"]:"KUJI",["litecoin"]:"LTC",["mayachain-stagenet-v1"]:"MAYA",["mayachain-mainnet-v1"]:"MAYA",["near"]:"NEAR",["0xa"]:"OP",["10"]:"OP",["polkadot"]:"DOT",["0x89"]:"MATIC",["137"]:"MATIC",["radix-mainnet"]:"XRD",["ripple"]:"XRP",["solana"]:"SOL",["thorchain-stagenet-v2"]:"THOR",["thorchain-1"]:"THOR"},Dn=Object.keys(N),K=Object.values(N),x={ARB:18,AVAX:18,BASE:18,BCH:8,BSC:18,BTC:8,DASH:8,DOGE:8,DOT:10,ETH:18,FIAT:2,FLIP:18,GAIA:6,KUJI:6,LTC:8,MATIC:18,MAYA:8,NEAR:24,OP:18,SOL:9,THOR:8,XRD:18,XRP:6},Wn={["ARB"]:0.3,["AVAX"]:3,["BASE"]:2,["BSC"]:3,["BTC"]:600,["BCH"]:600,["FLIP"]:5,["GAIA"]:2,["DASH"]:150,["DOGE"]:600,["ETH"]:12.5,["FIAT"]:60,["KUJI"]:2.2,["LTC"]:150,["MAYA"]:6,["NEAR"]:1,["OP"]:2,["DOT"]:6,["MATIC"]:2.1,["XRD"]:5,["XRP"]:5,["SOL"]:0.4,["THOR"]:6},qn=["DOT","FLIP"],j=["ARB","AVAX","BASE","BSC","ETH","OP","MATIC"],an=["BTC","BCH","DASH","DOGE","LTC"],rn=["GAIA","THOR","MAYA","KUJI"],Kn={["GAIA"]:"cosmos",["THOR"]:"thor",["MAYA"]:"maya",["KUJI"]:"kujira"},En=["AVAX","BSC","BTC","BCH","GAIA","DOGE","ETH","LTC","THOR"],vn=["ARB","DASH","ETH","KUJI","MAYA","THOR"],w={["ARB"]:"https://arb1.arbitrum.io/rpc",["AVAX"]:"https://api.avax.network/ext/bc/C/rpc",["BASE"]:"https://base-rpc.publicnode.com",["BSC"]:"https://bsc-dataseed.binance.org",["BCH"]:"https://node-router.thorswap.net/bitcoin-cash",["BTC"]:"https://bitcoin-rpc.publicnode.com",["FLIP"]:"wss://mainnet-archive.chainflip.io",["GAIA"]:"https://node-router.thorswap.net/cosmos/rpc",["DASH"]:"https://dash-rpc.publicnode.com",["DOGE"]:"https://node-router.thorswap.net/dogecoin",["ETH"]:"https://ethereum-rpc.publicnode.com",["FIAT"]:"",["KUJI"]:"https://kujira-rpc.ibs.team",["LTC"]:"https://node-router.thorswap.net/litecoin",["MAYA"]:"https://tendermint.mayachain.info",["NEAR"]:"https://rpc.ankr.com/near",["OP"]:"https://mainnet.optimism.io",["DOT"]:"wss://rpc.polkadot.io",["MATIC"]:"https://polygon-rpc.com",["XRD"]:"https://radix-mainnet.rpc.grove.city/v1/326002fc/core",["XRP"]:"wss://xrpl.ws/",["SOL"]:"https://solana-rpc.publicnode.com",["THOR"]:"https://rpc.thorswap.net",["MAYA_STAGENET"]:"https://stagenet.tendermint.mayachain.info",["THOR_STAGENET"]:"https://stagenet-rpc.ninerealms.com"},X={["THOR"]:"https://thornode.thorswap.net",["MAYA"]:"https://mayanode.mayachain.info",["THOR_STAGENET"]:"https://stagenet-thornode.ninerealms.com",["MAYA_STAGENET"]:"https://stagenet.mayanode.mayachain.info"},Hn={["ARB"]:["https://arb-mainnet.g.alchemy.com/v2/demo","https://arbitrum.blockpi.network/v1/rpc/public"],["AVAX"]:["https://api.avax.network/ext/bc/C/rpc","https://avalanche-c-chain-rpc.publicnode.com"],["BASE"]:["https://base.blockpi.network/v1/rpc/public","https://1rpc.io/base"],["BSC"]:["https://bsc-rpc.gateway.pokt.network","https://bsc-dataseed2.binance.org"],["BTC"]:["https://bitcoin.publicnode.com"],["BCH"]:["https://bch-dataseed.binance.org","https://bch.getblock.io/mainnet"],["FLIP"]:["wss://archive-1.mainnet.chainflip.io","wss://archive-2.mainnet.chainflip.io"],["GAIA"]:["https://cosmos-rpc.quickapi.com","https://cosmos-rpc.publicnode.com"],["DASH"]:["https://dash-rpc.publicnode.com"],["DOGE"]:["https://doge.getblock.io/mainnet","https://dogecoin.publicnode.com"],["ETH"]:["https://eth.llamarpc.com","https://rpc.ankr.com/eth"],["FIAT"]:[],["KUJI"]:["https://kujira-rpc.polkachu.com","https://rpc-kujira.synergynodes.com/"],["LTC"]:["https://ltc.getblock.io/mainnet","https://litecoin.publicnode.com"],["MAYA"]:["https://tendermint.mayachain.info","https://maya-tendermint.publicnode.com"],["MAYA_STAGENET"]:[],["NEAR"]:["https://1rpc.io/near"],["OP"]:["https://optimism.llamarpc.com","https://1rpc.io/op"],["DOT"]:["wss://polkadot-rpc.dwellir.com","wss://polkadot.api.onfinality.io/public-ws"],["MATIC"]:["https://polygon.llamarpc.com","https://rpc.ankr.com/polygon"],["XRD"]:["https://mainnet.radixdlt.com","https://radix-mainnet.rpc.grove.city/v1"],["XRP"]:["wss://s1.ripple.com/","wss://s2.ripple.com/"],["THOR"]:["https://thornode.ninerealms.com",X.THOR],["THOR_STAGENET"]:[],["SOL"]:["https://api.mainnet-beta.solana.com","https://rpc.ankr.com/solana"]},E={["ARB"]:"https://arbiscan.io",["AVAX"]:"https://snowtrace.io",["BASE"]:"https://basescan.org",["BSC"]:"https://bscscan.com",["BTC"]:"https://blockchair.com/bitcoin",["BCH"]:"https://www.blockchair.com/bitcoin-cash",["FLIP"]:"https://explorer.polkascan.io/polkadot",["GAIA"]:"https://www.mintscan.io/cosmos",["DASH"]:"https://blockchair.com/dash",["DOGE"]:"https://blockchair.com/dogecoin",["ETH"]:"https://etherscan.io",["FIAT"]:"",["KUJI"]:"https://finder.kujira.network/kaiyo-1",["LTC"]:"https://blockchair.com/litecoin",["MAYA"]:"https://www.mayascan.org",["NEAR"]:"https://nearblocks.io",["OP"]:"https://optimistic.etherscan.io",["DOT"]:"https://polkadot.subscan.io",["MATIC"]:"https://polygonscan.com",["XRD"]:"https://dashboard.radixdlt.com",["XRP"]:"https://livenet.xrpl.org/",["THOR"]:"https://runescan.io",["SOL"]:"https://solscan.io"},xn=w,ln=(n)=>{switch(n){case"ARB":case"AVAX":case"BASE":case"BSC":case"ETH":case"OP":case"MATIC":return{id:1,jsonrpc:"2.0",method:"eth_blockNumber",params:[]};case"BTC":case"DOGE":case"BCH":case"DASH":case"LTC":return{id:"test",jsonrpc:"1.0",method:"getblockchaininfo",params:[]};case"GAIA":case"KUJI":case"MAYA":case"THOR":case"MAYA_STAGENET":case"THOR_STAGENET":return{id:1,jsonrpc:"2.0",method:"status",params:{}};case"DOT":return{id:1,jsonrpc:"2.0",method:"system_health",params:[]};case"SOL":return{id:1,jsonrpc:"2.0",method:"getHealth"};case"XRD":return"";default:throw new Error(`Unsupported chain: ${n}`)}};function nt(n){switch(n){case"XRD":return"/status/network-configuration";default:return""}}var Fn=async(n,t)=>{try{let s=t.startsWith("wss")?t.replace("wss","https"):t;return(await fetch(`${s}${nt(n)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(ln(n)),signal:AbortSignal.timeout(3000)})).ok}catch{return!1}},tt=async(n)=>{let t=w[n];if(await Fn(n,t))return t;for(let s of Hn[n])if(await Fn(n,s))return s;return t},st=async(n=[...Object.values(N),...Object.values(r)])=>{let t={};await Promise.all(n.map(async(s)=>{let o=await tt(s);t[s]=o})),xn={...xn,...t}},_n=K.reduce((n,t)=>{let s=Dn.find((o)=>N[o]===t);if(s)n[t]=s;return n},{}),hn=K.reduce((n,t)=>{return n[t]=U[_n[t]],n},{}),en=K.reduce((n,t)=>{let s=`${_n[t]}Hex`;return n[t]=U[s],n},{}),ot=K.reduce((n,t)=>{return n[t]=E[t],n},{});var J=require("ts-pattern");var gn=require("zustand/vanilla");var Bn;((P)=>{P.TC_SUPPORTED_TO_TC_SUPPORTED="TC-TC";P.TC_SUPPORTED_TO_ETH="TC-ERC20";P.TC_SUPPORTED_TO_AVAX="TC-ARC20";P.TC_SUPPORTED_TO_BSC="TC-BEP20";P.ETH_TO_TC_SUPPORTED="ERC20-TC";P.ETH_TO_ETH="ERC20-ERC20";P.ETH_TO_AVAX="ERC20-ARC20";P.ETH_TO_BSC="ERC20-BEP20";P.AVAX_TO_TC_SUPPORTED="ARC20-TC";P.AVAX_TO_ETH="ARC20-ERC20";P.AVAX_TO_AVAX="ARC20-ARC20";P.AVAX_TO_BSC="ARC20-BEP20";P.BSC_TO_TC_SUPPORTED="BEP20-TC";P.BSC_TO_ETH="BEP20-ERC20";P.BSC_TO_AVAX="BEP20-ARC20";P.BSC_TO_BSC="BEP20-BEP20"})(Bn||={});var it=["ERC20-ERC20","ARC20-ARC20","BEP20-BEP20"],at=["ERC20-TC","ERC20-ARC20","ERC20-BEP20","ARC20-TC","ARC20-ERC20","ARC20-BEP20","BEP20-TC","BEP20-ERC20","BEP20-ARC20"],ht=["TC-TC","TC-ERC20","TC-ARC20","TC-BEP20"];function v(n,t){if("index"in t)return[...n.slice(0,n.length-1),t.index];if("change"in t){let[s,o,i,,h]=n;return[s,o,i,t.change,h]}if("account"in t){let[s,o,,i,h]=n;return[s,o,t.account,i,h]}return n}function cn([n,t,s,o,i]){return`m/${n}'/${t}'/${s}'/${o}${typeof i!=="number"?"":`/${i}`}`}function et({chain:n,index:t,addressIndex:s=0,type:o}){if(j.includes(n)){if(o&&["legacy","account"].includes(o))return[44,60,0,t];if(o==="ledgerLive")return[44,60,t,0,s];return v(M[n],{index:t})}if(n==="SOL"){if(o==="account")return[44,501,0,t];return v(M[n],{index:t})}let i=n==="LTC"?2:0;switch(o){case"nativeSegwitMiddleAccount":return[84,i,t,0,s];case"segwit":return[49,i,0,0,t];case"legacy":return[44,i,0,0,t];default:return v(M[n],{index:t})}}function ct(n){let[t,s,o]=n.split("/").map((i)=>Number.parseInt(i,10));switch(s){case 44:return"legacy";case 49:return"p2sh";default:return"bech32"}}var kn;((e)=>{e.ARB="0x0000000000000000000000000000000000000000";e.AVAX="0x0000000000000000000000000000000000000000";e.BASE="0x0000000000000000000000000000000000000000";e.ETH="0x0000000000000000000000000000000000000000";e.BSC="0x0000000000000000000000000000000000000000";e.MATIC="0x0000000000000000000000000000000000001010";e.OP="0x4200000000000000000000000000000000000042"})(kn||={});var M={ARB:[44,60,0,0,0],AVAX:[44,60,0,0,0],BASE:[44,60,0,0,0],BCH:[44,145,0,0,0],BSC:[44,60,0,0,0],BTC:[84,0,0,0,0],DASH:[44,5,0,0,0],DOGE:[44,3,0,0,0],ETH:[44,60,0,0,0],GAIA:[44,118,0,0,0],KUJI:[44,118,0,0,0],LTC:[84,2,0,0,0],MATIC:[44,60,0,0,0],MAYA:[44,931,0,0,0],NEAR:[44,397,0,0,0],OP:[44,60,0,0,0],SOL:[44,501,0,0,0],THOR:[44,931,0,0,0],DOT:[0,0,0,0,0],FIAT:[0,0,0,0,0],FLIP:[0,0,0,0,0],XRD:[0,0,0,0,0],XRP:[44,144,0,0,0]},Ct=Object.keys(M).reduce((n,t)=>{return n[t]=cn(M[t]),n},{});var Nn;((a)=>{a.unknownError="unknownError";a.test_error="test_error";a.providerDetailsError="providerDetailsError";a.blockHeaderNotFound="blockHeaderNotFound";a.blockHashNotFoundAtHeight="blockHashNotFoundAtHeight";a.blockHashNotFoundAtHash="blockHashNotFoundAtHash";a.txHashMissing="txHashMissing";a.assetValueMissingInfo="assetValueMissingInfo";a.invalidAsset="invalidAsset";a.blockIsRequired="blockIsRequired";a.currentBlockHeaderNotFound="currentBlockHeaderNotFound";a.failedToRetrieveBalance="failedToRetrieveBalance";a.failedToRetrieveBlock="failedToRetrieveBlock";a.failedToRetrieveFees="failedToRetrieveFees";a.notImplementedBCH="notImplementedBCH";a.notImplementedDoge="notImplementedDoge";a.noPoolsFound="noPoolsFound";a.noVaultsFound="noVaultsFound";a.noTxFound="noTxFound";a.noInputCoinFound="noInputCoinFound";a.noBlockDataFound="noBlockDataFound";a.multipleCosmosMessages="multipleCosmosMessages";a.heightOrHashNotProvided="heightOrHashNotProvided";a.unknownDenom="unknownDenom";a.invalidBlockHeight="invalidBlockHeight";a.timestampExtrinsicNoArgumentsForBlock="timestampExtrinsicNoArgumentsForBlock";a.timestampExtrinsicNoTimestampForBlock="timestampExtrinsicNoTimestampForBlock";a.noTimestampExtrinsicForHash="noTimestampExtrinsicForHash";a.timestampExtrinsicNoArgumentsForHash="timestampExtrinsicNoArgumentsForHash";a.txMemoUndefined="txMemoUndefined";a.txMemoIncorrect="txMemoIncorrect";a.txTypeNotFound="txTypeNotFound";a.txNoMessage="txNoMessage";a.txNotFound="txNotFound";a.txReceiptNotFound="txReceiptNotFound";a.txParsingError="txParsingError";a.txLogsParsingError="txLogsParsingError";a.blockNotFound="blockNotFound";a.balanceNotFound="balanceNotFound";a.configError="configError";a.synthSwapDisallowed="synthSwapDisallowed";a.providerQuoteTimeout="providerQuoteTimeout";a.noQuoteResponse="noQuoteResponse";a.noPoolAssetsFound="noPoolAssetsFound";a.noThorchainPools="noThorchainPools";a.noMayachainPools="noMayachainPools";a.noThorchainNetworkInfo="noThorchainNetworkInfo";a.invalidAffiliateFee="invalidAffiliateFee";a.invalidBuyAssetAddress="invalidBuyAssetAddress";a.invalidSellAssetAddress="invalidSellAssetAddress";a.invalidSourceAddress="invalidSourceAddress";a.invalidDestinationAddress="invalidDestinationAddress";a.sourceAddressIsSmartContract="sourceAddressIsSmartContract";a.destinationAddressIsSmartContract="destinationAddressIsSmartContract";a.invalidChainId="invalidChainId";a.unsupportedChainId="unsupportedChainId";a.unsupportedEVMChainId="unsupportedEVMChainId";a.unsupportedMethod="unsupportedMethod";a.unsupportedProvider="unsupportedProvider";a.invalidParamsForMethod="invalidParamsForMethod";a.unsupportedAdapter="unsupportedAdapter";a.noWhitelistTokens="noWhitelistTokens";a.failedFetchGasPrice="failedFetchGasPrice";a.failedToCreateDepositChannel="failedToCreateDepositChannel";a.noProviderDetailsFound="noProviderDetailsFound";a.noTokenListsFound="noTokenListsFound";a.tokenNotFound="tokenNotFound";a.tokenPriceNotFound="tokenPriceNotFound";a.tokenPriceFailedToUpdate="tokenPriceFailedToUpdate";a.swapAmountTooSmall="swapAmountTooSmall";a.legsArrayIsEmpty="legsArrayIsEmpty";a.failedToFetchQuoteForLeg="failedToFetchQuoteForLeg";a.noBlockHeaderFound="noBlockHeaderFound";a.failedToSimulateSwap="failedToSimulateSwap";a.addressScreeningFailed="addressScreeningFailed";a.noLiquidtyProvidersFound="noLiquidtyProvidersFound";a.insufficientLiquidity="insufficientLiquidity";a.noSaversFound="noSaversFound";a.noInboundDataFound="noInbounDataFound";a.noInboundAddressesFound="noInboundAddressesFound";a.noInboundAddressFoundForChain="noInboundAddressFoundForChain";a.noLastBlocksFound="noLastBlocksFound";a.noVersionFound="noVersionFound";a.noConstantsFound="noConstantsFound";a.noMimirsFound="noMimirsFound";a.noRoutesFound="noRoutesFound";a.quoteNotFound="quoteNotFound";a.ledgerSignFailed="ledgerSignFailed";a.ledgerWrongPayload="ledgerWrongPayload";a.ledgerFetchSwapFailed="ledgerFetchSwapFailed";a.failedToFetchTx="failedToFetchTx";a.failedBuildTransactionDetails="failedBuildTransactionDetails";a.noLegsForRoute="noLegsForRoute";a.noRouterAddressFound="noRouterAddressFound";a.noAggregatorAddressFound="noAggregatorAddressFound";a.noContractInstanceFound="noContractInstanceFound";a.noContractAddressFound="noContractAddressFound";a.invalidAffiliate="invalidAffiliate";a.thornameAffiliate="thornameAffiliate";a.providerNotfound="No provider found";a.noRecordFound="No Record found";a.slippageTooLow="Slippage too low";a.tradingHalted="tradingHalted";a.noWrappedGasAsset="noWrappedGasAsset";a.aggregatorAddressNotFound="aggregatorAddressNotFound";a.routerAddressNotFound="routerAddressNotFound";a.dummyAddressNotFound="dummyAddressNotFound";a.trackerError="trackerError";a.thorchainPoolUnavailable="thorchainPoolUnavailable";a.noOhlcvDataFound="noOhlcvDataFound";a.noTradingPairs="noTradingPairs";a.noLoanPositionFound="noLoanPositionFound";a.noLendingAvailability="noLendingAvailability";a.lendingRepayTooSmall="lendingRepayTooSmall";a.missingState="missingState";a.ledgerSwapNotFound="ledgerSwapNotFound";a.ledgerSwapNotReadyForTracking="ledgerSwapNotReadyForTracking";a.errorEstimatingGas="errorEstimatingGas";a.apiKeyInvalid="apiKeyInvalid";a.apiKeyFailedToUpdate="apiKeyFailedToUpdate";a.apiKeyExpired="apiKeyExpired";a.unauthorized="unauthorized";a.failedToCreateMemo="failedToCreateMemo";a.radixIncorrectInstructions="radixIncorrectInstructions";a.radixTxMissedParam="radixTxMissedParam";a.radixTxMissedAccount="radixTxMissedAccount";a.radixManifestParseError="radixManifestParseError";a.radixManifestBuildError="radixManifestBuildError";a.invalidAddressForChain="invalidAddressForChain";a.riskyAddress="riskyAddress";a.noRoutesToProcess="noRoutesToProcess";a.sellAssetAmountTooSmall="sellAssetAmountTooSmall";a.missingPrivateKey="missingPrivateKey";a.noMemoPriceProtection="noMemoPriceProtection"})(Nn||={});var On;((s)=>{s.highSlippage="highSlippage";s.highPriceImpact="highPriceImpact"})(On||={});var mn;((f)=>{f.CAVIAR_V1="CAVIAR_V1";f.CAMELOT_V3="CAMELOT_V3";f.CHAINFLIP="CHAINFLIP";f.CHAINFLIP_STREAMING="CHAINFLIP_STREAMING";f.JUPITER="JUPITER";f.MAYACHAIN="MAYACHAIN";f.MAYACHAIN_STREAMING="MAYACHAIN_STREAMING";f.OCISWAP_V1="OCISWAP_V1";f.ONEINCH="ONEINCH";f.OPENOCEAN_V2="OPENOCEAN_V2";f.PANCAKESWAP="PANCAKESWAP";f.PANGOLIN_V1="PANGOLIN_V1";f.SUSHISWAP_V2="SUSHISWAP_V2";f.THORCHAIN="THORCHAIN";f.THORCHAIN_STREAMING="THORCHAIN_STREAMING";f.TRADERJOE_V2="TRADERJOE_V2";f.UNISWAP_V2="UNISWAP_V2";f.UNISWAP_V3="UNISWAP_V3";f.KADO="KADO"})(mn||={});var yn;((e)=>{e.LIQUIDITY="liquidity";e.NETWORK="network";e.INBOUND="inbound";e.OUTBOUND="outbound";e.AFFILIATE="affiliate";e.TAX="tax";e.PRIORITY="priority"})(yn||={});var Sn;((o)=>{o.Average="average";o.Fast="fast";o.Fastest="fastest"})(Sn||={});var $n;((s)=>{s.Approve="approve";s.CheckOnly="checkOnly"})($n||={});var Cn;((p)=>{p.NAME_REGISTER="~";p.BOND="BOND";p.DEPOSIT="+";p.LEAVE="LEAVE";p.UNBOND="UNBOND";p.WITHDRAW="-";p.OPEN_LOAN="$+";p.CLOSE_LOAN="$-";p.RUNEPOOL_DEPOSIT="POOL+";p.RUNEPOOL_WITHDRAW="POOL-"})(Cn||={});var Q;((R)=>{R.BITGET="BITGET";R.BRAVE="BRAVE";R.COINBASE_MOBILE="COINBASE_MOBILE";R.COINBASE_WEB="COINBASE_WEB";R.CTRL="CTRL";R.EIP6963="EIP6963";R.EXODUS="EXODUS";R.KEEPKEY="KEEPKEY";R.KEEPKEY_BEX="KEEPKEY_BEX";R.KEPLR="KEPLR";R.KEYSTORE="KEYSTORE";R.LEAP="LEAP";R.LEDGER="LEDGER";R.LEDGER_LIVE="LEDGER_LIVE";R.METAMASK="METAMASK";R.OKX="OKX";R.OKX_MOBILE="OKX_MOBILE";R.ONEKEY="ONEKEY";R.PHANTOM="PHANTOM";R.POLKADOT_JS="POLKADOT_JS";R.RADIX_WALLET="RADIX_WALLET";R.TREZOR="TREZOR";R.TALISMAN="TALISMAN";R.TRUSTWALLET_WEB="TRUSTWALLET_WEB";R.WALLETCONNECT="WALLETCONNECT"})(Q||={});var In;((o)=>{o[o.NoError=36864]="NoError";o[o.LockedDevice=21781]="LockedDevice";o[o.TC_NotFound=65535]="TC_NotFound"})(In||={});var Tt={apis:{},chains:Object.values(N),wallets:Object.values(Q),explorerUrls:E,nodeUrls:X,rpcUrls:w,apiKeys:{blockchair:"",kado:"",keepKey:"",swapKit:"",walletConnectProjectId:""},envs:{apiUrl:"https://api.swapkit.dev",devApiUrl:"https://dev-api.swapkit.dev",isDev:!1,isStagenet:!1},integrations:{radix:{applicationName:"Swapkit Playground",applicationVersion:"0.0.1",dAppDefinitionAddress:"account_rdx128r289p58222hcvev7frs6kue76pl7pdcnw8725aw658v0zggkh9ws",network:{dashboardBase:"https://dashboard.radixdlt.com",networkId:1,networkName:"mainnet"}}}},$=gn.createStore((n)=>({...Tt,setApiKey:(t,s)=>n((o)=>({apiKeys:{...o.apiKeys,[t]:s}})),setEnv:(t,s)=>n((o)=>({envs:{...o.envs,[t]:s}})),setExplorerUrl:(t,s)=>n((o)=>({explorerUrls:{...o.explorerUrls,[t]:s}})),setNodeUrl:(t,s)=>n((o)=>({nodeUrls:{...o.nodeUrls,[t]:s}})),setRpcUrl:(t,s)=>n((o)=>({rpcUrls:{...o.rpcUrls,[t]:s}})),setIntegrationConfig:(t,s)=>n((o)=>({integrations:{...o.integrations,[t]:s}})),setConfig:(t)=>n((s)=>({apiKeys:{...s.apiKeys,...t.apiKeys},envs:{...s.envs,...t.envs},explorerUrls:{...s.explorerUrls,...t.explorerUrls},integrations:{...s.integrations,...t.integrations},nodeUrls:{...s.nodeUrls,...t.nodeUrls},rpcUrls:{...s.rpcUrls,...t.rpcUrls},chains:s.chains.concat(t.chains||[]),wallets:s.wallets.concat(t.wallets||[])}))})),m={getState:$.getState,get:(n)=>$.getState()[n],set:(n)=>$.getState().setConfig(n),setApiKey:(n,t)=>$.getState().setApiKey(n,t),setEnv:(n,t)=>$.getState().setEnv(n,t),setExplorerUrl:(n,t)=>$.getState().setExplorerUrl(n,t),setNodeUrl:(n,t)=>$.getState().setNodeUrl(n,t),setRpcUrl:(n,t)=>$.getState().setRpcUrl(n,t),setIntegrationConfig:(n,t)=>$.getState().setIntegrationConfig(n,t)};var L={get:l("GET"),post:l("POST"),extend:(n)=>({get:l("GET",n),post:l("POST",n),extend:(t)=>L.extend({...n,...t})})};function l(n,t={}){return async(s,o={})=>{let{searchParams:i,json:h,body:c,headers:e}={...t,...o},{swapKit:A}=m.get("apiKeys"),C=h||s.endsWith(".json"),p=C?JSON.stringify(h):c,_=new URL(s);if(i)_.search=new URLSearchParams(i).toString();let S={...e,...C?{"Content-Type":"application/json"}:{},...A?{"x-api-key":A}:{}};try{let H=await fetch(_.toString(),{...o,method:n,body:p,headers:S});if(!H.ok){let d=await H.text();throw new Error(`${H.statusText}(${H.status}): ${d}`)}let k=await H.json();return o.onSuccess?.(k)||o.responseHandler?.(k)||k}catch(H){return o.onError?.(H)||console.error(H)}}}var At=[`${"MAYA"}.MAYA`,`${"ETH"}.THOR`,`${"ETH"}.vTHOR`,`${"KUJI"}.USK`,`${"ETH"}.FLIP`,`${"XRD"}.XRD`],dn=["ARB","AVAX","BASE","ETH","OP","MATIC"];async function pt({chain:n,to:t}){try{let{result:o}=await L.post(m.get("rpcUrls")[n],{headers:{accept:"*/*","content-type":"application/json","cache-control":"no-cache"},body:JSON.stringify({id:44,jsonrpc:"2.0",method:"eth_call",params:[{to:t.toLowerCase(),data:"0x313ce567"},"latest"]})});return Number.parseInt(BigInt(o||x[n]).toString())}catch(o){return console.error(o),x[n]}}async function Rt(n){if(n==="XRD")return x.XRD;try{let t=n.split("-")[1]?.toLowerCase(),{manager:s}=await L.post(`${m.get("rpcUrls").XRD}/state/resource`,{headers:{Accept:"*/*","Content-Type":"application/json"},body:JSON.stringify({network:"mainnet",resource_address:t})});return s.divisibility.value.divisibility}catch(t){return console.error(t),x["XRD"]}}async function ut({chain:n,symbol:t}){if(j.includes(t))return x[t];let s=t.split("-"),o=s.length===1?void 0:s[s.length-1]?.toLowerCase();return await(o?.startsWith("0x")?pt({chain:n,to:o}):x[n])}function Tn({chain:n,symbol:t}){return J.match(n).with(...j,(s)=>ut({chain:s,symbol:t})).with("XRD",()=>Rt(t)).otherwise(()=>x[n])}function Pt({chain:n}){return I.from({chain:n})}function An({chain:n,symbol:t}){return J.match(n).with(...dn,()=>t==="ETH").with("BSC",()=>t==="BNB").with("MAYA",()=>t==="CACAO").with("GAIA",()=>t==="ATOM").with("THOR",()=>t==="RUNE").with("XRD",()=>`${n}.${t}`===z(n).identifier).otherwise(()=>t===n)}var z=(n)=>{let t=x[n];return J.match(n.toUpperCase()).with(...dn,()=>({identifier:`${n.toUpperCase()}.ETH`,decimal:t})).with("THOR",()=>({identifier:`${n.toUpperCase()}.RUNE`,decimal:t})).with("GAIA",()=>({identifier:`${n.toUpperCase()}.ATOM`,decimal:t})).with("MAYA",()=>({identifier:`${n.toUpperCase()}.CACAO`,decimal:10})).with("BSC",()=>({identifier:`${n.toUpperCase()}.BNB`,decimal:t})).with(...an,"SOL","FLIP","KUJI","XRP","DOT",()=>({identifier:`${n.toUpperCase()}.${n.toUpperCase()}`,decimal:t})).with("XRD","XRD.XRD",()=>({identifier:"XRD.XRD-resource_rdx1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxradxrd",decimal:t})).with("KUJI.USK",()=>({identifier:n.toUpperCase(),decimal:6})).with("ETH.FLIP",()=>({identifier:"ETH.FLIP-0x826180541412D574cf1336d22c0C0a287822678A",decimal:x.ETH})).with("ETH.THOR",()=>({identifier:"ETH.THOR-0xa5f2211b9b8170f694421f2046281775e8468044",decimal:x.ETH})).with("ETH.vTHOR",()=>({identifier:"ETH.vTHOR-0x815c23eca83261b6ec689b60cc4a58b54bc24d8d",decimal:x.ETH})).with("MAYA.MAYA",()=>({identifier:n.toUpperCase(),decimal:4})).otherwise(()=>({identifier:n,decimal:t}))};function nn({chain:n,symbol:t}){if(t.includes("/"))return"Synth";if(t.includes("~"))return"Trade";return J.match(n).with("XRD",()=>t==="XRD"||`${n}.${t}`===z(n).identifier).with("ARB","OP","BASE",()=>t==="ETH").with("GAIA",()=>t==="ATOM").with("BSC",()=>t==="BNB").with("MAYA",()=>t==="CACAO").with("THOR",()=>t==="RUNE").otherwise(()=>t===n)?"Native":n}var pn=(n)=>{let[t,...s]=n.split("."),o=n.includes("/"),i=s.join("."),h=i?.split("-"),c=h?.length?h.length===1?h[0]:h.slice(0,-1).join("-"):void 0;return{chain:t,symbol:i,ticker:c,synth:o}};async function ft(n){let{tokenLists:t}=await import("@swapkit/helpers/tokens");for(let s of Object.values(t))for(let{identifier:o,chain:i,...h}of s.tokens){if("identifier"in n&&o===n.identifier)return o;if("address"in h&&"chain"in n&&i===n.chain&&h.address.toLowerCase()===n.contract.toLowerCase())return o}return}var xt={core_estimated_max_spendable_chain_not_supported:10002,core_extend_error:10003,core_inbound_data_not_found:10004,core_approve_asset_address_or_from_not_found:10005,core_plugin_not_found:10006,core_plugin_swap_not_found:10007,core_approve_asset_target_invalid:10008,core_explorer_unsupported_chain:10009,core_verify_message_not_supported:10010,core_chain_halted:10099,core_wallet_connection_not_found:10100,core_wallet_ctrl_not_installed:10101,core_wallet_evmwallet_not_installed:10102,core_wallet_walletconnect_not_installed:10103,core_wallet_keystore_not_installed:10104,core_wallet_ledger_not_installed:10105,core_wallet_trezor_not_installed:10106,core_wallet_keplr_not_installed:10107,core_wallet_okx_not_installed:10108,core_wallet_keepkey_not_installed:10109,core_wallet_talisman_not_installed:10110,core_wallet_not_keypair_wallet:10111,core_wallet_sign_message_not_supported:10110,core_wallet_connection_failed:10112,core_swap_invalid_params:10200,core_swap_route_not_complete:10201,core_swap_asset_not_recognized:10202,core_swap_contract_not_found:10203,core_swap_route_transaction_not_found:10204,core_swap_contract_not_supported:10205,core_swap_transaction_error:10206,core_swap_quote_mode_not_supported:10207,core_transaction_deposit_error:10301,core_transaction_create_liquidity_base_error:10302,core_transaction_create_liquidity_asset_error:10303,core_transaction_create_liquidity_invalid_params:10304,core_transaction_add_liquidity_invalid_params:10305,core_transaction_add_liquidity_base_address:10306,core_transaction_add_liquidity_base_error:10307,core_transaction_add_liquidity_asset_error:10308,core_transaction_withdraw_error:10309,core_transaction_deposit_to_pool_error:10310,core_transaction_deposit_insufficient_funds_error:10311,core_transaction_deposit_gas_error:10312,core_transaction_invalid_sender_address:10313,core_transaction_deposit_server_error:10314,core_transaction_user_rejected:10315,core_transaction_failed:10316,core_transaction_invalid_recipient_address:10317,wallet_connection_rejected_by_user:20000,wallet_missing_api_key:20001,wallet_chain_not_supported:20002,wallet_missing_params:20003,wallet_provider_not_found:20004,wallet_failed_to_add_or_switch_network:20005,wallet_ledger_connection_error:20101,wallet_ledger_connection_claimed:20102,wallet_ledger_get_address_error:20103,wallet_ledger_device_not_found:20104,wallet_ledger_device_locked:20105,wallet_phantom_not_found:20201,wallet_ctrl_not_found:20301,wallet_ctrl_send_transaction_no_address:20302,wallet_ctrl_contract_address_not_provided:20303,wallet_ctrl_asset_not_defined:20304,wallet_walletconnect_project_id_not_specified:20401,wallet_walletconnect_connection_not_established:20402,wallet_walletconnect_namespace_not_supported:20403,wallet_trezor_failed_to_sign_transaction:20501,wallet_trezor_derivation_path_not_supported:20502,wallet_trezor_failed_to_get_address:20503,wallet_talisman_not_enabled:20601,wallet_talisman_not_found:20602,wallet_polkadot_not_found:20701,wallet_radix_not_found:20801,wallet_radix_transaction_failed:20802,wallet_keepkey_not_found:20900,wallet_keepkey_asset_not_defined:20901,wallet_keepkey_contract_address_not_provided:20902,wallet_keepkey_send_transaction_no_address:20903,wallet_bitkeep_not_found:21001,wallet_exodus_sign_transaction_error:21100,wallet_keystore_invalid_password:29900,wallet_keystore_unsupported_version:29901,wallet_onekey_not_found:21200,wallet_onekey_sign_transaction_error:21201,chainflip_channel_error:30001,chainflip_unknown_asset:30002,chainflip_broker_invalid_params:30100,chainflip_broker_recipient_error:30101,chainflip_broker_register:30102,chainflip_broker_tx_error:30103,chainflip_broker_withdraw:30104,chainflip_broker_fund_only_flip_supported:30105,chainflip_broker_fund_invalid_address:30106,thorchain_chain_halted:40001,thorchain_trading_halted:40002,thorchain_swapin_router_required:40100,thorchain_swapin_vault_required:40101,thorchain_swapin_memo_required:40102,thorchain_swapin_token_required:40103,thorchain_preferred_asset_payout_required:40104,api_v2_invalid_response:50001,api_v2_server_error:50002,api_v2_invalid_method_key_hash:50003,toolbox_cosmos_signer_not_defined:90101,toolbox_cosmos_no_accounts_found:90102,toolbox_cosmos_verify_signature_no_pubkey:90103,toolbox_cosmos_validate_address_prefix_not_found:90104,toolbox_evm_no_abi_fragment:90201,toolbox_evm_no_signer:90202,toolbox_evm_no_signer_address:90203,toolbox_evm_no_from_address:90204,toolbox_evm_no_contract_address:90205,toolbox_evm_no_fee_data:90206,toolbox_evm_no_gas_price:90207,toolbox_evm_no_to_address:90208,toolbox_evm_invalid_gas_asset_address:90209,toolbox_evm_provider_not_eip1193_compatible:90210,toolbox_evm_error_estimating_gas_limit:90211,toolbox_evm_error_sending_transaction:90212,toolbox_radix_signer_not_defined:90301,toolbox_solana_no_signer:90401,toolbox_solana_fee_estimation_failed:90402,toolbox_ripple_rpc_not_configured:90501,toolbox_ripple_signer_not_found:90502,toolbox_ripple_asset_not_supported:90503,toolbox_ripple_broadcast_error:90504,toolbox_ripple_get_balance_error:90505,helpers_invalid_number_different_decimals:99000,helpers_invalid_number_of_years:99001,helpers_invalid_identifier:99002,helpers_invalid_asset_url:99003,helpers_invalid_asset_identifier:99004,helpers_invalid_memo_type:99005,helpers_failed_to_switch_network:99103,helpers_not_found_provider:99200,not_implemented:99999};class F extends Error{static ErrorCode=xt;constructor(n,t){let s=typeof n==="string",o=s?n:n.errorKey,i=`${o}${s?"":`: ${JSON.stringify(n.info)}`}`;if(t)console.error(t);console.error(o,{code:F.ErrorCode[o],message:i});super(o);Object.setPrototypeOf(this,F.prototype)}}function Ft(n){if(n<0)throw new F({errorKey:"helpers_invalid_number_of_years",info:{numberOfYears:n}});return 10+n}function Ht(n){if(n<0)throw new F({errorKey:"helpers_invalid_number_of_years",info:{numberOfYears:n}});return Math.round((10+n*1.0512)*10000000000)/10000000000}function _t(n,t){try{return n()}catch(s){if(t)throw new F(t,s);return console.error(s)}}function Bt(n){switch(n){case"THOR":return`${n}.RUNE`;case"GAIA":return`${n}.ATOM`;case"BSC":return`${n}`;default:return`${n}.${n}`}}var Mn=new Set;function Z(n,t){if(n){if(Mn.has(t))return;Mn.add(t),console.warn(t)}}async function kt(n="thorchain-1"){if(!["thorchain-stagenet-v2","thorchain-1","thorchain-mainnet-v1"].includes(n))return n;try{let t=m.get("rpcUrls")[n!=="thorchain-1"?"THOR_STAGENET":"THOR"];return(await L.get(`${t}/status`)).result.node_info.network}catch(t){return n}}var Ln=require("ts-pattern"),Nt=["camelot","caviar","chainflip","jupiter","mayachain","oneinch","openocean","pancakeswap","pangolin","sushiswap","thorchain","traderjoe","uniswap","uniswapv3"];async function Rn(n){let t=n||Nt,s={};for(let o of t){let i=await Ot(o);s[o]=i}return s}async function Ot(n){let{list:t}=await Ln.match(n).with("camelot",()=>import("./chunk-bz1hfk9z.js")).with("caviar",()=>import("./chunk-8pft100q.js")).with("chainflip",()=>import("./chunk-qr6hqr2f.js")).with("jupiter",()=>import("./chunk-509k5s4y.js")).with("mayachain",()=>import("./chunk-s3f27t8q.js")).with("oneinch",()=>import("./chunk-mjavf655.js")).with("openocean",()=>import("./chunk-a6bjd9ar.js")).with("pancakeswap",()=>import("./chunk-j2emm8jm.js")).with("pangolin",()=>import("./chunk-z80467hm.js")).with("sushiswap",()=>import("./chunk-abwjsvdg.js")).with("thorchain",()=>import("./chunk-zsakm9d3.js")).with("traderjoe",()=>import("./chunk-cs1sv94g.js")).with("uniswap",()=>import("./chunk-rqj9janq.js")).with("uniswapv3",()=>import("./chunk-hqs6577q.js")).exhaustive();return t}var bn=["TERRA",...m.get("chains")];function un(n=""){let t=n.toUpperCase(),[s]=t.split(".");if(bn.includes(s))return!0;let[o]=t.split("/");if(bn.includes(o))return!0;throw new F({errorKey:"helpers_invalid_identifier",info:{message:`Invalid identifier: ${n}. Expected format: <Chain>.<Ticker> or <Chain>.<Ticker>-<ContractAddress>`,identifier:n}})}function mt(n){if(n.length>30)return!1;let t=/^[a-zA-Z0-9+_-]+$/g;return!!n.match(t)}var D=8,b=(n)=>10n**BigInt(n),Y=(n)=>Math.log10(Number.parseFloat(n.toString()));function V({value:n,bigIntDecimal:t=D,decimal:s=D}){if(s===0)return n.toString();let o=n<0n,i=n.toString().substring(o?1:0),h=s-(i.length-1);if(h>0)i="0".repeat(h)+i;let c=i.length-s,e=i.slice(-s);if(Number.parseInt(e[t]||"0")>=5)e=`${e.substring(0,t-1)}${(Number.parseInt(e[t-1]||"0")+1).toString()}`;else e=e.substring(0,t);return`${o?"-":""}${i.slice(0,c)}.${e}`.replace(/\.?0*$/,"")}class g{decimalMultiplier=10n**8n;bigIntValue=0n;decimal;static fromBigInt(n,t){return new g({decimal:t,value:V({value:n,bigIntDecimal:t,decimal:t})})}static shiftDecimals({value:n,from:t,to:s}){return g.fromBigInt(n.getBaseValue("bigint")*b(s)/b(t),s)}constructor(n){let t=Pn(n),s=typeof n==="object";this.decimal=s?n.decimal:void 0,this.decimalMultiplier=s&&"decimalMultiplier"in n?n.decimalMultiplier:b(Math.max(Vn(tn(t)),this.decimal||0)),this.#i(t)}set(n){return new this.constructor({decimal:this.decimal,value:n,identifier:this.toString({includeSynthProtocol:!0})})}add(...n){return this.#t("add",...n)}sub(...n){return this.#t("sub",...n)}mul(...n){return this.#t("mul",...n)}div(...n){return this.#t("div",...n)}gt(n){return this.#n("gt",n)}gte(n){return this.#n("gte",n)}lt(n){return this.#n("lt",n)}lte(n){return this.#n("lte",n)}eqValue(n){return this.#n("eqValue",n)}getValue(n,t){let s=this.formatBigIntToSafeValue(this.bigIntValue,t||this.decimal||Y(this.decimalMultiplier));switch(n){case"number":return Number(s);case"string":return s;case"bigint":return this.bigIntValue*10n**BigInt(this.decimal||8n)/this.decimalMultiplier;default:return s}}getBaseValue(n,t){let s=this.decimalMultiplier/b(t||this.decimal||x.THOR),o=this.bigIntValue/s;switch(n){case"number":return Number(o);case"string":return o.toString();case"bigint":return o;default:return o}}getBigIntValue(n,t){if(!t&&typeof n==="object")return n.bigIntValue;let s=Pn(n),o=tn(s);if(o==="0"||o==="undefined")return 0n;return this.#o(o,t)}toSignificant(n=6){let[t,s]=this.getValue("string").split("."),o=t||"",i=s||"";if((Number.parseInt(o)?o.length+i.length:i.length)<=n)return this.getValue("string");if(o.length>=n)return o.slice(0,n).padEnd(o.length,"0");if(Number.parseInt(o))return`${o}.${i.slice(0,n-o.length)}`.padEnd(n-o.length,"0");let c=Number.parseInt(i),e=`${c}`.slice(0,n);return`0.${e.padStart(i.length-`${c}`.length+e.length,"0")}`}toFixed(n=6){let[t,s]=this.getValue("string").split("."),o=t||"",i=s||"";if(Number.parseInt(o))return`${o}.${i.slice(0,n)}`.padEnd(n,"0");let h=Number.parseInt(i),c=`${h}`.slice(0,n);return`0.${c.padStart(i.length-`${h}`.length+c.length,"0")}`}toAbbreviation(n=2){let t=this.getValue("number"),s=["","K","M","B","T","Q","Qi","S"],o=Math.floor(Math.log10(Math.abs(t))/3),i=s[o];if(!i)return this.getValue("string");let h=10**(o*3);return`${(t/h).toFixed(n)}${i}`}toCurrency(n="$",{currencyPosition:t="start",decimal:s=2,decimalSeparator:o=".",thousandSeparator:i=","}={}){let h=this.getValue("number"),[c="",e=""]=h.toFixed(6).split("."),A=c.replace(/\B(?=(\d{3})+(?!\d))/g,i),C=c||e?c==="0"?`${Number.parseFloat(`0.${e}`)}`.replace(".",o):`${A}${Number.parseInt(e)?`${o}${e.slice(0,s)}`:""}`:"0.00";return`${t==="start"?n:""}${C}${t==="end"?n:""}`}formatBigIntToSafeValue(n,t){let s=t||this.decimal||D,o=Math.max(s,Y(this.decimalMultiplier)),i=n<0n,h=n.toString().substring(i?1:0),c=o-(h.length-1),e=c>0?"0".repeat(c)+h:h,A=e.length-o,C=e.slice(-o);if(Number.parseInt(C[s]||"0")>=5)C=`${C.substring(0,s-1)}${(Number.parseInt(C[s-1]||"0")+1).toString()}`;else C=C.substring(0,s);return`${i?"-":""}${e.slice(0,A)}.${C}`.replace(/\.?0*$/,"")}#t(n,...t){let s=this.#s(this,...t),o=Math.max(s,Y(this.decimalMultiplier)),i=b(o),h=t.reduce((e,A)=>{let C=this.getBigIntValue(A,o);switch(n){case"add":return e+C;case"sub":return e-C;case"mul":return e*C/i;case"div":{if(C===0n)throw new RangeError("Division by zero");return e*i/C}default:return e}},this.bigIntValue*i/this.decimalMultiplier),c=V({bigIntDecimal:o,decimal:o,value:h});return new this.constructor({decimalMultiplier:b(o),decimal:this.decimal,value:c,identifier:this.toString()})}#n(n,...t){let s=this.#s(this,...t),o=this.getBigIntValue(t[0]||"0",s),i=this.getBigIntValue(this,s);switch(n){case"gt":return i>o;case"gte":return i>=o;case"lt":return i<o;case"lte":return i<=o;case"eqValue":return i===o;default:return!1}}#i(n){let t=tn(n)||"0";this.bigIntValue=this.#o(t)}#s(...n){let t=n.map((s)=>{return typeof s==="object"?s.decimal||Y(s.decimalMultiplier):Vn(tn(s))}).filter(Boolean);return Math.max(...t,D)}#o(n,t){let s=t?b(t):this.decimalMultiplier,o=Y(s),[i="",h=""]=n.split(".");return BigInt(`${i}${h.padEnd(o,"0")}`)}}var yt=Intl.NumberFormat("fullwide",{useGrouping:!1,maximumFractionDigits:20});function tn(n){let s=`${typeof n==="number"?yt.format(n):Pn(n)}`.replaceAll(",",".").split(".");return s.length>1?`${s.slice(0,-1).join("")}.${s.at(-1)}`:s[0]||"0"}function Vn(n){let t=n.split(".")[1]?.length||0;return Math.max(t,D)}function Pn(n){return typeof n==="object"?"getValue"in n?n.getValue("string"):n.value:n}var sn=new Map;class I extends g{address;chain;isGasAsset=!1;isSynthetic=!1;isTradeAsset=!1;symbol;tax;ticker;type;chainId;constructor({value:n,decimal:t,tax:s,chain:o,symbol:i,identifier:h}){super(typeof n==="object"?n:{decimal:t,value:n});let c=fn(h||`${o}.${i}`);this.type=nn(c),this.tax=s,this.chain=c.chain,this.ticker=c.ticker,this.symbol=c.symbol,this.address=c.address,this.isSynthetic=c.isSynthetic,this.isTradeAsset=c.isTradeAsset,this.isGasAsset=c.isGasAsset,this.chainId=hn[c.chain]}toString({includeSynthProtocol:n}={}){return(this.isSynthetic||this.isTradeAsset)&&!n?this.symbol:`${this.chain}.${this.symbol}`}toUrl(){return this.isSynthetic?`${this.chain}.${this.symbol.replace("/",".")}`:this.isTradeAsset?`${this.chain}.${this.symbol.replace("~","..")}`:this.toString()}eqAsset({chain:n,symbol:t}){return this.chain===n&&this.symbol===t}eq(n){return this.eqAsset(n)&&this.eqValue(n)}static fromUrl(n,t=0){let[s,o,i]=n.split(".");if(!(s&&o))throw new F({errorKey:"helpers_invalid_asset_url",info:{urlAsset:n}});let h=s==="THOR"&&i?`${s}.${o}/${i}`:n;return I.from({asset:h,value:t})}static from({value:n=0,fromBaseDecimal:t,asyncTokenLookup:s,...o}){let i=n instanceof g?n.getValue("string"):n,h=gt(o),{identifier:c,decimal:e}=z(h),{chain:A,isSynthetic:C,isTradeAsset:p}=fn(c),_=sn.get(A==="SOL"?c:c.toUpperCase()),S=_?.decimal||e;Z(!(s||S),`Couldn't find static decimal for one or more tokens on ${A} (Using default ${x[A]} decimal as fallback).
2
2
  This can result in incorrect calculations and mess with amount sent on transactions.
3
3
  You can load static assets by installing @swapkit/tokens package and calling AssetValue.loadStaticAssets()
4
4
  or by passing asyncTokenLookup: true to the from() function, which will make it async and return a promise.`);let{decimal:H,identifier:k,tax:d}=_||{decimal:S||x[A],identifier:c},P=C||p,G=t?on(BigInt(i),t):on(i,H);return s?$t(k,t?G:i):P?It(k,G):new I({tax:d,decimal:H,identifier:k,value:G})}static async loadStaticAssets(n){let t=await Rn(n);for(let{tokens:s}of Object.values(t))for(let{identifier:o,chain:i,...h}of s){let c=i==="SOL"?o:o.toUpperCase(),e="decimals"in h?h.decimals:x[i];sn.set(c,{identifier:o,decimal:e})}return!0}}function St(n){let t=I.from({chain:n});switch(n){case"BTC":case"LTC":case"BCH":case"DASH":return t.set(0.00010001);case"DOGE":return t.set(1.00000001);case"AVAX":case"ETH":case"ARB":case"BSC":return t.set(0.00000001);case"THOR":case"MAYA":return t.set(0);case"GAIA":case"KUJI":return t.set(0.000001);default:return t.set(0.00000001)}}async function $t(n,t=0){un(n);let o=n.includes("SOL.")?n:n.toUpperCase(),i=sn.get(o),h=i?.decimal||await Tn(fn(n));if(!i)sn.set(o,{identifier:n,decimal:h});return new I({decimal:h,value:on(t,h),identifier:n})}function It(n,t=0){let s=n.includes(".")?n.split(".")?.[0]?.toUpperCase():void 0,o=s?["MAYA","THOR"].includes(s):!1,i=n.slice(0,14).includes("~")?"~":"/",[h,c]=o?n.split(".").slice(1).join().split(i):n.split(i);if(!(h&&c))throw new F({errorKey:"helpers_invalid_asset_identifier",info:{identifier:n}});return new I({decimal:8,value:on(t,8),identifier:`${s||"THOR"}.${h}${i}${c}`})}function on(n,t){return typeof n==="bigint"?V({value:n,bigIntDecimal:t,decimal:t}):n}function gt(n){if("chain"in n)return n.chain;let{chain:t,symbol:s}=pn(n.asset);return nn({chain:t,symbol:s})==="Native"?t:n.asset}function fn(n){let t=n.slice(0,14),s=n.split("."),o=s[0]?.toUpperCase(),i=["THOR","MAYA"].includes(o),h=t.includes("/"),c=t.includes("~"),e=h||c,A=c?"~":"/",[C,p=""]=i?s.slice(1).join().split(A):n.split(A);if(e&&!(C&&p))throw new F({errorKey:"helpers_invalid_asset_identifier",info:{identifier:n}});let[_,...S]=(n.includes(".")&&!e?n:`${o}.${p}`).split("."),H=e?p:S.join("."),{address:k,ticker:d}=dt({symbol:H,chain:_}),P=(e?`${C}${A}`:"")+(k?`${d}-${k??""}`:H);return{address:k,chain:_,isSynthOrTrade:e,isSynthetic:h,isTradeAsset:c,ticker:d,symbol:P,isGasAsset:An({chain:_,symbol:H})}}function dt({symbol:n,chain:t}){let s=n.split("-"),o=s.length===1?void 0:s[s.length-1],i=t==="SOL"?o:o?.toLowerCase(),h=s.length===1?s[0]:s.slice(0,-1).join("-");return{address:i,ticker:h}}class y extends g{eq(n){return this.eqValue(n)}static fromBigInt(n,t){return new y({decimal:t,value:V({value:n,bigIntDecimal:t,decimal:t})})}}function Gn({liquidityUnits:n,poolUnits:t,runeDepth:s}){let o=O(n),i=O(t),h=O(s),c=o.mul(h),e=i.mul(i).mul(2),A=i.mul(o).mul(2),C=o.mul(o),p=i.mul(i).mul(i);return c.mul(e.sub(A).add(C)).div(p)}function jn({liquidityUnits:n,poolUnits:t,assetDepth:s}){let o=O(n),i=O(t),h=O(s),c=o.mul(h),e=i.mul(i).mul(2),A=i.mul(o).mul(2),C=o.mul(o),p=c.mul(e.sub(A).add(C)),_=i.mul(i).mul(i);return p.div(_)}function Mt({percent:n,runeDepth:t,liquidityUnits:s,poolUnits:o}){return Gn({runeDepth:t,liquidityUnits:s,poolUnits:o}).mul(n)}function Lt({percent:n,assetDepth:t,liquidityUnits:s,poolUnits:o}){return jn({assetDepth:t,liquidityUnits:s,poolUnits:o}).mul(n)}function O(n){return y.fromBigInt(BigInt(n),x.THOR)}function Xn({liquidityUnits:n,poolUnits:t,runeDepth:s,assetDepth:o}){return{assetAmount:O(o).mul(n).div(t),runeAmount:O(s).mul(n).div(t)}}function bt({liquidityUnits:n,poolUnits:t,runeDepth:s,assetDepth:o,percent:i}){return Object.fromEntries(Object.entries(Xn({liquidityUnits:n,poolUnits:t,runeDepth:s,assetDepth:o})).map(([h,c])=>[h,c.mul(i)]))}function Vt({runeDepth:n,poolUnits:t,assetDepth:s,liquidityUnits:o,runeAmount:i,assetAmount:h}){let c=new y({value:n,decimal:8}),e=new y({value:s,decimal:8}),A=new y({value:t,decimal:8}),C=new y({value:i,decimal:8}),p=new y({value:h,decimal:8}),_=C.mul(e),S=p.mul(c),H=C.mul(p),k=c.mul(e),d=A.mul(_.add(S.add(H.mul(2)))),P=_.add(S.add(k.mul(2))),G=d.div(P),q=O(o).add(G);if(G.getBaseValue("number")===0)return q.div(A).getBaseValue("number");let f=A.add(q);return q.div(f).getBaseValue("number")}function Gt({runeAmount:n,assetAmount:t,runeDepth:s,assetDepth:o}){if(n==="0"||t==="0"||s==="0"||o==="0")return 0;let i=O(s),h=O(o),c=O(t),e=O(n),A=c.mul(i).sub(h.mul(e)),C=h.mul(e).add(i.mul(h));return Math.abs(A.div(C).getBaseValue("number"))}function jt({type:n,address:t}){return`${n}:${t}`}function Xt({address:n,unbondAmount:t}){return`${"UNBOND"}:${n}:${t}`}function Ut(n){return W("POOL+",n)}function wt({chain:n,symbol:t,...s}){return W(`${"+"}:${n}/${t}`,s)}function Qt({chain:n,symbol:t,address:s,...o}){let i=qt({chain:n,symbol:t}),h=s?`:${s}:`:":";return W(`${"+"}:${i}${h}`,o)}function Jt({chain:n,symbol:t,basisPoints:s}){return`${"-"}:${n}/${t}:${s}`}function zt({chain:n,symbol:t,ticker:s,basisPoints:o,targetAsset:i}){let h=n==="ETH"&&s!=="ETH"?`${s}-${t.slice(-3)}`:t,c=i?`:${i}`:"";return`${"-"}:${n}.${h}:${o}${c}`}function Zt({basisPoints:n,...t}){return W(`${"POOL-"}:${n}`,t)}function Yt({name:n,chain:t,address:s,owner:o}){let i=`${"~"}:${n}:${t}:${s}`,h=o?`:${o}`:"";return`${i}${h}`}function Dt({name:n,chain:t,asset:s,payout:o,owner:i}){return`${"~"}:${n}:${t}:${o}:${i}:${s}`}function Wt(n,{asset:t,address:s,minAmount:o,...i}){let h=`${n}:${t}:${s}`,c=o?`:${o}`:"";return W(`${h}${c}`,i)}function W(n,{affiliateAddress:t,affiliateBasisPoints:s}={}){let o=`${n}${t?`:${t}:${s||0}`:""}`;return o.endsWith(":")?o.slice(0,-1):o}function qt({chain:n,symbol:t}){switch(n){case"BTC":case"DOGE":case"LTC":return n.slice(0,1).toLowerCase();case"BCH":return"c";default:return`${n}.${t}`}}function rt({name:n,properties:t,methods:s}){function o(i){return{...s(i),...t}}return{[n]:o}}function Kt(){return typeof window.ethereum!=="undefined"}function Et(n){return Un().includes(n)}function Un(){let n=window?.ethereum&&!window.ethereum?.isBraveWallet,t=window?.xfi||window?.ethereum?.__XDEFI,s=window?.ethereum?.isBraveWallet,o=window?.ethereum?.isTrust||window?.trustwallet,i=window?.ethereum?.overrideIsMetaMask&&window?.ethereum?.selectedProvider?.isCoinbaseWallet||window?.coinbaseWalletExtension,h=window?.bitkeep?.ethereum,c=window?.$onekey?.ethereum,e=[];if(n)e.push("METAMASK");if(t)e.push("CTRL");if(s)e.push("BRAVE");if(o)e.push("TRUSTWALLET_WEB");if(i)e.push("COINBASE_WEB");if(zn())e.push("OKX_MOBILE");if(h)e.push("BITGET");if(c)e.push("ONEKEY");return e}async function wn(n,t,s){try{await Zn({provider:n,method:"wallet_switchEthereumChain",params:[{chainId:en[t]}]})}catch(o){if(!s)throw new Error("Failed to switch network, networkParams not provided");await Jn(n,s)}}function vt({chains:n,supportedChains:t,walletType:s}){let o=n.filter((h)=>t.includes(h));if(o.length===0)throw new F("wallet_chain_not_supported",{wallet:s,chain:n.join(", ")});let i=n.filter((h)=>!t.includes(h));return Z(i.length>0,`${s} wallet does not support the following chains: ${i.join(", ")}. These chains will be ignored.`),o}function Qn(n,t,s){}function lt({toolbox:n,chain:t,provider:s=window.ethereum,methodNames:o=[]}){let h=[...o,"approve","approvedAmount","call","sendTransaction","transfer","isApproved","approvedAmount","EIP1193SendTransaction","getFeeData","broadcastTransaction","estimateCall","estimateGasLimit","estimateGasPrices","createContractTxObject"].reduce((c,e)=>{if(!n[e])return c;let A=n[e];if(typeof A!=="function")return c;let C=Qn(A,s,t);return{...c,[e]:C}},{});return{...n,...h}}function Jn(n,t){return Zn({provider:n,method:"wallet_addEthereumChain",params:[t]})}function ns(n){window.ethereum?.on("accountsChanged",()=>n()),window.xfi?.ethereum.on("accountsChanged",()=>n())}function ts(){let{isTrust:n,isBraveWallet:t,__XDEFI:s,overrideIsMetaMask:o,selectedProvider:i}=window?.ethereum||{};if(n)return"TRUSTWALLET_WEB";if(t)return"BRAVE";if(o&&i?.isCoinbaseWallet)return"COINBASE_WEB";if(s)"CTRL";if(window?.$onekey?.ethereum)return"ONEKEY";return"METAMASK"}function ss(){let n=[];function t(o){if(n.map((i)=>i.info.uuid).includes(o.detail.info.uuid))return;n.push(o.detail)}window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new Event("eip6963:requestProvider"));function s(){window.removeEventListener("eip6963:announceProvider",t)}return{providers:n,removeEIP6963EventListener:s}}function zn(){let n=navigator.userAgent,t=/iphone|ipad|ipod|ios/i.test(n),s=/android|XiaoMi|MiuiBrowser/i.test(n),o=t||s,i=/OKApp/i.test(n);return o&&i}function os({connect:n,name:t,supportedChains:s,walletType:o}){function i(h){return n({...h,walletType:o,supportedChains:s})}return{[t]:{supportedChains:s,connectWallet:i}}}function Zn({provider:n,params:t,method:s}){if(!n?.send)throw new F("helpers_not_found_provider");let o=t?Array.isArray(t)?t:[t]:[];return n.send(s,o)}