@ichidao/ichi-vaults-sdk 0.1.43 → 2.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/README.md +61 -208
- package/dist/abis/types/AlgebraIntegralPool.d.ts +702 -793
- package/dist/abis/types/AlgebraPool.d.ts +693 -730
- package/dist/abis/types/ClPool.d.ts +789 -871
- package/dist/abis/types/DepositGuard.d.ts +193 -178
- package/dist/abis/types/DepositGuardWithHtsWrapping.d.ts +300 -297
- package/dist/abis/types/ERC20.d.ts +120 -147
- package/dist/abis/types/ERC20Wrapper.d.ts +147 -155
- package/dist/abis/types/IchiVault.d.ts +598 -728
- package/dist/abis/types/MultiFeeDistributer.d.ts +314 -423
- package/dist/abis/types/Multicall.d.ts +58 -73
- package/dist/abis/types/UniswapV3Pool.d.ts +654 -693
- package/dist/abis/types/common.d.ts +40 -12
- package/dist/abis/types/factories/AlgebraIntegralPool__factory.d.ts +2 -3
- package/dist/abis/types/factories/AlgebraIntegralPool__factory.js +10 -13
- package/dist/abis/types/factories/AlgebraIntegralPool__factory.js.map +1 -1
- package/dist/abis/types/factories/AlgebraPool__factory.d.ts +2 -3
- package/dist/abis/types/factories/AlgebraPool__factory.js +10 -13
- package/dist/abis/types/factories/AlgebraPool__factory.js.map +1 -1
- package/dist/abis/types/factories/ClPool__factory.d.ts +2 -3
- package/dist/abis/types/factories/ClPool__factory.js +10 -13
- package/dist/abis/types/factories/ClPool__factory.js.map +1 -1
- package/dist/abis/types/factories/DepositGuardWithHtsWrapping__factory.d.ts +2 -3
- package/dist/abis/types/factories/DepositGuardWithHtsWrapping__factory.js +10 -13
- package/dist/abis/types/factories/DepositGuardWithHtsWrapping__factory.js.map +1 -1
- package/dist/abis/types/factories/DepositGuard__factory.d.ts +2 -3
- package/dist/abis/types/factories/DepositGuard__factory.js +10 -13
- package/dist/abis/types/factories/DepositGuard__factory.js.map +1 -1
- package/dist/abis/types/factories/ERC20Wrapper__factory.d.ts +2 -3
- package/dist/abis/types/factories/ERC20Wrapper__factory.js +10 -13
- package/dist/abis/types/factories/ERC20Wrapper__factory.js.map +1 -1
- package/dist/abis/types/factories/ERC20__factory.d.ts +2 -3
- package/dist/abis/types/factories/ERC20__factory.js +10 -13
- package/dist/abis/types/factories/ERC20__factory.js.map +1 -1
- package/dist/abis/types/factories/IchiVault__factory.d.ts +2 -3
- package/dist/abis/types/factories/IchiVault__factory.js +10 -13
- package/dist/abis/types/factories/IchiVault__factory.js.map +1 -1
- package/dist/abis/types/factories/MultiFeeDistributer__factory.d.ts +2 -3
- package/dist/abis/types/factories/MultiFeeDistributer__factory.js +10 -13
- package/dist/abis/types/factories/MultiFeeDistributer__factory.js.map +1 -1
- package/dist/abis/types/factories/Multicall__factory.d.ts +2 -3
- package/dist/abis/types/factories/Multicall__factory.js +10 -13
- package/dist/abis/types/factories/Multicall__factory.js.map +1 -1
- package/dist/abis/types/factories/UniswapV3Pool__factory.d.ts +2 -3
- package/dist/abis/types/factories/UniswapV3Pool__factory.js +10 -13
- package/dist/abis/types/factories/UniswapV3Pool__factory.js.map +1 -1
- package/dist/src/__tests__/index.test.js +356 -738
- package/dist/src/__tests__/index.test.js.map +1 -1
- package/dist/src/abis/types/AlgebraIntegralPool.d.ts +702 -793
- package/dist/src/abis/types/AlgebraPool.d.ts +693 -730
- package/dist/src/abis/types/ClPool.d.ts +789 -871
- package/dist/src/abis/types/DepositGuard.d.ts +193 -178
- package/dist/src/abis/types/DepositGuardWithHtsWrapping.d.ts +300 -297
- package/dist/src/abis/types/ERC20.d.ts +120 -147
- package/dist/src/abis/types/ERC20Wrapper.d.ts +147 -155
- package/dist/src/abis/types/IchiVault.d.ts +598 -728
- package/dist/src/abis/types/MultiFeeDistributer.d.ts +314 -423
- package/dist/src/abis/types/Multicall.d.ts +58 -73
- package/dist/src/abis/types/UniswapV3Pool.d.ts +654 -693
- package/dist/src/abis/types/common.d.ts +40 -12
- package/dist/src/abis/types/factories/AlgebraIntegralPool__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/AlgebraPool__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/ClPool__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/DepositGuardWithHtsWrapping__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/DepositGuard__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/ERC20Wrapper__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/ERC20__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/IchiVault__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/MultiFeeDistributer__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/Multicall__factory.d.ts +2 -3
- package/dist/src/abis/types/factories/UniswapV3Pool__factory.d.ts +2 -3
- package/dist/src/contracts/index.d.ts +1 -1
- package/dist/src/contracts/index.js +12 -12
- package/dist/src/contracts/index.js.map +1 -1
- package/dist/src/functions/_totalBalances.d.ts +2 -3
- package/dist/src/functions/_totalBalances.js +46 -117
- package/dist/src/functions/_totalBalances.js.map +1 -1
- package/dist/src/functions/_vaultEvents.js +347 -488
- package/dist/src/functions/_vaultEvents.js.map +1 -1
- package/dist/src/functions/_withdrawHelpers.d.ts +2 -3
- package/dist/src/functions/_withdrawHelpers.js +13 -62
- package/dist/src/functions/_withdrawHelpers.js.map +1 -1
- package/dist/src/functions/calculateApr.d.ts +1 -1
- package/dist/src/functions/calculateApr.js +77 -150
- package/dist/src/functions/calculateApr.js.map +1 -1
- package/dist/src/functions/calculateDtr.d.ts +1 -1
- package/dist/src/functions/calculateDtr.js +84 -169
- package/dist/src/functions/calculateDtr.js.map +1 -1
- package/dist/src/functions/calculateFees.d.ts +1 -1
- package/dist/src/functions/calculateFees.js +97 -172
- package/dist/src/functions/calculateFees.js.map +1 -1
- package/dist/src/functions/chains.js +6 -6
- package/dist/src/functions/chains.js.map +1 -1
- package/dist/src/functions/claimRewards.d.ts +3 -4
- package/dist/src/functions/claimRewards.js +29 -92
- package/dist/src/functions/claimRewards.js.map +1 -1
- package/dist/src/functions/deposit.d.ts +7 -9
- package/dist/src/functions/deposit.js +199 -364
- package/dist/src/functions/deposit.js.map +1 -1
- package/dist/src/functions/depositWithHtsWrapping.d.ts +4 -6
- package/dist/src/functions/depositWithHtsWrapping.js +109 -226
- package/dist/src/functions/depositWithHtsWrapping.js.map +1 -1
- package/dist/src/functions/getFeeAprs.d.ts +1 -1
- package/dist/src/functions/getFeeAprs.js +55 -111
- package/dist/src/functions/getFeeAprs.js.map +1 -1
- package/dist/src/functions/priceFromPool.d.ts +3 -4
- package/dist/src/functions/priceFromPool.js +99 -208
- package/dist/src/functions/priceFromPool.js.map +1 -1
- package/dist/src/functions/rewardInfo.js +79 -159
- package/dist/src/functions/rewardInfo.js.map +1 -1
- package/dist/src/functions/totalBalances.d.ts +2 -3
- package/dist/src/functions/totalBalances.js +14 -67
- package/dist/src/functions/totalBalances.js.map +1 -1
- package/dist/src/functions/userBalances.d.ts +2 -3
- package/dist/src/functions/userBalances.js +244 -368
- package/dist/src/functions/userBalances.js.map +1 -1
- package/dist/src/functions/userRewards.d.ts +1 -1
- package/dist/src/functions/userRewards.js +87 -145
- package/dist/src/functions/userRewards.js.map +1 -1
- package/dist/src/functions/vault.d.ts +1 -1
- package/dist/src/functions/vault.js +203 -383
- package/dist/src/functions/vault.js.map +1 -1
- package/dist/src/functions/vaultBasics.js +6 -7
- package/dist/src/functions/vaultBasics.js.map +1 -1
- package/dist/src/functions/vaultMetrics.d.ts +1 -1
- package/dist/src/functions/vaultMetrics.js +111 -189
- package/dist/src/functions/vaultMetrics.js.map +1 -1
- package/dist/src/functions/vaultPositions.d.ts +1 -1
- package/dist/src/functions/vaultPositions.js +69 -134
- package/dist/src/functions/vaultPositions.js.map +1 -1
- package/dist/src/functions/vaultTvl.d.ts +1 -1
- package/dist/src/functions/vaultTvl.js +80 -165
- package/dist/src/functions/vaultTvl.js.map +1 -1
- package/dist/src/functions/withdraw.d.ts +6 -8
- package/dist/src/functions/withdraw.js +165 -295
- package/dist/src/functions/withdraw.js.map +1 -1
- package/dist/src/functions/withdrawWithErc20Wrapping.d.ts +2 -4
- package/dist/src/functions/withdrawWithErc20Wrapping.js +59 -126
- package/dist/src/functions/withdrawWithErc20Wrapping.js.map +1 -1
- package/dist/src/graphql/constants.js +211 -212
- package/dist/src/graphql/constants.js.map +1 -1
- package/dist/src/graphql/functions.js +30 -102
- package/dist/src/graphql/functions.js.map +1 -1
- package/dist/src/graphql/queries.js +407 -42
- package/dist/src/graphql/queries.js.map +1 -1
- package/dist/src/index.cjs.js +2 -2
- package/dist/src/index.esm.js +2 -2
- package/dist/src/src/contracts/index.d.ts +1 -1
- package/dist/src/src/functions/_totalBalances.d.ts +2 -3
- package/dist/src/src/functions/_withdrawHelpers.d.ts +2 -3
- package/dist/src/src/functions/calculateApr.d.ts +1 -1
- package/dist/src/src/functions/calculateDtr.d.ts +1 -1
- package/dist/src/src/functions/calculateFees.d.ts +1 -1
- package/dist/src/src/functions/claimRewards.d.ts +3 -4
- package/dist/src/src/functions/deposit.d.ts +7 -9
- package/dist/src/src/functions/depositWithHtsWrapping.d.ts +4 -6
- package/dist/src/src/functions/getFeeAprs.d.ts +1 -1
- package/dist/src/src/functions/priceFromPool.d.ts +3 -4
- package/dist/src/src/functions/totalBalances.d.ts +2 -3
- package/dist/src/src/functions/userBalances.d.ts +2 -3
- package/dist/src/src/functions/userRewards.d.ts +1 -1
- package/dist/src/src/functions/vault.d.ts +1 -1
- package/dist/src/src/functions/vaultMetrics.d.ts +1 -1
- package/dist/src/src/functions/vaultPositions.d.ts +1 -1
- package/dist/src/src/functions/vaultTvl.d.ts +1 -1
- package/dist/src/src/functions/withdraw.d.ts +6 -8
- package/dist/src/src/functions/withdrawWithErc20Wrapping.d.ts +2 -4
- package/dist/src/src/types/calculateGasMargin.d.ts +1 -2
- package/dist/src/src/types/index.d.ts +11 -13
- package/dist/src/src/utils/amountWithSlippage.d.ts +1 -2
- package/dist/src/src/utils/config/addresses.d.ts +1 -1
- package/dist/src/src/utils/formatBigInt.d.ts +1 -2
- package/dist/src/src/utils/getPrice.d.ts +1 -2
- package/dist/src/src/utils/multicallUtils.d.ts +9 -10
- package/dist/src/src/utils/parseBigInt.d.ts +1 -2
- package/dist/src/types/calculateGasMargin.d.ts +1 -2
- package/dist/src/types/calculateGasMargin.js +4 -5
- package/dist/src/types/calculateGasMargin.js.map +1 -1
- package/dist/src/types/index.d.ts +11 -13
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/utils/amountWithSlippage.d.ts +1 -2
- package/dist/src/utils/amountWithSlippage.js +1 -1
- package/dist/src/utils/amountWithSlippage.js.map +1 -1
- package/dist/src/utils/cache.js +2 -2
- package/dist/src/utils/cache.js.map +1 -1
- package/dist/src/utils/config/addresses.d.ts +1 -1
- package/dist/src/utils/config/addresses.js +267 -268
- package/dist/src/utils/config/addresses.js.map +1 -1
- package/dist/src/utils/formatBigInt.d.ts +1 -2
- package/dist/src/utils/formatBigInt.js +4 -5
- package/dist/src/utils/formatBigInt.js.map +1 -1
- package/dist/src/utils/getConfigByFactory.js +24 -28
- package/dist/src/utils/getConfigByFactory.js.map +1 -1
- package/dist/src/utils/getGraphUrls.js +8 -12
- package/dist/src/utils/getGraphUrls.js.map +1 -1
- package/dist/src/utils/getPrice.d.ts +1 -2
- package/dist/src/utils/getPrice.js +5 -6
- package/dist/src/utils/getPrice.js.map +1 -1
- package/dist/src/utils/isVelodrome.js +2 -3
- package/dist/src/utils/isVelodrome.js.map +1 -1
- package/dist/src/utils/multicallUtils.d.ts +9 -10
- package/dist/src/utils/multicallUtils.js +38 -93
- package/dist/src/utils/multicallUtils.js.map +1 -1
- package/dist/src/utils/parseBigInt.d.ts +1 -2
- package/dist/src/utils/parseBigInt.js +5 -7
- package/dist/src/utils/parseBigInt.js.map +1 -1
- package/dist/src/utils/positionKey.js +2 -4
- package/dist/src/utils/positionKey.js.map +1 -1
- package/package.json +5 -17
|
@@ -1,75 +1,21 @@
|
|
|
1
|
-
import type { BaseContract,
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
functions: {
|
|
7
|
-
"PRECISION()": FunctionFragment;
|
|
8
|
-
"affiliate()": FunctionFragment;
|
|
9
|
-
"allowToken0()": FunctionFragment;
|
|
10
|
-
"allowToken1()": FunctionFragment;
|
|
11
|
-
"allowance(address,address)": FunctionFragment;
|
|
12
|
-
"approve(address,uint256)": FunctionFragment;
|
|
13
|
-
"balanceOf(address)": FunctionFragment;
|
|
14
|
-
"baseLower()": FunctionFragment;
|
|
15
|
-
"baseUpper()": FunctionFragment;
|
|
16
|
-
"currentTick()": FunctionFragment;
|
|
17
|
-
"decimals()": FunctionFragment;
|
|
18
|
-
"decreaseAllowance(address,uint256)": FunctionFragment;
|
|
19
|
-
"deposit(uint256,uint256,address)": FunctionFragment;
|
|
20
|
-
"deposit0Max()": FunctionFragment;
|
|
21
|
-
"deposit1Max()": FunctionFragment;
|
|
22
|
-
"fee()": FunctionFragment;
|
|
23
|
-
"getBasePosition()": FunctionFragment;
|
|
24
|
-
"getLimitPosition()": FunctionFragment;
|
|
25
|
-
"getTotalAmounts()": FunctionFragment;
|
|
26
|
-
"hysteresis()": FunctionFragment;
|
|
27
|
-
"ichiVaultFactory()": FunctionFragment;
|
|
28
|
-
"increaseAllowance(address,uint256)": FunctionFragment;
|
|
29
|
-
"limitLower()": FunctionFragment;
|
|
30
|
-
"limitUpper()": FunctionFragment;
|
|
31
|
-
"maxTotalSupply()": FunctionFragment;
|
|
32
|
-
"name()": FunctionFragment;
|
|
33
|
-
"owner()": FunctionFragment;
|
|
34
|
-
"pool()": FunctionFragment;
|
|
35
|
-
"rebalance(int24,int24,int24,int24,int256)": FunctionFragment;
|
|
36
|
-
"renounceOwnership()": FunctionFragment;
|
|
37
|
-
"setAffiliate(address)": FunctionFragment;
|
|
38
|
-
"setDepositMax(uint256,uint256)": FunctionFragment;
|
|
39
|
-
"setHysteresis(uint256)": FunctionFragment;
|
|
40
|
-
"setMaxTotalSupply(uint256)": FunctionFragment;
|
|
41
|
-
"setTwapPeriod(uint32)": FunctionFragment;
|
|
42
|
-
"symbol()": FunctionFragment;
|
|
43
|
-
"tickSpacing()": FunctionFragment;
|
|
44
|
-
"token0()": FunctionFragment;
|
|
45
|
-
"token1()": FunctionFragment;
|
|
46
|
-
"totalSupply()": FunctionFragment;
|
|
47
|
-
"transfer(address,uint256)": FunctionFragment;
|
|
48
|
-
"transferFrom(address,address,uint256)": FunctionFragment;
|
|
49
|
-
"transferOwnership(address)": FunctionFragment;
|
|
50
|
-
"twapPeriod()": FunctionFragment;
|
|
51
|
-
"uniswapV3MintCallback(uint256,uint256,bytes)": FunctionFragment;
|
|
52
|
-
"uniswapV3SwapCallback(int256,int256,bytes)": FunctionFragment;
|
|
53
|
-
"withdraw(uint256,address)": FunctionFragment;
|
|
54
|
-
};
|
|
55
|
-
getFunction(nameOrSignatureOrTopic: "PRECISION" | "affiliate" | "allowToken0" | "allowToken1" | "allowance" | "approve" | "balanceOf" | "baseLower" | "baseUpper" | "currentTick" | "decimals" | "decreaseAllowance" | "deposit" | "deposit0Max" | "deposit1Max" | "fee" | "getBasePosition" | "getLimitPosition" | "getTotalAmounts" | "hysteresis" | "ichiVaultFactory" | "increaseAllowance" | "limitLower" | "limitUpper" | "maxTotalSupply" | "name" | "owner" | "pool" | "rebalance" | "renounceOwnership" | "setAffiliate" | "setDepositMax" | "setHysteresis" | "setMaxTotalSupply" | "setTwapPeriod" | "symbol" | "tickSpacing" | "token0" | "token1" | "totalSupply" | "transfer" | "transferFrom" | "transferOwnership" | "twapPeriod" | "uniswapV3MintCallback" | "uniswapV3SwapCallback" | "withdraw"): FunctionFragment;
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
|
|
3
|
+
export interface IchiVaultInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "PRECISION" | "affiliate" | "allowToken0" | "allowToken1" | "allowance" | "approve" | "balanceOf" | "baseLower" | "baseUpper" | "currentTick" | "decimals" | "decreaseAllowance" | "deposit" | "deposit0Max" | "deposit1Max" | "fee" | "getBasePosition" | "getLimitPosition" | "getTotalAmounts" | "hysteresis" | "ichiVaultFactory" | "increaseAllowance" | "limitLower" | "limitUpper" | "maxTotalSupply" | "name" | "owner" | "pool" | "rebalance" | "renounceOwnership" | "setAffiliate" | "setDepositMax" | "setHysteresis" | "setMaxTotalSupply" | "setTwapPeriod" | "symbol" | "tickSpacing" | "token0" | "token1" | "totalSupply" | "transfer" | "transferFrom" | "transferOwnership" | "twapPeriod" | "uniswapV3MintCallback" | "uniswapV3SwapCallback" | "withdraw"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Affiliate" | "Approval" | "DeployICHIVault" | "Deposit" | "DepositMax" | "Hysteresis" | "MaxTotalSupply" | "OwnershipTransferred" | "Rebalance" | "SetTwapPeriod" | "Transfer" | "Withdraw"): EventFragment;
|
|
56
6
|
encodeFunctionData(functionFragment: "PRECISION", values?: undefined): string;
|
|
57
7
|
encodeFunctionData(functionFragment: "affiliate", values?: undefined): string;
|
|
58
8
|
encodeFunctionData(functionFragment: "allowToken0", values?: undefined): string;
|
|
59
9
|
encodeFunctionData(functionFragment: "allowToken1", values?: undefined): string;
|
|
60
|
-
encodeFunctionData(functionFragment: "allowance", values: [
|
|
61
|
-
encodeFunctionData(functionFragment: "approve", values: [
|
|
62
|
-
encodeFunctionData(functionFragment: "balanceOf", values: [
|
|
10
|
+
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
63
13
|
encodeFunctionData(functionFragment: "baseLower", values?: undefined): string;
|
|
64
14
|
encodeFunctionData(functionFragment: "baseUpper", values?: undefined): string;
|
|
65
15
|
encodeFunctionData(functionFragment: "currentTick", values?: undefined): string;
|
|
66
16
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
67
|
-
encodeFunctionData(functionFragment: "decreaseAllowance", values: [
|
|
68
|
-
encodeFunctionData(functionFragment: "deposit", values: [
|
|
69
|
-
PromiseOrValue<BigNumberish>,
|
|
70
|
-
PromiseOrValue<BigNumberish>,
|
|
71
|
-
PromiseOrValue<string>
|
|
72
|
-
]): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "decreaseAllowance", values: [AddressLike, BigNumberish]): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "deposit", values: [BigNumberish, BigNumberish, AddressLike]): string;
|
|
73
19
|
encodeFunctionData(functionFragment: "deposit0Max", values?: undefined): string;
|
|
74
20
|
encodeFunctionData(functionFragment: "deposit1Max", values?: undefined): string;
|
|
75
21
|
encodeFunctionData(functionFragment: "fee", values?: undefined): string;
|
|
@@ -78,7 +24,7 @@ export interface IchiVaultInterface extends utils.Interface {
|
|
|
78
24
|
encodeFunctionData(functionFragment: "getTotalAmounts", values?: undefined): string;
|
|
79
25
|
encodeFunctionData(functionFragment: "hysteresis", values?: undefined): string;
|
|
80
26
|
encodeFunctionData(functionFragment: "ichiVaultFactory", values?: undefined): string;
|
|
81
|
-
encodeFunctionData(functionFragment: "increaseAllowance", values: [
|
|
27
|
+
encodeFunctionData(functionFragment: "increaseAllowance", values: [AddressLike, BigNumberish]): string;
|
|
82
28
|
encodeFunctionData(functionFragment: "limitLower", values?: undefined): string;
|
|
83
29
|
encodeFunctionData(functionFragment: "limitUpper", values?: undefined): string;
|
|
84
30
|
encodeFunctionData(functionFragment: "maxTotalSupply", values?: undefined): string;
|
|
@@ -86,42 +32,30 @@ export interface IchiVaultInterface extends utils.Interface {
|
|
|
86
32
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
87
33
|
encodeFunctionData(functionFragment: "pool", values?: undefined): string;
|
|
88
34
|
encodeFunctionData(functionFragment: "rebalance", values: [
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
35
|
+
BigNumberish,
|
|
36
|
+
BigNumberish,
|
|
37
|
+
BigNumberish,
|
|
38
|
+
BigNumberish,
|
|
39
|
+
BigNumberish
|
|
94
40
|
]): string;
|
|
95
41
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
96
|
-
encodeFunctionData(functionFragment: "setAffiliate", values: [
|
|
97
|
-
encodeFunctionData(functionFragment: "setDepositMax", values: [
|
|
98
|
-
encodeFunctionData(functionFragment: "setHysteresis", values: [
|
|
99
|
-
encodeFunctionData(functionFragment: "setMaxTotalSupply", values: [
|
|
100
|
-
encodeFunctionData(functionFragment: "setTwapPeriod", values: [
|
|
42
|
+
encodeFunctionData(functionFragment: "setAffiliate", values: [AddressLike]): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "setDepositMax", values: [BigNumberish, BigNumberish]): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "setHysteresis", values: [BigNumberish]): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "setMaxTotalSupply", values: [BigNumberish]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "setTwapPeriod", values: [BigNumberish]): string;
|
|
101
47
|
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
102
48
|
encodeFunctionData(functionFragment: "tickSpacing", values?: undefined): string;
|
|
103
49
|
encodeFunctionData(functionFragment: "token0", values?: undefined): string;
|
|
104
50
|
encodeFunctionData(functionFragment: "token1", values?: undefined): string;
|
|
105
51
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
106
|
-
encodeFunctionData(functionFragment: "transfer", values: [
|
|
107
|
-
encodeFunctionData(functionFragment: "transferFrom", values: [
|
|
108
|
-
|
|
109
|
-
PromiseOrValue<string>,
|
|
110
|
-
PromiseOrValue<BigNumberish>
|
|
111
|
-
]): string;
|
|
112
|
-
encodeFunctionData(functionFragment: "transferOwnership", values: [PromiseOrValue<string>]): string;
|
|
52
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
113
55
|
encodeFunctionData(functionFragment: "twapPeriod", values?: undefined): string;
|
|
114
|
-
encodeFunctionData(functionFragment: "uniswapV3MintCallback", values: [
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
PromiseOrValue<BytesLike>
|
|
118
|
-
]): string;
|
|
119
|
-
encodeFunctionData(functionFragment: "uniswapV3SwapCallback", values: [
|
|
120
|
-
PromiseOrValue<BigNumberish>,
|
|
121
|
-
PromiseOrValue<BigNumberish>,
|
|
122
|
-
PromiseOrValue<BytesLike>
|
|
123
|
-
]): string;
|
|
124
|
-
encodeFunctionData(functionFragment: "withdraw", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<string>]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "uniswapV3MintCallback", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "uniswapV3SwapCallback", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish, AddressLike]): string;
|
|
125
59
|
decodeFunctionResult(functionFragment: "PRECISION", data: BytesLike): Result;
|
|
126
60
|
decodeFunctionResult(functionFragment: "affiliate", data: BytesLike): Result;
|
|
127
61
|
decodeFunctionResult(functionFragment: "allowToken0", data: BytesLike): Result;
|
|
@@ -169,660 +103,596 @@ export interface IchiVaultInterface extends utils.Interface {
|
|
|
169
103
|
decodeFunctionResult(functionFragment: "uniswapV3MintCallback", data: BytesLike): Result;
|
|
170
104
|
decodeFunctionResult(functionFragment: "uniswapV3SwapCallback", data: BytesLike): Result;
|
|
171
105
|
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
172
|
-
events: {
|
|
173
|
-
"Affiliate(address,address)": EventFragment;
|
|
174
|
-
"Approval(address,address,uint256)": EventFragment;
|
|
175
|
-
"DeployICHIVault(address,address,bool,bool,address,uint256)": EventFragment;
|
|
176
|
-
"Deposit(address,address,uint256,uint256,uint256)": EventFragment;
|
|
177
|
-
"DepositMax(address,uint256,uint256)": EventFragment;
|
|
178
|
-
"Hysteresis(address,uint256)": EventFragment;
|
|
179
|
-
"MaxTotalSupply(address,uint256)": EventFragment;
|
|
180
|
-
"OwnershipTransferred(address,address)": EventFragment;
|
|
181
|
-
"Rebalance(int24,uint256,uint256,uint256,uint256,uint256)": EventFragment;
|
|
182
|
-
"SetTwapPeriod(address,uint32)": EventFragment;
|
|
183
|
-
"Transfer(address,address,uint256)": EventFragment;
|
|
184
|
-
"Withdraw(address,address,uint256,uint256,uint256)": EventFragment;
|
|
185
|
-
};
|
|
186
|
-
getEvent(nameOrSignatureOrTopic: "Affiliate"): EventFragment;
|
|
187
|
-
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
188
|
-
getEvent(nameOrSignatureOrTopic: "DeployICHIVault"): EventFragment;
|
|
189
|
-
getEvent(nameOrSignatureOrTopic: "Deposit"): EventFragment;
|
|
190
|
-
getEvent(nameOrSignatureOrTopic: "DepositMax"): EventFragment;
|
|
191
|
-
getEvent(nameOrSignatureOrTopic: "Hysteresis"): EventFragment;
|
|
192
|
-
getEvent(nameOrSignatureOrTopic: "MaxTotalSupply"): EventFragment;
|
|
193
|
-
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
194
|
-
getEvent(nameOrSignatureOrTopic: "Rebalance"): EventFragment;
|
|
195
|
-
getEvent(nameOrSignatureOrTopic: "SetTwapPeriod"): EventFragment;
|
|
196
|
-
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
197
|
-
getEvent(nameOrSignatureOrTopic: "Withdraw"): EventFragment;
|
|
198
106
|
}
|
|
199
|
-
export
|
|
200
|
-
sender:
|
|
201
|
-
affiliate: string;
|
|
107
|
+
export declare namespace AffiliateEvent {
|
|
108
|
+
type InputTuple = [sender: AddressLike, affiliate: AddressLike];
|
|
109
|
+
type OutputTuple = [sender: string, affiliate: string];
|
|
110
|
+
interface OutputObject {
|
|
111
|
+
sender: string;
|
|
112
|
+
affiliate: string;
|
|
113
|
+
}
|
|
114
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
115
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
116
|
+
type Log = TypedEventLog<Event>;
|
|
117
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
202
118
|
}
|
|
203
|
-
export
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
119
|
+
export declare namespace ApprovalEvent {
|
|
120
|
+
type InputTuple = [
|
|
121
|
+
owner: AddressLike,
|
|
122
|
+
spender: AddressLike,
|
|
123
|
+
value: BigNumberish
|
|
124
|
+
];
|
|
125
|
+
type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
126
|
+
interface OutputObject {
|
|
127
|
+
owner: string;
|
|
128
|
+
spender: string;
|
|
129
|
+
value: bigint;
|
|
130
|
+
}
|
|
131
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
132
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
133
|
+
type Log = TypedEventLog<Event>;
|
|
134
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
209
135
|
}
|
|
210
|
-
export
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
136
|
+
export declare namespace DeployICHIVaultEvent {
|
|
137
|
+
type InputTuple = [
|
|
138
|
+
sender: AddressLike,
|
|
139
|
+
pool: AddressLike,
|
|
140
|
+
allowToken0: boolean,
|
|
141
|
+
allowToken1: boolean,
|
|
142
|
+
owner: AddressLike,
|
|
143
|
+
twapPeriod: BigNumberish
|
|
144
|
+
];
|
|
145
|
+
type OutputTuple = [
|
|
146
|
+
sender: string,
|
|
147
|
+
pool: string,
|
|
148
|
+
allowToken0: boolean,
|
|
149
|
+
allowToken1: boolean,
|
|
150
|
+
owner: string,
|
|
151
|
+
twapPeriod: bigint
|
|
152
|
+
];
|
|
153
|
+
interface OutputObject {
|
|
154
|
+
sender: string;
|
|
155
|
+
pool: string;
|
|
156
|
+
allowToken0: boolean;
|
|
157
|
+
allowToken1: boolean;
|
|
158
|
+
owner: string;
|
|
159
|
+
twapPeriod: bigint;
|
|
160
|
+
}
|
|
161
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
162
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
163
|
+
type Log = TypedEventLog<Event>;
|
|
164
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
223
165
|
}
|
|
224
|
-
export
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
]
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
166
|
+
export declare namespace DepositEvent {
|
|
167
|
+
type InputTuple = [
|
|
168
|
+
sender: AddressLike,
|
|
169
|
+
to: AddressLike,
|
|
170
|
+
shares: BigNumberish,
|
|
171
|
+
amount0: BigNumberish,
|
|
172
|
+
amount1: BigNumberish
|
|
173
|
+
];
|
|
174
|
+
type OutputTuple = [
|
|
175
|
+
sender: string,
|
|
176
|
+
to: string,
|
|
177
|
+
shares: bigint,
|
|
178
|
+
amount0: bigint,
|
|
179
|
+
amount1: bigint
|
|
180
|
+
];
|
|
181
|
+
interface OutputObject {
|
|
182
|
+
sender: string;
|
|
183
|
+
to: string;
|
|
184
|
+
shares: bigint;
|
|
185
|
+
amount0: bigint;
|
|
186
|
+
amount1: bigint;
|
|
187
|
+
}
|
|
188
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
189
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
190
|
+
type Log = TypedEventLog<Event>;
|
|
191
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
239
192
|
}
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
193
|
+
export declare namespace DepositMaxEvent {
|
|
194
|
+
type InputTuple = [
|
|
195
|
+
sender: AddressLike,
|
|
196
|
+
deposit0Max: BigNumberish,
|
|
197
|
+
deposit1Max: BigNumberish
|
|
198
|
+
];
|
|
199
|
+
type OutputTuple = [
|
|
200
|
+
sender: string,
|
|
201
|
+
deposit0Max: bigint,
|
|
202
|
+
deposit1Max: bigint
|
|
203
|
+
];
|
|
204
|
+
interface OutputObject {
|
|
205
|
+
sender: string;
|
|
206
|
+
deposit0Max: bigint;
|
|
207
|
+
deposit1Max: bigint;
|
|
208
|
+
}
|
|
209
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
210
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
211
|
+
type Log = TypedEventLog<Event>;
|
|
212
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
252
213
|
}
|
|
253
|
-
export
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
214
|
+
export declare namespace HysteresisEvent {
|
|
215
|
+
type InputTuple = [sender: AddressLike, hysteresis: BigNumberish];
|
|
216
|
+
type OutputTuple = [sender: string, hysteresis: bigint];
|
|
217
|
+
interface OutputObject {
|
|
218
|
+
sender: string;
|
|
219
|
+
hysteresis: bigint;
|
|
220
|
+
}
|
|
221
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
222
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
223
|
+
type Log = TypedEventLog<Event>;
|
|
224
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
262
225
|
}
|
|
263
|
-
export
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
226
|
+
export declare namespace MaxTotalSupplyEvent {
|
|
227
|
+
type InputTuple = [sender: AddressLike, maxTotalSupply: BigNumberish];
|
|
228
|
+
type OutputTuple = [sender: string, maxTotalSupply: bigint];
|
|
229
|
+
interface OutputObject {
|
|
230
|
+
sender: string;
|
|
231
|
+
maxTotalSupply: bigint;
|
|
232
|
+
}
|
|
233
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
234
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
235
|
+
type Log = TypedEventLog<Event>;
|
|
236
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
271
237
|
}
|
|
272
|
-
export
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
238
|
+
export declare namespace OwnershipTransferredEvent {
|
|
239
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
240
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
241
|
+
interface OutputObject {
|
|
242
|
+
previousOwner: string;
|
|
243
|
+
newOwner: string;
|
|
244
|
+
}
|
|
245
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
246
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
247
|
+
type Log = TypedEventLog<Event>;
|
|
248
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
280
249
|
}
|
|
281
|
-
export
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
250
|
+
export declare namespace RebalanceEvent {
|
|
251
|
+
type InputTuple = [
|
|
252
|
+
tick: BigNumberish,
|
|
253
|
+
totalAmount0: BigNumberish,
|
|
254
|
+
totalAmount1: BigNumberish,
|
|
255
|
+
feeAmount0: BigNumberish,
|
|
256
|
+
feeAmount1: BigNumberish,
|
|
257
|
+
totalSupply: BigNumberish
|
|
258
|
+
];
|
|
259
|
+
type OutputTuple = [
|
|
260
|
+
tick: bigint,
|
|
261
|
+
totalAmount0: bigint,
|
|
262
|
+
totalAmount1: bigint,
|
|
263
|
+
feeAmount0: bigint,
|
|
264
|
+
feeAmount1: bigint,
|
|
265
|
+
totalSupply: bigint
|
|
266
|
+
];
|
|
267
|
+
interface OutputObject {
|
|
268
|
+
tick: bigint;
|
|
269
|
+
totalAmount0: bigint;
|
|
270
|
+
totalAmount1: bigint;
|
|
271
|
+
feeAmount0: bigint;
|
|
272
|
+
feeAmount1: bigint;
|
|
273
|
+
totalSupply: bigint;
|
|
274
|
+
}
|
|
275
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
276
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
277
|
+
type Log = TypedEventLog<Event>;
|
|
278
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
293
279
|
}
|
|
294
|
-
export
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
newTwapPeriod: number;
|
|
280
|
+
export declare namespace SetTwapPeriodEvent {
|
|
281
|
+
type InputTuple = [sender: AddressLike, newTwapPeriod: BigNumberish];
|
|
282
|
+
type OutputTuple = [sender: string, newTwapPeriod: bigint];
|
|
283
|
+
interface OutputObject {
|
|
284
|
+
sender: string;
|
|
285
|
+
newTwapPeriod: bigint;
|
|
286
|
+
}
|
|
287
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
288
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
289
|
+
type Log = TypedEventLog<Event>;
|
|
290
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
306
291
|
}
|
|
307
|
-
export
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
from: string;
|
|
314
|
-
|
|
315
|
-
|
|
292
|
+
export declare namespace TransferEvent {
|
|
293
|
+
type InputTuple = [
|
|
294
|
+
from: AddressLike,
|
|
295
|
+
to: AddressLike,
|
|
296
|
+
value: BigNumberish
|
|
297
|
+
];
|
|
298
|
+
type OutputTuple = [from: string, to: string, value: bigint];
|
|
299
|
+
interface OutputObject {
|
|
300
|
+
from: string;
|
|
301
|
+
to: string;
|
|
302
|
+
value: bigint;
|
|
303
|
+
}
|
|
304
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
305
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
306
|
+
type Log = TypedEventLog<Event>;
|
|
307
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
316
308
|
}
|
|
317
|
-
export
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
309
|
+
export declare namespace WithdrawEvent {
|
|
310
|
+
type InputTuple = [
|
|
311
|
+
sender: AddressLike,
|
|
312
|
+
to: AddressLike,
|
|
313
|
+
shares: BigNumberish,
|
|
314
|
+
amount0: BigNumberish,
|
|
315
|
+
amount1: BigNumberish
|
|
316
|
+
];
|
|
317
|
+
type OutputTuple = [
|
|
318
|
+
sender: string,
|
|
319
|
+
to: string,
|
|
320
|
+
shares: bigint,
|
|
321
|
+
amount0: bigint,
|
|
322
|
+
amount1: bigint
|
|
323
|
+
];
|
|
324
|
+
interface OutputObject {
|
|
325
|
+
sender: string;
|
|
326
|
+
to: string;
|
|
327
|
+
shares: bigint;
|
|
328
|
+
amount0: bigint;
|
|
329
|
+
amount1: bigint;
|
|
330
|
+
}
|
|
331
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
332
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
333
|
+
type Log = TypedEventLog<Event>;
|
|
334
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
329
335
|
}
|
|
330
|
-
export type WithdrawEvent = TypedEvent<[
|
|
331
|
-
string,
|
|
332
|
-
string,
|
|
333
|
-
BigNumber,
|
|
334
|
-
BigNumber,
|
|
335
|
-
BigNumber
|
|
336
|
-
], WithdrawEventObject>;
|
|
337
|
-
export type WithdrawEventFilter = TypedEventFilter<WithdrawEvent>;
|
|
338
336
|
export interface IchiVault extends BaseContract {
|
|
339
|
-
connect(
|
|
340
|
-
|
|
341
|
-
deployed(): Promise<this>;
|
|
337
|
+
connect(runner?: ContractRunner | null): IchiVault;
|
|
338
|
+
waitForDeployment(): Promise<this>;
|
|
342
339
|
interface: IchiVaultInterface;
|
|
343
|
-
queryFilter<
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
340
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
341
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
342
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
343
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
344
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
345
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
346
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
347
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
348
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
349
|
+
PRECISION: TypedContractMethod<[], [bigint], "view">;
|
|
350
|
+
affiliate: TypedContractMethod<[], [string], "view">;
|
|
351
|
+
allowToken0: TypedContractMethod<[], [boolean], "view">;
|
|
352
|
+
allowToken1: TypedContractMethod<[], [boolean], "view">;
|
|
353
|
+
allowance: TypedContractMethod<[
|
|
354
|
+
owner: AddressLike,
|
|
355
|
+
spender: AddressLike
|
|
356
|
+
], [
|
|
357
|
+
bigint
|
|
358
|
+
], "view">;
|
|
359
|
+
approve: TypedContractMethod<[
|
|
360
|
+
spender: AddressLike,
|
|
361
|
+
amount: BigNumberish
|
|
362
|
+
], [
|
|
363
|
+
boolean
|
|
364
|
+
], "nonpayable">;
|
|
365
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
366
|
+
baseLower: TypedContractMethod<[], [bigint], "view">;
|
|
367
|
+
baseUpper: TypedContractMethod<[], [bigint], "view">;
|
|
368
|
+
currentTick: TypedContractMethod<[], [bigint], "view">;
|
|
369
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
370
|
+
decreaseAllowance: TypedContractMethod<[
|
|
371
|
+
spender: AddressLike,
|
|
372
|
+
subtractedValue: BigNumberish
|
|
373
|
+
], [
|
|
374
|
+
boolean
|
|
375
|
+
], "nonpayable">;
|
|
376
|
+
deposit: TypedContractMethod<[
|
|
377
|
+
deposit0: BigNumberish,
|
|
378
|
+
deposit1: BigNumberish,
|
|
379
|
+
to: AddressLike
|
|
380
|
+
], [
|
|
381
|
+
bigint
|
|
382
|
+
], "nonpayable">;
|
|
383
|
+
deposit0Max: TypedContractMethod<[], [bigint], "view">;
|
|
384
|
+
deposit1Max: TypedContractMethod<[], [bigint], "view">;
|
|
385
|
+
fee: TypedContractMethod<[], [bigint], "view">;
|
|
386
|
+
getBasePosition: TypedContractMethod<[
|
|
387
|
+
], [
|
|
388
|
+
[
|
|
389
|
+
bigint,
|
|
390
|
+
bigint,
|
|
391
|
+
bigint
|
|
381
392
|
] & {
|
|
382
|
-
liquidity:
|
|
383
|
-
amount0:
|
|
384
|
-
amount1:
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
393
|
+
liquidity: bigint;
|
|
394
|
+
amount0: bigint;
|
|
395
|
+
amount1: bigint;
|
|
396
|
+
}
|
|
397
|
+
], "view">;
|
|
398
|
+
getLimitPosition: TypedContractMethod<[
|
|
399
|
+
], [
|
|
400
|
+
[
|
|
401
|
+
bigint,
|
|
402
|
+
bigint,
|
|
403
|
+
bigint
|
|
390
404
|
] & {
|
|
391
|
-
liquidity:
|
|
392
|
-
amount0:
|
|
393
|
-
amount1:
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
405
|
+
liquidity: bigint;
|
|
406
|
+
amount0: bigint;
|
|
407
|
+
amount1: bigint;
|
|
408
|
+
}
|
|
409
|
+
], "view">;
|
|
410
|
+
getTotalAmounts: TypedContractMethod<[
|
|
411
|
+
], [
|
|
412
|
+
[bigint, bigint] & {
|
|
413
|
+
total0: bigint;
|
|
414
|
+
total1: bigint;
|
|
415
|
+
}
|
|
416
|
+
], "view">;
|
|
417
|
+
hysteresis: TypedContractMethod<[], [bigint], "view">;
|
|
418
|
+
ichiVaultFactory: TypedContractMethod<[], [string], "view">;
|
|
419
|
+
increaseAllowance: TypedContractMethod<[
|
|
420
|
+
spender: AddressLike,
|
|
421
|
+
addedValue: BigNumberish
|
|
422
|
+
], [
|
|
423
|
+
boolean
|
|
424
|
+
], "nonpayable">;
|
|
425
|
+
limitLower: TypedContractMethod<[], [bigint], "view">;
|
|
426
|
+
limitUpper: TypedContractMethod<[], [bigint], "view">;
|
|
427
|
+
maxTotalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
428
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
429
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
430
|
+
pool: TypedContractMethod<[], [string], "view">;
|
|
431
|
+
rebalance: TypedContractMethod<[
|
|
432
|
+
_baseLower: BigNumberish,
|
|
433
|
+
_baseUpper: BigNumberish,
|
|
434
|
+
_limitLower: BigNumberish,
|
|
435
|
+
_limitUpper: BigNumberish,
|
|
436
|
+
swapQuantity: BigNumberish
|
|
437
|
+
], [
|
|
438
|
+
void
|
|
439
|
+
], "nonpayable">;
|
|
440
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
441
|
+
setAffiliate: TypedContractMethod<[
|
|
442
|
+
_affiliate: AddressLike
|
|
443
|
+
], [
|
|
444
|
+
void
|
|
445
|
+
], "nonpayable">;
|
|
446
|
+
setDepositMax: TypedContractMethod<[
|
|
447
|
+
_deposit0Max: BigNumberish,
|
|
448
|
+
_deposit1Max: BigNumberish
|
|
449
|
+
], [
|
|
450
|
+
void
|
|
451
|
+
], "nonpayable">;
|
|
452
|
+
setHysteresis: TypedContractMethod<[
|
|
453
|
+
_hysteresis: BigNumberish
|
|
454
|
+
], [
|
|
455
|
+
void
|
|
456
|
+
], "nonpayable">;
|
|
457
|
+
setMaxTotalSupply: TypedContractMethod<[
|
|
458
|
+
_maxTotalSupply: BigNumberish
|
|
459
|
+
], [
|
|
460
|
+
void
|
|
461
|
+
], "nonpayable">;
|
|
462
|
+
setTwapPeriod: TypedContractMethod<[
|
|
463
|
+
newTwapPeriod: BigNumberish
|
|
464
|
+
], [
|
|
465
|
+
void
|
|
466
|
+
], "nonpayable">;
|
|
467
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
468
|
+
tickSpacing: TypedContractMethod<[], [bigint], "view">;
|
|
469
|
+
token0: TypedContractMethod<[], [string], "view">;
|
|
470
|
+
token1: TypedContractMethod<[], [string], "view">;
|
|
471
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
472
|
+
transfer: TypedContractMethod<[
|
|
473
|
+
recipient: AddressLike,
|
|
474
|
+
amount: BigNumberish
|
|
475
|
+
], [
|
|
476
|
+
boolean
|
|
477
|
+
], "nonpayable">;
|
|
478
|
+
transferFrom: TypedContractMethod<[
|
|
479
|
+
sender: AddressLike,
|
|
480
|
+
recipient: AddressLike,
|
|
481
|
+
amount: BigNumberish
|
|
482
|
+
], [
|
|
483
|
+
boolean
|
|
484
|
+
], "nonpayable">;
|
|
485
|
+
transferOwnership: TypedContractMethod<[
|
|
486
|
+
newOwner: AddressLike
|
|
487
|
+
], [
|
|
488
|
+
void
|
|
489
|
+
], "nonpayable">;
|
|
490
|
+
twapPeriod: TypedContractMethod<[], [bigint], "view">;
|
|
491
|
+
uniswapV3MintCallback: TypedContractMethod<[
|
|
492
|
+
amount0: BigNumberish,
|
|
493
|
+
amount1: BigNumberish,
|
|
494
|
+
data: BytesLike
|
|
495
|
+
], [
|
|
496
|
+
void
|
|
497
|
+
], "nonpayable">;
|
|
498
|
+
uniswapV3SwapCallback: TypedContractMethod<[
|
|
499
|
+
amount0Delta: BigNumberish,
|
|
500
|
+
amount1Delta: BigNumberish,
|
|
501
|
+
data: BytesLike
|
|
502
|
+
], [
|
|
503
|
+
void
|
|
504
|
+
], "nonpayable">;
|
|
505
|
+
withdraw: TypedContractMethod<[
|
|
506
|
+
shares: BigNumberish,
|
|
507
|
+
to: AddressLike
|
|
508
|
+
], [
|
|
509
|
+
[bigint, bigint] & {
|
|
510
|
+
amount0: bigint;
|
|
511
|
+
amount1: bigint;
|
|
512
|
+
}
|
|
513
|
+
], "nonpayable">;
|
|
514
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
515
|
+
getFunction(nameOrSignature: "PRECISION"): TypedContractMethod<[], [bigint], "view">;
|
|
516
|
+
getFunction(nameOrSignature: "affiliate"): TypedContractMethod<[], [string], "view">;
|
|
517
|
+
getFunction(nameOrSignature: "allowToken0"): TypedContractMethod<[], [boolean], "view">;
|
|
518
|
+
getFunction(nameOrSignature: "allowToken1"): TypedContractMethod<[], [boolean], "view">;
|
|
519
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
520
|
+
owner: AddressLike,
|
|
521
|
+
spender: AddressLike
|
|
522
|
+
], [
|
|
523
|
+
bigint
|
|
524
|
+
], "view">;
|
|
525
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
526
|
+
spender: AddressLike,
|
|
527
|
+
amount: BigNumberish
|
|
528
|
+
], [
|
|
529
|
+
boolean
|
|
530
|
+
], "nonpayable">;
|
|
531
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
532
|
+
getFunction(nameOrSignature: "baseLower"): TypedContractMethod<[], [bigint], "view">;
|
|
533
|
+
getFunction(nameOrSignature: "baseUpper"): TypedContractMethod<[], [bigint], "view">;
|
|
534
|
+
getFunction(nameOrSignature: "currentTick"): TypedContractMethod<[], [bigint], "view">;
|
|
535
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
536
|
+
getFunction(nameOrSignature: "decreaseAllowance"): TypedContractMethod<[
|
|
537
|
+
spender: AddressLike,
|
|
538
|
+
subtractedValue: BigNumberish
|
|
539
|
+
], [
|
|
540
|
+
boolean
|
|
541
|
+
], "nonpayable">;
|
|
542
|
+
getFunction(nameOrSignature: "deposit"): TypedContractMethod<[
|
|
543
|
+
deposit0: BigNumberish,
|
|
544
|
+
deposit1: BigNumberish,
|
|
545
|
+
to: AddressLike
|
|
546
|
+
], [
|
|
547
|
+
bigint
|
|
548
|
+
], "nonpayable">;
|
|
549
|
+
getFunction(nameOrSignature: "deposit0Max"): TypedContractMethod<[], [bigint], "view">;
|
|
550
|
+
getFunction(nameOrSignature: "deposit1Max"): TypedContractMethod<[], [bigint], "view">;
|
|
551
|
+
getFunction(nameOrSignature: "fee"): TypedContractMethod<[], [bigint], "view">;
|
|
552
|
+
getFunction(nameOrSignature: "getBasePosition"): TypedContractMethod<[
|
|
553
|
+
], [
|
|
554
|
+
[
|
|
555
|
+
bigint,
|
|
556
|
+
bigint,
|
|
557
|
+
bigint
|
|
398
558
|
] & {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
name(overrides?: CallOverrides): Promise<[string]>;
|
|
411
|
-
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
412
|
-
pool(overrides?: CallOverrides): Promise<[string]>;
|
|
413
|
-
rebalance(_baseLower: PromiseOrValue<BigNumberish>, _baseUpper: PromiseOrValue<BigNumberish>, _limitLower: PromiseOrValue<BigNumberish>, _limitUpper: PromiseOrValue<BigNumberish>, swapQuantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
414
|
-
from?: PromiseOrValue<string>;
|
|
415
|
-
}): Promise<ContractTransaction>;
|
|
416
|
-
renounceOwnership(overrides?: Overrides & {
|
|
417
|
-
from?: PromiseOrValue<string>;
|
|
418
|
-
}): Promise<ContractTransaction>;
|
|
419
|
-
setAffiliate(_affiliate: PromiseOrValue<string>, overrides?: Overrides & {
|
|
420
|
-
from?: PromiseOrValue<string>;
|
|
421
|
-
}): Promise<ContractTransaction>;
|
|
422
|
-
setDepositMax(_deposit0Max: PromiseOrValue<BigNumberish>, _deposit1Max: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
423
|
-
from?: PromiseOrValue<string>;
|
|
424
|
-
}): Promise<ContractTransaction>;
|
|
425
|
-
setHysteresis(_hysteresis: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
426
|
-
from?: PromiseOrValue<string>;
|
|
427
|
-
}): Promise<ContractTransaction>;
|
|
428
|
-
setMaxTotalSupply(_maxTotalSupply: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
429
|
-
from?: PromiseOrValue<string>;
|
|
430
|
-
}): Promise<ContractTransaction>;
|
|
431
|
-
setTwapPeriod(newTwapPeriod: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
432
|
-
from?: PromiseOrValue<string>;
|
|
433
|
-
}): Promise<ContractTransaction>;
|
|
434
|
-
symbol(overrides?: CallOverrides): Promise<[string]>;
|
|
435
|
-
tickSpacing(overrides?: CallOverrides): Promise<[number]>;
|
|
436
|
-
token0(overrides?: CallOverrides): Promise<[string]>;
|
|
437
|
-
token1(overrides?: CallOverrides): Promise<[string]>;
|
|
438
|
-
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
439
|
-
transfer(recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
440
|
-
from?: PromiseOrValue<string>;
|
|
441
|
-
}): Promise<ContractTransaction>;
|
|
442
|
-
transferFrom(sender: PromiseOrValue<string>, recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
443
|
-
from?: PromiseOrValue<string>;
|
|
444
|
-
}): Promise<ContractTransaction>;
|
|
445
|
-
transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
446
|
-
from?: PromiseOrValue<string>;
|
|
447
|
-
}): Promise<ContractTransaction>;
|
|
448
|
-
twapPeriod(overrides?: CallOverrides): Promise<[number]>;
|
|
449
|
-
uniswapV3MintCallback(amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
450
|
-
from?: PromiseOrValue<string>;
|
|
451
|
-
}): Promise<ContractTransaction>;
|
|
452
|
-
uniswapV3SwapCallback(amount0Delta: PromiseOrValue<BigNumberish>, amount1Delta: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
453
|
-
from?: PromiseOrValue<string>;
|
|
454
|
-
}): Promise<ContractTransaction>;
|
|
455
|
-
withdraw(shares: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
456
|
-
from?: PromiseOrValue<string>;
|
|
457
|
-
}): Promise<ContractTransaction>;
|
|
458
|
-
};
|
|
459
|
-
PRECISION(overrides?: CallOverrides): Promise<BigNumber>;
|
|
460
|
-
affiliate(overrides?: CallOverrides): Promise<string>;
|
|
461
|
-
allowToken0(overrides?: CallOverrides): Promise<boolean>;
|
|
462
|
-
allowToken1(overrides?: CallOverrides): Promise<boolean>;
|
|
463
|
-
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
464
|
-
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
465
|
-
from?: PromiseOrValue<string>;
|
|
466
|
-
}): Promise<ContractTransaction>;
|
|
467
|
-
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
468
|
-
baseLower(overrides?: CallOverrides): Promise<number>;
|
|
469
|
-
baseUpper(overrides?: CallOverrides): Promise<number>;
|
|
470
|
-
currentTick(overrides?: CallOverrides): Promise<number>;
|
|
471
|
-
decimals(overrides?: CallOverrides): Promise<number>;
|
|
472
|
-
decreaseAllowance(spender: PromiseOrValue<string>, subtractedValue: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
473
|
-
from?: PromiseOrValue<string>;
|
|
474
|
-
}): Promise<ContractTransaction>;
|
|
475
|
-
deposit(deposit0: PromiseOrValue<BigNumberish>, deposit1: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
476
|
-
from?: PromiseOrValue<string>;
|
|
477
|
-
}): Promise<ContractTransaction>;
|
|
478
|
-
deposit0Max(overrides?: CallOverrides): Promise<BigNumber>;
|
|
479
|
-
deposit1Max(overrides?: CallOverrides): Promise<BigNumber>;
|
|
480
|
-
fee(overrides?: CallOverrides): Promise<number>;
|
|
481
|
-
getBasePosition(overrides?: CallOverrides): Promise<[
|
|
482
|
-
BigNumber,
|
|
483
|
-
BigNumber,
|
|
484
|
-
BigNumber
|
|
485
|
-
] & {
|
|
486
|
-
liquidity: BigNumber;
|
|
487
|
-
amount0: BigNumber;
|
|
488
|
-
amount1: BigNumber;
|
|
489
|
-
}>;
|
|
490
|
-
getLimitPosition(overrides?: CallOverrides): Promise<[
|
|
491
|
-
BigNumber,
|
|
492
|
-
BigNumber,
|
|
493
|
-
BigNumber
|
|
494
|
-
] & {
|
|
495
|
-
liquidity: BigNumber;
|
|
496
|
-
amount0: BigNumber;
|
|
497
|
-
amount1: BigNumber;
|
|
498
|
-
}>;
|
|
499
|
-
getTotalAmounts(overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & {
|
|
500
|
-
total0: BigNumber;
|
|
501
|
-
total1: BigNumber;
|
|
502
|
-
}>;
|
|
503
|
-
hysteresis(overrides?: CallOverrides): Promise<BigNumber>;
|
|
504
|
-
ichiVaultFactory(overrides?: CallOverrides): Promise<string>;
|
|
505
|
-
increaseAllowance(spender: PromiseOrValue<string>, addedValue: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
506
|
-
from?: PromiseOrValue<string>;
|
|
507
|
-
}): Promise<ContractTransaction>;
|
|
508
|
-
limitLower(overrides?: CallOverrides): Promise<number>;
|
|
509
|
-
limitUpper(overrides?: CallOverrides): Promise<number>;
|
|
510
|
-
maxTotalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
511
|
-
name(overrides?: CallOverrides): Promise<string>;
|
|
512
|
-
owner(overrides?: CallOverrides): Promise<string>;
|
|
513
|
-
pool(overrides?: CallOverrides): Promise<string>;
|
|
514
|
-
rebalance(_baseLower: PromiseOrValue<BigNumberish>, _baseUpper: PromiseOrValue<BigNumberish>, _limitLower: PromiseOrValue<BigNumberish>, _limitUpper: PromiseOrValue<BigNumberish>, swapQuantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
515
|
-
from?: PromiseOrValue<string>;
|
|
516
|
-
}): Promise<ContractTransaction>;
|
|
517
|
-
renounceOwnership(overrides?: Overrides & {
|
|
518
|
-
from?: PromiseOrValue<string>;
|
|
519
|
-
}): Promise<ContractTransaction>;
|
|
520
|
-
setAffiliate(_affiliate: PromiseOrValue<string>, overrides?: Overrides & {
|
|
521
|
-
from?: PromiseOrValue<string>;
|
|
522
|
-
}): Promise<ContractTransaction>;
|
|
523
|
-
setDepositMax(_deposit0Max: PromiseOrValue<BigNumberish>, _deposit1Max: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
524
|
-
from?: PromiseOrValue<string>;
|
|
525
|
-
}): Promise<ContractTransaction>;
|
|
526
|
-
setHysteresis(_hysteresis: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
527
|
-
from?: PromiseOrValue<string>;
|
|
528
|
-
}): Promise<ContractTransaction>;
|
|
529
|
-
setMaxTotalSupply(_maxTotalSupply: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
530
|
-
from?: PromiseOrValue<string>;
|
|
531
|
-
}): Promise<ContractTransaction>;
|
|
532
|
-
setTwapPeriod(newTwapPeriod: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
533
|
-
from?: PromiseOrValue<string>;
|
|
534
|
-
}): Promise<ContractTransaction>;
|
|
535
|
-
symbol(overrides?: CallOverrides): Promise<string>;
|
|
536
|
-
tickSpacing(overrides?: CallOverrides): Promise<number>;
|
|
537
|
-
token0(overrides?: CallOverrides): Promise<string>;
|
|
538
|
-
token1(overrides?: CallOverrides): Promise<string>;
|
|
539
|
-
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
540
|
-
transfer(recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
541
|
-
from?: PromiseOrValue<string>;
|
|
542
|
-
}): Promise<ContractTransaction>;
|
|
543
|
-
transferFrom(sender: PromiseOrValue<string>, recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
544
|
-
from?: PromiseOrValue<string>;
|
|
545
|
-
}): Promise<ContractTransaction>;
|
|
546
|
-
transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
547
|
-
from?: PromiseOrValue<string>;
|
|
548
|
-
}): Promise<ContractTransaction>;
|
|
549
|
-
twapPeriod(overrides?: CallOverrides): Promise<number>;
|
|
550
|
-
uniswapV3MintCallback(amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
551
|
-
from?: PromiseOrValue<string>;
|
|
552
|
-
}): Promise<ContractTransaction>;
|
|
553
|
-
uniswapV3SwapCallback(amount0Delta: PromiseOrValue<BigNumberish>, amount1Delta: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
554
|
-
from?: PromiseOrValue<string>;
|
|
555
|
-
}): Promise<ContractTransaction>;
|
|
556
|
-
withdraw(shares: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
557
|
-
from?: PromiseOrValue<string>;
|
|
558
|
-
}): Promise<ContractTransaction>;
|
|
559
|
-
callStatic: {
|
|
560
|
-
PRECISION(overrides?: CallOverrides): Promise<BigNumber>;
|
|
561
|
-
affiliate(overrides?: CallOverrides): Promise<string>;
|
|
562
|
-
allowToken0(overrides?: CallOverrides): Promise<boolean>;
|
|
563
|
-
allowToken1(overrides?: CallOverrides): Promise<boolean>;
|
|
564
|
-
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
565
|
-
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
|
|
566
|
-
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
567
|
-
baseLower(overrides?: CallOverrides): Promise<number>;
|
|
568
|
-
baseUpper(overrides?: CallOverrides): Promise<number>;
|
|
569
|
-
currentTick(overrides?: CallOverrides): Promise<number>;
|
|
570
|
-
decimals(overrides?: CallOverrides): Promise<number>;
|
|
571
|
-
decreaseAllowance(spender: PromiseOrValue<string>, subtractedValue: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
|
|
572
|
-
deposit(deposit0: PromiseOrValue<BigNumberish>, deposit1: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
573
|
-
deposit0Max(overrides?: CallOverrides): Promise<BigNumber>;
|
|
574
|
-
deposit1Max(overrides?: CallOverrides): Promise<BigNumber>;
|
|
575
|
-
fee(overrides?: CallOverrides): Promise<number>;
|
|
576
|
-
getBasePosition(overrides?: CallOverrides): Promise<[
|
|
577
|
-
BigNumber,
|
|
578
|
-
BigNumber,
|
|
579
|
-
BigNumber
|
|
559
|
+
liquidity: bigint;
|
|
560
|
+
amount0: bigint;
|
|
561
|
+
amount1: bigint;
|
|
562
|
+
}
|
|
563
|
+
], "view">;
|
|
564
|
+
getFunction(nameOrSignature: "getLimitPosition"): TypedContractMethod<[
|
|
565
|
+
], [
|
|
566
|
+
[
|
|
567
|
+
bigint,
|
|
568
|
+
bigint,
|
|
569
|
+
bigint
|
|
580
570
|
] & {
|
|
581
|
-
liquidity:
|
|
582
|
-
amount0:
|
|
583
|
-
amount1:
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
571
|
+
liquidity: bigint;
|
|
572
|
+
amount0: bigint;
|
|
573
|
+
amount1: bigint;
|
|
574
|
+
}
|
|
575
|
+
], "view">;
|
|
576
|
+
getFunction(nameOrSignature: "getTotalAmounts"): TypedContractMethod<[
|
|
577
|
+
], [
|
|
578
|
+
[bigint, bigint] & {
|
|
579
|
+
total0: bigint;
|
|
580
|
+
total1: bigint;
|
|
581
|
+
}
|
|
582
|
+
], "view">;
|
|
583
|
+
getFunction(nameOrSignature: "hysteresis"): TypedContractMethod<[], [bigint], "view">;
|
|
584
|
+
getFunction(nameOrSignature: "ichiVaultFactory"): TypedContractMethod<[], [string], "view">;
|
|
585
|
+
getFunction(nameOrSignature: "increaseAllowance"): TypedContractMethod<[
|
|
586
|
+
spender: AddressLike,
|
|
587
|
+
addedValue: BigNumberish
|
|
588
|
+
], [
|
|
589
|
+
boolean
|
|
590
|
+
], "nonpayable">;
|
|
591
|
+
getFunction(nameOrSignature: "limitLower"): TypedContractMethod<[], [bigint], "view">;
|
|
592
|
+
getFunction(nameOrSignature: "limitUpper"): TypedContractMethod<[], [bigint], "view">;
|
|
593
|
+
getFunction(nameOrSignature: "maxTotalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
594
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
595
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
596
|
+
getFunction(nameOrSignature: "pool"): TypedContractMethod<[], [string], "view">;
|
|
597
|
+
getFunction(nameOrSignature: "rebalance"): TypedContractMethod<[
|
|
598
|
+
_baseLower: BigNumberish,
|
|
599
|
+
_baseUpper: BigNumberish,
|
|
600
|
+
_limitLower: BigNumberish,
|
|
601
|
+
_limitUpper: BigNumberish,
|
|
602
|
+
swapQuantity: BigNumberish
|
|
603
|
+
], [
|
|
604
|
+
void
|
|
605
|
+
], "nonpayable">;
|
|
606
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
607
|
+
getFunction(nameOrSignature: "setAffiliate"): TypedContractMethod<[_affiliate: AddressLike], [void], "nonpayable">;
|
|
608
|
+
getFunction(nameOrSignature: "setDepositMax"): TypedContractMethod<[
|
|
609
|
+
_deposit0Max: BigNumberish,
|
|
610
|
+
_deposit1Max: BigNumberish
|
|
611
|
+
], [
|
|
612
|
+
void
|
|
613
|
+
], "nonpayable">;
|
|
614
|
+
getFunction(nameOrSignature: "setHysteresis"): TypedContractMethod<[_hysteresis: BigNumberish], [void], "nonpayable">;
|
|
615
|
+
getFunction(nameOrSignature: "setMaxTotalSupply"): TypedContractMethod<[_maxTotalSupply: BigNumberish], [void], "nonpayable">;
|
|
616
|
+
getFunction(nameOrSignature: "setTwapPeriod"): TypedContractMethod<[newTwapPeriod: BigNumberish], [void], "nonpayable">;
|
|
617
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
618
|
+
getFunction(nameOrSignature: "tickSpacing"): TypedContractMethod<[], [bigint], "view">;
|
|
619
|
+
getFunction(nameOrSignature: "token0"): TypedContractMethod<[], [string], "view">;
|
|
620
|
+
getFunction(nameOrSignature: "token1"): TypedContractMethod<[], [string], "view">;
|
|
621
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
622
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
623
|
+
recipient: AddressLike,
|
|
624
|
+
amount: BigNumberish
|
|
625
|
+
], [
|
|
626
|
+
boolean
|
|
627
|
+
], "nonpayable">;
|
|
628
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
629
|
+
sender: AddressLike,
|
|
630
|
+
recipient: AddressLike,
|
|
631
|
+
amount: BigNumberish
|
|
632
|
+
], [
|
|
633
|
+
boolean
|
|
634
|
+
], "nonpayable">;
|
|
635
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
636
|
+
getFunction(nameOrSignature: "twapPeriod"): TypedContractMethod<[], [bigint], "view">;
|
|
637
|
+
getFunction(nameOrSignature: "uniswapV3MintCallback"): TypedContractMethod<[
|
|
638
|
+
amount0: BigNumberish,
|
|
639
|
+
amount1: BigNumberish,
|
|
640
|
+
data: BytesLike
|
|
641
|
+
], [
|
|
642
|
+
void
|
|
643
|
+
], "nonpayable">;
|
|
644
|
+
getFunction(nameOrSignature: "uniswapV3SwapCallback"): TypedContractMethod<[
|
|
645
|
+
amount0Delta: BigNumberish,
|
|
646
|
+
amount1Delta: BigNumberish,
|
|
647
|
+
data: BytesLike
|
|
648
|
+
], [
|
|
649
|
+
void
|
|
650
|
+
], "nonpayable">;
|
|
651
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[
|
|
652
|
+
shares: BigNumberish,
|
|
653
|
+
to: AddressLike
|
|
654
|
+
], [
|
|
655
|
+
[bigint, bigint] & {
|
|
656
|
+
amount0: bigint;
|
|
657
|
+
amount1: bigint;
|
|
658
|
+
}
|
|
659
|
+
], "nonpayable">;
|
|
660
|
+
getEvent(key: "Affiliate"): TypedContractEvent<AffiliateEvent.InputTuple, AffiliateEvent.OutputTuple, AffiliateEvent.OutputObject>;
|
|
661
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
662
|
+
getEvent(key: "DeployICHIVault"): TypedContractEvent<DeployICHIVaultEvent.InputTuple, DeployICHIVaultEvent.OutputTuple, DeployICHIVaultEvent.OutputObject>;
|
|
663
|
+
getEvent(key: "Deposit"): TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
664
|
+
getEvent(key: "DepositMax"): TypedContractEvent<DepositMaxEvent.InputTuple, DepositMaxEvent.OutputTuple, DepositMaxEvent.OutputObject>;
|
|
665
|
+
getEvent(key: "Hysteresis"): TypedContractEvent<HysteresisEvent.InputTuple, HysteresisEvent.OutputTuple, HysteresisEvent.OutputObject>;
|
|
666
|
+
getEvent(key: "MaxTotalSupply"): TypedContractEvent<MaxTotalSupplyEvent.InputTuple, MaxTotalSupplyEvent.OutputTuple, MaxTotalSupplyEvent.OutputObject>;
|
|
667
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
668
|
+
getEvent(key: "Rebalance"): TypedContractEvent<RebalanceEvent.InputTuple, RebalanceEvent.OutputTuple, RebalanceEvent.OutputObject>;
|
|
669
|
+
getEvent(key: "SetTwapPeriod"): TypedContractEvent<SetTwapPeriodEvent.InputTuple, SetTwapPeriodEvent.OutputTuple, SetTwapPeriodEvent.OutputObject>;
|
|
670
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
671
|
+
getEvent(key: "Withdraw"): TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
636
672
|
filters: {
|
|
637
|
-
"Affiliate(address,address)"
|
|
638
|
-
Affiliate
|
|
639
|
-
"Approval(address,address,uint256)"
|
|
640
|
-
Approval
|
|
641
|
-
"DeployICHIVault(address,address,bool,bool,address,uint256)"
|
|
642
|
-
DeployICHIVault
|
|
643
|
-
"Deposit(address,address,uint256,uint256,uint256)"
|
|
644
|
-
Deposit
|
|
645
|
-
"DepositMax(address,uint256,uint256)"
|
|
646
|
-
DepositMax
|
|
647
|
-
"Hysteresis(address,uint256)"
|
|
648
|
-
Hysteresis
|
|
649
|
-
"MaxTotalSupply(address,uint256)"
|
|
650
|
-
MaxTotalSupply
|
|
651
|
-
"OwnershipTransferred(address,address)"
|
|
652
|
-
OwnershipTransferred
|
|
653
|
-
"Rebalance(int24,uint256,uint256,uint256,uint256,uint256)"
|
|
654
|
-
Rebalance
|
|
655
|
-
"SetTwapPeriod(address,uint32)"
|
|
656
|
-
SetTwapPeriod
|
|
657
|
-
"Transfer(address,address,uint256)"
|
|
658
|
-
Transfer
|
|
659
|
-
"Withdraw(address,address,uint256,uint256,uint256)"
|
|
660
|
-
Withdraw
|
|
661
|
-
};
|
|
662
|
-
estimateGas: {
|
|
663
|
-
PRECISION(overrides?: CallOverrides): Promise<BigNumber>;
|
|
664
|
-
affiliate(overrides?: CallOverrides): Promise<BigNumber>;
|
|
665
|
-
allowToken0(overrides?: CallOverrides): Promise<BigNumber>;
|
|
666
|
-
allowToken1(overrides?: CallOverrides): Promise<BigNumber>;
|
|
667
|
-
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
668
|
-
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
669
|
-
from?: PromiseOrValue<string>;
|
|
670
|
-
}): Promise<BigNumber>;
|
|
671
|
-
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
672
|
-
baseLower(overrides?: CallOverrides): Promise<BigNumber>;
|
|
673
|
-
baseUpper(overrides?: CallOverrides): Promise<BigNumber>;
|
|
674
|
-
currentTick(overrides?: CallOverrides): Promise<BigNumber>;
|
|
675
|
-
decimals(overrides?: CallOverrides): Promise<BigNumber>;
|
|
676
|
-
decreaseAllowance(spender: PromiseOrValue<string>, subtractedValue: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
677
|
-
from?: PromiseOrValue<string>;
|
|
678
|
-
}): Promise<BigNumber>;
|
|
679
|
-
deposit(deposit0: PromiseOrValue<BigNumberish>, deposit1: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
680
|
-
from?: PromiseOrValue<string>;
|
|
681
|
-
}): Promise<BigNumber>;
|
|
682
|
-
deposit0Max(overrides?: CallOverrides): Promise<BigNumber>;
|
|
683
|
-
deposit1Max(overrides?: CallOverrides): Promise<BigNumber>;
|
|
684
|
-
fee(overrides?: CallOverrides): Promise<BigNumber>;
|
|
685
|
-
getBasePosition(overrides?: CallOverrides): Promise<BigNumber>;
|
|
686
|
-
getLimitPosition(overrides?: CallOverrides): Promise<BigNumber>;
|
|
687
|
-
getTotalAmounts(overrides?: CallOverrides): Promise<BigNumber>;
|
|
688
|
-
hysteresis(overrides?: CallOverrides): Promise<BigNumber>;
|
|
689
|
-
ichiVaultFactory(overrides?: CallOverrides): Promise<BigNumber>;
|
|
690
|
-
increaseAllowance(spender: PromiseOrValue<string>, addedValue: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
691
|
-
from?: PromiseOrValue<string>;
|
|
692
|
-
}): Promise<BigNumber>;
|
|
693
|
-
limitLower(overrides?: CallOverrides): Promise<BigNumber>;
|
|
694
|
-
limitUpper(overrides?: CallOverrides): Promise<BigNumber>;
|
|
695
|
-
maxTotalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
696
|
-
name(overrides?: CallOverrides): Promise<BigNumber>;
|
|
697
|
-
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
698
|
-
pool(overrides?: CallOverrides): Promise<BigNumber>;
|
|
699
|
-
rebalance(_baseLower: PromiseOrValue<BigNumberish>, _baseUpper: PromiseOrValue<BigNumberish>, _limitLower: PromiseOrValue<BigNumberish>, _limitUpper: PromiseOrValue<BigNumberish>, swapQuantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
700
|
-
from?: PromiseOrValue<string>;
|
|
701
|
-
}): Promise<BigNumber>;
|
|
702
|
-
renounceOwnership(overrides?: Overrides & {
|
|
703
|
-
from?: PromiseOrValue<string>;
|
|
704
|
-
}): Promise<BigNumber>;
|
|
705
|
-
setAffiliate(_affiliate: PromiseOrValue<string>, overrides?: Overrides & {
|
|
706
|
-
from?: PromiseOrValue<string>;
|
|
707
|
-
}): Promise<BigNumber>;
|
|
708
|
-
setDepositMax(_deposit0Max: PromiseOrValue<BigNumberish>, _deposit1Max: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
709
|
-
from?: PromiseOrValue<string>;
|
|
710
|
-
}): Promise<BigNumber>;
|
|
711
|
-
setHysteresis(_hysteresis: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
712
|
-
from?: PromiseOrValue<string>;
|
|
713
|
-
}): Promise<BigNumber>;
|
|
714
|
-
setMaxTotalSupply(_maxTotalSupply: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
715
|
-
from?: PromiseOrValue<string>;
|
|
716
|
-
}): Promise<BigNumber>;
|
|
717
|
-
setTwapPeriod(newTwapPeriod: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
718
|
-
from?: PromiseOrValue<string>;
|
|
719
|
-
}): Promise<BigNumber>;
|
|
720
|
-
symbol(overrides?: CallOverrides): Promise<BigNumber>;
|
|
721
|
-
tickSpacing(overrides?: CallOverrides): Promise<BigNumber>;
|
|
722
|
-
token0(overrides?: CallOverrides): Promise<BigNumber>;
|
|
723
|
-
token1(overrides?: CallOverrides): Promise<BigNumber>;
|
|
724
|
-
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
725
|
-
transfer(recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
726
|
-
from?: PromiseOrValue<string>;
|
|
727
|
-
}): Promise<BigNumber>;
|
|
728
|
-
transferFrom(sender: PromiseOrValue<string>, recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
729
|
-
from?: PromiseOrValue<string>;
|
|
730
|
-
}): Promise<BigNumber>;
|
|
731
|
-
transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
732
|
-
from?: PromiseOrValue<string>;
|
|
733
|
-
}): Promise<BigNumber>;
|
|
734
|
-
twapPeriod(overrides?: CallOverrides): Promise<BigNumber>;
|
|
735
|
-
uniswapV3MintCallback(amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
736
|
-
from?: PromiseOrValue<string>;
|
|
737
|
-
}): Promise<BigNumber>;
|
|
738
|
-
uniswapV3SwapCallback(amount0Delta: PromiseOrValue<BigNumberish>, amount1Delta: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
739
|
-
from?: PromiseOrValue<string>;
|
|
740
|
-
}): Promise<BigNumber>;
|
|
741
|
-
withdraw(shares: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
742
|
-
from?: PromiseOrValue<string>;
|
|
743
|
-
}): Promise<BigNumber>;
|
|
744
|
-
};
|
|
745
|
-
populateTransaction: {
|
|
746
|
-
PRECISION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
747
|
-
affiliate(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
748
|
-
allowToken0(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
749
|
-
allowToken1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
750
|
-
allowance(owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
751
|
-
approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
752
|
-
from?: PromiseOrValue<string>;
|
|
753
|
-
}): Promise<PopulatedTransaction>;
|
|
754
|
-
balanceOf(account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
755
|
-
baseLower(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
756
|
-
baseUpper(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
757
|
-
currentTick(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
758
|
-
decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
759
|
-
decreaseAllowance(spender: PromiseOrValue<string>, subtractedValue: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
760
|
-
from?: PromiseOrValue<string>;
|
|
761
|
-
}): Promise<PopulatedTransaction>;
|
|
762
|
-
deposit(deposit0: PromiseOrValue<BigNumberish>, deposit1: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
763
|
-
from?: PromiseOrValue<string>;
|
|
764
|
-
}): Promise<PopulatedTransaction>;
|
|
765
|
-
deposit0Max(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
766
|
-
deposit1Max(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
767
|
-
fee(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
768
|
-
getBasePosition(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
769
|
-
getLimitPosition(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
770
|
-
getTotalAmounts(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
771
|
-
hysteresis(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
772
|
-
ichiVaultFactory(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
773
|
-
increaseAllowance(spender: PromiseOrValue<string>, addedValue: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
774
|
-
from?: PromiseOrValue<string>;
|
|
775
|
-
}): Promise<PopulatedTransaction>;
|
|
776
|
-
limitLower(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
777
|
-
limitUpper(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
778
|
-
maxTotalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
779
|
-
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
780
|
-
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
781
|
-
pool(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
782
|
-
rebalance(_baseLower: PromiseOrValue<BigNumberish>, _baseUpper: PromiseOrValue<BigNumberish>, _limitLower: PromiseOrValue<BigNumberish>, _limitUpper: PromiseOrValue<BigNumberish>, swapQuantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
783
|
-
from?: PromiseOrValue<string>;
|
|
784
|
-
}): Promise<PopulatedTransaction>;
|
|
785
|
-
renounceOwnership(overrides?: Overrides & {
|
|
786
|
-
from?: PromiseOrValue<string>;
|
|
787
|
-
}): Promise<PopulatedTransaction>;
|
|
788
|
-
setAffiliate(_affiliate: PromiseOrValue<string>, overrides?: Overrides & {
|
|
789
|
-
from?: PromiseOrValue<string>;
|
|
790
|
-
}): Promise<PopulatedTransaction>;
|
|
791
|
-
setDepositMax(_deposit0Max: PromiseOrValue<BigNumberish>, _deposit1Max: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
792
|
-
from?: PromiseOrValue<string>;
|
|
793
|
-
}): Promise<PopulatedTransaction>;
|
|
794
|
-
setHysteresis(_hysteresis: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
795
|
-
from?: PromiseOrValue<string>;
|
|
796
|
-
}): Promise<PopulatedTransaction>;
|
|
797
|
-
setMaxTotalSupply(_maxTotalSupply: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
798
|
-
from?: PromiseOrValue<string>;
|
|
799
|
-
}): Promise<PopulatedTransaction>;
|
|
800
|
-
setTwapPeriod(newTwapPeriod: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
801
|
-
from?: PromiseOrValue<string>;
|
|
802
|
-
}): Promise<PopulatedTransaction>;
|
|
803
|
-
symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
804
|
-
tickSpacing(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
805
|
-
token0(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
806
|
-
token1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
807
|
-
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
808
|
-
transfer(recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
809
|
-
from?: PromiseOrValue<string>;
|
|
810
|
-
}): Promise<PopulatedTransaction>;
|
|
811
|
-
transferFrom(sender: PromiseOrValue<string>, recipient: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
812
|
-
from?: PromiseOrValue<string>;
|
|
813
|
-
}): Promise<PopulatedTransaction>;
|
|
814
|
-
transferOwnership(newOwner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
815
|
-
from?: PromiseOrValue<string>;
|
|
816
|
-
}): Promise<PopulatedTransaction>;
|
|
817
|
-
twapPeriod(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
818
|
-
uniswapV3MintCallback(amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
819
|
-
from?: PromiseOrValue<string>;
|
|
820
|
-
}): Promise<PopulatedTransaction>;
|
|
821
|
-
uniswapV3SwapCallback(amount0Delta: PromiseOrValue<BigNumberish>, amount1Delta: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
822
|
-
from?: PromiseOrValue<string>;
|
|
823
|
-
}): Promise<PopulatedTransaction>;
|
|
824
|
-
withdraw(shares: PromiseOrValue<BigNumberish>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
825
|
-
from?: PromiseOrValue<string>;
|
|
826
|
-
}): Promise<PopulatedTransaction>;
|
|
673
|
+
"Affiliate(address,address)": TypedContractEvent<AffiliateEvent.InputTuple, AffiliateEvent.OutputTuple, AffiliateEvent.OutputObject>;
|
|
674
|
+
Affiliate: TypedContractEvent<AffiliateEvent.InputTuple, AffiliateEvent.OutputTuple, AffiliateEvent.OutputObject>;
|
|
675
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
676
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
677
|
+
"DeployICHIVault(address,address,bool,bool,address,uint256)": TypedContractEvent<DeployICHIVaultEvent.InputTuple, DeployICHIVaultEvent.OutputTuple, DeployICHIVaultEvent.OutputObject>;
|
|
678
|
+
DeployICHIVault: TypedContractEvent<DeployICHIVaultEvent.InputTuple, DeployICHIVaultEvent.OutputTuple, DeployICHIVaultEvent.OutputObject>;
|
|
679
|
+
"Deposit(address,address,uint256,uint256,uint256)": TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
680
|
+
Deposit: TypedContractEvent<DepositEvent.InputTuple, DepositEvent.OutputTuple, DepositEvent.OutputObject>;
|
|
681
|
+
"DepositMax(address,uint256,uint256)": TypedContractEvent<DepositMaxEvent.InputTuple, DepositMaxEvent.OutputTuple, DepositMaxEvent.OutputObject>;
|
|
682
|
+
DepositMax: TypedContractEvent<DepositMaxEvent.InputTuple, DepositMaxEvent.OutputTuple, DepositMaxEvent.OutputObject>;
|
|
683
|
+
"Hysteresis(address,uint256)": TypedContractEvent<HysteresisEvent.InputTuple, HysteresisEvent.OutputTuple, HysteresisEvent.OutputObject>;
|
|
684
|
+
Hysteresis: TypedContractEvent<HysteresisEvent.InputTuple, HysteresisEvent.OutputTuple, HysteresisEvent.OutputObject>;
|
|
685
|
+
"MaxTotalSupply(address,uint256)": TypedContractEvent<MaxTotalSupplyEvent.InputTuple, MaxTotalSupplyEvent.OutputTuple, MaxTotalSupplyEvent.OutputObject>;
|
|
686
|
+
MaxTotalSupply: TypedContractEvent<MaxTotalSupplyEvent.InputTuple, MaxTotalSupplyEvent.OutputTuple, MaxTotalSupplyEvent.OutputObject>;
|
|
687
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
688
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
689
|
+
"Rebalance(int24,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<RebalanceEvent.InputTuple, RebalanceEvent.OutputTuple, RebalanceEvent.OutputObject>;
|
|
690
|
+
Rebalance: TypedContractEvent<RebalanceEvent.InputTuple, RebalanceEvent.OutputTuple, RebalanceEvent.OutputObject>;
|
|
691
|
+
"SetTwapPeriod(address,uint32)": TypedContractEvent<SetTwapPeriodEvent.InputTuple, SetTwapPeriodEvent.OutputTuple, SetTwapPeriodEvent.OutputObject>;
|
|
692
|
+
SetTwapPeriod: TypedContractEvent<SetTwapPeriodEvent.InputTuple, SetTwapPeriodEvent.OutputTuple, SetTwapPeriodEvent.OutputObject>;
|
|
693
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
694
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
695
|
+
"Withdraw(address,address,uint256,uint256,uint256)": TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
696
|
+
Withdraw: TypedContractEvent<WithdrawEvent.InputTuple, WithdrawEvent.OutputTuple, WithdrawEvent.OutputObject>;
|
|
827
697
|
};
|
|
828
698
|
}
|