@orbs-network/spot-ui 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/spot-ui.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var it = Object.defineProperty;
2
2
  var ot = (e, n, r) => n in e ? it(e, n, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[n] = r;
3
3
  var Fe = (e, n, r) => ot(e, typeof n != "symbol" ? n + "" : n, r);
4
- const dt = { chainName: "ftm", chainId: 250, twapVersion: 4, twapAddress: "0xd3B290FEB04E353d1821bc0a12397FdEa9a846C0", lensAddress: "0x0221EfDF1Fd3212AF87F23cceB7693a65fAF1d7f", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SpookySwap", partner: "Orbs:TWAP:SpookySwap", exchangeAddress: "0xdF7CCd5fc7077E9de5f27a7b7bfDC837c82f8496", exchangeType: "ExchangeV2", pathfinderKey: "" }, ct = { chainName: "sonic", chainId: 146, twapVersion: 4, twapAddress: "0x8963992816b4EafE5a22b7DB2A99513c18be9afA", lensAddress: "0x67e631F71232D63AcA98a2D5E9B2Bce5FCc39d5D", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SpookySwapSonic", partner: "Orbs:TWAP:SpookySwap", exchangeAddress: "0x6699bE3aF75e5c1B807b1031dBde6dA9A67739F3", exchangeType: "ExchangeV2", pathfinderKey: "" }, pt = { chainName: "poly", chainId: 137, twapVersion: 4, twapAddress: "0x688C027B0f7FaCeFcBa73e472900d28c12C5bDF4", lensAddress: "0xe0D4E736fc76af7C256ae7652c8c1e850bfb7849", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "QuickSwap", partner: "Orbs:TWAP:QuickSwap", exchangeAddress: "0x8FCc245209bE85C49D738D0CE5613F74E5d91E86", exchangeType: "ParaswapExchange", pathfinderKey: "QuickSwap,QuickSwapV3" }, ut = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "QuickSwap", partner: "Orbs:TWAP:QuickSwap", exchangeAddress: "0xb7a3d74895bfd3aff6780525e36d79fcf26a895f", exchangeType: "ExchangeV2", pathfinderKey: "" }, lt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Chronos", partner: "Orbs:TWAP:Chronos", exchangeAddress: "0x0178e50adAF3b925F27aC518FCd952CE7F9A3B36", exchangeType: "ExchangeV2", pathfinderKey: "Chronos Stable,Chronos Volatile,Chronos V3" }, ft = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "BaseSwap", partner: "Orbs:TWAP:BaseSwap", exchangeAddress: "0xAca3155c17530C4aA96746F226fcC049658490d2", exchangeType: "ExchangeV2", pathfinderKey: "BaseSwap,BaseSwapX" }, mt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Arbidex", partner: "Orbs:TWAP:Arbidex", exchangeAddress: "0x49d21052f4695d16C7cce6eF561301Aa4d840420", exchangeType: "ExchangeV2", pathfinderKey: "Arbidex Classic,Arbidex Quantum" }, yt = { chainName: "bsc", chainId: 56, twapVersion: 4, twapAddress: "0xa6F7444D2b92Aa9F94a2165c77aAF2B671e63994", lensAddress: "0xEdB0c077fa87Fb21d050c619FF426798f8Fc1264", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Thena", partner: "Orbs:TWAP:Thena", exchangeAddress: "0x2B2fABDbfa4a15da0d351F947C14F4520db0bDc1", exchangeType: "ExchangeV2", pathfinderKey: "43,47" }, ht = { chainName: "bsc", chainId: 56, twapVersion: 4, twapAddress: "0xa6F7444D2b92Aa9F94a2165c77aAF2B671e63994", lensAddress: "0xEdB0c077fa87Fb21d050c619FF426798f8Fc1264", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0x1A2bb6B75D58b740d88413ef4840D6fa3F637940", exchangeType: "P2Exchange", pathfinderKey: "" }, At = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0xb37cB9A058c03081Ae6EF934313588cD53d408e7", exchangeType: "P2Exchange", pathfinderKey: "" }, bt = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0xb37cB9A058c03081Ae6EF934313588cD53d408e7", exchangeType: "P2Exchange", pathfinderKey: "" }, gt = { chainName: "linea", chainId: 59144, twapVersion: 4, twapAddress: "0x48423e62acbfEF7779b5b4a5E7d6Fbd39E623d78", lensAddress: "0xe84CaEc86eCF3f0AB4267dC6130D9a5510e73DFb", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 100, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0xb37cB9A058c03081Ae6EF934313588cD53d408e7", exchangeType: "P2Exchange", pathfinderKey: "" }, Et = { chainName: "linea", chainId: 59144, twapVersion: 4, twapAddress: "0x48423e62acbfEF7779b5b4a5E7d6Fbd39E623d78", lensAddress: "0xe84CaEc86eCF3f0AB4267dC6130D9a5510e73DFb", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 100, name: "Lynex", partner: "Orbs:TWAP:Lynex", exchangeAddress: "0x04C06C96d7D19977156016DD408B5992af0570a2", exchangeType: "ExchangeV2", pathfinderKey: "19,18" }, xt = { chainName: "zkSync", chainId: 324, twapVersion: 4, twapAddress: "0xc32cAA0F7AD9ED88e22Fc214fc24cCb5C0595D68", lensAddress: "0x7daE5af3011c3bE9A5283F0368a3fdD757fc74F9", takers: ["0xB924C20c400575D2B73Baa16CF0Fa0EAA720aFBC", "0xBE452F03Be354CAC397C3F0c8397672067D44531"], bidDelaySeconds: 60, minChunkSizeUsd: 100, name: "SyncSwap", partner: "Orbs:TWAP:SyncSwap", exchangeAddress: "0x422623a40c42f026Ed33A9910078Aa843FD66e27", exchangeType: "ExchangeV2", pathfinderKey: "2,3" }, Tt = { chainName: "poly", chainId: 137, twapVersion: 4, twapAddress: "0x688C027B0f7FaCeFcBa73e472900d28c12C5bDF4", lensAddress: "0xe0D4E736fc76af7C256ae7652c8c1e850bfb7849", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "Retro", partner: "Orbs:TWAP:Retro", exchangeAddress: "0xb7A3d74895bFD3Aff6780525e36D79FCf26a895F", exchangeType: "ExchangeV2", pathfinderKey: "retro,retro-v3" }, wt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "SushiArb", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x04eB53119079FA779492720D1EfeAEBF0aF2e5ad", exchangeType: "ExchangeV2", pathfinderKey: "" }, Ft = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "SushiBase", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x04eB53119079FA779492720D1EfeAEBF0aF2e5ad", exchangeType: "ExchangeV2", pathfinderKey: "" }, Ct = { chainName: "eth", chainId: 1, twapVersion: 4, twapAddress: "0xb1ed8BCAD1EaC8a1DF0764700472391800D12946", lensAddress: "0x0967f448c4d4dbd14c355E635AE9CbF68cc44A60", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 200, name: "SushiEth", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x04eB53119079FA779492720D1EfeAEBF0aF2e5ad", exchangeType: "ExchangeV2", pathfinderKey: "" }, Dt = { chainName: "katana", chainId: 747474, twapVersion: 4, twapAddress: "0xf2d96E7BE676153d202e1453804E2749923C7c5b", lensAddress: "0x1579EED0527781B1A748043AA1f59a3858Ace4a7", takers: ["0xF74437A3Fc45a518640828E5D6A3E8c9A9BbDC3a", "0x07A6C715063e94c0D95e809efefFCbF4EBEdfD55"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "SushiKatana", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x92209481507e6B2d14C9b5b70Ed287024177220E", exchangeType: "ExchangeV2", pathfinderKey: "" }, St = { chainName: "sei", chainId: 1329, twapVersion: 4, twapAddress: "0xde737dB24548F8d41A4a3Ca2Bac8aaaDc4DBA099", lensAddress: "0xa1376f2Bb80D3cF6c2D8ebEf34b3d122e9af4020", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "DragonSwap", partner: "Orbs:TWAP:DragonSwap", exchangeAddress: "0xf2F933FafbDB97062CfA3c447ff373e76A90Efd6", exchangeType: "ExchangeV2", pathfinderKey: "" }, kt = { chainName: "poly", chainId: 137, twapVersion: 4, twapAddress: "0x688C027B0f7FaCeFcBa73e472900d28c12C5bDF4", lensAddress: "0xe0D4E736fc76af7C256ae7652c8c1e850bfb7849", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "TeaFi", partner: "Orbs:TWAP:TeaFi", exchangeAddress: "0xE9D3b4Cf5B0CC392e78C1a4DD9885D449EEF9793", exchangeType: "ParaswapExchange", pathfinderKey: "AaveV2,AaveV3,AaveV3Stata,AngleStakedStableEUR,AngleStakedStableUSD,ApeSwap,AugustusRFQ,BalancerV2,ComethSwap,CurveV1,CurveV1Factory,CurveV1StableNg,CurveV2,Dfyn,DODOV2,Dystopia,Hashflow,IronV2,JarvisV6,KyberDmm,QuickSwap,QuickSwapV3,Retro,SushiSwap,SushiSwapV3,SwaapV2,Synapse,UniswapV2,UniswapV3,WaultFinance,Wmatic,WooFiV2,wUSDM" }, Bt = { chainName: "flare", chainId: 14, twapVersion: 4, twapAddress: "0x9D70B0b90915Bb8b9bdAC7e6a7e6435bBF1feC4D", lensAddress: "0xf2d96E7BE676153d202e1453804E2749923C7c5b", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SparkDEX", partner: "Orbs:TWAP:SparkDEX", exchangeAddress: "0xe59c53C76bB7EEc01401A18fA8215B94bC65Bf56", exchangeType: "P2Exchange" }, _t = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Ramses", partner: "Orbs:TWAP:Ramses", exchangeAddress: "0x8FCc245209bE85C49D738D0CE5613F74E5d91E86", exchangeType: "ParaswapExchange", pathfinderKey: "" }, Ot = { chainName: "sonic", chainId: 146, twapVersion: 4, twapAddress: "0x8963992816b4EafE5a22b7DB2A99513c18be9afA", lensAddress: "0x67e631F71232D63AcA98a2D5E9B2Bce5FCc39d5D", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SwapX", partner: "Orbs:TWAP:SwapX", exchangeAddress: "0xDA902994b7F7a1ecDd8De02E4a17dbFF2E6F67b7", exchangeType: "ExchangeV2", pathfinderKey: "" }, vt = { chainName: "cronos-zkevm", chainId: 388, twapVersion: 4, twapAddress: "0xc32cAA0F7AD9ED88e22Fc214fc24cCb5C0595D68", lensAddress: "0x7daE5af3011c3bE9A5283F0368a3fdD757fc74F9", takers: ["0xB924C20c400575D2B73Baa16CF0Fa0EAA720aFBC", "0xBE452F03Be354CAC397C3F0c8397672067D44531"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "H2Finance", partner: "Orbs:TWAP:H2Finance", exchangeAddress: "0x2f1f10dc311722Be609e6B427bF3FBac6e44093B", exchangeType: "ExchangeV2" }, Rt = { chainName: "sonic", chainId: 146, twapVersion: 4, twapAddress: "0x8963992816b4EafE5a22b7DB2A99513c18be9afA", lensAddress: "0x67e631F71232D63AcA98a2D5E9B2Bce5FCc39d5D", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "Shadow", partner: "Orbs:TWAP:Shadow", exchangeAddress: "0x69e3c891450161b7BF27f181eE85E7bAE69E5b07", exchangeType: "ExchangeV2" }, Pt = { chainName: "berachain", chainId: 80094, twapVersion: 4, twapAddress: "0xD13609A8ace04D11Ea2FFE176B69dF77C6d9375E", lensAddress: "0xA0b07F9a11dFb01388149abBdbc5B4f2196600AB", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "Kodiak", partner: "Orbs:TWAP:Kodiak", exchangeAddress: "0x69B7aE1250B8d1309954CaD65b6607ae478Ec6eE", exchangeType: "ExchangeV2" }, It = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "OmniBase", partner: "Orbs:TWAP:OmniBase", exchangeAddress: "0x54435FcFDF3A08150Ed799b6EF472A20a432303F", exchangeType: "ParaswapExchange" }, Nt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "OmniArb", partner: "Orbs:TWAP:OmniArb", exchangeAddress: "0xF0607785424d342Cceb33E708f4579CA97a3b392", exchangeType: "ParaswapExchange" }, Mt = { chainName: "avax", chainId: 43114, twapVersion: 4, twapAddress: "0xf77Ad005aBF7e31f669ce89a6568B2f39Ca92cDe", lensAddress: "0x48466B82Ce1575c5c9eCa168ac1090048dD47fA3", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "BlackholeAvax", partner: "Orbs:TWAP:BlackholeAvax", exchangeAddress: "0xb7A3d74895bFD3Aff6780525e36D79FCf26a895F", exchangeType: "ExchangeV2" }, Ut = { chainName: "bsc", chainId: 56, twapVersion: 4, twapAddress: "0xa6F7444D2b92Aa9F94a2165c77aAF2B671e63994", lensAddress: "0xEdB0c077fa87Fb21d050c619FF426798f8Fc1264", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "NewEraBnb", partner: "Orbs:TWAP:NewEraBnb", exchangeAddress: "0xA22D7Df24d9Ea4D4EF6dC96b2204bd550430eC42", exchangeType: "ExchangeV2" }, _ = {
4
+ const dt = { chainName: "ftm", chainId: 250, twapVersion: 4, twapAddress: "0xd3B290FEB04E353d1821bc0a12397FdEa9a846C0", lensAddress: "0x0221EfDF1Fd3212AF87F23cceB7693a65fAF1d7f", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SpookySwap", partner: "Orbs:TWAP:SpookySwap", exchangeAddress: "0xdF7CCd5fc7077E9de5f27a7b7bfDC837c82f8496", exchangeType: "ExchangeV2", pathfinderKey: "" }, ct = { chainName: "sonic", chainId: 146, twapVersion: 4, twapAddress: "0x8963992816b4EafE5a22b7DB2A99513c18be9afA", lensAddress: "0x67e631F71232D63AcA98a2D5E9B2Bce5FCc39d5D", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SpookySwapSonic", partner: "Orbs:TWAP:SpookySwap", exchangeAddress: "0x6699bE3aF75e5c1B807b1031dBde6dA9A67739F3", exchangeType: "ExchangeV2", pathfinderKey: "" }, pt = { chainName: "poly", chainId: 137, twapVersion: 4, twapAddress: "0x688C027B0f7FaCeFcBa73e472900d28c12C5bDF4", lensAddress: "0xe0D4E736fc76af7C256ae7652c8c1e850bfb7849", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "QuickSwap", partner: "Orbs:TWAP:QuickSwap", exchangeAddress: "0x8FCc245209bE85C49D738D0CE5613F74E5d91E86", exchangeType: "ParaswapExchange", pathfinderKey: "QuickSwap,QuickSwapV3" }, ut = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "QuickSwap", partner: "Orbs:TWAP:QuickSwap", exchangeAddress: "0xb7a3d74895bfd3aff6780525e36d79fcf26a895f", exchangeType: "ExchangeV2", pathfinderKey: "" }, lt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Chronos", partner: "Orbs:TWAP:Chronos", exchangeAddress: "0x0178e50adAF3b925F27aC518FCd952CE7F9A3B36", exchangeType: "ExchangeV2", pathfinderKey: "Chronos Stable,Chronos Volatile,Chronos V3" }, ft = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "BaseSwap", partner: "Orbs:TWAP:BaseSwap", exchangeAddress: "0xAca3155c17530C4aA96746F226fcC049658490d2", exchangeType: "ExchangeV2", pathfinderKey: "BaseSwap,BaseSwapX" }, mt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Arbidex", partner: "Orbs:TWAP:Arbidex", exchangeAddress: "0x49d21052f4695d16C7cce6eF561301Aa4d840420", exchangeType: "ExchangeV2", pathfinderKey: "Arbidex Classic,Arbidex Quantum" }, yt = { chainName: "bsc", chainId: 56, twapVersion: 4, twapAddress: "0xa6F7444D2b92Aa9F94a2165c77aAF2B671e63994", lensAddress: "0xEdB0c077fa87Fb21d050c619FF426798f8Fc1264", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Thena", partner: "Orbs:TWAP:Thena", exchangeAddress: "0x2B2fABDbfa4a15da0d351F947C14F4520db0bDc1", exchangeType: "ExchangeV2", pathfinderKey: "43,47" }, ht = { chainName: "bsc", chainId: 56, twapVersion: 4, twapAddress: "0xa6F7444D2b92Aa9F94a2165c77aAF2B671e63994", lensAddress: "0xEdB0c077fa87Fb21d050c619FF426798f8Fc1264", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0x1A2bb6B75D58b740d88413ef4840D6fa3F637940", exchangeType: "P2Exchange", pathfinderKey: "" }, At = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0xb37cB9A058c03081Ae6EF934313588cD53d408e7", exchangeType: "P2Exchange", pathfinderKey: "" }, bt = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0xb37cB9A058c03081Ae6EF934313588cD53d408e7", exchangeType: "P2Exchange", pathfinderKey: "" }, Et = { chainName: "linea", chainId: 59144, twapVersion: 4, twapAddress: "0x48423e62acbfEF7779b5b4a5E7d6Fbd39E623d78", lensAddress: "0xe84CaEc86eCF3f0AB4267dC6130D9a5510e73DFb", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 100, name: "PancakeSwap", partner: "Orbs:TWAP:PancakeSwap", exchangeAddress: "0xb37cB9A058c03081Ae6EF934313588cD53d408e7", exchangeType: "P2Exchange", pathfinderKey: "" }, gt = { chainName: "linea", chainId: 59144, twapVersion: 4, twapAddress: "0x48423e62acbfEF7779b5b4a5E7d6Fbd39E623d78", lensAddress: "0xe84CaEc86eCF3f0AB4267dC6130D9a5510e73DFb", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 100, name: "Lynex", partner: "Orbs:TWAP:Lynex", exchangeAddress: "0x04C06C96d7D19977156016DD408B5992af0570a2", exchangeType: "ExchangeV2", pathfinderKey: "19,18" }, xt = { chainName: "zkSync", chainId: 324, twapVersion: 4, twapAddress: "0xc32cAA0F7AD9ED88e22Fc214fc24cCb5C0595D68", lensAddress: "0x7daE5af3011c3bE9A5283F0368a3fdD757fc74F9", takers: ["0xB924C20c400575D2B73Baa16CF0Fa0EAA720aFBC", "0xBE452F03Be354CAC397C3F0c8397672067D44531"], bidDelaySeconds: 60, minChunkSizeUsd: 100, name: "SyncSwap", partner: "Orbs:TWAP:SyncSwap", exchangeAddress: "0x422623a40c42f026Ed33A9910078Aa843FD66e27", exchangeType: "ExchangeV2", pathfinderKey: "2,3" }, Tt = { chainName: "poly", chainId: 137, twapVersion: 4, twapAddress: "0x688C027B0f7FaCeFcBa73e472900d28c12C5bDF4", lensAddress: "0xe0D4E736fc76af7C256ae7652c8c1e850bfb7849", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "Retro", partner: "Orbs:TWAP:Retro", exchangeAddress: "0xb7A3d74895bFD3Aff6780525e36D79FCf26a895F", exchangeType: "ExchangeV2", pathfinderKey: "retro,retro-v3" }, wt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "SushiArb", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x04eB53119079FA779492720D1EfeAEBF0aF2e5ad", exchangeType: "ExchangeV2", pathfinderKey: "" }, Ft = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "SushiBase", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x04eB53119079FA779492720D1EfeAEBF0aF2e5ad", exchangeType: "ExchangeV2", pathfinderKey: "" }, Ct = { chainName: "eth", chainId: 1, twapVersion: 4, twapAddress: "0xb1ed8BCAD1EaC8a1DF0764700472391800D12946", lensAddress: "0x0967f448c4d4dbd14c355E635AE9CbF68cc44A60", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 200, name: "SushiEth", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x04eB53119079FA779492720D1EfeAEBF0aF2e5ad", exchangeType: "ExchangeV2", pathfinderKey: "" }, Dt = { chainName: "katana", chainId: 747474, twapVersion: 4, twapAddress: "0xf2d96E7BE676153d202e1453804E2749923C7c5b", lensAddress: "0x1579EED0527781B1A748043AA1f59a3858Ace4a7", takers: ["0xF74437A3Fc45a518640828E5D6A3E8c9A9BbDC3a", "0x07A6C715063e94c0D95e809efefFCbF4EBEdfD55"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "SushiKatana", partner: "Orbs:TWAP:Sushi", exchangeAddress: "0x92209481507e6B2d14C9b5b70Ed287024177220E", exchangeType: "ExchangeV2", pathfinderKey: "" }, St = { chainName: "sei", chainId: 1329, twapVersion: 4, twapAddress: "0xde737dB24548F8d41A4a3Ca2Bac8aaaDc4DBA099", lensAddress: "0xa1376f2Bb80D3cF6c2D8ebEf34b3d122e9af4020", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "DragonSwap", partner: "Orbs:TWAP:DragonSwap", exchangeAddress: "0xf2F933FafbDB97062CfA3c447ff373e76A90Efd6", exchangeType: "ExchangeV2", pathfinderKey: "" }, kt = { chainName: "poly", chainId: 137, twapVersion: 4, twapAddress: "0x688C027B0f7FaCeFcBa73e472900d28c12C5bDF4", lensAddress: "0xe0D4E736fc76af7C256ae7652c8c1e850bfb7849", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "TeaFi", partner: "Orbs:TWAP:TeaFi", exchangeAddress: "0xE9D3b4Cf5B0CC392e78C1a4DD9885D449EEF9793", exchangeType: "ParaswapExchange", pathfinderKey: "AaveV2,AaveV3,AaveV3Stata,AngleStakedStableEUR,AngleStakedStableUSD,ApeSwap,AugustusRFQ,BalancerV2,ComethSwap,CurveV1,CurveV1Factory,CurveV1StableNg,CurveV2,Dfyn,DODOV2,Dystopia,Hashflow,IronV2,JarvisV6,KyberDmm,QuickSwap,QuickSwapV3,Retro,SushiSwap,SushiSwapV3,SwaapV2,Synapse,UniswapV2,UniswapV3,WaultFinance,Wmatic,WooFiV2,wUSDM" }, Bt = { chainName: "flare", chainId: 14, twapVersion: 4, twapAddress: "0x9D70B0b90915Bb8b9bdAC7e6a7e6435bBF1feC4D", lensAddress: "0xf2d96E7BE676153d202e1453804E2749923C7c5b", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SparkDEX", partner: "Orbs:TWAP:SparkDEX", exchangeAddress: "0xe59c53C76bB7EEc01401A18fA8215B94bC65Bf56", exchangeType: "P2Exchange" }, _t = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "Ramses", partner: "Orbs:TWAP:Ramses", exchangeAddress: "0x8FCc245209bE85C49D738D0CE5613F74E5d91E86", exchangeType: "ParaswapExchange", pathfinderKey: "" }, Ot = { chainName: "sonic", chainId: 146, twapVersion: 4, twapAddress: "0x8963992816b4EafE5a22b7DB2A99513c18be9afA", lensAddress: "0x67e631F71232D63AcA98a2D5E9B2Bce5FCc39d5D", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "SwapX", partner: "Orbs:TWAP:SwapX", exchangeAddress: "0xDA902994b7F7a1ecDd8De02E4a17dbFF2E6F67b7", exchangeType: "ExchangeV2", pathfinderKey: "" }, vt = { chainName: "cronos-zkevm", chainId: 388, twapVersion: 4, twapAddress: "0xc32cAA0F7AD9ED88e22Fc214fc24cCb5C0595D68", lensAddress: "0x7daE5af3011c3bE9A5283F0368a3fdD757fc74F9", takers: ["0xB924C20c400575D2B73Baa16CF0Fa0EAA720aFBC", "0xBE452F03Be354CAC397C3F0c8397672067D44531"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "H2Finance", partner: "Orbs:TWAP:H2Finance", exchangeAddress: "0x2f1f10dc311722Be609e6B427bF3FBac6e44093B", exchangeType: "ExchangeV2" }, Rt = { chainName: "sonic", chainId: 146, twapVersion: 4, twapAddress: "0x8963992816b4EafE5a22b7DB2A99513c18be9afA", lensAddress: "0x67e631F71232D63AcA98a2D5E9B2Bce5FCc39d5D", takers: ["0xDF406A27C58a8Cd6Fd43e143339bCE131216a913", "0x504f6E10173249dD22491829D98862Cf81DeF79E"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "Shadow", partner: "Orbs:TWAP:Shadow", exchangeAddress: "0x69e3c891450161b7BF27f181eE85E7bAE69E5b07", exchangeType: "ExchangeV2" }, Pt = { chainName: "berachain", chainId: 80094, twapVersion: 4, twapAddress: "0xD13609A8ace04D11Ea2FFE176B69dF77C6d9375E", lensAddress: "0xA0b07F9a11dFb01388149abBdbc5B4f2196600AB", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "Kodiak", partner: "Orbs:TWAP:Kodiak", exchangeAddress: "0x69B7aE1250B8d1309954CaD65b6607ae478Ec6eE", exchangeType: "ExchangeV2" }, It = { chainName: "base", chainId: 8453, twapVersion: 4, twapAddress: "0xc918bdC47264687796Cd54FE362FaC4f8b99Eb55", lensAddress: "0x6313188c1909b161074D62E43105faC9B756A23e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 10, name: "OmniBase", partner: "Orbs:TWAP:OmniBase", exchangeAddress: "0x54435FcFDF3A08150Ed799b6EF472A20a432303F", exchangeType: "ParaswapExchange" }, Nt = { chainName: "arb", chainId: 42161, twapVersion: 4, twapAddress: "0x0B94dcC0EA2d1ee33Ab064DaC252de980a941eF3", lensAddress: "0x549e1fc9a47FCc0C5C2EbdfF31254cc49fF7164e", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "OmniArb", partner: "Orbs:TWAP:OmniArb", exchangeAddress: "0xF0607785424d342Cceb33E708f4579CA97a3b392", exchangeType: "ParaswapExchange" }, Mt = { chainName: "avax", chainId: 43114, twapVersion: 4, twapAddress: "0xf77Ad005aBF7e31f669ce89a6568B2f39Ca92cDe", lensAddress: "0x48466B82Ce1575c5c9eCa168ac1090048dD47fA3", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "BlackholeAvax", partner: "Orbs:TWAP:BlackholeAvax", exchangeAddress: "0xb7A3d74895bFD3Aff6780525e36D79FCf26a895F", exchangeType: "ExchangeV2" }, Lt = { chainName: "bsc", chainId: 56, twapVersion: 4, twapAddress: "0xa6F7444D2b92Aa9F94a2165c77aAF2B671e63994", lensAddress: "0xEdB0c077fa87Fb21d050c619FF426798f8Fc1264", takers: ["0xA05405b6340A7F43dC5835351BFC4f5b1F028359", "0xE3Efef1563a5960ACc731F9e4d6f4cBf5bd87dcA"], bidDelaySeconds: 60, minChunkSizeUsd: 50, name: "NewEraBnb", partner: "Orbs:TWAP:NewEraBnb", exchangeAddress: "0xA22D7Df24d9Ea4D4EF6dC96b2204bd550430eC42", exchangeType: "ExchangeV2" }, _ = {
5
5
  SpookySwap: dt,
6
6
  SpookySwapSonic: ct,
7
7
  QuickSwap: pt,
@@ -13,8 +13,8 @@ const dt = { chainName: "ftm", chainId: 250, twapVersion: 4, twapAddress: "0xd3B
13
13
  PancakeSwap: ht,
14
14
  PancakeSwapArbitrum: At,
15
15
  PancakeSwapBase: bt,
16
- PancakeSwapLinea: gt,
17
- Lynex: Et,
16
+ PancakeSwapLinea: Et,
17
+ Lynex: gt,
18
18
  SyncSwap: xt,
19
19
  Retro: Tt,
20
20
  SushiArb: wt,
@@ -32,8 +32,8 @@ const dt = { chainName: "ftm", chainId: 250, twapVersion: 4, twapAddress: "0xd3B
32
32
  OmniBase: It,
33
33
  OmniArb: Nt,
34
34
  BlackholeAvax: Mt,
35
- NewEraBnb: Ut
36
- }, Lt = [
35
+ NewEraBnb: Lt
36
+ }, Ut = [
37
37
  {
38
38
  constant: !1,
39
39
  inputs: [
@@ -690,15 +690,15 @@ const dt = { chainName: "ftm", chainId: 250, twapVersion: 4, twapAddress: "0xd3B
690
690
  }
691
691
  ]
692
692
  }
693
- ], Vn = Lt, Wn = Vt, zn = zt, $n = Wt;
694
- var z = /* @__PURE__ */ ((e) => (e.TWAP = "TWAP", e.LIMIT = "LIMIT", e.STOP_LOSS = "STOP_LOSS", e.TAKE_PROFIT = "TAKE_PROFIT", e))(z || {}), re = /* @__PURE__ */ ((e) => (e.Open = "OPEN", e.Canceled = "CANCELED", e.Completed = "COMPLETED", e.Expired = "EXPIRED", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e[e.Minutes = 6e4] = "Minutes", e[e.Hours = 36e5] = "Hours", e[e.Weeks = 6048e5] = "Weeks", e[e.Days = 864e5] = "Days", e[e.Months = 2592e6] = "Months", e[e.Years = 31536e6] = "Years", e))(ae || {}), q = /* @__PURE__ */ ((e) => (e.LIMIT = "limit", e.TWAP_LIMIT = "twap-limit", e.TWAP_MARKET = "twap-market", e.TAKE_PROFIT = "take-profit", e.STOP_LOSS_LIMIT = "stop-loss-limit", e.STOP_LOSS_MARKET = "stop-loss-market", e))(q || {}), pe = /* @__PURE__ */ ((e) => (e.Arbidex = "arbidex", e.Blackhole = "blackhole", e.Chronos = "chronos", e.Dragon = "dragon", e.Kodiak = "kodiak", e.Lynex = "lynex", e.Nami = "nami", e.Newera = "newera", e.Omni = "omni", e.Pancake = "pancake", e.Quick = "quick", e.Ramses = "ramses", e.Shadow = "shadow", e.Spark = "spark", e.Spooky = "spooky", e.Swapx = "swapx", e.Teafi = "teafi", e.Thena = "thena", e.Yowie = "yowie", e.Pangolin = "pangolin", e.Sushiswap = "sushiswap", e.Agent = "agent", e))(pe || {}), $t = /* @__PURE__ */ ((e) => (e[e.EMPTY_LIMIT_PRICE = 0] = "EMPTY_LIMIT_PRICE", e[e.MAX_CHUNKS = 1] = "MAX_CHUNKS", e[e.MIN_CHUNKS = 2] = "MIN_CHUNKS", e[e.MIN_TRADE_SIZE = 3] = "MIN_TRADE_SIZE", e[e.MAX_FILL_DELAY = 4] = "MAX_FILL_DELAY", e[e.MIN_FILL_DELAY = 5] = "MIN_FILL_DELAY", e[e.MAX_ORDER_DURATION = 6] = "MAX_ORDER_DURATION", e[e.MIN_ORDER_DURATION = 7] = "MIN_ORDER_DURATION", e[e.MISSING_LIMIT_PRICE = 8] = "MISSING_LIMIT_PRICE", e[e.STOP_LOSS_TRIGGER_PRICE_GREATER_THAN_MARKET_PRICE = 9] = "STOP_LOSS_TRIGGER_PRICE_GREATER_THAN_MARKET_PRICE", e[e.TRIGGER_LIMIT_PRICE_GREATER_THAN_TRIGGER_PRICE = 10] = "TRIGGER_LIMIT_PRICE_GREATER_THAN_TRIGGER_PRICE", e[e.TAKE_PROFIT_TRIGGER_PRICE_LESS_THAN_MARKET_PRICE = 11] = "TAKE_PROFIT_TRIGGER_PRICE_LESS_THAN_MARKET_PRICE", e[e.EMPTY_TRIGGER_PRICE = 12] = "EMPTY_TRIGGER_PRICE", e[e.INSUFFICIENT_BALANCE = 13] = "INSUFFICIENT_BALANCE", e[e.MAX_ORDER_SIZE = 14] = "MAX_ORDER_SIZE", e[e.MIN_TRADE_SIZE_ERROR = 15] = "MIN_TRADE_SIZE_ERROR", e))($t || {});
695
- const L = "0x0000000000000000000000000000000000000000", K = {
693
+ ], zn = Ut, $n = Vt, Hn = zt, Kn = Wt;
694
+ var z = /* @__PURE__ */ ((e) => (e.TWAP = "TWAP", e.LIMIT = "LIMIT", e.STOP_LOSS = "STOP_LOSS", e.TAKE_PROFIT = "TAKE_PROFIT", e))(z || {}), re = /* @__PURE__ */ ((e) => (e.Open = "OPEN", e.Canceled = "CANCELED", e.Completed = "COMPLETED", e.Expired = "EXPIRED", e))(re || {}), $t = /* @__PURE__ */ ((e) => (e.All = "ALL", e.Open = "OPEN", e.Canceled = "CANCELED", e.Completed = "COMPLETED", e.Expired = "EXPIRED", e))($t || {}), ae = /* @__PURE__ */ ((e) => (e[e.Minutes = 6e4] = "Minutes", e[e.Hours = 36e5] = "Hours", e[e.Weeks = 6048e5] = "Weeks", e[e.Days = 864e5] = "Days", e[e.Months = 2592e6] = "Months", e[e.Years = 31536e6] = "Years", e))(ae || {}), q = /* @__PURE__ */ ((e) => (e.LIMIT = "limit", e.TWAP_LIMIT = "twap-limit", e.TWAP_MARKET = "twap-market", e.TAKE_PROFIT = "take-profit", e.STOP_LOSS_LIMIT = "stop-loss-limit", e.STOP_LOSS_MARKET = "stop-loss-market", e))(q || {}), pe = /* @__PURE__ */ ((e) => (e.Arbidex = "arbidex", e.Blackhole = "blackhole", e.Chronos = "chronos", e.Dragon = "dragon", e.Kodiak = "kodiak", e.Lynex = "lynex", e.Nami = "nami", e.Newera = "newera", e.Omni = "omni", e.Pancake = "pancake", e.Quick = "quick", e.Ramses = "ramses", e.Shadow = "shadow", e.Spark = "spark", e.Spooky = "spooky", e.Swapx = "swapx", e.Teafi = "teafi", e.Thena = "thena", e.Yowie = "yowie", e.Pangolin = "pangolin", e.Sushiswap = "sushiswap", e.Agent = "agent", e))(pe || {}), Ht = /* @__PURE__ */ ((e) => (e[e.EMPTY_LIMIT_PRICE = 0] = "EMPTY_LIMIT_PRICE", e[e.MAX_CHUNKS = 1] = "MAX_CHUNKS", e[e.MIN_CHUNKS = 2] = "MIN_CHUNKS", e[e.MIN_TRADE_SIZE = 3] = "MIN_TRADE_SIZE", e[e.MAX_FILL_DELAY = 4] = "MAX_FILL_DELAY", e[e.MIN_FILL_DELAY = 5] = "MIN_FILL_DELAY", e[e.MAX_ORDER_DURATION = 6] = "MAX_ORDER_DURATION", e[e.MIN_ORDER_DURATION = 7] = "MIN_ORDER_DURATION", e[e.MISSING_LIMIT_PRICE = 8] = "MISSING_LIMIT_PRICE", e[e.STOP_LOSS_TRIGGER_PRICE_GREATER_THAN_MARKET_PRICE = 9] = "STOP_LOSS_TRIGGER_PRICE_GREATER_THAN_MARKET_PRICE", e[e.TRIGGER_LIMIT_PRICE_GREATER_THAN_TRIGGER_PRICE = 10] = "TRIGGER_LIMIT_PRICE_GREATER_THAN_TRIGGER_PRICE", e[e.TAKE_PROFIT_TRIGGER_PRICE_LESS_THAN_MARKET_PRICE = 11] = "TAKE_PROFIT_TRIGGER_PRICE_LESS_THAN_MARKET_PRICE", e[e.EMPTY_TRIGGER_PRICE = 12] = "EMPTY_TRIGGER_PRICE", e[e.INSUFFICIENT_BALANCE = 13] = "INSUFFICIENT_BALANCE", e[e.MAX_ORDER_SIZE = 14] = "MAX_ORDER_SIZE", e[e.MIN_TRADE_SIZE_ERROR = 15] = "MIN_TRADE_SIZE_ERROR", e))(Ht || {});
695
+ const U = "0x0000000000000000000000000000000000000000", K = {
696
696
  eth: {
697
697
  id: 1,
698
698
  name: "Ethereum",
699
699
  shortname: "eth",
700
700
  native: {
701
- address: L,
701
+ address: U,
702
702
  symbol: "ETH",
703
703
  decimals: 18,
704
704
  logoUrl: "https://app.1inch.io/assets/images/network-logos/ethereum.svg"
@@ -719,7 +719,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
719
719
  name: "BinanceSmartChain",
720
720
  shortname: "bsc",
721
721
  native: {
722
- address: L,
722
+ address: U,
723
723
  symbol: "BNB",
724
724
  decimals: 18,
725
725
  logoUrl: "https://s2.coinmarketcap.com/static/img/coins/128x128/1839.png"
@@ -740,7 +740,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
740
740
  name: "Polygon",
741
741
  shortname: "poly",
742
742
  native: {
743
- address: L,
743
+ address: U,
744
744
  symbol: "POL",
745
745
  decimals: 18,
746
746
  logoUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/28321.png"
@@ -761,7 +761,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
761
761
  name: "Arbitrum",
762
762
  shortname: "arb",
763
763
  native: {
764
- address: L,
764
+ address: U,
765
765
  symbol: "ETH",
766
766
  decimals: 18,
767
767
  logoUrl: "https://app.1inch.io/assets/images/network-logos/ethereum.svg"
@@ -782,7 +782,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
782
782
  name: "Sei",
783
783
  shortname: "sei",
784
784
  native: {
785
- address: L,
785
+ address: U,
786
786
  symbol: "SEI",
787
787
  decimals: 18,
788
788
  logoUrl: "https://assets.coingecko.com/coins/images/28205/standard/Sei_Logo_-_Transparent.png"
@@ -803,7 +803,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
803
803
  name: "Avalanche",
804
804
  shortname: "avax",
805
805
  native: {
806
- address: L,
806
+ address: U,
807
807
  symbol: "AVAX",
808
808
  decimals: 18,
809
809
  logoUrl: "https://app.1inch.io/assets/images/network-logos/avalanche.svg"
@@ -824,7 +824,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
824
824
  name: "Fantom",
825
825
  shortname: "ftm",
826
826
  native: {
827
- address: L,
827
+ address: U,
828
828
  symbol: "FTM",
829
829
  decimals: 18,
830
830
  logoUrl: "https://app.1inch.io/assets/images/network-logos/fantom.svg"
@@ -845,7 +845,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
845
845
  name: "Base",
846
846
  shortname: "base",
847
847
  native: {
848
- address: L,
848
+ address: U,
849
849
  symbol: "ETH",
850
850
  decimals: 18,
851
851
  logoUrl: "https://app.1inch.io/assets/images/network-logos/ethereum.svg"
@@ -866,7 +866,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
866
866
  name: "Linea",
867
867
  shortname: "linea",
868
868
  native: {
869
- address: L,
869
+ address: U,
870
870
  symbol: "ETH",
871
871
  decimals: 18,
872
872
  logoUrl: "https://app.1inch.io/assets/images/network-logos/ethereum.svg"
@@ -887,7 +887,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
887
887
  name: "zksync",
888
888
  shortname: "zksync",
889
889
  native: {
890
- address: L,
890
+ address: U,
891
891
  symbol: "ETH",
892
892
  decimals: 18,
893
893
  logoUrl: "https://app.1inch.io/assets/images/network-logos/ethereum.svg"
@@ -908,7 +908,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
908
908
  name: "zkevm",
909
909
  shortname: "zkevm",
910
910
  native: {
911
- address: L,
911
+ address: U,
912
912
  symbol: "ETH",
913
913
  decimals: 18,
914
914
  logoUrl: "https://app.1inch.io/assets/images/network-logos/ethereum.svg"
@@ -929,7 +929,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
929
929
  name: "manta",
930
930
  shortname: "manta",
931
931
  native: {
932
- address: L,
932
+ address: U,
933
933
  symbol: "ETH",
934
934
  decimals: 18,
935
935
  logoUrl: "https://icons.llamao.fi/icons/chains/rsz_manta.jpg"
@@ -950,7 +950,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
950
950
  name: "blast",
951
951
  shortname: "blast",
952
952
  native: {
953
- address: L,
953
+ address: U,
954
954
  symbol: "ETH",
955
955
  decimals: 18,
956
956
  logoUrl: "https://icons.llamao.fi/icons/chains/rsz_blast"
@@ -971,7 +971,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
971
971
  name: "sonic",
972
972
  shortname: "sonic",
973
973
  native: {
974
- address: L,
974
+ address: U,
975
975
  symbol: "S",
976
976
  decimals: 18,
977
977
  logoUrl: "https://icons.llamao.fi/icons/chains/rsz_sonic"
@@ -992,7 +992,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
992
992
  name: "scroll",
993
993
  shortname: "scroll",
994
994
  native: {
995
- address: L,
995
+ address: U,
996
996
  symbol: "ETH",
997
997
  decimals: 18,
998
998
  logoUrl: "https://icons.llamao.fi/icons/chains/rsz_scroll"
@@ -1013,7 +1013,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
1013
1013
  name: "Zircuit",
1014
1014
  shortname: "zircuit",
1015
1015
  native: {
1016
- address: L,
1016
+ address: U,
1017
1017
  symbol: "ETH",
1018
1018
  decimals: 18,
1019
1019
  logoUrl: "https://app.1inch.io/assets/images/network-logos/ethereum.svg"
@@ -1034,7 +1034,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
1034
1034
  name: "flare",
1035
1035
  shortname: "flare",
1036
1036
  native: {
1037
- address: L,
1037
+ address: U,
1038
1038
  symbol: "FLR",
1039
1039
  decimals: 18,
1040
1040
  logoUrl: "https://icons.llamao.fi/icons/chains/rsz_flare?w=48&h=48"
@@ -1079,7 +1079,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
1079
1079
  name: "Katana",
1080
1080
  shortname: "katana",
1081
1081
  native: {
1082
- address: L,
1082
+ address: U,
1083
1083
  symbol: "ETH",
1084
1084
  decimals: 18,
1085
1085
  logoUrl: "https://katana.network/assets/katana-logo.svg"
@@ -1102,7 +1102,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
1102
1102
  name: "Bera",
1103
1103
  shortname: "bera",
1104
1104
  native: {
1105
- address: L,
1105
+ address: U,
1106
1106
  symbol: "BERA",
1107
1107
  decimals: 18,
1108
1108
  logoUrl: "https://s2.coinmarketcap.com/static/img/coins/128x128/24647.png"
@@ -1125,7 +1125,7 @@ const L = "0x0000000000000000000000000000000000000000", K = {
1125
1125
  name: "Monad",
1126
1126
  shortname: "monad",
1127
1127
  native: {
1128
- address: L,
1128
+ address: U,
1129
1129
  symbol: "MONAD",
1130
1130
  decimals: 18,
1131
1131
  logoUrl: "https://s2.coinmarketcap.com/static/img/coins/128x128/30495.png"
@@ -1142,9 +1142,9 @@ const L = "0x0000000000000000000000000000000000000000", K = {
1142
1142
  eip1559: !0
1143
1143
  }
1144
1144
  };
1145
- var Ht = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, _e = Math.ceil, Z = Math.floor, X = "[BigNumber Error] ", Ke = X + "Number primitive has more than 15 significant digits: ", te = 1e14, B = 14, Oe = 9007199254740991, ve = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], ue = 1e7, W = 1e9;
1145
+ var Kt = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, _e = Math.ceil, Z = Math.floor, X = "[BigNumber Error] ", Ke = X + "Number primitive has more than 15 significant digits: ", te = 1e14, B = 14, Oe = 9007199254740991, ve = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], ue = 1e7, W = 1e9;
1146
1146
  function Ye(e) {
1147
- var n, r, y, d = b.prototype = { constructor: b, toString: null, valueOf: null }, h = new b(1), g = 20, x = 4, w = -7, D = 21, k = -1e7, T = 1e7, F = !1, R = 1, I = 0, ie = {
1147
+ var n, r, y, d = b.prototype = { constructor: b, toString: null, valueOf: null }, h = new b(1), E = 20, x = 4, w = -7, D = 21, k = -1e7, T = 1e7, F = !1, R = 1, I = 0, ie = {
1148
1148
  prefix: "",
1149
1149
  groupSize: 3,
1150
1150
  secondaryGroupSize: 0,
@@ -1171,13 +1171,13 @@ function Ye(e) {
1171
1171
  }
1172
1172
  f = String(t);
1173
1173
  } else {
1174
- if (!Ht.test(f = String(t))) return y(u, f, i);
1174
+ if (!Kt.test(f = String(t))) return y(u, f, i);
1175
1175
  u.s = f.charCodeAt(0) == 45 ? (f = f.slice(1), -1) : 1;
1176
1176
  }
1177
1177
  (p = f.indexOf(".")) > -1 && (f = f.replace(".", "")), (m = f.search(/e/i)) > 0 ? (p < 0 && (p = m), p += +f.slice(m + 1), f = f.substring(0, m)) : p < 0 && (p = f.length);
1178
1178
  } else {
1179
1179
  if (N(a, 2, ee.length, "Base"), a == 10 && fe)
1180
- return u = new b(t), j(u, g + u.e + 1, x);
1180
+ return u = new b(t), j(u, E + u.e + 1, x);
1181
1181
  if (f = String(t), i = typeof t == "number") {
1182
1182
  if (t * 0 != 0) return y(u, f, i, a);
1183
1183
  if (u.s = 1 / t < 0 ? (f = f.slice(1), -1) : 1, b.DEBUG && f.replace(/^0\.0*|\./, "").length > 15)
@@ -1225,7 +1225,7 @@ function Ye(e) {
1225
1225
  var a, s;
1226
1226
  if (t != null)
1227
1227
  if (typeof t == "object") {
1228
- if (t.hasOwnProperty(a = "DECIMAL_PLACES") && (s = t[a], N(s, 0, W, a), g = s), t.hasOwnProperty(a = "ROUNDING_MODE") && (s = t[a], N(s, 0, 8, a), x = s), t.hasOwnProperty(a = "EXPONENTIAL_AT") && (s = t[a], s && s.pop ? (N(s[0], -W, 0, a), N(s[1], 0, W, a), w = s[0], D = s[1]) : (N(s, -W, W, a), w = -(D = s < 0 ? -s : s))), t.hasOwnProperty(a = "RANGE"))
1228
+ if (t.hasOwnProperty(a = "DECIMAL_PLACES") && (s = t[a], N(s, 0, W, a), E = s), t.hasOwnProperty(a = "ROUNDING_MODE") && (s = t[a], N(s, 0, 8, a), x = s), t.hasOwnProperty(a = "EXPONENTIAL_AT") && (s = t[a], s && s.pop ? (N(s[0], -W, 0, a), N(s[1], 0, W, a), w = s[0], D = s[1]) : (N(s, -W, W, a), w = -(D = s < 0 ? -s : s))), t.hasOwnProperty(a = "RANGE"))
1229
1229
  if (s = t[a], s && s.pop)
1230
1230
  N(s[0], -W, -1, a), N(s[1], 1, W, a), k = s[0], T = s[1];
1231
1231
  else if (N(s, -W, W, a), s)
@@ -1254,7 +1254,7 @@ function Ye(e) {
1254
1254
  } else
1255
1255
  throw Error(X + "Object expected: " + t);
1256
1256
  return {
1257
- DECIMAL_PLACES: g,
1257
+ DECIMAL_PLACES: E,
1258
1258
  ROUNDING_MODE: x,
1259
1259
  EXPONENTIAL_AT: [w, D],
1260
1260
  RANGE: [k, T],
@@ -1295,7 +1295,7 @@ function Ye(e) {
1295
1295
  };
1296
1296
  return function(s) {
1297
1297
  var l, o, p, m, i, c = 0, f = [], u = new b(h);
1298
- if (s == null ? s = g : N(s, 0, W), m = _e(s / B), F)
1298
+ if (s == null ? s = E : N(s, 0, W), m = _e(s / B), F)
1299
1299
  if (crypto.getRandomValues) {
1300
1300
  for (l = crypto.getRandomValues(new Uint32Array(m *= 2)); c < m; )
1301
1301
  i = l[c] * 131072 + (l[c + 1] >>> 11), i >= 9e15 ? (o = crypto.getRandomValues(new Uint32Array(2)), l[c] = o[0], l[c + 1] = o[1]) : (f.push(i % 1e14), c += 2);
@@ -1333,7 +1333,7 @@ function Ye(e) {
1333
1333
  return i.reverse();
1334
1334
  }
1335
1335
  return function(s, l, o, p, m) {
1336
- var i, c, f, u, A, C, S, v, M = s.indexOf("."), V = g, O = x;
1336
+ var i, c, f, u, A, C, S, v, M = s.indexOf("."), V = E, O = x;
1337
1337
  for (M >= 0 && (u = I, I = 0, s = s.replace(".", ""), v = new b(l), C = v.pow(s.length - M), I = u, v.c = a(
1338
1338
  de(Y(C.c), C.e, "0"),
1339
1339
  10,
@@ -1378,31 +1378,31 @@ function Ye(e) {
1378
1378
  for (; !l[0] && l.length > 1; l.splice(0, 1)) ;
1379
1379
  }
1380
1380
  return function(l, o, p, m, i) {
1381
- var c, f, u, A, C, S, v, M, V, O, P, $, we, ke, Be, se, ge, Q = l.s == o.s ? 1 : -1, H = l.c, U = o.c;
1382
- if (!H || !H[0] || !U || !U[0])
1381
+ var c, f, u, A, C, S, v, M, V, O, P, $, we, ke, Be, se, Ee, Q = l.s == o.s ? 1 : -1, H = l.c, L = o.c;
1382
+ if (!H || !H[0] || !L || !L[0])
1383
1383
  return new b(
1384
1384
  // Return NaN if either NaN, or both Infinity or 0.
1385
- !l.s || !o.s || (H ? U && H[0] == U[0] : !U) ? NaN : (
1385
+ !l.s || !o.s || (H ? L && H[0] == L[0] : !L) ? NaN : (
1386
1386
  // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
1387
- H && H[0] == 0 || !U ? Q * 0 : Q / 0
1387
+ H && H[0] == 0 || !L ? Q * 0 : Q / 0
1388
1388
  )
1389
1389
  );
1390
- for (M = new b(Q), V = M.c = [], f = l.e - o.e, Q = p + f + 1, i || (i = te, f = J(l.e / B) - J(o.e / B), Q = Q / B | 0), u = 0; U[u] == (H[u] || 0); u++) ;
1391
- if (U[u] > (H[u] || 0) && f--, Q < 0)
1390
+ for (M = new b(Q), V = M.c = [], f = l.e - o.e, Q = p + f + 1, i || (i = te, f = J(l.e / B) - J(o.e / B), Q = Q / B | 0), u = 0; L[u] == (H[u] || 0); u++) ;
1391
+ if (L[u] > (H[u] || 0) && f--, Q < 0)
1392
1392
  V.push(1), A = !0;
1393
1393
  else {
1394
- for (ke = H.length, se = U.length, u = 0, Q += 2, C = Z(i / (U[0] + 1)), C > 1 && (U = t(U, C, i), H = t(H, C, i), se = U.length, ke = H.length), we = se, O = H.slice(0, se), P = O.length; P < se; O[P++] = 0) ;
1395
- ge = U.slice(), ge = [0].concat(ge), Be = U[0], U[1] >= i / 2 && Be++;
1394
+ for (ke = H.length, se = L.length, u = 0, Q += 2, C = Z(i / (L[0] + 1)), C > 1 && (L = t(L, C, i), H = t(H, C, i), se = L.length, ke = H.length), we = se, O = H.slice(0, se), P = O.length; P < se; O[P++] = 0) ;
1395
+ Ee = L.slice(), Ee = [0].concat(Ee), Be = L[0], L[1] >= i / 2 && Be++;
1396
1396
  do {
1397
- if (C = 0, c = a(U, O, se, P), c < 0) {
1397
+ if (C = 0, c = a(L, O, se, P), c < 0) {
1398
1398
  if ($ = O[0], se != P && ($ = $ * i + (O[1] || 0)), C = Z($ / Be), C > 1)
1399
- for (C >= i && (C = i - 1), S = t(U, C, i), v = S.length, P = O.length; a(S, O, v, P) == 1; )
1400
- C--, s(S, se < v ? ge : U, v, i), v = S.length, c = 1;
1399
+ for (C >= i && (C = i - 1), S = t(L, C, i), v = S.length, P = O.length; a(S, O, v, P) == 1; )
1400
+ C--, s(S, se < v ? Ee : L, v, i), v = S.length, c = 1;
1401
1401
  else
1402
- C == 0 && (c = C = 1), S = U.slice(), v = S.length;
1402
+ C == 0 && (c = C = 1), S = L.slice(), v = S.length;
1403
1403
  if (v < P && (S = [0].concat(S)), s(O, S, P, i), P = O.length, c == -1)
1404
- for (; a(U, O, se, P) < 1; )
1405
- C++, s(O, se < P ? ge : U, P, i), P = O.length;
1404
+ for (; a(L, O, se, P) < 1; )
1405
+ C++, s(O, se < P ? Ee : L, P, i), P = O.length;
1406
1406
  } else c === 0 && (C++, O = [0]);
1407
1407
  V[u++] = C, O[0] ? O[P++] = H[we] || 0 : (O = [H[we]], P = 1);
1408
1408
  } while ((we++ < ke || O[0] != null) && Q--);
@@ -1515,7 +1515,7 @@ function Ye(e) {
1515
1515
  if (l = ((o = s.length - 1) - J(this.e / B)) * B, o = s[o]) for (; o % 10 == 0; o /= 10, l--) ;
1516
1516
  return l < 0 && (l = 0), l;
1517
1517
  }, d.dividedBy = d.div = function(t, a) {
1518
- return n(this, new b(t, a), g, x);
1518
+ return n(this, new b(t, a), E, x);
1519
1519
  }, d.dividedToIntegerBy = d.idiv = function(t, a) {
1520
1520
  return n(this, new b(t, a), 0, 1);
1521
1521
  }, d.exponentiatedBy = d.pow = function(t, a) {
@@ -1654,24 +1654,24 @@ function Ye(e) {
1654
1654
  }, d.shiftedBy = function(t) {
1655
1655
  return N(t, -Oe, Oe), this.times("1e" + t);
1656
1656
  }, d.squareRoot = d.sqrt = function() {
1657
- var t, a, s, l, o, p = this, m = p.c, i = p.s, c = p.e, f = g + 4, u = new b("0.5");
1657
+ var t, a, s, l, o, p = this, m = p.c, i = p.s, c = p.e, f = E + 4, u = new b("0.5");
1658
1658
  if (i !== 1 || !m || !m[0])
1659
1659
  return new b(!i || i < 0 && (!m || m[0]) ? NaN : m ? p : 1 / 0);
1660
1660
  if (i = Math.sqrt(+oe(p)), i == 0 || i == 1 / 0 ? (a = Y(m), (a.length + c) % 2 == 0 && (a += "0"), i = Math.sqrt(+a), c = J((c + 1) / 2) - (c < 0 || c % 2), i == 1 / 0 ? a = "5e" + c : (a = i.toExponential(), a = a.slice(0, a.indexOf("e") + 1) + c), s = new b(a)) : s = new b(i + ""), s.c[0]) {
1661
1661
  for (c = s.e, i = c + f, i < 3 && (i = 0); ; )
1662
1662
  if (o = s, s = u.times(o.plus(n(p, o, f, 1))), Y(o.c).slice(0, i) === (a = Y(s.c)).slice(0, i))
1663
1663
  if (s.e < c && --i, a = a.slice(i - 3, i + 1), a == "9999" || !l && a == "4999") {
1664
- if (!l && (j(o, o.e + g + 2, 0), o.times(o).eq(p))) {
1664
+ if (!l && (j(o, o.e + E + 2, 0), o.times(o).eq(p))) {
1665
1665
  s = o;
1666
1666
  break;
1667
1667
  }
1668
1668
  f += 4, i += 4, l = 1;
1669
1669
  } else {
1670
- (!+a || !+a.slice(1) && a.charAt(0) == "5") && (j(s, s.e + g + 2, 1), t = !s.times(s).eq(p));
1670
+ (!+a || !+a.slice(1) && a.charAt(0) == "5") && (j(s, s.e + E + 2, 1), t = !s.times(s).eq(p));
1671
1671
  break;
1672
1672
  }
1673
1673
  }
1674
- return j(s, s.e + g + 1, x, t);
1674
+ return j(s, s.e + E + 1, x, t);
1675
1675
  }, d.toExponential = function(t, a) {
1676
1676
  return t != null && (N(t, 0, W), t++), me(this, t, a, 1);
1677
1677
  }, d.toFixed = function(t, a) {
@@ -1710,7 +1710,7 @@ function Ye(e) {
1710
1710
  return t != null && N(t, 1, W), me(this, t, a, 2);
1711
1711
  }, d.toString = function(t) {
1712
1712
  var a, s = this, l = s.s, o = s.e;
1713
- return o === null ? l ? (a = "Infinity", l < 0 && (a = "-" + a)) : a = "NaN" : (t == null ? a = o <= w || o >= D ? De(Y(s.c), o) : de(Y(s.c), o, "0") : t === 10 && fe ? (s = j(new b(s), g + o + 1, x), a = de(Y(s.c), s.e, "0")) : (N(t, 2, ee.length, "Base"), a = r(de(Y(s.c), o, "0"), 10, t, l, !0)), l < 0 && s.c[0] && (a = "-" + a)), a;
1713
+ return o === null ? l ? (a = "Infinity", l < 0 && (a = "-" + a)) : a = "NaN" : (t == null ? a = o <= w || o >= D ? De(Y(s.c), o) : de(Y(s.c), o, "0") : t === 10 && fe ? (s = j(new b(s), E + o + 1, x), a = de(Y(s.c), s.e, "0")) : (N(t, 2, ee.length, "Base"), a = r(de(Y(s.c), o, "0"), 10, t, l, !0)), l < 0 && s.c[0] && (a = "-" + a)), a;
1714
1714
  }, d.valueOf = d.toJSON = function() {
1715
1715
  return oe(this);
1716
1716
  }, d._isBigNumber = !0, d[Symbol.toStringTag] = "BigNumber", d[Symbol.for("nodejs.util.inspect.custom")] = d.valueOf, e != null && b.set(e), b;
@@ -1728,13 +1728,13 @@ function Y(e) {
1728
1728
  return h.slice(0, d + 1 || 1);
1729
1729
  }
1730
1730
  function ye(e, n) {
1731
- var r, y, d = e.c, h = n.c, g = e.s, x = n.s, w = e.e, D = n.e;
1732
- if (!g || !x) return null;
1733
- if (r = d && !d[0], y = h && !h[0], r || y) return r ? y ? 0 : -x : g;
1734
- if (g != x) return g;
1735
- if (r = g < 0, y = w == D, !d || !h) return y ? 0 : !d ^ r ? 1 : -1;
1731
+ var r, y, d = e.c, h = n.c, E = e.s, x = n.s, w = e.e, D = n.e;
1732
+ if (!E || !x) return null;
1733
+ if (r = d && !d[0], y = h && !h[0], r || y) return r ? y ? 0 : -x : E;
1734
+ if (E != x) return E;
1735
+ if (r = E < 0, y = w == D, !d || !h) return y ? 0 : !d ^ r ? 1 : -1;
1736
1736
  if (!y) return w > D ^ r ? 1 : -1;
1737
- for (x = (w = d.length) < (D = h.length) ? w : D, g = 0; g < x; g++) if (d[g] != h[g]) return d[g] > h[g] ^ r ? 1 : -1;
1737
+ for (x = (w = d.length) < (D = h.length) ? w : D, E = 0; E < x; E++) if (d[E] != h[E]) return d[E] > h[E] ^ r ? 1 : -1;
1738
1738
  return w == D ? 0 : w > D ^ r ? 1 : -1;
1739
1739
  }
1740
1740
  function N(e, n, r, y) {
@@ -1759,21 +1759,21 @@ function de(e, n, r) {
1759
1759
  } else n < y && (e = e.slice(0, n) + "." + e.slice(n));
1760
1760
  return e;
1761
1761
  }
1762
- var E = Ye();
1762
+ var g = Ye();
1763
1763
  const he = (e, n) => {
1764
1764
  if (!e || !n) return "";
1765
- const r = E(10).pow(e || 0);
1766
- return E(n).times(r).idiv(r).div(r).toFixed();
1765
+ const r = g(10).pow(e || 0);
1766
+ return g(n).times(r).idiv(r).div(r).toFixed();
1767
1767
  };
1768
- E(0);
1769
- E(1);
1770
- E(10);
1771
- E(1e18);
1768
+ g(0);
1769
+ g(1);
1770
+ g(10);
1771
+ g(1e18);
1772
1772
  function Se(e, n) {
1773
1773
  return e == n || e.toLowerCase() == n.toLowerCase();
1774
1774
  }
1775
- const Hn = (e) => !!Jt.find((n) => Se(n, e || ""));
1776
- function Kt(e) {
1775
+ const Gn = (e) => !!tn.find((n) => Se(n, e || ""));
1776
+ function Gt(e) {
1777
1777
  return [
1778
1778
  ae.Years,
1779
1779
  ae.Months,
@@ -1783,28 +1783,28 @@ function Kt(e) {
1783
1783
  ae.Minutes
1784
1784
  ].find((r) => r <= e) || ae.Minutes;
1785
1785
  }
1786
- const le = (e) => e ? e.value * e.unit : 0, Gt = (e) => !e || e === "NaN" ? "0" : E(e).decimalPlaces(0).toFixed(), Kn = (e) => Object.values(K).find((n) => n.id === e), qt = (e) => {
1786
+ const le = (e) => e ? e.value * e.unit : 0, qt = (e) => !e || e === "NaN" ? "0" : g(e).decimalPlaces(0).toFixed(), qn = (e) => Object.values(K).find((n) => n.id === e), Xt = (e) => {
1787
1787
  if (!e) return;
1788
- const n = e.map((h) => G(h)), r = Object.entries(en).filter(([h]) => n.includes(h)).flatMap(([, h]) => h), y = e.map((h) => h.exchangeAddress), d = new Set(
1788
+ const n = e.map((h) => G(h)), r = Object.entries(nn).filter(([h]) => n.includes(h)).flatMap(([, h]) => h), y = e.map((h) => h.exchangeAddress), d = new Set(
1789
1789
  [...y, ...r].map((h) => h.toLowerCase())
1790
1790
  );
1791
1791
  return Array.from(d);
1792
- }, Gn = (e, n) => e.version === 1 ? (e.fillDelay || 0) * 1e3 + on(n) : (e.fillDelay || 0) * 1e3, xe = (e) => typeof window > "u" ? null : new URLSearchParams(window.location.search).get(e), qn = (e) => pn().filter((n) => n.name === e).map((n) => n.chainId), Xn = (e, n, r) => {
1793
- if (!E(e.srcAmountFilled || 0).gt(0) || !E(e.dstAmountFilled || 0).gt(0))
1792
+ }, Xn = (e, n) => e.version === 1 ? (e.fillDelay || 0) * 1e3 + cn(n) : (e.fillDelay || 0) * 1e3, xe = (e) => typeof window > "u" ? null : new URLSearchParams(window.location.search).get(e), jn = (e) => ln().filter((n) => n.name === e).map((n) => n.chainId), jt = (e, n, r) => {
1793
+ if (!g(e.srcAmountFilled || 0).gt(0) || !g(e.dstAmountFilled || 0).gt(0))
1794
1794
  return "";
1795
1795
  const y = he(n, e.srcAmountFilled), d = he(r, e.dstAmountFilled);
1796
- return E(d).div(y).toFixed();
1797
- }, jn = (e, n, r) => {
1796
+ return g(d).div(y).toFixed();
1797
+ }, Qn = jt, Yn = (e, n, r) => {
1798
1798
  if (e.type === q.TWAP_MARKET) return "";
1799
1799
  const y = he(n, e.srcAmountPerTrade), d = he(r, e.dstMinAmountPerTrade);
1800
- return E(d).div(y).toFixed();
1801
- }, Qn = (e, n, r) => {
1800
+ return g(d).div(y).toFixed();
1801
+ }, Zn = (e, n, r) => {
1802
1802
  if (e.type === q.TWAP_MARKET) return "";
1803
1803
  const y = he(n, e.srcAmountPerTrade), d = he(r, e.triggerPricePerTrade);
1804
- return E(d).div(y).toFixed();
1805
- }, Xt = "https://order-sink-dev.orbs.network", jt = "https://order-sink.orbs.network";
1804
+ return g(d).div(y).toFixed();
1805
+ }, Qt = "https://order-sink-dev.orbs.network", Yt = "https://order-sink.orbs.network";
1806
1806
  let Me;
1807
- const Yn = (e) => {
1807
+ const Jn = (e) => {
1808
1808
  Me = e;
1809
1809
  }, We = () => {
1810
1810
  const e = xe(
@@ -1812,9 +1812,9 @@ const Yn = (e) => {
1812
1812
  /* ENV */
1813
1813
  );
1814
1814
  return e === "prod" ? !1 : e === "dev" ? !0 : Me === "prod" ? !1 : Me === "dev";
1815
- }, Ze = () => We() ? Xt : jt, Zn = 100, Jn = 1, Ue = 300 * 1e3, Ee = 365 * 24 * 60 * 60 * 1e3, Ge = 300 * 1e3, Qt = new Date(
1816
- Ue
1817
- ).getMinutes(), Re = (e) => `https://hub.orbs.network/api/private/project_cm7nb67z86nyr01z12gs0fxpf/subgraphs/orbs-twap-${e}/prod/gn`, ne = "https://hub.orbs.network/api/apikey/subgraphs/id", Yt = {
1815
+ }, Ze = () => We() ? Qt : Yt, ea = 100, ta = 1, Le = 300 * 1e3, ge = 365 * 24 * 60 * 60 * 1e3, Ge = 300 * 1e3, Zt = new Date(
1816
+ Le
1817
+ ).getMinutes(), Re = (e) => `https://hub.orbs.network/api/private/project_cm7nb67z86nyr01z12gs0fxpf/subgraphs/orbs-twap-${e}/prod/gn`, ne = "https://hub.orbs.network/api/apikey/subgraphs/id", Jt = {
1818
1818
  [K.eth.id]: `${ne}/Bf7bvMYcJbDAvYWJmhMpHZ4cpFjqzkhK6GXXEpnPRq6`,
1819
1819
  [K.bsc.id]: `${ne}/4NfXEi8rreQsnAr4aJ45RLCKgnjcWX46Lbt9SadiCcz6`,
1820
1820
  [K.poly.id]: `${ne}/3PyRPWSvDnMowGbeBy7aNsvUkD5ZuxdXQw2RdJq4NdXi`,
@@ -1829,14 +1829,14 @@ const Yn = (e) => {
1829
1829
  [K.bera.id]: Re("berachain"),
1830
1830
  [K.flare.id]: Re("flare"),
1831
1831
  [K.cronosZkEvm.id]: Re("cronos-zkevm")
1832
- }, Zt = "0x0000000000000000000000000000000000000000", Jt = [
1833
- Zt,
1832
+ }, en = "0x0000000000000000000000000000000000000000", tn = [
1833
+ en,
1834
1834
  "0x0000000000000000000000000000000000001010",
1835
1835
  "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
1836
1836
  "0x000000000000000000000000000000000000dEaD",
1837
1837
  "0x000000000000000000000000000000000000800A",
1838
1838
  "0x000000000000000000000000000000000000800a"
1839
- ], ze = "115792089237316195423570985008687907853269984665640564039457584007913129639935", G = (e) => `${e.name}_${e.chainId}`, en = {
1839
+ ], ze = "115792089237316195423570985008687907853269984665640564039457584007913129639935", G = (e) => `${e.name}_${e.chainId}`, nn = {
1840
1840
  [G(_.SushiArb)]: [
1841
1841
  "0x846F2B29ef314bF3D667981b4ffdADc5B858312a",
1842
1842
  "0x08c41f5D1C844061f6D952E25827eeAA576c6536"
@@ -1887,8 +1887,8 @@ const Yn = (e) => {
1887
1887
  ]
1888
1888
  }, qe = {
1889
1889
  unit: ae.Minutes,
1890
- value: Qt
1891
- }, ea = 0.25, ta = "100", Je = "RePermitWitnessTransferFrom", tn = {
1890
+ value: Zt
1891
+ }, na = 0.25, aa = "100", Je = "RePermitWitnessTransferFrom", an = {
1892
1892
  RePermitWitnessTransferFrom: [
1893
1893
  {
1894
1894
  name: "permitted",
@@ -2013,7 +2013,7 @@ const Yn = (e) => {
2013
2013
  type: "uint256"
2014
2014
  }
2015
2015
  ]
2016
- }, nn = {
2016
+ }, sn = {
2017
2017
  RePermitWitnessTransferFrom: [
2018
2018
  {
2019
2019
  name: "permitted",
@@ -2143,122 +2143,126 @@ const Yn = (e) => {
2143
2143
  type: "uint256"
2144
2144
  }
2145
2145
  ]
2146
- }, na = "https://www.orbs.com/dtwap-and-dlimit-faq/", aa = "https://www.orbs.com/dtwap-and-dlimit-faq/#dSLTP", sa = "https://raw.githubusercontent.com/orbs-network/twap-ui/master/logo/orbslogo.svg", ra = "https://www.orbs.com/assets/img/common/logo.svg", ia = "https://www.orbs.com/", oa = "https://www.orbs.com/dtwap-dlimit-disclaimer";
2146
+ }, sa = "https://www.orbs.com/dtwap-and-dlimit-faq/", ra = "https://www.orbs.com/dtwap-and-dlimit-faq/#dSLTP", ia = "https://raw.githubusercontent.com/orbs-network/twap-ui/master/logo/orbslogo.svg", oa = "https://www.orbs.com/assets/img/common/logo.svg", da = "https://www.orbs.com/", ca = "https://www.orbs.com/dtwap-dlimit-disclaimer";
2147
2147
  var Te = /* @__PURE__ */ ((e) => (e.FRESHNESS = "freshness", e.MIN_CHUNK_SIZE_USD = "minChunkSizeUsd", e.ENV = "env", e.DURATION = "duration", e.IGNORE_ERRORS = "ignore-errors", e))(Te || {});
2148
- const da = "-5", ca = "10", pa = "-10", ua = "5", la = "Something went wrong";
2149
- function an(e) {
2148
+ const pa = "-5", ua = "10", la = "-10", fa = "5", ma = "Something went wrong";
2149
+ function rn(e) {
2150
2150
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2151
2151
  }
2152
- const sn = {
2152
+ const on = {
2153
2153
  1: { dex: { sushiswap: { type: "default:sushi", router: "0xAC4c6e212A361c968F1725b4d055b47E63F80b75", adapter: "0x3Ee50D79e6D0205f325928AAFb041b63E1767Bc5", fee: "0x28F6C9dBE21fFc146Af8d5D15c49Cf48F61140Dc" } } },
2154
2154
  14: { dex: { spark: { type: "default:spark", adapter: "0xB18c633B6584A33E45a8840a759f56dF17117b1D", fee: "0xaeA8C3e1a129A77686E115b1a46D9aD8405F7D2b" } } },
2155
- 56: { dex: { thena: { type: "default:odos-v2", adapter: "0xB75218ba5A99bF57Fd02556B70F05A4A0f1Dbe67", fee: "0x15eBc8b5b3877512FFF23650188694A9a8891FAc" }, pancake: { type: "p2:pancakeswap-v2", adapter: "0x654272F7e6e6E912D38650f783eFd44452fD6ee5", fee: "0x37A957f10F458e0d7fDECBE2917971b57F15c927" }, newera: { type: "default:odos-v2", adapter: "0x845f459271D800f6Ab32D78400b8Aa18414E80b0", fee: "0x4E7454909eB6D539111D56b50d68897E933D2d11" } } },
2155
+ 56: { dex: { agent: { type: "default:odos-v2", router: "0x89b8AA89FDd0507a99d334CBe3C808fAFC7d850E", adapter: "0x67Feba015c968c76cCB2EEabf197b4578640BE2C", fee: "0x03A70aC8126340d3cd6b5828816172693C398661" }, thena: { type: "default:odos-v2", adapter: "0xB75218ba5A99bF57Fd02556B70F05A4A0f1Dbe67", fee: "0x15eBc8b5b3877512FFF23650188694A9a8891FAc" }, pancake: { type: "p2:pancakeswap-v2", adapter: "0x654272F7e6e6E912D38650f783eFd44452fD6ee5", fee: "0x37A957f10F458e0d7fDECBE2917971b57F15c927" }, newera: { type: "default:odos-v2", adapter: "0x845f459271D800f6Ab32D78400b8Aa18414E80b0", fee: "0x4E7454909eB6D539111D56b50d68897E933D2d11" } } },
2156
2156
  137: { dex: { quick: { type: "paraswap:paraswap-v5", adapter: "0x023fD6848234f2655818705237F77F02215FEfe5", fee: "0xd207DC6a6dA88f27c8DB78201F974161b1d84b1f" }, teafi: { type: "paraswap:paraswap-v5", adapter: "0xe95db7a60164B112C64cE67bA8587b1d4a0E0D29", fee: "0x04Ff96e2c4D62b5771795d307AD679a25b3D2D50" } } },
2157
2157
  143: { dex: { yowie: { type: "default:openocean-v2", adapter: "0x18bc9533c3539073B9A9acF12b0AbF7cB73e0F1f", fee: "0x6AF3eE77A3A3257777F5649aFa611b4C7Fd975Ef" }, pangolin: { type: "default:kyber-v2", adapter: "0xd7D9CAA2910f49F37AC3447f5cAd27153944354A", fee: "0xde92da99D188Ceb54A11ec711EF52D808A6260B5" } } },
2158
2158
  146: { dex: { spooky: { type: "default:magpie-v3", adapter: "0xdCee7FDdB932104329d528144Cd17A408722B7e2", fee: "0x840Df4684B35BC68BcdA3F6707A3c82A0D662f8b" }, swapx: { type: "default:openocean-v2", adapter: "0xecc733D6F6f2DEa341832D650E30822118884FEb", fee: "0x6E03f7BC0f141894612AA017796096399623895F" }, shadow: { type: "default:magpie-v3", adapter: "0x5f3E5F6ACCfc65243A01Da3E93b5A700285592C3", fee: "0xb9e3751fAF3187E1bC468E56a707a8A91754460e" } } },
2159
2159
  1329: { dex: { dragon: { type: "default:dragon", adapter: "0x02d9d5882129241b67ec21Ebc2C86e1BE9BC9890", fee: "0x0dc1E0525202b32e89bA78ed55b1e5cEdB751334" }, nami: { type: "default:openocean-v2", adapter: "0x2D4A1237A98f8cb03C3C85960e859aA44036a306", fee: "0xeB58450e23632003f013568703F54446070E2E80" } } },
2160
2160
  8453: { dex: { quick: { type: "default:kyber-v2", adapter: "0xc73F03c929A123Ee2f3A98EC18BB240f03980AE5", fee: "0xd207DC6a6dA88f27c8DB78201F974161b1d84b1f" }, sushiswap: { type: "default:sushi", router: "0xAC4c6e212A361c968F1725b4d055b47E63F80b75", adapter: "0x3Ee50D79e6D0205f325928AAFb041b63E1767Bc5", fee: "0x28F6C9dBE21fFc146Af8d5D15c49Cf48F61140Dc" } } },
2161
- 42161: { dex: { arbidex: { type: "default:odos-v2", adapter: "0xa734b32151108139e48dCA06eE721538d90A9Ef6", fee: "0xa0c11852f8A44e32F9EC10AD25986A53842f72Ca" }, ramses: { type: "paraswap:paraswap-v5", adapter: "0x023fD6848234f2655818705237F77F02215FEfe5", fee: "0xB5BaCB60ECDa0bEF809B2A26eC9B4B926835D7af" }, omni: { type: "paraswap:paraswap-v5", adapter: "0xa1baE146161223cd9dCa7137F68eb385934130BE", fee: "0xba5291526c30B097E9F1Fd1Be301E2ab6E0782aa" }, chronos: { type: "default:odos-v2", adapter: "0x4Ff90F32aceD08b3e3257B018EA495Fd1Bfe4455", fee: "0x5729af83240EFecAa18eafaAE82961c2DD045Dbe" }, sushiswap: { type: "default:sushi", router: "0xAC4c6e212A361c968F1725b4d055b47E63F80b75", adapter: "0x3Ee50D79e6D0205f325928AAFb041b63E1767Bc5", fee: "0x28F6C9dBE21fFc146Af8d5D15c49Cf48F61140Dc" } } },
2161
+ 42161: { dex: { agent: { type: "default:odos-v2", router: "0xa669e7A0d4b3e4Fa48af2dE86BD4CD7126Be4e13", adapter: "0x026B8977319F67078e932a08feAcB59182B5380f", fee: "0x03A70aC8126340d3cd6b5828816172693C398661" }, arbidex: { type: "default:odos-v2", adapter: "0xa734b32151108139e48dCA06eE721538d90A9Ef6", fee: "0xa0c11852f8A44e32F9EC10AD25986A53842f72Ca" }, ramses: { type: "paraswap:paraswap-v5", adapter: "0x023fD6848234f2655818705237F77F02215FEfe5", fee: "0xB5BaCB60ECDa0bEF809B2A26eC9B4B926835D7af" }, omni: { type: "paraswap:paraswap-v5", adapter: "0xa1baE146161223cd9dCa7137F68eb385934130BE", fee: "0xba5291526c30B097E9F1Fd1Be301E2ab6E0782aa" }, chronos: { type: "default:odos-v2", adapter: "0x4Ff90F32aceD08b3e3257B018EA495Fd1Bfe4455", fee: "0x5729af83240EFecAa18eafaAE82961c2DD045Dbe" }, sushiswap: { type: "default:sushi", router: "0xAC4c6e212A361c968F1725b4d055b47E63F80b75", adapter: "0x3Ee50D79e6D0205f325928AAFb041b63E1767Bc5", fee: "0x28F6C9dBE21fFc146Af8d5D15c49Cf48F61140Dc" } } },
2162
2162
  43114: { dex: { blackhole: { type: "default:kyber-v2", adapter: "0x426ec4bc0d58B80959CDE77576a1942dd40592Fa", fee: "0x7f8B62520D9B5DA0ED517cc36e8dcb2a356f1928" }, pangolin: { type: "default:kyber-v2", adapter: "0xd7D9CAA2910f49F37AC3447f5cAd27153944354A", fee: "0xde92da99D188Ceb54A11ec711EF52D808A6260B5" } } },
2163
2163
  59144: { dex: { lynex: { type: "default:openocean", adapter: "0x4FF6A97A67fe395212f168f011D71fE79E4396f2", fee: "0xcb36ed1B1BfAD8F7FC9651f52d21f04A68677423" } } },
2164
2164
  80094: { dex: { kodiak: { type: "default:kodiak", adapter: "0xBbaa527Aac00b1Ee9A3909D4D8c4447630E29B1F", fee: "0xBA47Ec15aFbCF6e7e9F52900632049530bB6bAe4" } } },
2165
2165
  747474: { dex: { sushiswap: { type: "default:sushi", router: "0xAC4c6e212A361c968F1725b4d055b47E63F80b75", adapter: "0x3Ee50D79e6D0205f325928AAFb041b63E1767Bc5", fee: "0x28F6C9dBE21fFc146Af8d5D15c49Cf48F61140Dc" } } },
2166
- "*": { wm: "0x0005d5cE0dB57e5BE3b2b8b6FeB75f0ccd015000", repermit: "0x00002a9C4D9497df5Bd31768eC5d30eEf5405000", cosigner: "0x0007ec53404c423C935e830ec21903e184690000", reactor: "0x0006a959430e8fBB858D81B2D1140B0ae5c26001", executor: "0x000eBA869d76C618ddc4A6D685A0820A620Ce002", refinery: "0x000E474c0D7084EAA35A501035E73269f4b009A5", salt: { wm: "0xc9b46eae42dfeba3222a0315bf682f33cd5cc9d60c9625642e88406f8415f152", repermit: "0x4871dc9008e605821ea9677b65ea2a60ffb774afb31e0dcaea2e192880096be7", cosigner: "0x37576f2ac1d2a602f00777611edf6f0cbc27611b0980b29bc7856fa79b2b8073", reactor: "0x034169222370f2fd587ef8998082d762cceef58a272330215f5110ec0d76d400", executor: "0xea139bc421fa5e272bed3db74233b2e02077e0aacf8b855f87961e98f2fb467f", refinery: "0x9746de29f1dd31b2c8460d71e92a7aefa34911130e61f274f37776e598c48bec" } }
2166
+ "*": { wm: "0x0005d5cE0dB57e5BE3b2b8b6FeB75f0ccd015000", repermit: "0x00002a9C4D9497df5Bd31768eC5d30eEf5405000", cosigner: "0x000ECFa392ecDEfEE6e2a5C095d39B7A32f1E000", reactor: "0x000000b33fE4fB9d999Dd684F79b110731c3d000", executor: "0x000642A0966d9bd49870D9519f76b5cf823f3000", refinery: "0x000E474c0D7084EAA35A501035E73269f4b009A5", salt: { wm: "0xc9b46eae42dfeba3222a0315bf682f33cd5cc9d60c9625642e88406f8415f152", repermit: "0x4871dc9008e605821ea9677b65ea2a60ffb774afb31e0dcaea2e192880096be7", cosigner: "0x1117fe6f4e25c9380d10b2b3314a1e9b33e5f65ba0e55e0c63d0640db0dd60a2", reactor: "0xec73677f3a465a9755d4c9eab9509b59a24613fdb8b78719682930373e9876f5", executor: "0x9abc67d936f79e493f1f14050c2f6adb87ec208ff7aaae2e7ae788a7cb4796d7", refinery: "0x9746de29f1dd31b2c8460d71e92a7aefa34911130e61f274f37776e598c48bec" } }
2167
2167
  };
2168
2168
  var Pe, Xe;
2169
- function rn() {
2169
+ function dn() {
2170
2170
  if (Xe) return Pe;
2171
2171
  Xe = 1;
2172
- const e = sn, n = (d) => an(`./out/${d}.sol/${d}.json`).abi, r = () => ({
2172
+ const e = on, n = (d) => rn(`./out/${d}.sol/${d}.json`).abi, r = () => ({
2173
2173
  wm: n("WM"),
2174
2174
  repermit: n("RePermit"),
2175
2175
  reactor: n("OrderReactor"),
2176
2176
  executor: n("Executor"),
2177
2177
  refinery: n("Refinery"),
2178
+ settler: n("Settler"),
2178
2179
  adapter: n("DefaultDexAdapter")
2179
2180
  });
2180
2181
  function y(d, h) {
2181
- if (!d || !(h != null && h.trim())) return;
2182
- const { dex: g, ...x } = e["*"] ?? {}, w = e[d];
2182
+ if (!d) return;
2183
+ const { dex: E, ...x } = e["*"] ?? {}, w = e[d];
2183
2184
  if (!w) return;
2184
- const { dex: D, ...k } = w, T = D == null ? void 0 : D[h];
2185
+ const { dex: D, ...k } = w;
2186
+ if (!(h != null && h.trim()))
2187
+ return { ...x, ...k };
2188
+ const T = D == null ? void 0 : D[h];
2185
2189
  if (T)
2186
2190
  return { ...x, ...k, ...T };
2187
2191
  }
2188
2192
  return Pe = { config: y, abis: r, raw: e }, Pe;
2189
2193
  }
2190
- var et = rn();
2191
- const fa = (e, n, r) => {
2194
+ var et = dn();
2195
+ const ya = (e, n, r) => {
2192
2196
  if (!e || !n || !r) return;
2193
- const y = E(e).times(n), d = E(10).pow(r);
2197
+ const y = g(e).times(n), d = g(10).pow(r);
2194
2198
  return y.div(d).toFixed(0);
2195
- }, ma = (e, n, r, y) => {
2199
+ }, ha = (e, n, r, y) => {
2196
2200
  if (r || !y || !e || !n)
2197
- return E(0).toString();
2198
- const d = E(e).times(E(n)), h = E(10).pow(y), g = d.div(h);
2199
- return E.max(1, g).integerValue(E.ROUND_FLOOR).toFixed(0);
2200
- }, ya = (e, n, r, y) => {
2201
+ return g(0).toString();
2202
+ const d = g(e).times(g(n)), h = g(10).pow(y), E = d.div(h);
2203
+ return g.max(1, E).integerValue(g.ROUND_FLOOR).toFixed(0);
2204
+ }, Aa = (e, n, r, y) => {
2201
2205
  if (e === z.TWAP || e === z.LIMIT)
2202
2206
  return "0";
2203
2207
  if (!y || !n || !r) return;
2204
- const d = E(n).times(E(r)), h = E(10).pow(y), g = d.div(h);
2205
- return E.max(1, g).integerValue(E.ROUND_FLOOR).toFixed(0) || "0";
2206
- }, ha = (e, n, r, y) => {
2207
- const d = le(r) * 2 * n, h = xe(Te.DURATION), g = Kt(h ? Number(h) : d);
2208
- return h ? { unit: g, value: Number(E(Number(h) / g).toFixed(2)) } : y || (e === z.LIMIT ? { unit: ae.Days, value: 7 } : e === z.STOP_LOSS || e === z.TAKE_PROFIT ? { unit: ae.Days, value: 1 } : { unit: g, value: Number(E(d / g).toFixed(2)) });
2209
- }, Aa = (e, n, r) => n !== z.TWAP ? 1 : r !== void 0 ? r : e, ba = (e, n, r, y) => {
2208
+ const d = g(n).times(g(r)), h = g(10).pow(y), E = d.div(h);
2209
+ return g.max(1, E).integerValue(g.ROUND_FLOOR).toFixed(0) || "0";
2210
+ }, ba = (e, n, r, y) => {
2211
+ const d = le(r) * 2 * n, h = xe(Te.DURATION), E = Gt(h ? Number(h) : d);
2212
+ return h ? { unit: E, value: Number(g(Number(h) / E).toFixed(2)) } : y || (e === z.LIMIT ? { unit: ae.Days, value: 7 } : e === z.STOP_LOSS || e === z.TAKE_PROFIT ? { unit: ae.Days, value: 1 } : { unit: E, value: Number(g(d / E).toFixed(2)) });
2213
+ }, Ea = (e, n, r) => n !== z.TWAP ? 1 : r !== void 0 ? r : e, ga = (e, n, r, y) => {
2210
2214
  if (!n || !r || !y) return 1;
2211
- const h = E(r).times(n).div(y).integerValue(E.ROUND_FLOOR).toNumber(), g = Math.floor(
2212
- Ee / 2 / le(e)
2215
+ const h = g(r).times(n).div(y).integerValue(g.ROUND_FLOOR).toNumber(), E = Math.floor(
2216
+ ge / 2 / le(e)
2213
2217
  );
2214
- return Math.max(1, Math.min(h, g));
2215
- }, ga = (e, n) => e + le(n) + 6e4, on = (e) => e.bidDelaySeconds * 1e3 * 2, Ea = (e = "", n = 0) => !e || !n ? "0" : E(e).div(n).integerValue(E.ROUND_FLOOR).toFixed(0), xa = (e, n) => ({
2216
- isError: !(e.unit === qe.unit && e.value === qe.value) && le(e) * n > Ee,
2217
- value: Math.floor(Ee / n)
2218
- }), Ta = (e = "", n = "", r) => {
2218
+ return Math.max(1, Math.min(h, E));
2219
+ }, xa = (e, n) => e + le(n) + 6e4, cn = (e) => e.bidDelaySeconds * 1e3 * 2, Ta = (e = "", n = 0) => !e || !n ? "0" : g(e).div(n).integerValue(g.ROUND_FLOOR).toFixed(0), wa = (e, n) => ({
2220
+ isError: !(e.unit === qe.unit && e.value === qe.value) && le(e) * n > ge,
2221
+ value: Math.floor(ge / n)
2222
+ }), Fa = (e = "", n = "", r) => {
2219
2223
  if (r === z.STOP_LOSS)
2220
2224
  return {
2221
- isError: E(n || 0).gte(E(e || 0)),
2225
+ isError: g(n || 0).gte(g(e || 0)),
2222
2226
  value: e
2223
2227
  };
2224
- }, wa = (e = "", n = "", r) => {
2228
+ }, Ca = (e = "", n = "", r) => {
2225
2229
  if (r === z.TAKE_PROFIT)
2226
2230
  return {
2227
- isError: E(n || 0).lte(E(e || 0)),
2231
+ isError: g(n || 0).lte(g(e || 0)),
2228
2232
  value: e
2229
2233
  };
2230
- }, Fa = (e = "", n = "", r = !1, y) => {
2234
+ }, Da = (e = "", n = "", r = !1, y) => {
2231
2235
  if (!r && y === z.STOP_LOSS)
2232
2236
  return {
2233
- isError: E(n || 0).gte(E(e || 0)),
2237
+ isError: g(n || 0).gte(g(e || 0)),
2234
2238
  value: e
2235
2239
  };
2236
- }, Ca = (e = "", n = "", r = !1, y) => {
2240
+ }, Sa = (e = "", n = "", r = !1, y) => {
2237
2241
  if (!r && y === z.TAKE_PROFIT)
2238
2242
  return {
2239
- isError: E(n || 0).gte(E(e || 0)),
2243
+ isError: g(n || 0).gte(g(e || 0)),
2240
2244
  value: e
2241
2245
  };
2242
- }, Da = (e, n) => e === z.STOP_LOSS || e === z.TAKE_PROFIT ? {
2246
+ }, ka = (e, n) => e === z.STOP_LOSS || e === z.TAKE_PROFIT ? {
2243
2247
  isError: le(n) > 5184e6,
2244
2248
  value: 5184e6
2245
2249
  } : {
2246
- isError: le(n) > Ee,
2250
+ isError: le(n) > ge,
2247
2251
  // 365 days
2248
- value: Ee
2249
- }, Sa = (e) => ({
2252
+ value: ge
2253
+ }, Ba = (e) => ({
2250
2254
  isError: le(e) < Ge,
2251
2255
  value: Ge
2252
- }), ka = (e) => ({
2253
- isError: le(e) < Ue,
2254
- value: Ue
2255
- }), Ba = (e, n, r) => ({
2256
- isError: E(n || 0).multipliedBy(e || 0).isLessThan(r),
2256
+ }), _a = (e) => ({
2257
+ isError: le(e) < Le,
2258
+ value: Le
2259
+ }), Oa = (e, n, r) => ({
2260
+ isError: g(n || 0).multipliedBy(e || 0).isLessThan(r),
2257
2261
  value: r
2258
- }), _a = (e, n, r) => ({
2259
- isError: r === z.TWAP && E(e).isGreaterThan(n),
2262
+ }), va = (e, n, r) => ({
2263
+ isError: r === z.TWAP && g(e).isGreaterThan(n),
2260
2264
  value: n
2261
- }), dn = (e, n) => {
2265
+ }), pn = (e, n) => {
2262
2266
  if (e === pe.Pancake)
2263
2267
  switch (n) {
2264
2268
  case 56:
@@ -2331,59 +2335,59 @@ const fa = (e, n, r) => {
2331
2335
  default:
2332
2336
  return _.BlackholeAvax;
2333
2337
  }
2334
- }, cn = (e, n = 0) => {
2338
+ }, un = (e, n = 0) => {
2335
2339
  const { abi: r, ...y } = et.config(n, e);
2336
2340
  return {
2337
2341
  ...y,
2338
2342
  partner: e,
2339
- twapConfig: dn(e, n)
2343
+ twapConfig: pn(e, n)
2340
2344
  };
2341
- }, pn = () => {
2345
+ }, ln = () => {
2342
2346
  const e = et.raw;
2343
2347
  return Object.entries(e).filter(([n]) => n !== "*").flatMap(([n, r]) => {
2344
2348
  const y = r == null ? void 0 : r.dex;
2345
2349
  return !y || typeof y != "object" ? [] : Object.entries(y).map(([d]) => ({
2346
2350
  chainId: Number(n),
2347
2351
  name: d,
2348
- config: cn(d, Number(n))
2352
+ config: un(d, Number(n))
2349
2353
  }));
2350
2354
  }).sort((n, r) => n.name.localeCompare(r.name));
2351
- }, Oa = (e) => {
2355
+ }, Ra = (e) => {
2352
2356
  const n = xe(
2353
2357
  Te.MIN_CHUNK_SIZE_USD
2354
2358
  );
2355
2359
  return n ? parseInt(n) : e;
2356
- }, va = ({
2360
+ }, Pa = ({
2357
2361
  marketPrice: e,
2358
2362
  typedInputAmount: n,
2359
2363
  srcUsd1Token: r,
2360
2364
  marketPriceLoading: y,
2361
2365
  triggerPriceError: d,
2362
2366
  limitPriceError: h,
2363
- tradesError: g,
2367
+ tradesError: E,
2364
2368
  fillDelayError: x,
2365
2369
  durationError: w,
2366
2370
  balanceError: D,
2367
2371
  minTradeSizeError: k
2368
2372
  }) => {
2369
- if (!xe(Te.IGNORE_ERRORS) && !(E(e || 0).isZero() || E(n || 0).isZero() || E(r || "0").isZero() || y))
2370
- return k || d || h || g || x || w || D;
2373
+ if (!xe(Te.IGNORE_ERRORS) && !(g(e || 0).isZero() || g(n || 0).isZero() || g(r || "0").isZero() || y))
2374
+ return k || d || h || E || x || w || D;
2371
2375
  }, tt = (e, n) => {
2372
- const r = Date.now().toString(), y = parseInt((e / 1e3).toFixed(0)), d = Gt(n / 1e3), h = xe(Te.FRESHNESS), g = h ? parseInt(h) : 60;
2376
+ const r = Date.now().toString(), y = parseInt((e / 1e3).toFixed(0)), d = qt(n / 1e3), h = xe(Te.FRESHNESS), E = h ? parseInt(h) : 60;
2373
2377
  return {
2374
2378
  nonce: r,
2375
2379
  epoch: y,
2376
2380
  deadline: d,
2377
- freshness: g
2381
+ freshness: E
2378
2382
  };
2379
- }, un = ({
2383
+ }, fn = ({
2380
2384
  chainId: e,
2381
2385
  srcToken: n,
2382
2386
  dstToken: r,
2383
2387
  srcAmount: y,
2384
2388
  deadlineMillis: d,
2385
2389
  fillDelayMillis: h,
2386
- slippage: g,
2390
+ slippage: E,
2387
2391
  account: x,
2388
2392
  srcAmountPerTrade: w,
2389
2393
  dstMinAmountPerTrade: D = "0",
@@ -2417,7 +2421,7 @@ const fa = (e, n, r) => {
2417
2421
  chainid: e,
2418
2422
  exclusivity: 0,
2419
2423
  epoch: I,
2420
- slippage: g,
2424
+ slippage: E,
2421
2425
  freshness: ee,
2422
2426
  input: {
2423
2427
  token: n,
@@ -2426,8 +2430,8 @@ const fa = (e, n, r) => {
2426
2430
  },
2427
2431
  output: {
2428
2432
  token: r,
2429
- limit: E(b || 0).toFixed(),
2430
- stop: E(fe || 0).toFixed(),
2433
+ limit: g(b || 0).toFixed(),
2434
+ stop: g(fe || 0).toFixed(),
2431
2435
  recipient: x
2432
2436
  }
2433
2437
  }
@@ -2440,17 +2444,17 @@ const fa = (e, n, r) => {
2440
2444
  verifyingContract: T.repermit
2441
2445
  },
2442
2446
  order: me,
2443
- types: tn,
2447
+ types: an,
2444
2448
  primaryType: Je
2445
2449
  };
2446
- }, ln = ({
2450
+ }, mn = ({
2447
2451
  chainId: e,
2448
2452
  srcToken: n,
2449
2453
  dstToken: r,
2450
2454
  srcAmount: y,
2451
2455
  deadlineMillis: d,
2452
2456
  fillDelayMillis: h,
2453
- slippage: g,
2457
+ slippage: E,
2454
2458
  account: x,
2455
2459
  srcAmountPerTrade: w,
2456
2460
  dstMinAmountPerTrade: D = "0",
@@ -2485,7 +2489,7 @@ const fa = (e, n, r) => {
2485
2489
  chainid: e,
2486
2490
  exclusivity: 0,
2487
2491
  epoch: I,
2488
- slippage: g,
2492
+ slippage: E,
2489
2493
  freshness: ee,
2490
2494
  input: {
2491
2495
  token: n,
@@ -2494,9 +2498,9 @@ const fa = (e, n, r) => {
2494
2498
  },
2495
2499
  output: {
2496
2500
  token: r,
2497
- limit: E(b || 0).toFixed(),
2498
- triggerLower: E(me || 0).toFixed(),
2499
- triggerUpper: E(Ae || 0).toFixed(),
2501
+ limit: g(b || 0).toFixed(),
2502
+ triggerLower: g(me || 0).toFixed(),
2503
+ triggerUpper: g(Ae || 0).toFixed(),
2500
2504
  recipient: x
2501
2505
  }
2502
2506
  }
@@ -2509,22 +2513,22 @@ const fa = (e, n, r) => {
2509
2513
  verifyingContract: T.repermit
2510
2514
  },
2511
2515
  order: be,
2512
- types: nn,
2516
+ types: sn,
2513
2517
  primaryType: Je
2514
2518
  };
2515
- }, Ra = (e) => We() ? ln(e) : un(e), fn = "1.9.3", mn = {
2516
- version: fn
2517
- }, yn = 0.7, hn = `https://bi.orbs.network/putes/twap-ui-${yn}`, nt = mn.version;
2518
- let Le = "unknown";
2519
- function Pa(e) {
2520
- Le = e;
2519
+ }, Ia = (e) => We() ? mn(e) : fn(e), yn = "1.9.4", hn = {
2520
+ version: yn
2521
+ }, An = 0.7, bn = `https://bi.orbs.network/putes/twap-ui-${An}`, nt = hn.version;
2522
+ let Ue = "unknown";
2523
+ function Na(e) {
2524
+ Ue = e;
2521
2525
  }
2522
2526
  function Ie() {
2523
2527
  const e = Math.random().toString(36).substring(2, 16), n = Math.random().toString(36).substring(2, 16), r = Date.now().toString(36);
2524
2528
  return `id_${e + n + r}`;
2525
2529
  }
2526
- const An = (e, n, r) => {
2527
- var y, d, h, g, x, w, D, k, T;
2530
+ const En = (e, n, r) => {
2531
+ var y, d, h, E, x, w, D, k, T;
2528
2532
  return {
2529
2533
  spotVersion: nt,
2530
2534
  partner: e.partner,
@@ -2542,7 +2546,7 @@ const An = (e, n, r) => {
2542
2546
  chainId: r || 0,
2543
2547
  twapVersion: ((d = e.twapConfig) == null ? void 0 : d.twapVersion) || 0,
2544
2548
  twapAddress: ((h = e.twapConfig) == null ? void 0 : h.twapAddress) || "",
2545
- lensAddress: ((g = e.twapConfig) == null ? void 0 : g.lensAddress) || "",
2549
+ lensAddress: ((E = e.twapConfig) == null ? void 0 : E.lensAddress) || "",
2546
2550
  bidDelaySeconds: ((x = e.twapConfig) == null ? void 0 : x.bidDelaySeconds) || 0,
2547
2551
  minChunkSizeUsd: n,
2548
2552
  name: ((w = e.twapConfig) == null ? void 0 : w.name) || "",
@@ -2552,7 +2556,7 @@ const An = (e, n, r) => {
2552
2556
  };
2553
2557
  }, je = async (e) => {
2554
2558
  try {
2555
- await fetch(hn, {
2559
+ await fetch(bn, {
2556
2560
  method: "POST",
2557
2561
  headers: {
2558
2562
  Accept: "application/json",
@@ -2564,7 +2568,7 @@ const An = (e, n, r) => {
2564
2568
  console.error("Failed to send BI", n);
2565
2569
  }
2566
2570
  };
2567
- class bn {
2571
+ class gn {
2568
2572
  constructor() {
2569
2573
  Fe(this, "timeout");
2570
2574
  Fe(this, "config");
@@ -2644,7 +2648,7 @@ class bn {
2644
2648
  module: y,
2645
2649
  srcToken: d,
2646
2650
  dstToken: h,
2647
- fromTokenAmount: g,
2651
+ fromTokenAmount: E,
2648
2652
  srcChunkAmount: x,
2649
2653
  minDstAmountOutPerTrade: w = "",
2650
2654
  triggerPricePerTrade: D = "",
@@ -2659,7 +2663,7 @@ class bn {
2659
2663
  toTokenSymbol: h.symbol,
2660
2664
  fromTokenAddress: d.address,
2661
2665
  fromTokenSymbol: d.symbol,
2662
- fromTokenAmount: g,
2666
+ fromTokenAmount: E,
2663
2667
  chunksAmount: I,
2664
2668
  srcChunkAmount: x,
2665
2669
  minDstAmountOutPerTrade: w,
@@ -2694,8 +2698,8 @@ class bn {
2694
2698
  this.config = n, y !== ((d = this.data) == null ? void 0 : d.chainId) && (this.data = {
2695
2699
  _id: Ie(),
2696
2700
  action: "module-import",
2697
- uiVersion: Le,
2698
- ...An(n, r, y),
2701
+ uiVersion: Ue,
2702
+ ...En(n, r, y),
2699
2703
  origin: window.location.origin
2700
2704
  }, this.updateAndSend(this.data));
2701
2705
  }
@@ -2718,7 +2722,7 @@ class bn {
2718
2722
  this.data = {
2719
2723
  _id: Ie(),
2720
2724
  action: "reset",
2721
- uiVersion: Le,
2725
+ uiVersion: Ue,
2722
2726
  origin: this.data.origin,
2723
2727
  spotVersion: nt,
2724
2728
  partner: this.data.partner,
@@ -2754,15 +2758,15 @@ class bn {
2754
2758
  });
2755
2759
  }
2756
2760
  }
2757
- const Ne = new bn(), gn = (e) => {
2761
+ const Ne = new gn(), xn = (e) => {
2758
2762
  var x;
2759
- const n = E(e.order.witness.output.limit || 0).gt(1), r = e.order.witness.output.stop, y = e.order.witness.output.triggerUpper, d = E(r || 0).eq(ze) || E(y || 0).gt(0), h = E(r || 0).gt(0), g = ((x = e.metadata.chunks) == null ? void 0 : x.length) || E(e.order.witness.input.maxAmount).div(E(e.order.witness.input.amount)).toNumber();
2760
- return d ? q.TAKE_PROFIT : h ? n ? q.STOP_LOSS_LIMIT : q.STOP_LOSS_MARKET : n ? g > 1 && n ? q.TWAP_LIMIT : n ? q.LIMIT : q.TWAP_MARKET : q.TWAP_MARKET;
2761
- }, En = (e) => {
2763
+ const n = g(e.order.witness.output.limit || 0).gt(1), r = e.order.witness.output.stop, y = e.order.witness.output.triggerUpper, d = g(r || 0).eq(ze) || g(y || 0).gt(0), h = g(r || 0).gt(0), E = ((x = e.metadata.chunks) == null ? void 0 : x.length) || g(e.order.witness.input.maxAmount).div(g(e.order.witness.input.amount)).toNumber();
2764
+ return d ? q.TAKE_PROFIT : h ? n ? q.STOP_LOSS_LIMIT : q.STOP_LOSS_MARKET : n ? E > 1 && n ? q.TWAP_LIMIT : n ? q.LIMIT : q.TWAP_MARKET : q.TWAP_MARKET;
2765
+ }, Tn = (e) => {
2762
2766
  var d;
2763
- const n = ((d = e.metadata.chunks) == null ? void 0 : d.filter((h) => h.status === "success").length) || 0, r = e.metadata.expectedChunks || 0, y = E(n).dividedBy(r).toNumber();
2767
+ const n = ((d = e.metadata.chunks) == null ? void 0 : d.filter((h) => h.status === "success").length) || 0, r = e.metadata.expectedChunks || 0, y = g(n).dividedBy(r).toNumber();
2764
2768
  return y >= 0.99 ? 100 : y <= 0 ? 0 : Number((y * 100).toFixed(2));
2765
- }, xn = (e, n) => e.metadata.status === "completed" || n >= 99 ? re.Completed : ["pending", "eligible"].includes(e.metadata.status) ? re.Open : e.metadata.description.toLowerCase() === "cancelled by contract" ? re.Canceled : re.Expired, Tn = (e) => {
2769
+ }, wn = (e, n) => e.metadata.status === "completed" || n >= 99 ? re.Completed : ["pending", "eligible"].includes(e.metadata.status) ? re.Open : e.metadata.description.toLowerCase() === "cancelled by contract" ? re.Canceled : re.Expired, Fn = (e) => {
2766
2770
  var r;
2767
2771
  return (((r = e.metadata.chunks) == null ? void 0 : r.filter((y) => y.status === "success")) || []).map((y) => ({
2768
2772
  inAmount: y.inAmount,
@@ -2770,56 +2774,56 @@ const Ne = new bn(), gn = (e) => {
2770
2774
  timestamp: new Date(y.timestamp).getTime(),
2771
2775
  txHash: y.txHash
2772
2776
  }));
2773
- }, wn = (e, n) => {
2777
+ }, Cn = (e, n) => {
2774
2778
  var y;
2775
2779
  const r = e.length;
2776
2780
  return r >= n && ((y = e[r - 1]) == null ? void 0 : y.timestamp) || 0;
2777
- }, Fn = (e) => E(e.metadata.displayOnlyInputTokenPriceUSD).dividedBy(1e18).toFixed(), $e = (e) => Number(e.order.witness.output.limit) === 1 ? "" : e.order.witness.output.limit, Cn = (e) => {
2781
+ }, Dn = (e) => g(e.metadata.displayOnlyInputTokenPriceUSD).dividedBy(1e18).toFixed(), $e = (e) => Number(e.order.witness.output.limit) === 1 ? "" : e.order.witness.output.limit, Sn = (e) => {
2778
2782
  const {
2779
2783
  triggerLower: n = "0",
2780
2784
  triggerUpper: r = "0"
2781
- } = e.order.witness.output, y = $e(e), d = e.metadata.expectedChunks || 1, h = E(r || 0).gt(0);
2785
+ } = e.order.witness.output, y = $e(e), d = e.metadata.expectedChunks || 1, h = g(r || 0).gt(0);
2782
2786
  return {
2783
2787
  dstMinAmountPerTrade: y,
2784
2788
  triggerPricePerTrade: h ? r : n,
2785
- dstMinAmountTotal: E(y).multipliedBy(d).toFixed()
2789
+ dstMinAmountTotal: g(y).multipliedBy(d).toFixed()
2786
2790
  };
2787
- }, Dn = (e) => {
2788
- const n = $e(e), r = E(e.order.witness.output.stop || 0).eq(ze), y = e.metadata.expectedChunks || 1;
2791
+ }, kn = (e) => {
2792
+ const n = $e(e), r = g(e.order.witness.output.stop || 0).eq(ze), y = e.metadata.expectedChunks || 1;
2789
2793
  return {
2790
2794
  dstMinAmountPerTrade: r ? "" : n,
2791
- triggerPricePerTrade: r ? n : E(e.order.witness.output.stop || "").toFixed(),
2792
- dstMinAmountTotal: r ? "" : E(n).multipliedBy(y).toFixed()
2795
+ triggerPricePerTrade: r ? n : g(e.order.witness.output.stop || "").toFixed(),
2796
+ dstMinAmountTotal: r ? "" : g(n).multipliedBy(y).toFixed()
2793
2797
  };
2794
- }, Sn = (e) => We() ? Cn(e) : Dn(e), at = (e) => {
2795
- const n = En(e), r = $e(e), y = e.metadata.expectedChunks || 1, d = Tn(e);
2798
+ }, Bn = (e) => We() ? Sn(e) : kn(e), at = (e) => {
2799
+ const n = Tn(e), r = $e(e), y = e.metadata.expectedChunks || 1, d = Fn(e);
2796
2800
  return {
2797
2801
  id: e.hash,
2798
2802
  hash: e.hash,
2799
2803
  version: 2,
2800
- type: gn(e),
2804
+ type: xn(e),
2801
2805
  maker: e.order.witness.swapper,
2802
2806
  progress: n,
2803
- srcAmountFilled: d.reduce((h, g) => h.plus(g.inAmount), new E(0)).toFixed() || "",
2804
- dstAmountFilled: d.reduce((h, g) => h.plus(g.outAmount), new E(0)).toFixed() || "",
2807
+ srcAmountFilled: d.reduce((h, E) => h.plus(E.inAmount), new g(0)).toFixed() || "",
2808
+ dstAmountFilled: d.reduce((h, E) => h.plus(E.outAmount), new g(0)).toFixed() || "",
2805
2809
  fills: d,
2806
2810
  srcTokenAddress: e.order.witness.input.token,
2807
2811
  dstTokenAddress: e.order.witness.output.token,
2808
- orderDollarValueIn: Fn(e),
2812
+ orderDollarValueIn: Dn(e),
2809
2813
  fillDelay: e.order.witness.epoch * 1e3,
2810
2814
  deadline: Number(e.order.deadline) * 1e3,
2811
2815
  createdAt: new Date(e.timestamp).getTime(),
2812
2816
  srcAmount: e.order.witness.input.maxAmount,
2813
2817
  srcAmountPerTrade: e.order.witness.input.amount,
2814
2818
  totalTradesAmount: y,
2815
- isMarketPrice: E(r || 0).lte(1),
2819
+ isMarketPrice: g(r || 0).lte(1),
2816
2820
  chainId: e.order.witness.chainid,
2817
- filledOrderTimestamp: wn(d, y),
2818
- status: xn(e, n),
2821
+ filledOrderTimestamp: Cn(d, y),
2822
+ status: wn(e, n),
2819
2823
  rawOrder: e,
2820
- ...Sn(e)
2824
+ ...Bn(e)
2821
2825
  };
2822
- }, kn = async ({
2826
+ }, _n = async ({
2823
2827
  chainId: e,
2824
2828
  signal: n,
2825
2829
  account: r,
@@ -2837,28 +2841,30 @@ const Ne = new bn(), gn = (e) => {
2837
2841
  } catch {
2838
2842
  return [];
2839
2843
  }
2840
- }, Ia = async (e, n) => {
2844
+ }, Ma = async (e, n) => {
2841
2845
  try {
2842
2846
  const r = {
2843
2847
  signature: n,
2844
2848
  order: e,
2845
2849
  status: "pending"
2846
2850
  };
2847
- console.log("body", r), Ne.onCreateOrderRequest();
2848
- const d = await (await fetch(`${Ze()}/orders/new`, {
2851
+ Ne.onCreateOrderRequest();
2852
+ const y = await fetch(`${Ze()}/orders/new`, {
2849
2853
  method: "POST",
2850
2854
  body: JSON.stringify(r)
2851
- })).json();
2852
- if (!d.success)
2853
- throw new Error(`error:${d.message}, code:${d.code}`);
2855
+ }), d = await y.json().catch(() => ({}));
2856
+ if (!y.ok || !(d != null && d.success)) {
2857
+ const E = (d == null ? void 0 : d.message) ?? y.statusText ?? "Request failed", x = (d == null ? void 0 : d.code) ?? y.status;
2858
+ throw new Error(`error:${E}, code:${x}`);
2859
+ }
2854
2860
  const h = at(d.signedOrder);
2855
2861
  return Ne.onCreateOrderSuccess(h.id), h;
2856
2862
  } catch (r) {
2857
2863
  throw Ne.onCreateOrderError(r), console.error(r), r;
2858
2864
  }
2859
- }, ce = (e, n) => e && e.length ? e.map(n || ((r) => `${r}`)) : void 0, Bn = (e) => {
2865
+ }, ce = (e, n) => e && e.length ? e.map(n || ((r) => `${r}`)) : void 0, On = (e) => {
2860
2866
  if (e)
2861
- return Yt[e];
2867
+ return Jt[e];
2862
2868
  }, He = async ({
2863
2869
  chainId: e,
2864
2870
  buildQuery: n,
@@ -2866,10 +2872,10 @@ const Ne = new bn(), gn = (e) => {
2866
2872
  signal: y,
2867
2873
  retries: d = 1,
2868
2874
  limit: h = 1e3,
2869
- page: g
2875
+ page: E
2870
2876
  }) => {
2871
- const x = Bn(e);
2872
- if (!x) throw new In();
2877
+ const x = On(e);
2878
+ if (!x) throw new Mn();
2873
2879
  const w = async (T) => {
2874
2880
  let F = 0;
2875
2881
  for (; F <= d; )
@@ -2893,12 +2899,12 @@ const Ne = new bn(), gn = (e) => {
2893
2899
  };
2894
2900
  let D = 0;
2895
2901
  const k = [];
2896
- if (g !== void 0) {
2897
- const T = n(g, h);
2902
+ if (E !== void 0) {
2903
+ const T = n(E, h);
2898
2904
  try {
2899
2905
  return await w(T);
2900
2906
  } catch {
2901
- console.warn(`Page ${g} failed, retrying one final time...`);
2907
+ console.warn(`Page ${E} failed, retrying one final time...`);
2902
2908
  try {
2903
2909
  return await w(T);
2904
2910
  } catch {
@@ -2929,11 +2935,11 @@ const Ne = new bn(), gn = (e) => {
2929
2935
  timestamp: n.timestamp,
2930
2936
  txHash: n.transactionHash
2931
2937
  })), Qe = (e, n) => {
2932
- const r = E(e || 0).gt(1);
2938
+ const r = g(e || 0).gt(1);
2933
2939
  return !r && n === 1 ? q.TWAP_MARKET : n > 1 && r ? q.TWAP_LIMIT : r ? q.LIMIT : q.TWAP_MARKET;
2934
- }, _n = (e, n, r, y) => {
2940
+ }, vn = (e, n, r, y) => {
2935
2941
  var F;
2936
- const d = st(r || []), h = new E(e.ask_srcAmount || 0).div(e.ask_srcBidAmount).integerValue(E.ROUND_FLOOR).toNumber(), x = (r == null ? void 0 : r.length) === h ? (F = r == null ? void 0 : r[(r == null ? void 0 : r.length) - 1]) == null ? void 0 : F.timestamp : void 0, w = d.reduce((R, I) => R.plus(I.inAmount), new E(0)).toFixed(), D = d.reduce((R, I) => R.plus(I.outAmount), new E(0)).toFixed(), k = rt(e.ask_srcAmount, w), T = Qe(e.ask_dstMinAmount, h);
2942
+ const d = st(r || []), h = new g(e.ask_srcAmount || 0).div(e.ask_srcBidAmount).integerValue(g.ROUND_FLOOR).toNumber(), x = (r == null ? void 0 : r.length) === h ? (F = r == null ? void 0 : r[(r == null ? void 0 : r.length) - 1]) == null ? void 0 : F.timestamp : void 0, w = d.reduce((R, I) => R.plus(I.inAmount), new g(0)).toFixed(), D = d.reduce((R, I) => R.plus(I.outAmount), new g(0)).toFixed(), k = rt(e.ask_srcAmount, w), T = Qe(e.ask_dstMinAmount, h);
2937
2943
  return {
2938
2944
  version: 1,
2939
2945
  id: e.Contract_id.toString(),
@@ -2947,14 +2953,14 @@ const Ne = new bn(), gn = (e) => {
2947
2953
  progress: k,
2948
2954
  dstAmountFilled: D,
2949
2955
  srcAmountFilled: w,
2950
- orderDollarValueIn: E(e.dollarValueIn || 0).toFixed(6),
2956
+ orderDollarValueIn: g(e.dollarValueIn || 0).toFixed(6),
2951
2957
  srcAmount: e.ask_srcAmount,
2952
- dstMinAmountTotal: E(e.ask_dstMinAmount).multipliedBy(h).toString(),
2958
+ dstMinAmountTotal: g(e.ask_dstMinAmount).multipliedBy(h).toString(),
2953
2959
  fills: d,
2954
2960
  fillDelay: e.ask_fillDelay,
2955
2961
  deadline: e.ask_deadline * 1e3,
2956
2962
  createdAt: new Date(e.timestamp).getTime(),
2957
- dstMinAmountPerTrade: E(e.ask_dstMinAmount).eq(1) ? "" : e.ask_dstMinAmount,
2963
+ dstMinAmountPerTrade: g(e.ask_dstMinAmount).eq(1) ? "" : e.ask_dstMinAmount,
2958
2964
  triggerPricePerTrade: "",
2959
2965
  srcAmountPerTrade: e.ask_srcBidAmount,
2960
2966
  txHash: e.transactionHash,
@@ -2965,14 +2971,14 @@ const Ne = new bn(), gn = (e) => {
2965
2971
  status: y,
2966
2972
  rawOrder: e
2967
2973
  };
2968
- }, On = (e) => {
2974
+ }, Rn = (e) => {
2969
2975
  var T;
2970
2976
  if (!e) return "";
2971
2977
  const n = ce(
2972
2978
  e.accounts,
2973
2979
  (F) => `"${F.toLowerCase()}"`
2974
2980
  ), r = ce(
2975
- qt(e.configs),
2981
+ Xt(e.configs),
2976
2982
  (F) => `"${F.toLowerCase()}"`
2977
2983
  ), y = ce(
2978
2984
  e.inTokenSymbols,
@@ -2983,7 +2989,7 @@ const Ne = new bn(), gn = (e) => {
2983
2989
  ), h = ce(
2984
2990
  e.inTokenAddresses,
2985
2991
  (F) => `"${F.toLowerCase()}"`
2986
- ), g = ce(
2992
+ ), E = ce(
2987
2993
  e.outTokenAddresses,
2988
2994
  (F) => `"${F.toLowerCase()}"`
2989
2995
  ), x = ce(
@@ -3003,21 +3009,21 @@ const Ne = new bn(), gn = (e) => {
3003
3009
  y ? `srcTokenSymbol_in: [${y.join(", ")}]` : "",
3004
3010
  d ? `dstTokenSymbol_in: [${d.join(", ")}]` : "",
3005
3011
  h ? `srcTokenAddress_in: [${h.join(", ")}]` : "",
3006
- g ? `dstTokenAddress_in: [${g.join(", ")}]` : "",
3012
+ E ? `dstTokenAddress_in: [${E.join(", ")}]` : "",
3007
3013
  e != null && e.startDate ? `blockTimestamp_gte: ${e.startDate}` : "",
3008
3014
  e != null && e.endDate ? `blockTimestamp_lte: ${e.endDate}` : "",
3009
3015
  (e == null ? void 0 : e.orderType) === "limit" ? "ask_dstMinAmount_gt: 1" : "",
3010
3016
  (e == null ? void 0 : e.orderType) === "market" ? "ask_dstMinAmount_lte: 1" : ""
3011
3017
  ].filter(Boolean).join(", ");
3012
3018
  };
3013
- async function vn({
3019
+ async function Pn({
3014
3020
  chainId: e,
3015
3021
  signal: n,
3016
3022
  page: r,
3017
3023
  limit: y,
3018
3024
  filters: d
3019
3025
  }) {
3020
- const h = y || 1e3, g = On(d);
3026
+ const h = y || 1e3, E = Rn(d);
3021
3027
  return await He({
3022
3028
  chainId: e,
3023
3029
  signal: n,
@@ -3026,7 +3032,7 @@ async function vn({
3026
3032
  buildQuery: (w, D) => `
3027
3033
  {
3028
3034
  orderCreateds(
3029
- ${g ? `where: { ${g} }` : ""},
3035
+ ${E ? `where: { ${E} }` : ""},
3030
3036
  first: ${D},
3031
3037
  skip: ${w * D},
3032
3038
  orderBy: timestamp,
@@ -3064,7 +3070,7 @@ async function vn({
3064
3070
  }
3065
3071
  });
3066
3072
  }
3067
- const Rn = async ({
3073
+ const In = async ({
3068
3074
  chainId: e,
3069
3075
  orders: n,
3070
3076
  signal: r
@@ -3099,14 +3105,14 @@ const Rn = async ({
3099
3105
  function Ve(e) {
3100
3106
  return Array.from(new Set(e));
3101
3107
  }
3102
- const Pn = async ({
3108
+ const Nn = async ({
3103
3109
  chainId: e,
3104
3110
  orders: n,
3105
3111
  signal: r
3106
3112
  }) => {
3107
3113
  const y = Ve(n.map((T) => T.Contract_id)), d = Ve(n.map((T) => T.twapAddress)).filter(Boolean);
3108
3114
  if (y.length === 0) return [];
3109
- const h = y.join(", "), g = d.map((T) => `"${T}"`).join(", "), x = d.length ? `twapAddress_in: [${g}]` : "", D = `where: { ${[
3115
+ const h = y.join(", "), E = d.map((T) => `"${T}"`).join(", "), x = d.length ? `twapAddress_in: [${E}]` : "", D = `where: { ${[
3110
3116
  `TWAP_id_in: [${h}]`,
3111
3117
  x
3112
3118
  ].filter(Boolean).join(", ")} }`;
@@ -3141,12 +3147,12 @@ const Pn = async ({
3141
3147
  }
3142
3148
  });
3143
3149
  };
3144
- class In extends Error {
3150
+ class Mn extends Error {
3145
3151
  constructor() {
3146
3152
  super("No graph endpoint found"), this.name = "NoGraphEndpointError";
3147
3153
  }
3148
3154
  }
3149
- const Nn = async ({
3155
+ const Ln = async ({
3150
3156
  chainId: e,
3151
3157
  signal: n,
3152
3158
  page: r,
@@ -3154,41 +3160,41 @@ const Nn = async ({
3154
3160
  filters: d
3155
3161
  }) => {
3156
3162
  try {
3157
- const h = await vn({
3163
+ const h = await Pn({
3158
3164
  chainId: e,
3159
3165
  signal: n,
3160
3166
  page: r,
3161
3167
  limit: y,
3162
3168
  filters: d
3163
- }), [g, x] = await Promise.all([
3164
- Pn({ chainId: e, orders: h, signal: n }),
3165
- Rn({ chainId: e, orders: h, signal: n })
3169
+ }), [E, x] = await Promise.all([
3170
+ Nn({ chainId: e, orders: h, signal: n }),
3171
+ In({ chainId: e, orders: h, signal: n })
3166
3172
  ]), w = h.map((k) => {
3167
- const T = g == null ? void 0 : g.filter(
3173
+ const T = E == null ? void 0 : E.filter(
3168
3174
  (F) => F.TWAP_id === Number(k.Contract_id) && Se(F.exchange, k.exchange) && Se(F.twapAddress, k.twapAddress)
3169
3175
  );
3170
- return _n(
3176
+ return vn(
3171
3177
  k,
3172
3178
  e,
3173
3179
  T,
3174
- Mn(k, T || [], x)
3180
+ Un(k, T || [], x)
3175
3181
  );
3176
3182
  }).sort((k, T) => T.createdAt - k.createdAt), D = /* @__PURE__ */ new Set();
3177
3183
  return w.filter((k) => D.has(k.id) ? !1 : (D.add(k.id), !0));
3178
3184
  } catch {
3179
3185
  return [];
3180
3186
  }
3181
- }, Mn = (e, n, r) => {
3187
+ }, Un = (e, n, r) => {
3182
3188
  var x;
3183
3189
  const y = (x = r == null ? void 0 : r.find(
3184
3190
  (w) => w.twapId === e.Contract_id.toString() && Se(w.twapAddress, e.twapAddress)
3185
- )) == null ? void 0 : x.status, h = st(n).reduce((w, D) => w.plus(D.inAmount), new E(0)).toFixed(), g = rt(e.ask_srcAmount, h);
3186
- return Un(g, e.ask_deadline * 1e3, y);
3191
+ )) == null ? void 0 : x.status, h = st(n).reduce((w, D) => w.plus(D.inAmount), new g(0)).toFixed(), E = rt(e.ask_srcAmount, h);
3192
+ return Vn(E, e.ask_deadline * 1e3, y);
3187
3193
  }, rt = (e, n) => {
3188
3194
  if (!n || !e) return 0;
3189
- const r = E(n).dividedBy(e).toNumber();
3195
+ const r = g(n).dividedBy(e).toNumber();
3190
3196
  return r >= 0.99 ? 100 : r <= 0 ? 0 : Number((r * 100).toFixed(2));
3191
- }, Un = (e, n, r) => e === 100 ? re.Completed : r === "CANCELED" ? re.Canceled : r === "COMPLETED" ? re.Completed : n > Date.now() ? re.Open : re.Expired, Na = async ({
3197
+ }, Vn = (e, n, r) => e === 100 ? re.Completed : r === "CANCELED" ? re.Canceled : r === "COMPLETED" ? re.Completed : n > Date.now() ? re.Open : re.Expired, La = async ({
3192
3198
  signal: e,
3193
3199
  page: n,
3194
3200
  chainId: r,
@@ -3196,90 +3202,92 @@ const Nn = async ({
3196
3202
  config: d,
3197
3203
  account: h
3198
3204
  }) => (await Promise.all([
3199
- d ? Nn({ chainId: r, signal: e, page: n, limit: y, filters: { accounts: [h], configs: d.twapConfig ? [d.twapConfig] : [] } }) : Promise.resolve([]),
3200
- kn({ chainId: r, signal: e, account: h, exchange: d == null ? void 0 : d.adapter })
3205
+ d ? Ln({ chainId: r, signal: e, page: n, limit: y, filters: { accounts: [h], configs: d.twapConfig ? [d.twapConfig] : [] } }) : Promise.resolve([]),
3206
+ _n({ chainId: r, signal: e, account: h, exchange: d == null ? void 0 : d.adapter })
3201
3207
  ]).then(([w, D]) => [...w, ...D])).sort((w, D) => D.createdAt - w.createdAt);
3202
3208
  export {
3203
- la as CRASH_ERROR_MESSAGE,
3209
+ ma as CRASH_ERROR_MESSAGE,
3204
3210
  _ as Configs,
3205
3211
  qe as DEFAULT_FILL_DELAY,
3206
- pa as DEFAULT_STOP_LOSS_LIMIT_PERCENTAGE,
3207
- da as DEFAULT_STOP_LOSS_PERCENTAGE,
3208
- ua as DEFAULT_TAKE_PROFIT_LIMIT_PERCENTAGE,
3209
- ca as DEFAULT_TAKE_PROFIT_PERCENTAGE,
3210
- oa as DISCLAIMER_URL,
3211
- tn as EIP712_TYPES,
3212
- nn as EIP712_TYPES_DEV,
3213
- Wn as ERC20_ABI,
3214
- ta as EXCLUSIVITY_OVERRIDE_BPS,
3215
- ea as FEES,
3216
- Vn as IWETH_ABI,
3217
- $t as InputErrors,
3218
- en as LEGACY_EXCHANGES_MAP,
3219
- Ee as MAX_ORDER_DURATION_MILLIS,
3220
- Jn as MIN_CHUNKS,
3221
- Ue as MIN_FILL_DELAY_MILLIS,
3222
- Qt as MIN_FILL_DELAY_MINUTES,
3212
+ la as DEFAULT_STOP_LOSS_LIMIT_PERCENTAGE,
3213
+ pa as DEFAULT_STOP_LOSS_PERCENTAGE,
3214
+ fa as DEFAULT_TAKE_PROFIT_LIMIT_PERCENTAGE,
3215
+ ua as DEFAULT_TAKE_PROFIT_PERCENTAGE,
3216
+ ca as DISCLAIMER_URL,
3217
+ an as EIP712_TYPES,
3218
+ sn as EIP712_TYPES_DEV,
3219
+ $n as ERC20_ABI,
3220
+ aa as EXCLUSIVITY_OVERRIDE_BPS,
3221
+ na as FEES,
3222
+ zn as IWETH_ABI,
3223
+ Ht as InputErrors,
3224
+ nn as LEGACY_EXCHANGES_MAP,
3225
+ ge as MAX_ORDER_DURATION_MILLIS,
3226
+ ta as MIN_CHUNKS,
3227
+ Le as MIN_FILL_DELAY_MILLIS,
3228
+ Zt as MIN_FILL_DELAY_MINUTES,
3223
3229
  Ge as MIN_ORDER_DURATION_MILLIS,
3224
3230
  z as Module,
3225
- sa as ORBS_LOGO,
3226
- ra as ORBS_LOGO_FALLBACK,
3227
- aa as ORBS_SLTP_FAQ_URL,
3228
- na as ORBS_TWAP_FAQ_URL,
3229
- ia as ORBS_WEBSITE_URL,
3231
+ ia as ORBS_LOGO,
3232
+ oa as ORBS_LOGO_FALLBACK,
3233
+ ra as ORBS_SLTP_FAQ_URL,
3234
+ sa as ORBS_TWAP_FAQ_URL,
3235
+ da as ORBS_WEBSITE_URL,
3236
+ $t as OrderFilter,
3230
3237
  re as OrderStatus,
3231
3238
  q as OrderType,
3232
3239
  pe as Partners,
3233
3240
  Te as QUERY_PARAMS,
3234
- zn as REPERMIT_ABI,
3241
+ Hn as REPERMIT_ABI,
3235
3242
  Je as REPERMIT_PRIMARY_TYPE,
3236
- Zn as SUGGEST_CHUNK_VALUE,
3237
- Yt as THE_GRAPH_ORDERS_API,
3238
- $n as TWAP_ABI,
3243
+ ea as SUGGEST_CHUNK_VALUE,
3244
+ Jt as THE_GRAPH_ORDERS_API,
3245
+ Kn as TWAP_ABI,
3239
3246
  ae as TimeUnit,
3240
3247
  Ne as analytics,
3241
- Ra as buildRePermitOrderData,
3248
+ Ia as buildRePermitOrderData,
3242
3249
  at as buildV2Order,
3243
3250
  Se as eqIgnoreCase,
3244
- Na as getAccountOrders,
3251
+ La as getAccountOrders,
3245
3252
  Ze as getApiEndpoint,
3246
- Aa as getChunks,
3247
- cn as getConfig,
3248
- ga as getDeadline,
3249
- fa as getDestTokenAmount,
3250
- ma as getDestTokenMinAmountPerChunk,
3251
- ha as getDuration,
3252
- va as getErrors,
3253
- on as getEstimatedDelayBetweenChunksMillis,
3254
- _a as getMaxChunksError,
3255
- xa as getMaxFillDelayError,
3256
- Da as getMaxOrderDurationError,
3257
- ba as getMaxPossibleChunks,
3258
- Oa as getMinChunkSizeUsd,
3259
- ka as getMinFillDelayError,
3260
- Sa as getMinOrderDurationError,
3261
- Ba as getMinTradeSizeError,
3262
- Kn as getNetwork,
3263
- Xn as getOrderExcecutionRate,
3264
- Gn as getOrderFillDelayMillis,
3265
- jn as getOrderLimitPriceRate,
3266
- qn as getPartnerChains,
3253
+ Ea as getChunks,
3254
+ un as getConfig,
3255
+ xa as getDeadline,
3256
+ ya as getDestTokenAmount,
3257
+ ha as getDestTokenMinAmountPerChunk,
3258
+ ba as getDuration,
3259
+ Pa as getErrors,
3260
+ cn as getEstimatedDelayBetweenChunksMillis,
3261
+ va as getMaxChunksError,
3262
+ wa as getMaxFillDelayError,
3263
+ ka as getMaxOrderDurationError,
3264
+ ga as getMaxPossibleChunks,
3265
+ Ra as getMinChunkSizeUsd,
3266
+ _a as getMinFillDelayError,
3267
+ Ba as getMinOrderDurationError,
3268
+ Oa as getMinTradeSizeError,
3269
+ qn as getNetwork,
3270
+ Qn as getOrderExcecutionRate,
3271
+ jt as getOrderExecutionRate,
3272
+ Xn as getOrderFillDelayMillis,
3273
+ Yn as getOrderLimitPriceRate,
3274
+ jn as getPartnerChains,
3267
3275
  G as getPartnerIdentifier,
3268
- pn as getPartners,
3269
- Ea as getSrcTokenChunkAmount,
3270
- Fa as getStopLossLimitPriceError,
3271
- Ta as getStopLossPriceError,
3272
- Ca as getTakeProfitLimitPriceError,
3273
- wa as getTakeProfitPriceError,
3274
- ya as getTriggerPricePerChunk,
3275
- Qn as getTriggerPricePerTrade,
3276
+ ln as getPartners,
3277
+ Ta as getSrcTokenChunkAmount,
3278
+ Da as getStopLossLimitPriceError,
3279
+ Fa as getStopLossPriceError,
3280
+ Sa as getTakeProfitLimitPriceError,
3281
+ Ca as getTakeProfitPriceError,
3282
+ Aa as getTriggerPricePerChunk,
3283
+ Zn as getTriggerPricePerTrade,
3276
3284
  We as isDev,
3277
- Hn as isNativeAddress,
3285
+ Gn as isNativeAddress,
3278
3286
  ze as maxUint256,
3279
- Jt as nativeTokenAddresses,
3287
+ tn as nativeTokenAddresses,
3280
3288
  K as networks,
3281
- Yn as setApiMode,
3282
- Pa as setUIVersion,
3283
- Ia as submitOrder,
3284
- Zt as zeroAddress
3289
+ Jn as setApiMode,
3290
+ Na as setUIVersion,
3291
+ Ma as submitOrder,
3292
+ en as zeroAddress
3285
3293
  };