@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,149 +1,66 @@
|
|
|
1
|
-
import type { BaseContract,
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"burn(int24,int24,uint128)": FunctionFragment;
|
|
9
|
-
"collect(address,int24,int24,uint128,uint128,address)": FunctionFragment;
|
|
10
|
-
"collect(address,int24,int24,uint128,uint128)": FunctionFragment;
|
|
11
|
-
"collectFees()": FunctionFragment;
|
|
12
|
-
"factory()": FunctionFragment;
|
|
13
|
-
"fee()": FunctionFragment;
|
|
14
|
-
"feeGrowthGlobal0X128()": FunctionFragment;
|
|
15
|
-
"feeGrowthGlobal1X128()": FunctionFragment;
|
|
16
|
-
"flash(address,uint256,uint256,bytes)": FunctionFragment;
|
|
17
|
-
"gauge()": FunctionFragment;
|
|
18
|
-
"gaugeFees()": FunctionFragment;
|
|
19
|
-
"getRewardGrowthInside(int24,int24,uint256)": FunctionFragment;
|
|
20
|
-
"increaseObservationCardinalityNext(uint16)": FunctionFragment;
|
|
21
|
-
"initialize(address,address,address,int24,uint160,address,address)": FunctionFragment;
|
|
22
|
-
"lastUpdated()": FunctionFragment;
|
|
23
|
-
"liquidity()": FunctionFragment;
|
|
24
|
-
"maxLiquidityPerTick()": FunctionFragment;
|
|
25
|
-
"mint(address,int24,int24,uint128,bytes)": FunctionFragment;
|
|
26
|
-
"nft()": FunctionFragment;
|
|
27
|
-
"observations(uint256)": FunctionFragment;
|
|
28
|
-
"observe(uint32[])": FunctionFragment;
|
|
29
|
-
"periodFinish()": FunctionFragment;
|
|
30
|
-
"positions(bytes32)": FunctionFragment;
|
|
31
|
-
"rewardGrowthGlobalX128()": FunctionFragment;
|
|
32
|
-
"rewardRate()": FunctionFragment;
|
|
33
|
-
"rewardReserve()": FunctionFragment;
|
|
34
|
-
"rollover()": FunctionFragment;
|
|
35
|
-
"slot0()": FunctionFragment;
|
|
36
|
-
"snapshotCumulativesInside(int24,int24)": FunctionFragment;
|
|
37
|
-
"stake(int128,int24,int24)": FunctionFragment;
|
|
38
|
-
"stakedLiquidity()": FunctionFragment;
|
|
39
|
-
"swap(address,bool,int256,uint160,bytes)": FunctionFragment;
|
|
40
|
-
"syncReward(uint256,uint256,uint256)": FunctionFragment;
|
|
41
|
-
"tickBitmap(int16)": FunctionFragment;
|
|
42
|
-
"tickSpacing()": FunctionFragment;
|
|
43
|
-
"ticks(int24)": FunctionFragment;
|
|
44
|
-
"token0()": FunctionFragment;
|
|
45
|
-
"token1()": FunctionFragment;
|
|
46
|
-
"tokens()": FunctionFragment;
|
|
47
|
-
"unstakedFee()": FunctionFragment;
|
|
48
|
-
"updateRewardsGrowthGlobal()": FunctionFragment;
|
|
49
|
-
};
|
|
50
|
-
getFunction(nameOrSignatureOrTopic: "burn(int24,int24,uint128,address)" | "burn(int24,int24,uint128)" | "collect(address,int24,int24,uint128,uint128,address)" | "collect(address,int24,int24,uint128,uint128)" | "collectFees" | "factory" | "fee" | "feeGrowthGlobal0X128" | "feeGrowthGlobal1X128" | "flash" | "gauge" | "gaugeFees" | "getRewardGrowthInside" | "increaseObservationCardinalityNext" | "initialize" | "lastUpdated" | "liquidity" | "maxLiquidityPerTick" | "mint" | "nft" | "observations" | "observe" | "periodFinish" | "positions" | "rewardGrowthGlobalX128" | "rewardRate" | "rewardReserve" | "rollover" | "slot0" | "snapshotCumulativesInside" | "stake" | "stakedLiquidity" | "swap" | "syncReward" | "tickBitmap" | "tickSpacing" | "ticks" | "token0" | "token1" | "tokens" | "unstakedFee" | "updateRewardsGrowthGlobal"): FunctionFragment;
|
|
51
|
-
encodeFunctionData(functionFragment: "burn(int24,int24,uint128,address)", values: [
|
|
52
|
-
PromiseOrValue<BigNumberish>,
|
|
53
|
-
PromiseOrValue<BigNumberish>,
|
|
54
|
-
PromiseOrValue<BigNumberish>,
|
|
55
|
-
PromiseOrValue<string>
|
|
56
|
-
]): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "burn(int24,int24,uint128)", values: [
|
|
58
|
-
PromiseOrValue<BigNumberish>,
|
|
59
|
-
PromiseOrValue<BigNumberish>,
|
|
60
|
-
PromiseOrValue<BigNumberish>
|
|
61
|
-
]): string;
|
|
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 ClPoolInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "burn(int24,int24,uint128,address)" | "burn(int24,int24,uint128)" | "collect(address,int24,int24,uint128,uint128,address)" | "collect(address,int24,int24,uint128,uint128)" | "collectFees" | "factory" | "fee" | "feeGrowthGlobal0X128" | "feeGrowthGlobal1X128" | "flash" | "gauge" | "gaugeFees" | "getRewardGrowthInside" | "increaseObservationCardinalityNext" | "initialize" | "lastUpdated" | "liquidity" | "maxLiquidityPerTick" | "mint" | "nft" | "observations" | "observe" | "periodFinish" | "positions" | "rewardGrowthGlobalX128" | "rewardRate" | "rewardReserve" | "rollover" | "slot0" | "snapshotCumulativesInside" | "stake" | "stakedLiquidity" | "swap" | "syncReward" | "tickBitmap" | "tickSpacing" | "ticks" | "token0" | "token1" | "tokens" | "unstakedFee" | "updateRewardsGrowthGlobal"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Burn" | "Collect" | "CollectFees" | "Flash" | "IncreaseObservationCardinalityNext" | "Initialize" | "Mint" | "SetFeeProtocol" | "Swap"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "burn(int24,int24,uint128,address)", values: [BigNumberish, BigNumberish, BigNumberish, AddressLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "burn(int24,int24,uint128)", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
62
8
|
encodeFunctionData(functionFragment: "collect(address,int24,int24,uint128,uint128,address)", values: [
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
9
|
+
AddressLike,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
BigNumberish,
|
|
12
|
+
BigNumberish,
|
|
13
|
+
BigNumberish,
|
|
14
|
+
AddressLike
|
|
69
15
|
]): string;
|
|
70
16
|
encodeFunctionData(functionFragment: "collect(address,int24,int24,uint128,uint128)", values: [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
17
|
+
AddressLike,
|
|
18
|
+
BigNumberish,
|
|
19
|
+
BigNumberish,
|
|
20
|
+
BigNumberish,
|
|
21
|
+
BigNumberish
|
|
76
22
|
]): string;
|
|
77
23
|
encodeFunctionData(functionFragment: "collectFees", values?: undefined): string;
|
|
78
24
|
encodeFunctionData(functionFragment: "factory", values?: undefined): string;
|
|
79
25
|
encodeFunctionData(functionFragment: "fee", values?: undefined): string;
|
|
80
26
|
encodeFunctionData(functionFragment: "feeGrowthGlobal0X128", values?: undefined): string;
|
|
81
27
|
encodeFunctionData(functionFragment: "feeGrowthGlobal1X128", values?: undefined): string;
|
|
82
|
-
encodeFunctionData(functionFragment: "flash", values: [
|
|
83
|
-
PromiseOrValue<string>,
|
|
84
|
-
PromiseOrValue<BigNumberish>,
|
|
85
|
-
PromiseOrValue<BigNumberish>,
|
|
86
|
-
PromiseOrValue<BytesLike>
|
|
87
|
-
]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "flash", values: [AddressLike, BigNumberish, BigNumberish, BytesLike]): string;
|
|
88
29
|
encodeFunctionData(functionFragment: "gauge", values?: undefined): string;
|
|
89
30
|
encodeFunctionData(functionFragment: "gaugeFees", values?: undefined): string;
|
|
90
|
-
encodeFunctionData(functionFragment: "getRewardGrowthInside", values: [
|
|
91
|
-
|
|
92
|
-
PromiseOrValue<BigNumberish>,
|
|
93
|
-
PromiseOrValue<BigNumberish>
|
|
94
|
-
]): string;
|
|
95
|
-
encodeFunctionData(functionFragment: "increaseObservationCardinalityNext", values: [PromiseOrValue<BigNumberish>]): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "getRewardGrowthInside", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "increaseObservationCardinalityNext", values: [BigNumberish]): string;
|
|
96
33
|
encodeFunctionData(functionFragment: "initialize", values: [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
34
|
+
AddressLike,
|
|
35
|
+
AddressLike,
|
|
36
|
+
AddressLike,
|
|
37
|
+
BigNumberish,
|
|
38
|
+
BigNumberish,
|
|
39
|
+
AddressLike,
|
|
40
|
+
AddressLike
|
|
104
41
|
]): string;
|
|
105
42
|
encodeFunctionData(functionFragment: "lastUpdated", values?: undefined): string;
|
|
106
43
|
encodeFunctionData(functionFragment: "liquidity", values?: undefined): string;
|
|
107
44
|
encodeFunctionData(functionFragment: "maxLiquidityPerTick", values?: undefined): string;
|
|
108
|
-
encodeFunctionData(functionFragment: "mint", values: [
|
|
109
|
-
PromiseOrValue<string>,
|
|
110
|
-
PromiseOrValue<BigNumberish>,
|
|
111
|
-
PromiseOrValue<BigNumberish>,
|
|
112
|
-
PromiseOrValue<BigNumberish>,
|
|
113
|
-
PromiseOrValue<BytesLike>
|
|
114
|
-
]): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish, BytesLike]): string;
|
|
115
46
|
encodeFunctionData(functionFragment: "nft", values?: undefined): string;
|
|
116
|
-
encodeFunctionData(functionFragment: "observations", values: [
|
|
117
|
-
encodeFunctionData(functionFragment: "observe", values: [
|
|
47
|
+
encodeFunctionData(functionFragment: "observations", values: [BigNumberish]): string;
|
|
48
|
+
encodeFunctionData(functionFragment: "observe", values: [BigNumberish[]]): string;
|
|
118
49
|
encodeFunctionData(functionFragment: "periodFinish", values?: undefined): string;
|
|
119
|
-
encodeFunctionData(functionFragment: "positions", values: [
|
|
50
|
+
encodeFunctionData(functionFragment: "positions", values: [BytesLike]): string;
|
|
120
51
|
encodeFunctionData(functionFragment: "rewardGrowthGlobalX128", values?: undefined): string;
|
|
121
52
|
encodeFunctionData(functionFragment: "rewardRate", values?: undefined): string;
|
|
122
53
|
encodeFunctionData(functionFragment: "rewardReserve", values?: undefined): string;
|
|
123
54
|
encodeFunctionData(functionFragment: "rollover", values?: undefined): string;
|
|
124
55
|
encodeFunctionData(functionFragment: "slot0", values?: undefined): string;
|
|
125
|
-
encodeFunctionData(functionFragment: "snapshotCumulativesInside", values: [
|
|
126
|
-
encodeFunctionData(functionFragment: "stake", values: [
|
|
127
|
-
PromiseOrValue<BigNumberish>,
|
|
128
|
-
PromiseOrValue<BigNumberish>,
|
|
129
|
-
PromiseOrValue<BigNumberish>
|
|
130
|
-
]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "snapshotCumulativesInside", values: [BigNumberish, BigNumberish]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "stake", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
131
58
|
encodeFunctionData(functionFragment: "stakedLiquidity", values?: undefined): string;
|
|
132
|
-
encodeFunctionData(functionFragment: "swap", values: [
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
PromiseOrValue<BigNumberish>,
|
|
136
|
-
PromiseOrValue<BigNumberish>,
|
|
137
|
-
PromiseOrValue<BytesLike>
|
|
138
|
-
]): string;
|
|
139
|
-
encodeFunctionData(functionFragment: "syncReward", values: [
|
|
140
|
-
PromiseOrValue<BigNumberish>,
|
|
141
|
-
PromiseOrValue<BigNumberish>,
|
|
142
|
-
PromiseOrValue<BigNumberish>
|
|
143
|
-
]): string;
|
|
144
|
-
encodeFunctionData(functionFragment: "tickBitmap", values: [PromiseOrValue<BigNumberish>]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "swap", values: [AddressLike, boolean, BigNumberish, BigNumberish, BytesLike]): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "syncReward", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "tickBitmap", values: [BigNumberish]): string;
|
|
145
62
|
encodeFunctionData(functionFragment: "tickSpacing", values?: undefined): string;
|
|
146
|
-
encodeFunctionData(functionFragment: "ticks", values: [
|
|
63
|
+
encodeFunctionData(functionFragment: "ticks", values: [BigNumberish]): string;
|
|
147
64
|
encodeFunctionData(functionFragment: "token0", values?: undefined): string;
|
|
148
65
|
encodeFunctionData(functionFragment: "token1", values?: undefined): string;
|
|
149
66
|
encodeFunctionData(functionFragment: "tokens", values?: undefined): string;
|
|
@@ -191,796 +108,797 @@ export interface ClPoolInterface extends utils.Interface {
|
|
|
191
108
|
decodeFunctionResult(functionFragment: "tokens", data: BytesLike): Result;
|
|
192
109
|
decodeFunctionResult(functionFragment: "unstakedFee", data: BytesLike): Result;
|
|
193
110
|
decodeFunctionResult(functionFragment: "updateRewardsGrowthGlobal", data: BytesLike): Result;
|
|
194
|
-
events: {
|
|
195
|
-
"Burn(address,int24,int24,uint128,uint256,uint256)": EventFragment;
|
|
196
|
-
"Collect(address,address,int24,int24,uint128,uint128)": EventFragment;
|
|
197
|
-
"CollectFees(address,uint128,uint128)": EventFragment;
|
|
198
|
-
"Flash(address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
199
|
-
"IncreaseObservationCardinalityNext(uint16,uint16)": EventFragment;
|
|
200
|
-
"Initialize(uint160,int24)": EventFragment;
|
|
201
|
-
"Mint(address,address,int24,int24,uint128,uint256,uint256)": EventFragment;
|
|
202
|
-
"SetFeeProtocol(uint8,uint8,uint8,uint8)": EventFragment;
|
|
203
|
-
"Swap(address,address,int256,int256,uint160,uint128,int24)": EventFragment;
|
|
204
|
-
};
|
|
205
|
-
getEvent(nameOrSignatureOrTopic: "Burn"): EventFragment;
|
|
206
|
-
getEvent(nameOrSignatureOrTopic: "Collect"): EventFragment;
|
|
207
|
-
getEvent(nameOrSignatureOrTopic: "CollectFees"): EventFragment;
|
|
208
|
-
getEvent(nameOrSignatureOrTopic: "Flash"): EventFragment;
|
|
209
|
-
getEvent(nameOrSignatureOrTopic: "IncreaseObservationCardinalityNext"): EventFragment;
|
|
210
|
-
getEvent(nameOrSignatureOrTopic: "Initialize"): EventFragment;
|
|
211
|
-
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
212
|
-
getEvent(nameOrSignatureOrTopic: "SetFeeProtocol"): EventFragment;
|
|
213
|
-
getEvent(nameOrSignatureOrTopic: "Swap"): EventFragment;
|
|
214
111
|
}
|
|
215
|
-
export
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
112
|
+
export declare namespace BurnEvent {
|
|
113
|
+
type InputTuple = [
|
|
114
|
+
owner: AddressLike,
|
|
115
|
+
tickLower: BigNumberish,
|
|
116
|
+
tickUpper: BigNumberish,
|
|
117
|
+
amount: BigNumberish,
|
|
118
|
+
amount0: BigNumberish,
|
|
119
|
+
amount1: BigNumberish
|
|
120
|
+
];
|
|
121
|
+
type OutputTuple = [
|
|
122
|
+
owner: string,
|
|
123
|
+
tickLower: bigint,
|
|
124
|
+
tickUpper: bigint,
|
|
125
|
+
amount: bigint,
|
|
126
|
+
amount0: bigint,
|
|
127
|
+
amount1: bigint
|
|
128
|
+
];
|
|
129
|
+
interface OutputObject {
|
|
130
|
+
owner: string;
|
|
131
|
+
tickLower: bigint;
|
|
132
|
+
tickUpper: bigint;
|
|
133
|
+
amount: bigint;
|
|
134
|
+
amount0: bigint;
|
|
135
|
+
amount1: bigint;
|
|
136
|
+
}
|
|
137
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
138
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
139
|
+
type Log = TypedEventLog<Event>;
|
|
140
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
222
141
|
}
|
|
223
|
-
export
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
142
|
+
export declare namespace CollectEvent {
|
|
143
|
+
type InputTuple = [
|
|
144
|
+
owner: AddressLike,
|
|
145
|
+
recipient: AddressLike,
|
|
146
|
+
tickLower: BigNumberish,
|
|
147
|
+
tickUpper: BigNumberish,
|
|
148
|
+
amount0: BigNumberish,
|
|
149
|
+
amount1: BigNumberish
|
|
150
|
+
];
|
|
151
|
+
type OutputTuple = [
|
|
152
|
+
owner: string,
|
|
153
|
+
recipient: string,
|
|
154
|
+
tickLower: bigint,
|
|
155
|
+
tickUpper: bigint,
|
|
156
|
+
amount0: bigint,
|
|
157
|
+
amount1: bigint
|
|
158
|
+
];
|
|
159
|
+
interface OutputObject {
|
|
160
|
+
owner: string;
|
|
161
|
+
recipient: string;
|
|
162
|
+
tickLower: bigint;
|
|
163
|
+
tickUpper: bigint;
|
|
164
|
+
amount0: bigint;
|
|
165
|
+
amount1: bigint;
|
|
166
|
+
}
|
|
167
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
168
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
169
|
+
type Log = TypedEventLog<Event>;
|
|
170
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
239
171
|
}
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
172
|
+
export declare namespace CollectFeesEvent {
|
|
173
|
+
type InputTuple = [
|
|
174
|
+
recipient: AddressLike,
|
|
175
|
+
amount0: BigNumberish,
|
|
176
|
+
amount1: BigNumberish
|
|
177
|
+
];
|
|
178
|
+
type OutputTuple = [
|
|
179
|
+
recipient: string,
|
|
180
|
+
amount0: bigint,
|
|
181
|
+
amount1: bigint
|
|
182
|
+
];
|
|
183
|
+
interface OutputObject {
|
|
184
|
+
recipient: string;
|
|
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>;
|
|
253
192
|
}
|
|
254
|
-
export
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
193
|
+
export declare namespace FlashEvent {
|
|
194
|
+
type InputTuple = [
|
|
195
|
+
sender: AddressLike,
|
|
196
|
+
recipient: AddressLike,
|
|
197
|
+
amount0: BigNumberish,
|
|
198
|
+
amount1: BigNumberish,
|
|
199
|
+
paid0: BigNumberish,
|
|
200
|
+
paid1: BigNumberish
|
|
201
|
+
];
|
|
202
|
+
type OutputTuple = [
|
|
203
|
+
sender: string,
|
|
204
|
+
recipient: string,
|
|
205
|
+
amount0: bigint,
|
|
206
|
+
amount1: bigint,
|
|
207
|
+
paid0: bigint,
|
|
208
|
+
paid1: bigint
|
|
209
|
+
];
|
|
210
|
+
interface OutputObject {
|
|
211
|
+
sender: string;
|
|
212
|
+
recipient: string;
|
|
213
|
+
amount0: bigint;
|
|
214
|
+
amount1: bigint;
|
|
215
|
+
paid0: bigint;
|
|
216
|
+
paid1: bigint;
|
|
217
|
+
}
|
|
218
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
219
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
220
|
+
type Log = TypedEventLog<Event>;
|
|
221
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
267
222
|
}
|
|
268
|
-
export
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
223
|
+
export declare namespace IncreaseObservationCardinalityNextEvent {
|
|
224
|
+
type InputTuple = [
|
|
225
|
+
observationCardinalityNextOld: BigNumberish,
|
|
226
|
+
observationCardinalityNextNew: BigNumberish
|
|
227
|
+
];
|
|
228
|
+
type OutputTuple = [
|
|
229
|
+
observationCardinalityNextOld: bigint,
|
|
230
|
+
observationCardinalityNextNew: bigint
|
|
231
|
+
];
|
|
232
|
+
interface OutputObject {
|
|
233
|
+
observationCardinalityNextOld: bigint;
|
|
234
|
+
observationCardinalityNextNew: bigint;
|
|
235
|
+
}
|
|
236
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
237
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
238
|
+
type Log = TypedEventLog<Event>;
|
|
239
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
280
240
|
}
|
|
281
|
-
export
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
241
|
+
export declare namespace InitializeEvent {
|
|
242
|
+
type InputTuple = [sqrtPriceX96: BigNumberish, tick: BigNumberish];
|
|
243
|
+
type OutputTuple = [sqrtPriceX96: bigint, tick: bigint];
|
|
244
|
+
interface OutputObject {
|
|
245
|
+
sqrtPriceX96: bigint;
|
|
246
|
+
tick: bigint;
|
|
247
|
+
}
|
|
248
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
249
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
250
|
+
type Log = TypedEventLog<Event>;
|
|
251
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
289
252
|
}
|
|
290
|
-
export
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
253
|
+
export declare namespace MintEvent {
|
|
254
|
+
type InputTuple = [
|
|
255
|
+
sender: AddressLike,
|
|
256
|
+
owner: AddressLike,
|
|
257
|
+
tickLower: BigNumberish,
|
|
258
|
+
tickUpper: BigNumberish,
|
|
259
|
+
amount: BigNumberish,
|
|
260
|
+
amount0: BigNumberish,
|
|
261
|
+
amount1: BigNumberish
|
|
262
|
+
];
|
|
263
|
+
type OutputTuple = [
|
|
264
|
+
sender: string,
|
|
265
|
+
owner: string,
|
|
266
|
+
tickLower: bigint,
|
|
267
|
+
tickUpper: bigint,
|
|
268
|
+
amount: bigint,
|
|
269
|
+
amount0: bigint,
|
|
270
|
+
amount1: bigint
|
|
271
|
+
];
|
|
272
|
+
interface OutputObject {
|
|
273
|
+
sender: string;
|
|
274
|
+
owner: string;
|
|
275
|
+
tickLower: bigint;
|
|
276
|
+
tickUpper: bigint;
|
|
277
|
+
amount: bigint;
|
|
278
|
+
amount0: bigint;
|
|
279
|
+
amount1: bigint;
|
|
280
|
+
}
|
|
281
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
282
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
283
|
+
type Log = TypedEventLog<Event>;
|
|
284
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
303
285
|
}
|
|
304
|
-
export
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
286
|
+
export declare namespace SetFeeProtocolEvent {
|
|
287
|
+
type InputTuple = [
|
|
288
|
+
feeProtocol0Old: BigNumberish,
|
|
289
|
+
feeProtocol1Old: BigNumberish,
|
|
290
|
+
feeProtocol0New: BigNumberish,
|
|
291
|
+
feeProtocol1New: BigNumberish
|
|
292
|
+
];
|
|
293
|
+
type OutputTuple = [
|
|
294
|
+
feeProtocol0Old: bigint,
|
|
295
|
+
feeProtocol1Old: bigint,
|
|
296
|
+
feeProtocol0New: bigint,
|
|
297
|
+
feeProtocol1New: bigint
|
|
298
|
+
];
|
|
299
|
+
interface OutputObject {
|
|
300
|
+
feeProtocol0Old: bigint;
|
|
301
|
+
feeProtocol1Old: bigint;
|
|
302
|
+
feeProtocol0New: bigint;
|
|
303
|
+
feeProtocol1New: bigint;
|
|
304
|
+
}
|
|
305
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
306
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
307
|
+
type Log = TypedEventLog<Event>;
|
|
308
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
319
309
|
}
|
|
320
|
-
export
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
310
|
+
export declare namespace SwapEvent {
|
|
311
|
+
type InputTuple = [
|
|
312
|
+
sender: AddressLike,
|
|
313
|
+
recipient: AddressLike,
|
|
314
|
+
amount0: BigNumberish,
|
|
315
|
+
amount1: BigNumberish,
|
|
316
|
+
sqrtPriceX96: BigNumberish,
|
|
317
|
+
liquidity: BigNumberish,
|
|
318
|
+
tick: BigNumberish
|
|
319
|
+
];
|
|
320
|
+
type OutputTuple = [
|
|
321
|
+
sender: string,
|
|
322
|
+
recipient: string,
|
|
323
|
+
amount0: bigint,
|
|
324
|
+
amount1: bigint,
|
|
325
|
+
sqrtPriceX96: bigint,
|
|
326
|
+
liquidity: bigint,
|
|
327
|
+
tick: bigint
|
|
328
|
+
];
|
|
329
|
+
interface OutputObject {
|
|
330
|
+
sender: string;
|
|
331
|
+
recipient: string;
|
|
332
|
+
amount0: bigint;
|
|
333
|
+
amount1: bigint;
|
|
334
|
+
sqrtPriceX96: bigint;
|
|
335
|
+
liquidity: bigint;
|
|
336
|
+
tick: bigint;
|
|
337
|
+
}
|
|
338
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
339
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
340
|
+
type Log = TypedEventLog<Event>;
|
|
341
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
335
342
|
}
|
|
336
|
-
export type SwapEvent = TypedEvent<[
|
|
337
|
-
string,
|
|
338
|
-
string,
|
|
339
|
-
BigNumber,
|
|
340
|
-
BigNumber,
|
|
341
|
-
BigNumber,
|
|
342
|
-
BigNumber,
|
|
343
|
-
number
|
|
344
|
-
], SwapEventObject>;
|
|
345
|
-
export type SwapEventFilter = TypedEventFilter<SwapEvent>;
|
|
346
343
|
export interface ClPool extends BaseContract {
|
|
347
|
-
connect(
|
|
348
|
-
|
|
349
|
-
deployed(): Promise<this>;
|
|
344
|
+
connect(runner?: ContractRunner | null): ClPool;
|
|
345
|
+
waitForDeployment(): Promise<this>;
|
|
350
346
|
interface: ClPoolInterface;
|
|
351
|
-
queryFilter<
|
|
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
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
347
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
348
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
349
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
350
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
351
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
352
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
353
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
354
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
355
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
356
|
+
"burn(int24,int24,uint128,address)": TypedContractMethod<[
|
|
357
|
+
tickLower: BigNumberish,
|
|
358
|
+
tickUpper: BigNumberish,
|
|
359
|
+
amount: BigNumberish,
|
|
360
|
+
owner: AddressLike
|
|
361
|
+
], [
|
|
362
|
+
[bigint, bigint] & {
|
|
363
|
+
amount0: bigint;
|
|
364
|
+
amount1: bigint;
|
|
365
|
+
}
|
|
366
|
+
], "nonpayable">;
|
|
367
|
+
"burn(int24,int24,uint128)": TypedContractMethod<[
|
|
368
|
+
tickLower: BigNumberish,
|
|
369
|
+
tickUpper: BigNumberish,
|
|
370
|
+
amount: BigNumberish
|
|
371
|
+
], [
|
|
372
|
+
[bigint, bigint] & {
|
|
373
|
+
amount0: bigint;
|
|
374
|
+
amount1: bigint;
|
|
375
|
+
}
|
|
376
|
+
], "nonpayable">;
|
|
377
|
+
"collect(address,int24,int24,uint128,uint128,address)": TypedContractMethod<[
|
|
378
|
+
recipient: AddressLike,
|
|
379
|
+
tickLower: BigNumberish,
|
|
380
|
+
tickUpper: BigNumberish,
|
|
381
|
+
amount0Requested: BigNumberish,
|
|
382
|
+
amount1Requested: BigNumberish,
|
|
383
|
+
owner: AddressLike
|
|
384
|
+
], [
|
|
385
|
+
[bigint, bigint] & {
|
|
386
|
+
amount0: bigint;
|
|
387
|
+
amount1: bigint;
|
|
388
|
+
}
|
|
389
|
+
], "nonpayable">;
|
|
390
|
+
"collect(address,int24,int24,uint128,uint128)": TypedContractMethod<[
|
|
391
|
+
recipient: AddressLike,
|
|
392
|
+
tickLower: BigNumberish,
|
|
393
|
+
tickUpper: BigNumberish,
|
|
394
|
+
amount0Requested: BigNumberish,
|
|
395
|
+
amount1Requested: BigNumberish
|
|
396
|
+
], [
|
|
397
|
+
[bigint, bigint] & {
|
|
398
|
+
amount0: bigint;
|
|
399
|
+
amount1: bigint;
|
|
400
|
+
}
|
|
401
|
+
], "nonpayable">;
|
|
402
|
+
collectFees: TypedContractMethod<[
|
|
403
|
+
], [
|
|
404
|
+
[bigint, bigint] & {
|
|
405
|
+
amount0: bigint;
|
|
406
|
+
amount1: bigint;
|
|
407
|
+
}
|
|
408
|
+
], "nonpayable">;
|
|
409
|
+
factory: TypedContractMethod<[], [string], "view">;
|
|
410
|
+
fee: TypedContractMethod<[], [bigint], "view">;
|
|
411
|
+
feeGrowthGlobal0X128: TypedContractMethod<[], [bigint], "view">;
|
|
412
|
+
feeGrowthGlobal1X128: TypedContractMethod<[], [bigint], "view">;
|
|
413
|
+
flash: TypedContractMethod<[
|
|
414
|
+
recipient: AddressLike,
|
|
415
|
+
amount0: BigNumberish,
|
|
416
|
+
amount1: BigNumberish,
|
|
417
|
+
data: BytesLike
|
|
418
|
+
], [
|
|
419
|
+
void
|
|
420
|
+
], "nonpayable">;
|
|
421
|
+
gauge: TypedContractMethod<[], [string], "view">;
|
|
422
|
+
gaugeFees: TypedContractMethod<[
|
|
423
|
+
], [
|
|
424
|
+
[bigint, bigint] & {
|
|
425
|
+
token0: bigint;
|
|
426
|
+
token1: bigint;
|
|
427
|
+
}
|
|
428
|
+
], "view">;
|
|
429
|
+
getRewardGrowthInside: TypedContractMethod<[
|
|
430
|
+
tickLower: BigNumberish,
|
|
431
|
+
tickUpper: BigNumberish,
|
|
432
|
+
_rewardGrowthGlobalX128: BigNumberish
|
|
433
|
+
], [
|
|
434
|
+
bigint
|
|
435
|
+
], "view">;
|
|
436
|
+
increaseObservationCardinalityNext: TypedContractMethod<[
|
|
437
|
+
observationCardinalityNext: BigNumberish
|
|
438
|
+
], [
|
|
439
|
+
void
|
|
440
|
+
], "nonpayable">;
|
|
441
|
+
initialize: TypedContractMethod<[
|
|
442
|
+
_factory: AddressLike,
|
|
443
|
+
_token0: AddressLike,
|
|
444
|
+
_token1: AddressLike,
|
|
445
|
+
_tickSpacing: BigNumberish,
|
|
446
|
+
_sqrtPriceX96: BigNumberish,
|
|
447
|
+
_gauge: AddressLike,
|
|
448
|
+
_nft: AddressLike
|
|
449
|
+
], [
|
|
450
|
+
void
|
|
451
|
+
], "nonpayable">;
|
|
452
|
+
lastUpdated: TypedContractMethod<[], [bigint], "view">;
|
|
453
|
+
liquidity: TypedContractMethod<[], [bigint], "view">;
|
|
454
|
+
maxLiquidityPerTick: TypedContractMethod<[], [bigint], "view">;
|
|
455
|
+
mint: TypedContractMethod<[
|
|
456
|
+
recipient: AddressLike,
|
|
457
|
+
tickLower: BigNumberish,
|
|
458
|
+
tickUpper: BigNumberish,
|
|
459
|
+
amount: BigNumberish,
|
|
460
|
+
data: BytesLike
|
|
461
|
+
], [
|
|
462
|
+
[bigint, bigint] & {
|
|
463
|
+
amount0: bigint;
|
|
464
|
+
amount1: bigint;
|
|
465
|
+
}
|
|
466
|
+
], "nonpayable">;
|
|
467
|
+
nft: TypedContractMethod<[], [string], "view">;
|
|
468
|
+
observations: TypedContractMethod<[
|
|
469
|
+
arg0: BigNumberish
|
|
470
|
+
], [
|
|
471
|
+
[
|
|
472
|
+
bigint,
|
|
473
|
+
bigint,
|
|
474
|
+
bigint,
|
|
411
475
|
boolean
|
|
412
476
|
] & {
|
|
413
|
-
blockTimestamp:
|
|
414
|
-
tickCumulative:
|
|
415
|
-
secondsPerLiquidityCumulativeX128:
|
|
477
|
+
blockTimestamp: bigint;
|
|
478
|
+
tickCumulative: bigint;
|
|
479
|
+
secondsPerLiquidityCumulativeX128: bigint;
|
|
416
480
|
initialized: boolean;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
481
|
+
}
|
|
482
|
+
], "view">;
|
|
483
|
+
observe: TypedContractMethod<[
|
|
484
|
+
secondsAgos: BigNumberish[]
|
|
485
|
+
], [
|
|
486
|
+
[
|
|
487
|
+
bigint[],
|
|
488
|
+
bigint[]
|
|
421
489
|
] & {
|
|
422
|
-
tickCumulatives:
|
|
423
|
-
secondsPerLiquidityCumulativeX128s:
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
490
|
+
tickCumulatives: bigint[];
|
|
491
|
+
secondsPerLiquidityCumulativeX128s: bigint[];
|
|
492
|
+
}
|
|
493
|
+
], "view">;
|
|
494
|
+
periodFinish: TypedContractMethod<[], [bigint], "view">;
|
|
495
|
+
positions: TypedContractMethod<[
|
|
496
|
+
arg0: BytesLike
|
|
497
|
+
], [
|
|
498
|
+
[
|
|
499
|
+
bigint,
|
|
500
|
+
bigint,
|
|
501
|
+
bigint,
|
|
502
|
+
bigint,
|
|
503
|
+
bigint
|
|
432
504
|
] & {
|
|
433
|
-
liquidity:
|
|
434
|
-
feeGrowthInside0LastX128:
|
|
435
|
-
feeGrowthInside1LastX128:
|
|
436
|
-
tokensOwed0:
|
|
437
|
-
tokensOwed1:
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
505
|
+
liquidity: bigint;
|
|
506
|
+
feeGrowthInside0LastX128: bigint;
|
|
507
|
+
feeGrowthInside1LastX128: bigint;
|
|
508
|
+
tokensOwed0: bigint;
|
|
509
|
+
tokensOwed1: bigint;
|
|
510
|
+
}
|
|
511
|
+
], "view">;
|
|
512
|
+
rewardGrowthGlobalX128: TypedContractMethod<[], [bigint], "view">;
|
|
513
|
+
rewardRate: TypedContractMethod<[], [bigint], "view">;
|
|
514
|
+
rewardReserve: TypedContractMethod<[], [bigint], "view">;
|
|
515
|
+
rollover: TypedContractMethod<[], [bigint], "view">;
|
|
516
|
+
slot0: TypedContractMethod<[
|
|
517
|
+
], [
|
|
518
|
+
[
|
|
519
|
+
bigint,
|
|
520
|
+
bigint,
|
|
521
|
+
bigint,
|
|
522
|
+
bigint,
|
|
523
|
+
bigint,
|
|
449
524
|
boolean
|
|
450
525
|
] & {
|
|
451
|
-
sqrtPriceX96:
|
|
452
|
-
tick:
|
|
453
|
-
observationIndex:
|
|
454
|
-
observationCardinality:
|
|
455
|
-
observationCardinalityNext:
|
|
526
|
+
sqrtPriceX96: bigint;
|
|
527
|
+
tick: bigint;
|
|
528
|
+
observationIndex: bigint;
|
|
529
|
+
observationCardinality: bigint;
|
|
530
|
+
observationCardinalityNext: bigint;
|
|
456
531
|
unlocked: boolean;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
532
|
+
}
|
|
533
|
+
], "view">;
|
|
534
|
+
snapshotCumulativesInside: TypedContractMethod<[
|
|
535
|
+
tickLower: BigNumberish,
|
|
536
|
+
tickUpper: BigNumberish
|
|
537
|
+
], [
|
|
538
|
+
[
|
|
539
|
+
bigint,
|
|
540
|
+
bigint,
|
|
541
|
+
bigint
|
|
462
542
|
] & {
|
|
463
|
-
tickCumulativeInside:
|
|
464
|
-
secondsPerLiquidityInsideX128:
|
|
465
|
-
secondsInside:
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
543
|
+
tickCumulativeInside: bigint;
|
|
544
|
+
secondsPerLiquidityInsideX128: bigint;
|
|
545
|
+
secondsInside: bigint;
|
|
546
|
+
}
|
|
547
|
+
], "view">;
|
|
548
|
+
stake: TypedContractMethod<[
|
|
549
|
+
stakedLiquidityDelta: BigNumberish,
|
|
550
|
+
tickLower: BigNumberish,
|
|
551
|
+
tickUpper: BigNumberish
|
|
552
|
+
], [
|
|
553
|
+
void
|
|
554
|
+
], "nonpayable">;
|
|
555
|
+
stakedLiquidity: TypedContractMethod<[], [bigint], "view">;
|
|
556
|
+
swap: TypedContractMethod<[
|
|
557
|
+
recipient: AddressLike,
|
|
558
|
+
zeroForOne: boolean,
|
|
559
|
+
amountSpecified: BigNumberish,
|
|
560
|
+
sqrtPriceLimitX96: BigNumberish,
|
|
561
|
+
data: BytesLike
|
|
562
|
+
], [
|
|
563
|
+
[bigint, bigint] & {
|
|
564
|
+
amount0: bigint;
|
|
565
|
+
amount1: bigint;
|
|
566
|
+
}
|
|
567
|
+
], "nonpayable">;
|
|
568
|
+
syncReward: TypedContractMethod<[
|
|
569
|
+
_rewardRate: BigNumberish,
|
|
570
|
+
_rewardReserve: BigNumberish,
|
|
571
|
+
_periodFinish: BigNumberish
|
|
572
|
+
], [
|
|
573
|
+
void
|
|
574
|
+
], "nonpayable">;
|
|
575
|
+
tickBitmap: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
576
|
+
tickSpacing: TypedContractMethod<[], [bigint], "view">;
|
|
577
|
+
ticks: TypedContractMethod<[
|
|
578
|
+
arg0: BigNumberish
|
|
579
|
+
], [
|
|
580
|
+
[
|
|
581
|
+
bigint,
|
|
582
|
+
bigint,
|
|
583
|
+
bigint,
|
|
584
|
+
bigint,
|
|
585
|
+
bigint,
|
|
586
|
+
bigint,
|
|
587
|
+
bigint,
|
|
588
|
+
bigint,
|
|
589
|
+
bigint,
|
|
489
590
|
boolean
|
|
490
591
|
] & {
|
|
491
|
-
liquidityGross:
|
|
492
|
-
liquidityNet:
|
|
493
|
-
stakedLiquidityNet:
|
|
494
|
-
feeGrowthOutside0X128:
|
|
495
|
-
feeGrowthOutside1X128:
|
|
496
|
-
rewardGrowthOutsideX128:
|
|
497
|
-
tickCumulativeOutside:
|
|
498
|
-
secondsPerLiquidityOutsideX128:
|
|
499
|
-
secondsOutside:
|
|
592
|
+
liquidityGross: bigint;
|
|
593
|
+
liquidityNet: bigint;
|
|
594
|
+
stakedLiquidityNet: bigint;
|
|
595
|
+
feeGrowthOutside0X128: bigint;
|
|
596
|
+
feeGrowthOutside1X128: bigint;
|
|
597
|
+
rewardGrowthOutsideX128: bigint;
|
|
598
|
+
tickCumulativeOutside: bigint;
|
|
599
|
+
secondsPerLiquidityOutsideX128: bigint;
|
|
600
|
+
secondsOutside: bigint;
|
|
500
601
|
initialized: boolean;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
602
|
+
}
|
|
603
|
+
], "view">;
|
|
604
|
+
token0: TypedContractMethod<[], [string], "view">;
|
|
605
|
+
token1: TypedContractMethod<[], [string], "view">;
|
|
606
|
+
tokens: TypedContractMethod<[
|
|
607
|
+
], [
|
|
608
|
+
[string, string] & {
|
|
505
609
|
token0_: string;
|
|
506
610
|
token1_: string;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
]
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
]
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
]
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
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
|
-
BigNumber,
|
|
632
|
-
BigNumber,
|
|
633
|
-
BigNumber,
|
|
634
|
-
BigNumber,
|
|
635
|
-
number,
|
|
636
|
-
boolean
|
|
637
|
-
] & {
|
|
638
|
-
liquidityGross: BigNumber;
|
|
639
|
-
liquidityNet: BigNumber;
|
|
640
|
-
stakedLiquidityNet: BigNumber;
|
|
641
|
-
feeGrowthOutside0X128: BigNumber;
|
|
642
|
-
feeGrowthOutside1X128: BigNumber;
|
|
643
|
-
rewardGrowthOutsideX128: BigNumber;
|
|
644
|
-
tickCumulativeOutside: BigNumber;
|
|
645
|
-
secondsPerLiquidityOutsideX128: BigNumber;
|
|
646
|
-
secondsOutside: number;
|
|
647
|
-
initialized: boolean;
|
|
648
|
-
}>;
|
|
649
|
-
token0(overrides?: CallOverrides): Promise<string>;
|
|
650
|
-
token1(overrides?: CallOverrides): Promise<string>;
|
|
651
|
-
tokens(overrides?: CallOverrides): Promise<[string, string] & {
|
|
652
|
-
token0_: string;
|
|
653
|
-
token1_: string;
|
|
654
|
-
}>;
|
|
655
|
-
unstakedFee(overrides?: CallOverrides): Promise<number>;
|
|
656
|
-
updateRewardsGrowthGlobal(overrides?: Overrides & {
|
|
657
|
-
from?: PromiseOrValue<string>;
|
|
658
|
-
}): Promise<ContractTransaction>;
|
|
659
|
-
callStatic: {
|
|
660
|
-
"burn(int24,int24,uint128,address)"(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
661
|
-
BigNumber,
|
|
662
|
-
BigNumber
|
|
663
|
-
] & {
|
|
664
|
-
amount0: BigNumber;
|
|
665
|
-
amount1: BigNumber;
|
|
666
|
-
}>;
|
|
667
|
-
"burn(int24,int24,uint128)"(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
|
|
668
|
-
BigNumber,
|
|
669
|
-
BigNumber
|
|
670
|
-
] & {
|
|
671
|
-
amount0: BigNumber;
|
|
672
|
-
amount1: BigNumber;
|
|
673
|
-
}>;
|
|
674
|
-
"collect(address,int24,int24,uint128,uint128,address)"(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
675
|
-
BigNumber,
|
|
676
|
-
BigNumber
|
|
677
|
-
] & {
|
|
678
|
-
amount0: BigNumber;
|
|
679
|
-
amount1: BigNumber;
|
|
680
|
-
}>;
|
|
681
|
-
"collect(address,int24,int24,uint128,uint128)"(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
|
|
682
|
-
BigNumber,
|
|
683
|
-
BigNumber
|
|
684
|
-
] & {
|
|
685
|
-
amount0: BigNumber;
|
|
686
|
-
amount1: BigNumber;
|
|
687
|
-
}>;
|
|
688
|
-
collectFees(overrides?: CallOverrides): Promise<[
|
|
689
|
-
BigNumber,
|
|
690
|
-
BigNumber
|
|
691
|
-
] & {
|
|
692
|
-
amount0: BigNumber;
|
|
693
|
-
amount1: BigNumber;
|
|
694
|
-
}>;
|
|
695
|
-
factory(overrides?: CallOverrides): Promise<string>;
|
|
696
|
-
fee(overrides?: CallOverrides): Promise<number>;
|
|
697
|
-
feeGrowthGlobal0X128(overrides?: CallOverrides): Promise<BigNumber>;
|
|
698
|
-
feeGrowthGlobal1X128(overrides?: CallOverrides): Promise<BigNumber>;
|
|
699
|
-
flash(recipient: PromiseOrValue<string>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
|
|
700
|
-
gauge(overrides?: CallOverrides): Promise<string>;
|
|
701
|
-
gaugeFees(overrides?: CallOverrides): Promise<[
|
|
702
|
-
BigNumber,
|
|
703
|
-
BigNumber
|
|
704
|
-
] & {
|
|
705
|
-
token0: BigNumber;
|
|
706
|
-
token1: BigNumber;
|
|
707
|
-
}>;
|
|
708
|
-
getRewardGrowthInside(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, _rewardGrowthGlobalX128: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
709
|
-
increaseObservationCardinalityNext(observationCardinalityNext: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
710
|
-
initialize(_factory: PromiseOrValue<string>, _token0: PromiseOrValue<string>, _token1: PromiseOrValue<string>, _tickSpacing: PromiseOrValue<BigNumberish>, _sqrtPriceX96: PromiseOrValue<BigNumberish>, _gauge: PromiseOrValue<string>, _nft: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
711
|
-
lastUpdated(overrides?: CallOverrides): Promise<number>;
|
|
712
|
-
liquidity(overrides?: CallOverrides): Promise<BigNumber>;
|
|
713
|
-
maxLiquidityPerTick(overrides?: CallOverrides): Promise<BigNumber>;
|
|
714
|
-
mint(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<[
|
|
715
|
-
BigNumber,
|
|
716
|
-
BigNumber
|
|
717
|
-
] & {
|
|
718
|
-
amount0: BigNumber;
|
|
719
|
-
amount1: BigNumber;
|
|
720
|
-
}>;
|
|
721
|
-
nft(overrides?: CallOverrides): Promise<string>;
|
|
722
|
-
observations(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
|
|
723
|
-
number,
|
|
724
|
-
BigNumber,
|
|
725
|
-
BigNumber,
|
|
611
|
+
}
|
|
612
|
+
], "view">;
|
|
613
|
+
unstakedFee: TypedContractMethod<[], [bigint], "view">;
|
|
614
|
+
updateRewardsGrowthGlobal: TypedContractMethod<[], [void], "nonpayable">;
|
|
615
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
616
|
+
getFunction(nameOrSignature: "burn(int24,int24,uint128,address)"): TypedContractMethod<[
|
|
617
|
+
tickLower: BigNumberish,
|
|
618
|
+
tickUpper: BigNumberish,
|
|
619
|
+
amount: BigNumberish,
|
|
620
|
+
owner: AddressLike
|
|
621
|
+
], [
|
|
622
|
+
[bigint, bigint] & {
|
|
623
|
+
amount0: bigint;
|
|
624
|
+
amount1: bigint;
|
|
625
|
+
}
|
|
626
|
+
], "nonpayable">;
|
|
627
|
+
getFunction(nameOrSignature: "burn(int24,int24,uint128)"): TypedContractMethod<[
|
|
628
|
+
tickLower: BigNumberish,
|
|
629
|
+
tickUpper: BigNumberish,
|
|
630
|
+
amount: BigNumberish
|
|
631
|
+
], [
|
|
632
|
+
[bigint, bigint] & {
|
|
633
|
+
amount0: bigint;
|
|
634
|
+
amount1: bigint;
|
|
635
|
+
}
|
|
636
|
+
], "nonpayable">;
|
|
637
|
+
getFunction(nameOrSignature: "collect(address,int24,int24,uint128,uint128,address)"): TypedContractMethod<[
|
|
638
|
+
recipient: AddressLike,
|
|
639
|
+
tickLower: BigNumberish,
|
|
640
|
+
tickUpper: BigNumberish,
|
|
641
|
+
amount0Requested: BigNumberish,
|
|
642
|
+
amount1Requested: BigNumberish,
|
|
643
|
+
owner: AddressLike
|
|
644
|
+
], [
|
|
645
|
+
[bigint, bigint] & {
|
|
646
|
+
amount0: bigint;
|
|
647
|
+
amount1: bigint;
|
|
648
|
+
}
|
|
649
|
+
], "nonpayable">;
|
|
650
|
+
getFunction(nameOrSignature: "collect(address,int24,int24,uint128,uint128)"): TypedContractMethod<[
|
|
651
|
+
recipient: AddressLike,
|
|
652
|
+
tickLower: BigNumberish,
|
|
653
|
+
tickUpper: BigNumberish,
|
|
654
|
+
amount0Requested: BigNumberish,
|
|
655
|
+
amount1Requested: BigNumberish
|
|
656
|
+
], [
|
|
657
|
+
[bigint, bigint] & {
|
|
658
|
+
amount0: bigint;
|
|
659
|
+
amount1: bigint;
|
|
660
|
+
}
|
|
661
|
+
], "nonpayable">;
|
|
662
|
+
getFunction(nameOrSignature: "collectFees"): TypedContractMethod<[
|
|
663
|
+
], [
|
|
664
|
+
[bigint, bigint] & {
|
|
665
|
+
amount0: bigint;
|
|
666
|
+
amount1: bigint;
|
|
667
|
+
}
|
|
668
|
+
], "nonpayable">;
|
|
669
|
+
getFunction(nameOrSignature: "factory"): TypedContractMethod<[], [string], "view">;
|
|
670
|
+
getFunction(nameOrSignature: "fee"): TypedContractMethod<[], [bigint], "view">;
|
|
671
|
+
getFunction(nameOrSignature: "feeGrowthGlobal0X128"): TypedContractMethod<[], [bigint], "view">;
|
|
672
|
+
getFunction(nameOrSignature: "feeGrowthGlobal1X128"): TypedContractMethod<[], [bigint], "view">;
|
|
673
|
+
getFunction(nameOrSignature: "flash"): TypedContractMethod<[
|
|
674
|
+
recipient: AddressLike,
|
|
675
|
+
amount0: BigNumberish,
|
|
676
|
+
amount1: BigNumberish,
|
|
677
|
+
data: BytesLike
|
|
678
|
+
], [
|
|
679
|
+
void
|
|
680
|
+
], "nonpayable">;
|
|
681
|
+
getFunction(nameOrSignature: "gauge"): TypedContractMethod<[], [string], "view">;
|
|
682
|
+
getFunction(nameOrSignature: "gaugeFees"): TypedContractMethod<[
|
|
683
|
+
], [
|
|
684
|
+
[bigint, bigint] & {
|
|
685
|
+
token0: bigint;
|
|
686
|
+
token1: bigint;
|
|
687
|
+
}
|
|
688
|
+
], "view">;
|
|
689
|
+
getFunction(nameOrSignature: "getRewardGrowthInside"): TypedContractMethod<[
|
|
690
|
+
tickLower: BigNumberish,
|
|
691
|
+
tickUpper: BigNumberish,
|
|
692
|
+
_rewardGrowthGlobalX128: BigNumberish
|
|
693
|
+
], [
|
|
694
|
+
bigint
|
|
695
|
+
], "view">;
|
|
696
|
+
getFunction(nameOrSignature: "increaseObservationCardinalityNext"): TypedContractMethod<[
|
|
697
|
+
observationCardinalityNext: BigNumberish
|
|
698
|
+
], [
|
|
699
|
+
void
|
|
700
|
+
], "nonpayable">;
|
|
701
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
702
|
+
_factory: AddressLike,
|
|
703
|
+
_token0: AddressLike,
|
|
704
|
+
_token1: AddressLike,
|
|
705
|
+
_tickSpacing: BigNumberish,
|
|
706
|
+
_sqrtPriceX96: BigNumberish,
|
|
707
|
+
_gauge: AddressLike,
|
|
708
|
+
_nft: AddressLike
|
|
709
|
+
], [
|
|
710
|
+
void
|
|
711
|
+
], "nonpayable">;
|
|
712
|
+
getFunction(nameOrSignature: "lastUpdated"): TypedContractMethod<[], [bigint], "view">;
|
|
713
|
+
getFunction(nameOrSignature: "liquidity"): TypedContractMethod<[], [bigint], "view">;
|
|
714
|
+
getFunction(nameOrSignature: "maxLiquidityPerTick"): TypedContractMethod<[], [bigint], "view">;
|
|
715
|
+
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
716
|
+
recipient: AddressLike,
|
|
717
|
+
tickLower: BigNumberish,
|
|
718
|
+
tickUpper: BigNumberish,
|
|
719
|
+
amount: BigNumberish,
|
|
720
|
+
data: BytesLike
|
|
721
|
+
], [
|
|
722
|
+
[bigint, bigint] & {
|
|
723
|
+
amount0: bigint;
|
|
724
|
+
amount1: bigint;
|
|
725
|
+
}
|
|
726
|
+
], "nonpayable">;
|
|
727
|
+
getFunction(nameOrSignature: "nft"): TypedContractMethod<[], [string], "view">;
|
|
728
|
+
getFunction(nameOrSignature: "observations"): TypedContractMethod<[
|
|
729
|
+
arg0: BigNumberish
|
|
730
|
+
], [
|
|
731
|
+
[
|
|
732
|
+
bigint,
|
|
733
|
+
bigint,
|
|
734
|
+
bigint,
|
|
726
735
|
boolean
|
|
727
736
|
] & {
|
|
728
|
-
blockTimestamp:
|
|
729
|
-
tickCumulative:
|
|
730
|
-
secondsPerLiquidityCumulativeX128:
|
|
737
|
+
blockTimestamp: bigint;
|
|
738
|
+
tickCumulative: bigint;
|
|
739
|
+
secondsPerLiquidityCumulativeX128: bigint;
|
|
731
740
|
initialized: boolean;
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
741
|
+
}
|
|
742
|
+
], "view">;
|
|
743
|
+
getFunction(nameOrSignature: "observe"): TypedContractMethod<[
|
|
744
|
+
secondsAgos: BigNumberish[]
|
|
745
|
+
], [
|
|
746
|
+
[
|
|
747
|
+
bigint[],
|
|
748
|
+
bigint[]
|
|
736
749
|
] & {
|
|
737
|
-
tickCumulatives:
|
|
738
|
-
secondsPerLiquidityCumulativeX128s:
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
750
|
+
tickCumulatives: bigint[];
|
|
751
|
+
secondsPerLiquidityCumulativeX128s: bigint[];
|
|
752
|
+
}
|
|
753
|
+
], "view">;
|
|
754
|
+
getFunction(nameOrSignature: "periodFinish"): TypedContractMethod<[], [bigint], "view">;
|
|
755
|
+
getFunction(nameOrSignature: "positions"): TypedContractMethod<[
|
|
756
|
+
arg0: BytesLike
|
|
757
|
+
], [
|
|
758
|
+
[
|
|
759
|
+
bigint,
|
|
760
|
+
bigint,
|
|
761
|
+
bigint,
|
|
762
|
+
bigint,
|
|
763
|
+
bigint
|
|
747
764
|
] & {
|
|
748
|
-
liquidity:
|
|
749
|
-
feeGrowthInside0LastX128:
|
|
750
|
-
feeGrowthInside1LastX128:
|
|
751
|
-
tokensOwed0:
|
|
752
|
-
tokensOwed1:
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
765
|
+
liquidity: bigint;
|
|
766
|
+
feeGrowthInside0LastX128: bigint;
|
|
767
|
+
feeGrowthInside1LastX128: bigint;
|
|
768
|
+
tokensOwed0: bigint;
|
|
769
|
+
tokensOwed1: bigint;
|
|
770
|
+
}
|
|
771
|
+
], "view">;
|
|
772
|
+
getFunction(nameOrSignature: "rewardGrowthGlobalX128"): TypedContractMethod<[], [bigint], "view">;
|
|
773
|
+
getFunction(nameOrSignature: "rewardRate"): TypedContractMethod<[], [bigint], "view">;
|
|
774
|
+
getFunction(nameOrSignature: "rewardReserve"): TypedContractMethod<[], [bigint], "view">;
|
|
775
|
+
getFunction(nameOrSignature: "rollover"): TypedContractMethod<[], [bigint], "view">;
|
|
776
|
+
getFunction(nameOrSignature: "slot0"): TypedContractMethod<[
|
|
777
|
+
], [
|
|
778
|
+
[
|
|
779
|
+
bigint,
|
|
780
|
+
bigint,
|
|
781
|
+
bigint,
|
|
782
|
+
bigint,
|
|
783
|
+
bigint,
|
|
764
784
|
boolean
|
|
765
785
|
] & {
|
|
766
|
-
sqrtPriceX96:
|
|
767
|
-
tick:
|
|
768
|
-
observationIndex:
|
|
769
|
-
observationCardinality:
|
|
770
|
-
observationCardinalityNext:
|
|
786
|
+
sqrtPriceX96: bigint;
|
|
787
|
+
tick: bigint;
|
|
788
|
+
observationIndex: bigint;
|
|
789
|
+
observationCardinality: bigint;
|
|
790
|
+
observationCardinalityNext: bigint;
|
|
771
791
|
unlocked: boolean;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
stake(stakedLiquidityDelta: PromiseOrValue<BigNumberish>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
783
|
-
stakedLiquidity(overrides?: CallOverrides): Promise<BigNumber>;
|
|
784
|
-
swap(recipient: PromiseOrValue<string>, zeroForOne: PromiseOrValue<boolean>, amountSpecified: PromiseOrValue<BigNumberish>, sqrtPriceLimitX96: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<[
|
|
785
|
-
BigNumber,
|
|
786
|
-
BigNumber
|
|
792
|
+
}
|
|
793
|
+
], "view">;
|
|
794
|
+
getFunction(nameOrSignature: "snapshotCumulativesInside"): TypedContractMethod<[
|
|
795
|
+
tickLower: BigNumberish,
|
|
796
|
+
tickUpper: BigNumberish
|
|
797
|
+
], [
|
|
798
|
+
[
|
|
799
|
+
bigint,
|
|
800
|
+
bigint,
|
|
801
|
+
bigint
|
|
787
802
|
] & {
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
803
|
+
tickCumulativeInside: bigint;
|
|
804
|
+
secondsPerLiquidityInsideX128: bigint;
|
|
805
|
+
secondsInside: bigint;
|
|
806
|
+
}
|
|
807
|
+
], "view">;
|
|
808
|
+
getFunction(nameOrSignature: "stake"): TypedContractMethod<[
|
|
809
|
+
stakedLiquidityDelta: BigNumberish,
|
|
810
|
+
tickLower: BigNumberish,
|
|
811
|
+
tickUpper: BigNumberish
|
|
812
|
+
], [
|
|
813
|
+
void
|
|
814
|
+
], "nonpayable">;
|
|
815
|
+
getFunction(nameOrSignature: "stakedLiquidity"): TypedContractMethod<[], [bigint], "view">;
|
|
816
|
+
getFunction(nameOrSignature: "swap"): TypedContractMethod<[
|
|
817
|
+
recipient: AddressLike,
|
|
818
|
+
zeroForOne: boolean,
|
|
819
|
+
amountSpecified: BigNumberish,
|
|
820
|
+
sqrtPriceLimitX96: BigNumberish,
|
|
821
|
+
data: BytesLike
|
|
822
|
+
], [
|
|
823
|
+
[bigint, bigint] & {
|
|
824
|
+
amount0: bigint;
|
|
825
|
+
amount1: bigint;
|
|
826
|
+
}
|
|
827
|
+
], "nonpayable">;
|
|
828
|
+
getFunction(nameOrSignature: "syncReward"): TypedContractMethod<[
|
|
829
|
+
_rewardRate: BigNumberish,
|
|
830
|
+
_rewardReserve: BigNumberish,
|
|
831
|
+
_periodFinish: BigNumberish
|
|
832
|
+
], [
|
|
833
|
+
void
|
|
834
|
+
], "nonpayable">;
|
|
835
|
+
getFunction(nameOrSignature: "tickBitmap"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
836
|
+
getFunction(nameOrSignature: "tickSpacing"): TypedContractMethod<[], [bigint], "view">;
|
|
837
|
+
getFunction(nameOrSignature: "ticks"): TypedContractMethod<[
|
|
838
|
+
arg0: BigNumberish
|
|
839
|
+
], [
|
|
840
|
+
[
|
|
841
|
+
bigint,
|
|
842
|
+
bigint,
|
|
843
|
+
bigint,
|
|
844
|
+
bigint,
|
|
845
|
+
bigint,
|
|
846
|
+
bigint,
|
|
847
|
+
bigint,
|
|
848
|
+
bigint,
|
|
849
|
+
bigint,
|
|
804
850
|
boolean
|
|
805
851
|
] & {
|
|
806
|
-
liquidityGross:
|
|
807
|
-
liquidityNet:
|
|
808
|
-
stakedLiquidityNet:
|
|
809
|
-
feeGrowthOutside0X128:
|
|
810
|
-
feeGrowthOutside1X128:
|
|
811
|
-
rewardGrowthOutsideX128:
|
|
812
|
-
tickCumulativeOutside:
|
|
813
|
-
secondsPerLiquidityOutsideX128:
|
|
814
|
-
secondsOutside:
|
|
852
|
+
liquidityGross: bigint;
|
|
853
|
+
liquidityNet: bigint;
|
|
854
|
+
stakedLiquidityNet: bigint;
|
|
855
|
+
feeGrowthOutside0X128: bigint;
|
|
856
|
+
feeGrowthOutside1X128: bigint;
|
|
857
|
+
rewardGrowthOutsideX128: bigint;
|
|
858
|
+
tickCumulativeOutside: bigint;
|
|
859
|
+
secondsPerLiquidityOutsideX128: bigint;
|
|
860
|
+
secondsOutside: bigint;
|
|
815
861
|
initialized: boolean;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
862
|
+
}
|
|
863
|
+
], "view">;
|
|
864
|
+
getFunction(nameOrSignature: "token0"): TypedContractMethod<[], [string], "view">;
|
|
865
|
+
getFunction(nameOrSignature: "token1"): TypedContractMethod<[], [string], "view">;
|
|
866
|
+
getFunction(nameOrSignature: "tokens"): TypedContractMethod<[
|
|
867
|
+
], [
|
|
868
|
+
[string, string] & {
|
|
820
869
|
token0_: string;
|
|
821
870
|
token1_: string;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
871
|
+
}
|
|
872
|
+
], "view">;
|
|
873
|
+
getFunction(nameOrSignature: "unstakedFee"): TypedContractMethod<[], [bigint], "view">;
|
|
874
|
+
getFunction(nameOrSignature: "updateRewardsGrowthGlobal"): TypedContractMethod<[], [void], "nonpayable">;
|
|
875
|
+
getEvent(key: "Burn"): TypedContractEvent<BurnEvent.InputTuple, BurnEvent.OutputTuple, BurnEvent.OutputObject>;
|
|
876
|
+
getEvent(key: "Collect"): TypedContractEvent<CollectEvent.InputTuple, CollectEvent.OutputTuple, CollectEvent.OutputObject>;
|
|
877
|
+
getEvent(key: "CollectFees"): TypedContractEvent<CollectFeesEvent.InputTuple, CollectFeesEvent.OutputTuple, CollectFeesEvent.OutputObject>;
|
|
878
|
+
getEvent(key: "Flash"): TypedContractEvent<FlashEvent.InputTuple, FlashEvent.OutputTuple, FlashEvent.OutputObject>;
|
|
879
|
+
getEvent(key: "IncreaseObservationCardinalityNext"): TypedContractEvent<IncreaseObservationCardinalityNextEvent.InputTuple, IncreaseObservationCardinalityNextEvent.OutputTuple, IncreaseObservationCardinalityNextEvent.OutputObject>;
|
|
880
|
+
getEvent(key: "Initialize"): TypedContractEvent<InitializeEvent.InputTuple, InitializeEvent.OutputTuple, InitializeEvent.OutputObject>;
|
|
881
|
+
getEvent(key: "Mint"): TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
882
|
+
getEvent(key: "SetFeeProtocol"): TypedContractEvent<SetFeeProtocolEvent.InputTuple, SetFeeProtocolEvent.OutputTuple, SetFeeProtocolEvent.OutputObject>;
|
|
883
|
+
getEvent(key: "Swap"): TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
|
|
826
884
|
filters: {
|
|
827
|
-
"Burn(address,int24,int24,uint128,uint256,uint256)"
|
|
828
|
-
Burn
|
|
829
|
-
"Collect(address,address,int24,int24,uint128,uint128)"
|
|
830
|
-
Collect
|
|
831
|
-
"CollectFees(address,uint128,uint128)"
|
|
832
|
-
CollectFees
|
|
833
|
-
"Flash(address,address,uint256,uint256,uint256,uint256)"
|
|
834
|
-
Flash
|
|
835
|
-
"IncreaseObservationCardinalityNext(uint16,uint16)"
|
|
836
|
-
IncreaseObservationCardinalityNext
|
|
837
|
-
"Initialize(uint160,int24)"
|
|
838
|
-
Initialize
|
|
839
|
-
"Mint(address,address,int24,int24,uint128,uint256,uint256)"
|
|
840
|
-
Mint
|
|
841
|
-
"SetFeeProtocol(uint8,uint8,uint8,uint8)"
|
|
842
|
-
SetFeeProtocol
|
|
843
|
-
"Swap(address,address,int256,int256,uint160,uint128,int24)"
|
|
844
|
-
Swap
|
|
845
|
-
};
|
|
846
|
-
estimateGas: {
|
|
847
|
-
"burn(int24,int24,uint128,address)"(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
848
|
-
from?: PromiseOrValue<string>;
|
|
849
|
-
}): Promise<BigNumber>;
|
|
850
|
-
"burn(int24,int24,uint128)"(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
851
|
-
from?: PromiseOrValue<string>;
|
|
852
|
-
}): Promise<BigNumber>;
|
|
853
|
-
"collect(address,int24,int24,uint128,uint128,address)"(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
854
|
-
from?: PromiseOrValue<string>;
|
|
855
|
-
}): Promise<BigNumber>;
|
|
856
|
-
"collect(address,int24,int24,uint128,uint128)"(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
857
|
-
from?: PromiseOrValue<string>;
|
|
858
|
-
}): Promise<BigNumber>;
|
|
859
|
-
collectFees(overrides?: Overrides & {
|
|
860
|
-
from?: PromiseOrValue<string>;
|
|
861
|
-
}): Promise<BigNumber>;
|
|
862
|
-
factory(overrides?: CallOverrides): Promise<BigNumber>;
|
|
863
|
-
fee(overrides?: CallOverrides): Promise<BigNumber>;
|
|
864
|
-
feeGrowthGlobal0X128(overrides?: CallOverrides): Promise<BigNumber>;
|
|
865
|
-
feeGrowthGlobal1X128(overrides?: CallOverrides): Promise<BigNumber>;
|
|
866
|
-
flash(recipient: PromiseOrValue<string>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
867
|
-
from?: PromiseOrValue<string>;
|
|
868
|
-
}): Promise<BigNumber>;
|
|
869
|
-
gauge(overrides?: CallOverrides): Promise<BigNumber>;
|
|
870
|
-
gaugeFees(overrides?: CallOverrides): Promise<BigNumber>;
|
|
871
|
-
getRewardGrowthInside(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, _rewardGrowthGlobalX128: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
872
|
-
increaseObservationCardinalityNext(observationCardinalityNext: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
873
|
-
from?: PromiseOrValue<string>;
|
|
874
|
-
}): Promise<BigNumber>;
|
|
875
|
-
initialize(_factory: PromiseOrValue<string>, _token0: PromiseOrValue<string>, _token1: PromiseOrValue<string>, _tickSpacing: PromiseOrValue<BigNumberish>, _sqrtPriceX96: PromiseOrValue<BigNumberish>, _gauge: PromiseOrValue<string>, _nft: PromiseOrValue<string>, overrides?: Overrides & {
|
|
876
|
-
from?: PromiseOrValue<string>;
|
|
877
|
-
}): Promise<BigNumber>;
|
|
878
|
-
lastUpdated(overrides?: CallOverrides): Promise<BigNumber>;
|
|
879
|
-
liquidity(overrides?: CallOverrides): Promise<BigNumber>;
|
|
880
|
-
maxLiquidityPerTick(overrides?: CallOverrides): Promise<BigNumber>;
|
|
881
|
-
mint(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
882
|
-
from?: PromiseOrValue<string>;
|
|
883
|
-
}): Promise<BigNumber>;
|
|
884
|
-
nft(overrides?: CallOverrides): Promise<BigNumber>;
|
|
885
|
-
observations(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
886
|
-
observe(secondsAgos: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<BigNumber>;
|
|
887
|
-
periodFinish(overrides?: CallOverrides): Promise<BigNumber>;
|
|
888
|
-
positions(arg0: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
889
|
-
rewardGrowthGlobalX128(overrides?: CallOverrides): Promise<BigNumber>;
|
|
890
|
-
rewardRate(overrides?: CallOverrides): Promise<BigNumber>;
|
|
891
|
-
rewardReserve(overrides?: CallOverrides): Promise<BigNumber>;
|
|
892
|
-
rollover(overrides?: CallOverrides): Promise<BigNumber>;
|
|
893
|
-
slot0(overrides?: CallOverrides): Promise<BigNumber>;
|
|
894
|
-
snapshotCumulativesInside(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
895
|
-
stake(stakedLiquidityDelta: PromiseOrValue<BigNumberish>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
896
|
-
from?: PromiseOrValue<string>;
|
|
897
|
-
}): Promise<BigNumber>;
|
|
898
|
-
stakedLiquidity(overrides?: CallOverrides): Promise<BigNumber>;
|
|
899
|
-
swap(recipient: PromiseOrValue<string>, zeroForOne: PromiseOrValue<boolean>, amountSpecified: PromiseOrValue<BigNumberish>, sqrtPriceLimitX96: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
900
|
-
from?: PromiseOrValue<string>;
|
|
901
|
-
}): Promise<BigNumber>;
|
|
902
|
-
syncReward(_rewardRate: PromiseOrValue<BigNumberish>, _rewardReserve: PromiseOrValue<BigNumberish>, _periodFinish: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
903
|
-
from?: PromiseOrValue<string>;
|
|
904
|
-
}): Promise<BigNumber>;
|
|
905
|
-
tickBitmap(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
906
|
-
tickSpacing(overrides?: CallOverrides): Promise<BigNumber>;
|
|
907
|
-
ticks(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
908
|
-
token0(overrides?: CallOverrides): Promise<BigNumber>;
|
|
909
|
-
token1(overrides?: CallOverrides): Promise<BigNumber>;
|
|
910
|
-
tokens(overrides?: CallOverrides): Promise<BigNumber>;
|
|
911
|
-
unstakedFee(overrides?: CallOverrides): Promise<BigNumber>;
|
|
912
|
-
updateRewardsGrowthGlobal(overrides?: Overrides & {
|
|
913
|
-
from?: PromiseOrValue<string>;
|
|
914
|
-
}): Promise<BigNumber>;
|
|
915
|
-
};
|
|
916
|
-
populateTransaction: {
|
|
917
|
-
"burn(int24,int24,uint128,address)"(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
918
|
-
from?: PromiseOrValue<string>;
|
|
919
|
-
}): Promise<PopulatedTransaction>;
|
|
920
|
-
"burn(int24,int24,uint128)"(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
921
|
-
from?: PromiseOrValue<string>;
|
|
922
|
-
}): Promise<PopulatedTransaction>;
|
|
923
|
-
"collect(address,int24,int24,uint128,uint128,address)"(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, owner: PromiseOrValue<string>, overrides?: Overrides & {
|
|
924
|
-
from?: PromiseOrValue<string>;
|
|
925
|
-
}): Promise<PopulatedTransaction>;
|
|
926
|
-
"collect(address,int24,int24,uint128,uint128)"(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
927
|
-
from?: PromiseOrValue<string>;
|
|
928
|
-
}): Promise<PopulatedTransaction>;
|
|
929
|
-
collectFees(overrides?: Overrides & {
|
|
930
|
-
from?: PromiseOrValue<string>;
|
|
931
|
-
}): Promise<PopulatedTransaction>;
|
|
932
|
-
factory(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
933
|
-
fee(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
934
|
-
feeGrowthGlobal0X128(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
935
|
-
feeGrowthGlobal1X128(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
936
|
-
flash(recipient: PromiseOrValue<string>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
937
|
-
from?: PromiseOrValue<string>;
|
|
938
|
-
}): Promise<PopulatedTransaction>;
|
|
939
|
-
gauge(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
940
|
-
gaugeFees(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
941
|
-
getRewardGrowthInside(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, _rewardGrowthGlobalX128: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
942
|
-
increaseObservationCardinalityNext(observationCardinalityNext: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
943
|
-
from?: PromiseOrValue<string>;
|
|
944
|
-
}): Promise<PopulatedTransaction>;
|
|
945
|
-
initialize(_factory: PromiseOrValue<string>, _token0: PromiseOrValue<string>, _token1: PromiseOrValue<string>, _tickSpacing: PromiseOrValue<BigNumberish>, _sqrtPriceX96: PromiseOrValue<BigNumberish>, _gauge: PromiseOrValue<string>, _nft: PromiseOrValue<string>, overrides?: Overrides & {
|
|
946
|
-
from?: PromiseOrValue<string>;
|
|
947
|
-
}): Promise<PopulatedTransaction>;
|
|
948
|
-
lastUpdated(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
949
|
-
liquidity(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
950
|
-
maxLiquidityPerTick(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
951
|
-
mint(recipient: PromiseOrValue<string>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
952
|
-
from?: PromiseOrValue<string>;
|
|
953
|
-
}): Promise<PopulatedTransaction>;
|
|
954
|
-
nft(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
955
|
-
observations(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
956
|
-
observe(secondsAgos: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
957
|
-
periodFinish(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
958
|
-
positions(arg0: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
959
|
-
rewardGrowthGlobalX128(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
960
|
-
rewardRate(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
961
|
-
rewardReserve(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
962
|
-
rollover(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
963
|
-
slot0(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
964
|
-
snapshotCumulativesInside(tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
965
|
-
stake(stakedLiquidityDelta: PromiseOrValue<BigNumberish>, tickLower: PromiseOrValue<BigNumberish>, tickUpper: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
966
|
-
from?: PromiseOrValue<string>;
|
|
967
|
-
}): Promise<PopulatedTransaction>;
|
|
968
|
-
stakedLiquidity(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
969
|
-
swap(recipient: PromiseOrValue<string>, zeroForOne: PromiseOrValue<boolean>, amountSpecified: PromiseOrValue<BigNumberish>, sqrtPriceLimitX96: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
970
|
-
from?: PromiseOrValue<string>;
|
|
971
|
-
}): Promise<PopulatedTransaction>;
|
|
972
|
-
syncReward(_rewardRate: PromiseOrValue<BigNumberish>, _rewardReserve: PromiseOrValue<BigNumberish>, _periodFinish: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
973
|
-
from?: PromiseOrValue<string>;
|
|
974
|
-
}): Promise<PopulatedTransaction>;
|
|
975
|
-
tickBitmap(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
976
|
-
tickSpacing(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
977
|
-
ticks(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
978
|
-
token0(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
979
|
-
token1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
980
|
-
tokens(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
981
|
-
unstakedFee(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
982
|
-
updateRewardsGrowthGlobal(overrides?: Overrides & {
|
|
983
|
-
from?: PromiseOrValue<string>;
|
|
984
|
-
}): Promise<PopulatedTransaction>;
|
|
885
|
+
"Burn(address,int24,int24,uint128,uint256,uint256)": TypedContractEvent<BurnEvent.InputTuple, BurnEvent.OutputTuple, BurnEvent.OutputObject>;
|
|
886
|
+
Burn: TypedContractEvent<BurnEvent.InputTuple, BurnEvent.OutputTuple, BurnEvent.OutputObject>;
|
|
887
|
+
"Collect(address,address,int24,int24,uint128,uint128)": TypedContractEvent<CollectEvent.InputTuple, CollectEvent.OutputTuple, CollectEvent.OutputObject>;
|
|
888
|
+
Collect: TypedContractEvent<CollectEvent.InputTuple, CollectEvent.OutputTuple, CollectEvent.OutputObject>;
|
|
889
|
+
"CollectFees(address,uint128,uint128)": TypedContractEvent<CollectFeesEvent.InputTuple, CollectFeesEvent.OutputTuple, CollectFeesEvent.OutputObject>;
|
|
890
|
+
CollectFees: TypedContractEvent<CollectFeesEvent.InputTuple, CollectFeesEvent.OutputTuple, CollectFeesEvent.OutputObject>;
|
|
891
|
+
"Flash(address,address,uint256,uint256,uint256,uint256)": TypedContractEvent<FlashEvent.InputTuple, FlashEvent.OutputTuple, FlashEvent.OutputObject>;
|
|
892
|
+
Flash: TypedContractEvent<FlashEvent.InputTuple, FlashEvent.OutputTuple, FlashEvent.OutputObject>;
|
|
893
|
+
"IncreaseObservationCardinalityNext(uint16,uint16)": TypedContractEvent<IncreaseObservationCardinalityNextEvent.InputTuple, IncreaseObservationCardinalityNextEvent.OutputTuple, IncreaseObservationCardinalityNextEvent.OutputObject>;
|
|
894
|
+
IncreaseObservationCardinalityNext: TypedContractEvent<IncreaseObservationCardinalityNextEvent.InputTuple, IncreaseObservationCardinalityNextEvent.OutputTuple, IncreaseObservationCardinalityNextEvent.OutputObject>;
|
|
895
|
+
"Initialize(uint160,int24)": TypedContractEvent<InitializeEvent.InputTuple, InitializeEvent.OutputTuple, InitializeEvent.OutputObject>;
|
|
896
|
+
Initialize: TypedContractEvent<InitializeEvent.InputTuple, InitializeEvent.OutputTuple, InitializeEvent.OutputObject>;
|
|
897
|
+
"Mint(address,address,int24,int24,uint128,uint256,uint256)": TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
898
|
+
Mint: TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
899
|
+
"SetFeeProtocol(uint8,uint8,uint8,uint8)": TypedContractEvent<SetFeeProtocolEvent.InputTuple, SetFeeProtocolEvent.OutputTuple, SetFeeProtocolEvent.OutputObject>;
|
|
900
|
+
SetFeeProtocol: TypedContractEvent<SetFeeProtocolEvent.InputTuple, SetFeeProtocolEvent.OutputTuple, SetFeeProtocolEvent.OutputObject>;
|
|
901
|
+
"Swap(address,address,int256,int256,uint160,uint128,int24)": TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
|
|
902
|
+
Swap: TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
|
|
985
903
|
};
|
|
986
904
|
}
|