@pancakeswap/infinity-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +12 -0
- package/dist/abis/BinMigratorAbi.d.ts +652 -0
- package/dist/abis/BinMigratorAbi.d.ts.map +1 -0
- package/dist/abis/BinPoolManagerAbi.d.ts +1184 -0
- package/dist/abis/BinPoolManagerAbi.d.ts.map +1 -0
- package/dist/abis/BinPositionManagerAbi.d.ts +667 -0
- package/dist/abis/BinPositionManagerAbi.d.ts.map +1 -0
- package/dist/abis/BinQuoterAbi.d.ts +644 -0
- package/dist/abis/BinQuoterAbi.d.ts.map +1 -0
- package/dist/abis/CLMigratorAbi.d.ts +650 -0
- package/dist/abis/CLMigratorAbi.d.ts.map +1 -0
- package/dist/abis/CLPoolManagerAbi.d.ts +1075 -0
- package/dist/abis/CLPoolManagerAbi.d.ts.map +1 -0
- package/dist/abis/CLPositionManagerAbi.d.ts +1130 -0
- package/dist/abis/CLPositionManagerAbi.d.ts.map +1 -0
- package/dist/abis/CLQuoterAbi.d.ts +644 -0
- package/dist/abis/CLQuoterAbi.d.ts.map +1 -0
- package/dist/abis/FarmingOffChainAbi.d.ts +982 -0
- package/dist/abis/FarmingOffChainAbi.d.ts.map +1 -0
- package/dist/abis/FarmingOffChainCLHelperAbi.d.ts +40 -0
- package/dist/abis/FarmingOffChainCLHelperAbi.d.ts.map +1 -0
- package/dist/abis/MixedQuoterAbi.d.ts +347 -0
- package/dist/abis/MixedQuoterAbi.d.ts.map +1 -0
- package/dist/abis/Permit2ForwardAbi.d.ts +124 -0
- package/dist/abis/Permit2ForwardAbi.d.ts.map +1 -0
- package/dist/abis/ProtocolFeeControllerAbi.d.ts +276 -0
- package/dist/abis/ProtocolFeeControllerAbi.d.ts.map +1 -0
- package/dist/abis/VaultAbi.d.ts +669 -0
- package/dist/abis/VaultAbi.d.ts.map +1 -0
- package/dist/abis/index.d.ts +15 -0
- package/dist/abis/index.d.ts.map +1 -0
- package/dist/constants/abiStructFragments.d.ts +15 -0
- package/dist/constants/abiStructFragments.d.ts.map +1 -0
- package/dist/constants/actions.d.ts +43 -0
- package/dist/constants/actions.d.ts.map +1 -0
- package/dist/constants/actionsAbiParameters.d.ts +244 -0
- package/dist/constants/actionsAbiParameters.d.ts.map +1 -0
- package/dist/constants/addresses.d.ts +22 -0
- package/dist/constants/addresses.d.ts.map +1 -0
- package/dist/constants/binPool.d.ts +11 -0
- package/dist/constants/binPool.d.ts.map +1 -0
- package/dist/constants/fee.d.ts +21 -0
- package/dist/constants/fee.d.ts.map +1 -0
- package/dist/constants/hooksList/bsc.d.ts +8 -0
- package/dist/constants/hooksList/bsc.d.ts.map +1 -0
- package/dist/constants/hooksList/bscTestnet.d.ts +21 -0
- package/dist/constants/hooksList/bscTestnet.d.ts.map +1 -0
- package/dist/constants/hooksList/dynamicFeeHook.d.ts +15 -0
- package/dist/constants/hooksList/dynamicFeeHook.d.ts.map +1 -0
- package/dist/constants/hooksList/index.d.ts +14 -0
- package/dist/constants/hooksList/index.d.ts.map +1 -0
- package/dist/constants/index.d.ts +11 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/internalConstants.d.ts +11 -0
- package/dist/constants/internalConstants.d.ts.map +1 -0
- package/dist/entities/index.d.ts +2 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/pool.d.ts +104 -0
- package/dist/entities/pool.d.ts.map +1 -0
- package/dist/functions/bin/addBinLiquidityMulticall.d.ts +22 -0
- package/dist/functions/bin/addBinLiquidityMulticall.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/addLiquidity.d.ts +18 -0
- package/dist/functions/bin/calldatas/addLiquidity.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/index.d.ts +7 -0
- package/dist/functions/bin/calldatas/index.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/initializePool.d.ts +3 -0
- package/dist/functions/bin/calldatas/initializePool.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/liquidity.d.ts +1 -0
- package/dist/functions/bin/calldatas/liquidity.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/mint.d.ts +15 -0
- package/dist/functions/bin/calldatas/mint.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/modifyLiquidities.d.ts +3 -0
- package/dist/functions/bin/calldatas/modifyLiquidities.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/removeLiquidity.d.ts +15 -0
- package/dist/functions/bin/calldatas/removeLiquidity.d.ts.map +1 -0
- package/dist/functions/bin/calldatas/swap.d.ts +4 -0
- package/dist/functions/bin/calldatas/swap.d.ts.map +1 -0
- package/dist/functions/bin/createBinPool.d.ts +62 -0
- package/dist/functions/bin/createBinPool.d.ts.map +1 -0
- package/dist/functions/bin/decodeBinAmount.d.ts +16 -0
- package/dist/functions/bin/decodeBinAmount.d.ts.map +1 -0
- package/dist/functions/bin/getAmounts.d.ts +26 -0
- package/dist/functions/bin/getAmounts.d.ts.map +1 -0
- package/dist/functions/bin/getBinLiquidityConfigs.d.ts +7 -0
- package/dist/functions/bin/getBinLiquidityConfigs.d.ts.map +1 -0
- package/dist/functions/bin/getBinPoolTokenPrice.d.ts +4 -0
- package/dist/functions/bin/getBinPoolTokenPrice.d.ts.map +1 -0
- package/dist/functions/bin/getExternalFeeAmt.d.ts +6 -0
- package/dist/functions/bin/getExternalFeeAmt.d.ts.map +1 -0
- package/dist/functions/bin/getFeeAmount.d.ts +8 -0
- package/dist/functions/bin/getFeeAmount.d.ts.map +1 -0
- package/dist/functions/bin/getFeeAmountFrom.d.ts +9 -0
- package/dist/functions/bin/getFeeAmountFrom.d.ts.map +1 -0
- package/dist/functions/bin/getIdFromPrice.d.ts +11 -0
- package/dist/functions/bin/getIdFromPrice.d.ts.map +1 -0
- package/dist/functions/bin/getIdSlippage.d.ts +2 -0
- package/dist/functions/bin/getIdSlippage.d.ts.map +1 -0
- package/dist/functions/bin/getLiquidityShape.d.ts +32 -0
- package/dist/functions/bin/getLiquidityShape.d.ts.map +1 -0
- package/dist/functions/bin/getNextNonEmptyBin.d.ts +15 -0
- package/dist/functions/bin/getNextNonEmptyBin.d.ts.map +1 -0
- package/dist/functions/bin/getPriceFromId.d.ts +13 -0
- package/dist/functions/bin/getPriceFromId.d.ts.map +1 -0
- package/dist/functions/bin/index.d.ts +17 -0
- package/dist/functions/bin/index.d.ts.map +1 -0
- package/dist/functions/bin/liquidityConfigs.d.ts +15 -0
- package/dist/functions/bin/liquidityConfigs.d.ts.map +1 -0
- package/dist/functions/bin/parseReserveOfBin.d.ts +11 -0
- package/dist/functions/bin/parseReserveOfBin.d.ts.map +1 -0
- package/dist/functions/bin/priceConvert.d.ts +3 -0
- package/dist/functions/bin/priceConvert.d.ts.map +1 -0
- package/dist/functions/bin/swap.d.ts +20 -0
- package/dist/functions/bin/swap.d.ts.map +1 -0
- package/dist/functions/clamm/addCLLiquidityMulticall.d.ts +18 -0
- package/dist/functions/clamm/addCLLiquidityMulticall.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/burn.d.ts +4 -0
- package/dist/functions/clamm/calldatas/burn.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/claim.d.ts +9 -0
- package/dist/functions/clamm/calldatas/claim.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/decreaseLiquidity.d.ts +14 -0
- package/dist/functions/clamm/calldatas/decreaseLiquidity.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/donate.d.ts +4 -0
- package/dist/functions/clamm/calldatas/donate.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/increaseLiquidity.d.ts +4 -0
- package/dist/functions/clamm/calldatas/increaseLiquidity.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/index.d.ts +12 -0
- package/dist/functions/clamm/calldatas/index.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/initialize.d.ts +3 -0
- package/dist/functions/clamm/calldatas/initialize.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/initializePool.d.ts +3 -0
- package/dist/functions/clamm/calldatas/initializePool.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/mint.d.ts +4 -0
- package/dist/functions/clamm/calldatas/mint.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/modifyLiquidities.d.ts +3 -0
- package/dist/functions/clamm/calldatas/modifyLiquidities.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/modifyLiquidity.d.ts +10 -0
- package/dist/functions/clamm/calldatas/modifyLiquidity.d.ts.map +1 -0
- package/dist/functions/clamm/calldatas/swap.d.ts +9 -0
- package/dist/functions/clamm/calldatas/swap.d.ts.map +1 -0
- package/dist/functions/clamm/getCLPool.d.ts +6 -0
- package/dist/functions/clamm/getCLPool.d.ts.map +1 -0
- package/dist/functions/clamm/index.d.ts +5 -0
- package/dist/functions/clamm/index.d.ts.map +1 -0
- package/dist/functions/getPool.d.ts +19 -0
- package/dist/functions/getPool.d.ts.map +1 -0
- package/dist/functions/hooks/index.d.ts +2 -0
- package/dist/functions/hooks/index.d.ts.map +1 -0
- package/dist/functions/hooks/isDynamicFeeHook.d.ts +5 -0
- package/dist/functions/hooks/isDynamicFeeHook.d.ts.map +1 -0
- package/dist/functions/index.d.ts +5 -0
- package/dist/functions/index.d.ts.map +1 -0
- package/dist/functions/tick.d.ts +3 -0
- package/dist/functions/tick.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7578 -0
- package/dist/index.mjs +7430 -0
- package/dist/types.d.ts +183 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/ActionsPlanner.d.ts +32 -0
- package/dist/utils/ActionsPlanner.d.ts.map +1 -0
- package/dist/utils/calculateSwapFee.d.ts +11 -0
- package/dist/utils/calculateSwapFee.d.ts.map +1 -0
- package/dist/utils/convertBinIdsToRelative.d.ts +12 -0
- package/dist/utils/convertBinIdsToRelative.d.ts.map +1 -0
- package/dist/utils/decodeHooksRegistration.d.ts +4 -0
- package/dist/utils/decodeHooksRegistration.d.ts.map +1 -0
- package/dist/utils/decodePoolKey.d.ts +3 -0
- package/dist/utils/decodePoolKey.d.ts.map +1 -0
- package/dist/utils/decodePoolParameters.d.ts +4 -0
- package/dist/utils/decodePoolParameters.d.ts.map +1 -0
- package/dist/utils/encodeHooksRegistration.d.ts +4 -0
- package/dist/utils/encodeHooksRegistration.d.ts.map +1 -0
- package/dist/utils/encodeMulticall.d.ts +3 -0
- package/dist/utils/encodeMulticall.d.ts.map +1 -0
- package/dist/utils/encodePermit2.d.ts +6 -0
- package/dist/utils/encodePermit2.d.ts.map +1 -0
- package/dist/utils/encodePoolKey.d.ts +9 -0
- package/dist/utils/encodePoolKey.d.ts.map +1 -0
- package/dist/utils/encodePoolParameters.d.ts +5 -0
- package/dist/utils/encodePoolParameters.d.ts.map +1 -0
- package/dist/utils/getAddLiquidityParameters.d.ts +66 -0
- package/dist/utils/getAddLiquidityParameters.d.ts.map +1 -0
- package/dist/utils/getBinIds.d.ts +9 -0
- package/dist/utils/getBinIds.d.ts.map +1 -0
- package/dist/utils/getIsInitializedByPoolKey.d.ts +4 -0
- package/dist/utils/getIsInitializedByPoolKey.d.ts.map +1 -0
- package/dist/utils/getPoolId.d.ts +10 -0
- package/dist/utils/getPoolId.d.ts.map +1 -0
- package/dist/utils/index.d.ts +17 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/isInfinitySupported.d.ts +6 -0
- package/dist/utils/isInfinitySupported.d.ts.map +1 -0
- package/dist/utils/math/TreeMath.d.ts +12 -0
- package/dist/utils/math/TreeMath.d.ts.map +1 -0
- package/dist/utils/math/index.d.ts +4 -0
- package/dist/utils/math/index.d.ts.map +1 -0
- package/dist/utils/math/mulShift.d.ts +3 -0
- package/dist/utils/math/mulShift.d.ts.map +1 -0
- package/dist/utils/math/shiftDiv.d.ts +3 -0
- package/dist/utils/math/shiftDiv.d.ts.map +1 -0
- package/dist/utils/parseProtocolFee.d.ts +4 -0
- package/dist/utils/parseProtocolFee.d.ts.map +1 -0
- package/dist/utils/poolIdToPoolKey.d.ts +17 -0
- package/dist/utils/poolIdToPoolKey.d.ts.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,650 @@
|
|
|
1
|
+
export declare const CLMigratorAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "_WETH9";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "_clPositionManager";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "_permit2";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "contract IAllowanceTransfer";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "nonpayable";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "receive";
|
|
19
|
+
readonly stateMutability: "payable";
|
|
20
|
+
}, {
|
|
21
|
+
readonly type: "function";
|
|
22
|
+
readonly name: "WETH9";
|
|
23
|
+
readonly inputs: readonly [];
|
|
24
|
+
readonly outputs: readonly [{
|
|
25
|
+
readonly name: "";
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
readonly internalType: "address";
|
|
28
|
+
}];
|
|
29
|
+
readonly stateMutability: "view";
|
|
30
|
+
}, {
|
|
31
|
+
readonly type: "function";
|
|
32
|
+
readonly name: "clPoolManager";
|
|
33
|
+
readonly inputs: readonly [];
|
|
34
|
+
readonly outputs: readonly [{
|
|
35
|
+
readonly name: "";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
readonly internalType: "contract ICLPoolManager";
|
|
38
|
+
}];
|
|
39
|
+
readonly stateMutability: "view";
|
|
40
|
+
}, {
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
readonly name: "clPositionManager";
|
|
43
|
+
readonly inputs: readonly [];
|
|
44
|
+
readonly outputs: readonly [{
|
|
45
|
+
readonly name: "";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
readonly internalType: "contract ICLPositionManager";
|
|
48
|
+
}];
|
|
49
|
+
readonly stateMutability: "view";
|
|
50
|
+
}, {
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
readonly name: "initializePool";
|
|
53
|
+
readonly inputs: readonly [{
|
|
54
|
+
readonly name: "poolKey";
|
|
55
|
+
readonly type: "tuple";
|
|
56
|
+
readonly internalType: "struct PoolKey";
|
|
57
|
+
readonly components: readonly [{
|
|
58
|
+
readonly name: "currency0";
|
|
59
|
+
readonly type: "address";
|
|
60
|
+
readonly internalType: "Currency";
|
|
61
|
+
}, {
|
|
62
|
+
readonly name: "currency1";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
readonly internalType: "Currency";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "hooks";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
readonly internalType: "contract IHooks";
|
|
69
|
+
}, {
|
|
70
|
+
readonly name: "poolManager";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
readonly internalType: "contract IPoolManager";
|
|
73
|
+
}, {
|
|
74
|
+
readonly name: "fee";
|
|
75
|
+
readonly type: "uint24";
|
|
76
|
+
readonly internalType: "uint24";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "parameters";
|
|
79
|
+
readonly type: "bytes32";
|
|
80
|
+
readonly internalType: "bytes32";
|
|
81
|
+
}];
|
|
82
|
+
}, {
|
|
83
|
+
readonly name: "sqrtPriceX96";
|
|
84
|
+
readonly type: "uint160";
|
|
85
|
+
readonly internalType: "uint160";
|
|
86
|
+
}];
|
|
87
|
+
readonly outputs: readonly [{
|
|
88
|
+
readonly name: "tick";
|
|
89
|
+
readonly type: "int24";
|
|
90
|
+
readonly internalType: "int24";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "payable";
|
|
93
|
+
}, {
|
|
94
|
+
readonly type: "function";
|
|
95
|
+
readonly name: "migrateFromV2";
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly name: "v2PoolParams";
|
|
98
|
+
readonly type: "tuple";
|
|
99
|
+
readonly internalType: "struct IBaseMigrator.V2PoolParams";
|
|
100
|
+
readonly components: readonly [{
|
|
101
|
+
readonly name: "pair";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
readonly internalType: "address";
|
|
104
|
+
}, {
|
|
105
|
+
readonly name: "migrateAmount";
|
|
106
|
+
readonly type: "uint256";
|
|
107
|
+
readonly internalType: "uint256";
|
|
108
|
+
}, {
|
|
109
|
+
readonly name: "amount0Min";
|
|
110
|
+
readonly type: "uint256";
|
|
111
|
+
readonly internalType: "uint256";
|
|
112
|
+
}, {
|
|
113
|
+
readonly name: "amount1Min";
|
|
114
|
+
readonly type: "uint256";
|
|
115
|
+
readonly internalType: "uint256";
|
|
116
|
+
}];
|
|
117
|
+
}, {
|
|
118
|
+
readonly name: "infiPoolParams";
|
|
119
|
+
readonly type: "tuple";
|
|
120
|
+
readonly internalType: "struct ICLMigrator.InfiCLPoolParams";
|
|
121
|
+
readonly components: readonly [{
|
|
122
|
+
readonly name: "poolKey";
|
|
123
|
+
readonly type: "tuple";
|
|
124
|
+
readonly internalType: "struct PoolKey";
|
|
125
|
+
readonly components: readonly [{
|
|
126
|
+
readonly name: "currency0";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
readonly internalType: "Currency";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "currency1";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
readonly internalType: "Currency";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "hooks";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
readonly internalType: "contract IHooks";
|
|
137
|
+
}, {
|
|
138
|
+
readonly name: "poolManager";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
readonly internalType: "contract IPoolManager";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "fee";
|
|
143
|
+
readonly type: "uint24";
|
|
144
|
+
readonly internalType: "uint24";
|
|
145
|
+
}, {
|
|
146
|
+
readonly name: "parameters";
|
|
147
|
+
readonly type: "bytes32";
|
|
148
|
+
readonly internalType: "bytes32";
|
|
149
|
+
}];
|
|
150
|
+
}, {
|
|
151
|
+
readonly name: "tickLower";
|
|
152
|
+
readonly type: "int24";
|
|
153
|
+
readonly internalType: "int24";
|
|
154
|
+
}, {
|
|
155
|
+
readonly name: "tickUpper";
|
|
156
|
+
readonly type: "int24";
|
|
157
|
+
readonly internalType: "int24";
|
|
158
|
+
}, {
|
|
159
|
+
readonly name: "liquidityMin";
|
|
160
|
+
readonly type: "uint256";
|
|
161
|
+
readonly internalType: "uint256";
|
|
162
|
+
}, {
|
|
163
|
+
readonly name: "recipient";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
readonly internalType: "address";
|
|
166
|
+
}, {
|
|
167
|
+
readonly name: "deadline";
|
|
168
|
+
readonly type: "uint256";
|
|
169
|
+
readonly internalType: "uint256";
|
|
170
|
+
}, {
|
|
171
|
+
readonly name: "hookData";
|
|
172
|
+
readonly type: "bytes";
|
|
173
|
+
readonly internalType: "bytes";
|
|
174
|
+
}];
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "extraAmount0";
|
|
177
|
+
readonly type: "uint256";
|
|
178
|
+
readonly internalType: "uint256";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "extraAmount1";
|
|
181
|
+
readonly type: "uint256";
|
|
182
|
+
readonly internalType: "uint256";
|
|
183
|
+
}];
|
|
184
|
+
readonly outputs: readonly [];
|
|
185
|
+
readonly stateMutability: "payable";
|
|
186
|
+
}, {
|
|
187
|
+
readonly type: "function";
|
|
188
|
+
readonly name: "migrateFromV3";
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly name: "v3PoolParams";
|
|
191
|
+
readonly type: "tuple";
|
|
192
|
+
readonly internalType: "struct IBaseMigrator.V3PoolParams";
|
|
193
|
+
readonly components: readonly [{
|
|
194
|
+
readonly name: "nfp";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "tokenId";
|
|
199
|
+
readonly type: "uint256";
|
|
200
|
+
readonly internalType: "uint256";
|
|
201
|
+
}, {
|
|
202
|
+
readonly name: "liquidity";
|
|
203
|
+
readonly type: "uint128";
|
|
204
|
+
readonly internalType: "uint128";
|
|
205
|
+
}, {
|
|
206
|
+
readonly name: "amount0Min";
|
|
207
|
+
readonly type: "uint256";
|
|
208
|
+
readonly internalType: "uint256";
|
|
209
|
+
}, {
|
|
210
|
+
readonly name: "amount1Min";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
readonly internalType: "uint256";
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "collectFee";
|
|
215
|
+
readonly type: "bool";
|
|
216
|
+
readonly internalType: "bool";
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "deadline";
|
|
219
|
+
readonly type: "uint256";
|
|
220
|
+
readonly internalType: "uint256";
|
|
221
|
+
}];
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: "infiPoolParams";
|
|
224
|
+
readonly type: "tuple";
|
|
225
|
+
readonly internalType: "struct ICLMigrator.InfiCLPoolParams";
|
|
226
|
+
readonly components: readonly [{
|
|
227
|
+
readonly name: "poolKey";
|
|
228
|
+
readonly type: "tuple";
|
|
229
|
+
readonly internalType: "struct PoolKey";
|
|
230
|
+
readonly components: readonly [{
|
|
231
|
+
readonly name: "currency0";
|
|
232
|
+
readonly type: "address";
|
|
233
|
+
readonly internalType: "Currency";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "currency1";
|
|
236
|
+
readonly type: "address";
|
|
237
|
+
readonly internalType: "Currency";
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "hooks";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
readonly internalType: "contract IHooks";
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "poolManager";
|
|
244
|
+
readonly type: "address";
|
|
245
|
+
readonly internalType: "contract IPoolManager";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "fee";
|
|
248
|
+
readonly type: "uint24";
|
|
249
|
+
readonly internalType: "uint24";
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "parameters";
|
|
252
|
+
readonly type: "bytes32";
|
|
253
|
+
readonly internalType: "bytes32";
|
|
254
|
+
}];
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "tickLower";
|
|
257
|
+
readonly type: "int24";
|
|
258
|
+
readonly internalType: "int24";
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "tickUpper";
|
|
261
|
+
readonly type: "int24";
|
|
262
|
+
readonly internalType: "int24";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "liquidityMin";
|
|
265
|
+
readonly type: "uint256";
|
|
266
|
+
readonly internalType: "uint256";
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "recipient";
|
|
269
|
+
readonly type: "address";
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "deadline";
|
|
273
|
+
readonly type: "uint256";
|
|
274
|
+
readonly internalType: "uint256";
|
|
275
|
+
}, {
|
|
276
|
+
readonly name: "hookData";
|
|
277
|
+
readonly type: "bytes";
|
|
278
|
+
readonly internalType: "bytes";
|
|
279
|
+
}];
|
|
280
|
+
}, {
|
|
281
|
+
readonly name: "extraAmount0";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
readonly internalType: "uint256";
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "extraAmount1";
|
|
286
|
+
readonly type: "uint256";
|
|
287
|
+
readonly internalType: "uint256";
|
|
288
|
+
}];
|
|
289
|
+
readonly outputs: readonly [];
|
|
290
|
+
readonly stateMutability: "payable";
|
|
291
|
+
}, {
|
|
292
|
+
readonly type: "function";
|
|
293
|
+
readonly name: "multicall";
|
|
294
|
+
readonly inputs: readonly [{
|
|
295
|
+
readonly name: "data";
|
|
296
|
+
readonly type: "bytes[]";
|
|
297
|
+
readonly internalType: "bytes[]";
|
|
298
|
+
}];
|
|
299
|
+
readonly outputs: readonly [{
|
|
300
|
+
readonly name: "results";
|
|
301
|
+
readonly type: "bytes[]";
|
|
302
|
+
readonly internalType: "bytes[]";
|
|
303
|
+
}];
|
|
304
|
+
readonly stateMutability: "payable";
|
|
305
|
+
}, {
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
readonly name: "owner";
|
|
308
|
+
readonly inputs: readonly [];
|
|
309
|
+
readonly outputs: readonly [{
|
|
310
|
+
readonly name: "";
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
readonly internalType: "address";
|
|
313
|
+
}];
|
|
314
|
+
readonly stateMutability: "view";
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
readonly name: "pause";
|
|
318
|
+
readonly inputs: readonly [];
|
|
319
|
+
readonly outputs: readonly [];
|
|
320
|
+
readonly stateMutability: "nonpayable";
|
|
321
|
+
}, {
|
|
322
|
+
readonly type: "function";
|
|
323
|
+
readonly name: "paused";
|
|
324
|
+
readonly inputs: readonly [];
|
|
325
|
+
readonly outputs: readonly [{
|
|
326
|
+
readonly name: "res";
|
|
327
|
+
readonly type: "bool";
|
|
328
|
+
readonly internalType: "bool";
|
|
329
|
+
}];
|
|
330
|
+
readonly stateMutability: "view";
|
|
331
|
+
}, {
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
readonly name: "permit";
|
|
334
|
+
readonly inputs: readonly [{
|
|
335
|
+
readonly name: "owner";
|
|
336
|
+
readonly type: "address";
|
|
337
|
+
readonly internalType: "address";
|
|
338
|
+
}, {
|
|
339
|
+
readonly name: "permitSingle";
|
|
340
|
+
readonly type: "tuple";
|
|
341
|
+
readonly internalType: "struct IAllowanceTransfer.PermitSingle";
|
|
342
|
+
readonly components: readonly [{
|
|
343
|
+
readonly name: "details";
|
|
344
|
+
readonly type: "tuple";
|
|
345
|
+
readonly internalType: "struct IAllowanceTransfer.PermitDetails";
|
|
346
|
+
readonly components: readonly [{
|
|
347
|
+
readonly name: "token";
|
|
348
|
+
readonly type: "address";
|
|
349
|
+
readonly internalType: "address";
|
|
350
|
+
}, {
|
|
351
|
+
readonly name: "amount";
|
|
352
|
+
readonly type: "uint160";
|
|
353
|
+
readonly internalType: "uint160";
|
|
354
|
+
}, {
|
|
355
|
+
readonly name: "expiration";
|
|
356
|
+
readonly type: "uint48";
|
|
357
|
+
readonly internalType: "uint48";
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "nonce";
|
|
360
|
+
readonly type: "uint48";
|
|
361
|
+
readonly internalType: "uint48";
|
|
362
|
+
}];
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "spender";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
readonly internalType: "address";
|
|
367
|
+
}, {
|
|
368
|
+
readonly name: "sigDeadline";
|
|
369
|
+
readonly type: "uint256";
|
|
370
|
+
readonly internalType: "uint256";
|
|
371
|
+
}];
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "signature";
|
|
374
|
+
readonly type: "bytes";
|
|
375
|
+
readonly internalType: "bytes";
|
|
376
|
+
}];
|
|
377
|
+
readonly outputs: readonly [{
|
|
378
|
+
readonly name: "err";
|
|
379
|
+
readonly type: "bytes";
|
|
380
|
+
readonly internalType: "bytes";
|
|
381
|
+
}];
|
|
382
|
+
readonly stateMutability: "payable";
|
|
383
|
+
}, {
|
|
384
|
+
readonly type: "function";
|
|
385
|
+
readonly name: "permit2";
|
|
386
|
+
readonly inputs: readonly [];
|
|
387
|
+
readonly outputs: readonly [{
|
|
388
|
+
readonly name: "";
|
|
389
|
+
readonly type: "address";
|
|
390
|
+
readonly internalType: "contract IAllowanceTransfer";
|
|
391
|
+
}];
|
|
392
|
+
readonly stateMutability: "view";
|
|
393
|
+
}, {
|
|
394
|
+
readonly type: "function";
|
|
395
|
+
readonly name: "permitBatch";
|
|
396
|
+
readonly inputs: readonly [{
|
|
397
|
+
readonly name: "owner";
|
|
398
|
+
readonly type: "address";
|
|
399
|
+
readonly internalType: "address";
|
|
400
|
+
}, {
|
|
401
|
+
readonly name: "_permitBatch";
|
|
402
|
+
readonly type: "tuple";
|
|
403
|
+
readonly internalType: "struct IAllowanceTransfer.PermitBatch";
|
|
404
|
+
readonly components: readonly [{
|
|
405
|
+
readonly name: "details";
|
|
406
|
+
readonly type: "tuple[]";
|
|
407
|
+
readonly internalType: "struct IAllowanceTransfer.PermitDetails[]";
|
|
408
|
+
readonly components: readonly [{
|
|
409
|
+
readonly name: "token";
|
|
410
|
+
readonly type: "address";
|
|
411
|
+
readonly internalType: "address";
|
|
412
|
+
}, {
|
|
413
|
+
readonly name: "amount";
|
|
414
|
+
readonly type: "uint160";
|
|
415
|
+
readonly internalType: "uint160";
|
|
416
|
+
}, {
|
|
417
|
+
readonly name: "expiration";
|
|
418
|
+
readonly type: "uint48";
|
|
419
|
+
readonly internalType: "uint48";
|
|
420
|
+
}, {
|
|
421
|
+
readonly name: "nonce";
|
|
422
|
+
readonly type: "uint48";
|
|
423
|
+
readonly internalType: "uint48";
|
|
424
|
+
}];
|
|
425
|
+
}, {
|
|
426
|
+
readonly name: "spender";
|
|
427
|
+
readonly type: "address";
|
|
428
|
+
readonly internalType: "address";
|
|
429
|
+
}, {
|
|
430
|
+
readonly name: "sigDeadline";
|
|
431
|
+
readonly type: "uint256";
|
|
432
|
+
readonly internalType: "uint256";
|
|
433
|
+
}];
|
|
434
|
+
}, {
|
|
435
|
+
readonly name: "signature";
|
|
436
|
+
readonly type: "bytes";
|
|
437
|
+
readonly internalType: "bytes";
|
|
438
|
+
}];
|
|
439
|
+
readonly outputs: readonly [{
|
|
440
|
+
readonly name: "err";
|
|
441
|
+
readonly type: "bytes";
|
|
442
|
+
readonly internalType: "bytes";
|
|
443
|
+
}];
|
|
444
|
+
readonly stateMutability: "payable";
|
|
445
|
+
}, {
|
|
446
|
+
readonly type: "function";
|
|
447
|
+
readonly name: "positionManagerPermit2";
|
|
448
|
+
readonly inputs: readonly [];
|
|
449
|
+
readonly outputs: readonly [{
|
|
450
|
+
readonly name: "";
|
|
451
|
+
readonly type: "address";
|
|
452
|
+
readonly internalType: "contract IAllowanceTransfer";
|
|
453
|
+
}];
|
|
454
|
+
readonly stateMutability: "view";
|
|
455
|
+
}, {
|
|
456
|
+
readonly type: "function";
|
|
457
|
+
readonly name: "refundETH";
|
|
458
|
+
readonly inputs: readonly [];
|
|
459
|
+
readonly outputs: readonly [];
|
|
460
|
+
readonly stateMutability: "payable";
|
|
461
|
+
}, {
|
|
462
|
+
readonly type: "function";
|
|
463
|
+
readonly name: "selfPermitERC721";
|
|
464
|
+
readonly inputs: readonly [{
|
|
465
|
+
readonly name: "token";
|
|
466
|
+
readonly type: "address";
|
|
467
|
+
readonly internalType: "address";
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "tokenId";
|
|
470
|
+
readonly type: "uint256";
|
|
471
|
+
readonly internalType: "uint256";
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "deadline";
|
|
474
|
+
readonly type: "uint256";
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
}, {
|
|
477
|
+
readonly name: "v";
|
|
478
|
+
readonly type: "uint8";
|
|
479
|
+
readonly internalType: "uint8";
|
|
480
|
+
}, {
|
|
481
|
+
readonly name: "r";
|
|
482
|
+
readonly type: "bytes32";
|
|
483
|
+
readonly internalType: "bytes32";
|
|
484
|
+
}, {
|
|
485
|
+
readonly name: "s";
|
|
486
|
+
readonly type: "bytes32";
|
|
487
|
+
readonly internalType: "bytes32";
|
|
488
|
+
}];
|
|
489
|
+
readonly outputs: readonly [];
|
|
490
|
+
readonly stateMutability: "payable";
|
|
491
|
+
}, {
|
|
492
|
+
readonly type: "function";
|
|
493
|
+
readonly name: "selfPermitERC721IfNecessary";
|
|
494
|
+
readonly inputs: readonly [{
|
|
495
|
+
readonly name: "token";
|
|
496
|
+
readonly type: "address";
|
|
497
|
+
readonly internalType: "address";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "tokenId";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
readonly internalType: "uint256";
|
|
502
|
+
}, {
|
|
503
|
+
readonly name: "deadline";
|
|
504
|
+
readonly type: "uint256";
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
}, {
|
|
507
|
+
readonly name: "v";
|
|
508
|
+
readonly type: "uint8";
|
|
509
|
+
readonly internalType: "uint8";
|
|
510
|
+
}, {
|
|
511
|
+
readonly name: "r";
|
|
512
|
+
readonly type: "bytes32";
|
|
513
|
+
readonly internalType: "bytes32";
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "s";
|
|
516
|
+
readonly type: "bytes32";
|
|
517
|
+
readonly internalType: "bytes32";
|
|
518
|
+
}];
|
|
519
|
+
readonly outputs: readonly [];
|
|
520
|
+
readonly stateMutability: "payable";
|
|
521
|
+
}, {
|
|
522
|
+
readonly type: "function";
|
|
523
|
+
readonly name: "transferOwnership";
|
|
524
|
+
readonly inputs: readonly [{
|
|
525
|
+
readonly name: "newOwner";
|
|
526
|
+
readonly type: "address";
|
|
527
|
+
readonly internalType: "address";
|
|
528
|
+
}];
|
|
529
|
+
readonly outputs: readonly [];
|
|
530
|
+
readonly stateMutability: "nonpayable";
|
|
531
|
+
}, {
|
|
532
|
+
readonly type: "function";
|
|
533
|
+
readonly name: "unpause";
|
|
534
|
+
readonly inputs: readonly [];
|
|
535
|
+
readonly outputs: readonly [];
|
|
536
|
+
readonly stateMutability: "nonpayable";
|
|
537
|
+
}, {
|
|
538
|
+
readonly type: "event";
|
|
539
|
+
readonly name: "ExtraFundsAdded";
|
|
540
|
+
readonly inputs: readonly [{
|
|
541
|
+
readonly name: "currency0";
|
|
542
|
+
readonly type: "address";
|
|
543
|
+
readonly indexed: false;
|
|
544
|
+
readonly internalType: "address";
|
|
545
|
+
}, {
|
|
546
|
+
readonly name: "currency1";
|
|
547
|
+
readonly type: "address";
|
|
548
|
+
readonly indexed: false;
|
|
549
|
+
readonly internalType: "address";
|
|
550
|
+
}, {
|
|
551
|
+
readonly name: "extraAmount0";
|
|
552
|
+
readonly type: "uint256";
|
|
553
|
+
readonly indexed: false;
|
|
554
|
+
readonly internalType: "uint256";
|
|
555
|
+
}, {
|
|
556
|
+
readonly name: "extraAmount1";
|
|
557
|
+
readonly type: "uint256";
|
|
558
|
+
readonly indexed: false;
|
|
559
|
+
readonly internalType: "uint256";
|
|
560
|
+
}];
|
|
561
|
+
readonly anonymous: false;
|
|
562
|
+
}, {
|
|
563
|
+
readonly type: "event";
|
|
564
|
+
readonly name: "OwnershipTransferred";
|
|
565
|
+
readonly inputs: readonly [{
|
|
566
|
+
readonly name: "previousOwner";
|
|
567
|
+
readonly type: "address";
|
|
568
|
+
readonly indexed: true;
|
|
569
|
+
readonly internalType: "address";
|
|
570
|
+
}, {
|
|
571
|
+
readonly name: "newOwner";
|
|
572
|
+
readonly type: "address";
|
|
573
|
+
readonly indexed: true;
|
|
574
|
+
readonly internalType: "address";
|
|
575
|
+
}];
|
|
576
|
+
readonly anonymous: false;
|
|
577
|
+
}, {
|
|
578
|
+
readonly type: "event";
|
|
579
|
+
readonly name: "Paused";
|
|
580
|
+
readonly inputs: readonly [{
|
|
581
|
+
readonly name: "account";
|
|
582
|
+
readonly type: "address";
|
|
583
|
+
readonly indexed: false;
|
|
584
|
+
readonly internalType: "address";
|
|
585
|
+
}];
|
|
586
|
+
readonly anonymous: false;
|
|
587
|
+
}, {
|
|
588
|
+
readonly type: "event";
|
|
589
|
+
readonly name: "Unpaused";
|
|
590
|
+
readonly inputs: readonly [{
|
|
591
|
+
readonly name: "account";
|
|
592
|
+
readonly type: "address";
|
|
593
|
+
readonly indexed: false;
|
|
594
|
+
readonly internalType: "address";
|
|
595
|
+
}];
|
|
596
|
+
readonly anonymous: false;
|
|
597
|
+
}, {
|
|
598
|
+
readonly type: "error";
|
|
599
|
+
readonly name: "ContractLocked";
|
|
600
|
+
readonly inputs: readonly [];
|
|
601
|
+
}, {
|
|
602
|
+
readonly type: "error";
|
|
603
|
+
readonly name: "EnforcedPause";
|
|
604
|
+
readonly inputs: readonly [];
|
|
605
|
+
}, {
|
|
606
|
+
readonly type: "error";
|
|
607
|
+
readonly name: "INSUFFICIENT_AMOUNTS_RECEIVED";
|
|
608
|
+
readonly inputs: readonly [];
|
|
609
|
+
}, {
|
|
610
|
+
readonly type: "error";
|
|
611
|
+
readonly name: "INSUFFICIENT_LIQUIDITY";
|
|
612
|
+
readonly inputs: readonly [];
|
|
613
|
+
}, {
|
|
614
|
+
readonly type: "error";
|
|
615
|
+
readonly name: "INVALID_ETHER_SENDER";
|
|
616
|
+
readonly inputs: readonly [];
|
|
617
|
+
}, {
|
|
618
|
+
readonly type: "error";
|
|
619
|
+
readonly name: "InvalidTick";
|
|
620
|
+
readonly inputs: readonly [{
|
|
621
|
+
readonly name: "tick";
|
|
622
|
+
readonly type: "int24";
|
|
623
|
+
readonly internalType: "int24";
|
|
624
|
+
}];
|
|
625
|
+
}, {
|
|
626
|
+
readonly type: "error";
|
|
627
|
+
readonly name: "NOT_TOKEN_OWNER";
|
|
628
|
+
readonly inputs: readonly [];
|
|
629
|
+
}, {
|
|
630
|
+
readonly type: "error";
|
|
631
|
+
readonly name: "SafeCastOverflow";
|
|
632
|
+
readonly inputs: readonly [];
|
|
633
|
+
}, {
|
|
634
|
+
readonly type: "error";
|
|
635
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
636
|
+
readonly inputs: readonly [{
|
|
637
|
+
readonly name: "bits";
|
|
638
|
+
readonly type: "uint8";
|
|
639
|
+
readonly internalType: "uint8";
|
|
640
|
+
}, {
|
|
641
|
+
readonly name: "value";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
readonly internalType: "uint256";
|
|
644
|
+
}];
|
|
645
|
+
}, {
|
|
646
|
+
readonly type: "error";
|
|
647
|
+
readonly name: "TOKEN_NOT_MATCH";
|
|
648
|
+
readonly inputs: readonly [];
|
|
649
|
+
}];
|
|
650
|
+
//# sourceMappingURL=CLMigratorAbi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CLMigratorAbi.d.ts","sourceRoot":"","sources":["../../src/abis/CLMigratorAbi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6UhB,CAAA"}
|