@guru-fund/sdk 0.1.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/LICENSE +21 -0
- package/README.md +226 -0
- package/dist/GuruProtocol.d.ts +44 -0
- package/dist/GuruProtocol.js +75 -0
- package/dist/addresses.d.ts +40 -0
- package/dist/addresses.js +111 -0
- package/dist/constants.d.ts +22 -0
- package/dist/constants.js +23 -0
- package/dist/helpers/FundDataFetcher.d.ts +24 -0
- package/dist/helpers/FundDataFetcher.js +66 -0
- package/dist/helpers/ReceiptParser.d.ts +23 -0
- package/dist/helpers/ReceiptParser.js +59 -0
- package/dist/helpers/Token.d.ts +18 -0
- package/dist/helpers/Token.js +43 -0
- package/dist/helpers/compareAddresses.d.ts +1 -0
- package/dist/helpers/compareAddresses.js +15 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +3 -0
- package/dist/quotes/quoteDeposit.d.ts +41 -0
- package/dist/quotes/quoteDeposit.js +186 -0
- package/dist/quotes/quoteHarvest.d.ts +34 -0
- package/dist/quotes/quoteHarvest.js +105 -0
- package/dist/quotes/quoteRebalance.d.ts +51 -0
- package/dist/quotes/quoteRebalance.js +201 -0
- package/dist/quotes/quoteTrade.d.ts +18 -0
- package/dist/quotes/quoteTrade.js +51 -0
- package/dist/quotes/quoteWithdrawal.d.ts +41 -0
- package/dist/quotes/quoteWithdrawal.js +113 -0
- package/dist/router/constants.d.ts +18 -0
- package/dist/router/constants.js +25 -0
- package/dist/router/finalizeRoute.d.ts +16 -0
- package/dist/router/finalizeRoute.js +29 -0
- package/dist/router/getFallbackRoutes.d.ts +10 -0
- package/dist/router/getFallbackRoutes.js +91 -0
- package/dist/router/getUniswapV4Route.d.ts +42 -0
- package/dist/router/getUniswapV4Route.js +324 -0
- package/dist/router/getVeloraRoute.d.ts +10 -0
- package/dist/router/getVeloraRoute.js +68 -0
- package/dist/router/helpers.d.ts +11 -0
- package/dist/router/helpers.js +30 -0
- package/dist/router/index.d.ts +22 -0
- package/dist/router/index.js +135 -0
- package/dist/router/pathCache.d.ts +16 -0
- package/dist/router/pathCache.js +116 -0
- package/dist/router/poolHelper.d.ts +126 -0
- package/dist/router/poolHelper.js +807 -0
- package/dist/router/quoteWethTrade.d.ts +14 -0
- package/dist/router/quoteWethTrade.js +125 -0
- package/dist/router/simulation.d.ts +43 -0
- package/dist/router/simulation.js +70 -0
- package/dist/router/types.d.ts +149 -0
- package/dist/router/types.js +1 -0
- package/dist/router/v4PoolDiscovery.d.ts +30 -0
- package/dist/router/v4PoolDiscovery.js +147 -0
- package/dist/router/velora.d.ts +42 -0
- package/dist/router/velora.js +279 -0
- package/dist/schemas/index.d.ts +6 -0
- package/dist/schemas/index.js +6 -0
- package/dist/schemas/primitives.d.ts +3 -0
- package/dist/schemas/primitives.js +9 -0
- package/dist/schemas/quoteDeposit.d.ts +23 -0
- package/dist/schemas/quoteDeposit.js +10 -0
- package/dist/schemas/quoteHarvest.d.ts +17 -0
- package/dist/schemas/quoteHarvest.js +8 -0
- package/dist/schemas/quoteRebalance.d.ts +29 -0
- package/dist/schemas/quoteRebalance.js +10 -0
- package/dist/schemas/quoteTrade.d.ts +20 -0
- package/dist/schemas/quoteTrade.js +9 -0
- package/dist/schemas/quoteWithdrawal.d.ts +23 -0
- package/dist/schemas/quoteWithdrawal.js +10 -0
- package/dist/txBuilders/buildDepositTx.d.ts +17 -0
- package/dist/txBuilders/buildDepositTx.js +18 -0
- package/dist/txBuilders/buildHarvestTx.d.ts +16 -0
- package/dist/txBuilders/buildHarvestTx.js +17 -0
- package/dist/txBuilders/buildTradeTx.d.ts +9 -0
- package/dist/txBuilders/buildTradeTx.js +9 -0
- package/dist/txBuilders/buildWithdrawTx.d.ts +16 -0
- package/dist/txBuilders/buildWithdrawTx.js +17 -0
- package/dist/txBuilders/index.d.ts +8 -0
- package/dist/txBuilders/index.js +4 -0
- package/dist/typechain/common.d.ts +50 -0
- package/dist/typechain/common.js +1 -0
- package/dist/typechain/factories/include/IPancakeQuoterV2__factory.d.ts +225 -0
- package/dist/typechain/factories/include/IPancakeQuoterV2__factory.js +295 -0
- package/dist/typechain/factories/include/ISwapRouter02__factory.d.ts +826 -0
- package/dist/typechain/factories/include/ISwapRouter02__factory.js +1073 -0
- package/dist/typechain/factories/include/index.d.ts +2 -0
- package/dist/typechain/factories/include/index.js +2 -0
- package/dist/typechain/factories/index.d.ts +2 -0
- package/dist/typechain/factories/index.js +2 -0
- package/dist/typechain/factories/out/Adapter__factory.d.ts +31 -0
- package/dist/typechain/factories/out/Adapter__factory.js +43 -0
- package/dist/typechain/factories/out/AerodromeV2Adapter__factory.d.ts +179 -0
- package/dist/typechain/factories/out/AerodromeV2Adapter__factory.js +237 -0
- package/dist/typechain/factories/out/AerodromeV3Adapter__factory.d.ts +162 -0
- package/dist/typechain/factories/out/AerodromeV3Adapter__factory.js +215 -0
- package/dist/typechain/factories/out/AssetManager.sol/LedgerAssetManager__factory.d.ts +1032 -0
- package/dist/typechain/factories/out/AssetManager.sol/LedgerAssetManager__factory.js +1357 -0
- package/dist/typechain/factories/out/AssetManager.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/AssetManager.sol/index.js +1 -0
- package/dist/typechain/factories/out/Bookkeeper.sol/LedgerBookkeeper__factory.d.ts +950 -0
- package/dist/typechain/factories/out/Bookkeeper.sol/LedgerBookkeeper__factory.js +1250 -0
- package/dist/typechain/factories/out/Bookkeeper.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Bookkeeper.sol/index.js +1 -0
- package/dist/typechain/factories/out/Checkpoint.sol/CheckpointController__factory.d.ts +33 -0
- package/dist/typechain/factories/out/Checkpoint.sol/CheckpointController__factory.js +47 -0
- package/dist/typechain/factories/out/Checkpoint.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Checkpoint.sol/index.js +1 -0
- package/dist/typechain/factories/out/Closure.sol/ClosureController__factory.d.ts +459 -0
- package/dist/typechain/factories/out/Closure.sol/ClosureController__factory.js +603 -0
- package/dist/typechain/factories/out/Closure.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Closure.sol/index.js +1 -0
- package/dist/typechain/factories/out/ContextBuilder__factory.d.ts +671 -0
- package/dist/typechain/factories/out/ContextBuilder__factory.js +870 -0
- package/dist/typechain/factories/out/Control.sol/Controllable__factory.d.ts +107 -0
- package/dist/typechain/factories/out/Control.sol/Controllable__factory.js +141 -0
- package/dist/typechain/factories/out/Control.sol/Controller__factory.d.ts +21 -0
- package/dist/typechain/factories/out/Control.sol/Controller__factory.js +30 -0
- package/dist/typechain/factories/out/Control.sol/index.d.ts +2 -0
- package/dist/typechain/factories/out/Control.sol/index.js +2 -0
- package/dist/typechain/factories/out/Controller.sol/ClosureDelegate__factory.d.ts +57 -0
- package/dist/typechain/factories/out/Controller.sol/ClosureDelegate__factory.js +77 -0
- package/dist/typechain/factories/out/Controller.sol/CreationDelegate__factory.d.ts +58 -0
- package/dist/typechain/factories/out/Controller.sol/CreationDelegate__factory.js +77 -0
- package/dist/typechain/factories/out/Controller.sol/DepositDelegate__factory.d.ts +55 -0
- package/dist/typechain/factories/out/Controller.sol/DepositDelegate__factory.js +74 -0
- package/dist/typechain/factories/out/Controller.sol/FundController__factory.d.ts +703 -0
- package/dist/typechain/factories/out/Controller.sol/FundController__factory.js +911 -0
- package/dist/typechain/factories/out/Controller.sol/HarvestDelegate__factory.d.ts +234 -0
- package/dist/typechain/factories/out/Controller.sol/HarvestDelegate__factory.js +303 -0
- package/dist/typechain/factories/out/Controller.sol/TradeDelegate__factory.d.ts +61 -0
- package/dist/typechain/factories/out/Controller.sol/TradeDelegate__factory.js +81 -0
- package/dist/typechain/factories/out/Controller.sol/TransferDelegate__factory.d.ts +29 -0
- package/dist/typechain/factories/out/Controller.sol/TransferDelegate__factory.js +40 -0
- package/dist/typechain/factories/out/Controller.sol/WithdrawalDelegate__factory.d.ts +51 -0
- package/dist/typechain/factories/out/Controller.sol/WithdrawalDelegate__factory.js +69 -0
- package/dist/typechain/factories/out/Controller.sol/index.d.ts +8 -0
- package/dist/typechain/factories/out/Controller.sol/index.js +8 -0
- package/dist/typechain/factories/out/Cooldown.sol/LedgerCooldown__factory.d.ts +747 -0
- package/dist/typechain/factories/out/Cooldown.sol/LedgerCooldown__factory.js +982 -0
- package/dist/typechain/factories/out/Cooldown.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Cooldown.sol/index.js +1 -0
- package/dist/typechain/factories/out/Creation.sol/CreationController__factory.d.ts +172 -0
- package/dist/typechain/factories/out/Creation.sol/CreationController__factory.js +225 -0
- package/dist/typechain/factories/out/Creation.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Creation.sol/index.js +1 -0
- package/dist/typechain/factories/out/Deposit.sol/DepositController__factory.d.ts +162 -0
- package/dist/typechain/factories/out/Deposit.sol/DepositController__factory.js +223 -0
- package/dist/typechain/factories/out/Deposit.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Deposit.sol/index.js +1 -0
- package/dist/typechain/factories/out/Error__factory.d.ts +318 -0
- package/dist/typechain/factories/out/Error__factory.js +423 -0
- package/dist/typechain/factories/out/Harvest.sol/HarvestController__factory.d.ts +401 -0
- package/dist/typechain/factories/out/Harvest.sol/HarvestController__factory.js +527 -0
- package/dist/typechain/factories/out/Harvest.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Harvest.sol/index.js +1 -0
- package/dist/typechain/factories/out/IAerodromeRouter__factory.d.ts +85 -0
- package/dist/typechain/factories/out/IAerodromeRouter__factory.js +113 -0
- package/dist/typechain/factories/out/IAerodromeSwapRouter__factory.d.ts +89 -0
- package/dist/typechain/factories/out/IAerodromeSwapRouter__factory.js +119 -0
- package/dist/typechain/factories/out/IUniswapV4.sol/IPermit2__factory.d.ts +29 -0
- package/dist/typechain/factories/out/IUniswapV4.sol/IPermit2__factory.js +40 -0
- package/dist/typechain/factories/out/IUniswapV4.sol/IUniversalRouter__factory.d.ts +25 -0
- package/dist/typechain/factories/out/IUniswapV4.sol/IUniversalRouter__factory.js +35 -0
- package/dist/typechain/factories/out/IUniswapV4.sol/index.d.ts +2 -0
- package/dist/typechain/factories/out/IUniswapV4.sol/index.js +2 -0
- package/dist/typechain/factories/out/IV0Fund__factory.d.ts +129 -0
- package/dist/typechain/factories/out/IV0Fund__factory.js +173 -0
- package/dist/typechain/factories/out/IV3SwapRouter__factory.d.ts +38 -0
- package/dist/typechain/factories/out/IV3SwapRouter__factory.js +53 -0
- package/dist/typechain/factories/out/Initializer.sol/LedgerInitializer__factory.d.ts +655 -0
- package/dist/typechain/factories/out/Initializer.sol/LedgerInitializer__factory.js +859 -0
- package/dist/typechain/factories/out/Initializer.sol/VaultInitializer__factory.d.ts +141 -0
- package/dist/typechain/factories/out/Initializer.sol/VaultInitializer__factory.js +185 -0
- package/dist/typechain/factories/out/Initializer.sol/index.d.ts +2 -0
- package/dist/typechain/factories/out/Initializer.sol/index.js +2 -0
- package/dist/typechain/factories/out/Ledger.sol/FundLedger__factory.d.ts +1502 -0
- package/dist/typechain/factories/out/Ledger.sol/FundLedger__factory.js +1959 -0
- package/dist/typechain/factories/out/Ledger.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Ledger.sol/index.js +1 -0
- package/dist/typechain/factories/out/LotusP2P__factory.d.ts +847 -0
- package/dist/typechain/factories/out/LotusP2P__factory.js +1095 -0
- package/dist/typechain/factories/out/MulticallStatic__factory.d.ts +29 -0
- package/dist/typechain/factories/out/MulticallStatic__factory.js +42 -0
- package/dist/typechain/factories/out/Operator.sol/VaultOperator__factory.d.ts +235 -0
- package/dist/typechain/factories/out/Operator.sol/VaultOperator__factory.js +308 -0
- package/dist/typechain/factories/out/Operator.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Operator.sol/index.js +1 -0
- package/dist/typechain/factories/out/P2PAdapter__factory.d.ts +216 -0
- package/dist/typechain/factories/out/P2PAdapter__factory.js +287 -0
- package/dist/typechain/factories/out/ProtocolMigrationExtension__factory.d.ts +1084 -0
- package/dist/typechain/factories/out/ProtocolMigrationExtension__factory.js +1409 -0
- package/dist/typechain/factories/out/ProtocolProvider__factory.d.ts +21 -0
- package/dist/typechain/factories/out/ProtocolProvider__factory.js +30 -0
- package/dist/typechain/factories/out/Protocol__factory.d.ts +1095 -0
- package/dist/typechain/factories/out/Protocol__factory.js +1424 -0
- package/dist/typechain/factories/out/Registrar.sol/LedgerRegistrar__factory.d.ts +1375 -0
- package/dist/typechain/factories/out/Registrar.sol/LedgerRegistrar__factory.js +1791 -0
- package/dist/typechain/factories/out/Registrar.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Registrar.sol/index.js +1 -0
- package/dist/typechain/factories/out/Settings.sol/SettingsController__factory.d.ts +143 -0
- package/dist/typechain/factories/out/Settings.sol/SettingsController__factory.js +188 -0
- package/dist/typechain/factories/out/Settings.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Settings.sol/index.js +1 -0
- package/dist/typechain/factories/out/Shares.sol/ICheckpointController__factory.d.ts +21 -0
- package/dist/typechain/factories/out/Shares.sol/ICheckpointController__factory.js +31 -0
- package/dist/typechain/factories/out/Shares.sol/ITransferController__factory.d.ts +25 -0
- package/dist/typechain/factories/out/Shares.sol/ITransferController__factory.js +35 -0
- package/dist/typechain/factories/out/Shares.sol/LedgerShares__factory.d.ts +829 -0
- package/dist/typechain/factories/out/Shares.sol/LedgerShares__factory.js +1089 -0
- package/dist/typechain/factories/out/Shares.sol/index.d.ts +3 -0
- package/dist/typechain/factories/out/Shares.sol/index.js +3 -0
- package/dist/typechain/factories/out/SignatureVerifier__factory.d.ts +171 -0
- package/dist/typechain/factories/out/SignatureVerifier__factory.js +224 -0
- package/dist/typechain/factories/out/Storage.sol/LedgerStorage__factory.d.ts +527 -0
- package/dist/typechain/factories/out/Storage.sol/LedgerStorage__factory.js +695 -0
- package/dist/typechain/factories/out/Storage.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Storage.sol/index.js +1 -0
- package/dist/typechain/factories/out/Trade.sol/TradeController__factory.d.ts +200 -0
- package/dist/typechain/factories/out/Trade.sol/TradeController__factory.js +262 -0
- package/dist/typechain/factories/out/Trade.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Trade.sol/index.js +1 -0
- package/dist/typechain/factories/out/Transfer.sol/TransferController__factory.d.ts +100 -0
- package/dist/typechain/factories/out/Transfer.sol/TransferController__factory.js +141 -0
- package/dist/typechain/factories/out/Transfer.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Transfer.sol/index.js +1 -0
- package/dist/typechain/factories/out/UniswapV2Adapter__factory.d.ts +162 -0
- package/dist/typechain/factories/out/UniswapV2Adapter__factory.js +215 -0
- package/dist/typechain/factories/out/UniswapV3Adapter__factory.d.ts +162 -0
- package/dist/typechain/factories/out/UniswapV3Adapter__factory.js +215 -0
- package/dist/typechain/factories/out/UniswapV3SwapRouter02Adapter__factory.d.ts +162 -0
- package/dist/typechain/factories/out/UniswapV3SwapRouter02Adapter__factory.js +215 -0
- package/dist/typechain/factories/out/UniswapV4Adapter__factory.d.ts +203 -0
- package/dist/typechain/factories/out/UniswapV4Adapter__factory.js +268 -0
- package/dist/typechain/factories/out/V0ToLotusMigrator__factory.d.ts +216 -0
- package/dist/typechain/factories/out/V0ToLotusMigrator__factory.js +284 -0
- package/dist/typechain/factories/out/Vault.sol/FundVault__factory.d.ts +258 -0
- package/dist/typechain/factories/out/Vault.sol/FundVault__factory.js +339 -0
- package/dist/typechain/factories/out/Vault.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Vault.sol/index.js +1 -0
- package/dist/typechain/factories/out/Withdrawal.sol/WithdrawalController__factory.d.ts +285 -0
- package/dist/typechain/factories/out/Withdrawal.sol/WithdrawalController__factory.js +377 -0
- package/dist/typechain/factories/out/Withdrawal.sol/index.d.ts +1 -0
- package/dist/typechain/factories/out/Withdrawal.sol/index.js +1 -0
- package/dist/typechain/factories/out/index.d.ts +43 -0
- package/dist/typechain/factories/out/index.js +43 -0
- package/dist/typechain/include/IPancakeQuoterV2.d.ts +223 -0
- package/dist/typechain/include/IPancakeQuoterV2.js +1 -0
- package/dist/typechain/include/ISwapRouter02.d.ts +682 -0
- package/dist/typechain/include/ISwapRouter02.js +1 -0
- package/dist/typechain/include/index.d.ts +2 -0
- package/dist/typechain/include/index.js +1 -0
- package/dist/typechain/index.d.ts +119 -0
- package/dist/typechain/index.js +58 -0
- package/dist/typechain/out/Adapter.d.ts +29 -0
- package/dist/typechain/out/Adapter.js +1 -0
- package/dist/typechain/out/AerodromeV2Adapter.d.ts +106 -0
- package/dist/typechain/out/AerodromeV2Adapter.js +1 -0
- package/dist/typechain/out/AerodromeV3Adapter.d.ts +87 -0
- package/dist/typechain/out/AerodromeV3Adapter.js +1 -0
- package/dist/typechain/out/AssetManager.sol/LedgerAssetManager.d.ts +604 -0
- package/dist/typechain/out/AssetManager.sol/LedgerAssetManager.js +1 -0
- package/dist/typechain/out/AssetManager.sol/index.d.ts +1 -0
- package/dist/typechain/out/AssetManager.sol/index.js +1 -0
- package/dist/typechain/out/Bookkeeper.sol/LedgerBookkeeper.d.ts +548 -0
- package/dist/typechain/out/Bookkeeper.sol/LedgerBookkeeper.js +1 -0
- package/dist/typechain/out/Bookkeeper.sol/index.d.ts +1 -0
- package/dist/typechain/out/Bookkeeper.sol/index.js +1 -0
- package/dist/typechain/out/Checkpoint.sol/CheckpointController.d.ts +29 -0
- package/dist/typechain/out/Checkpoint.sol/CheckpointController.js +1 -0
- package/dist/typechain/out/Checkpoint.sol/index.d.ts +1 -0
- package/dist/typechain/out/Checkpoint.sol/index.js +1 -0
- package/dist/typechain/out/Closure.sol/ClosureController.d.ts +273 -0
- package/dist/typechain/out/Closure.sol/ClosureController.js +1 -0
- package/dist/typechain/out/Closure.sol/index.d.ts +1 -0
- package/dist/typechain/out/Closure.sol/index.js +1 -0
- package/dist/typechain/out/ContextBuilder.d.ts +403 -0
- package/dist/typechain/out/ContextBuilder.js +1 -0
- package/dist/typechain/out/Control.sol/Controllable.d.ts +97 -0
- package/dist/typechain/out/Control.sol/Controllable.js +1 -0
- package/dist/typechain/out/Control.sol/Controller.d.ts +25 -0
- package/dist/typechain/out/Control.sol/Controller.js +1 -0
- package/dist/typechain/out/Control.sol/index.d.ts +2 -0
- package/dist/typechain/out/Control.sol/index.js +1 -0
- package/dist/typechain/out/Controller.sol/ClosureDelegate.d.ts +61 -0
- package/dist/typechain/out/Controller.sol/ClosureDelegate.js +1 -0
- package/dist/typechain/out/Controller.sol/CreationDelegate.d.ts +61 -0
- package/dist/typechain/out/Controller.sol/CreationDelegate.js +1 -0
- package/dist/typechain/out/Controller.sol/DepositDelegate.d.ts +56 -0
- package/dist/typechain/out/Controller.sol/DepositDelegate.js +1 -0
- package/dist/typechain/out/Controller.sol/FundController.d.ts +464 -0
- package/dist/typechain/out/Controller.sol/FundController.js +1 -0
- package/dist/typechain/out/Controller.sol/HarvestDelegate.d.ts +163 -0
- package/dist/typechain/out/Controller.sol/HarvestDelegate.js +1 -0
- package/dist/typechain/out/Controller.sol/TradeDelegate.d.ts +67 -0
- package/dist/typechain/out/Controller.sol/TradeDelegate.js +1 -0
- package/dist/typechain/out/Controller.sol/TransferDelegate.d.ts +37 -0
- package/dist/typechain/out/Controller.sol/TransferDelegate.js +1 -0
- package/dist/typechain/out/Controller.sol/WithdrawalDelegate.d.ts +53 -0
- package/dist/typechain/out/Controller.sol/WithdrawalDelegate.js +1 -0
- package/dist/typechain/out/Controller.sol/index.d.ts +8 -0
- package/dist/typechain/out/Controller.sol/index.js +1 -0
- package/dist/typechain/out/Cooldown.sol/LedgerCooldown.d.ts +446 -0
- package/dist/typechain/out/Cooldown.sol/LedgerCooldown.js +1 -0
- package/dist/typechain/out/Cooldown.sol/index.d.ts +1 -0
- package/dist/typechain/out/Cooldown.sol/index.js +1 -0
- package/dist/typechain/out/Creation.sol/CreationController.d.ts +102 -0
- package/dist/typechain/out/Creation.sol/CreationController.js +1 -0
- package/dist/typechain/out/Creation.sol/index.d.ts +1 -0
- package/dist/typechain/out/Creation.sol/index.js +1 -0
- package/dist/typechain/out/Deposit.sol/DepositController.d.ts +68 -0
- package/dist/typechain/out/Deposit.sol/DepositController.js +1 -0
- package/dist/typechain/out/Deposit.sol/index.d.ts +1 -0
- package/dist/typechain/out/Deposit.sol/index.js +1 -0
- package/dist/typechain/out/Error.d.ts +20 -0
- package/dist/typechain/out/Error.js +1 -0
- package/dist/typechain/out/Harvest.sol/HarvestController.d.ts +241 -0
- package/dist/typechain/out/Harvest.sol/HarvestController.js +1 -0
- package/dist/typechain/out/Harvest.sol/index.d.ts +1 -0
- package/dist/typechain/out/Harvest.sol/index.js +1 -0
- package/dist/typechain/out/IAerodromeRouter.d.ts +80 -0
- package/dist/typechain/out/IAerodromeRouter.js +1 -0
- package/dist/typechain/out/IAerodromeSwapRouter.d.ts +96 -0
- package/dist/typechain/out/IAerodromeSwapRouter.js +1 -0
- package/dist/typechain/out/IUniswapV4.sol/IPermit2.d.ts +39 -0
- package/dist/typechain/out/IUniswapV4.sol/IPermit2.js +1 -0
- package/dist/typechain/out/IUniswapV4.sol/IUniversalRouter.d.ts +37 -0
- package/dist/typechain/out/IUniswapV4.sol/IUniversalRouter.js +1 -0
- package/dist/typechain/out/IUniswapV4.sol/index.d.ts +2 -0
- package/dist/typechain/out/IUniswapV4.sol/index.js +1 -0
- package/dist/typechain/out/IV0Fund.d.ts +69 -0
- package/dist/typechain/out/IV0Fund.js +1 -0
- package/dist/typechain/out/IV3SwapRouter.d.ts +52 -0
- package/dist/typechain/out/IV3SwapRouter.js +1 -0
- package/dist/typechain/out/Initializer.sol/LedgerInitializer.d.ts +379 -0
- package/dist/typechain/out/Initializer.sol/LedgerInitializer.js +1 -0
- package/dist/typechain/out/Initializer.sol/VaultInitializer.d.ts +129 -0
- package/dist/typechain/out/Initializer.sol/VaultInitializer.js +1 -0
- package/dist/typechain/out/Initializer.sol/index.d.ts +2 -0
- package/dist/typechain/out/Initializer.sol/index.js +1 -0
- package/dist/typechain/out/Ledger.sol/FundLedger.d.ts +926 -0
- package/dist/typechain/out/Ledger.sol/FundLedger.js +1 -0
- package/dist/typechain/out/Ledger.sol/index.d.ts +1 -0
- package/dist/typechain/out/Ledger.sol/index.js +1 -0
- package/dist/typechain/out/LotusP2P.d.ts +610 -0
- package/dist/typechain/out/LotusP2P.js +1 -0
- package/dist/typechain/out/MulticallStatic.d.ts +25 -0
- package/dist/typechain/out/MulticallStatic.js +1 -0
- package/dist/typechain/out/Operator.sol/VaultOperator.d.ts +197 -0
- package/dist/typechain/out/Operator.sol/VaultOperator.js +1 -0
- package/dist/typechain/out/Operator.sol/index.d.ts +1 -0
- package/dist/typechain/out/Operator.sol/index.js +1 -0
- package/dist/typechain/out/P2PAdapter.d.ts +100 -0
- package/dist/typechain/out/P2PAdapter.js +1 -0
- package/dist/typechain/out/Protocol.d.ts +815 -0
- package/dist/typechain/out/Protocol.js +1 -0
- package/dist/typechain/out/ProtocolMigrationExtension.d.ts +806 -0
- package/dist/typechain/out/ProtocolMigrationExtension.js +1 -0
- package/dist/typechain/out/ProtocolProvider.d.ts +25 -0
- package/dist/typechain/out/ProtocolProvider.js +1 -0
- package/dist/typechain/out/Registrar.sol/LedgerRegistrar.d.ts +866 -0
- package/dist/typechain/out/Registrar.sol/LedgerRegistrar.js +1 -0
- package/dist/typechain/out/Registrar.sol/index.d.ts +1 -0
- package/dist/typechain/out/Registrar.sol/index.js +1 -0
- package/dist/typechain/out/Settings.sol/SettingsController.d.ts +97 -0
- package/dist/typechain/out/Settings.sol/SettingsController.js +1 -0
- package/dist/typechain/out/Settings.sol/index.d.ts +1 -0
- package/dist/typechain/out/Settings.sol/index.js +1 -0
- package/dist/typechain/out/Shares.sol/ICheckpointController.d.ts +29 -0
- package/dist/typechain/out/Shares.sol/ICheckpointController.js +1 -0
- package/dist/typechain/out/Shares.sol/ITransferController.d.ts +37 -0
- package/dist/typechain/out/Shares.sol/ITransferController.js +1 -0
- package/dist/typechain/out/Shares.sol/LedgerShares.d.ts +494 -0
- package/dist/typechain/out/Shares.sol/LedgerShares.js +1 -0
- package/dist/typechain/out/Shares.sol/index.d.ts +3 -0
- package/dist/typechain/out/Shares.sol/index.js +1 -0
- package/dist/typechain/out/SignatureVerifier.d.ts +139 -0
- package/dist/typechain/out/SignatureVerifier.js +1 -0
- package/dist/typechain/out/Storage.sol/LedgerStorage.d.ts +281 -0
- package/dist/typechain/out/Storage.sol/LedgerStorage.js +1 -0
- package/dist/typechain/out/Storage.sol/index.d.ts +1 -0
- package/dist/typechain/out/Storage.sol/index.js +1 -0
- package/dist/typechain/out/Trade.sol/TradeController.d.ts +137 -0
- package/dist/typechain/out/Trade.sol/TradeController.js +1 -0
- package/dist/typechain/out/Trade.sol/index.d.ts +1 -0
- package/dist/typechain/out/Trade.sol/index.js +1 -0
- package/dist/typechain/out/Transfer.sol/TransferController.d.ts +49 -0
- package/dist/typechain/out/Transfer.sol/TransferController.js +1 -0
- package/dist/typechain/out/Transfer.sol/index.d.ts +1 -0
- package/dist/typechain/out/Transfer.sol/index.js +1 -0
- package/dist/typechain/out/UniswapV2Adapter.d.ts +87 -0
- package/dist/typechain/out/UniswapV2Adapter.js +1 -0
- package/dist/typechain/out/UniswapV3Adapter.d.ts +87 -0
- package/dist/typechain/out/UniswapV3Adapter.js +1 -0
- package/dist/typechain/out/UniswapV3SwapRouter02Adapter.d.ts +87 -0
- package/dist/typechain/out/UniswapV3SwapRouter02Adapter.js +1 -0
- package/dist/typechain/out/UniswapV4Adapter.d.ts +110 -0
- package/dist/typechain/out/UniswapV4Adapter.js +1 -0
- package/dist/typechain/out/V0ToLotusMigrator.d.ts +94 -0
- package/dist/typechain/out/V0ToLotusMigrator.js +1 -0
- package/dist/typechain/out/Vault.sol/FundVault.d.ts +197 -0
- package/dist/typechain/out/Vault.sol/FundVault.js +1 -0
- package/dist/typechain/out/Vault.sol/index.d.ts +1 -0
- package/dist/typechain/out/Vault.sol/index.js +1 -0
- package/dist/typechain/out/Withdrawal.sol/WithdrawalController.d.ts +152 -0
- package/dist/typechain/out/Withdrawal.sol/WithdrawalController.js +1 -0
- package/dist/typechain/out/Withdrawal.sol/index.d.ts +1 -0
- package/dist/typechain/out/Withdrawal.sol/index.js +1 -0
- package/dist/typechain/out/index.d.ts +65 -0
- package/dist/typechain/out/index.js +1 -0
- package/dist/types/Fund.d.ts +27 -0
- package/dist/types/Fund.js +1 -0
- package/package.json +67 -0
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../common";
|
|
3
|
+
export declare namespace IV3SwapRouter {
|
|
4
|
+
type ExactInputParamsStruct = {
|
|
5
|
+
path: BytesLike;
|
|
6
|
+
recipient: AddressLike;
|
|
7
|
+
amountIn: BigNumberish;
|
|
8
|
+
amountOutMinimum: BigNumberish;
|
|
9
|
+
};
|
|
10
|
+
type ExactInputParamsStructOutput = [
|
|
11
|
+
path: string,
|
|
12
|
+
recipient: string,
|
|
13
|
+
amountIn: bigint,
|
|
14
|
+
amountOutMinimum: bigint
|
|
15
|
+
] & {
|
|
16
|
+
path: string;
|
|
17
|
+
recipient: string;
|
|
18
|
+
amountIn: bigint;
|
|
19
|
+
amountOutMinimum: bigint;
|
|
20
|
+
};
|
|
21
|
+
type ExactInputSingleParamsStruct = {
|
|
22
|
+
tokenIn: AddressLike;
|
|
23
|
+
tokenOut: AddressLike;
|
|
24
|
+
fee: BigNumberish;
|
|
25
|
+
recipient: AddressLike;
|
|
26
|
+
amountIn: BigNumberish;
|
|
27
|
+
amountOutMinimum: BigNumberish;
|
|
28
|
+
sqrtPriceLimitX96: BigNumberish;
|
|
29
|
+
};
|
|
30
|
+
type ExactInputSingleParamsStructOutput = [
|
|
31
|
+
tokenIn: string,
|
|
32
|
+
tokenOut: string,
|
|
33
|
+
fee: bigint,
|
|
34
|
+
recipient: string,
|
|
35
|
+
amountIn: bigint,
|
|
36
|
+
amountOutMinimum: bigint,
|
|
37
|
+
sqrtPriceLimitX96: bigint
|
|
38
|
+
] & {
|
|
39
|
+
tokenIn: string;
|
|
40
|
+
tokenOut: string;
|
|
41
|
+
fee: bigint;
|
|
42
|
+
recipient: string;
|
|
43
|
+
amountIn: bigint;
|
|
44
|
+
amountOutMinimum: bigint;
|
|
45
|
+
sqrtPriceLimitX96: bigint;
|
|
46
|
+
};
|
|
47
|
+
type ExactOutputParamsStruct = {
|
|
48
|
+
path: BytesLike;
|
|
49
|
+
recipient: AddressLike;
|
|
50
|
+
amountOut: BigNumberish;
|
|
51
|
+
amountInMaximum: BigNumberish;
|
|
52
|
+
};
|
|
53
|
+
type ExactOutputParamsStructOutput = [
|
|
54
|
+
path: string,
|
|
55
|
+
recipient: string,
|
|
56
|
+
amountOut: bigint,
|
|
57
|
+
amountInMaximum: bigint
|
|
58
|
+
] & {
|
|
59
|
+
path: string;
|
|
60
|
+
recipient: string;
|
|
61
|
+
amountOut: bigint;
|
|
62
|
+
amountInMaximum: bigint;
|
|
63
|
+
};
|
|
64
|
+
type ExactOutputSingleParamsStruct = {
|
|
65
|
+
tokenIn: AddressLike;
|
|
66
|
+
tokenOut: AddressLike;
|
|
67
|
+
fee: BigNumberish;
|
|
68
|
+
recipient: AddressLike;
|
|
69
|
+
amountOut: BigNumberish;
|
|
70
|
+
amountInMaximum: BigNumberish;
|
|
71
|
+
sqrtPriceLimitX96: BigNumberish;
|
|
72
|
+
};
|
|
73
|
+
type ExactOutputSingleParamsStructOutput = [
|
|
74
|
+
tokenIn: string,
|
|
75
|
+
tokenOut: string,
|
|
76
|
+
fee: bigint,
|
|
77
|
+
recipient: string,
|
|
78
|
+
amountOut: bigint,
|
|
79
|
+
amountInMaximum: bigint,
|
|
80
|
+
sqrtPriceLimitX96: bigint
|
|
81
|
+
] & {
|
|
82
|
+
tokenIn: string;
|
|
83
|
+
tokenOut: string;
|
|
84
|
+
fee: bigint;
|
|
85
|
+
recipient: string;
|
|
86
|
+
amountOut: bigint;
|
|
87
|
+
amountInMaximum: bigint;
|
|
88
|
+
sqrtPriceLimitX96: bigint;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
export declare namespace IApproveAndCall {
|
|
92
|
+
type IncreaseLiquidityParamsStruct = {
|
|
93
|
+
token0: AddressLike;
|
|
94
|
+
token1: AddressLike;
|
|
95
|
+
tokenId: BigNumberish;
|
|
96
|
+
amount0Min: BigNumberish;
|
|
97
|
+
amount1Min: BigNumberish;
|
|
98
|
+
};
|
|
99
|
+
type IncreaseLiquidityParamsStructOutput = [
|
|
100
|
+
token0: string,
|
|
101
|
+
token1: string,
|
|
102
|
+
tokenId: bigint,
|
|
103
|
+
amount0Min: bigint,
|
|
104
|
+
amount1Min: bigint
|
|
105
|
+
] & {
|
|
106
|
+
token0: string;
|
|
107
|
+
token1: string;
|
|
108
|
+
tokenId: bigint;
|
|
109
|
+
amount0Min: bigint;
|
|
110
|
+
amount1Min: bigint;
|
|
111
|
+
};
|
|
112
|
+
type MintParamsStruct = {
|
|
113
|
+
token0: AddressLike;
|
|
114
|
+
token1: AddressLike;
|
|
115
|
+
fee: BigNumberish;
|
|
116
|
+
tickLower: BigNumberish;
|
|
117
|
+
tickUpper: BigNumberish;
|
|
118
|
+
amount0Min: BigNumberish;
|
|
119
|
+
amount1Min: BigNumberish;
|
|
120
|
+
recipient: AddressLike;
|
|
121
|
+
};
|
|
122
|
+
type MintParamsStructOutput = [
|
|
123
|
+
token0: string,
|
|
124
|
+
token1: string,
|
|
125
|
+
fee: bigint,
|
|
126
|
+
tickLower: bigint,
|
|
127
|
+
tickUpper: bigint,
|
|
128
|
+
amount0Min: bigint,
|
|
129
|
+
amount1Min: bigint,
|
|
130
|
+
recipient: string
|
|
131
|
+
] & {
|
|
132
|
+
token0: string;
|
|
133
|
+
token1: string;
|
|
134
|
+
fee: bigint;
|
|
135
|
+
tickLower: bigint;
|
|
136
|
+
tickUpper: bigint;
|
|
137
|
+
amount0Min: bigint;
|
|
138
|
+
amount1Min: bigint;
|
|
139
|
+
recipient: string;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
export interface ISwapRouter02Interface extends Interface {
|
|
143
|
+
getFunction(nameOrSignature: "WETH9" | "approveMax" | "approveMaxMinusOne" | "approveZeroThenMax" | "approveZeroThenMaxMinusOne" | "callPositionManager" | "checkOracleSlippage(bytes[],uint128[],uint24,uint32)" | "checkOracleSlippage(bytes,uint24,uint32)" | "exactInput" | "exactInputSingle" | "exactOutput" | "exactOutputSingle" | "factory" | "factoryV2" | "getApprovalType" | "increaseLiquidity" | "mint" | "multicall(bytes32,bytes[])" | "multicall(uint256,bytes[])" | "multicall(bytes[])" | "positionManager" | "pull" | "refundETH" | "selfPermit" | "selfPermitAllowed" | "selfPermitAllowedIfNecessary" | "selfPermitIfNecessary" | "swapExactTokensForTokens" | "swapTokensForExactTokens" | "sweepToken(address,uint256,address)" | "sweepToken(address,uint256)" | "sweepTokenWithFee(address,uint256,uint256,address)" | "sweepTokenWithFee(address,uint256,address,uint256,address)" | "uniswapV3SwapCallback" | "unwrapWETH9(uint256,address)" | "unwrapWETH9(uint256)" | "unwrapWETH9WithFee(uint256,address,uint256,address)" | "unwrapWETH9WithFee(uint256,uint256,address)" | "wrapETH"): FunctionFragment;
|
|
144
|
+
encodeFunctionData(functionFragment: "WETH9", values?: undefined): string;
|
|
145
|
+
encodeFunctionData(functionFragment: "approveMax", values: [AddressLike]): string;
|
|
146
|
+
encodeFunctionData(functionFragment: "approveMaxMinusOne", values: [AddressLike]): string;
|
|
147
|
+
encodeFunctionData(functionFragment: "approveZeroThenMax", values: [AddressLike]): string;
|
|
148
|
+
encodeFunctionData(functionFragment: "approveZeroThenMaxMinusOne", values: [AddressLike]): string;
|
|
149
|
+
encodeFunctionData(functionFragment: "callPositionManager", values: [BytesLike]): string;
|
|
150
|
+
encodeFunctionData(functionFragment: "checkOracleSlippage(bytes[],uint128[],uint24,uint32)", values: [BytesLike[], BigNumberish[], BigNumberish, BigNumberish]): string;
|
|
151
|
+
encodeFunctionData(functionFragment: "checkOracleSlippage(bytes,uint24,uint32)", values: [BytesLike, BigNumberish, BigNumberish]): string;
|
|
152
|
+
encodeFunctionData(functionFragment: "exactInput", values: [IV3SwapRouter.ExactInputParamsStruct]): string;
|
|
153
|
+
encodeFunctionData(functionFragment: "exactInputSingle", values: [IV3SwapRouter.ExactInputSingleParamsStruct]): string;
|
|
154
|
+
encodeFunctionData(functionFragment: "exactOutput", values: [IV3SwapRouter.ExactOutputParamsStruct]): string;
|
|
155
|
+
encodeFunctionData(functionFragment: "exactOutputSingle", values: [IV3SwapRouter.ExactOutputSingleParamsStruct]): string;
|
|
156
|
+
encodeFunctionData(functionFragment: "factory", values?: undefined): string;
|
|
157
|
+
encodeFunctionData(functionFragment: "factoryV2", values?: undefined): string;
|
|
158
|
+
encodeFunctionData(functionFragment: "getApprovalType", values: [AddressLike, BigNumberish]): string;
|
|
159
|
+
encodeFunctionData(functionFragment: "increaseLiquidity", values: [IApproveAndCall.IncreaseLiquidityParamsStruct]): string;
|
|
160
|
+
encodeFunctionData(functionFragment: "mint", values: [IApproveAndCall.MintParamsStruct]): string;
|
|
161
|
+
encodeFunctionData(functionFragment: "multicall(bytes32,bytes[])", values: [BytesLike, BytesLike[]]): string;
|
|
162
|
+
encodeFunctionData(functionFragment: "multicall(uint256,bytes[])", values: [BigNumberish, BytesLike[]]): string;
|
|
163
|
+
encodeFunctionData(functionFragment: "multicall(bytes[])", values: [BytesLike[]]): string;
|
|
164
|
+
encodeFunctionData(functionFragment: "positionManager", values?: undefined): string;
|
|
165
|
+
encodeFunctionData(functionFragment: "pull", values: [AddressLike, BigNumberish]): string;
|
|
166
|
+
encodeFunctionData(functionFragment: "refundETH", values?: undefined): string;
|
|
167
|
+
encodeFunctionData(functionFragment: "selfPermit", values: [
|
|
168
|
+
AddressLike,
|
|
169
|
+
BigNumberish,
|
|
170
|
+
BigNumberish,
|
|
171
|
+
BigNumberish,
|
|
172
|
+
BytesLike,
|
|
173
|
+
BytesLike
|
|
174
|
+
]): string;
|
|
175
|
+
encodeFunctionData(functionFragment: "selfPermitAllowed", values: [
|
|
176
|
+
AddressLike,
|
|
177
|
+
BigNumberish,
|
|
178
|
+
BigNumberish,
|
|
179
|
+
BigNumberish,
|
|
180
|
+
BytesLike,
|
|
181
|
+
BytesLike
|
|
182
|
+
]): string;
|
|
183
|
+
encodeFunctionData(functionFragment: "selfPermitAllowedIfNecessary", values: [
|
|
184
|
+
AddressLike,
|
|
185
|
+
BigNumberish,
|
|
186
|
+
BigNumberish,
|
|
187
|
+
BigNumberish,
|
|
188
|
+
BytesLike,
|
|
189
|
+
BytesLike
|
|
190
|
+
]): string;
|
|
191
|
+
encodeFunctionData(functionFragment: "selfPermitIfNecessary", values: [
|
|
192
|
+
AddressLike,
|
|
193
|
+
BigNumberish,
|
|
194
|
+
BigNumberish,
|
|
195
|
+
BigNumberish,
|
|
196
|
+
BytesLike,
|
|
197
|
+
BytesLike
|
|
198
|
+
]): string;
|
|
199
|
+
encodeFunctionData(functionFragment: "swapExactTokensForTokens", values: [BigNumberish, BigNumberish, AddressLike[], AddressLike]): string;
|
|
200
|
+
encodeFunctionData(functionFragment: "swapTokensForExactTokens", values: [BigNumberish, BigNumberish, AddressLike[], AddressLike]): string;
|
|
201
|
+
encodeFunctionData(functionFragment: "sweepToken(address,uint256,address)", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
202
|
+
encodeFunctionData(functionFragment: "sweepToken(address,uint256)", values: [AddressLike, BigNumberish]): string;
|
|
203
|
+
encodeFunctionData(functionFragment: "sweepTokenWithFee(address,uint256,uint256,address)", values: [AddressLike, BigNumberish, BigNumberish, AddressLike]): string;
|
|
204
|
+
encodeFunctionData(functionFragment: "sweepTokenWithFee(address,uint256,address,uint256,address)", values: [AddressLike, BigNumberish, AddressLike, BigNumberish, AddressLike]): string;
|
|
205
|
+
encodeFunctionData(functionFragment: "uniswapV3SwapCallback", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
206
|
+
encodeFunctionData(functionFragment: "unwrapWETH9(uint256,address)", values: [BigNumberish, AddressLike]): string;
|
|
207
|
+
encodeFunctionData(functionFragment: "unwrapWETH9(uint256)", values: [BigNumberish]): string;
|
|
208
|
+
encodeFunctionData(functionFragment: "unwrapWETH9WithFee(uint256,address,uint256,address)", values: [BigNumberish, AddressLike, BigNumberish, AddressLike]): string;
|
|
209
|
+
encodeFunctionData(functionFragment: "unwrapWETH9WithFee(uint256,uint256,address)", values: [BigNumberish, BigNumberish, AddressLike]): string;
|
|
210
|
+
encodeFunctionData(functionFragment: "wrapETH", values: [BigNumberish]): string;
|
|
211
|
+
decodeFunctionResult(functionFragment: "WETH9", data: BytesLike): Result;
|
|
212
|
+
decodeFunctionResult(functionFragment: "approveMax", data: BytesLike): Result;
|
|
213
|
+
decodeFunctionResult(functionFragment: "approveMaxMinusOne", data: BytesLike): Result;
|
|
214
|
+
decodeFunctionResult(functionFragment: "approveZeroThenMax", data: BytesLike): Result;
|
|
215
|
+
decodeFunctionResult(functionFragment: "approveZeroThenMaxMinusOne", data: BytesLike): Result;
|
|
216
|
+
decodeFunctionResult(functionFragment: "callPositionManager", data: BytesLike): Result;
|
|
217
|
+
decodeFunctionResult(functionFragment: "checkOracleSlippage(bytes[],uint128[],uint24,uint32)", data: BytesLike): Result;
|
|
218
|
+
decodeFunctionResult(functionFragment: "checkOracleSlippage(bytes,uint24,uint32)", data: BytesLike): Result;
|
|
219
|
+
decodeFunctionResult(functionFragment: "exactInput", data: BytesLike): Result;
|
|
220
|
+
decodeFunctionResult(functionFragment: "exactInputSingle", data: BytesLike): Result;
|
|
221
|
+
decodeFunctionResult(functionFragment: "exactOutput", data: BytesLike): Result;
|
|
222
|
+
decodeFunctionResult(functionFragment: "exactOutputSingle", data: BytesLike): Result;
|
|
223
|
+
decodeFunctionResult(functionFragment: "factory", data: BytesLike): Result;
|
|
224
|
+
decodeFunctionResult(functionFragment: "factoryV2", data: BytesLike): Result;
|
|
225
|
+
decodeFunctionResult(functionFragment: "getApprovalType", data: BytesLike): Result;
|
|
226
|
+
decodeFunctionResult(functionFragment: "increaseLiquidity", data: BytesLike): Result;
|
|
227
|
+
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
228
|
+
decodeFunctionResult(functionFragment: "multicall(bytes32,bytes[])", data: BytesLike): Result;
|
|
229
|
+
decodeFunctionResult(functionFragment: "multicall(uint256,bytes[])", data: BytesLike): Result;
|
|
230
|
+
decodeFunctionResult(functionFragment: "multicall(bytes[])", data: BytesLike): Result;
|
|
231
|
+
decodeFunctionResult(functionFragment: "positionManager", data: BytesLike): Result;
|
|
232
|
+
decodeFunctionResult(functionFragment: "pull", data: BytesLike): Result;
|
|
233
|
+
decodeFunctionResult(functionFragment: "refundETH", data: BytesLike): Result;
|
|
234
|
+
decodeFunctionResult(functionFragment: "selfPermit", data: BytesLike): Result;
|
|
235
|
+
decodeFunctionResult(functionFragment: "selfPermitAllowed", data: BytesLike): Result;
|
|
236
|
+
decodeFunctionResult(functionFragment: "selfPermitAllowedIfNecessary", data: BytesLike): Result;
|
|
237
|
+
decodeFunctionResult(functionFragment: "selfPermitIfNecessary", data: BytesLike): Result;
|
|
238
|
+
decodeFunctionResult(functionFragment: "swapExactTokensForTokens", data: BytesLike): Result;
|
|
239
|
+
decodeFunctionResult(functionFragment: "swapTokensForExactTokens", data: BytesLike): Result;
|
|
240
|
+
decodeFunctionResult(functionFragment: "sweepToken(address,uint256,address)", data: BytesLike): Result;
|
|
241
|
+
decodeFunctionResult(functionFragment: "sweepToken(address,uint256)", data: BytesLike): Result;
|
|
242
|
+
decodeFunctionResult(functionFragment: "sweepTokenWithFee(address,uint256,uint256,address)", data: BytesLike): Result;
|
|
243
|
+
decodeFunctionResult(functionFragment: "sweepTokenWithFee(address,uint256,address,uint256,address)", data: BytesLike): Result;
|
|
244
|
+
decodeFunctionResult(functionFragment: "uniswapV3SwapCallback", data: BytesLike): Result;
|
|
245
|
+
decodeFunctionResult(functionFragment: "unwrapWETH9(uint256,address)", data: BytesLike): Result;
|
|
246
|
+
decodeFunctionResult(functionFragment: "unwrapWETH9(uint256)", data: BytesLike): Result;
|
|
247
|
+
decodeFunctionResult(functionFragment: "unwrapWETH9WithFee(uint256,address,uint256,address)", data: BytesLike): Result;
|
|
248
|
+
decodeFunctionResult(functionFragment: "unwrapWETH9WithFee(uint256,uint256,address)", data: BytesLike): Result;
|
|
249
|
+
decodeFunctionResult(functionFragment: "wrapETH", data: BytesLike): Result;
|
|
250
|
+
}
|
|
251
|
+
export interface ISwapRouter02 extends BaseContract {
|
|
252
|
+
connect(runner?: ContractRunner | null): ISwapRouter02;
|
|
253
|
+
waitForDeployment(): Promise<this>;
|
|
254
|
+
interface: ISwapRouter02Interface;
|
|
255
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
256
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
257
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
258
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
259
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
260
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
261
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
262
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
263
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
264
|
+
WETH9: TypedContractMethod<[], [string], "view">;
|
|
265
|
+
approveMax: TypedContractMethod<[token: AddressLike], [void], "payable">;
|
|
266
|
+
approveMaxMinusOne: TypedContractMethod<[
|
|
267
|
+
token: AddressLike
|
|
268
|
+
], [
|
|
269
|
+
void
|
|
270
|
+
], "payable">;
|
|
271
|
+
approveZeroThenMax: TypedContractMethod<[
|
|
272
|
+
token: AddressLike
|
|
273
|
+
], [
|
|
274
|
+
void
|
|
275
|
+
], "payable">;
|
|
276
|
+
approveZeroThenMaxMinusOne: TypedContractMethod<[
|
|
277
|
+
token: AddressLike
|
|
278
|
+
], [
|
|
279
|
+
void
|
|
280
|
+
], "payable">;
|
|
281
|
+
callPositionManager: TypedContractMethod<[
|
|
282
|
+
data: BytesLike
|
|
283
|
+
], [
|
|
284
|
+
string
|
|
285
|
+
], "payable">;
|
|
286
|
+
"checkOracleSlippage(bytes[],uint128[],uint24,uint32)": TypedContractMethod<[
|
|
287
|
+
paths: BytesLike[],
|
|
288
|
+
amounts: BigNumberish[],
|
|
289
|
+
maximumTickDivergence: BigNumberish,
|
|
290
|
+
secondsAgo: BigNumberish
|
|
291
|
+
], [
|
|
292
|
+
void
|
|
293
|
+
], "view">;
|
|
294
|
+
"checkOracleSlippage(bytes,uint24,uint32)": TypedContractMethod<[
|
|
295
|
+
path: BytesLike,
|
|
296
|
+
maximumTickDivergence: BigNumberish,
|
|
297
|
+
secondsAgo: BigNumberish
|
|
298
|
+
], [
|
|
299
|
+
void
|
|
300
|
+
], "view">;
|
|
301
|
+
exactInput: TypedContractMethod<[
|
|
302
|
+
params: IV3SwapRouter.ExactInputParamsStruct
|
|
303
|
+
], [
|
|
304
|
+
bigint
|
|
305
|
+
], "payable">;
|
|
306
|
+
exactInputSingle: TypedContractMethod<[
|
|
307
|
+
params: IV3SwapRouter.ExactInputSingleParamsStruct
|
|
308
|
+
], [
|
|
309
|
+
bigint
|
|
310
|
+
], "payable">;
|
|
311
|
+
exactOutput: TypedContractMethod<[
|
|
312
|
+
params: IV3SwapRouter.ExactOutputParamsStruct
|
|
313
|
+
], [
|
|
314
|
+
bigint
|
|
315
|
+
], "payable">;
|
|
316
|
+
exactOutputSingle: TypedContractMethod<[
|
|
317
|
+
params: IV3SwapRouter.ExactOutputSingleParamsStruct
|
|
318
|
+
], [
|
|
319
|
+
bigint
|
|
320
|
+
], "payable">;
|
|
321
|
+
factory: TypedContractMethod<[], [string], "view">;
|
|
322
|
+
factoryV2: TypedContractMethod<[], [string], "view">;
|
|
323
|
+
getApprovalType: TypedContractMethod<[
|
|
324
|
+
token: AddressLike,
|
|
325
|
+
amount: BigNumberish
|
|
326
|
+
], [
|
|
327
|
+
bigint
|
|
328
|
+
], "nonpayable">;
|
|
329
|
+
increaseLiquidity: TypedContractMethod<[
|
|
330
|
+
params: IApproveAndCall.IncreaseLiquidityParamsStruct
|
|
331
|
+
], [
|
|
332
|
+
string
|
|
333
|
+
], "payable">;
|
|
334
|
+
mint: TypedContractMethod<[
|
|
335
|
+
params: IApproveAndCall.MintParamsStruct
|
|
336
|
+
], [
|
|
337
|
+
string
|
|
338
|
+
], "payable">;
|
|
339
|
+
"multicall(bytes32,bytes[])": TypedContractMethod<[
|
|
340
|
+
previousBlockhash: BytesLike,
|
|
341
|
+
data: BytesLike[]
|
|
342
|
+
], [
|
|
343
|
+
string[]
|
|
344
|
+
], "payable">;
|
|
345
|
+
"multicall(uint256,bytes[])": TypedContractMethod<[
|
|
346
|
+
deadline: BigNumberish,
|
|
347
|
+
data: BytesLike[]
|
|
348
|
+
], [
|
|
349
|
+
string[]
|
|
350
|
+
], "payable">;
|
|
351
|
+
"multicall(bytes[])": TypedContractMethod<[
|
|
352
|
+
data: BytesLike[]
|
|
353
|
+
], [
|
|
354
|
+
string[]
|
|
355
|
+
], "payable">;
|
|
356
|
+
positionManager: TypedContractMethod<[], [string], "view">;
|
|
357
|
+
pull: TypedContractMethod<[
|
|
358
|
+
token: AddressLike,
|
|
359
|
+
value: BigNumberish
|
|
360
|
+
], [
|
|
361
|
+
void
|
|
362
|
+
], "payable">;
|
|
363
|
+
refundETH: TypedContractMethod<[], [void], "payable">;
|
|
364
|
+
selfPermit: TypedContractMethod<[
|
|
365
|
+
token: AddressLike,
|
|
366
|
+
value: BigNumberish,
|
|
367
|
+
deadline: BigNumberish,
|
|
368
|
+
v: BigNumberish,
|
|
369
|
+
r: BytesLike,
|
|
370
|
+
s: BytesLike
|
|
371
|
+
], [
|
|
372
|
+
void
|
|
373
|
+
], "payable">;
|
|
374
|
+
selfPermitAllowed: TypedContractMethod<[
|
|
375
|
+
token: AddressLike,
|
|
376
|
+
nonce: BigNumberish,
|
|
377
|
+
expiry: BigNumberish,
|
|
378
|
+
v: BigNumberish,
|
|
379
|
+
r: BytesLike,
|
|
380
|
+
s: BytesLike
|
|
381
|
+
], [
|
|
382
|
+
void
|
|
383
|
+
], "payable">;
|
|
384
|
+
selfPermitAllowedIfNecessary: TypedContractMethod<[
|
|
385
|
+
token: AddressLike,
|
|
386
|
+
nonce: BigNumberish,
|
|
387
|
+
expiry: BigNumberish,
|
|
388
|
+
v: BigNumberish,
|
|
389
|
+
r: BytesLike,
|
|
390
|
+
s: BytesLike
|
|
391
|
+
], [
|
|
392
|
+
void
|
|
393
|
+
], "payable">;
|
|
394
|
+
selfPermitIfNecessary: TypedContractMethod<[
|
|
395
|
+
token: AddressLike,
|
|
396
|
+
value: BigNumberish,
|
|
397
|
+
deadline: BigNumberish,
|
|
398
|
+
v: BigNumberish,
|
|
399
|
+
r: BytesLike,
|
|
400
|
+
s: BytesLike
|
|
401
|
+
], [
|
|
402
|
+
void
|
|
403
|
+
], "payable">;
|
|
404
|
+
swapExactTokensForTokens: TypedContractMethod<[
|
|
405
|
+
amountIn: BigNumberish,
|
|
406
|
+
amountOutMin: BigNumberish,
|
|
407
|
+
path: AddressLike[],
|
|
408
|
+
to: AddressLike
|
|
409
|
+
], [
|
|
410
|
+
bigint
|
|
411
|
+
], "payable">;
|
|
412
|
+
swapTokensForExactTokens: TypedContractMethod<[
|
|
413
|
+
amountOut: BigNumberish,
|
|
414
|
+
amountInMax: BigNumberish,
|
|
415
|
+
path: AddressLike[],
|
|
416
|
+
to: AddressLike
|
|
417
|
+
], [
|
|
418
|
+
bigint
|
|
419
|
+
], "payable">;
|
|
420
|
+
"sweepToken(address,uint256,address)": TypedContractMethod<[
|
|
421
|
+
token: AddressLike,
|
|
422
|
+
amountMinimum: BigNumberish,
|
|
423
|
+
recipient: AddressLike
|
|
424
|
+
], [
|
|
425
|
+
void
|
|
426
|
+
], "payable">;
|
|
427
|
+
"sweepToken(address,uint256)": TypedContractMethod<[
|
|
428
|
+
token: AddressLike,
|
|
429
|
+
amountMinimum: BigNumberish
|
|
430
|
+
], [
|
|
431
|
+
void
|
|
432
|
+
], "payable">;
|
|
433
|
+
"sweepTokenWithFee(address,uint256,uint256,address)": TypedContractMethod<[
|
|
434
|
+
token: AddressLike,
|
|
435
|
+
amountMinimum: BigNumberish,
|
|
436
|
+
feeBips: BigNumberish,
|
|
437
|
+
feeRecipient: AddressLike
|
|
438
|
+
], [
|
|
439
|
+
void
|
|
440
|
+
], "payable">;
|
|
441
|
+
"sweepTokenWithFee(address,uint256,address,uint256,address)": TypedContractMethod<[
|
|
442
|
+
token: AddressLike,
|
|
443
|
+
amountMinimum: BigNumberish,
|
|
444
|
+
recipient: AddressLike,
|
|
445
|
+
feeBips: BigNumberish,
|
|
446
|
+
feeRecipient: AddressLike
|
|
447
|
+
], [
|
|
448
|
+
void
|
|
449
|
+
], "payable">;
|
|
450
|
+
uniswapV3SwapCallback: TypedContractMethod<[
|
|
451
|
+
amount0Delta: BigNumberish,
|
|
452
|
+
amount1Delta: BigNumberish,
|
|
453
|
+
_data: BytesLike
|
|
454
|
+
], [
|
|
455
|
+
void
|
|
456
|
+
], "nonpayable">;
|
|
457
|
+
"unwrapWETH9(uint256,address)": TypedContractMethod<[
|
|
458
|
+
amountMinimum: BigNumberish,
|
|
459
|
+
recipient: AddressLike
|
|
460
|
+
], [
|
|
461
|
+
void
|
|
462
|
+
], "payable">;
|
|
463
|
+
"unwrapWETH9(uint256)": TypedContractMethod<[
|
|
464
|
+
amountMinimum: BigNumberish
|
|
465
|
+
], [
|
|
466
|
+
void
|
|
467
|
+
], "payable">;
|
|
468
|
+
"unwrapWETH9WithFee(uint256,address,uint256,address)": TypedContractMethod<[
|
|
469
|
+
amountMinimum: BigNumberish,
|
|
470
|
+
recipient: AddressLike,
|
|
471
|
+
feeBips: BigNumberish,
|
|
472
|
+
feeRecipient: AddressLike
|
|
473
|
+
], [
|
|
474
|
+
void
|
|
475
|
+
], "payable">;
|
|
476
|
+
"unwrapWETH9WithFee(uint256,uint256,address)": TypedContractMethod<[
|
|
477
|
+
amountMinimum: BigNumberish,
|
|
478
|
+
feeBips: BigNumberish,
|
|
479
|
+
feeRecipient: AddressLike
|
|
480
|
+
], [
|
|
481
|
+
void
|
|
482
|
+
], "payable">;
|
|
483
|
+
wrapETH: TypedContractMethod<[value: BigNumberish], [void], "payable">;
|
|
484
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
485
|
+
getFunction(nameOrSignature: "WETH9"): TypedContractMethod<[], [string], "view">;
|
|
486
|
+
getFunction(nameOrSignature: "approveMax"): TypedContractMethod<[token: AddressLike], [void], "payable">;
|
|
487
|
+
getFunction(nameOrSignature: "approveMaxMinusOne"): TypedContractMethod<[token: AddressLike], [void], "payable">;
|
|
488
|
+
getFunction(nameOrSignature: "approveZeroThenMax"): TypedContractMethod<[token: AddressLike], [void], "payable">;
|
|
489
|
+
getFunction(nameOrSignature: "approveZeroThenMaxMinusOne"): TypedContractMethod<[token: AddressLike], [void], "payable">;
|
|
490
|
+
getFunction(nameOrSignature: "callPositionManager"): TypedContractMethod<[data: BytesLike], [string], "payable">;
|
|
491
|
+
getFunction(nameOrSignature: "checkOracleSlippage(bytes[],uint128[],uint24,uint32)"): TypedContractMethod<[
|
|
492
|
+
paths: BytesLike[],
|
|
493
|
+
amounts: BigNumberish[],
|
|
494
|
+
maximumTickDivergence: BigNumberish,
|
|
495
|
+
secondsAgo: BigNumberish
|
|
496
|
+
], [
|
|
497
|
+
void
|
|
498
|
+
], "view">;
|
|
499
|
+
getFunction(nameOrSignature: "checkOracleSlippage(bytes,uint24,uint32)"): TypedContractMethod<[
|
|
500
|
+
path: BytesLike,
|
|
501
|
+
maximumTickDivergence: BigNumberish,
|
|
502
|
+
secondsAgo: BigNumberish
|
|
503
|
+
], [
|
|
504
|
+
void
|
|
505
|
+
], "view">;
|
|
506
|
+
getFunction(nameOrSignature: "exactInput"): TypedContractMethod<[
|
|
507
|
+
params: IV3SwapRouter.ExactInputParamsStruct
|
|
508
|
+
], [
|
|
509
|
+
bigint
|
|
510
|
+
], "payable">;
|
|
511
|
+
getFunction(nameOrSignature: "exactInputSingle"): TypedContractMethod<[
|
|
512
|
+
params: IV3SwapRouter.ExactInputSingleParamsStruct
|
|
513
|
+
], [
|
|
514
|
+
bigint
|
|
515
|
+
], "payable">;
|
|
516
|
+
getFunction(nameOrSignature: "exactOutput"): TypedContractMethod<[
|
|
517
|
+
params: IV3SwapRouter.ExactOutputParamsStruct
|
|
518
|
+
], [
|
|
519
|
+
bigint
|
|
520
|
+
], "payable">;
|
|
521
|
+
getFunction(nameOrSignature: "exactOutputSingle"): TypedContractMethod<[
|
|
522
|
+
params: IV3SwapRouter.ExactOutputSingleParamsStruct
|
|
523
|
+
], [
|
|
524
|
+
bigint
|
|
525
|
+
], "payable">;
|
|
526
|
+
getFunction(nameOrSignature: "factory"): TypedContractMethod<[], [string], "view">;
|
|
527
|
+
getFunction(nameOrSignature: "factoryV2"): TypedContractMethod<[], [string], "view">;
|
|
528
|
+
getFunction(nameOrSignature: "getApprovalType"): TypedContractMethod<[
|
|
529
|
+
token: AddressLike,
|
|
530
|
+
amount: BigNumberish
|
|
531
|
+
], [
|
|
532
|
+
bigint
|
|
533
|
+
], "nonpayable">;
|
|
534
|
+
getFunction(nameOrSignature: "increaseLiquidity"): TypedContractMethod<[
|
|
535
|
+
params: IApproveAndCall.IncreaseLiquidityParamsStruct
|
|
536
|
+
], [
|
|
537
|
+
string
|
|
538
|
+
], "payable">;
|
|
539
|
+
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
540
|
+
params: IApproveAndCall.MintParamsStruct
|
|
541
|
+
], [
|
|
542
|
+
string
|
|
543
|
+
], "payable">;
|
|
544
|
+
getFunction(nameOrSignature: "multicall(bytes32,bytes[])"): TypedContractMethod<[
|
|
545
|
+
previousBlockhash: BytesLike,
|
|
546
|
+
data: BytesLike[]
|
|
547
|
+
], [
|
|
548
|
+
string[]
|
|
549
|
+
], "payable">;
|
|
550
|
+
getFunction(nameOrSignature: "multicall(uint256,bytes[])"): TypedContractMethod<[
|
|
551
|
+
deadline: BigNumberish,
|
|
552
|
+
data: BytesLike[]
|
|
553
|
+
], [
|
|
554
|
+
string[]
|
|
555
|
+
], "payable">;
|
|
556
|
+
getFunction(nameOrSignature: "multicall(bytes[])"): TypedContractMethod<[data: BytesLike[]], [string[]], "payable">;
|
|
557
|
+
getFunction(nameOrSignature: "positionManager"): TypedContractMethod<[], [string], "view">;
|
|
558
|
+
getFunction(nameOrSignature: "pull"): TypedContractMethod<[
|
|
559
|
+
token: AddressLike,
|
|
560
|
+
value: BigNumberish
|
|
561
|
+
], [
|
|
562
|
+
void
|
|
563
|
+
], "payable">;
|
|
564
|
+
getFunction(nameOrSignature: "refundETH"): TypedContractMethod<[], [void], "payable">;
|
|
565
|
+
getFunction(nameOrSignature: "selfPermit"): TypedContractMethod<[
|
|
566
|
+
token: AddressLike,
|
|
567
|
+
value: BigNumberish,
|
|
568
|
+
deadline: BigNumberish,
|
|
569
|
+
v: BigNumberish,
|
|
570
|
+
r: BytesLike,
|
|
571
|
+
s: BytesLike
|
|
572
|
+
], [
|
|
573
|
+
void
|
|
574
|
+
], "payable">;
|
|
575
|
+
getFunction(nameOrSignature: "selfPermitAllowed"): TypedContractMethod<[
|
|
576
|
+
token: AddressLike,
|
|
577
|
+
nonce: BigNumberish,
|
|
578
|
+
expiry: BigNumberish,
|
|
579
|
+
v: BigNumberish,
|
|
580
|
+
r: BytesLike,
|
|
581
|
+
s: BytesLike
|
|
582
|
+
], [
|
|
583
|
+
void
|
|
584
|
+
], "payable">;
|
|
585
|
+
getFunction(nameOrSignature: "selfPermitAllowedIfNecessary"): TypedContractMethod<[
|
|
586
|
+
token: AddressLike,
|
|
587
|
+
nonce: BigNumberish,
|
|
588
|
+
expiry: BigNumberish,
|
|
589
|
+
v: BigNumberish,
|
|
590
|
+
r: BytesLike,
|
|
591
|
+
s: BytesLike
|
|
592
|
+
], [
|
|
593
|
+
void
|
|
594
|
+
], "payable">;
|
|
595
|
+
getFunction(nameOrSignature: "selfPermitIfNecessary"): TypedContractMethod<[
|
|
596
|
+
token: AddressLike,
|
|
597
|
+
value: BigNumberish,
|
|
598
|
+
deadline: BigNumberish,
|
|
599
|
+
v: BigNumberish,
|
|
600
|
+
r: BytesLike,
|
|
601
|
+
s: BytesLike
|
|
602
|
+
], [
|
|
603
|
+
void
|
|
604
|
+
], "payable">;
|
|
605
|
+
getFunction(nameOrSignature: "swapExactTokensForTokens"): TypedContractMethod<[
|
|
606
|
+
amountIn: BigNumberish,
|
|
607
|
+
amountOutMin: BigNumberish,
|
|
608
|
+
path: AddressLike[],
|
|
609
|
+
to: AddressLike
|
|
610
|
+
], [
|
|
611
|
+
bigint
|
|
612
|
+
], "payable">;
|
|
613
|
+
getFunction(nameOrSignature: "swapTokensForExactTokens"): TypedContractMethod<[
|
|
614
|
+
amountOut: BigNumberish,
|
|
615
|
+
amountInMax: BigNumberish,
|
|
616
|
+
path: AddressLike[],
|
|
617
|
+
to: AddressLike
|
|
618
|
+
], [
|
|
619
|
+
bigint
|
|
620
|
+
], "payable">;
|
|
621
|
+
getFunction(nameOrSignature: "sweepToken(address,uint256,address)"): TypedContractMethod<[
|
|
622
|
+
token: AddressLike,
|
|
623
|
+
amountMinimum: BigNumberish,
|
|
624
|
+
recipient: AddressLike
|
|
625
|
+
], [
|
|
626
|
+
void
|
|
627
|
+
], "payable">;
|
|
628
|
+
getFunction(nameOrSignature: "sweepToken(address,uint256)"): TypedContractMethod<[
|
|
629
|
+
token: AddressLike,
|
|
630
|
+
amountMinimum: BigNumberish
|
|
631
|
+
], [
|
|
632
|
+
void
|
|
633
|
+
], "payable">;
|
|
634
|
+
getFunction(nameOrSignature: "sweepTokenWithFee(address,uint256,uint256,address)"): TypedContractMethod<[
|
|
635
|
+
token: AddressLike,
|
|
636
|
+
amountMinimum: BigNumberish,
|
|
637
|
+
feeBips: BigNumberish,
|
|
638
|
+
feeRecipient: AddressLike
|
|
639
|
+
], [
|
|
640
|
+
void
|
|
641
|
+
], "payable">;
|
|
642
|
+
getFunction(nameOrSignature: "sweepTokenWithFee(address,uint256,address,uint256,address)"): TypedContractMethod<[
|
|
643
|
+
token: AddressLike,
|
|
644
|
+
amountMinimum: BigNumberish,
|
|
645
|
+
recipient: AddressLike,
|
|
646
|
+
feeBips: BigNumberish,
|
|
647
|
+
feeRecipient: AddressLike
|
|
648
|
+
], [
|
|
649
|
+
void
|
|
650
|
+
], "payable">;
|
|
651
|
+
getFunction(nameOrSignature: "uniswapV3SwapCallback"): TypedContractMethod<[
|
|
652
|
+
amount0Delta: BigNumberish,
|
|
653
|
+
amount1Delta: BigNumberish,
|
|
654
|
+
_data: BytesLike
|
|
655
|
+
], [
|
|
656
|
+
void
|
|
657
|
+
], "nonpayable">;
|
|
658
|
+
getFunction(nameOrSignature: "unwrapWETH9(uint256,address)"): TypedContractMethod<[
|
|
659
|
+
amountMinimum: BigNumberish,
|
|
660
|
+
recipient: AddressLike
|
|
661
|
+
], [
|
|
662
|
+
void
|
|
663
|
+
], "payable">;
|
|
664
|
+
getFunction(nameOrSignature: "unwrapWETH9(uint256)"): TypedContractMethod<[amountMinimum: BigNumberish], [void], "payable">;
|
|
665
|
+
getFunction(nameOrSignature: "unwrapWETH9WithFee(uint256,address,uint256,address)"): TypedContractMethod<[
|
|
666
|
+
amountMinimum: BigNumberish,
|
|
667
|
+
recipient: AddressLike,
|
|
668
|
+
feeBips: BigNumberish,
|
|
669
|
+
feeRecipient: AddressLike
|
|
670
|
+
], [
|
|
671
|
+
void
|
|
672
|
+
], "payable">;
|
|
673
|
+
getFunction(nameOrSignature: "unwrapWETH9WithFee(uint256,uint256,address)"): TypedContractMethod<[
|
|
674
|
+
amountMinimum: BigNumberish,
|
|
675
|
+
feeBips: BigNumberish,
|
|
676
|
+
feeRecipient: AddressLike
|
|
677
|
+
], [
|
|
678
|
+
void
|
|
679
|
+
], "payable">;
|
|
680
|
+
getFunction(nameOrSignature: "wrapETH"): TypedContractMethod<[value: BigNumberish], [void], "payable">;
|
|
681
|
+
filters: {};
|
|
682
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|