@fanx-protocol/smart-order-router 0.0.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main/providers/caching-subgraph-provider.d.ts +1 -1
- package/build/main/providers/eip-1559-gas-price-provider.d.ts +2 -2
- package/build/main/providers/eth-estimate-gas-provider.js +2 -2
- package/build/main/providers/eth-gas-station-info-gas-price-provider.d.ts +1 -1
- package/build/main/providers/gas-price-provider.d.ts +1 -1
- package/build/main/providers/multicall-provider.d.ts +6 -6
- package/build/main/providers/multicall-uniswap-provider.d.ts +1 -1
- package/build/main/providers/on-chain-quote-provider.d.ts +17 -17
- package/build/main/providers/pool-provider.d.ts +4 -4
- package/build/main/providers/provider.d.ts +2 -2
- package/build/main/providers/simulation-provider.d.ts +1 -1
- package/build/main/providers/subgraph-provider.d.ts +2 -2
- package/build/main/providers/swap-router-provider.d.ts +1 -1
- package/build/main/providers/token-fee-fetcher.d.ts +3 -3
- package/build/main/providers/token-properties-provider.d.ts +3 -3
- package/build/main/providers/token-provider.d.ts +1 -1
- package/build/main/providers/v2/pool-provider.d.ts +2 -2
- package/build/main/providers/v2/quote-provider.d.ts +2 -2
- package/build/main/providers/v3/gas-data-provider.d.ts +1 -1
- package/build/main/providers/v3/pool-provider.d.ts +5 -5
- package/build/main/providers/v3/subgraph-provider.d.ts +1 -1
- package/build/main/routers/alpha-router/alpha-router.d.ts +3 -3
- package/build/main/routers/alpha-router/entities/route-with-valid-quote.d.ts +7 -7
- package/build/main/routers/alpha-router/entities/route-with-valid-quote.js +10 -10
- package/build/main/routers/alpha-router/functions/best-swap-route.d.ts +1 -1
- package/build/main/routers/alpha-router/functions/get-candidate-pools.d.ts +12 -12
- package/build/main/routers/alpha-router/gas-models/gas-model.d.ts +7 -7
- package/build/main/routers/router.d.ts +14 -14
- package/build/main/tsconfig.tsbuildinfo +1 -1
- package/build/main/types/other/factories/GasPriceOracle__factory.d.ts +46 -0
- package/build/main/types/other/factories/GasPriceOracle__factory.js +316 -0
- package/build/main/types/other/factories/IApproveAndCall__factory.d.ts +41 -0
- package/build/main/types/other/factories/IApproveAndCall__factory.js +222 -0
- package/build/main/types/other/factories/IImmutableState__factory.d.ts +18 -0
- package/build/main/types/other/factories/IImmutableState__factory.js +46 -0
- package/build/main/types/other/factories/IMulticallExtended__factory.d.ts +22 -0
- package/build/main/types/other/factories/IMulticallExtended__factory.js +87 -0
- package/build/main/types/other/factories/IOracleSlippage__factory.d.ts +18 -0
- package/build/main/types/other/factories/IOracleSlippage__factory.js +71 -0
- package/build/main/types/other/factories/IPeripheryPaymentsExtended__factory.d.ts +18 -0
- package/build/main/types/other/factories/IPeripheryPaymentsExtended__factory.js +130 -0
- package/build/main/types/other/factories/IPeripheryPaymentsWithFeeExtended__factory.d.ts +18 -0
- package/build/main/types/other/factories/IPeripheryPaymentsWithFeeExtended__factory.js +242 -0
- package/build/main/types/other/factories/IQuoterV2__factory.d.ts +41 -0
- package/build/main/types/other/factories/IQuoterV2__factory.js +220 -0
- package/build/main/types/other/factories/IQuoter__factory.d.ts +22 -0
- package/build/main/types/other/factories/IQuoter__factory.js +146 -0
- package/build/main/types/other/factories/ISwapRouter02__factory.d.ts +41 -0
- package/build/main/types/other/factories/ISwapRouter02__factory.js +726 -0
- package/build/main/types/other/factories/IV2SwapRouter__factory.d.ts +22 -0
- package/build/main/types/other/factories/IV2SwapRouter__factory.js +88 -0
- package/build/main/types/other/factories/IV3SwapRouter__factory.d.ts +37 -0
- package/build/main/types/other/factories/IV3SwapRouter__factory.js +237 -0
- package/build/main/types/other/factories/IWETH__factory.d.ts +22 -0
- package/build/main/types/other/factories/IWETH__factory.js +64 -0
- package/build/main/types/other/factories/MixedRouteQuoterV1__factory.d.ts +61 -0
- package/build/main/types/other/factories/MixedRouteQuoterV1__factory.js +261 -0
- package/build/main/types/other/factories/Multicall2__factory.d.ts +42 -0
- package/build/main/types/other/factories/Multicall2__factory.js +331 -0
- package/build/main/types/other/factories/Permit2__factory.d.ts +1 -1
- package/build/main/types/other/factories/Permit2__factory.js +8 -3
- package/build/main/types/other/factories/QuoterV2__factory.d.ts +61 -0
- package/build/main/types/other/factories/QuoterV2__factory.js +307 -0
- package/build/main/types/other/factories/Quoter__factory.d.ts +42 -0
- package/build/main/types/other/factories/Quoter__factory.js +233 -0
- package/build/main/types/other/factories/StateView__factory.d.ts +32 -0
- package/build/main/types/other/factories/StateView__factory.js +383 -0
- package/build/main/types/other/factories/SwapRouter02__factory.d.ts +1 -1
- package/build/main/types/other/factories/SwapRouter02__factory.js +8 -3
- package/build/main/types/other/factories/TokenValidator__factory.d.ts +42 -0
- package/build/main/types/other/factories/TokenValidator__factory.js +170 -0
- package/build/main/types/other/factories/V2SwapRouter__factory.d.ts +28 -0
- package/build/main/types/other/factories/V2SwapRouter__factory.js +366 -0
- package/build/main/types/other/factories/V3SwapRouter__factory.d.ts +43 -0
- package/build/main/types/other/factories/V3SwapRouter__factory.js +540 -0
- package/build/main/types/other/factories/V4Quoter__factory.d.ts +37 -0
- package/build/main/types/other/factories/V4Quoter__factory.js +312 -0
- package/build/main/types/other/index.d.ts +42 -0
- package/build/main/types/other/index.js +46 -0
- package/build/main/types/token-lists/index.d.ts +40 -0
- package/build/main/types/token-lists/index.js +3 -0
- package/build/main/types/v2/factories/IUniswapV2Callee__factory.d.ts +18 -0
- package/build/main/types/v2/factories/IUniswapV2Callee__factory.js +48 -0
- package/build/main/types/v2/factories/IUniswapV2ERC20__factory.d.ts +39 -0
- package/build/main/types/v2/factories/IUniswapV2ERC20__factory.js +356 -0
- package/build/main/types/v2/factories/IUniswapV2Factory__factory.d.ts +35 -0
- package/build/main/types/v2/factories/IUniswapV2Factory__factory.js +183 -0
- package/build/main/types/v2/factories/IUniswapV2Migrator__factory.d.ts +18 -0
- package/build/main/types/v2/factories/IUniswapV2Migrator__factory.js +53 -0
- package/build/main/types/v2/factories/IUniswapV2Router01__factory.d.ts +22 -0
- package/build/main/types/v2/factories/IUniswapV2Router01__factory.js +769 -0
- package/build/main/types/v2/factories/IUniswapV2Router02__factory.d.ts +22 -0
- package/build/main/types/v2/factories/IUniswapV2Router02__factory.js +971 -0
- package/build/main/types/v2/factories/UniswapV2ERC20__factory.d.ts +58 -0
- package/build/main/types/v2/factories/UniswapV2ERC20__factory.js +384 -0
- package/build/main/types/v2/factories/UniswapV2Factory__factory.d.ts +62 -0
- package/build/main/types/v2/factories/UniswapV2Factory__factory.js +233 -0
- package/build/main/types/v2/factories/UniswapV2Migrator__factory.d.ts +44 -0
- package/build/main/types/v2/factories/UniswapV2Migrator__factory.js +95 -0
- package/build/main/types/v2/factories/UniswapV2Pair__factory.d.ts +58 -0
- package/build/main/types/v2/factories/UniswapV2Pair__factory.js +753 -0
- package/build/main/types/v2/factories/UniswapV2Router01__factory.d.ts +48 -0
- package/build/main/types/v2/factories/UniswapV2Router01__factory.js +811 -0
- package/build/main/types/v2/factories/UniswapV2Router02__factory.d.ts +48 -0
- package/build/main/types/v2/factories/UniswapV2Router02__factory.js +1013 -0
- package/build/main/types/v2/index.d.ts +26 -0
- package/build/main/types/v2/index.js +30 -0
- package/build/main/types/v3/factories/IERC1271__factory.d.ts +22 -0
- package/build/main/types/v3/factories/IERC1271__factory.js +44 -0
- package/build/main/types/v3/factories/IERC20Minimal__factory.d.ts +35 -0
- package/build/main/types/v3/factories/IERC20Minimal__factory.js +190 -0
- package/build/main/types/v3/factories/IERC20PermitAllowed__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IERC20PermitAllowed__factory.js +68 -0
- package/build/main/types/v3/factories/IERC721Permit__factory.d.ts +35 -0
- package/build/main/types/v3/factories/IERC721Permit__factory.js +369 -0
- package/build/main/types/v3/factories/IMulticall__factory.d.ts +22 -0
- package/build/main/types/v3/factories/IMulticall__factory.js +39 -0
- package/build/main/types/v3/factories/INonfungiblePositionManager__factory.d.ts +55 -0
- package/build/main/types/v3/factories/INonfungiblePositionManager__factory.js +1007 -0
- package/build/main/types/v3/factories/INonfungibleTokenPositionDescriptor__factory.d.ts +22 -0
- package/build/main/types/v3/factories/INonfungibleTokenPositionDescriptor__factory.js +44 -0
- package/build/main/types/v3/factories/IPeripheryImmutableState__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IPeripheryImmutableState__factory.js +46 -0
- package/build/main/types/v3/factories/IPeripheryPaymentsWithFee__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IPeripheryPaymentsWithFee__factory.js +129 -0
- package/build/main/types/v3/factories/IPeripheryPayments__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IPeripheryPayments__factory.js +68 -0
- package/build/main/types/v3/factories/IPoolInitializer__factory.d.ts +22 -0
- package/build/main/types/v3/factories/IPoolInitializer__factory.js +54 -0
- package/build/main/types/v3/factories/IQuoter__factory.d.ts +22 -0
- package/build/main/types/v3/factories/IQuoter__factory.js +146 -0
- package/build/main/types/v3/factories/ISelfPermit__factory.d.ts +18 -0
- package/build/main/types/v3/factories/ISelfPermit__factory.js +172 -0
- package/build/main/types/v3/factories/ISwapRouter__factory.d.ts +37 -0
- package/build/main/types/v3/factories/ISwapRouter__factory.js +257 -0
- package/build/main/types/v3/factories/ITickLens__factory.d.ts +27 -0
- package/build/main/types/v3/factories/ITickLens__factory.js +61 -0
- package/build/main/types/v3/factories/IUniswapV3Factory__factory.d.ts +35 -0
- package/build/main/types/v3/factories/IUniswapV3Factory__factory.js +216 -0
- package/build/main/types/v3/factories/IUniswapV3FlashCallback__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IUniswapV3FlashCallback__factory.js +43 -0
- package/build/main/types/v3/factories/IUniswapV3MintCallback__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IUniswapV3MintCallback__factory.js +43 -0
- package/build/main/types/v3/factories/IUniswapV3PoolActions__factory.d.ts +22 -0
- package/build/main/types/v3/factories/IUniswapV3PoolActions__factory.js +240 -0
- package/build/main/types/v3/factories/IUniswapV3PoolDeployer__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IUniswapV3PoolDeployer__factory.js +53 -0
- package/build/main/types/v3/factories/IUniswapV3PoolDerivedState__factory.d.ts +22 -0
- package/build/main/types/v3/factories/IUniswapV3PoolDerivedState__factory.js +78 -0
- package/build/main/types/v3/factories/IUniswapV3PoolEvents__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IUniswapV3PoolEvents__factory.js +347 -0
- package/build/main/types/v3/factories/IUniswapV3PoolImmutables__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IUniswapV3PoolImmutables__factory.js +98 -0
- package/build/main/types/v3/factories/IUniswapV3PoolOwnerActions__factory.d.ts +22 -0
- package/build/main/types/v3/factories/IUniswapV3PoolOwnerActions__factory.js +72 -0
- package/build/main/types/v3/factories/IUniswapV3Pool__factory.d.ts +35 -0
- package/build/main/types/v3/factories/IUniswapV3Pool__factory.js +1001 -0
- package/build/main/types/v3/factories/IUniswapV3SwapCallback__factory.d.ts +18 -0
- package/build/main/types/v3/factories/IUniswapV3SwapCallback__factory.js +43 -0
- package/build/main/types/v3/factories/IV3Migrator__factory.d.ts +37 -0
- package/build/main/types/v3/factories/IV3Migrator__factory.js +305 -0
- package/build/main/types/v3/factories/IWETH9__factory.d.ts +35 -0
- package/build/main/types/v3/factories/IWETH9__factory.js +223 -0
- package/build/main/types/v3/factories/NFTDescriptor__factory.d.ts +37 -0
- package/build/main/types/v3/factories/NFTDescriptor__factory.js +133 -0
- package/build/main/types/v3/factories/NonfungiblePositionManager__factory.d.ts +83 -0
- package/build/main/types/v3/factories/NonfungiblePositionManager__factory.js +1261 -0
- package/build/main/types/v3/factories/NonfungibleTokenPositionDescriptor__factory.d.ts +51 -0
- package/build/main/types/v3/factories/NonfungibleTokenPositionDescriptor__factory.js +187 -0
- package/build/main/types/v3/factories/PairFlash__factory.d.ts +69 -0
- package/build/main/types/v3/factories/PairFlash__factory.js +227 -0
- package/build/main/types/v3/factories/QuoterV2__factory.d.ts +61 -0
- package/build/main/types/v3/factories/QuoterV2__factory.js +307 -0
- package/build/main/types/v3/factories/Quoter__factory.d.ts +42 -0
- package/build/main/types/v3/factories/Quoter__factory.js +233 -0
- package/build/main/types/v3/factories/SwapRouter__factory.d.ts +67 -0
- package/build/main/types/v3/factories/SwapRouter__factory.js +605 -0
- package/build/main/types/v3/factories/TickLens__factory.d.ts +37 -0
- package/build/main/types/v3/factories/TickLens__factory.js +83 -0
- package/build/main/types/v3/factories/UniswapInterfaceMulticall__factory.d.ts +1 -1
- package/build/main/types/v3/factories/UniswapInterfaceMulticall__factory.js +8 -3
- package/build/main/types/v3/factories/UniswapV3Factory__factory.d.ts +52 -0
- package/build/main/types/v3/factories/UniswapV3Factory__factory.js +276 -0
- package/build/main/types/v3/factories/UniswapV3Pool__factory.d.ts +52 -0
- package/build/main/types/v3/factories/UniswapV3Pool__factory.js +1028 -0
- package/build/main/types/v3/factories/V3Migrator__factory.d.ts +63 -0
- package/build/main/types/v3/factories/V3Migrator__factory.js +391 -0
- package/build/main/types/v3/index.d.ts +86 -0
- package/build/main/types/v3/index.js +90 -0
- package/build/main/util/addresses.d.ts +1 -1
- package/build/main/util/chains.js +3 -3
- package/build/main/util/onchainQuoteProviderConfigs.d.ts +1 -1
- package/build/module/providers/caching-subgraph-provider.d.ts +1 -1
- package/build/module/providers/eip-1559-gas-price-provider.d.ts +2 -2
- package/build/module/providers/eth-estimate-gas-provider.js +2 -2
- package/build/module/providers/eth-gas-station-info-gas-price-provider.d.ts +1 -1
- package/build/module/providers/gas-price-provider.d.ts +1 -1
- package/build/module/providers/multicall-provider.d.ts +6 -6
- package/build/module/providers/multicall-uniswap-provider.d.ts +1 -1
- package/build/module/providers/on-chain-quote-provider.d.ts +17 -17
- package/build/module/providers/pool-provider.d.ts +4 -4
- package/build/module/providers/provider.d.ts +2 -2
- package/build/module/providers/simulation-provider.d.ts +1 -1
- package/build/module/providers/subgraph-provider.d.ts +2 -2
- package/build/module/providers/swap-router-provider.d.ts +1 -1
- package/build/module/providers/token-fee-fetcher.d.ts +3 -3
- package/build/module/providers/token-properties-provider.d.ts +3 -3
- package/build/module/providers/token-provider.d.ts +1 -1
- package/build/module/providers/v2/pool-provider.d.ts +2 -2
- package/build/module/providers/v2/quote-provider.d.ts +2 -2
- package/build/module/providers/v3/gas-data-provider.d.ts +1 -1
- package/build/module/providers/v3/pool-provider.d.ts +5 -5
- package/build/module/providers/v3/subgraph-provider.d.ts +1 -1
- package/build/module/routers/alpha-router/alpha-router.d.ts +3 -3
- package/build/module/routers/alpha-router/entities/route-with-valid-quote.d.ts +7 -7
- package/build/module/routers/alpha-router/entities/route-with-valid-quote.js +10 -10
- package/build/module/routers/alpha-router/functions/best-swap-route.d.ts +1 -1
- package/build/module/routers/alpha-router/functions/get-candidate-pools.d.ts +12 -12
- package/build/module/routers/alpha-router/gas-models/gas-model.d.ts +7 -7
- package/build/module/routers/router.d.ts +14 -14
- package/build/module/tsconfig.module.tsbuildinfo +1 -1
- package/build/module/types/other/factories/GasPriceOracle__factory.d.ts +46 -0
- package/build/module/types/other/factories/GasPriceOracle__factory.js +312 -0
- package/build/module/types/other/factories/IApproveAndCall__factory.d.ts +41 -0
- package/build/module/types/other/factories/IApproveAndCall__factory.js +218 -0
- package/build/module/types/other/factories/IImmutableState__factory.d.ts +18 -0
- package/build/module/types/other/factories/IImmutableState__factory.js +42 -0
- package/build/module/types/other/factories/IMulticallExtended__factory.d.ts +22 -0
- package/build/module/types/other/factories/IMulticallExtended__factory.js +83 -0
- package/build/module/types/other/factories/IOracleSlippage__factory.d.ts +18 -0
- package/build/module/types/other/factories/IOracleSlippage__factory.js +67 -0
- package/build/module/types/other/factories/IPeripheryPaymentsExtended__factory.d.ts +18 -0
- package/build/module/types/other/factories/IPeripheryPaymentsExtended__factory.js +126 -0
- package/build/module/types/other/factories/IPeripheryPaymentsWithFeeExtended__factory.d.ts +18 -0
- package/build/module/types/other/factories/IPeripheryPaymentsWithFeeExtended__factory.js +238 -0
- package/build/module/types/other/factories/IQuoterV2__factory.d.ts +41 -0
- package/build/module/types/other/factories/IQuoterV2__factory.js +216 -0
- package/build/module/types/other/factories/IQuoter__factory.d.ts +22 -0
- package/build/module/types/other/factories/IQuoter__factory.js +142 -0
- package/build/module/types/other/factories/ISwapRouter02__factory.d.ts +41 -0
- package/build/module/types/other/factories/ISwapRouter02__factory.js +722 -0
- package/build/module/types/other/factories/IV2SwapRouter__factory.d.ts +22 -0
- package/build/module/types/other/factories/IV2SwapRouter__factory.js +84 -0
- package/build/module/types/other/factories/IV3SwapRouter__factory.d.ts +37 -0
- package/build/module/types/other/factories/IV3SwapRouter__factory.js +233 -0
- package/build/module/types/other/factories/IWETH__factory.d.ts +22 -0
- package/build/module/types/other/factories/IWETH__factory.js +60 -0
- package/build/module/types/other/factories/MixedRouteQuoterV1__factory.d.ts +61 -0
- package/build/module/types/other/factories/MixedRouteQuoterV1__factory.js +257 -0
- package/build/module/types/other/factories/Multicall2__factory.d.ts +42 -0
- package/build/module/types/other/factories/Multicall2__factory.js +327 -0
- package/build/module/types/other/factories/Permit2__factory.d.ts +1 -1
- package/build/module/types/other/factories/Permit2__factory.js +8 -3
- package/build/module/types/other/factories/QuoterV2__factory.d.ts +61 -0
- package/build/module/types/other/factories/QuoterV2__factory.js +303 -0
- package/build/module/types/other/factories/Quoter__factory.d.ts +42 -0
- package/build/module/types/other/factories/Quoter__factory.js +229 -0
- package/build/module/types/other/factories/StateView__factory.d.ts +32 -0
- package/build/module/types/other/factories/StateView__factory.js +379 -0
- package/build/module/types/other/factories/SwapRouter02__factory.d.ts +1 -1
- package/build/module/types/other/factories/SwapRouter02__factory.js +8 -3
- package/build/module/types/other/factories/TokenValidator__factory.d.ts +42 -0
- package/build/module/types/other/factories/TokenValidator__factory.js +166 -0
- package/build/module/types/other/factories/V2SwapRouter__factory.d.ts +28 -0
- package/build/module/types/other/factories/V2SwapRouter__factory.js +362 -0
- package/build/module/types/other/factories/V3SwapRouter__factory.d.ts +43 -0
- package/build/module/types/other/factories/V3SwapRouter__factory.js +536 -0
- package/build/module/types/other/factories/V4Quoter__factory.d.ts +37 -0
- package/build/module/types/other/factories/V4Quoter__factory.js +308 -0
- package/build/module/types/other/index.d.ts +42 -0
- package/build/module/types/other/index.js +22 -0
- package/build/module/types/token-lists/index.d.ts +40 -0
- package/build/module/types/token-lists/index.js +2 -0
- package/build/module/types/v2/factories/IUniswapV2Callee__factory.d.ts +18 -0
- package/build/module/types/v2/factories/IUniswapV2Callee__factory.js +44 -0
- package/build/module/types/v2/factories/IUniswapV2ERC20__factory.d.ts +39 -0
- package/build/module/types/v2/factories/IUniswapV2ERC20__factory.js +352 -0
- package/build/module/types/v2/factories/IUniswapV2Factory__factory.d.ts +35 -0
- package/build/module/types/v2/factories/IUniswapV2Factory__factory.js +179 -0
- package/build/module/types/v2/factories/IUniswapV2Migrator__factory.d.ts +18 -0
- package/build/module/types/v2/factories/IUniswapV2Migrator__factory.js +49 -0
- package/build/module/types/v2/factories/IUniswapV2Router01__factory.d.ts +22 -0
- package/build/module/types/v2/factories/IUniswapV2Router01__factory.js +765 -0
- package/build/module/types/v2/factories/IUniswapV2Router02__factory.d.ts +22 -0
- package/build/module/types/v2/factories/IUniswapV2Router02__factory.js +967 -0
- package/build/module/types/v2/factories/UniswapV2ERC20__factory.d.ts +58 -0
- package/build/module/types/v2/factories/UniswapV2ERC20__factory.js +380 -0
- package/build/module/types/v2/factories/UniswapV2Factory__factory.d.ts +62 -0
- package/build/module/types/v2/factories/UniswapV2Factory__factory.js +229 -0
- package/build/module/types/v2/factories/UniswapV2Migrator__factory.d.ts +44 -0
- package/build/module/types/v2/factories/UniswapV2Migrator__factory.js +91 -0
- package/build/module/types/v2/factories/UniswapV2Pair__factory.d.ts +58 -0
- package/build/module/types/v2/factories/UniswapV2Pair__factory.js +749 -0
- package/build/module/types/v2/factories/UniswapV2Router01__factory.d.ts +48 -0
- package/build/module/types/v2/factories/UniswapV2Router01__factory.js +807 -0
- package/build/module/types/v2/factories/UniswapV2Router02__factory.d.ts +48 -0
- package/build/module/types/v2/factories/UniswapV2Router02__factory.js +1009 -0
- package/build/module/types/v2/index.d.ts +26 -0
- package/build/module/types/v2/index.js +14 -0
- package/build/module/types/v3/factories/IERC1271__factory.d.ts +22 -0
- package/build/module/types/v3/factories/IERC1271__factory.js +40 -0
- package/build/module/types/v3/factories/IERC20Minimal__factory.d.ts +35 -0
- package/build/module/types/v3/factories/IERC20Minimal__factory.js +186 -0
- package/build/module/types/v3/factories/IERC20PermitAllowed__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IERC20PermitAllowed__factory.js +64 -0
- package/build/module/types/v3/factories/IERC721Permit__factory.d.ts +35 -0
- package/build/module/types/v3/factories/IERC721Permit__factory.js +365 -0
- package/build/module/types/v3/factories/IMulticall__factory.d.ts +22 -0
- package/build/module/types/v3/factories/IMulticall__factory.js +35 -0
- package/build/module/types/v3/factories/INonfungiblePositionManager__factory.d.ts +55 -0
- package/build/module/types/v3/factories/INonfungiblePositionManager__factory.js +1003 -0
- package/build/module/types/v3/factories/INonfungibleTokenPositionDescriptor__factory.d.ts +22 -0
- package/build/module/types/v3/factories/INonfungibleTokenPositionDescriptor__factory.js +40 -0
- package/build/module/types/v3/factories/IPeripheryImmutableState__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IPeripheryImmutableState__factory.js +42 -0
- package/build/module/types/v3/factories/IPeripheryPaymentsWithFee__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IPeripheryPaymentsWithFee__factory.js +125 -0
- package/build/module/types/v3/factories/IPeripheryPayments__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IPeripheryPayments__factory.js +64 -0
- package/build/module/types/v3/factories/IPoolInitializer__factory.d.ts +22 -0
- package/build/module/types/v3/factories/IPoolInitializer__factory.js +50 -0
- package/build/module/types/v3/factories/IQuoter__factory.d.ts +22 -0
- package/build/module/types/v3/factories/IQuoter__factory.js +142 -0
- package/build/module/types/v3/factories/ISelfPermit__factory.d.ts +18 -0
- package/build/module/types/v3/factories/ISelfPermit__factory.js +168 -0
- package/build/module/types/v3/factories/ISwapRouter__factory.d.ts +37 -0
- package/build/module/types/v3/factories/ISwapRouter__factory.js +253 -0
- package/build/module/types/v3/factories/ITickLens__factory.d.ts +27 -0
- package/build/module/types/v3/factories/ITickLens__factory.js +57 -0
- package/build/module/types/v3/factories/IUniswapV3Factory__factory.d.ts +35 -0
- package/build/module/types/v3/factories/IUniswapV3Factory__factory.js +212 -0
- package/build/module/types/v3/factories/IUniswapV3FlashCallback__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IUniswapV3FlashCallback__factory.js +39 -0
- package/build/module/types/v3/factories/IUniswapV3MintCallback__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IUniswapV3MintCallback__factory.js +39 -0
- package/build/module/types/v3/factories/IUniswapV3PoolActions__factory.d.ts +22 -0
- package/build/module/types/v3/factories/IUniswapV3PoolActions__factory.js +236 -0
- package/build/module/types/v3/factories/IUniswapV3PoolDeployer__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IUniswapV3PoolDeployer__factory.js +49 -0
- package/build/module/types/v3/factories/IUniswapV3PoolDerivedState__factory.d.ts +22 -0
- package/build/module/types/v3/factories/IUniswapV3PoolDerivedState__factory.js +74 -0
- package/build/module/types/v3/factories/IUniswapV3PoolEvents__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IUniswapV3PoolEvents__factory.js +343 -0
- package/build/module/types/v3/factories/IUniswapV3PoolImmutables__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IUniswapV3PoolImmutables__factory.js +94 -0
- package/build/module/types/v3/factories/IUniswapV3PoolOwnerActions__factory.d.ts +22 -0
- package/build/module/types/v3/factories/IUniswapV3PoolOwnerActions__factory.js +68 -0
- package/build/module/types/v3/factories/IUniswapV3Pool__factory.d.ts +35 -0
- package/build/module/types/v3/factories/IUniswapV3Pool__factory.js +997 -0
- package/build/module/types/v3/factories/IUniswapV3SwapCallback__factory.d.ts +18 -0
- package/build/module/types/v3/factories/IUniswapV3SwapCallback__factory.js +39 -0
- package/build/module/types/v3/factories/IV3Migrator__factory.d.ts +37 -0
- package/build/module/types/v3/factories/IV3Migrator__factory.js +301 -0
- package/build/module/types/v3/factories/IWETH9__factory.d.ts +35 -0
- package/build/module/types/v3/factories/IWETH9__factory.js +219 -0
- package/build/module/types/v3/factories/NFTDescriptor__factory.d.ts +37 -0
- package/build/module/types/v3/factories/NFTDescriptor__factory.js +129 -0
- package/build/module/types/v3/factories/NonfungiblePositionManager__factory.d.ts +83 -0
- package/build/module/types/v3/factories/NonfungiblePositionManager__factory.js +1257 -0
- package/build/module/types/v3/factories/NonfungibleTokenPositionDescriptor__factory.d.ts +51 -0
- package/build/module/types/v3/factories/NonfungibleTokenPositionDescriptor__factory.js +183 -0
- package/build/module/types/v3/factories/PairFlash__factory.d.ts +69 -0
- package/build/module/types/v3/factories/PairFlash__factory.js +223 -0
- package/build/module/types/v3/factories/QuoterV2__factory.d.ts +61 -0
- package/build/module/types/v3/factories/QuoterV2__factory.js +303 -0
- package/build/module/types/v3/factories/Quoter__factory.d.ts +42 -0
- package/build/module/types/v3/factories/Quoter__factory.js +229 -0
- package/build/module/types/v3/factories/SwapRouter__factory.d.ts +67 -0
- package/build/module/types/v3/factories/SwapRouter__factory.js +601 -0
- package/build/module/types/v3/factories/TickLens__factory.d.ts +37 -0
- package/build/module/types/v3/factories/TickLens__factory.js +79 -0
- package/build/module/types/v3/factories/UniswapInterfaceMulticall__factory.d.ts +1 -1
- package/build/module/types/v3/factories/UniswapInterfaceMulticall__factory.js +8 -3
- package/build/module/types/v3/factories/UniswapV3Factory__factory.d.ts +52 -0
- package/build/module/types/v3/factories/UniswapV3Factory__factory.js +272 -0
- package/build/module/types/v3/factories/UniswapV3Pool__factory.d.ts +52 -0
- package/build/module/types/v3/factories/UniswapV3Pool__factory.js +1024 -0
- package/build/module/types/v3/factories/V3Migrator__factory.d.ts +63 -0
- package/build/module/types/v3/factories/V3Migrator__factory.js +387 -0
- package/build/module/types/v3/index.d.ts +86 -0
- package/build/module/types/v3/index.js +44 -0
- package/build/module/util/addresses.d.ts +1 -1
- package/build/module/util/chains.js +3 -3
- package/build/module/util/onchainQuoteProviderConfigs.d.ts +1 -1
- package/package.json +23 -18
- package/build/main/types/other/commons.d.ts +0 -16
- package/build/main/types/other/commons.js +0 -6
- package/build/main/types/v2/commons.d.ts +0 -16
- package/build/main/types/v2/commons.js +0 -6
- package/build/main/types/v3/commons.d.ts +0 -16
- package/build/main/types/v3/commons.js +0 -6
- package/build/module/types/other/commons.d.ts +0 -16
- package/build/module/types/other/commons.js +0 -5
- package/build/module/types/v2/commons.d.ts +0 -16
- package/build/module/types/v2/commons.js +0 -5
- package/build/module/types/v3/commons.d.ts +0 -16
- package/build/module/types/v3/commons.js +0 -5
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IUniswapV3PoolOwnerActions__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "recipient",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "uint128",
|
|
18
|
+
name: "amount0Requested",
|
|
19
|
+
type: "uint128",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint128",
|
|
23
|
+
name: "amount1Requested",
|
|
24
|
+
type: "uint128",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
name: "collectProtocol",
|
|
28
|
+
outputs: [
|
|
29
|
+
{
|
|
30
|
+
internalType: "uint128",
|
|
31
|
+
name: "amount0",
|
|
32
|
+
type: "uint128",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "uint128",
|
|
36
|
+
name: "amount1",
|
|
37
|
+
type: "uint128",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
stateMutability: "nonpayable",
|
|
41
|
+
type: "function",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
internalType: "uint8",
|
|
47
|
+
name: "feeProtocol0",
|
|
48
|
+
type: "uint8",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
internalType: "uint8",
|
|
52
|
+
name: "feeProtocol1",
|
|
53
|
+
type: "uint8",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "setFeeProtocol",
|
|
57
|
+
outputs: [],
|
|
58
|
+
stateMutability: "nonpayable",
|
|
59
|
+
type: "function",
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
class IUniswapV3PoolOwnerActions__factory {
|
|
63
|
+
static createInterface() {
|
|
64
|
+
return new ethers_1.utils.Interface(_abi);
|
|
65
|
+
}
|
|
66
|
+
static connect(address, signerOrProvider) {
|
|
67
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.IUniswapV3PoolOwnerActions__factory = IUniswapV3PoolOwnerActions__factory;
|
|
71
|
+
IUniswapV3PoolOwnerActions__factory.abi = _abi;
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVVuaXN3YXBWM1Bvb2xPd25lckFjdGlvbnNfX2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvdHlwZXMvdjMvZmFjdG9yaWVzL0lVbmlzd2FwVjNQb29sT3duZXJBY3Rpb25zX19mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrQ0FBK0M7QUFDL0Msb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBRXBCLG1DQUFpRDtBQU9qRCxNQUFNLElBQUksR0FBRztJQUNYO1FBQ0UsTUFBTSxFQUFFO1lBQ047Z0JBQ0UsWUFBWSxFQUFFLFNBQVM7Z0JBQ3ZCLElBQUksRUFBRSxXQUFXO2dCQUNqQixJQUFJLEVBQUUsU0FBUzthQUNoQjtZQUNEO2dCQUNFLFlBQVksRUFBRSxTQUFTO2dCQUN2QixJQUFJLEVBQUUsa0JBQWtCO2dCQUN4QixJQUFJLEVBQUUsU0FBUzthQUNoQjtZQUNEO2dCQUNFLFlBQVksRUFBRSxTQUFTO2dCQUN2QixJQUFJLEVBQUUsa0JBQWtCO2dCQUN4QixJQUFJLEVBQUUsU0FBUzthQUNoQjtTQUNGO1FBQ0QsSUFBSSxFQUFFLGlCQUFpQjtRQUN2QixPQUFPLEVBQUU7WUFDUDtnQkFDRSxZQUFZLEVBQUUsU0FBUztnQkFDdkIsSUFBSSxFQUFFLFNBQVM7Z0JBQ2YsSUFBSSxFQUFFLFNBQVM7YUFDaEI7WUFDRDtnQkFDRSxZQUFZLEVBQUUsU0FBUztnQkFDdkIsSUFBSSxFQUFFLFNBQVM7Z0JBQ2YsSUFBSSxFQUFFLFNBQVM7YUFDaEI7U0FDRjtRQUNELGVBQWUsRUFBRSxZQUFZO1FBQzdCLElBQUksRUFBRSxVQUFVO0tBQ2pCO0lBQ0Q7UUFDRSxNQUFNLEVBQUU7WUFDTjtnQkFDRSxZQUFZLEVBQUUsT0FBTztnQkFDckIsSUFBSSxFQUFFLGNBQWM7Z0JBQ3BCLElBQUksRUFBRSxPQUFPO2FBQ2Q7WUFDRDtnQkFDRSxZQUFZLEVBQUUsT0FBTztnQkFDckIsSUFBSSxFQUFFLGNBQWM7Z0JBQ3BCLElBQUksRUFBRSxPQUFPO2FBQ2Q7U0FDRjtRQUNELElBQUksRUFBRSxnQkFBZ0I7UUFDdEIsT0FBTyxFQUFFLEVBQUU7UUFDWCxlQUFlLEVBQUUsWUFBWTtRQUM3QixJQUFJLEVBQUUsVUFBVTtLQUNqQjtDQUNGLENBQUM7QUFFRixNQUFhLG1DQUFtQztJQUU5QyxNQUFNLENBQUMsZUFBZTtRQUNwQixPQUFPLElBQUksY0FBSyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQXdDLENBQUM7SUFDMUUsQ0FBQztJQUNELE1BQU0sQ0FBQyxPQUFPLENBQ1osT0FBZSxFQUNmLGdCQUFtQztRQUVuQyxPQUFPLElBQUksaUJBQVEsQ0FDakIsT0FBTyxFQUNQLElBQUksRUFDSixnQkFBZ0IsQ0FDYSxDQUFDO0lBQ2xDLENBQUM7O0FBZEgsa0ZBZUM7QUFkaUIsdUNBQUcsR0FBRyxJQUFJLENBQUMifQ==
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { IUniswapV3Pool, IUniswapV3PoolInterface } from "../IUniswapV3Pool";
|
|
4
|
+
export declare class IUniswapV3Pool__factory {
|
|
5
|
+
static readonly abi: ({
|
|
6
|
+
anonymous: boolean;
|
|
7
|
+
inputs: {
|
|
8
|
+
indexed: boolean;
|
|
9
|
+
internalType: string;
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
outputs?: undefined;
|
|
16
|
+
stateMutability?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
inputs: {
|
|
19
|
+
internalType: string;
|
|
20
|
+
name: string;
|
|
21
|
+
type: string;
|
|
22
|
+
}[];
|
|
23
|
+
name: string;
|
|
24
|
+
outputs: {
|
|
25
|
+
internalType: string;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}[];
|
|
29
|
+
stateMutability: string;
|
|
30
|
+
type: string;
|
|
31
|
+
anonymous?: undefined;
|
|
32
|
+
})[];
|
|
33
|
+
static createInterface(): IUniswapV3PoolInterface;
|
|
34
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IUniswapV3Pool;
|
|
35
|
+
}
|