@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.
Files changed (207) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +12 -0
  3. package/dist/abis/BinMigratorAbi.d.ts +652 -0
  4. package/dist/abis/BinMigratorAbi.d.ts.map +1 -0
  5. package/dist/abis/BinPoolManagerAbi.d.ts +1184 -0
  6. package/dist/abis/BinPoolManagerAbi.d.ts.map +1 -0
  7. package/dist/abis/BinPositionManagerAbi.d.ts +667 -0
  8. package/dist/abis/BinPositionManagerAbi.d.ts.map +1 -0
  9. package/dist/abis/BinQuoterAbi.d.ts +644 -0
  10. package/dist/abis/BinQuoterAbi.d.ts.map +1 -0
  11. package/dist/abis/CLMigratorAbi.d.ts +650 -0
  12. package/dist/abis/CLMigratorAbi.d.ts.map +1 -0
  13. package/dist/abis/CLPoolManagerAbi.d.ts +1075 -0
  14. package/dist/abis/CLPoolManagerAbi.d.ts.map +1 -0
  15. package/dist/abis/CLPositionManagerAbi.d.ts +1130 -0
  16. package/dist/abis/CLPositionManagerAbi.d.ts.map +1 -0
  17. package/dist/abis/CLQuoterAbi.d.ts +644 -0
  18. package/dist/abis/CLQuoterAbi.d.ts.map +1 -0
  19. package/dist/abis/FarmingOffChainAbi.d.ts +982 -0
  20. package/dist/abis/FarmingOffChainAbi.d.ts.map +1 -0
  21. package/dist/abis/FarmingOffChainCLHelperAbi.d.ts +40 -0
  22. package/dist/abis/FarmingOffChainCLHelperAbi.d.ts.map +1 -0
  23. package/dist/abis/MixedQuoterAbi.d.ts +347 -0
  24. package/dist/abis/MixedQuoterAbi.d.ts.map +1 -0
  25. package/dist/abis/Permit2ForwardAbi.d.ts +124 -0
  26. package/dist/abis/Permit2ForwardAbi.d.ts.map +1 -0
  27. package/dist/abis/ProtocolFeeControllerAbi.d.ts +276 -0
  28. package/dist/abis/ProtocolFeeControllerAbi.d.ts.map +1 -0
  29. package/dist/abis/VaultAbi.d.ts +669 -0
  30. package/dist/abis/VaultAbi.d.ts.map +1 -0
  31. package/dist/abis/index.d.ts +15 -0
  32. package/dist/abis/index.d.ts.map +1 -0
  33. package/dist/constants/abiStructFragments.d.ts +15 -0
  34. package/dist/constants/abiStructFragments.d.ts.map +1 -0
  35. package/dist/constants/actions.d.ts +43 -0
  36. package/dist/constants/actions.d.ts.map +1 -0
  37. package/dist/constants/actionsAbiParameters.d.ts +244 -0
  38. package/dist/constants/actionsAbiParameters.d.ts.map +1 -0
  39. package/dist/constants/addresses.d.ts +22 -0
  40. package/dist/constants/addresses.d.ts.map +1 -0
  41. package/dist/constants/binPool.d.ts +11 -0
  42. package/dist/constants/binPool.d.ts.map +1 -0
  43. package/dist/constants/fee.d.ts +21 -0
  44. package/dist/constants/fee.d.ts.map +1 -0
  45. package/dist/constants/hooksList/bsc.d.ts +8 -0
  46. package/dist/constants/hooksList/bsc.d.ts.map +1 -0
  47. package/dist/constants/hooksList/bscTestnet.d.ts +21 -0
  48. package/dist/constants/hooksList/bscTestnet.d.ts.map +1 -0
  49. package/dist/constants/hooksList/dynamicFeeHook.d.ts +15 -0
  50. package/dist/constants/hooksList/dynamicFeeHook.d.ts.map +1 -0
  51. package/dist/constants/hooksList/index.d.ts +14 -0
  52. package/dist/constants/hooksList/index.d.ts.map +1 -0
  53. package/dist/constants/index.d.ts +11 -0
  54. package/dist/constants/index.d.ts.map +1 -0
  55. package/dist/constants/internalConstants.d.ts +11 -0
  56. package/dist/constants/internalConstants.d.ts.map +1 -0
  57. package/dist/entities/index.d.ts +2 -0
  58. package/dist/entities/index.d.ts.map +1 -0
  59. package/dist/entities/pool.d.ts +104 -0
  60. package/dist/entities/pool.d.ts.map +1 -0
  61. package/dist/functions/bin/addBinLiquidityMulticall.d.ts +22 -0
  62. package/dist/functions/bin/addBinLiquidityMulticall.d.ts.map +1 -0
  63. package/dist/functions/bin/calldatas/addLiquidity.d.ts +18 -0
  64. package/dist/functions/bin/calldatas/addLiquidity.d.ts.map +1 -0
  65. package/dist/functions/bin/calldatas/index.d.ts +7 -0
  66. package/dist/functions/bin/calldatas/index.d.ts.map +1 -0
  67. package/dist/functions/bin/calldatas/initializePool.d.ts +3 -0
  68. package/dist/functions/bin/calldatas/initializePool.d.ts.map +1 -0
  69. package/dist/functions/bin/calldatas/liquidity.d.ts +1 -0
  70. package/dist/functions/bin/calldatas/liquidity.d.ts.map +1 -0
  71. package/dist/functions/bin/calldatas/mint.d.ts +15 -0
  72. package/dist/functions/bin/calldatas/mint.d.ts.map +1 -0
  73. package/dist/functions/bin/calldatas/modifyLiquidities.d.ts +3 -0
  74. package/dist/functions/bin/calldatas/modifyLiquidities.d.ts.map +1 -0
  75. package/dist/functions/bin/calldatas/removeLiquidity.d.ts +15 -0
  76. package/dist/functions/bin/calldatas/removeLiquidity.d.ts.map +1 -0
  77. package/dist/functions/bin/calldatas/swap.d.ts +4 -0
  78. package/dist/functions/bin/calldatas/swap.d.ts.map +1 -0
  79. package/dist/functions/bin/createBinPool.d.ts +62 -0
  80. package/dist/functions/bin/createBinPool.d.ts.map +1 -0
  81. package/dist/functions/bin/decodeBinAmount.d.ts +16 -0
  82. package/dist/functions/bin/decodeBinAmount.d.ts.map +1 -0
  83. package/dist/functions/bin/getAmounts.d.ts +26 -0
  84. package/dist/functions/bin/getAmounts.d.ts.map +1 -0
  85. package/dist/functions/bin/getBinLiquidityConfigs.d.ts +7 -0
  86. package/dist/functions/bin/getBinLiquidityConfigs.d.ts.map +1 -0
  87. package/dist/functions/bin/getBinPoolTokenPrice.d.ts +4 -0
  88. package/dist/functions/bin/getBinPoolTokenPrice.d.ts.map +1 -0
  89. package/dist/functions/bin/getExternalFeeAmt.d.ts +6 -0
  90. package/dist/functions/bin/getExternalFeeAmt.d.ts.map +1 -0
  91. package/dist/functions/bin/getFeeAmount.d.ts +8 -0
  92. package/dist/functions/bin/getFeeAmount.d.ts.map +1 -0
  93. package/dist/functions/bin/getFeeAmountFrom.d.ts +9 -0
  94. package/dist/functions/bin/getFeeAmountFrom.d.ts.map +1 -0
  95. package/dist/functions/bin/getIdFromPrice.d.ts +11 -0
  96. package/dist/functions/bin/getIdFromPrice.d.ts.map +1 -0
  97. package/dist/functions/bin/getIdSlippage.d.ts +2 -0
  98. package/dist/functions/bin/getIdSlippage.d.ts.map +1 -0
  99. package/dist/functions/bin/getLiquidityShape.d.ts +32 -0
  100. package/dist/functions/bin/getLiquidityShape.d.ts.map +1 -0
  101. package/dist/functions/bin/getNextNonEmptyBin.d.ts +15 -0
  102. package/dist/functions/bin/getNextNonEmptyBin.d.ts.map +1 -0
  103. package/dist/functions/bin/getPriceFromId.d.ts +13 -0
  104. package/dist/functions/bin/getPriceFromId.d.ts.map +1 -0
  105. package/dist/functions/bin/index.d.ts +17 -0
  106. package/dist/functions/bin/index.d.ts.map +1 -0
  107. package/dist/functions/bin/liquidityConfigs.d.ts +15 -0
  108. package/dist/functions/bin/liquidityConfigs.d.ts.map +1 -0
  109. package/dist/functions/bin/parseReserveOfBin.d.ts +11 -0
  110. package/dist/functions/bin/parseReserveOfBin.d.ts.map +1 -0
  111. package/dist/functions/bin/priceConvert.d.ts +3 -0
  112. package/dist/functions/bin/priceConvert.d.ts.map +1 -0
  113. package/dist/functions/bin/swap.d.ts +20 -0
  114. package/dist/functions/bin/swap.d.ts.map +1 -0
  115. package/dist/functions/clamm/addCLLiquidityMulticall.d.ts +18 -0
  116. package/dist/functions/clamm/addCLLiquidityMulticall.d.ts.map +1 -0
  117. package/dist/functions/clamm/calldatas/burn.d.ts +4 -0
  118. package/dist/functions/clamm/calldatas/burn.d.ts.map +1 -0
  119. package/dist/functions/clamm/calldatas/claim.d.ts +9 -0
  120. package/dist/functions/clamm/calldatas/claim.d.ts.map +1 -0
  121. package/dist/functions/clamm/calldatas/decreaseLiquidity.d.ts +14 -0
  122. package/dist/functions/clamm/calldatas/decreaseLiquidity.d.ts.map +1 -0
  123. package/dist/functions/clamm/calldatas/donate.d.ts +4 -0
  124. package/dist/functions/clamm/calldatas/donate.d.ts.map +1 -0
  125. package/dist/functions/clamm/calldatas/increaseLiquidity.d.ts +4 -0
  126. package/dist/functions/clamm/calldatas/increaseLiquidity.d.ts.map +1 -0
  127. package/dist/functions/clamm/calldatas/index.d.ts +12 -0
  128. package/dist/functions/clamm/calldatas/index.d.ts.map +1 -0
  129. package/dist/functions/clamm/calldatas/initialize.d.ts +3 -0
  130. package/dist/functions/clamm/calldatas/initialize.d.ts.map +1 -0
  131. package/dist/functions/clamm/calldatas/initializePool.d.ts +3 -0
  132. package/dist/functions/clamm/calldatas/initializePool.d.ts.map +1 -0
  133. package/dist/functions/clamm/calldatas/mint.d.ts +4 -0
  134. package/dist/functions/clamm/calldatas/mint.d.ts.map +1 -0
  135. package/dist/functions/clamm/calldatas/modifyLiquidities.d.ts +3 -0
  136. package/dist/functions/clamm/calldatas/modifyLiquidities.d.ts.map +1 -0
  137. package/dist/functions/clamm/calldatas/modifyLiquidity.d.ts +10 -0
  138. package/dist/functions/clamm/calldatas/modifyLiquidity.d.ts.map +1 -0
  139. package/dist/functions/clamm/calldatas/swap.d.ts +9 -0
  140. package/dist/functions/clamm/calldatas/swap.d.ts.map +1 -0
  141. package/dist/functions/clamm/getCLPool.d.ts +6 -0
  142. package/dist/functions/clamm/getCLPool.d.ts.map +1 -0
  143. package/dist/functions/clamm/index.d.ts +5 -0
  144. package/dist/functions/clamm/index.d.ts.map +1 -0
  145. package/dist/functions/getPool.d.ts +19 -0
  146. package/dist/functions/getPool.d.ts.map +1 -0
  147. package/dist/functions/hooks/index.d.ts +2 -0
  148. package/dist/functions/hooks/index.d.ts.map +1 -0
  149. package/dist/functions/hooks/isDynamicFeeHook.d.ts +5 -0
  150. package/dist/functions/hooks/isDynamicFeeHook.d.ts.map +1 -0
  151. package/dist/functions/index.d.ts +5 -0
  152. package/dist/functions/index.d.ts.map +1 -0
  153. package/dist/functions/tick.d.ts +3 -0
  154. package/dist/functions/tick.d.ts.map +1 -0
  155. package/dist/index.d.ts +7 -0
  156. package/dist/index.d.ts.map +1 -0
  157. package/dist/index.js +7578 -0
  158. package/dist/index.mjs +7430 -0
  159. package/dist/types.d.ts +183 -0
  160. package/dist/types.d.ts.map +1 -0
  161. package/dist/utils/ActionsPlanner.d.ts +32 -0
  162. package/dist/utils/ActionsPlanner.d.ts.map +1 -0
  163. package/dist/utils/calculateSwapFee.d.ts +11 -0
  164. package/dist/utils/calculateSwapFee.d.ts.map +1 -0
  165. package/dist/utils/convertBinIdsToRelative.d.ts +12 -0
  166. package/dist/utils/convertBinIdsToRelative.d.ts.map +1 -0
  167. package/dist/utils/decodeHooksRegistration.d.ts +4 -0
  168. package/dist/utils/decodeHooksRegistration.d.ts.map +1 -0
  169. package/dist/utils/decodePoolKey.d.ts +3 -0
  170. package/dist/utils/decodePoolKey.d.ts.map +1 -0
  171. package/dist/utils/decodePoolParameters.d.ts +4 -0
  172. package/dist/utils/decodePoolParameters.d.ts.map +1 -0
  173. package/dist/utils/encodeHooksRegistration.d.ts +4 -0
  174. package/dist/utils/encodeHooksRegistration.d.ts.map +1 -0
  175. package/dist/utils/encodeMulticall.d.ts +3 -0
  176. package/dist/utils/encodeMulticall.d.ts.map +1 -0
  177. package/dist/utils/encodePermit2.d.ts +6 -0
  178. package/dist/utils/encodePermit2.d.ts.map +1 -0
  179. package/dist/utils/encodePoolKey.d.ts +9 -0
  180. package/dist/utils/encodePoolKey.d.ts.map +1 -0
  181. package/dist/utils/encodePoolParameters.d.ts +5 -0
  182. package/dist/utils/encodePoolParameters.d.ts.map +1 -0
  183. package/dist/utils/getAddLiquidityParameters.d.ts +66 -0
  184. package/dist/utils/getAddLiquidityParameters.d.ts.map +1 -0
  185. package/dist/utils/getBinIds.d.ts +9 -0
  186. package/dist/utils/getBinIds.d.ts.map +1 -0
  187. package/dist/utils/getIsInitializedByPoolKey.d.ts +4 -0
  188. package/dist/utils/getIsInitializedByPoolKey.d.ts.map +1 -0
  189. package/dist/utils/getPoolId.d.ts +10 -0
  190. package/dist/utils/getPoolId.d.ts.map +1 -0
  191. package/dist/utils/index.d.ts +17 -0
  192. package/dist/utils/index.d.ts.map +1 -0
  193. package/dist/utils/isInfinitySupported.d.ts +6 -0
  194. package/dist/utils/isInfinitySupported.d.ts.map +1 -0
  195. package/dist/utils/math/TreeMath.d.ts +12 -0
  196. package/dist/utils/math/TreeMath.d.ts.map +1 -0
  197. package/dist/utils/math/index.d.ts +4 -0
  198. package/dist/utils/math/index.d.ts.map +1 -0
  199. package/dist/utils/math/mulShift.d.ts +3 -0
  200. package/dist/utils/math/mulShift.d.ts.map +1 -0
  201. package/dist/utils/math/shiftDiv.d.ts +3 -0
  202. package/dist/utils/math/shiftDiv.d.ts.map +1 -0
  203. package/dist/utils/parseProtocolFee.d.ts +4 -0
  204. package/dist/utils/parseProtocolFee.d.ts.map +1 -0
  205. package/dist/utils/poolIdToPoolKey.d.ts +17 -0
  206. package/dist/utils/poolIdToPoolKey.d.ts.map +1 -0
  207. package/package.json +58 -0
@@ -0,0 +1,669 @@
1
+ export declare const VaultAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [];
4
+ readonly stateMutability: "nonpayable";
5
+ }, {
6
+ readonly type: "function";
7
+ readonly name: "acceptOwnership";
8
+ readonly inputs: readonly [];
9
+ readonly outputs: readonly [];
10
+ readonly stateMutability: "nonpayable";
11
+ }, {
12
+ readonly type: "function";
13
+ readonly name: "accountAppBalanceDelta";
14
+ readonly inputs: readonly [{
15
+ readonly name: "currency0";
16
+ readonly type: "address";
17
+ readonly internalType: "Currency";
18
+ }, {
19
+ readonly name: "currency1";
20
+ readonly type: "address";
21
+ readonly internalType: "Currency";
22
+ }, {
23
+ readonly name: "delta";
24
+ readonly type: "int256";
25
+ readonly internalType: "BalanceDelta";
26
+ }, {
27
+ readonly name: "settler";
28
+ readonly type: "address";
29
+ readonly internalType: "address";
30
+ }, {
31
+ readonly name: "hookDelta";
32
+ readonly type: "int256";
33
+ readonly internalType: "BalanceDelta";
34
+ }, {
35
+ readonly name: "hook";
36
+ readonly type: "address";
37
+ readonly internalType: "address";
38
+ }];
39
+ readonly outputs: readonly [];
40
+ readonly stateMutability: "nonpayable";
41
+ }, {
42
+ readonly type: "function";
43
+ readonly name: "accountAppBalanceDelta";
44
+ readonly inputs: readonly [{
45
+ readonly name: "currency";
46
+ readonly type: "address";
47
+ readonly internalType: "Currency";
48
+ }, {
49
+ readonly name: "delta";
50
+ readonly type: "int128";
51
+ readonly internalType: "int128";
52
+ }, {
53
+ readonly name: "settler";
54
+ readonly type: "address";
55
+ readonly internalType: "address";
56
+ }];
57
+ readonly outputs: readonly [];
58
+ readonly stateMutability: "nonpayable";
59
+ }, {
60
+ readonly type: "function";
61
+ readonly name: "accountAppBalanceDelta";
62
+ readonly inputs: readonly [{
63
+ readonly name: "currency0";
64
+ readonly type: "address";
65
+ readonly internalType: "Currency";
66
+ }, {
67
+ readonly name: "currency1";
68
+ readonly type: "address";
69
+ readonly internalType: "Currency";
70
+ }, {
71
+ readonly name: "delta";
72
+ readonly type: "int256";
73
+ readonly internalType: "BalanceDelta";
74
+ }, {
75
+ readonly name: "settler";
76
+ readonly type: "address";
77
+ readonly internalType: "address";
78
+ }];
79
+ readonly outputs: readonly [];
80
+ readonly stateMutability: "nonpayable";
81
+ }, {
82
+ readonly type: "function";
83
+ readonly name: "allowance";
84
+ readonly inputs: readonly [{
85
+ readonly name: "owner";
86
+ readonly type: "address";
87
+ readonly internalType: "address";
88
+ }, {
89
+ readonly name: "spender";
90
+ readonly type: "address";
91
+ readonly internalType: "address";
92
+ }, {
93
+ readonly name: "currency";
94
+ readonly type: "address";
95
+ readonly internalType: "Currency";
96
+ }];
97
+ readonly outputs: readonly [{
98
+ readonly name: "amount";
99
+ readonly type: "uint256";
100
+ readonly internalType: "uint256";
101
+ }];
102
+ readonly stateMutability: "view";
103
+ }, {
104
+ readonly type: "function";
105
+ readonly name: "approve";
106
+ readonly inputs: readonly [{
107
+ readonly name: "spender";
108
+ readonly type: "address";
109
+ readonly internalType: "address";
110
+ }, {
111
+ readonly name: "currency";
112
+ readonly type: "address";
113
+ readonly internalType: "Currency";
114
+ }, {
115
+ readonly name: "amount";
116
+ readonly type: "uint256";
117
+ readonly internalType: "uint256";
118
+ }];
119
+ readonly outputs: readonly [{
120
+ readonly name: "";
121
+ readonly type: "bool";
122
+ readonly internalType: "bool";
123
+ }];
124
+ readonly stateMutability: "nonpayable";
125
+ }, {
126
+ readonly type: "function";
127
+ readonly name: "balanceOf";
128
+ readonly inputs: readonly [{
129
+ readonly name: "owner";
130
+ readonly type: "address";
131
+ readonly internalType: "address";
132
+ }, {
133
+ readonly name: "currency";
134
+ readonly type: "address";
135
+ readonly internalType: "Currency";
136
+ }];
137
+ readonly outputs: readonly [{
138
+ readonly name: "balance";
139
+ readonly type: "uint256";
140
+ readonly internalType: "uint256";
141
+ }];
142
+ readonly stateMutability: "view";
143
+ }, {
144
+ readonly type: "function";
145
+ readonly name: "burn";
146
+ readonly inputs: readonly [{
147
+ readonly name: "from";
148
+ readonly type: "address";
149
+ readonly internalType: "address";
150
+ }, {
151
+ readonly name: "currency";
152
+ readonly type: "address";
153
+ readonly internalType: "Currency";
154
+ }, {
155
+ readonly name: "amount";
156
+ readonly type: "uint256";
157
+ readonly internalType: "uint256";
158
+ }];
159
+ readonly outputs: readonly [];
160
+ readonly stateMutability: "nonpayable";
161
+ }, {
162
+ readonly type: "function";
163
+ readonly name: "clear";
164
+ readonly inputs: readonly [{
165
+ readonly name: "currency";
166
+ readonly type: "address";
167
+ readonly internalType: "Currency";
168
+ }, {
169
+ readonly name: "amount";
170
+ readonly type: "uint256";
171
+ readonly internalType: "uint256";
172
+ }];
173
+ readonly outputs: readonly [];
174
+ readonly stateMutability: "nonpayable";
175
+ }, {
176
+ readonly type: "function";
177
+ readonly name: "collectFee";
178
+ readonly inputs: readonly [{
179
+ readonly name: "currency";
180
+ readonly type: "address";
181
+ readonly internalType: "Currency";
182
+ }, {
183
+ readonly name: "amount";
184
+ readonly type: "uint256";
185
+ readonly internalType: "uint256";
186
+ }, {
187
+ readonly name: "recipient";
188
+ readonly type: "address";
189
+ readonly internalType: "address";
190
+ }];
191
+ readonly outputs: readonly [];
192
+ readonly stateMutability: "nonpayable";
193
+ }, {
194
+ readonly type: "function";
195
+ readonly name: "currencyDelta";
196
+ readonly inputs: readonly [{
197
+ readonly name: "settler";
198
+ readonly type: "address";
199
+ readonly internalType: "address";
200
+ }, {
201
+ readonly name: "currency";
202
+ readonly type: "address";
203
+ readonly internalType: "Currency";
204
+ }];
205
+ readonly outputs: readonly [{
206
+ readonly name: "";
207
+ readonly type: "int256";
208
+ readonly internalType: "int256";
209
+ }];
210
+ readonly stateMutability: "view";
211
+ }, {
212
+ readonly type: "function";
213
+ readonly name: "getLocker";
214
+ readonly inputs: readonly [];
215
+ readonly outputs: readonly [{
216
+ readonly name: "";
217
+ readonly type: "address";
218
+ readonly internalType: "address";
219
+ }];
220
+ readonly stateMutability: "view";
221
+ }, {
222
+ readonly type: "function";
223
+ readonly name: "getUnsettledDeltasCount";
224
+ readonly inputs: readonly [];
225
+ readonly outputs: readonly [{
226
+ readonly name: "";
227
+ readonly type: "uint256";
228
+ readonly internalType: "uint256";
229
+ }];
230
+ readonly stateMutability: "view";
231
+ }, {
232
+ readonly type: "function";
233
+ readonly name: "getVaultReserve";
234
+ readonly inputs: readonly [];
235
+ readonly outputs: readonly [{
236
+ readonly name: "";
237
+ readonly type: "address";
238
+ readonly internalType: "Currency";
239
+ }, {
240
+ readonly name: "";
241
+ readonly type: "uint256";
242
+ readonly internalType: "uint256";
243
+ }];
244
+ readonly stateMutability: "view";
245
+ }, {
246
+ readonly type: "function";
247
+ readonly name: "isAppRegistered";
248
+ readonly inputs: readonly [{
249
+ readonly name: "app";
250
+ readonly type: "address";
251
+ readonly internalType: "address";
252
+ }];
253
+ readonly outputs: readonly [{
254
+ readonly name: "isRegistered";
255
+ readonly type: "bool";
256
+ readonly internalType: "bool";
257
+ }];
258
+ readonly stateMutability: "view";
259
+ }, {
260
+ readonly type: "function";
261
+ readonly name: "isOperator";
262
+ readonly inputs: readonly [{
263
+ readonly name: "owner";
264
+ readonly type: "address";
265
+ readonly internalType: "address";
266
+ }, {
267
+ readonly name: "operator";
268
+ readonly type: "address";
269
+ readonly internalType: "address";
270
+ }];
271
+ readonly outputs: readonly [{
272
+ readonly name: "isOperator";
273
+ readonly type: "bool";
274
+ readonly internalType: "bool";
275
+ }];
276
+ readonly stateMutability: "view";
277
+ }, {
278
+ readonly type: "function";
279
+ readonly name: "lock";
280
+ readonly inputs: readonly [{
281
+ readonly name: "data";
282
+ readonly type: "bytes";
283
+ readonly internalType: "bytes";
284
+ }];
285
+ readonly outputs: readonly [{
286
+ readonly name: "result";
287
+ readonly type: "bytes";
288
+ readonly internalType: "bytes";
289
+ }];
290
+ readonly stateMutability: "nonpayable";
291
+ }, {
292
+ readonly type: "function";
293
+ readonly name: "mint";
294
+ readonly inputs: readonly [{
295
+ readonly name: "to";
296
+ readonly type: "address";
297
+ readonly internalType: "address";
298
+ }, {
299
+ readonly name: "currency";
300
+ readonly type: "address";
301
+ readonly internalType: "Currency";
302
+ }, {
303
+ readonly name: "amount";
304
+ readonly type: "uint256";
305
+ readonly internalType: "uint256";
306
+ }];
307
+ readonly outputs: readonly [];
308
+ readonly stateMutability: "nonpayable";
309
+ }, {
310
+ readonly type: "function";
311
+ readonly name: "owner";
312
+ readonly inputs: readonly [];
313
+ readonly outputs: readonly [{
314
+ readonly name: "";
315
+ readonly type: "address";
316
+ readonly internalType: "address";
317
+ }];
318
+ readonly stateMutability: "view";
319
+ }, {
320
+ readonly type: "function";
321
+ readonly name: "pendingOwner";
322
+ readonly inputs: readonly [];
323
+ readonly outputs: readonly [{
324
+ readonly name: "";
325
+ readonly type: "address";
326
+ readonly internalType: "address";
327
+ }];
328
+ readonly stateMutability: "view";
329
+ }, {
330
+ readonly type: "function";
331
+ readonly name: "registerApp";
332
+ readonly inputs: readonly [{
333
+ readonly name: "app";
334
+ readonly type: "address";
335
+ readonly internalType: "address";
336
+ }];
337
+ readonly outputs: readonly [];
338
+ readonly stateMutability: "nonpayable";
339
+ }, {
340
+ readonly type: "function";
341
+ readonly name: "renounceOwnership";
342
+ readonly inputs: readonly [];
343
+ readonly outputs: readonly [];
344
+ readonly stateMutability: "nonpayable";
345
+ }, {
346
+ readonly type: "function";
347
+ readonly name: "reservesOfApp";
348
+ readonly inputs: readonly [{
349
+ readonly name: "app";
350
+ readonly type: "address";
351
+ readonly internalType: "address";
352
+ }, {
353
+ readonly name: "currency";
354
+ readonly type: "address";
355
+ readonly internalType: "Currency";
356
+ }];
357
+ readonly outputs: readonly [{
358
+ readonly name: "reserve";
359
+ readonly type: "uint256";
360
+ readonly internalType: "uint256";
361
+ }];
362
+ readonly stateMutability: "view";
363
+ }, {
364
+ readonly type: "function";
365
+ readonly name: "setOperator";
366
+ readonly inputs: readonly [{
367
+ readonly name: "operator";
368
+ readonly type: "address";
369
+ readonly internalType: "address";
370
+ }, {
371
+ readonly name: "approved";
372
+ readonly type: "bool";
373
+ readonly internalType: "bool";
374
+ }];
375
+ readonly outputs: readonly [{
376
+ readonly name: "";
377
+ readonly type: "bool";
378
+ readonly internalType: "bool";
379
+ }];
380
+ readonly stateMutability: "nonpayable";
381
+ }, {
382
+ readonly type: "function";
383
+ readonly name: "settle";
384
+ readonly inputs: readonly [];
385
+ readonly outputs: readonly [{
386
+ readonly name: "";
387
+ readonly type: "uint256";
388
+ readonly internalType: "uint256";
389
+ }];
390
+ readonly stateMutability: "payable";
391
+ }, {
392
+ readonly type: "function";
393
+ readonly name: "settleFor";
394
+ readonly inputs: readonly [{
395
+ readonly name: "recipient";
396
+ readonly type: "address";
397
+ readonly internalType: "address";
398
+ }];
399
+ readonly outputs: readonly [{
400
+ readonly name: "";
401
+ readonly type: "uint256";
402
+ readonly internalType: "uint256";
403
+ }];
404
+ readonly stateMutability: "payable";
405
+ }, {
406
+ readonly type: "function";
407
+ readonly name: "supportsInterface";
408
+ readonly inputs: readonly [{
409
+ readonly name: "interfaceId";
410
+ readonly type: "bytes4";
411
+ readonly internalType: "bytes4";
412
+ }];
413
+ readonly outputs: readonly [{
414
+ readonly name: "";
415
+ readonly type: "bool";
416
+ readonly internalType: "bool";
417
+ }];
418
+ readonly stateMutability: "view";
419
+ }, {
420
+ readonly type: "function";
421
+ readonly name: "sync";
422
+ readonly inputs: readonly [{
423
+ readonly name: "currency";
424
+ readonly type: "address";
425
+ readonly internalType: "Currency";
426
+ }];
427
+ readonly outputs: readonly [];
428
+ readonly stateMutability: "nonpayable";
429
+ }, {
430
+ readonly type: "function";
431
+ readonly name: "take";
432
+ readonly inputs: readonly [{
433
+ readonly name: "currency";
434
+ readonly type: "address";
435
+ readonly internalType: "Currency";
436
+ }, {
437
+ readonly name: "to";
438
+ readonly type: "address";
439
+ readonly internalType: "address";
440
+ }, {
441
+ readonly name: "amount";
442
+ readonly type: "uint256";
443
+ readonly internalType: "uint256";
444
+ }];
445
+ readonly outputs: readonly [];
446
+ readonly stateMutability: "nonpayable";
447
+ }, {
448
+ readonly type: "function";
449
+ readonly name: "transfer";
450
+ readonly inputs: readonly [{
451
+ readonly name: "receiver";
452
+ readonly type: "address";
453
+ readonly internalType: "address";
454
+ }, {
455
+ readonly name: "currency";
456
+ readonly type: "address";
457
+ readonly internalType: "Currency";
458
+ }, {
459
+ readonly name: "amount";
460
+ readonly type: "uint256";
461
+ readonly internalType: "uint256";
462
+ }];
463
+ readonly outputs: readonly [{
464
+ readonly name: "";
465
+ readonly type: "bool";
466
+ readonly internalType: "bool";
467
+ }];
468
+ readonly stateMutability: "nonpayable";
469
+ }, {
470
+ readonly type: "function";
471
+ readonly name: "transferFrom";
472
+ readonly inputs: readonly [{
473
+ readonly name: "sender";
474
+ readonly type: "address";
475
+ readonly internalType: "address";
476
+ }, {
477
+ readonly name: "receiver";
478
+ readonly type: "address";
479
+ readonly internalType: "address";
480
+ }, {
481
+ readonly name: "currency";
482
+ readonly type: "address";
483
+ readonly internalType: "Currency";
484
+ }, {
485
+ readonly name: "amount";
486
+ readonly type: "uint256";
487
+ readonly internalType: "uint256";
488
+ }];
489
+ readonly outputs: readonly [{
490
+ readonly name: "";
491
+ readonly type: "bool";
492
+ readonly internalType: "bool";
493
+ }];
494
+ readonly stateMutability: "nonpayable";
495
+ }, {
496
+ readonly type: "function";
497
+ readonly name: "transferOwnership";
498
+ readonly inputs: readonly [{
499
+ readonly name: "newOwner";
500
+ readonly type: "address";
501
+ readonly internalType: "address";
502
+ }];
503
+ readonly outputs: readonly [];
504
+ readonly stateMutability: "nonpayable";
505
+ }, {
506
+ readonly type: "event";
507
+ readonly name: "AppRegistered";
508
+ readonly inputs: readonly [{
509
+ readonly name: "app";
510
+ readonly type: "address";
511
+ readonly indexed: true;
512
+ readonly internalType: "address";
513
+ }];
514
+ readonly anonymous: false;
515
+ }, {
516
+ readonly type: "event";
517
+ readonly name: "Approval";
518
+ readonly inputs: readonly [{
519
+ readonly name: "owner";
520
+ readonly type: "address";
521
+ readonly indexed: true;
522
+ readonly internalType: "address";
523
+ }, {
524
+ readonly name: "spender";
525
+ readonly type: "address";
526
+ readonly indexed: true;
527
+ readonly internalType: "address";
528
+ }, {
529
+ readonly name: "currency";
530
+ readonly type: "address";
531
+ readonly indexed: true;
532
+ readonly internalType: "Currency";
533
+ }, {
534
+ readonly name: "amount";
535
+ readonly type: "uint256";
536
+ readonly indexed: false;
537
+ readonly internalType: "uint256";
538
+ }];
539
+ readonly anonymous: false;
540
+ }, {
541
+ readonly type: "event";
542
+ readonly name: "OperatorSet";
543
+ readonly inputs: readonly [{
544
+ readonly name: "owner";
545
+ readonly type: "address";
546
+ readonly indexed: true;
547
+ readonly internalType: "address";
548
+ }, {
549
+ readonly name: "operator";
550
+ readonly type: "address";
551
+ readonly indexed: true;
552
+ readonly internalType: "address";
553
+ }, {
554
+ readonly name: "approved";
555
+ readonly type: "bool";
556
+ readonly indexed: false;
557
+ readonly internalType: "bool";
558
+ }];
559
+ readonly anonymous: false;
560
+ }, {
561
+ readonly type: "event";
562
+ readonly name: "OwnershipTransferStarted";
563
+ readonly inputs: readonly [{
564
+ readonly name: "previousOwner";
565
+ readonly type: "address";
566
+ readonly indexed: true;
567
+ readonly internalType: "address";
568
+ }, {
569
+ readonly name: "newOwner";
570
+ readonly type: "address";
571
+ readonly indexed: true;
572
+ readonly internalType: "address";
573
+ }];
574
+ readonly anonymous: false;
575
+ }, {
576
+ readonly type: "event";
577
+ readonly name: "OwnershipTransferred";
578
+ readonly inputs: readonly [{
579
+ readonly name: "previousOwner";
580
+ readonly type: "address";
581
+ readonly indexed: true;
582
+ readonly internalType: "address";
583
+ }, {
584
+ readonly name: "newOwner";
585
+ readonly type: "address";
586
+ readonly indexed: true;
587
+ readonly internalType: "address";
588
+ }];
589
+ readonly anonymous: false;
590
+ }, {
591
+ readonly type: "event";
592
+ readonly name: "Transfer";
593
+ readonly inputs: readonly [{
594
+ readonly name: "caller";
595
+ readonly type: "address";
596
+ readonly indexed: false;
597
+ readonly internalType: "address";
598
+ }, {
599
+ readonly name: "from";
600
+ readonly type: "address";
601
+ readonly indexed: true;
602
+ readonly internalType: "address";
603
+ }, {
604
+ readonly name: "to";
605
+ readonly type: "address";
606
+ readonly indexed: true;
607
+ readonly internalType: "address";
608
+ }, {
609
+ readonly name: "currency";
610
+ readonly type: "address";
611
+ readonly indexed: true;
612
+ readonly internalType: "Currency";
613
+ }, {
614
+ readonly name: "amount";
615
+ readonly type: "uint256";
616
+ readonly indexed: false;
617
+ readonly internalType: "uint256";
618
+ }];
619
+ readonly anonymous: false;
620
+ }, {
621
+ readonly type: "error";
622
+ readonly name: "AppUnregistered";
623
+ readonly inputs: readonly [];
624
+ }, {
625
+ readonly type: "error";
626
+ readonly name: "CurrencyNotSettled";
627
+ readonly inputs: readonly [];
628
+ }, {
629
+ readonly type: "error";
630
+ readonly name: "FeeCurrencySynced";
631
+ readonly inputs: readonly [];
632
+ }, {
633
+ readonly type: "error";
634
+ readonly name: "LockerAlreadySet";
635
+ readonly inputs: readonly [{
636
+ readonly name: "locker";
637
+ readonly type: "address";
638
+ readonly internalType: "address";
639
+ }];
640
+ }, {
641
+ readonly type: "error";
642
+ readonly name: "MustClearExactPositiveDelta";
643
+ readonly inputs: readonly [];
644
+ }, {
645
+ readonly type: "error";
646
+ readonly name: "NoLocker";
647
+ readonly inputs: readonly [];
648
+ }, {
649
+ readonly type: "error";
650
+ readonly name: "OwnableInvalidOwner";
651
+ readonly inputs: readonly [{
652
+ readonly name: "owner";
653
+ readonly type: "address";
654
+ readonly internalType: "address";
655
+ }];
656
+ }, {
657
+ readonly type: "error";
658
+ readonly name: "OwnableUnauthorizedAccount";
659
+ readonly inputs: readonly [{
660
+ readonly name: "account";
661
+ readonly type: "address";
662
+ readonly internalType: "address";
663
+ }];
664
+ }, {
665
+ readonly type: "error";
666
+ readonly name: "SettleNonNativeCurrencyWithValue";
667
+ readonly inputs: readonly [];
668
+ }];
669
+ //# sourceMappingURL=VaultAbi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VaultAbi.d.ts","sourceRoot":"","sources":["../../src/abis/VaultAbi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkWX,CAAA"}
@@ -0,0 +1,15 @@
1
+ export * from './BinMigratorAbi';
2
+ export * from './BinPoolManagerAbi';
3
+ export * from './BinPositionManagerAbi';
4
+ export * from './BinQuoterAbi';
5
+ export * from './CLMigratorAbi';
6
+ export * from './CLPoolManagerAbi';
7
+ export * from './CLPositionManagerAbi';
8
+ export * from './CLQuoterAbi';
9
+ export * from './FarmingOffChainAbi';
10
+ export * from './FarmingOffChainCLHelperAbi';
11
+ export * from './MixedQuoterAbi';
12
+ export * from './Permit2ForwardAbi';
13
+ export * from './ProtocolFeeControllerAbi';
14
+ export * from './VaultAbi';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abis/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,YAAY,CAAA"}
@@ -0,0 +1,15 @@
1
+ export declare const ABI_STRUCT_POOL_KEY: string[];
2
+ export declare const ABI_STRUCT_PATH_KEY: string[];
3
+ export declare const ABI_STRUCT_POSITION_CONFIG: string[];
4
+ export declare const ABI_STRUCT_CL_SWAP_EXACT_INPUT_SINGLE_PARAMS: string[];
5
+ export declare const ABI_STRUCT_CL_SWAP_EXACT_INPUT_PARAMS: string[];
6
+ export declare const ABI_STRUCT_CL_SWAP_EXACT_OUTPUT_SINGLE_PARAMS: string[];
7
+ export declare const ABI_STRUCT_CL_SWAP_EXACT_OUTPUT_PARAMS: string[];
8
+ export declare const ABI_STRUCT_BIN_ADD_LIQUIDITY_FROM_DELTAS_PARAMS: string[];
9
+ export declare const ABI_STRUCT_BIN_ADD_LIQUIDITY_PARAMS: string[];
10
+ export declare const ABI_STRUCT_BIN_REMOVE_LIQUIDITY_PARAMS: string[];
11
+ export declare const ABI_STRUCT_BIN_SWAP_EXACT_INPUT_SINGLE_PARAMS: string[];
12
+ export declare const ABI_STRUCT_BIN_SWAP_EXACT_INPUT_PARAMS: string[];
13
+ export declare const ABI_STRUCT_BIN_SWAP_EXACT_OUTPUT_SINGLE_PARAMS: string[];
14
+ export declare const ABI_STRUCT_BIN_SWAP_EXACT_OUTPUT_PARAMS: string[];
15
+ //# sourceMappingURL=abiStructFragments.d.ts.map