@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,125 +1,63 @@
|
|
|
1
|
-
import type { BaseContract,
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"claim(address,address,uint256)": FunctionFragment;
|
|
9
|
-
"collect(address,int24,int24,uint128,uint128)": FunctionFragment;
|
|
10
|
-
"communityFeeLastTimestamp()": FunctionFragment;
|
|
11
|
-
"communityVault()": FunctionFragment;
|
|
12
|
-
"configure(address,uint8)": FunctionFragment;
|
|
13
|
-
"factory()": FunctionFragment;
|
|
14
|
-
"fee()": FunctionFragment;
|
|
15
|
-
"flash(address,uint256,uint256,bytes)": FunctionFragment;
|
|
16
|
-
"getCommunityFeePending()": FunctionFragment;
|
|
17
|
-
"getReserves()": FunctionFragment;
|
|
18
|
-
"globalState()": FunctionFragment;
|
|
19
|
-
"initialize(uint160)": FunctionFragment;
|
|
20
|
-
"isUnlocked()": FunctionFragment;
|
|
21
|
-
"liquidity()": FunctionFragment;
|
|
22
|
-
"maxLiquidityPerTick()": FunctionFragment;
|
|
23
|
-
"mint(address,address,int24,int24,uint128,bytes)": FunctionFragment;
|
|
24
|
-
"nextTickGlobal()": FunctionFragment;
|
|
25
|
-
"plugin()": FunctionFragment;
|
|
26
|
-
"positions(bytes32)": FunctionFragment;
|
|
27
|
-
"prevTickGlobal()": FunctionFragment;
|
|
28
|
-
"safelyGetStateOfAMM()": FunctionFragment;
|
|
29
|
-
"setCommunityFee(uint16)": FunctionFragment;
|
|
30
|
-
"setCommunityVault(address)": FunctionFragment;
|
|
31
|
-
"setFee(uint16)": FunctionFragment;
|
|
32
|
-
"setPlugin(address)": FunctionFragment;
|
|
33
|
-
"setPluginConfig(uint8)": FunctionFragment;
|
|
34
|
-
"setTickSpacing(int24)": FunctionFragment;
|
|
35
|
-
"swap(address,bool,int256,uint160,bytes)": FunctionFragment;
|
|
36
|
-
"swapWithPaymentInAdvance(address,address,bool,int256,uint160,bytes)": FunctionFragment;
|
|
37
|
-
"tickSpacing()": FunctionFragment;
|
|
38
|
-
"tickTable(int16)": FunctionFragment;
|
|
39
|
-
"tickTreeRoot()": FunctionFragment;
|
|
40
|
-
"tickTreeSecondLayer(int16)": FunctionFragment;
|
|
41
|
-
"ticks(int24)": FunctionFragment;
|
|
42
|
-
"token0()": FunctionFragment;
|
|
43
|
-
"token1()": FunctionFragment;
|
|
44
|
-
"totalFeeGrowth0Token()": FunctionFragment;
|
|
45
|
-
"totalFeeGrowth1Token()": FunctionFragment;
|
|
46
|
-
};
|
|
47
|
-
getFunction(nameOrSignatureOrTopic: "burn" | "claim" | "collect" | "communityFeeLastTimestamp" | "communityVault" | "configure" | "factory" | "fee" | "flash" | "getCommunityFeePending" | "getReserves" | "globalState" | "initialize" | "isUnlocked" | "liquidity" | "maxLiquidityPerTick" | "mint" | "nextTickGlobal" | "plugin" | "positions" | "prevTickGlobal" | "safelyGetStateOfAMM" | "setCommunityFee" | "setCommunityVault" | "setFee" | "setPlugin" | "setPluginConfig" | "setTickSpacing" | "swap" | "swapWithPaymentInAdvance" | "tickSpacing" | "tickTable" | "tickTreeRoot" | "tickTreeSecondLayer" | "ticks" | "token0" | "token1" | "totalFeeGrowth0Token" | "totalFeeGrowth1Token"): FunctionFragment;
|
|
48
|
-
encodeFunctionData(functionFragment: "burn", values: [
|
|
49
|
-
PromiseOrValue<BigNumberish>,
|
|
50
|
-
PromiseOrValue<BigNumberish>,
|
|
51
|
-
PromiseOrValue<BigNumberish>,
|
|
52
|
-
PromiseOrValue<BytesLike>
|
|
53
|
-
]): string;
|
|
54
|
-
encodeFunctionData(functionFragment: "claim", values: [
|
|
55
|
-
PromiseOrValue<string>,
|
|
56
|
-
PromiseOrValue<string>,
|
|
57
|
-
PromiseOrValue<BigNumberish>
|
|
58
|
-
]): 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 AlgebraIntegralPoolInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "burn" | "claim" | "collect" | "communityFeeLastTimestamp" | "communityVault" | "configure" | "factory" | "fee" | "flash" | "getCommunityFeePending" | "getReserves" | "globalState" | "initialize" | "isUnlocked" | "liquidity" | "maxLiquidityPerTick" | "mint" | "nextTickGlobal" | "plugin" | "positions" | "prevTickGlobal" | "safelyGetStateOfAMM" | "setCommunityFee" | "setCommunityVault" | "setFee" | "setPlugin" | "setPluginConfig" | "setTickSpacing" | "swap" | "swapWithPaymentInAdvance" | "tickSpacing" | "tickTable" | "tickTreeRoot" | "tickTreeSecondLayer" | "ticks" | "token0" | "token1" | "totalFeeGrowth0Token" | "totalFeeGrowth1Token"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Burn" | "Collect" | "CommunityFee" | "CommunityVault" | "Fee" | "Flash" | "Initialize" | "Mint" | "Plugin" | "PluginConfig" | "Swap" | "TickSpacing"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "burn", values: [BigNumberish, BigNumberish, BigNumberish, BytesLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "claim", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
59
8
|
encodeFunctionData(functionFragment: "collect", values: [
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
9
|
+
AddressLike,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
BigNumberish,
|
|
12
|
+
BigNumberish,
|
|
13
|
+
BigNumberish
|
|
65
14
|
]): string;
|
|
66
15
|
encodeFunctionData(functionFragment: "communityFeeLastTimestamp", values?: undefined): string;
|
|
67
16
|
encodeFunctionData(functionFragment: "communityVault", values?: undefined): string;
|
|
68
|
-
encodeFunctionData(functionFragment: "configure", values: [
|
|
17
|
+
encodeFunctionData(functionFragment: "configure", values: [AddressLike, BigNumberish]): string;
|
|
69
18
|
encodeFunctionData(functionFragment: "factory", values?: undefined): string;
|
|
70
19
|
encodeFunctionData(functionFragment: "fee", values?: undefined): string;
|
|
71
|
-
encodeFunctionData(functionFragment: "flash", values: [
|
|
72
|
-
PromiseOrValue<string>,
|
|
73
|
-
PromiseOrValue<BigNumberish>,
|
|
74
|
-
PromiseOrValue<BigNumberish>,
|
|
75
|
-
PromiseOrValue<BytesLike>
|
|
76
|
-
]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "flash", values: [AddressLike, BigNumberish, BigNumberish, BytesLike]): string;
|
|
77
21
|
encodeFunctionData(functionFragment: "getCommunityFeePending", values?: undefined): string;
|
|
78
22
|
encodeFunctionData(functionFragment: "getReserves", values?: undefined): string;
|
|
79
23
|
encodeFunctionData(functionFragment: "globalState", values?: undefined): string;
|
|
80
|
-
encodeFunctionData(functionFragment: "initialize", values: [
|
|
24
|
+
encodeFunctionData(functionFragment: "initialize", values: [BigNumberish]): string;
|
|
81
25
|
encodeFunctionData(functionFragment: "isUnlocked", values?: undefined): string;
|
|
82
26
|
encodeFunctionData(functionFragment: "liquidity", values?: undefined): string;
|
|
83
27
|
encodeFunctionData(functionFragment: "maxLiquidityPerTick", values?: undefined): string;
|
|
84
28
|
encodeFunctionData(functionFragment: "mint", values: [
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
29
|
+
AddressLike,
|
|
30
|
+
AddressLike,
|
|
31
|
+
BigNumberish,
|
|
32
|
+
BigNumberish,
|
|
33
|
+
BigNumberish,
|
|
34
|
+
BytesLike
|
|
91
35
|
]): string;
|
|
92
36
|
encodeFunctionData(functionFragment: "nextTickGlobal", values?: undefined): string;
|
|
93
37
|
encodeFunctionData(functionFragment: "plugin", values?: undefined): string;
|
|
94
|
-
encodeFunctionData(functionFragment: "positions", values: [
|
|
38
|
+
encodeFunctionData(functionFragment: "positions", values: [BytesLike]): string;
|
|
95
39
|
encodeFunctionData(functionFragment: "prevTickGlobal", values?: undefined): string;
|
|
96
40
|
encodeFunctionData(functionFragment: "safelyGetStateOfAMM", values?: undefined): string;
|
|
97
|
-
encodeFunctionData(functionFragment: "setCommunityFee", values: [
|
|
98
|
-
encodeFunctionData(functionFragment: "setCommunityVault", values: [
|
|
99
|
-
encodeFunctionData(functionFragment: "setFee", values: [
|
|
100
|
-
encodeFunctionData(functionFragment: "setPlugin", values: [
|
|
101
|
-
encodeFunctionData(functionFragment: "setPluginConfig", values: [
|
|
102
|
-
encodeFunctionData(functionFragment: "setTickSpacing", values: [
|
|
103
|
-
encodeFunctionData(functionFragment: "swap", values: [
|
|
104
|
-
PromiseOrValue<string>,
|
|
105
|
-
PromiseOrValue<boolean>,
|
|
106
|
-
PromiseOrValue<BigNumberish>,
|
|
107
|
-
PromiseOrValue<BigNumberish>,
|
|
108
|
-
PromiseOrValue<BytesLike>
|
|
109
|
-
]): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "setCommunityFee", values: [BigNumberish]): string;
|
|
42
|
+
encodeFunctionData(functionFragment: "setCommunityVault", values: [AddressLike]): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "setFee", values: [BigNumberish]): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "setPlugin", values: [AddressLike]): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "setPluginConfig", values: [BigNumberish]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "setTickSpacing", values: [BigNumberish]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "swap", values: [AddressLike, boolean, BigNumberish, BigNumberish, BytesLike]): string;
|
|
110
48
|
encodeFunctionData(functionFragment: "swapWithPaymentInAdvance", values: [
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
49
|
+
AddressLike,
|
|
50
|
+
AddressLike,
|
|
51
|
+
boolean,
|
|
52
|
+
BigNumberish,
|
|
53
|
+
BigNumberish,
|
|
54
|
+
BytesLike
|
|
117
55
|
]): string;
|
|
118
56
|
encodeFunctionData(functionFragment: "tickSpacing", values?: undefined): string;
|
|
119
|
-
encodeFunctionData(functionFragment: "tickTable", values: [
|
|
57
|
+
encodeFunctionData(functionFragment: "tickTable", values: [BigNumberish]): string;
|
|
120
58
|
encodeFunctionData(functionFragment: "tickTreeRoot", values?: undefined): string;
|
|
121
|
-
encodeFunctionData(functionFragment: "tickTreeSecondLayer", values: [
|
|
122
|
-
encodeFunctionData(functionFragment: "ticks", values: [
|
|
59
|
+
encodeFunctionData(functionFragment: "tickTreeSecondLayer", values: [BigNumberish]): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "ticks", values: [BigNumberish]): string;
|
|
123
61
|
encodeFunctionData(functionFragment: "token0", values?: undefined): string;
|
|
124
62
|
encodeFunctionData(functionFragment: "token1", values?: undefined): string;
|
|
125
63
|
encodeFunctionData(functionFragment: "totalFeeGrowth0Token", values?: undefined): string;
|
|
@@ -163,728 +101,699 @@ export interface AlgebraIntegralPoolInterface extends utils.Interface {
|
|
|
163
101
|
decodeFunctionResult(functionFragment: "token1", data: BytesLike): Result;
|
|
164
102
|
decodeFunctionResult(functionFragment: "totalFeeGrowth0Token", data: BytesLike): Result;
|
|
165
103
|
decodeFunctionResult(functionFragment: "totalFeeGrowth1Token", data: BytesLike): Result;
|
|
166
|
-
events: {
|
|
167
|
-
"Burn(address,int24,int24,uint128,uint256,uint256)": EventFragment;
|
|
168
|
-
"Collect(address,address,int24,int24,uint128,uint128)": EventFragment;
|
|
169
|
-
"CommunityFee(uint16)": EventFragment;
|
|
170
|
-
"CommunityVault(address)": EventFragment;
|
|
171
|
-
"Fee(uint16)": EventFragment;
|
|
172
|
-
"Flash(address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
173
|
-
"Initialize(uint160,int24)": EventFragment;
|
|
174
|
-
"Mint(address,address,int24,int24,uint128,uint256,uint256)": EventFragment;
|
|
175
|
-
"Plugin(address)": EventFragment;
|
|
176
|
-
"PluginConfig(uint8)": EventFragment;
|
|
177
|
-
"Swap(address,address,int256,int256,uint160,uint128,int24)": EventFragment;
|
|
178
|
-
"TickSpacing(int24)": EventFragment;
|
|
179
|
-
};
|
|
180
|
-
getEvent(nameOrSignatureOrTopic: "Burn"): EventFragment;
|
|
181
|
-
getEvent(nameOrSignatureOrTopic: "Collect"): EventFragment;
|
|
182
|
-
getEvent(nameOrSignatureOrTopic: "CommunityFee"): EventFragment;
|
|
183
|
-
getEvent(nameOrSignatureOrTopic: "CommunityVault"): EventFragment;
|
|
184
|
-
getEvent(nameOrSignatureOrTopic: "Fee"): EventFragment;
|
|
185
|
-
getEvent(nameOrSignatureOrTopic: "Flash"): EventFragment;
|
|
186
|
-
getEvent(nameOrSignatureOrTopic: "Initialize"): EventFragment;
|
|
187
|
-
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
188
|
-
getEvent(nameOrSignatureOrTopic: "Plugin"): EventFragment;
|
|
189
|
-
getEvent(nameOrSignatureOrTopic: "PluginConfig"): EventFragment;
|
|
190
|
-
getEvent(nameOrSignatureOrTopic: "Swap"): EventFragment;
|
|
191
|
-
getEvent(nameOrSignatureOrTopic: "TickSpacing"): EventFragment;
|
|
192
104
|
}
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
105
|
+
export declare namespace BurnEvent {
|
|
106
|
+
type InputTuple = [
|
|
107
|
+
owner: AddressLike,
|
|
108
|
+
bottomTick: BigNumberish,
|
|
109
|
+
topTick: BigNumberish,
|
|
110
|
+
liquidityAmount: BigNumberish,
|
|
111
|
+
amount0: BigNumberish,
|
|
112
|
+
amount1: BigNumberish
|
|
113
|
+
];
|
|
114
|
+
type OutputTuple = [
|
|
115
|
+
owner: string,
|
|
116
|
+
bottomTick: bigint,
|
|
117
|
+
topTick: bigint,
|
|
118
|
+
liquidityAmount: bigint,
|
|
119
|
+
amount0: bigint,
|
|
120
|
+
amount1: bigint
|
|
121
|
+
];
|
|
122
|
+
interface OutputObject {
|
|
123
|
+
owner: string;
|
|
124
|
+
bottomTick: bigint;
|
|
125
|
+
topTick: bigint;
|
|
126
|
+
liquidityAmount: bigint;
|
|
127
|
+
amount0: bigint;
|
|
128
|
+
amount1: bigint;
|
|
129
|
+
}
|
|
130
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
131
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
132
|
+
type Log = TypedEventLog<Event>;
|
|
133
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
200
134
|
}
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
135
|
+
export declare namespace CollectEvent {
|
|
136
|
+
type InputTuple = [
|
|
137
|
+
owner: AddressLike,
|
|
138
|
+
recipient: AddressLike,
|
|
139
|
+
bottomTick: BigNumberish,
|
|
140
|
+
topTick: BigNumberish,
|
|
141
|
+
amount0: BigNumberish,
|
|
142
|
+
amount1: BigNumberish
|
|
143
|
+
];
|
|
144
|
+
type OutputTuple = [
|
|
145
|
+
owner: string,
|
|
146
|
+
recipient: string,
|
|
147
|
+
bottomTick: bigint,
|
|
148
|
+
topTick: bigint,
|
|
149
|
+
amount0: bigint,
|
|
150
|
+
amount1: bigint
|
|
151
|
+
];
|
|
152
|
+
interface OutputObject {
|
|
153
|
+
owner: string;
|
|
154
|
+
recipient: string;
|
|
155
|
+
bottomTick: bigint;
|
|
156
|
+
topTick: bigint;
|
|
157
|
+
amount0: bigint;
|
|
158
|
+
amount1: bigint;
|
|
159
|
+
}
|
|
160
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
161
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
162
|
+
type Log = TypedEventLog<Event>;
|
|
163
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
217
164
|
}
|
|
218
|
-
export
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
communityFeeNew: number;
|
|
165
|
+
export declare namespace CommunityFeeEvent {
|
|
166
|
+
type InputTuple = [communityFeeNew: BigNumberish];
|
|
167
|
+
type OutputTuple = [communityFeeNew: bigint];
|
|
168
|
+
interface OutputObject {
|
|
169
|
+
communityFeeNew: bigint;
|
|
170
|
+
}
|
|
171
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
172
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
173
|
+
type Log = TypedEventLog<Event>;
|
|
174
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
229
175
|
}
|
|
230
|
-
export
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
176
|
+
export declare namespace CommunityVaultEvent {
|
|
177
|
+
type InputTuple = [newCommunityVault: AddressLike];
|
|
178
|
+
type OutputTuple = [newCommunityVault: string];
|
|
179
|
+
interface OutputObject {
|
|
180
|
+
newCommunityVault: string;
|
|
181
|
+
}
|
|
182
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
183
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
184
|
+
type Log = TypedEventLog<Event>;
|
|
185
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
234
186
|
}
|
|
235
|
-
export
|
|
236
|
-
|
|
237
|
-
]
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
187
|
+
export declare namespace FeeEvent {
|
|
188
|
+
type InputTuple = [fee: BigNumberish];
|
|
189
|
+
type OutputTuple = [fee: bigint];
|
|
190
|
+
interface OutputObject {
|
|
191
|
+
fee: bigint;
|
|
192
|
+
}
|
|
193
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
194
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
195
|
+
type Log = TypedEventLog<Event>;
|
|
196
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
241
197
|
}
|
|
242
|
-
export
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
198
|
+
export declare namespace FlashEvent {
|
|
199
|
+
type InputTuple = [
|
|
200
|
+
sender: AddressLike,
|
|
201
|
+
recipient: AddressLike,
|
|
202
|
+
amount0: BigNumberish,
|
|
203
|
+
amount1: BigNumberish,
|
|
204
|
+
paid0: BigNumberish,
|
|
205
|
+
paid1: BigNumberish
|
|
206
|
+
];
|
|
207
|
+
type OutputTuple = [
|
|
208
|
+
sender: string,
|
|
209
|
+
recipient: string,
|
|
210
|
+
amount0: bigint,
|
|
211
|
+
amount1: bigint,
|
|
212
|
+
paid0: bigint,
|
|
213
|
+
paid1: bigint
|
|
214
|
+
];
|
|
215
|
+
interface OutputObject {
|
|
216
|
+
sender: string;
|
|
217
|
+
recipient: string;
|
|
218
|
+
amount0: bigint;
|
|
219
|
+
amount1: bigint;
|
|
220
|
+
paid0: bigint;
|
|
221
|
+
paid1: bigint;
|
|
222
|
+
}
|
|
223
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
224
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
225
|
+
type Log = TypedEventLog<Event>;
|
|
226
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
251
227
|
}
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
tick: number;
|
|
228
|
+
export declare namespace InitializeEvent {
|
|
229
|
+
type InputTuple = [price: BigNumberish, tick: BigNumberish];
|
|
230
|
+
type OutputTuple = [price: bigint, tick: bigint];
|
|
231
|
+
interface OutputObject {
|
|
232
|
+
price: bigint;
|
|
233
|
+
tick: bigint;
|
|
234
|
+
}
|
|
235
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
236
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
237
|
+
type Log = TypedEventLog<Event>;
|
|
238
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
264
239
|
}
|
|
265
|
-
export
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
240
|
+
export declare namespace MintEvent {
|
|
241
|
+
type InputTuple = [
|
|
242
|
+
sender: AddressLike,
|
|
243
|
+
owner: AddressLike,
|
|
244
|
+
bottomTick: BigNumberish,
|
|
245
|
+
topTick: BigNumberish,
|
|
246
|
+
liquidityAmount: BigNumberish,
|
|
247
|
+
amount0: BigNumberish,
|
|
248
|
+
amount1: BigNumberish
|
|
249
|
+
];
|
|
250
|
+
type OutputTuple = [
|
|
251
|
+
sender: string,
|
|
252
|
+
owner: string,
|
|
253
|
+
bottomTick: bigint,
|
|
254
|
+
topTick: bigint,
|
|
255
|
+
liquidityAmount: bigint,
|
|
256
|
+
amount0: bigint,
|
|
257
|
+
amount1: bigint
|
|
258
|
+
];
|
|
259
|
+
interface OutputObject {
|
|
260
|
+
sender: string;
|
|
261
|
+
owner: string;
|
|
262
|
+
bottomTick: bigint;
|
|
263
|
+
topTick: bigint;
|
|
264
|
+
liquidityAmount: bigint;
|
|
265
|
+
amount0: bigint;
|
|
266
|
+
amount1: bigint;
|
|
267
|
+
}
|
|
268
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
269
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
270
|
+
type Log = TypedEventLog<Event>;
|
|
271
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
278
272
|
}
|
|
279
|
-
export
|
|
280
|
-
|
|
281
|
-
string
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
export interface PluginEventObject {
|
|
290
|
-
newPluginAddress: string;
|
|
273
|
+
export declare namespace PluginEvent {
|
|
274
|
+
type InputTuple = [newPluginAddress: AddressLike];
|
|
275
|
+
type OutputTuple = [newPluginAddress: string];
|
|
276
|
+
interface OutputObject {
|
|
277
|
+
newPluginAddress: string;
|
|
278
|
+
}
|
|
279
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
280
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
281
|
+
type Log = TypedEventLog<Event>;
|
|
282
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
291
283
|
}
|
|
292
|
-
export
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
284
|
+
export declare namespace PluginConfigEvent {
|
|
285
|
+
type InputTuple = [newPluginConfig: BigNumberish];
|
|
286
|
+
type OutputTuple = [newPluginConfig: bigint];
|
|
287
|
+
interface OutputObject {
|
|
288
|
+
newPluginConfig: bigint;
|
|
289
|
+
}
|
|
290
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
291
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
292
|
+
type Log = TypedEventLog<Event>;
|
|
293
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
296
294
|
}
|
|
297
|
-
export
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
295
|
+
export declare namespace SwapEvent {
|
|
296
|
+
type InputTuple = [
|
|
297
|
+
sender: AddressLike,
|
|
298
|
+
recipient: AddressLike,
|
|
299
|
+
amount0: BigNumberish,
|
|
300
|
+
amount1: BigNumberish,
|
|
301
|
+
price: BigNumberish,
|
|
302
|
+
liquidity: BigNumberish,
|
|
303
|
+
tick: BigNumberish
|
|
304
|
+
];
|
|
305
|
+
type OutputTuple = [
|
|
306
|
+
sender: string,
|
|
307
|
+
recipient: string,
|
|
308
|
+
amount0: bigint,
|
|
309
|
+
amount1: bigint,
|
|
310
|
+
price: bigint,
|
|
311
|
+
liquidity: bigint,
|
|
312
|
+
tick: bigint
|
|
313
|
+
];
|
|
314
|
+
interface OutputObject {
|
|
315
|
+
sender: string;
|
|
316
|
+
recipient: string;
|
|
317
|
+
amount0: bigint;
|
|
318
|
+
amount1: bigint;
|
|
319
|
+
price: bigint;
|
|
320
|
+
liquidity: bigint;
|
|
321
|
+
tick: bigint;
|
|
322
|
+
}
|
|
323
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
324
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
325
|
+
type Log = TypedEventLog<Event>;
|
|
326
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
307
327
|
}
|
|
308
|
-
export
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
export interface TickSpacingEventObject {
|
|
319
|
-
newTickSpacing: number;
|
|
328
|
+
export declare namespace TickSpacingEvent {
|
|
329
|
+
type InputTuple = [newTickSpacing: BigNumberish];
|
|
330
|
+
type OutputTuple = [newTickSpacing: bigint];
|
|
331
|
+
interface OutputObject {
|
|
332
|
+
newTickSpacing: bigint;
|
|
333
|
+
}
|
|
334
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
335
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
336
|
+
type Log = TypedEventLog<Event>;
|
|
337
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
320
338
|
}
|
|
321
|
-
export type TickSpacingEvent = TypedEvent<[number], TickSpacingEventObject>;
|
|
322
|
-
export type TickSpacingEventFilter = TypedEventFilter<TickSpacingEvent>;
|
|
323
339
|
export interface AlgebraIntegralPool extends BaseContract {
|
|
324
|
-
connect(
|
|
325
|
-
|
|
326
|
-
deployed(): Promise<this>;
|
|
340
|
+
connect(runner?: ContractRunner | null): AlgebraIntegralPool;
|
|
341
|
+
waitForDeployment(): Promise<this>;
|
|
327
342
|
interface: AlgebraIntegralPoolInterface;
|
|
328
|
-
queryFilter<
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
343
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
344
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
345
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
346
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
347
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
348
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
349
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
350
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
351
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
352
|
+
burn: TypedContractMethod<[
|
|
353
|
+
bottomTick: BigNumberish,
|
|
354
|
+
topTick: BigNumberish,
|
|
355
|
+
amount: BigNumberish,
|
|
356
|
+
data: BytesLike
|
|
357
|
+
], [
|
|
358
|
+
[bigint, bigint] & {
|
|
359
|
+
amount0: bigint;
|
|
360
|
+
amount1: bigint;
|
|
361
|
+
}
|
|
362
|
+
], "nonpayable">;
|
|
363
|
+
claim: TypedContractMethod<[
|
|
364
|
+
erc20Rebasing_: AddressLike,
|
|
365
|
+
recipient_: AddressLike,
|
|
366
|
+
amount_: BigNumberish
|
|
367
|
+
], [
|
|
368
|
+
bigint
|
|
369
|
+
], "nonpayable">;
|
|
370
|
+
collect: TypedContractMethod<[
|
|
371
|
+
recipient: AddressLike,
|
|
372
|
+
bottomTick: BigNumberish,
|
|
373
|
+
topTick: BigNumberish,
|
|
374
|
+
amount0Requested: BigNumberish,
|
|
375
|
+
amount1Requested: BigNumberish
|
|
376
|
+
], [
|
|
377
|
+
[bigint, bigint] & {
|
|
378
|
+
amount0: bigint;
|
|
379
|
+
amount1: bigint;
|
|
380
|
+
}
|
|
381
|
+
], "nonpayable">;
|
|
382
|
+
communityFeeLastTimestamp: TypedContractMethod<[], [bigint], "view">;
|
|
383
|
+
communityVault: TypedContractMethod<[], [string], "view">;
|
|
384
|
+
configure: TypedContractMethod<[
|
|
385
|
+
erc20Rebasing_: AddressLike,
|
|
386
|
+
mode_: BigNumberish
|
|
387
|
+
], [
|
|
388
|
+
bigint
|
|
389
|
+
], "nonpayable">;
|
|
390
|
+
factory: TypedContractMethod<[], [string], "view">;
|
|
391
|
+
fee: TypedContractMethod<[], [bigint], "view">;
|
|
392
|
+
flash: TypedContractMethod<[
|
|
393
|
+
recipient: AddressLike,
|
|
394
|
+
amount0: BigNumberish,
|
|
395
|
+
amount1: BigNumberish,
|
|
396
|
+
data: BytesLike
|
|
397
|
+
], [
|
|
398
|
+
void
|
|
399
|
+
], "nonpayable">;
|
|
400
|
+
getCommunityFeePending: TypedContractMethod<[], [[bigint, bigint]], "view">;
|
|
401
|
+
getReserves: TypedContractMethod<[], [[bigint, bigint]], "view">;
|
|
402
|
+
globalState: TypedContractMethod<[
|
|
403
|
+
], [
|
|
404
|
+
[
|
|
405
|
+
bigint,
|
|
406
|
+
bigint,
|
|
407
|
+
bigint,
|
|
408
|
+
bigint,
|
|
409
|
+
bigint,
|
|
367
410
|
boolean
|
|
368
411
|
] & {
|
|
369
|
-
price:
|
|
370
|
-
tick:
|
|
371
|
-
lastFee:
|
|
372
|
-
pluginConfig:
|
|
373
|
-
communityFee:
|
|
374
|
-
unlocked: boolean;
|
|
375
|
-
}>;
|
|
376
|
-
initialize(initialPrice: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
377
|
-
from?: PromiseOrValue<string>;
|
|
378
|
-
}): Promise<ContractTransaction>;
|
|
379
|
-
isUnlocked(overrides?: CallOverrides): Promise<[boolean] & {
|
|
412
|
+
price: bigint;
|
|
413
|
+
tick: bigint;
|
|
414
|
+
lastFee: bigint;
|
|
415
|
+
pluginConfig: bigint;
|
|
416
|
+
communityFee: bigint;
|
|
380
417
|
unlocked: boolean;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
418
|
+
}
|
|
419
|
+
], "view">;
|
|
420
|
+
initialize: TypedContractMethod<[
|
|
421
|
+
initialPrice: BigNumberish
|
|
422
|
+
], [
|
|
423
|
+
void
|
|
424
|
+
], "nonpayable">;
|
|
425
|
+
isUnlocked: TypedContractMethod<[], [boolean], "view">;
|
|
426
|
+
liquidity: TypedContractMethod<[], [bigint], "view">;
|
|
427
|
+
maxLiquidityPerTick: TypedContractMethod<[], [bigint], "view">;
|
|
428
|
+
mint: TypedContractMethod<[
|
|
429
|
+
leftoversRecipient: AddressLike,
|
|
430
|
+
recipient: AddressLike,
|
|
431
|
+
bottomTick: BigNumberish,
|
|
432
|
+
topTick: BigNumberish,
|
|
433
|
+
liquidityDesired: BigNumberish,
|
|
434
|
+
data: BytesLike
|
|
435
|
+
], [
|
|
436
|
+
[
|
|
437
|
+
bigint,
|
|
438
|
+
bigint,
|
|
439
|
+
bigint
|
|
395
440
|
] & {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
441
|
+
amount0: bigint;
|
|
442
|
+
amount1: bigint;
|
|
443
|
+
liquidityActual: bigint;
|
|
444
|
+
}
|
|
445
|
+
], "nonpayable">;
|
|
446
|
+
nextTickGlobal: TypedContractMethod<[], [bigint], "view">;
|
|
447
|
+
plugin: TypedContractMethod<[], [string], "view">;
|
|
448
|
+
positions: TypedContractMethod<[
|
|
449
|
+
arg0: BytesLike
|
|
450
|
+
], [
|
|
451
|
+
[
|
|
452
|
+
bigint,
|
|
453
|
+
bigint,
|
|
454
|
+
bigint,
|
|
455
|
+
bigint,
|
|
456
|
+
bigint
|
|
411
457
|
] & {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
from?: PromiseOrValue<string>;
|
|
431
|
-
}): Promise<ContractTransaction>;
|
|
432
|
-
setPluginConfig(newConfig: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
433
|
-
from?: PromiseOrValue<string>;
|
|
434
|
-
}): Promise<ContractTransaction>;
|
|
435
|
-
setTickSpacing(newTickSpacing: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
436
|
-
from?: PromiseOrValue<string>;
|
|
437
|
-
}): Promise<ContractTransaction>;
|
|
438
|
-
swap(recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountRequired: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
439
|
-
from?: PromiseOrValue<string>;
|
|
440
|
-
}): Promise<ContractTransaction>;
|
|
441
|
-
swapWithPaymentInAdvance(leftoversRecipient: PromiseOrValue<string>, recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountToSell: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
442
|
-
from?: PromiseOrValue<string>;
|
|
443
|
-
}): Promise<ContractTransaction>;
|
|
444
|
-
tickSpacing(overrides?: CallOverrides): Promise<[number]>;
|
|
445
|
-
tickTable(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
446
|
-
tickTreeRoot(overrides?: CallOverrides): Promise<[number]>;
|
|
447
|
-
tickTreeSecondLayer(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
448
|
-
ticks(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
|
|
449
|
-
BigNumber,
|
|
450
|
-
BigNumber,
|
|
451
|
-
number,
|
|
452
|
-
number,
|
|
453
|
-
BigNumber,
|
|
454
|
-
BigNumber
|
|
458
|
+
liquidity: bigint;
|
|
459
|
+
innerFeeGrowth0Token: bigint;
|
|
460
|
+
innerFeeGrowth1Token: bigint;
|
|
461
|
+
fees0: bigint;
|
|
462
|
+
fees1: bigint;
|
|
463
|
+
}
|
|
464
|
+
], "view">;
|
|
465
|
+
prevTickGlobal: TypedContractMethod<[], [bigint], "view">;
|
|
466
|
+
safelyGetStateOfAMM: TypedContractMethod<[
|
|
467
|
+
], [
|
|
468
|
+
[
|
|
469
|
+
bigint,
|
|
470
|
+
bigint,
|
|
471
|
+
bigint,
|
|
472
|
+
bigint,
|
|
473
|
+
bigint,
|
|
474
|
+
bigint,
|
|
475
|
+
bigint
|
|
455
476
|
] & {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
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
|
-
BigNumber,
|
|
535
|
-
number,
|
|
536
|
-
number
|
|
537
|
-
] & {
|
|
538
|
-
sqrtPrice: BigNumber;
|
|
539
|
-
tick: number;
|
|
540
|
-
lastFee: number;
|
|
541
|
-
pluginConfig: number;
|
|
542
|
-
activeLiquidity: BigNumber;
|
|
543
|
-
nextTick: number;
|
|
544
|
-
previousTick: number;
|
|
545
|
-
}>;
|
|
546
|
-
setCommunityFee(newCommunityFee: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
547
|
-
from?: PromiseOrValue<string>;
|
|
548
|
-
}): Promise<ContractTransaction>;
|
|
549
|
-
setCommunityVault(newCommunityVault: PromiseOrValue<string>, overrides?: Overrides & {
|
|
550
|
-
from?: PromiseOrValue<string>;
|
|
551
|
-
}): Promise<ContractTransaction>;
|
|
552
|
-
setFee(newFee: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
553
|
-
from?: PromiseOrValue<string>;
|
|
554
|
-
}): Promise<ContractTransaction>;
|
|
555
|
-
setPlugin(newPluginAddress: PromiseOrValue<string>, overrides?: Overrides & {
|
|
556
|
-
from?: PromiseOrValue<string>;
|
|
557
|
-
}): Promise<ContractTransaction>;
|
|
558
|
-
setPluginConfig(newConfig: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
559
|
-
from?: PromiseOrValue<string>;
|
|
560
|
-
}): Promise<ContractTransaction>;
|
|
561
|
-
setTickSpacing(newTickSpacing: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
562
|
-
from?: PromiseOrValue<string>;
|
|
563
|
-
}): Promise<ContractTransaction>;
|
|
564
|
-
swap(recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountRequired: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
565
|
-
from?: PromiseOrValue<string>;
|
|
566
|
-
}): Promise<ContractTransaction>;
|
|
567
|
-
swapWithPaymentInAdvance(leftoversRecipient: PromiseOrValue<string>, recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountToSell: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
568
|
-
from?: PromiseOrValue<string>;
|
|
569
|
-
}): Promise<ContractTransaction>;
|
|
570
|
-
tickSpacing(overrides?: CallOverrides): Promise<number>;
|
|
571
|
-
tickTable(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
572
|
-
tickTreeRoot(overrides?: CallOverrides): Promise<number>;
|
|
573
|
-
tickTreeSecondLayer(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
574
|
-
ticks(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
|
|
575
|
-
BigNumber,
|
|
576
|
-
BigNumber,
|
|
577
|
-
number,
|
|
578
|
-
number,
|
|
579
|
-
BigNumber,
|
|
580
|
-
BigNumber
|
|
581
|
-
] & {
|
|
582
|
-
liquidityTotal: BigNumber;
|
|
583
|
-
liquidityDelta: BigNumber;
|
|
584
|
-
prevTick: number;
|
|
585
|
-
nextTick: number;
|
|
586
|
-
outerFeeGrowth0Token: BigNumber;
|
|
587
|
-
outerFeeGrowth1Token: BigNumber;
|
|
588
|
-
}>;
|
|
589
|
-
token0(overrides?: CallOverrides): Promise<string>;
|
|
590
|
-
token1(overrides?: CallOverrides): Promise<string>;
|
|
591
|
-
totalFeeGrowth0Token(overrides?: CallOverrides): Promise<BigNumber>;
|
|
592
|
-
totalFeeGrowth1Token(overrides?: CallOverrides): Promise<BigNumber>;
|
|
593
|
-
callStatic: {
|
|
594
|
-
burn(bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<[
|
|
595
|
-
BigNumber,
|
|
596
|
-
BigNumber
|
|
597
|
-
] & {
|
|
598
|
-
amount0: BigNumber;
|
|
599
|
-
amount1: BigNumber;
|
|
600
|
-
}>;
|
|
601
|
-
claim(erc20Rebasing_: PromiseOrValue<string>, recipient_: PromiseOrValue<string>, amount_: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
602
|
-
collect(recipient: PromiseOrValue<string>, bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[
|
|
603
|
-
BigNumber,
|
|
604
|
-
BigNumber
|
|
477
|
+
sqrtPrice: bigint;
|
|
478
|
+
tick: bigint;
|
|
479
|
+
lastFee: bigint;
|
|
480
|
+
pluginConfig: bigint;
|
|
481
|
+
activeLiquidity: bigint;
|
|
482
|
+
nextTick: bigint;
|
|
483
|
+
previousTick: bigint;
|
|
484
|
+
}
|
|
485
|
+
], "view">;
|
|
486
|
+
setCommunityFee: TypedContractMethod<[
|
|
487
|
+
newCommunityFee: BigNumberish
|
|
488
|
+
], [
|
|
489
|
+
void
|
|
490
|
+
], "nonpayable">;
|
|
491
|
+
setCommunityVault: TypedContractMethod<[
|
|
492
|
+
newCommunityVault: AddressLike
|
|
493
|
+
], [
|
|
494
|
+
void
|
|
495
|
+
], "nonpayable">;
|
|
496
|
+
setFee: TypedContractMethod<[newFee: BigNumberish], [void], "nonpayable">;
|
|
497
|
+
setPlugin: TypedContractMethod<[
|
|
498
|
+
newPluginAddress: AddressLike
|
|
499
|
+
], [
|
|
500
|
+
void
|
|
501
|
+
], "nonpayable">;
|
|
502
|
+
setPluginConfig: TypedContractMethod<[
|
|
503
|
+
newConfig: BigNumberish
|
|
504
|
+
], [
|
|
505
|
+
void
|
|
506
|
+
], "nonpayable">;
|
|
507
|
+
setTickSpacing: TypedContractMethod<[
|
|
508
|
+
newTickSpacing: BigNumberish
|
|
509
|
+
], [
|
|
510
|
+
void
|
|
511
|
+
], "nonpayable">;
|
|
512
|
+
swap: TypedContractMethod<[
|
|
513
|
+
recipient: AddressLike,
|
|
514
|
+
zeroToOne: boolean,
|
|
515
|
+
amountRequired: BigNumberish,
|
|
516
|
+
limitSqrtPrice: BigNumberish,
|
|
517
|
+
data: BytesLike
|
|
518
|
+
], [
|
|
519
|
+
[bigint, bigint] & {
|
|
520
|
+
amount0: bigint;
|
|
521
|
+
amount1: bigint;
|
|
522
|
+
}
|
|
523
|
+
], "nonpayable">;
|
|
524
|
+
swapWithPaymentInAdvance: TypedContractMethod<[
|
|
525
|
+
leftoversRecipient: AddressLike,
|
|
526
|
+
recipient: AddressLike,
|
|
527
|
+
zeroToOne: boolean,
|
|
528
|
+
amountToSell: BigNumberish,
|
|
529
|
+
limitSqrtPrice: BigNumberish,
|
|
530
|
+
data: BytesLike
|
|
531
|
+
], [
|
|
532
|
+
[bigint, bigint] & {
|
|
533
|
+
amount0: bigint;
|
|
534
|
+
amount1: bigint;
|
|
535
|
+
}
|
|
536
|
+
], "nonpayable">;
|
|
537
|
+
tickSpacing: TypedContractMethod<[], [bigint], "view">;
|
|
538
|
+
tickTable: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
539
|
+
tickTreeRoot: TypedContractMethod<[], [bigint], "view">;
|
|
540
|
+
tickTreeSecondLayer: TypedContractMethod<[
|
|
541
|
+
arg0: BigNumberish
|
|
542
|
+
], [
|
|
543
|
+
bigint
|
|
544
|
+
], "view">;
|
|
545
|
+
ticks: TypedContractMethod<[
|
|
546
|
+
arg0: BigNumberish
|
|
547
|
+
], [
|
|
548
|
+
[
|
|
549
|
+
bigint,
|
|
550
|
+
bigint,
|
|
551
|
+
bigint,
|
|
552
|
+
bigint,
|
|
553
|
+
bigint,
|
|
554
|
+
bigint
|
|
605
555
|
] & {
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
556
|
+
liquidityTotal: bigint;
|
|
557
|
+
liquidityDelta: bigint;
|
|
558
|
+
prevTick: bigint;
|
|
559
|
+
nextTick: bigint;
|
|
560
|
+
outerFeeGrowth0Token: bigint;
|
|
561
|
+
outerFeeGrowth1Token: bigint;
|
|
562
|
+
}
|
|
563
|
+
], "view">;
|
|
564
|
+
token0: TypedContractMethod<[], [string], "view">;
|
|
565
|
+
token1: TypedContractMethod<[], [string], "view">;
|
|
566
|
+
totalFeeGrowth0Token: TypedContractMethod<[], [bigint], "view">;
|
|
567
|
+
totalFeeGrowth1Token: TypedContractMethod<[], [bigint], "view">;
|
|
568
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
569
|
+
getFunction(nameOrSignature: "burn"): TypedContractMethod<[
|
|
570
|
+
bottomTick: BigNumberish,
|
|
571
|
+
topTick: BigNumberish,
|
|
572
|
+
amount: BigNumberish,
|
|
573
|
+
data: BytesLike
|
|
574
|
+
], [
|
|
575
|
+
[bigint, bigint] & {
|
|
576
|
+
amount0: bigint;
|
|
577
|
+
amount1: bigint;
|
|
578
|
+
}
|
|
579
|
+
], "nonpayable">;
|
|
580
|
+
getFunction(nameOrSignature: "claim"): TypedContractMethod<[
|
|
581
|
+
erc20Rebasing_: AddressLike,
|
|
582
|
+
recipient_: AddressLike,
|
|
583
|
+
amount_: BigNumberish
|
|
584
|
+
], [
|
|
585
|
+
bigint
|
|
586
|
+
], "nonpayable">;
|
|
587
|
+
getFunction(nameOrSignature: "collect"): TypedContractMethod<[
|
|
588
|
+
recipient: AddressLike,
|
|
589
|
+
bottomTick: BigNumberish,
|
|
590
|
+
topTick: BigNumberish,
|
|
591
|
+
amount0Requested: BigNumberish,
|
|
592
|
+
amount1Requested: BigNumberish
|
|
593
|
+
], [
|
|
594
|
+
[bigint, bigint] & {
|
|
595
|
+
amount0: bigint;
|
|
596
|
+
amount1: bigint;
|
|
597
|
+
}
|
|
598
|
+
], "nonpayable">;
|
|
599
|
+
getFunction(nameOrSignature: "communityFeeLastTimestamp"): TypedContractMethod<[], [bigint], "view">;
|
|
600
|
+
getFunction(nameOrSignature: "communityVault"): TypedContractMethod<[], [string], "view">;
|
|
601
|
+
getFunction(nameOrSignature: "configure"): TypedContractMethod<[
|
|
602
|
+
erc20Rebasing_: AddressLike,
|
|
603
|
+
mode_: BigNumberish
|
|
604
|
+
], [
|
|
605
|
+
bigint
|
|
606
|
+
], "nonpayable">;
|
|
607
|
+
getFunction(nameOrSignature: "factory"): TypedContractMethod<[], [string], "view">;
|
|
608
|
+
getFunction(nameOrSignature: "fee"): TypedContractMethod<[], [bigint], "view">;
|
|
609
|
+
getFunction(nameOrSignature: "flash"): TypedContractMethod<[
|
|
610
|
+
recipient: AddressLike,
|
|
611
|
+
amount0: BigNumberish,
|
|
612
|
+
amount1: BigNumberish,
|
|
613
|
+
data: BytesLike
|
|
614
|
+
], [
|
|
615
|
+
void
|
|
616
|
+
], "nonpayable">;
|
|
617
|
+
getFunction(nameOrSignature: "getCommunityFeePending"): TypedContractMethod<[], [[bigint, bigint]], "view">;
|
|
618
|
+
getFunction(nameOrSignature: "getReserves"): TypedContractMethod<[], [[bigint, bigint]], "view">;
|
|
619
|
+
getFunction(nameOrSignature: "globalState"): TypedContractMethod<[
|
|
620
|
+
], [
|
|
621
|
+
[
|
|
622
|
+
bigint,
|
|
623
|
+
bigint,
|
|
624
|
+
bigint,
|
|
625
|
+
bigint,
|
|
626
|
+
bigint,
|
|
623
627
|
boolean
|
|
624
628
|
] & {
|
|
625
|
-
price:
|
|
626
|
-
tick:
|
|
627
|
-
lastFee:
|
|
628
|
-
pluginConfig:
|
|
629
|
-
communityFee:
|
|
629
|
+
price: bigint;
|
|
630
|
+
tick: bigint;
|
|
631
|
+
lastFee: bigint;
|
|
632
|
+
pluginConfig: bigint;
|
|
633
|
+
communityFee: bigint;
|
|
630
634
|
unlocked: boolean;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
BigNumber,
|
|
650
|
-
BigNumber,
|
|
651
|
-
BigNumber,
|
|
652
|
-
BigNumber
|
|
653
|
-
] & {
|
|
654
|
-
liquidity: BigNumber;
|
|
655
|
-
innerFeeGrowth0Token: BigNumber;
|
|
656
|
-
innerFeeGrowth1Token: BigNumber;
|
|
657
|
-
fees0: BigNumber;
|
|
658
|
-
fees1: BigNumber;
|
|
659
|
-
}>;
|
|
660
|
-
prevTickGlobal(overrides?: CallOverrides): Promise<number>;
|
|
661
|
-
safelyGetStateOfAMM(overrides?: CallOverrides): Promise<[
|
|
662
|
-
BigNumber,
|
|
663
|
-
number,
|
|
664
|
-
number,
|
|
665
|
-
number,
|
|
666
|
-
BigNumber,
|
|
667
|
-
number,
|
|
668
|
-
number
|
|
635
|
+
}
|
|
636
|
+
], "view">;
|
|
637
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[initialPrice: BigNumberish], [void], "nonpayable">;
|
|
638
|
+
getFunction(nameOrSignature: "isUnlocked"): TypedContractMethod<[], [boolean], "view">;
|
|
639
|
+
getFunction(nameOrSignature: "liquidity"): TypedContractMethod<[], [bigint], "view">;
|
|
640
|
+
getFunction(nameOrSignature: "maxLiquidityPerTick"): TypedContractMethod<[], [bigint], "view">;
|
|
641
|
+
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
642
|
+
leftoversRecipient: AddressLike,
|
|
643
|
+
recipient: AddressLike,
|
|
644
|
+
bottomTick: BigNumberish,
|
|
645
|
+
topTick: BigNumberish,
|
|
646
|
+
liquidityDesired: BigNumberish,
|
|
647
|
+
data: BytesLike
|
|
648
|
+
], [
|
|
649
|
+
[
|
|
650
|
+
bigint,
|
|
651
|
+
bigint,
|
|
652
|
+
bigint
|
|
669
653
|
] & {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
BigNumber
|
|
654
|
+
amount0: bigint;
|
|
655
|
+
amount1: bigint;
|
|
656
|
+
liquidityActual: bigint;
|
|
657
|
+
}
|
|
658
|
+
], "nonpayable">;
|
|
659
|
+
getFunction(nameOrSignature: "nextTickGlobal"): TypedContractMethod<[], [bigint], "view">;
|
|
660
|
+
getFunction(nameOrSignature: "plugin"): TypedContractMethod<[], [string], "view">;
|
|
661
|
+
getFunction(nameOrSignature: "positions"): TypedContractMethod<[
|
|
662
|
+
arg0: BytesLike
|
|
663
|
+
], [
|
|
664
|
+
[
|
|
665
|
+
bigint,
|
|
666
|
+
bigint,
|
|
667
|
+
bigint,
|
|
668
|
+
bigint,
|
|
669
|
+
bigint
|
|
687
670
|
] & {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
671
|
+
liquidity: bigint;
|
|
672
|
+
innerFeeGrowth0Token: bigint;
|
|
673
|
+
innerFeeGrowth1Token: bigint;
|
|
674
|
+
fees0: bigint;
|
|
675
|
+
fees1: bigint;
|
|
676
|
+
}
|
|
677
|
+
], "view">;
|
|
678
|
+
getFunction(nameOrSignature: "prevTickGlobal"): TypedContractMethod<[], [bigint], "view">;
|
|
679
|
+
getFunction(nameOrSignature: "safelyGetStateOfAMM"): TypedContractMethod<[
|
|
680
|
+
], [
|
|
681
|
+
[
|
|
682
|
+
bigint,
|
|
683
|
+
bigint,
|
|
684
|
+
bigint,
|
|
685
|
+
bigint,
|
|
686
|
+
bigint,
|
|
687
|
+
bigint,
|
|
688
|
+
bigint
|
|
694
689
|
] & {
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
690
|
+
sqrtPrice: bigint;
|
|
691
|
+
tick: bigint;
|
|
692
|
+
lastFee: bigint;
|
|
693
|
+
pluginConfig: bigint;
|
|
694
|
+
activeLiquidity: bigint;
|
|
695
|
+
nextTick: bigint;
|
|
696
|
+
previousTick: bigint;
|
|
697
|
+
}
|
|
698
|
+
], "view">;
|
|
699
|
+
getFunction(nameOrSignature: "setCommunityFee"): TypedContractMethod<[newCommunityFee: BigNumberish], [void], "nonpayable">;
|
|
700
|
+
getFunction(nameOrSignature: "setCommunityVault"): TypedContractMethod<[
|
|
701
|
+
newCommunityVault: AddressLike
|
|
702
|
+
], [
|
|
703
|
+
void
|
|
704
|
+
], "nonpayable">;
|
|
705
|
+
getFunction(nameOrSignature: "setFee"): TypedContractMethod<[newFee: BigNumberish], [void], "nonpayable">;
|
|
706
|
+
getFunction(nameOrSignature: "setPlugin"): TypedContractMethod<[newPluginAddress: AddressLike], [void], "nonpayable">;
|
|
707
|
+
getFunction(nameOrSignature: "setPluginConfig"): TypedContractMethod<[newConfig: BigNumberish], [void], "nonpayable">;
|
|
708
|
+
getFunction(nameOrSignature: "setTickSpacing"): TypedContractMethod<[newTickSpacing: BigNumberish], [void], "nonpayable">;
|
|
709
|
+
getFunction(nameOrSignature: "swap"): TypedContractMethod<[
|
|
710
|
+
recipient: AddressLike,
|
|
711
|
+
zeroToOne: boolean,
|
|
712
|
+
amountRequired: BigNumberish,
|
|
713
|
+
limitSqrtPrice: BigNumberish,
|
|
714
|
+
data: BytesLike
|
|
715
|
+
], [
|
|
716
|
+
[bigint, bigint] & {
|
|
717
|
+
amount0: bigint;
|
|
718
|
+
amount1: bigint;
|
|
719
|
+
}
|
|
720
|
+
], "nonpayable">;
|
|
721
|
+
getFunction(nameOrSignature: "swapWithPaymentInAdvance"): TypedContractMethod<[
|
|
722
|
+
leftoversRecipient: AddressLike,
|
|
723
|
+
recipient: AddressLike,
|
|
724
|
+
zeroToOne: boolean,
|
|
725
|
+
amountToSell: BigNumberish,
|
|
726
|
+
limitSqrtPrice: BigNumberish,
|
|
727
|
+
data: BytesLike
|
|
728
|
+
], [
|
|
729
|
+
[bigint, bigint] & {
|
|
730
|
+
amount0: bigint;
|
|
731
|
+
amount1: bigint;
|
|
732
|
+
}
|
|
733
|
+
], "nonpayable">;
|
|
734
|
+
getFunction(nameOrSignature: "tickSpacing"): TypedContractMethod<[], [bigint], "view">;
|
|
735
|
+
getFunction(nameOrSignature: "tickTable"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
736
|
+
getFunction(nameOrSignature: "tickTreeRoot"): TypedContractMethod<[], [bigint], "view">;
|
|
737
|
+
getFunction(nameOrSignature: "tickTreeSecondLayer"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
738
|
+
getFunction(nameOrSignature: "ticks"): TypedContractMethod<[
|
|
739
|
+
arg0: BigNumberish
|
|
740
|
+
], [
|
|
741
|
+
[
|
|
742
|
+
bigint,
|
|
743
|
+
bigint,
|
|
744
|
+
bigint,
|
|
745
|
+
bigint,
|
|
746
|
+
bigint,
|
|
747
|
+
bigint
|
|
709
748
|
] & {
|
|
710
|
-
liquidityTotal:
|
|
711
|
-
liquidityDelta:
|
|
712
|
-
prevTick:
|
|
713
|
-
nextTick:
|
|
714
|
-
outerFeeGrowth0Token:
|
|
715
|
-
outerFeeGrowth1Token:
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
749
|
+
liquidityTotal: bigint;
|
|
750
|
+
liquidityDelta: bigint;
|
|
751
|
+
prevTick: bigint;
|
|
752
|
+
nextTick: bigint;
|
|
753
|
+
outerFeeGrowth0Token: bigint;
|
|
754
|
+
outerFeeGrowth1Token: bigint;
|
|
755
|
+
}
|
|
756
|
+
], "view">;
|
|
757
|
+
getFunction(nameOrSignature: "token0"): TypedContractMethod<[], [string], "view">;
|
|
758
|
+
getFunction(nameOrSignature: "token1"): TypedContractMethod<[], [string], "view">;
|
|
759
|
+
getFunction(nameOrSignature: "totalFeeGrowth0Token"): TypedContractMethod<[], [bigint], "view">;
|
|
760
|
+
getFunction(nameOrSignature: "totalFeeGrowth1Token"): TypedContractMethod<[], [bigint], "view">;
|
|
761
|
+
getEvent(key: "Burn"): TypedContractEvent<BurnEvent.InputTuple, BurnEvent.OutputTuple, BurnEvent.OutputObject>;
|
|
762
|
+
getEvent(key: "Collect"): TypedContractEvent<CollectEvent.InputTuple, CollectEvent.OutputTuple, CollectEvent.OutputObject>;
|
|
763
|
+
getEvent(key: "CommunityFee"): TypedContractEvent<CommunityFeeEvent.InputTuple, CommunityFeeEvent.OutputTuple, CommunityFeeEvent.OutputObject>;
|
|
764
|
+
getEvent(key: "CommunityVault"): TypedContractEvent<CommunityVaultEvent.InputTuple, CommunityVaultEvent.OutputTuple, CommunityVaultEvent.OutputObject>;
|
|
765
|
+
getEvent(key: "Fee"): TypedContractEvent<FeeEvent.InputTuple, FeeEvent.OutputTuple, FeeEvent.OutputObject>;
|
|
766
|
+
getEvent(key: "Flash"): TypedContractEvent<FlashEvent.InputTuple, FlashEvent.OutputTuple, FlashEvent.OutputObject>;
|
|
767
|
+
getEvent(key: "Initialize"): TypedContractEvent<InitializeEvent.InputTuple, InitializeEvent.OutputTuple, InitializeEvent.OutputObject>;
|
|
768
|
+
getEvent(key: "Mint"): TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
769
|
+
getEvent(key: "Plugin"): TypedContractEvent<PluginEvent.InputTuple, PluginEvent.OutputTuple, PluginEvent.OutputObject>;
|
|
770
|
+
getEvent(key: "PluginConfig"): TypedContractEvent<PluginConfigEvent.InputTuple, PluginConfigEvent.OutputTuple, PluginConfigEvent.OutputObject>;
|
|
771
|
+
getEvent(key: "Swap"): TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
|
|
772
|
+
getEvent(key: "TickSpacing"): TypedContractEvent<TickSpacingEvent.InputTuple, TickSpacingEvent.OutputTuple, TickSpacingEvent.OutputObject>;
|
|
722
773
|
filters: {
|
|
723
|
-
"Burn(address,int24,int24,uint128,uint256,uint256)"
|
|
724
|
-
Burn
|
|
725
|
-
"Collect(address,address,int24,int24,uint128,uint128)"
|
|
726
|
-
Collect
|
|
727
|
-
"CommunityFee(uint16)"
|
|
728
|
-
CommunityFee
|
|
729
|
-
"CommunityVault(address)"
|
|
730
|
-
CommunityVault
|
|
731
|
-
"Fee(uint16)"
|
|
732
|
-
Fee
|
|
733
|
-
"Flash(address,address,uint256,uint256,uint256,uint256)"
|
|
734
|
-
Flash
|
|
735
|
-
"Initialize(uint160,int24)"
|
|
736
|
-
Initialize
|
|
737
|
-
"Mint(address,address,int24,int24,uint128,uint256,uint256)"
|
|
738
|
-
Mint
|
|
739
|
-
"Plugin(address)"
|
|
740
|
-
Plugin
|
|
741
|
-
"PluginConfig(uint8)"
|
|
742
|
-
PluginConfig
|
|
743
|
-
"Swap(address,address,int256,int256,uint160,uint128,int24)"
|
|
744
|
-
Swap
|
|
745
|
-
"TickSpacing(int24)"
|
|
746
|
-
TickSpacing
|
|
747
|
-
};
|
|
748
|
-
estimateGas: {
|
|
749
|
-
burn(bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
750
|
-
from?: PromiseOrValue<string>;
|
|
751
|
-
}): Promise<BigNumber>;
|
|
752
|
-
claim(erc20Rebasing_: PromiseOrValue<string>, recipient_: PromiseOrValue<string>, amount_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
753
|
-
from?: PromiseOrValue<string>;
|
|
754
|
-
}): Promise<BigNumber>;
|
|
755
|
-
collect(recipient: PromiseOrValue<string>, bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
756
|
-
from?: PromiseOrValue<string>;
|
|
757
|
-
}): Promise<BigNumber>;
|
|
758
|
-
communityFeeLastTimestamp(overrides?: CallOverrides): Promise<BigNumber>;
|
|
759
|
-
communityVault(overrides?: CallOverrides): Promise<BigNumber>;
|
|
760
|
-
configure(erc20Rebasing_: PromiseOrValue<string>, mode_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
761
|
-
from?: PromiseOrValue<string>;
|
|
762
|
-
}): Promise<BigNumber>;
|
|
763
|
-
factory(overrides?: CallOverrides): Promise<BigNumber>;
|
|
764
|
-
fee(overrides?: CallOverrides): Promise<BigNumber>;
|
|
765
|
-
flash(recipient: PromiseOrValue<string>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
766
|
-
from?: PromiseOrValue<string>;
|
|
767
|
-
}): Promise<BigNumber>;
|
|
768
|
-
getCommunityFeePending(overrides?: CallOverrides): Promise<BigNumber>;
|
|
769
|
-
getReserves(overrides?: CallOverrides): Promise<BigNumber>;
|
|
770
|
-
globalState(overrides?: CallOverrides): Promise<BigNumber>;
|
|
771
|
-
initialize(initialPrice: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
772
|
-
from?: PromiseOrValue<string>;
|
|
773
|
-
}): Promise<BigNumber>;
|
|
774
|
-
isUnlocked(overrides?: CallOverrides): Promise<BigNumber>;
|
|
775
|
-
liquidity(overrides?: CallOverrides): Promise<BigNumber>;
|
|
776
|
-
maxLiquidityPerTick(overrides?: CallOverrides): Promise<BigNumber>;
|
|
777
|
-
mint(leftoversRecipient: PromiseOrValue<string>, recipient: PromiseOrValue<string>, bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, liquidityDesired: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
778
|
-
from?: PromiseOrValue<string>;
|
|
779
|
-
}): Promise<BigNumber>;
|
|
780
|
-
nextTickGlobal(overrides?: CallOverrides): Promise<BigNumber>;
|
|
781
|
-
plugin(overrides?: CallOverrides): Promise<BigNumber>;
|
|
782
|
-
positions(arg0: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
783
|
-
prevTickGlobal(overrides?: CallOverrides): Promise<BigNumber>;
|
|
784
|
-
safelyGetStateOfAMM(overrides?: CallOverrides): Promise<BigNumber>;
|
|
785
|
-
setCommunityFee(newCommunityFee: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
786
|
-
from?: PromiseOrValue<string>;
|
|
787
|
-
}): Promise<BigNumber>;
|
|
788
|
-
setCommunityVault(newCommunityVault: PromiseOrValue<string>, overrides?: Overrides & {
|
|
789
|
-
from?: PromiseOrValue<string>;
|
|
790
|
-
}): Promise<BigNumber>;
|
|
791
|
-
setFee(newFee: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
792
|
-
from?: PromiseOrValue<string>;
|
|
793
|
-
}): Promise<BigNumber>;
|
|
794
|
-
setPlugin(newPluginAddress: PromiseOrValue<string>, overrides?: Overrides & {
|
|
795
|
-
from?: PromiseOrValue<string>;
|
|
796
|
-
}): Promise<BigNumber>;
|
|
797
|
-
setPluginConfig(newConfig: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
798
|
-
from?: PromiseOrValue<string>;
|
|
799
|
-
}): Promise<BigNumber>;
|
|
800
|
-
setTickSpacing(newTickSpacing: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
801
|
-
from?: PromiseOrValue<string>;
|
|
802
|
-
}): Promise<BigNumber>;
|
|
803
|
-
swap(recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountRequired: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
804
|
-
from?: PromiseOrValue<string>;
|
|
805
|
-
}): Promise<BigNumber>;
|
|
806
|
-
swapWithPaymentInAdvance(leftoversRecipient: PromiseOrValue<string>, recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountToSell: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
807
|
-
from?: PromiseOrValue<string>;
|
|
808
|
-
}): Promise<BigNumber>;
|
|
809
|
-
tickSpacing(overrides?: CallOverrides): Promise<BigNumber>;
|
|
810
|
-
tickTable(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
811
|
-
tickTreeRoot(overrides?: CallOverrides): Promise<BigNumber>;
|
|
812
|
-
tickTreeSecondLayer(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
813
|
-
ticks(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
814
|
-
token0(overrides?: CallOverrides): Promise<BigNumber>;
|
|
815
|
-
token1(overrides?: CallOverrides): Promise<BigNumber>;
|
|
816
|
-
totalFeeGrowth0Token(overrides?: CallOverrides): Promise<BigNumber>;
|
|
817
|
-
totalFeeGrowth1Token(overrides?: CallOverrides): Promise<BigNumber>;
|
|
818
|
-
};
|
|
819
|
-
populateTransaction: {
|
|
820
|
-
burn(bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
821
|
-
from?: PromiseOrValue<string>;
|
|
822
|
-
}): Promise<PopulatedTransaction>;
|
|
823
|
-
claim(erc20Rebasing_: PromiseOrValue<string>, recipient_: PromiseOrValue<string>, amount_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
824
|
-
from?: PromiseOrValue<string>;
|
|
825
|
-
}): Promise<PopulatedTransaction>;
|
|
826
|
-
collect(recipient: PromiseOrValue<string>, bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, amount0Requested: PromiseOrValue<BigNumberish>, amount1Requested: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
827
|
-
from?: PromiseOrValue<string>;
|
|
828
|
-
}): Promise<PopulatedTransaction>;
|
|
829
|
-
communityFeeLastTimestamp(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
830
|
-
communityVault(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
831
|
-
configure(erc20Rebasing_: PromiseOrValue<string>, mode_: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
832
|
-
from?: PromiseOrValue<string>;
|
|
833
|
-
}): Promise<PopulatedTransaction>;
|
|
834
|
-
factory(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
835
|
-
fee(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
836
|
-
flash(recipient: PromiseOrValue<string>, amount0: PromiseOrValue<BigNumberish>, amount1: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
837
|
-
from?: PromiseOrValue<string>;
|
|
838
|
-
}): Promise<PopulatedTransaction>;
|
|
839
|
-
getCommunityFeePending(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
840
|
-
getReserves(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
841
|
-
globalState(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
842
|
-
initialize(initialPrice: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
843
|
-
from?: PromiseOrValue<string>;
|
|
844
|
-
}): Promise<PopulatedTransaction>;
|
|
845
|
-
isUnlocked(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
846
|
-
liquidity(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
847
|
-
maxLiquidityPerTick(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
848
|
-
mint(leftoversRecipient: PromiseOrValue<string>, recipient: PromiseOrValue<string>, bottomTick: PromiseOrValue<BigNumberish>, topTick: PromiseOrValue<BigNumberish>, liquidityDesired: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
849
|
-
from?: PromiseOrValue<string>;
|
|
850
|
-
}): Promise<PopulatedTransaction>;
|
|
851
|
-
nextTickGlobal(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
852
|
-
plugin(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
853
|
-
positions(arg0: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
854
|
-
prevTickGlobal(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
855
|
-
safelyGetStateOfAMM(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
856
|
-
setCommunityFee(newCommunityFee: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
857
|
-
from?: PromiseOrValue<string>;
|
|
858
|
-
}): Promise<PopulatedTransaction>;
|
|
859
|
-
setCommunityVault(newCommunityVault: PromiseOrValue<string>, overrides?: Overrides & {
|
|
860
|
-
from?: PromiseOrValue<string>;
|
|
861
|
-
}): Promise<PopulatedTransaction>;
|
|
862
|
-
setFee(newFee: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
863
|
-
from?: PromiseOrValue<string>;
|
|
864
|
-
}): Promise<PopulatedTransaction>;
|
|
865
|
-
setPlugin(newPluginAddress: PromiseOrValue<string>, overrides?: Overrides & {
|
|
866
|
-
from?: PromiseOrValue<string>;
|
|
867
|
-
}): Promise<PopulatedTransaction>;
|
|
868
|
-
setPluginConfig(newConfig: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
869
|
-
from?: PromiseOrValue<string>;
|
|
870
|
-
}): Promise<PopulatedTransaction>;
|
|
871
|
-
setTickSpacing(newTickSpacing: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
872
|
-
from?: PromiseOrValue<string>;
|
|
873
|
-
}): Promise<PopulatedTransaction>;
|
|
874
|
-
swap(recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountRequired: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
875
|
-
from?: PromiseOrValue<string>;
|
|
876
|
-
}): Promise<PopulatedTransaction>;
|
|
877
|
-
swapWithPaymentInAdvance(leftoversRecipient: PromiseOrValue<string>, recipient: PromiseOrValue<string>, zeroToOne: PromiseOrValue<boolean>, amountToSell: PromiseOrValue<BigNumberish>, limitSqrtPrice: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
878
|
-
from?: PromiseOrValue<string>;
|
|
879
|
-
}): Promise<PopulatedTransaction>;
|
|
880
|
-
tickSpacing(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
881
|
-
tickTable(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
882
|
-
tickTreeRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
883
|
-
tickTreeSecondLayer(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
884
|
-
ticks(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
885
|
-
token0(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
886
|
-
token1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
887
|
-
totalFeeGrowth0Token(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
888
|
-
totalFeeGrowth1Token(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
774
|
+
"Burn(address,int24,int24,uint128,uint256,uint256)": TypedContractEvent<BurnEvent.InputTuple, BurnEvent.OutputTuple, BurnEvent.OutputObject>;
|
|
775
|
+
Burn: TypedContractEvent<BurnEvent.InputTuple, BurnEvent.OutputTuple, BurnEvent.OutputObject>;
|
|
776
|
+
"Collect(address,address,int24,int24,uint128,uint128)": TypedContractEvent<CollectEvent.InputTuple, CollectEvent.OutputTuple, CollectEvent.OutputObject>;
|
|
777
|
+
Collect: TypedContractEvent<CollectEvent.InputTuple, CollectEvent.OutputTuple, CollectEvent.OutputObject>;
|
|
778
|
+
"CommunityFee(uint16)": TypedContractEvent<CommunityFeeEvent.InputTuple, CommunityFeeEvent.OutputTuple, CommunityFeeEvent.OutputObject>;
|
|
779
|
+
CommunityFee: TypedContractEvent<CommunityFeeEvent.InputTuple, CommunityFeeEvent.OutputTuple, CommunityFeeEvent.OutputObject>;
|
|
780
|
+
"CommunityVault(address)": TypedContractEvent<CommunityVaultEvent.InputTuple, CommunityVaultEvent.OutputTuple, CommunityVaultEvent.OutputObject>;
|
|
781
|
+
CommunityVault: TypedContractEvent<CommunityVaultEvent.InputTuple, CommunityVaultEvent.OutputTuple, CommunityVaultEvent.OutputObject>;
|
|
782
|
+
"Fee(uint16)": TypedContractEvent<FeeEvent.InputTuple, FeeEvent.OutputTuple, FeeEvent.OutputObject>;
|
|
783
|
+
Fee: TypedContractEvent<FeeEvent.InputTuple, FeeEvent.OutputTuple, FeeEvent.OutputObject>;
|
|
784
|
+
"Flash(address,address,uint256,uint256,uint256,uint256)": TypedContractEvent<FlashEvent.InputTuple, FlashEvent.OutputTuple, FlashEvent.OutputObject>;
|
|
785
|
+
Flash: TypedContractEvent<FlashEvent.InputTuple, FlashEvent.OutputTuple, FlashEvent.OutputObject>;
|
|
786
|
+
"Initialize(uint160,int24)": TypedContractEvent<InitializeEvent.InputTuple, InitializeEvent.OutputTuple, InitializeEvent.OutputObject>;
|
|
787
|
+
Initialize: TypedContractEvent<InitializeEvent.InputTuple, InitializeEvent.OutputTuple, InitializeEvent.OutputObject>;
|
|
788
|
+
"Mint(address,address,int24,int24,uint128,uint256,uint256)": TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
789
|
+
Mint: TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
790
|
+
"Plugin(address)": TypedContractEvent<PluginEvent.InputTuple, PluginEvent.OutputTuple, PluginEvent.OutputObject>;
|
|
791
|
+
Plugin: TypedContractEvent<PluginEvent.InputTuple, PluginEvent.OutputTuple, PluginEvent.OutputObject>;
|
|
792
|
+
"PluginConfig(uint8)": TypedContractEvent<PluginConfigEvent.InputTuple, PluginConfigEvent.OutputTuple, PluginConfigEvent.OutputObject>;
|
|
793
|
+
PluginConfig: TypedContractEvent<PluginConfigEvent.InputTuple, PluginConfigEvent.OutputTuple, PluginConfigEvent.OutputObject>;
|
|
794
|
+
"Swap(address,address,int256,int256,uint160,uint128,int24)": TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
|
|
795
|
+
Swap: TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
|
|
796
|
+
"TickSpacing(int24)": TypedContractEvent<TickSpacingEvent.InputTuple, TickSpacingEvent.OutputTuple, TickSpacingEvent.OutputObject>;
|
|
797
|
+
TickSpacing: TypedContractEvent<TickSpacingEvent.InputTuple, TickSpacingEvent.OutputTuple, TickSpacingEvent.OutputObject>;
|
|
889
798
|
};
|
|
890
799
|
}
|