├── .eslintignore ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── README.md ├── example ├── limitOrder │ ├── collectLimitOrder.ts │ ├── fetchLimitOrder.ts │ ├── fetchLimitOrderAndDec.ts │ └── newLimitOrder.ts ├── liquidityManager │ ├── fetchLiquidity.ts │ ├── fetchLiquidityAndAdd.ts │ ├── fetchLiquidityAndCollect.ts │ ├── fetchLiquidityAndDec.ts │ └── mint.ts ├── pool │ └── createPoolAndGetPool.ts ├── quoterAndSwap │ ├── quoterSwapChainWithExactInput.ts │ ├── quoterSwapChainWithExactOutput.ts │ └── test.ts ├── search │ ├── debug.ts │ ├── searchWithExactInput.ts │ └── searchWithExactOutput.ts ├── swapQuery │ ├── preSwapX2YWithOfflineData.ts │ └── preSwapX2YWithOnlineData.ts └── universalRouter │ ├── quoterSwapExactInput.ts │ └── quoterSwapExactOutput.ts ├── funding.json ├── jest.config.js ├── package.json ├── src ├── base │ ├── abis │ │ └── multiContractCall.json │ ├── contracts.ts │ ├── index.ts │ ├── price.ts │ ├── token │ │ ├── erc20.json │ │ ├── index.ts │ │ └── token.ts │ ├── types.ts │ └── utils.ts ├── error │ └── types.ts ├── limitOrder │ ├── abi.json │ ├── index.ts │ ├── library │ │ └── decodeParams.ts │ ├── limitOrder.ts │ ├── types.ts │ └── view.ts ├── liquidityManager │ ├── abi.json │ ├── calc.ts │ ├── index.ts │ ├── library │ │ ├── amountMath.ts │ │ └── decodeParams.ts │ ├── liquidity.ts │ ├── types.ts │ └── view.ts ├── pool │ ├── error.ts │ ├── factoryAbi.json │ ├── funcs.ts │ ├── index.ts │ ├── poolAbi.json │ └── types.ts ├── quoter │ ├── abi.json │ ├── funcs.ts │ ├── index.ts │ └── types.ts ├── search │ ├── SwapPathQueryPlugin.ts │ ├── SwapPreQueryPlugin.ts │ ├── controllers.ts │ ├── func.ts │ └── types.ts ├── swap │ ├── abi.json │ ├── funcs.ts │ ├── index.ts │ └── types.ts ├── swapQuery │ ├── error.ts │ ├── iZiSwapPool.ts │ ├── library │ │ ├── AmountMath.ts │ │ ├── BinarySearch.ts │ │ ├── Converter.ts │ │ ├── LogPowMath.ts │ │ ├── MaxMinMath.ts │ │ ├── MulDivMath.ts │ │ ├── Orders.ts │ │ ├── State.ts │ │ ├── SwapMathX2Y.ts │ │ ├── SwapMathX2YDesire.ts │ │ ├── SwapMathY2X.ts │ │ ├── SwapMathY2XDesire.ts │ │ ├── consts.ts │ │ └── mostSignificantBit.ts │ ├── swapX2YModule.ts │ └── swapY2XModule.ts └── universalRouter │ ├── index.ts │ ├── quoter │ ├── abi.json │ ├── funcs.ts │ └── index.ts │ ├── swap │ ├── abi.json │ ├── funcs.ts │ └── index.ts │ ├── types.ts │ └── utils.ts ├── test ├── add.test.ts ├── funcs.ts ├── swapX2Y.test.ts ├── swapX2YDesire.test.ts ├── swapX2YDesireInvariant.test.ts ├── swapX2YInvariant.test.ts ├── swapY2X.test.ts ├── swapY2XDesire.test.ts ├── swapY2XDesireInvariant.test.ts └── swapY2Xinvariant.test.ts └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/.eslintignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | node_modules 3 | lib 4 | coverage -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/README.md -------------------------------------------------------------------------------- /example/limitOrder/collectLimitOrder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/limitOrder/collectLimitOrder.ts -------------------------------------------------------------------------------- /example/limitOrder/fetchLimitOrder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/limitOrder/fetchLimitOrder.ts -------------------------------------------------------------------------------- /example/limitOrder/fetchLimitOrderAndDec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/limitOrder/fetchLimitOrderAndDec.ts -------------------------------------------------------------------------------- /example/limitOrder/newLimitOrder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/limitOrder/newLimitOrder.ts -------------------------------------------------------------------------------- /example/liquidityManager/fetchLiquidity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/liquidityManager/fetchLiquidity.ts -------------------------------------------------------------------------------- /example/liquidityManager/fetchLiquidityAndAdd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/liquidityManager/fetchLiquidityAndAdd.ts -------------------------------------------------------------------------------- /example/liquidityManager/fetchLiquidityAndCollect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/liquidityManager/fetchLiquidityAndCollect.ts -------------------------------------------------------------------------------- /example/liquidityManager/fetchLiquidityAndDec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/liquidityManager/fetchLiquidityAndDec.ts -------------------------------------------------------------------------------- /example/liquidityManager/mint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/liquidityManager/mint.ts -------------------------------------------------------------------------------- /example/pool/createPoolAndGetPool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/pool/createPoolAndGetPool.ts -------------------------------------------------------------------------------- /example/quoterAndSwap/quoterSwapChainWithExactInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/quoterAndSwap/quoterSwapChainWithExactInput.ts -------------------------------------------------------------------------------- /example/quoterAndSwap/quoterSwapChainWithExactOutput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/quoterAndSwap/quoterSwapChainWithExactOutput.ts -------------------------------------------------------------------------------- /example/quoterAndSwap/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/quoterAndSwap/test.ts -------------------------------------------------------------------------------- /example/search/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/search/debug.ts -------------------------------------------------------------------------------- /example/search/searchWithExactInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/search/searchWithExactInput.ts -------------------------------------------------------------------------------- /example/search/searchWithExactOutput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/search/searchWithExactOutput.ts -------------------------------------------------------------------------------- /example/swapQuery/preSwapX2YWithOfflineData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/swapQuery/preSwapX2YWithOfflineData.ts -------------------------------------------------------------------------------- /example/swapQuery/preSwapX2YWithOnlineData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/swapQuery/preSwapX2YWithOnlineData.ts -------------------------------------------------------------------------------- /example/universalRouter/quoterSwapExactInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/universalRouter/quoterSwapExactInput.ts -------------------------------------------------------------------------------- /example/universalRouter/quoterSwapExactOutput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/example/universalRouter/quoterSwapExactOutput.ts -------------------------------------------------------------------------------- /funding.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/funding.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/package.json -------------------------------------------------------------------------------- /src/base/abis/multiContractCall.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/abis/multiContractCall.json -------------------------------------------------------------------------------- /src/base/contracts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/contracts.ts -------------------------------------------------------------------------------- /src/base/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/index.ts -------------------------------------------------------------------------------- /src/base/price.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/price.ts -------------------------------------------------------------------------------- /src/base/token/erc20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/token/erc20.json -------------------------------------------------------------------------------- /src/base/token/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./token" -------------------------------------------------------------------------------- /src/base/token/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/token/token.ts -------------------------------------------------------------------------------- /src/base/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/types.ts -------------------------------------------------------------------------------- /src/base/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/base/utils.ts -------------------------------------------------------------------------------- /src/error/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/error/types.ts -------------------------------------------------------------------------------- /src/limitOrder/abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/limitOrder/abi.json -------------------------------------------------------------------------------- /src/limitOrder/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/limitOrder/index.ts -------------------------------------------------------------------------------- /src/limitOrder/library/decodeParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/limitOrder/library/decodeParams.ts -------------------------------------------------------------------------------- /src/limitOrder/limitOrder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/limitOrder/limitOrder.ts -------------------------------------------------------------------------------- /src/limitOrder/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/limitOrder/types.ts -------------------------------------------------------------------------------- /src/limitOrder/view.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/limitOrder/view.ts -------------------------------------------------------------------------------- /src/liquidityManager/abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/abi.json -------------------------------------------------------------------------------- /src/liquidityManager/calc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/calc.ts -------------------------------------------------------------------------------- /src/liquidityManager/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/index.ts -------------------------------------------------------------------------------- /src/liquidityManager/library/amountMath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/library/amountMath.ts -------------------------------------------------------------------------------- /src/liquidityManager/library/decodeParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/library/decodeParams.ts -------------------------------------------------------------------------------- /src/liquidityManager/liquidity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/liquidity.ts -------------------------------------------------------------------------------- /src/liquidityManager/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/types.ts -------------------------------------------------------------------------------- /src/liquidityManager/view.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/liquidityManager/view.ts -------------------------------------------------------------------------------- /src/pool/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/pool/error.ts -------------------------------------------------------------------------------- /src/pool/factoryAbi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/pool/factoryAbi.json -------------------------------------------------------------------------------- /src/pool/funcs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/pool/funcs.ts -------------------------------------------------------------------------------- /src/pool/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/pool/index.ts -------------------------------------------------------------------------------- /src/pool/poolAbi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/pool/poolAbi.json -------------------------------------------------------------------------------- /src/pool/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/pool/types.ts -------------------------------------------------------------------------------- /src/quoter/abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/quoter/abi.json -------------------------------------------------------------------------------- /src/quoter/funcs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/quoter/funcs.ts -------------------------------------------------------------------------------- /src/quoter/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/quoter/index.ts -------------------------------------------------------------------------------- /src/quoter/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/quoter/types.ts -------------------------------------------------------------------------------- /src/search/SwapPathQueryPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/search/SwapPathQueryPlugin.ts -------------------------------------------------------------------------------- /src/search/SwapPreQueryPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/search/SwapPreQueryPlugin.ts -------------------------------------------------------------------------------- /src/search/controllers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/search/controllers.ts -------------------------------------------------------------------------------- /src/search/func.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/search/func.ts -------------------------------------------------------------------------------- /src/search/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/search/types.ts -------------------------------------------------------------------------------- /src/swap/abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swap/abi.json -------------------------------------------------------------------------------- /src/swap/funcs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swap/funcs.ts -------------------------------------------------------------------------------- /src/swap/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swap/index.ts -------------------------------------------------------------------------------- /src/swap/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swap/types.ts -------------------------------------------------------------------------------- /src/swapQuery/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/error.ts -------------------------------------------------------------------------------- /src/swapQuery/iZiSwapPool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/iZiSwapPool.ts -------------------------------------------------------------------------------- /src/swapQuery/library/AmountMath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/AmountMath.ts -------------------------------------------------------------------------------- /src/swapQuery/library/BinarySearch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/BinarySearch.ts -------------------------------------------------------------------------------- /src/swapQuery/library/Converter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/Converter.ts -------------------------------------------------------------------------------- /src/swapQuery/library/LogPowMath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/LogPowMath.ts -------------------------------------------------------------------------------- /src/swapQuery/library/MaxMinMath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/MaxMinMath.ts -------------------------------------------------------------------------------- /src/swapQuery/library/MulDivMath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/MulDivMath.ts -------------------------------------------------------------------------------- /src/swapQuery/library/Orders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/Orders.ts -------------------------------------------------------------------------------- /src/swapQuery/library/State.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/State.ts -------------------------------------------------------------------------------- /src/swapQuery/library/SwapMathX2Y.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/SwapMathX2Y.ts -------------------------------------------------------------------------------- /src/swapQuery/library/SwapMathX2YDesire.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/SwapMathX2YDesire.ts -------------------------------------------------------------------------------- /src/swapQuery/library/SwapMathY2X.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/SwapMathY2X.ts -------------------------------------------------------------------------------- /src/swapQuery/library/SwapMathY2XDesire.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/SwapMathY2XDesire.ts -------------------------------------------------------------------------------- /src/swapQuery/library/consts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/consts.ts -------------------------------------------------------------------------------- /src/swapQuery/library/mostSignificantBit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/library/mostSignificantBit.ts -------------------------------------------------------------------------------- /src/swapQuery/swapX2YModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/swapX2YModule.ts -------------------------------------------------------------------------------- /src/swapQuery/swapY2XModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/swapQuery/swapY2XModule.ts -------------------------------------------------------------------------------- /src/universalRouter/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/universalRouter/index.ts -------------------------------------------------------------------------------- /src/universalRouter/quoter/abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/universalRouter/quoter/abi.json -------------------------------------------------------------------------------- /src/universalRouter/quoter/funcs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/universalRouter/quoter/funcs.ts -------------------------------------------------------------------------------- /src/universalRouter/quoter/index.ts: -------------------------------------------------------------------------------- 1 | export * from './funcs' -------------------------------------------------------------------------------- /src/universalRouter/swap/abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/universalRouter/swap/abi.json -------------------------------------------------------------------------------- /src/universalRouter/swap/funcs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/universalRouter/swap/funcs.ts -------------------------------------------------------------------------------- /src/universalRouter/swap/index.ts: -------------------------------------------------------------------------------- 1 | export * from './funcs' -------------------------------------------------------------------------------- /src/universalRouter/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/universalRouter/types.ts -------------------------------------------------------------------------------- /src/universalRouter/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/src/universalRouter/utils.ts -------------------------------------------------------------------------------- /test/add.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/add.test.ts -------------------------------------------------------------------------------- /test/funcs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/funcs.ts -------------------------------------------------------------------------------- /test/swapX2Y.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapX2Y.test.ts -------------------------------------------------------------------------------- /test/swapX2YDesire.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapX2YDesire.test.ts -------------------------------------------------------------------------------- /test/swapX2YDesireInvariant.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapX2YDesireInvariant.test.ts -------------------------------------------------------------------------------- /test/swapX2YInvariant.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapX2YInvariant.test.ts -------------------------------------------------------------------------------- /test/swapY2X.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapY2X.test.ts -------------------------------------------------------------------------------- /test/swapY2XDesire.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapY2XDesire.test.ts -------------------------------------------------------------------------------- /test/swapY2XDesireInvariant.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapY2XDesireInvariant.test.ts -------------------------------------------------------------------------------- /test/swapY2Xinvariant.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/test/swapY2Xinvariant.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/izumiFinance/iZiSwap-sdk/HEAD/tsconfig.json --------------------------------------------------------------------------------