@gitmyabi/logic 0.0.0-stage → 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/README.md +107 -2
- package/contracts/Logic.d.ts +2256 -0
- package/contracts/Logic.js +1992 -0
- package/contracts/Logic.ts +2890 -0
- package/contracts/OwnedProxy.d.ts +168 -0
- package/contracts/OwnedProxy.js +185 -0
- package/contracts/OwnedProxy.ts +237 -0
- package/contracts/index.d.ts +4 -0
- package/contracts/index.js +10 -0
- package/contracts/index.ts +5 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +40 -3
|
@@ -0,0 +1,2256 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* Logic.V4SwapData struct type
|
|
4
|
+
*/
|
|
5
|
+
export type Logic_V4SwapData = {
|
|
6
|
+
key: PoolKey;
|
|
7
|
+
params: SwapParams;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* PoolKey struct type
|
|
11
|
+
*/
|
|
12
|
+
export type PoolKey = {
|
|
13
|
+
currency0: `0x${string}`;
|
|
14
|
+
currency1: `0x${string}`;
|
|
15
|
+
fee: bigint;
|
|
16
|
+
tickSpacing: bigint;
|
|
17
|
+
hooks: `0x${string}`;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* SwapParams struct type
|
|
21
|
+
*/
|
|
22
|
+
export type SwapParams = {
|
|
23
|
+
zeroForOne: boolean;
|
|
24
|
+
amountSpecified: bigint;
|
|
25
|
+
sqrtPriceLimitX96: bigint;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Logic ABI
|
|
29
|
+
*
|
|
30
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
31
|
+
*/
|
|
32
|
+
export declare const LogicAbi: readonly [{
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
readonly name: "proxyOwner";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
}, {
|
|
38
|
+
readonly internalType: "address";
|
|
39
|
+
readonly name: "proxyContract";
|
|
40
|
+
readonly type: "address";
|
|
41
|
+
}];
|
|
42
|
+
readonly stateMutability: "nonpayable";
|
|
43
|
+
readonly type: "constructor";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [];
|
|
46
|
+
readonly name: "WHITELIST_MANAGER";
|
|
47
|
+
readonly outputs: readonly [{
|
|
48
|
+
readonly internalType: "address";
|
|
49
|
+
readonly name: "";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
}];
|
|
52
|
+
readonly stateMutability: "view";
|
|
53
|
+
readonly type: "function";
|
|
54
|
+
}, {
|
|
55
|
+
readonly inputs: readonly [{
|
|
56
|
+
readonly internalType: "address";
|
|
57
|
+
readonly name: "deployer";
|
|
58
|
+
readonly type: "address";
|
|
59
|
+
}, {
|
|
60
|
+
readonly internalType: "address[]";
|
|
61
|
+
readonly name: "pools";
|
|
62
|
+
readonly type: "address[]";
|
|
63
|
+
}];
|
|
64
|
+
readonly name: "addWhitelistedAlgebraCustomPoolAddressesHum_1T0MDH";
|
|
65
|
+
readonly outputs: readonly [];
|
|
66
|
+
readonly stateMutability: "nonpayable";
|
|
67
|
+
readonly type: "function";
|
|
68
|
+
}, {
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly internalType: "address[]";
|
|
71
|
+
readonly name: "bots";
|
|
72
|
+
readonly type: "address[]";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "addWhitelistedBotAddressesHum";
|
|
75
|
+
readonly outputs: readonly [];
|
|
76
|
+
readonly stateMutability: "nonpayable";
|
|
77
|
+
readonly type: "function";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly internalType: "address[]";
|
|
81
|
+
readonly name: "pairs";
|
|
82
|
+
readonly type: "address[]";
|
|
83
|
+
}];
|
|
84
|
+
readonly name: "addWhitelistedPairAddressesHum";
|
|
85
|
+
readonly outputs: readonly [];
|
|
86
|
+
readonly stateMutability: "nonpayable";
|
|
87
|
+
readonly type: "function";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [{
|
|
90
|
+
readonly internalType: "address[]";
|
|
91
|
+
readonly name: "accounts";
|
|
92
|
+
readonly type: "address[]";
|
|
93
|
+
}];
|
|
94
|
+
readonly name: "addWhitelistedTokenAddressesHum";
|
|
95
|
+
readonly outputs: readonly [];
|
|
96
|
+
readonly stateMutability: "nonpayable";
|
|
97
|
+
readonly type: "function";
|
|
98
|
+
}, {
|
|
99
|
+
readonly inputs: readonly [{
|
|
100
|
+
readonly internalType: "address[]";
|
|
101
|
+
readonly name: "accounts";
|
|
102
|
+
readonly type: "address[]";
|
|
103
|
+
}];
|
|
104
|
+
readonly name: "addWhitelistedTransferAddressesHum";
|
|
105
|
+
readonly outputs: readonly [];
|
|
106
|
+
readonly stateMutability: "nonpayable";
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
}, {
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly internalType: "address[]";
|
|
111
|
+
readonly name: "factories";
|
|
112
|
+
readonly type: "address[]";
|
|
113
|
+
}];
|
|
114
|
+
readonly name: "addWhitelistedUniswapV3FactoryHum";
|
|
115
|
+
readonly outputs: readonly [];
|
|
116
|
+
readonly stateMutability: "nonpayable";
|
|
117
|
+
readonly type: "function";
|
|
118
|
+
}, {
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly internalType: "address[]";
|
|
121
|
+
readonly name: "pools";
|
|
122
|
+
readonly type: "address[]";
|
|
123
|
+
}];
|
|
124
|
+
readonly name: "addWhitelistedUniswapV3PoolAddressesHum";
|
|
125
|
+
readonly outputs: readonly [];
|
|
126
|
+
readonly stateMutability: "nonpayable";
|
|
127
|
+
readonly type: "function";
|
|
128
|
+
}, {
|
|
129
|
+
readonly inputs: readonly [{
|
|
130
|
+
readonly internalType: "address[]";
|
|
131
|
+
readonly name: "accounts";
|
|
132
|
+
readonly type: "address[]";
|
|
133
|
+
}];
|
|
134
|
+
readonly name: "addWhitelistedUniswapV3PositionManagerHum";
|
|
135
|
+
readonly outputs: readonly [];
|
|
136
|
+
readonly stateMutability: "nonpayable";
|
|
137
|
+
readonly type: "function";
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly internalType: "address[]";
|
|
141
|
+
readonly name: "hooks";
|
|
142
|
+
readonly type: "address[]";
|
|
143
|
+
}];
|
|
144
|
+
readonly name: "addWhitelistedUniswapV4HooksHum";
|
|
145
|
+
readonly outputs: readonly [];
|
|
146
|
+
readonly stateMutability: "nonpayable";
|
|
147
|
+
readonly type: "function";
|
|
148
|
+
}, {
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
readonly name: "poolManager";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
}, {
|
|
154
|
+
readonly internalType: "bytes[]";
|
|
155
|
+
readonly name: "keys";
|
|
156
|
+
readonly type: "bytes[]";
|
|
157
|
+
}];
|
|
158
|
+
readonly name: "addWhitelistedUniswapV4PoolsHum";
|
|
159
|
+
readonly outputs: readonly [];
|
|
160
|
+
readonly stateMutability: "nonpayable";
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly internalType: "int256";
|
|
165
|
+
readonly name: "amount0Delta";
|
|
166
|
+
readonly type: "int256";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "int256";
|
|
169
|
+
readonly name: "amount1Delta";
|
|
170
|
+
readonly type: "int256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "bytes";
|
|
173
|
+
readonly name: "data";
|
|
174
|
+
readonly type: "bytes";
|
|
175
|
+
}];
|
|
176
|
+
readonly name: "algebraSwapCallback";
|
|
177
|
+
readonly outputs: readonly [];
|
|
178
|
+
readonly stateMutability: "nonpayable";
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
}, {
|
|
181
|
+
readonly inputs: readonly [{
|
|
182
|
+
readonly internalType: "address";
|
|
183
|
+
readonly name: "";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
}];
|
|
186
|
+
readonly name: "isWhitelistedBotAddress";
|
|
187
|
+
readonly outputs: readonly [{
|
|
188
|
+
readonly internalType: "bool";
|
|
189
|
+
readonly name: "";
|
|
190
|
+
readonly type: "bool";
|
|
191
|
+
}];
|
|
192
|
+
readonly stateMutability: "view";
|
|
193
|
+
readonly type: "function";
|
|
194
|
+
}, {
|
|
195
|
+
readonly inputs: readonly [{
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
readonly name: "";
|
|
198
|
+
readonly type: "address";
|
|
199
|
+
}];
|
|
200
|
+
readonly name: "isWhitelistedPairAddress";
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly internalType: "bool";
|
|
203
|
+
readonly name: "";
|
|
204
|
+
readonly type: "bool";
|
|
205
|
+
}];
|
|
206
|
+
readonly stateMutability: "view";
|
|
207
|
+
readonly type: "function";
|
|
208
|
+
}, {
|
|
209
|
+
readonly inputs: readonly [{
|
|
210
|
+
readonly internalType: "bytes32";
|
|
211
|
+
readonly name: "";
|
|
212
|
+
readonly type: "bytes32";
|
|
213
|
+
}];
|
|
214
|
+
readonly name: "isWhitelistedPoolHash";
|
|
215
|
+
readonly outputs: readonly [{
|
|
216
|
+
readonly internalType: "bool";
|
|
217
|
+
readonly name: "";
|
|
218
|
+
readonly type: "bool";
|
|
219
|
+
}];
|
|
220
|
+
readonly stateMutability: "view";
|
|
221
|
+
readonly type: "function";
|
|
222
|
+
}, {
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly internalType: "address";
|
|
225
|
+
readonly name: "";
|
|
226
|
+
readonly type: "address";
|
|
227
|
+
}];
|
|
228
|
+
readonly name: "isWhitelistedPoolHook";
|
|
229
|
+
readonly outputs: readonly [{
|
|
230
|
+
readonly internalType: "bool";
|
|
231
|
+
readonly name: "";
|
|
232
|
+
readonly type: "bool";
|
|
233
|
+
}];
|
|
234
|
+
readonly stateMutability: "view";
|
|
235
|
+
readonly type: "function";
|
|
236
|
+
}, {
|
|
237
|
+
readonly inputs: readonly [{
|
|
238
|
+
readonly internalType: "address";
|
|
239
|
+
readonly name: "";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
}];
|
|
242
|
+
readonly name: "isWhitelistedRouterAddress";
|
|
243
|
+
readonly outputs: readonly [{
|
|
244
|
+
readonly internalType: "bool";
|
|
245
|
+
readonly name: "";
|
|
246
|
+
readonly type: "bool";
|
|
247
|
+
}];
|
|
248
|
+
readonly stateMutability: "view";
|
|
249
|
+
readonly type: "function";
|
|
250
|
+
}, {
|
|
251
|
+
readonly inputs: readonly [{
|
|
252
|
+
readonly internalType: "address";
|
|
253
|
+
readonly name: "";
|
|
254
|
+
readonly type: "address";
|
|
255
|
+
}];
|
|
256
|
+
readonly name: "isWhitelistedSlot11Address_3HRmBk";
|
|
257
|
+
readonly outputs: readonly [{
|
|
258
|
+
readonly internalType: "bool";
|
|
259
|
+
readonly name: "";
|
|
260
|
+
readonly type: "bool";
|
|
261
|
+
}];
|
|
262
|
+
readonly stateMutability: "view";
|
|
263
|
+
readonly type: "function";
|
|
264
|
+
}, {
|
|
265
|
+
readonly inputs: readonly [{
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
readonly name: "";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
}];
|
|
270
|
+
readonly name: "isWhitelistedSlot3Address_7xvhmR";
|
|
271
|
+
readonly outputs: readonly [{
|
|
272
|
+
readonly internalType: "bool";
|
|
273
|
+
readonly name: "";
|
|
274
|
+
readonly type: "bool";
|
|
275
|
+
}];
|
|
276
|
+
readonly stateMutability: "view";
|
|
277
|
+
readonly type: "function";
|
|
278
|
+
}, {
|
|
279
|
+
readonly inputs: readonly [{
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
readonly name: "";
|
|
282
|
+
readonly type: "address";
|
|
283
|
+
}];
|
|
284
|
+
readonly name: "isWhitelistedTokenAddress";
|
|
285
|
+
readonly outputs: readonly [{
|
|
286
|
+
readonly internalType: "bool";
|
|
287
|
+
readonly name: "";
|
|
288
|
+
readonly type: "bool";
|
|
289
|
+
}];
|
|
290
|
+
readonly stateMutability: "view";
|
|
291
|
+
readonly type: "function";
|
|
292
|
+
}, {
|
|
293
|
+
readonly inputs: readonly [{
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly name: "";
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
}];
|
|
298
|
+
readonly name: "isWhitelistedTransferAddress";
|
|
299
|
+
readonly outputs: readonly [{
|
|
300
|
+
readonly internalType: "bool";
|
|
301
|
+
readonly name: "";
|
|
302
|
+
readonly type: "bool";
|
|
303
|
+
}];
|
|
304
|
+
readonly stateMutability: "view";
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
}, {
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly internalType: "address";
|
|
309
|
+
readonly name: "";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
}];
|
|
312
|
+
readonly name: "isWhitelistedUniswapV3FactoryAddress";
|
|
313
|
+
readonly outputs: readonly [{
|
|
314
|
+
readonly internalType: "bool";
|
|
315
|
+
readonly name: "";
|
|
316
|
+
readonly type: "bool";
|
|
317
|
+
}];
|
|
318
|
+
readonly stateMutability: "view";
|
|
319
|
+
readonly type: "function";
|
|
320
|
+
}, {
|
|
321
|
+
readonly inputs: readonly [{
|
|
322
|
+
readonly internalType: "address";
|
|
323
|
+
readonly name: "";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
}];
|
|
326
|
+
readonly name: "isWhitelistedUniswapV3PoolAddress";
|
|
327
|
+
readonly outputs: readonly [{
|
|
328
|
+
readonly internalType: "bool";
|
|
329
|
+
readonly name: "";
|
|
330
|
+
readonly type: "bool";
|
|
331
|
+
}];
|
|
332
|
+
readonly stateMutability: "view";
|
|
333
|
+
readonly type: "function";
|
|
334
|
+
}, {
|
|
335
|
+
readonly inputs: readonly [{
|
|
336
|
+
readonly internalType: "address";
|
|
337
|
+
readonly name: "";
|
|
338
|
+
readonly type: "address";
|
|
339
|
+
}];
|
|
340
|
+
readonly name: "isWhitelistedUniswapV3PositionManagerAddress";
|
|
341
|
+
readonly outputs: readonly [{
|
|
342
|
+
readonly internalType: "bool";
|
|
343
|
+
readonly name: "";
|
|
344
|
+
readonly type: "bool";
|
|
345
|
+
}];
|
|
346
|
+
readonly stateMutability: "view";
|
|
347
|
+
readonly type: "function";
|
|
348
|
+
}, {
|
|
349
|
+
readonly inputs: readonly [{
|
|
350
|
+
readonly internalType: "address[]";
|
|
351
|
+
readonly name: "tokens";
|
|
352
|
+
readonly type: "address[]";
|
|
353
|
+
}, {
|
|
354
|
+
readonly internalType: "address";
|
|
355
|
+
readonly name: "newProxy";
|
|
356
|
+
readonly type: "address";
|
|
357
|
+
}, {
|
|
358
|
+
readonly internalType: "address";
|
|
359
|
+
readonly name: "newProxyOwner";
|
|
360
|
+
readonly type: "address";
|
|
361
|
+
}];
|
|
362
|
+
readonly name: "migrateTokensProxyOwnerHum";
|
|
363
|
+
readonly outputs: readonly [];
|
|
364
|
+
readonly stateMutability: "nonpayable";
|
|
365
|
+
readonly type: "function";
|
|
366
|
+
}, {
|
|
367
|
+
readonly inputs: readonly [{
|
|
368
|
+
readonly internalType: "int256";
|
|
369
|
+
readonly name: "amount0Delta";
|
|
370
|
+
readonly type: "int256";
|
|
371
|
+
}, {
|
|
372
|
+
readonly internalType: "int256";
|
|
373
|
+
readonly name: "amount1Delta";
|
|
374
|
+
readonly type: "int256";
|
|
375
|
+
}, {
|
|
376
|
+
readonly internalType: "bytes";
|
|
377
|
+
readonly name: "data";
|
|
378
|
+
readonly type: "bytes";
|
|
379
|
+
}];
|
|
380
|
+
readonly name: "pancakeV3SwapCallback";
|
|
381
|
+
readonly outputs: readonly [];
|
|
382
|
+
readonly stateMutability: "nonpayable";
|
|
383
|
+
readonly type: "function";
|
|
384
|
+
}, {
|
|
385
|
+
readonly inputs: readonly [{
|
|
386
|
+
readonly internalType: "int256";
|
|
387
|
+
readonly name: "amount0Delta";
|
|
388
|
+
readonly type: "int256";
|
|
389
|
+
}, {
|
|
390
|
+
readonly internalType: "int256";
|
|
391
|
+
readonly name: "amount1Delta";
|
|
392
|
+
readonly type: "int256";
|
|
393
|
+
}, {
|
|
394
|
+
readonly internalType: "bytes";
|
|
395
|
+
readonly name: "data";
|
|
396
|
+
readonly type: "bytes";
|
|
397
|
+
}];
|
|
398
|
+
readonly name: "ramsesV2SwapCallback";
|
|
399
|
+
readonly outputs: readonly [];
|
|
400
|
+
readonly stateMutability: "nonpayable";
|
|
401
|
+
readonly type: "function";
|
|
402
|
+
}, {
|
|
403
|
+
readonly inputs: readonly [{
|
|
404
|
+
readonly internalType: "address[]";
|
|
405
|
+
readonly name: "bots";
|
|
406
|
+
readonly type: "address[]";
|
|
407
|
+
}];
|
|
408
|
+
readonly name: "removeWhitelistedBotAddressesHum";
|
|
409
|
+
readonly outputs: readonly [];
|
|
410
|
+
readonly stateMutability: "nonpayable";
|
|
411
|
+
readonly type: "function";
|
|
412
|
+
}, {
|
|
413
|
+
readonly inputs: readonly [{
|
|
414
|
+
readonly internalType: "address[]";
|
|
415
|
+
readonly name: "pairs";
|
|
416
|
+
readonly type: "address[]";
|
|
417
|
+
}];
|
|
418
|
+
readonly name: "removeWhitelistedPairAddressesHum";
|
|
419
|
+
readonly outputs: readonly [];
|
|
420
|
+
readonly stateMutability: "nonpayable";
|
|
421
|
+
readonly type: "function";
|
|
422
|
+
}, {
|
|
423
|
+
readonly inputs: readonly [{
|
|
424
|
+
readonly internalType: "address[]";
|
|
425
|
+
readonly name: "accounts";
|
|
426
|
+
readonly type: "address[]";
|
|
427
|
+
}];
|
|
428
|
+
readonly name: "removeWhitelistedTokenAddressesHum";
|
|
429
|
+
readonly outputs: readonly [];
|
|
430
|
+
readonly stateMutability: "nonpayable";
|
|
431
|
+
readonly type: "function";
|
|
432
|
+
}, {
|
|
433
|
+
readonly inputs: readonly [{
|
|
434
|
+
readonly internalType: "address[]";
|
|
435
|
+
readonly name: "accounts";
|
|
436
|
+
readonly type: "address[]";
|
|
437
|
+
}];
|
|
438
|
+
readonly name: "removeWhitelistedTransferAddressesHum";
|
|
439
|
+
readonly outputs: readonly [];
|
|
440
|
+
readonly stateMutability: "nonpayable";
|
|
441
|
+
readonly type: "function";
|
|
442
|
+
}, {
|
|
443
|
+
readonly inputs: readonly [{
|
|
444
|
+
readonly internalType: "address[]";
|
|
445
|
+
readonly name: "factories";
|
|
446
|
+
readonly type: "address[]";
|
|
447
|
+
}];
|
|
448
|
+
readonly name: "removeWhitelistedUniswapV3FactoryHum";
|
|
449
|
+
readonly outputs: readonly [];
|
|
450
|
+
readonly stateMutability: "nonpayable";
|
|
451
|
+
readonly type: "function";
|
|
452
|
+
}, {
|
|
453
|
+
readonly inputs: readonly [{
|
|
454
|
+
readonly internalType: "address[]";
|
|
455
|
+
readonly name: "pools";
|
|
456
|
+
readonly type: "address[]";
|
|
457
|
+
}];
|
|
458
|
+
readonly name: "removeWhitelistedUniswapV3PoolAddressesHum";
|
|
459
|
+
readonly outputs: readonly [];
|
|
460
|
+
readonly stateMutability: "nonpayable";
|
|
461
|
+
readonly type: "function";
|
|
462
|
+
}, {
|
|
463
|
+
readonly inputs: readonly [{
|
|
464
|
+
readonly internalType: "address[]";
|
|
465
|
+
readonly name: "accounts";
|
|
466
|
+
readonly type: "address[]";
|
|
467
|
+
}];
|
|
468
|
+
readonly name: "removeWhitelistedUniswapV3PositionManagerHum";
|
|
469
|
+
readonly outputs: readonly [];
|
|
470
|
+
readonly stateMutability: "nonpayable";
|
|
471
|
+
readonly type: "function";
|
|
472
|
+
}, {
|
|
473
|
+
readonly inputs: readonly [{
|
|
474
|
+
readonly internalType: "address[]";
|
|
475
|
+
readonly name: "hooks";
|
|
476
|
+
readonly type: "address[]";
|
|
477
|
+
}];
|
|
478
|
+
readonly name: "removeWhitelistedUniswapV4HooksHum";
|
|
479
|
+
readonly outputs: readonly [];
|
|
480
|
+
readonly stateMutability: "nonpayable";
|
|
481
|
+
readonly type: "function";
|
|
482
|
+
}, {
|
|
483
|
+
readonly inputs: readonly [{
|
|
484
|
+
readonly internalType: "address";
|
|
485
|
+
readonly name: "poolManager";
|
|
486
|
+
readonly type: "address";
|
|
487
|
+
}, {
|
|
488
|
+
readonly internalType: "bytes[]";
|
|
489
|
+
readonly name: "keys";
|
|
490
|
+
readonly type: "bytes[]";
|
|
491
|
+
}];
|
|
492
|
+
readonly name: "removeWhitelistedUniswapV4PoolsHum";
|
|
493
|
+
readonly outputs: readonly [];
|
|
494
|
+
readonly stateMutability: "nonpayable";
|
|
495
|
+
readonly type: "function";
|
|
496
|
+
}, {
|
|
497
|
+
readonly inputs: readonly [{
|
|
498
|
+
readonly internalType: "address";
|
|
499
|
+
readonly name: "";
|
|
500
|
+
readonly type: "address";
|
|
501
|
+
}];
|
|
502
|
+
readonly name: "slot9ValueOf_A7ULVH";
|
|
503
|
+
readonly outputs: readonly [{
|
|
504
|
+
readonly internalType: "uint256";
|
|
505
|
+
readonly name: "";
|
|
506
|
+
readonly type: "uint256";
|
|
507
|
+
}];
|
|
508
|
+
readonly stateMutability: "view";
|
|
509
|
+
readonly type: "function";
|
|
510
|
+
}, {
|
|
511
|
+
readonly inputs: readonly [{
|
|
512
|
+
readonly internalType: "int256";
|
|
513
|
+
readonly name: "amount0Delta";
|
|
514
|
+
readonly type: "int256";
|
|
515
|
+
}, {
|
|
516
|
+
readonly internalType: "int256";
|
|
517
|
+
readonly name: "amount1Delta";
|
|
518
|
+
readonly type: "int256";
|
|
519
|
+
}, {
|
|
520
|
+
readonly internalType: "bytes";
|
|
521
|
+
readonly name: "data";
|
|
522
|
+
readonly type: "bytes";
|
|
523
|
+
}];
|
|
524
|
+
readonly name: "squadV3SwapCallback";
|
|
525
|
+
readonly outputs: readonly [];
|
|
526
|
+
readonly stateMutability: "nonpayable";
|
|
527
|
+
readonly type: "function";
|
|
528
|
+
}, {
|
|
529
|
+
readonly inputs: readonly [{
|
|
530
|
+
readonly internalType: "uint256";
|
|
531
|
+
readonly name: "amountIn";
|
|
532
|
+
readonly type: "uint256";
|
|
533
|
+
}, {
|
|
534
|
+
readonly internalType: "address";
|
|
535
|
+
readonly name: "tokenIn";
|
|
536
|
+
readonly type: "address";
|
|
537
|
+
}, {
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
readonly name: "amountOutMin";
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
}, {
|
|
542
|
+
readonly internalType: "bool";
|
|
543
|
+
readonly name: "zeroForOne";
|
|
544
|
+
readonly type: "bool";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "address";
|
|
547
|
+
readonly name: "pool";
|
|
548
|
+
readonly type: "address";
|
|
549
|
+
}, {
|
|
550
|
+
readonly internalType: "uint256";
|
|
551
|
+
readonly name: "deadline";
|
|
552
|
+
readonly type: "uint256";
|
|
553
|
+
}];
|
|
554
|
+
readonly name: "swapExactTokensForTokensUniswapV3Hum";
|
|
555
|
+
readonly outputs: readonly [];
|
|
556
|
+
readonly stateMutability: "nonpayable";
|
|
557
|
+
readonly type: "function";
|
|
558
|
+
}, {
|
|
559
|
+
readonly inputs: readonly [{
|
|
560
|
+
readonly components: readonly [{
|
|
561
|
+
readonly components: readonly [{
|
|
562
|
+
readonly internalType: "address";
|
|
563
|
+
readonly name: "currency0";
|
|
564
|
+
readonly type: "address";
|
|
565
|
+
}, {
|
|
566
|
+
readonly internalType: "address";
|
|
567
|
+
readonly name: "currency1";
|
|
568
|
+
readonly type: "address";
|
|
569
|
+
}, {
|
|
570
|
+
readonly internalType: "uint24";
|
|
571
|
+
readonly name: "fee";
|
|
572
|
+
readonly type: "uint24";
|
|
573
|
+
}, {
|
|
574
|
+
readonly internalType: "int24";
|
|
575
|
+
readonly name: "tickSpacing";
|
|
576
|
+
readonly type: "int24";
|
|
577
|
+
}, {
|
|
578
|
+
readonly internalType: "address";
|
|
579
|
+
readonly name: "hooks";
|
|
580
|
+
readonly type: "address";
|
|
581
|
+
}];
|
|
582
|
+
readonly internalType: "struct PoolKey";
|
|
583
|
+
readonly name: "key";
|
|
584
|
+
readonly type: "tuple";
|
|
585
|
+
}, {
|
|
586
|
+
readonly components: readonly [{
|
|
587
|
+
readonly internalType: "bool";
|
|
588
|
+
readonly name: "zeroForOne";
|
|
589
|
+
readonly type: "bool";
|
|
590
|
+
}, {
|
|
591
|
+
readonly internalType: "int256";
|
|
592
|
+
readonly name: "amountSpecified";
|
|
593
|
+
readonly type: "int256";
|
|
594
|
+
}, {
|
|
595
|
+
readonly internalType: "uint160";
|
|
596
|
+
readonly name: "sqrtPriceLimitX96";
|
|
597
|
+
readonly type: "uint160";
|
|
598
|
+
}];
|
|
599
|
+
readonly internalType: "struct SwapParams";
|
|
600
|
+
readonly name: "params";
|
|
601
|
+
readonly type: "tuple";
|
|
602
|
+
}];
|
|
603
|
+
readonly internalType: "struct Logic.V4SwapData";
|
|
604
|
+
readonly name: "data";
|
|
605
|
+
readonly type: "tuple";
|
|
606
|
+
}, {
|
|
607
|
+
readonly internalType: "address";
|
|
608
|
+
readonly name: "poolManager";
|
|
609
|
+
readonly type: "address";
|
|
610
|
+
}, {
|
|
611
|
+
readonly internalType: "uint256";
|
|
612
|
+
readonly name: "amountOutMin";
|
|
613
|
+
readonly type: "uint256";
|
|
614
|
+
}, {
|
|
615
|
+
readonly internalType: "uint256";
|
|
616
|
+
readonly name: "deadline";
|
|
617
|
+
readonly type: "uint256";
|
|
618
|
+
}];
|
|
619
|
+
readonly name: "swapExactTokensForTokensUniswapV4Hum";
|
|
620
|
+
readonly outputs: readonly [];
|
|
621
|
+
readonly stateMutability: "nonpayable";
|
|
622
|
+
readonly type: "function";
|
|
623
|
+
}, {
|
|
624
|
+
readonly inputs: readonly [{
|
|
625
|
+
readonly internalType: "uint128";
|
|
626
|
+
readonly name: "amount";
|
|
627
|
+
readonly type: "uint128";
|
|
628
|
+
}, {
|
|
629
|
+
readonly internalType: "int24";
|
|
630
|
+
readonly name: "boundaryPoint";
|
|
631
|
+
readonly type: "int24";
|
|
632
|
+
}, {
|
|
633
|
+
readonly internalType: "address";
|
|
634
|
+
readonly name: "tokenIn";
|
|
635
|
+
readonly type: "address";
|
|
636
|
+
}, {
|
|
637
|
+
readonly internalType: "bool";
|
|
638
|
+
readonly name: "x2y";
|
|
639
|
+
readonly type: "bool";
|
|
640
|
+
}, {
|
|
641
|
+
readonly internalType: "address";
|
|
642
|
+
readonly name: "pool";
|
|
643
|
+
readonly type: "address";
|
|
644
|
+
}, {
|
|
645
|
+
readonly internalType: "uint256";
|
|
646
|
+
readonly name: "deadline";
|
|
647
|
+
readonly type: "uint256";
|
|
648
|
+
}];
|
|
649
|
+
readonly name: "swapToBoundaryIziSwapHum_4KPMRG";
|
|
650
|
+
readonly outputs: readonly [];
|
|
651
|
+
readonly stateMutability: "nonpayable";
|
|
652
|
+
readonly type: "function";
|
|
653
|
+
}, {
|
|
654
|
+
readonly inputs: readonly [{
|
|
655
|
+
readonly internalType: "uint256";
|
|
656
|
+
readonly name: "amountIn";
|
|
657
|
+
readonly type: "uint256";
|
|
658
|
+
}, {
|
|
659
|
+
readonly internalType: "uint256";
|
|
660
|
+
readonly name: "sqrtPriceLimitX96";
|
|
661
|
+
readonly type: "uint256";
|
|
662
|
+
}, {
|
|
663
|
+
readonly internalType: "address";
|
|
664
|
+
readonly name: "tokenIn";
|
|
665
|
+
readonly type: "address";
|
|
666
|
+
}, {
|
|
667
|
+
readonly internalType: "bool";
|
|
668
|
+
readonly name: "zeroForOne";
|
|
669
|
+
readonly type: "bool";
|
|
670
|
+
}, {
|
|
671
|
+
readonly internalType: "uint256";
|
|
672
|
+
readonly name: "fee";
|
|
673
|
+
readonly type: "uint256";
|
|
674
|
+
}, {
|
|
675
|
+
readonly internalType: "address";
|
|
676
|
+
readonly name: "pair";
|
|
677
|
+
readonly type: "address";
|
|
678
|
+
}, {
|
|
679
|
+
readonly internalType: "uint256";
|
|
680
|
+
readonly name: "deadline";
|
|
681
|
+
readonly type: "uint256";
|
|
682
|
+
}];
|
|
683
|
+
readonly name: "swapTokensForTokensLimitOrderUniswapV2Hum";
|
|
684
|
+
readonly outputs: readonly [];
|
|
685
|
+
readonly stateMutability: "nonpayable";
|
|
686
|
+
readonly type: "function";
|
|
687
|
+
}, {
|
|
688
|
+
readonly inputs: readonly [{
|
|
689
|
+
readonly internalType: "uint256";
|
|
690
|
+
readonly name: "amountIn";
|
|
691
|
+
readonly type: "uint256";
|
|
692
|
+
}, {
|
|
693
|
+
readonly internalType: "uint256";
|
|
694
|
+
readonly name: "sqrtPriceLimitX96";
|
|
695
|
+
readonly type: "uint256";
|
|
696
|
+
}, {
|
|
697
|
+
readonly internalType: "address";
|
|
698
|
+
readonly name: "tokenIn";
|
|
699
|
+
readonly type: "address";
|
|
700
|
+
}, {
|
|
701
|
+
readonly internalType: "bool";
|
|
702
|
+
readonly name: "zeroForOne";
|
|
703
|
+
readonly type: "bool";
|
|
704
|
+
}, {
|
|
705
|
+
readonly internalType: "address";
|
|
706
|
+
readonly name: "pool";
|
|
707
|
+
readonly type: "address";
|
|
708
|
+
}, {
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
readonly name: "deadline";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}];
|
|
713
|
+
readonly name: "swapTokensForTokensLimitOrderUniswapV3Hum";
|
|
714
|
+
readonly outputs: readonly [];
|
|
715
|
+
readonly stateMutability: "nonpayable";
|
|
716
|
+
readonly type: "function";
|
|
717
|
+
}, {
|
|
718
|
+
readonly inputs: readonly [{
|
|
719
|
+
readonly components: readonly [{
|
|
720
|
+
readonly components: readonly [{
|
|
721
|
+
readonly internalType: "address";
|
|
722
|
+
readonly name: "currency0";
|
|
723
|
+
readonly type: "address";
|
|
724
|
+
}, {
|
|
725
|
+
readonly internalType: "address";
|
|
726
|
+
readonly name: "currency1";
|
|
727
|
+
readonly type: "address";
|
|
728
|
+
}, {
|
|
729
|
+
readonly internalType: "uint24";
|
|
730
|
+
readonly name: "fee";
|
|
731
|
+
readonly type: "uint24";
|
|
732
|
+
}, {
|
|
733
|
+
readonly internalType: "int24";
|
|
734
|
+
readonly name: "tickSpacing";
|
|
735
|
+
readonly type: "int24";
|
|
736
|
+
}, {
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
readonly name: "hooks";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}];
|
|
741
|
+
readonly internalType: "struct PoolKey";
|
|
742
|
+
readonly name: "key";
|
|
743
|
+
readonly type: "tuple";
|
|
744
|
+
}, {
|
|
745
|
+
readonly components: readonly [{
|
|
746
|
+
readonly internalType: "bool";
|
|
747
|
+
readonly name: "zeroForOne";
|
|
748
|
+
readonly type: "bool";
|
|
749
|
+
}, {
|
|
750
|
+
readonly internalType: "int256";
|
|
751
|
+
readonly name: "amountSpecified";
|
|
752
|
+
readonly type: "int256";
|
|
753
|
+
}, {
|
|
754
|
+
readonly internalType: "uint160";
|
|
755
|
+
readonly name: "sqrtPriceLimitX96";
|
|
756
|
+
readonly type: "uint160";
|
|
757
|
+
}];
|
|
758
|
+
readonly internalType: "struct SwapParams";
|
|
759
|
+
readonly name: "params";
|
|
760
|
+
readonly type: "tuple";
|
|
761
|
+
}];
|
|
762
|
+
readonly internalType: "struct Logic.V4SwapData";
|
|
763
|
+
readonly name: "data";
|
|
764
|
+
readonly type: "tuple";
|
|
765
|
+
}, {
|
|
766
|
+
readonly internalType: "address";
|
|
767
|
+
readonly name: "poolManager";
|
|
768
|
+
readonly type: "address";
|
|
769
|
+
}, {
|
|
770
|
+
readonly internalType: "uint256";
|
|
771
|
+
readonly name: "deadline";
|
|
772
|
+
readonly type: "uint256";
|
|
773
|
+
}];
|
|
774
|
+
readonly name: "swapTokensForTokensLimitOrderUniswapV4Hum";
|
|
775
|
+
readonly outputs: readonly [];
|
|
776
|
+
readonly stateMutability: "nonpayable";
|
|
777
|
+
readonly type: "function";
|
|
778
|
+
}, {
|
|
779
|
+
readonly inputs: readonly [{
|
|
780
|
+
readonly internalType: "uint256";
|
|
781
|
+
readonly name: "x";
|
|
782
|
+
readonly type: "uint256";
|
|
783
|
+
}, {
|
|
784
|
+
readonly internalType: "uint256";
|
|
785
|
+
readonly name: "y";
|
|
786
|
+
readonly type: "uint256";
|
|
787
|
+
}, {
|
|
788
|
+
readonly internalType: "bytes";
|
|
789
|
+
readonly name: "data";
|
|
790
|
+
readonly type: "bytes";
|
|
791
|
+
}];
|
|
792
|
+
readonly name: "swapX2YCallback";
|
|
793
|
+
readonly outputs: readonly [];
|
|
794
|
+
readonly stateMutability: "nonpayable";
|
|
795
|
+
readonly type: "function";
|
|
796
|
+
}, {
|
|
797
|
+
readonly inputs: readonly [{
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
readonly name: "x";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "uint256";
|
|
803
|
+
readonly name: "y";
|
|
804
|
+
readonly type: "uint256";
|
|
805
|
+
}, {
|
|
806
|
+
readonly internalType: "bytes";
|
|
807
|
+
readonly name: "data";
|
|
808
|
+
readonly type: "bytes";
|
|
809
|
+
}];
|
|
810
|
+
readonly name: "swapY2XCallback";
|
|
811
|
+
readonly outputs: readonly [];
|
|
812
|
+
readonly stateMutability: "nonpayable";
|
|
813
|
+
readonly type: "function";
|
|
814
|
+
}, {
|
|
815
|
+
readonly inputs: readonly [{
|
|
816
|
+
readonly internalType: "address";
|
|
817
|
+
readonly name: "to";
|
|
818
|
+
readonly type: "address";
|
|
819
|
+
}, {
|
|
820
|
+
readonly internalType: "uint256";
|
|
821
|
+
readonly name: "amount";
|
|
822
|
+
readonly type: "uint256";
|
|
823
|
+
}];
|
|
824
|
+
readonly name: "transferChainCoinProxyOwnerHum";
|
|
825
|
+
readonly outputs: readonly [];
|
|
826
|
+
readonly stateMutability: "nonpayable";
|
|
827
|
+
readonly type: "function";
|
|
828
|
+
}, {
|
|
829
|
+
readonly inputs: readonly [{
|
|
830
|
+
readonly internalType: "address";
|
|
831
|
+
readonly name: "token";
|
|
832
|
+
readonly type: "address";
|
|
833
|
+
}, {
|
|
834
|
+
readonly internalType: "address";
|
|
835
|
+
readonly name: "to";
|
|
836
|
+
readonly type: "address";
|
|
837
|
+
}, {
|
|
838
|
+
readonly internalType: "uint256";
|
|
839
|
+
readonly name: "amount";
|
|
840
|
+
readonly type: "uint256";
|
|
841
|
+
}];
|
|
842
|
+
readonly name: "transferTokenProxyOwnerHum";
|
|
843
|
+
readonly outputs: readonly [];
|
|
844
|
+
readonly stateMutability: "nonpayable";
|
|
845
|
+
readonly type: "function";
|
|
846
|
+
}, {
|
|
847
|
+
readonly inputs: readonly [{
|
|
848
|
+
readonly internalType: "int256";
|
|
849
|
+
readonly name: "amount0Delta";
|
|
850
|
+
readonly type: "int256";
|
|
851
|
+
}, {
|
|
852
|
+
readonly internalType: "int256";
|
|
853
|
+
readonly name: "amount1Delta";
|
|
854
|
+
readonly type: "int256";
|
|
855
|
+
}, {
|
|
856
|
+
readonly internalType: "bytes";
|
|
857
|
+
readonly name: "data";
|
|
858
|
+
readonly type: "bytes";
|
|
859
|
+
}];
|
|
860
|
+
readonly name: "uniswapV3SwapCallback";
|
|
861
|
+
readonly outputs: readonly [];
|
|
862
|
+
readonly stateMutability: "nonpayable";
|
|
863
|
+
readonly type: "function";
|
|
864
|
+
}, {
|
|
865
|
+
readonly inputs: readonly [{
|
|
866
|
+
readonly internalType: "bytes";
|
|
867
|
+
readonly name: "data";
|
|
868
|
+
readonly type: "bytes";
|
|
869
|
+
}];
|
|
870
|
+
readonly name: "unlockCallback";
|
|
871
|
+
readonly outputs: readonly [{
|
|
872
|
+
readonly internalType: "bytes";
|
|
873
|
+
readonly name: "";
|
|
874
|
+
readonly type: "bytes";
|
|
875
|
+
}];
|
|
876
|
+
readonly stateMutability: "nonpayable";
|
|
877
|
+
readonly type: "function";
|
|
878
|
+
}, {
|
|
879
|
+
readonly inputs: readonly [];
|
|
880
|
+
readonly name: "validateProxyHum";
|
|
881
|
+
readonly outputs: readonly [];
|
|
882
|
+
readonly stateMutability: "view";
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
}];
|
|
885
|
+
/**
|
|
886
|
+
* Type-safe ABI for Logic
|
|
887
|
+
*/
|
|
888
|
+
export type LogicAbi = typeof LogicAbi;
|
|
889
|
+
/**
|
|
890
|
+
* Contract instance type for Logic
|
|
891
|
+
*/
|
|
892
|
+
export type LogicContract = any;
|
|
893
|
+
/**
|
|
894
|
+
* Logic Contract Class
|
|
895
|
+
*
|
|
896
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
897
|
+
*
|
|
898
|
+
* @example
|
|
899
|
+
* ```typescript
|
|
900
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
901
|
+
* import { mainnet } from 'viem/chains';
|
|
902
|
+
* import { Logic } from 'Logic';
|
|
903
|
+
*
|
|
904
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
905
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
906
|
+
*
|
|
907
|
+
* const contract = new Logic('0x...', { publicClient, walletClient });
|
|
908
|
+
*
|
|
909
|
+
* // Read functions
|
|
910
|
+
* const result = await contract.balanceOf('0x...');
|
|
911
|
+
*
|
|
912
|
+
* // Write functions
|
|
913
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
914
|
+
*
|
|
915
|
+
* // Simulate transactions (dry-run)
|
|
916
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
917
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
918
|
+
*
|
|
919
|
+
* // Watch events
|
|
920
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
921
|
+
* console.log('Transfer event:', event);
|
|
922
|
+
* });
|
|
923
|
+
* ```
|
|
924
|
+
*/
|
|
925
|
+
export declare class Logic {
|
|
926
|
+
private contract;
|
|
927
|
+
private contractAddress;
|
|
928
|
+
private publicClient;
|
|
929
|
+
constructor(address: Address, clients: {
|
|
930
|
+
publicClient: PublicClient;
|
|
931
|
+
walletClient?: WalletClient;
|
|
932
|
+
});
|
|
933
|
+
/**
|
|
934
|
+
* Get the contract address
|
|
935
|
+
*/
|
|
936
|
+
get address(): Address;
|
|
937
|
+
/**
|
|
938
|
+
* Get the underlying viem contract instance.
|
|
939
|
+
*/
|
|
940
|
+
getContract(): LogicContract;
|
|
941
|
+
/**
|
|
942
|
+
* WHITELIST_MANAGER
|
|
943
|
+
* view
|
|
944
|
+
*/
|
|
945
|
+
WHITELIST_MANAGER(): Promise<`0x${string}`>;
|
|
946
|
+
/**
|
|
947
|
+
* isWhitelistedBotAddress
|
|
948
|
+
* view
|
|
949
|
+
*/
|
|
950
|
+
isWhitelistedBotAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
951
|
+
/**
|
|
952
|
+
* isWhitelistedPairAddress
|
|
953
|
+
* view
|
|
954
|
+
*/
|
|
955
|
+
isWhitelistedPairAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
956
|
+
/**
|
|
957
|
+
* isWhitelistedPoolHash
|
|
958
|
+
* view
|
|
959
|
+
*/
|
|
960
|
+
isWhitelistedPoolHash(arg0: `0x${string}`): Promise<boolean>;
|
|
961
|
+
/**
|
|
962
|
+
* isWhitelistedPoolHook
|
|
963
|
+
* view
|
|
964
|
+
*/
|
|
965
|
+
isWhitelistedPoolHook(arg0: `0x${string}`): Promise<boolean>;
|
|
966
|
+
/**
|
|
967
|
+
* isWhitelistedRouterAddress
|
|
968
|
+
* view
|
|
969
|
+
*/
|
|
970
|
+
isWhitelistedRouterAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
971
|
+
/**
|
|
972
|
+
* isWhitelistedSlot11Address_3HRmBk
|
|
973
|
+
* view
|
|
974
|
+
*/
|
|
975
|
+
isWhitelistedSlot11Address_3HRmBk(arg0: `0x${string}`): Promise<boolean>;
|
|
976
|
+
/**
|
|
977
|
+
* isWhitelistedSlot3Address_7xvhmR
|
|
978
|
+
* view
|
|
979
|
+
*/
|
|
980
|
+
isWhitelistedSlot3Address_7xvhmR(arg0: `0x${string}`): Promise<boolean>;
|
|
981
|
+
/**
|
|
982
|
+
* isWhitelistedTokenAddress
|
|
983
|
+
* view
|
|
984
|
+
*/
|
|
985
|
+
isWhitelistedTokenAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
986
|
+
/**
|
|
987
|
+
* isWhitelistedTransferAddress
|
|
988
|
+
* view
|
|
989
|
+
*/
|
|
990
|
+
isWhitelistedTransferAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
991
|
+
/**
|
|
992
|
+
* isWhitelistedUniswapV3FactoryAddress
|
|
993
|
+
* view
|
|
994
|
+
*/
|
|
995
|
+
isWhitelistedUniswapV3FactoryAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
996
|
+
/**
|
|
997
|
+
* isWhitelistedUniswapV3PoolAddress
|
|
998
|
+
* view
|
|
999
|
+
*/
|
|
1000
|
+
isWhitelistedUniswapV3PoolAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
1001
|
+
/**
|
|
1002
|
+
* isWhitelistedUniswapV3PositionManagerAddress
|
|
1003
|
+
* view
|
|
1004
|
+
*/
|
|
1005
|
+
isWhitelistedUniswapV3PositionManagerAddress(arg0: `0x${string}`): Promise<boolean>;
|
|
1006
|
+
/**
|
|
1007
|
+
* slot9ValueOf_A7ULVH
|
|
1008
|
+
* view
|
|
1009
|
+
*/
|
|
1010
|
+
slot9ValueOf_A7ULVH(arg0: `0x${string}`): Promise<bigint>;
|
|
1011
|
+
/**
|
|
1012
|
+
* validateProxyHum
|
|
1013
|
+
* view
|
|
1014
|
+
*/
|
|
1015
|
+
validateProxyHum(): Promise<void>;
|
|
1016
|
+
/**
|
|
1017
|
+
* addWhitelistedAlgebraCustomPoolAddressesHum_1T0MDH
|
|
1018
|
+
* nonpayable
|
|
1019
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1020
|
+
*/
|
|
1021
|
+
addWhitelistedAlgebraCustomPoolAddressesHum_1T0MDH(deployer: `0x${string}`, pools: `0x${string}`[], options?: {
|
|
1022
|
+
accessList?: import('viem').AccessList;
|
|
1023
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1024
|
+
chain?: import('viem').Chain | null;
|
|
1025
|
+
dataSuffix?: `0x${string}`;
|
|
1026
|
+
gas?: bigint;
|
|
1027
|
+
gasPrice?: bigint;
|
|
1028
|
+
maxFeePerGas?: bigint;
|
|
1029
|
+
maxPriorityFeePerGas?: bigint;
|
|
1030
|
+
nonce?: number;
|
|
1031
|
+
value?: bigint;
|
|
1032
|
+
}): Promise<`0x${string}`>;
|
|
1033
|
+
/**
|
|
1034
|
+
* addWhitelistedBotAddressesHum
|
|
1035
|
+
* nonpayable
|
|
1036
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1037
|
+
*/
|
|
1038
|
+
addWhitelistedBotAddressesHum(bots: `0x${string}`[], options?: {
|
|
1039
|
+
accessList?: import('viem').AccessList;
|
|
1040
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1041
|
+
chain?: import('viem').Chain | null;
|
|
1042
|
+
dataSuffix?: `0x${string}`;
|
|
1043
|
+
gas?: bigint;
|
|
1044
|
+
gasPrice?: bigint;
|
|
1045
|
+
maxFeePerGas?: bigint;
|
|
1046
|
+
maxPriorityFeePerGas?: bigint;
|
|
1047
|
+
nonce?: number;
|
|
1048
|
+
value?: bigint;
|
|
1049
|
+
}): Promise<`0x${string}`>;
|
|
1050
|
+
/**
|
|
1051
|
+
* addWhitelistedPairAddressesHum
|
|
1052
|
+
* nonpayable
|
|
1053
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1054
|
+
*/
|
|
1055
|
+
addWhitelistedPairAddressesHum(pairs: `0x${string}`[], options?: {
|
|
1056
|
+
accessList?: import('viem').AccessList;
|
|
1057
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1058
|
+
chain?: import('viem').Chain | null;
|
|
1059
|
+
dataSuffix?: `0x${string}`;
|
|
1060
|
+
gas?: bigint;
|
|
1061
|
+
gasPrice?: bigint;
|
|
1062
|
+
maxFeePerGas?: bigint;
|
|
1063
|
+
maxPriorityFeePerGas?: bigint;
|
|
1064
|
+
nonce?: number;
|
|
1065
|
+
value?: bigint;
|
|
1066
|
+
}): Promise<`0x${string}`>;
|
|
1067
|
+
/**
|
|
1068
|
+
* addWhitelistedTokenAddressesHum
|
|
1069
|
+
* nonpayable
|
|
1070
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1071
|
+
*/
|
|
1072
|
+
addWhitelistedTokenAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1073
|
+
accessList?: import('viem').AccessList;
|
|
1074
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1075
|
+
chain?: import('viem').Chain | null;
|
|
1076
|
+
dataSuffix?: `0x${string}`;
|
|
1077
|
+
gas?: bigint;
|
|
1078
|
+
gasPrice?: bigint;
|
|
1079
|
+
maxFeePerGas?: bigint;
|
|
1080
|
+
maxPriorityFeePerGas?: bigint;
|
|
1081
|
+
nonce?: number;
|
|
1082
|
+
value?: bigint;
|
|
1083
|
+
}): Promise<`0x${string}`>;
|
|
1084
|
+
/**
|
|
1085
|
+
* addWhitelistedTransferAddressesHum
|
|
1086
|
+
* nonpayable
|
|
1087
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1088
|
+
*/
|
|
1089
|
+
addWhitelistedTransferAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1090
|
+
accessList?: import('viem').AccessList;
|
|
1091
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1092
|
+
chain?: import('viem').Chain | null;
|
|
1093
|
+
dataSuffix?: `0x${string}`;
|
|
1094
|
+
gas?: bigint;
|
|
1095
|
+
gasPrice?: bigint;
|
|
1096
|
+
maxFeePerGas?: bigint;
|
|
1097
|
+
maxPriorityFeePerGas?: bigint;
|
|
1098
|
+
nonce?: number;
|
|
1099
|
+
value?: bigint;
|
|
1100
|
+
}): Promise<`0x${string}`>;
|
|
1101
|
+
/**
|
|
1102
|
+
* addWhitelistedUniswapV3FactoryHum
|
|
1103
|
+
* nonpayable
|
|
1104
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1105
|
+
*/
|
|
1106
|
+
addWhitelistedUniswapV3FactoryHum(factories: `0x${string}`[], options?: {
|
|
1107
|
+
accessList?: import('viem').AccessList;
|
|
1108
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1109
|
+
chain?: import('viem').Chain | null;
|
|
1110
|
+
dataSuffix?: `0x${string}`;
|
|
1111
|
+
gas?: bigint;
|
|
1112
|
+
gasPrice?: bigint;
|
|
1113
|
+
maxFeePerGas?: bigint;
|
|
1114
|
+
maxPriorityFeePerGas?: bigint;
|
|
1115
|
+
nonce?: number;
|
|
1116
|
+
value?: bigint;
|
|
1117
|
+
}): Promise<`0x${string}`>;
|
|
1118
|
+
/**
|
|
1119
|
+
* addWhitelistedUniswapV3PoolAddressesHum
|
|
1120
|
+
* nonpayable
|
|
1121
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1122
|
+
*/
|
|
1123
|
+
addWhitelistedUniswapV3PoolAddressesHum(pools: `0x${string}`[], options?: {
|
|
1124
|
+
accessList?: import('viem').AccessList;
|
|
1125
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1126
|
+
chain?: import('viem').Chain | null;
|
|
1127
|
+
dataSuffix?: `0x${string}`;
|
|
1128
|
+
gas?: bigint;
|
|
1129
|
+
gasPrice?: bigint;
|
|
1130
|
+
maxFeePerGas?: bigint;
|
|
1131
|
+
maxPriorityFeePerGas?: bigint;
|
|
1132
|
+
nonce?: number;
|
|
1133
|
+
value?: bigint;
|
|
1134
|
+
}): Promise<`0x${string}`>;
|
|
1135
|
+
/**
|
|
1136
|
+
* addWhitelistedUniswapV3PositionManagerHum
|
|
1137
|
+
* nonpayable
|
|
1138
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1139
|
+
*/
|
|
1140
|
+
addWhitelistedUniswapV3PositionManagerHum(accounts: `0x${string}`[], options?: {
|
|
1141
|
+
accessList?: import('viem').AccessList;
|
|
1142
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1143
|
+
chain?: import('viem').Chain | null;
|
|
1144
|
+
dataSuffix?: `0x${string}`;
|
|
1145
|
+
gas?: bigint;
|
|
1146
|
+
gasPrice?: bigint;
|
|
1147
|
+
maxFeePerGas?: bigint;
|
|
1148
|
+
maxPriorityFeePerGas?: bigint;
|
|
1149
|
+
nonce?: number;
|
|
1150
|
+
value?: bigint;
|
|
1151
|
+
}): Promise<`0x${string}`>;
|
|
1152
|
+
/**
|
|
1153
|
+
* addWhitelistedUniswapV4HooksHum
|
|
1154
|
+
* nonpayable
|
|
1155
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1156
|
+
*/
|
|
1157
|
+
addWhitelistedUniswapV4HooksHum(hooks: `0x${string}`[], options?: {
|
|
1158
|
+
accessList?: import('viem').AccessList;
|
|
1159
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1160
|
+
chain?: import('viem').Chain | null;
|
|
1161
|
+
dataSuffix?: `0x${string}`;
|
|
1162
|
+
gas?: bigint;
|
|
1163
|
+
gasPrice?: bigint;
|
|
1164
|
+
maxFeePerGas?: bigint;
|
|
1165
|
+
maxPriorityFeePerGas?: bigint;
|
|
1166
|
+
nonce?: number;
|
|
1167
|
+
value?: bigint;
|
|
1168
|
+
}): Promise<`0x${string}`>;
|
|
1169
|
+
/**
|
|
1170
|
+
* addWhitelistedUniswapV4PoolsHum
|
|
1171
|
+
* nonpayable
|
|
1172
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1173
|
+
*/
|
|
1174
|
+
addWhitelistedUniswapV4PoolsHum(poolManager: `0x${string}`, keys: `0x${string}`[], options?: {
|
|
1175
|
+
accessList?: import('viem').AccessList;
|
|
1176
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1177
|
+
chain?: import('viem').Chain | null;
|
|
1178
|
+
dataSuffix?: `0x${string}`;
|
|
1179
|
+
gas?: bigint;
|
|
1180
|
+
gasPrice?: bigint;
|
|
1181
|
+
maxFeePerGas?: bigint;
|
|
1182
|
+
maxPriorityFeePerGas?: bigint;
|
|
1183
|
+
nonce?: number;
|
|
1184
|
+
value?: bigint;
|
|
1185
|
+
}): Promise<`0x${string}`>;
|
|
1186
|
+
/**
|
|
1187
|
+
* algebraSwapCallback
|
|
1188
|
+
* nonpayable
|
|
1189
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1190
|
+
*/
|
|
1191
|
+
algebraSwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1192
|
+
accessList?: import('viem').AccessList;
|
|
1193
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1194
|
+
chain?: import('viem').Chain | null;
|
|
1195
|
+
dataSuffix?: `0x${string}`;
|
|
1196
|
+
gas?: bigint;
|
|
1197
|
+
gasPrice?: bigint;
|
|
1198
|
+
maxFeePerGas?: bigint;
|
|
1199
|
+
maxPriorityFeePerGas?: bigint;
|
|
1200
|
+
nonce?: number;
|
|
1201
|
+
value?: bigint;
|
|
1202
|
+
}): Promise<`0x${string}`>;
|
|
1203
|
+
/**
|
|
1204
|
+
* migrateTokensProxyOwnerHum
|
|
1205
|
+
* nonpayable
|
|
1206
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1207
|
+
*/
|
|
1208
|
+
migrateTokensProxyOwnerHum(tokens: `0x${string}`[], newProxy: `0x${string}`, newProxyOwner: `0x${string}`, options?: {
|
|
1209
|
+
accessList?: import('viem').AccessList;
|
|
1210
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1211
|
+
chain?: import('viem').Chain | null;
|
|
1212
|
+
dataSuffix?: `0x${string}`;
|
|
1213
|
+
gas?: bigint;
|
|
1214
|
+
gasPrice?: bigint;
|
|
1215
|
+
maxFeePerGas?: bigint;
|
|
1216
|
+
maxPriorityFeePerGas?: bigint;
|
|
1217
|
+
nonce?: number;
|
|
1218
|
+
value?: bigint;
|
|
1219
|
+
}): Promise<`0x${string}`>;
|
|
1220
|
+
/**
|
|
1221
|
+
* pancakeV3SwapCallback
|
|
1222
|
+
* nonpayable
|
|
1223
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1224
|
+
*/
|
|
1225
|
+
pancakeV3SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1226
|
+
accessList?: import('viem').AccessList;
|
|
1227
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1228
|
+
chain?: import('viem').Chain | null;
|
|
1229
|
+
dataSuffix?: `0x${string}`;
|
|
1230
|
+
gas?: bigint;
|
|
1231
|
+
gasPrice?: bigint;
|
|
1232
|
+
maxFeePerGas?: bigint;
|
|
1233
|
+
maxPriorityFeePerGas?: bigint;
|
|
1234
|
+
nonce?: number;
|
|
1235
|
+
value?: bigint;
|
|
1236
|
+
}): Promise<`0x${string}`>;
|
|
1237
|
+
/**
|
|
1238
|
+
* ramsesV2SwapCallback
|
|
1239
|
+
* nonpayable
|
|
1240
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1241
|
+
*/
|
|
1242
|
+
ramsesV2SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1243
|
+
accessList?: import('viem').AccessList;
|
|
1244
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1245
|
+
chain?: import('viem').Chain | null;
|
|
1246
|
+
dataSuffix?: `0x${string}`;
|
|
1247
|
+
gas?: bigint;
|
|
1248
|
+
gasPrice?: bigint;
|
|
1249
|
+
maxFeePerGas?: bigint;
|
|
1250
|
+
maxPriorityFeePerGas?: bigint;
|
|
1251
|
+
nonce?: number;
|
|
1252
|
+
value?: bigint;
|
|
1253
|
+
}): Promise<`0x${string}`>;
|
|
1254
|
+
/**
|
|
1255
|
+
* removeWhitelistedBotAddressesHum
|
|
1256
|
+
* nonpayable
|
|
1257
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1258
|
+
*/
|
|
1259
|
+
removeWhitelistedBotAddressesHum(bots: `0x${string}`[], options?: {
|
|
1260
|
+
accessList?: import('viem').AccessList;
|
|
1261
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1262
|
+
chain?: import('viem').Chain | null;
|
|
1263
|
+
dataSuffix?: `0x${string}`;
|
|
1264
|
+
gas?: bigint;
|
|
1265
|
+
gasPrice?: bigint;
|
|
1266
|
+
maxFeePerGas?: bigint;
|
|
1267
|
+
maxPriorityFeePerGas?: bigint;
|
|
1268
|
+
nonce?: number;
|
|
1269
|
+
value?: bigint;
|
|
1270
|
+
}): Promise<`0x${string}`>;
|
|
1271
|
+
/**
|
|
1272
|
+
* removeWhitelistedPairAddressesHum
|
|
1273
|
+
* nonpayable
|
|
1274
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1275
|
+
*/
|
|
1276
|
+
removeWhitelistedPairAddressesHum(pairs: `0x${string}`[], options?: {
|
|
1277
|
+
accessList?: import('viem').AccessList;
|
|
1278
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1279
|
+
chain?: import('viem').Chain | null;
|
|
1280
|
+
dataSuffix?: `0x${string}`;
|
|
1281
|
+
gas?: bigint;
|
|
1282
|
+
gasPrice?: bigint;
|
|
1283
|
+
maxFeePerGas?: bigint;
|
|
1284
|
+
maxPriorityFeePerGas?: bigint;
|
|
1285
|
+
nonce?: number;
|
|
1286
|
+
value?: bigint;
|
|
1287
|
+
}): Promise<`0x${string}`>;
|
|
1288
|
+
/**
|
|
1289
|
+
* removeWhitelistedTokenAddressesHum
|
|
1290
|
+
* nonpayable
|
|
1291
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1292
|
+
*/
|
|
1293
|
+
removeWhitelistedTokenAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1294
|
+
accessList?: import('viem').AccessList;
|
|
1295
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1296
|
+
chain?: import('viem').Chain | null;
|
|
1297
|
+
dataSuffix?: `0x${string}`;
|
|
1298
|
+
gas?: bigint;
|
|
1299
|
+
gasPrice?: bigint;
|
|
1300
|
+
maxFeePerGas?: bigint;
|
|
1301
|
+
maxPriorityFeePerGas?: bigint;
|
|
1302
|
+
nonce?: number;
|
|
1303
|
+
value?: bigint;
|
|
1304
|
+
}): Promise<`0x${string}`>;
|
|
1305
|
+
/**
|
|
1306
|
+
* removeWhitelistedTransferAddressesHum
|
|
1307
|
+
* nonpayable
|
|
1308
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1309
|
+
*/
|
|
1310
|
+
removeWhitelistedTransferAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1311
|
+
accessList?: import('viem').AccessList;
|
|
1312
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1313
|
+
chain?: import('viem').Chain | null;
|
|
1314
|
+
dataSuffix?: `0x${string}`;
|
|
1315
|
+
gas?: bigint;
|
|
1316
|
+
gasPrice?: bigint;
|
|
1317
|
+
maxFeePerGas?: bigint;
|
|
1318
|
+
maxPriorityFeePerGas?: bigint;
|
|
1319
|
+
nonce?: number;
|
|
1320
|
+
value?: bigint;
|
|
1321
|
+
}): Promise<`0x${string}`>;
|
|
1322
|
+
/**
|
|
1323
|
+
* removeWhitelistedUniswapV3FactoryHum
|
|
1324
|
+
* nonpayable
|
|
1325
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1326
|
+
*/
|
|
1327
|
+
removeWhitelistedUniswapV3FactoryHum(factories: `0x${string}`[], options?: {
|
|
1328
|
+
accessList?: import('viem').AccessList;
|
|
1329
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1330
|
+
chain?: import('viem').Chain | null;
|
|
1331
|
+
dataSuffix?: `0x${string}`;
|
|
1332
|
+
gas?: bigint;
|
|
1333
|
+
gasPrice?: bigint;
|
|
1334
|
+
maxFeePerGas?: bigint;
|
|
1335
|
+
maxPriorityFeePerGas?: bigint;
|
|
1336
|
+
nonce?: number;
|
|
1337
|
+
value?: bigint;
|
|
1338
|
+
}): Promise<`0x${string}`>;
|
|
1339
|
+
/**
|
|
1340
|
+
* removeWhitelistedUniswapV3PoolAddressesHum
|
|
1341
|
+
* nonpayable
|
|
1342
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1343
|
+
*/
|
|
1344
|
+
removeWhitelistedUniswapV3PoolAddressesHum(pools: `0x${string}`[], options?: {
|
|
1345
|
+
accessList?: import('viem').AccessList;
|
|
1346
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1347
|
+
chain?: import('viem').Chain | null;
|
|
1348
|
+
dataSuffix?: `0x${string}`;
|
|
1349
|
+
gas?: bigint;
|
|
1350
|
+
gasPrice?: bigint;
|
|
1351
|
+
maxFeePerGas?: bigint;
|
|
1352
|
+
maxPriorityFeePerGas?: bigint;
|
|
1353
|
+
nonce?: number;
|
|
1354
|
+
value?: bigint;
|
|
1355
|
+
}): Promise<`0x${string}`>;
|
|
1356
|
+
/**
|
|
1357
|
+
* removeWhitelistedUniswapV3PositionManagerHum
|
|
1358
|
+
* nonpayable
|
|
1359
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1360
|
+
*/
|
|
1361
|
+
removeWhitelistedUniswapV3PositionManagerHum(accounts: `0x${string}`[], options?: {
|
|
1362
|
+
accessList?: import('viem').AccessList;
|
|
1363
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1364
|
+
chain?: import('viem').Chain | null;
|
|
1365
|
+
dataSuffix?: `0x${string}`;
|
|
1366
|
+
gas?: bigint;
|
|
1367
|
+
gasPrice?: bigint;
|
|
1368
|
+
maxFeePerGas?: bigint;
|
|
1369
|
+
maxPriorityFeePerGas?: bigint;
|
|
1370
|
+
nonce?: number;
|
|
1371
|
+
value?: bigint;
|
|
1372
|
+
}): Promise<`0x${string}`>;
|
|
1373
|
+
/**
|
|
1374
|
+
* removeWhitelistedUniswapV4HooksHum
|
|
1375
|
+
* nonpayable
|
|
1376
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1377
|
+
*/
|
|
1378
|
+
removeWhitelistedUniswapV4HooksHum(hooks: `0x${string}`[], options?: {
|
|
1379
|
+
accessList?: import('viem').AccessList;
|
|
1380
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1381
|
+
chain?: import('viem').Chain | null;
|
|
1382
|
+
dataSuffix?: `0x${string}`;
|
|
1383
|
+
gas?: bigint;
|
|
1384
|
+
gasPrice?: bigint;
|
|
1385
|
+
maxFeePerGas?: bigint;
|
|
1386
|
+
maxPriorityFeePerGas?: bigint;
|
|
1387
|
+
nonce?: number;
|
|
1388
|
+
value?: bigint;
|
|
1389
|
+
}): Promise<`0x${string}`>;
|
|
1390
|
+
/**
|
|
1391
|
+
* removeWhitelistedUniswapV4PoolsHum
|
|
1392
|
+
* nonpayable
|
|
1393
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1394
|
+
*/
|
|
1395
|
+
removeWhitelistedUniswapV4PoolsHum(poolManager: `0x${string}`, keys: `0x${string}`[], options?: {
|
|
1396
|
+
accessList?: import('viem').AccessList;
|
|
1397
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1398
|
+
chain?: import('viem').Chain | null;
|
|
1399
|
+
dataSuffix?: `0x${string}`;
|
|
1400
|
+
gas?: bigint;
|
|
1401
|
+
gasPrice?: bigint;
|
|
1402
|
+
maxFeePerGas?: bigint;
|
|
1403
|
+
maxPriorityFeePerGas?: bigint;
|
|
1404
|
+
nonce?: number;
|
|
1405
|
+
value?: bigint;
|
|
1406
|
+
}): Promise<`0x${string}`>;
|
|
1407
|
+
/**
|
|
1408
|
+
* squadV3SwapCallback
|
|
1409
|
+
* nonpayable
|
|
1410
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1411
|
+
*/
|
|
1412
|
+
squadV3SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1413
|
+
accessList?: import('viem').AccessList;
|
|
1414
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1415
|
+
chain?: import('viem').Chain | null;
|
|
1416
|
+
dataSuffix?: `0x${string}`;
|
|
1417
|
+
gas?: bigint;
|
|
1418
|
+
gasPrice?: bigint;
|
|
1419
|
+
maxFeePerGas?: bigint;
|
|
1420
|
+
maxPriorityFeePerGas?: bigint;
|
|
1421
|
+
nonce?: number;
|
|
1422
|
+
value?: bigint;
|
|
1423
|
+
}): Promise<`0x${string}`>;
|
|
1424
|
+
/**
|
|
1425
|
+
* swapExactTokensForTokensUniswapV3Hum
|
|
1426
|
+
* nonpayable
|
|
1427
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1428
|
+
*/
|
|
1429
|
+
swapExactTokensForTokensUniswapV3Hum(amountIn: bigint, tokenIn: `0x${string}`, amountOutMin: bigint, zeroForOne: boolean, pool: `0x${string}`, deadline: bigint, options?: {
|
|
1430
|
+
accessList?: import('viem').AccessList;
|
|
1431
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1432
|
+
chain?: import('viem').Chain | null;
|
|
1433
|
+
dataSuffix?: `0x${string}`;
|
|
1434
|
+
gas?: bigint;
|
|
1435
|
+
gasPrice?: bigint;
|
|
1436
|
+
maxFeePerGas?: bigint;
|
|
1437
|
+
maxPriorityFeePerGas?: bigint;
|
|
1438
|
+
nonce?: number;
|
|
1439
|
+
value?: bigint;
|
|
1440
|
+
}): Promise<`0x${string}`>;
|
|
1441
|
+
/**
|
|
1442
|
+
* swapExactTokensForTokensUniswapV4Hum
|
|
1443
|
+
* nonpayable
|
|
1444
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1445
|
+
*/
|
|
1446
|
+
swapExactTokensForTokensUniswapV4Hum(data: Logic_V4SwapData, poolManager: `0x${string}`, amountOutMin: bigint, deadline: bigint, options?: {
|
|
1447
|
+
accessList?: import('viem').AccessList;
|
|
1448
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1449
|
+
chain?: import('viem').Chain | null;
|
|
1450
|
+
dataSuffix?: `0x${string}`;
|
|
1451
|
+
gas?: bigint;
|
|
1452
|
+
gasPrice?: bigint;
|
|
1453
|
+
maxFeePerGas?: bigint;
|
|
1454
|
+
maxPriorityFeePerGas?: bigint;
|
|
1455
|
+
nonce?: number;
|
|
1456
|
+
value?: bigint;
|
|
1457
|
+
}): Promise<`0x${string}`>;
|
|
1458
|
+
/**
|
|
1459
|
+
* swapToBoundaryIziSwapHum_4KPMRG
|
|
1460
|
+
* nonpayable
|
|
1461
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1462
|
+
*/
|
|
1463
|
+
swapToBoundaryIziSwapHum_4KPMRG(amount: bigint, boundaryPoint: bigint, tokenIn: `0x${string}`, x2y: boolean, pool: `0x${string}`, deadline: bigint, options?: {
|
|
1464
|
+
accessList?: import('viem').AccessList;
|
|
1465
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1466
|
+
chain?: import('viem').Chain | null;
|
|
1467
|
+
dataSuffix?: `0x${string}`;
|
|
1468
|
+
gas?: bigint;
|
|
1469
|
+
gasPrice?: bigint;
|
|
1470
|
+
maxFeePerGas?: bigint;
|
|
1471
|
+
maxPriorityFeePerGas?: bigint;
|
|
1472
|
+
nonce?: number;
|
|
1473
|
+
value?: bigint;
|
|
1474
|
+
}): Promise<`0x${string}`>;
|
|
1475
|
+
/**
|
|
1476
|
+
* swapTokensForTokensLimitOrderUniswapV2Hum
|
|
1477
|
+
* nonpayable
|
|
1478
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1479
|
+
*/
|
|
1480
|
+
swapTokensForTokensLimitOrderUniswapV2Hum(amountIn: bigint, sqrtPriceLimitX96: bigint, tokenIn: `0x${string}`, zeroForOne: boolean, fee: bigint, pair: `0x${string}`, deadline: bigint, options?: {
|
|
1481
|
+
accessList?: import('viem').AccessList;
|
|
1482
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1483
|
+
chain?: import('viem').Chain | null;
|
|
1484
|
+
dataSuffix?: `0x${string}`;
|
|
1485
|
+
gas?: bigint;
|
|
1486
|
+
gasPrice?: bigint;
|
|
1487
|
+
maxFeePerGas?: bigint;
|
|
1488
|
+
maxPriorityFeePerGas?: bigint;
|
|
1489
|
+
nonce?: number;
|
|
1490
|
+
value?: bigint;
|
|
1491
|
+
}): Promise<`0x${string}`>;
|
|
1492
|
+
/**
|
|
1493
|
+
* swapTokensForTokensLimitOrderUniswapV3Hum
|
|
1494
|
+
* nonpayable
|
|
1495
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1496
|
+
*/
|
|
1497
|
+
swapTokensForTokensLimitOrderUniswapV3Hum(amountIn: bigint, sqrtPriceLimitX96: bigint, tokenIn: `0x${string}`, zeroForOne: boolean, pool: `0x${string}`, deadline: bigint, options?: {
|
|
1498
|
+
accessList?: import('viem').AccessList;
|
|
1499
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1500
|
+
chain?: import('viem').Chain | null;
|
|
1501
|
+
dataSuffix?: `0x${string}`;
|
|
1502
|
+
gas?: bigint;
|
|
1503
|
+
gasPrice?: bigint;
|
|
1504
|
+
maxFeePerGas?: bigint;
|
|
1505
|
+
maxPriorityFeePerGas?: bigint;
|
|
1506
|
+
nonce?: number;
|
|
1507
|
+
value?: bigint;
|
|
1508
|
+
}): Promise<`0x${string}`>;
|
|
1509
|
+
/**
|
|
1510
|
+
* swapTokensForTokensLimitOrderUniswapV4Hum
|
|
1511
|
+
* nonpayable
|
|
1512
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1513
|
+
*/
|
|
1514
|
+
swapTokensForTokensLimitOrderUniswapV4Hum(data: Logic_V4SwapData, poolManager: `0x${string}`, deadline: bigint, options?: {
|
|
1515
|
+
accessList?: import('viem').AccessList;
|
|
1516
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1517
|
+
chain?: import('viem').Chain | null;
|
|
1518
|
+
dataSuffix?: `0x${string}`;
|
|
1519
|
+
gas?: bigint;
|
|
1520
|
+
gasPrice?: bigint;
|
|
1521
|
+
maxFeePerGas?: bigint;
|
|
1522
|
+
maxPriorityFeePerGas?: bigint;
|
|
1523
|
+
nonce?: number;
|
|
1524
|
+
value?: bigint;
|
|
1525
|
+
}): Promise<`0x${string}`>;
|
|
1526
|
+
/**
|
|
1527
|
+
* swapX2YCallback
|
|
1528
|
+
* nonpayable
|
|
1529
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1530
|
+
*/
|
|
1531
|
+
swapX2YCallback(x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1532
|
+
accessList?: import('viem').AccessList;
|
|
1533
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1534
|
+
chain?: import('viem').Chain | null;
|
|
1535
|
+
dataSuffix?: `0x${string}`;
|
|
1536
|
+
gas?: bigint;
|
|
1537
|
+
gasPrice?: bigint;
|
|
1538
|
+
maxFeePerGas?: bigint;
|
|
1539
|
+
maxPriorityFeePerGas?: bigint;
|
|
1540
|
+
nonce?: number;
|
|
1541
|
+
value?: bigint;
|
|
1542
|
+
}): Promise<`0x${string}`>;
|
|
1543
|
+
/**
|
|
1544
|
+
* swapY2XCallback
|
|
1545
|
+
* nonpayable
|
|
1546
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1547
|
+
*/
|
|
1548
|
+
swapY2XCallback(x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
1549
|
+
accessList?: import('viem').AccessList;
|
|
1550
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1551
|
+
chain?: import('viem').Chain | null;
|
|
1552
|
+
dataSuffix?: `0x${string}`;
|
|
1553
|
+
gas?: bigint;
|
|
1554
|
+
gasPrice?: bigint;
|
|
1555
|
+
maxFeePerGas?: bigint;
|
|
1556
|
+
maxPriorityFeePerGas?: bigint;
|
|
1557
|
+
nonce?: number;
|
|
1558
|
+
value?: bigint;
|
|
1559
|
+
}): Promise<`0x${string}`>;
|
|
1560
|
+
/**
|
|
1561
|
+
* transferChainCoinProxyOwnerHum
|
|
1562
|
+
* nonpayable
|
|
1563
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1564
|
+
*/
|
|
1565
|
+
transferChainCoinProxyOwnerHum(to: `0x${string}`, amount: bigint, options?: {
|
|
1566
|
+
accessList?: import('viem').AccessList;
|
|
1567
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1568
|
+
chain?: import('viem').Chain | null;
|
|
1569
|
+
dataSuffix?: `0x${string}`;
|
|
1570
|
+
gas?: bigint;
|
|
1571
|
+
gasPrice?: bigint;
|
|
1572
|
+
maxFeePerGas?: bigint;
|
|
1573
|
+
maxPriorityFeePerGas?: bigint;
|
|
1574
|
+
nonce?: number;
|
|
1575
|
+
value?: bigint;
|
|
1576
|
+
}): Promise<`0x${string}`>;
|
|
1577
|
+
/**
|
|
1578
|
+
* transferTokenProxyOwnerHum
|
|
1579
|
+
* nonpayable
|
|
1580
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1581
|
+
*/
|
|
1582
|
+
transferTokenProxyOwnerHum(token: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1583
|
+
accessList?: import('viem').AccessList;
|
|
1584
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1585
|
+
chain?: import('viem').Chain | null;
|
|
1586
|
+
dataSuffix?: `0x${string}`;
|
|
1587
|
+
gas?: bigint;
|
|
1588
|
+
gasPrice?: bigint;
|
|
1589
|
+
maxFeePerGas?: bigint;
|
|
1590
|
+
maxPriorityFeePerGas?: bigint;
|
|
1591
|
+
nonce?: number;
|
|
1592
|
+
value?: bigint;
|
|
1593
|
+
}): Promise<`0x${string}`>;
|
|
1594
|
+
/**
|
|
1595
|
+
* uniswapV3SwapCallback
|
|
1596
|
+
* nonpayable
|
|
1597
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1598
|
+
*/
|
|
1599
|
+
uniswapV3SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1600
|
+
accessList?: import('viem').AccessList;
|
|
1601
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1602
|
+
chain?: import('viem').Chain | null;
|
|
1603
|
+
dataSuffix?: `0x${string}`;
|
|
1604
|
+
gas?: bigint;
|
|
1605
|
+
gasPrice?: bigint;
|
|
1606
|
+
maxFeePerGas?: bigint;
|
|
1607
|
+
maxPriorityFeePerGas?: bigint;
|
|
1608
|
+
nonce?: number;
|
|
1609
|
+
value?: bigint;
|
|
1610
|
+
}): Promise<`0x${string}`>;
|
|
1611
|
+
/**
|
|
1612
|
+
* unlockCallback
|
|
1613
|
+
* nonpayable
|
|
1614
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1615
|
+
*/
|
|
1616
|
+
unlockCallback(data: `0x${string}`, options?: {
|
|
1617
|
+
accessList?: import('viem').AccessList;
|
|
1618
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1619
|
+
chain?: import('viem').Chain | null;
|
|
1620
|
+
dataSuffix?: `0x${string}`;
|
|
1621
|
+
gas?: bigint;
|
|
1622
|
+
gasPrice?: bigint;
|
|
1623
|
+
maxFeePerGas?: bigint;
|
|
1624
|
+
maxPriorityFeePerGas?: bigint;
|
|
1625
|
+
nonce?: number;
|
|
1626
|
+
value?: bigint;
|
|
1627
|
+
}): Promise<`0x${string}`>;
|
|
1628
|
+
/**
|
|
1629
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
1630
|
+
*
|
|
1631
|
+
* @example
|
|
1632
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
1633
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
1634
|
+
* console.log('Would succeed:', result.result);
|
|
1635
|
+
*/
|
|
1636
|
+
get simulate(): {
|
|
1637
|
+
/**
|
|
1638
|
+
* Simulate addWhitelistedAlgebraCustomPoolAddressesHum_1T0MDH
|
|
1639
|
+
* Returns gas estimate and result without sending transaction
|
|
1640
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1641
|
+
*/
|
|
1642
|
+
addWhitelistedAlgebraCustomPoolAddressesHum_1T0MDH(deployer: `0x${string}`, pools: `0x${string}`[], options?: {
|
|
1643
|
+
accessList?: import("viem").AccessList;
|
|
1644
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1645
|
+
chain?: import("viem").Chain | null;
|
|
1646
|
+
dataSuffix?: `0x${string}`;
|
|
1647
|
+
gas?: bigint;
|
|
1648
|
+
gasPrice?: bigint;
|
|
1649
|
+
maxFeePerGas?: bigint;
|
|
1650
|
+
maxPriorityFeePerGas?: bigint;
|
|
1651
|
+
nonce?: number;
|
|
1652
|
+
value?: bigint;
|
|
1653
|
+
}): Promise<void>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Simulate addWhitelistedBotAddressesHum
|
|
1656
|
+
* Returns gas estimate and result without sending transaction
|
|
1657
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1658
|
+
*/
|
|
1659
|
+
addWhitelistedBotAddressesHum(bots: `0x${string}`[], options?: {
|
|
1660
|
+
accessList?: import("viem").AccessList;
|
|
1661
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1662
|
+
chain?: import("viem").Chain | null;
|
|
1663
|
+
dataSuffix?: `0x${string}`;
|
|
1664
|
+
gas?: bigint;
|
|
1665
|
+
gasPrice?: bigint;
|
|
1666
|
+
maxFeePerGas?: bigint;
|
|
1667
|
+
maxPriorityFeePerGas?: bigint;
|
|
1668
|
+
nonce?: number;
|
|
1669
|
+
value?: bigint;
|
|
1670
|
+
}): Promise<void>;
|
|
1671
|
+
/**
|
|
1672
|
+
* Simulate addWhitelistedPairAddressesHum
|
|
1673
|
+
* Returns gas estimate and result without sending transaction
|
|
1674
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1675
|
+
*/
|
|
1676
|
+
addWhitelistedPairAddressesHum(pairs: `0x${string}`[], options?: {
|
|
1677
|
+
accessList?: import("viem").AccessList;
|
|
1678
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1679
|
+
chain?: import("viem").Chain | null;
|
|
1680
|
+
dataSuffix?: `0x${string}`;
|
|
1681
|
+
gas?: bigint;
|
|
1682
|
+
gasPrice?: bigint;
|
|
1683
|
+
maxFeePerGas?: bigint;
|
|
1684
|
+
maxPriorityFeePerGas?: bigint;
|
|
1685
|
+
nonce?: number;
|
|
1686
|
+
value?: bigint;
|
|
1687
|
+
}): Promise<void>;
|
|
1688
|
+
/**
|
|
1689
|
+
* Simulate addWhitelistedTokenAddressesHum
|
|
1690
|
+
* Returns gas estimate and result without sending transaction
|
|
1691
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1692
|
+
*/
|
|
1693
|
+
addWhitelistedTokenAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1694
|
+
accessList?: import("viem").AccessList;
|
|
1695
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1696
|
+
chain?: import("viem").Chain | null;
|
|
1697
|
+
dataSuffix?: `0x${string}`;
|
|
1698
|
+
gas?: bigint;
|
|
1699
|
+
gasPrice?: bigint;
|
|
1700
|
+
maxFeePerGas?: bigint;
|
|
1701
|
+
maxPriorityFeePerGas?: bigint;
|
|
1702
|
+
nonce?: number;
|
|
1703
|
+
value?: bigint;
|
|
1704
|
+
}): Promise<void>;
|
|
1705
|
+
/**
|
|
1706
|
+
* Simulate addWhitelistedTransferAddressesHum
|
|
1707
|
+
* Returns gas estimate and result without sending transaction
|
|
1708
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1709
|
+
*/
|
|
1710
|
+
addWhitelistedTransferAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1711
|
+
accessList?: import("viem").AccessList;
|
|
1712
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1713
|
+
chain?: import("viem").Chain | null;
|
|
1714
|
+
dataSuffix?: `0x${string}`;
|
|
1715
|
+
gas?: bigint;
|
|
1716
|
+
gasPrice?: bigint;
|
|
1717
|
+
maxFeePerGas?: bigint;
|
|
1718
|
+
maxPriorityFeePerGas?: bigint;
|
|
1719
|
+
nonce?: number;
|
|
1720
|
+
value?: bigint;
|
|
1721
|
+
}): Promise<void>;
|
|
1722
|
+
/**
|
|
1723
|
+
* Simulate addWhitelistedUniswapV3FactoryHum
|
|
1724
|
+
* Returns gas estimate and result without sending transaction
|
|
1725
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1726
|
+
*/
|
|
1727
|
+
addWhitelistedUniswapV3FactoryHum(factories: `0x${string}`[], options?: {
|
|
1728
|
+
accessList?: import("viem").AccessList;
|
|
1729
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1730
|
+
chain?: import("viem").Chain | null;
|
|
1731
|
+
dataSuffix?: `0x${string}`;
|
|
1732
|
+
gas?: bigint;
|
|
1733
|
+
gasPrice?: bigint;
|
|
1734
|
+
maxFeePerGas?: bigint;
|
|
1735
|
+
maxPriorityFeePerGas?: bigint;
|
|
1736
|
+
nonce?: number;
|
|
1737
|
+
value?: bigint;
|
|
1738
|
+
}): Promise<void>;
|
|
1739
|
+
/**
|
|
1740
|
+
* Simulate addWhitelistedUniswapV3PoolAddressesHum
|
|
1741
|
+
* Returns gas estimate and result without sending transaction
|
|
1742
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1743
|
+
*/
|
|
1744
|
+
addWhitelistedUniswapV3PoolAddressesHum(pools: `0x${string}`[], options?: {
|
|
1745
|
+
accessList?: import("viem").AccessList;
|
|
1746
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1747
|
+
chain?: import("viem").Chain | null;
|
|
1748
|
+
dataSuffix?: `0x${string}`;
|
|
1749
|
+
gas?: bigint;
|
|
1750
|
+
gasPrice?: bigint;
|
|
1751
|
+
maxFeePerGas?: bigint;
|
|
1752
|
+
maxPriorityFeePerGas?: bigint;
|
|
1753
|
+
nonce?: number;
|
|
1754
|
+
value?: bigint;
|
|
1755
|
+
}): Promise<void>;
|
|
1756
|
+
/**
|
|
1757
|
+
* Simulate addWhitelistedUniswapV3PositionManagerHum
|
|
1758
|
+
* Returns gas estimate and result without sending transaction
|
|
1759
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1760
|
+
*/
|
|
1761
|
+
addWhitelistedUniswapV3PositionManagerHum(accounts: `0x${string}`[], options?: {
|
|
1762
|
+
accessList?: import("viem").AccessList;
|
|
1763
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1764
|
+
chain?: import("viem").Chain | null;
|
|
1765
|
+
dataSuffix?: `0x${string}`;
|
|
1766
|
+
gas?: bigint;
|
|
1767
|
+
gasPrice?: bigint;
|
|
1768
|
+
maxFeePerGas?: bigint;
|
|
1769
|
+
maxPriorityFeePerGas?: bigint;
|
|
1770
|
+
nonce?: number;
|
|
1771
|
+
value?: bigint;
|
|
1772
|
+
}): Promise<void>;
|
|
1773
|
+
/**
|
|
1774
|
+
* Simulate addWhitelistedUniswapV4HooksHum
|
|
1775
|
+
* Returns gas estimate and result without sending transaction
|
|
1776
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1777
|
+
*/
|
|
1778
|
+
addWhitelistedUniswapV4HooksHum(hooks: `0x${string}`[], options?: {
|
|
1779
|
+
accessList?: import("viem").AccessList;
|
|
1780
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1781
|
+
chain?: import("viem").Chain | null;
|
|
1782
|
+
dataSuffix?: `0x${string}`;
|
|
1783
|
+
gas?: bigint;
|
|
1784
|
+
gasPrice?: bigint;
|
|
1785
|
+
maxFeePerGas?: bigint;
|
|
1786
|
+
maxPriorityFeePerGas?: bigint;
|
|
1787
|
+
nonce?: number;
|
|
1788
|
+
value?: bigint;
|
|
1789
|
+
}): Promise<void>;
|
|
1790
|
+
/**
|
|
1791
|
+
* Simulate addWhitelistedUniswapV4PoolsHum
|
|
1792
|
+
* Returns gas estimate and result without sending transaction
|
|
1793
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1794
|
+
*/
|
|
1795
|
+
addWhitelistedUniswapV4PoolsHum(poolManager: `0x${string}`, keys: `0x${string}`[], options?: {
|
|
1796
|
+
accessList?: import("viem").AccessList;
|
|
1797
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1798
|
+
chain?: import("viem").Chain | null;
|
|
1799
|
+
dataSuffix?: `0x${string}`;
|
|
1800
|
+
gas?: bigint;
|
|
1801
|
+
gasPrice?: bigint;
|
|
1802
|
+
maxFeePerGas?: bigint;
|
|
1803
|
+
maxPriorityFeePerGas?: bigint;
|
|
1804
|
+
nonce?: number;
|
|
1805
|
+
value?: bigint;
|
|
1806
|
+
}): Promise<void>;
|
|
1807
|
+
/**
|
|
1808
|
+
* Simulate algebraSwapCallback
|
|
1809
|
+
* Returns gas estimate and result without sending transaction
|
|
1810
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1811
|
+
*/
|
|
1812
|
+
algebraSwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1813
|
+
accessList?: import("viem").AccessList;
|
|
1814
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1815
|
+
chain?: import("viem").Chain | null;
|
|
1816
|
+
dataSuffix?: `0x${string}`;
|
|
1817
|
+
gas?: bigint;
|
|
1818
|
+
gasPrice?: bigint;
|
|
1819
|
+
maxFeePerGas?: bigint;
|
|
1820
|
+
maxPriorityFeePerGas?: bigint;
|
|
1821
|
+
nonce?: number;
|
|
1822
|
+
value?: bigint;
|
|
1823
|
+
}): Promise<void>;
|
|
1824
|
+
/**
|
|
1825
|
+
* Simulate migrateTokensProxyOwnerHum
|
|
1826
|
+
* Returns gas estimate and result without sending transaction
|
|
1827
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1828
|
+
*/
|
|
1829
|
+
migrateTokensProxyOwnerHum(tokens: `0x${string}`[], newProxy: `0x${string}`, newProxyOwner: `0x${string}`, options?: {
|
|
1830
|
+
accessList?: import("viem").AccessList;
|
|
1831
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1832
|
+
chain?: import("viem").Chain | null;
|
|
1833
|
+
dataSuffix?: `0x${string}`;
|
|
1834
|
+
gas?: bigint;
|
|
1835
|
+
gasPrice?: bigint;
|
|
1836
|
+
maxFeePerGas?: bigint;
|
|
1837
|
+
maxPriorityFeePerGas?: bigint;
|
|
1838
|
+
nonce?: number;
|
|
1839
|
+
value?: bigint;
|
|
1840
|
+
}): Promise<void>;
|
|
1841
|
+
/**
|
|
1842
|
+
* Simulate pancakeV3SwapCallback
|
|
1843
|
+
* Returns gas estimate and result without sending transaction
|
|
1844
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1845
|
+
*/
|
|
1846
|
+
pancakeV3SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1847
|
+
accessList?: import("viem").AccessList;
|
|
1848
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1849
|
+
chain?: import("viem").Chain | null;
|
|
1850
|
+
dataSuffix?: `0x${string}`;
|
|
1851
|
+
gas?: bigint;
|
|
1852
|
+
gasPrice?: bigint;
|
|
1853
|
+
maxFeePerGas?: bigint;
|
|
1854
|
+
maxPriorityFeePerGas?: bigint;
|
|
1855
|
+
nonce?: number;
|
|
1856
|
+
value?: bigint;
|
|
1857
|
+
}): Promise<void>;
|
|
1858
|
+
/**
|
|
1859
|
+
* Simulate ramsesV2SwapCallback
|
|
1860
|
+
* Returns gas estimate and result without sending transaction
|
|
1861
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1862
|
+
*/
|
|
1863
|
+
ramsesV2SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
1864
|
+
accessList?: import("viem").AccessList;
|
|
1865
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1866
|
+
chain?: import("viem").Chain | null;
|
|
1867
|
+
dataSuffix?: `0x${string}`;
|
|
1868
|
+
gas?: bigint;
|
|
1869
|
+
gasPrice?: bigint;
|
|
1870
|
+
maxFeePerGas?: bigint;
|
|
1871
|
+
maxPriorityFeePerGas?: bigint;
|
|
1872
|
+
nonce?: number;
|
|
1873
|
+
value?: bigint;
|
|
1874
|
+
}): Promise<void>;
|
|
1875
|
+
/**
|
|
1876
|
+
* Simulate removeWhitelistedBotAddressesHum
|
|
1877
|
+
* Returns gas estimate and result without sending transaction
|
|
1878
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1879
|
+
*/
|
|
1880
|
+
removeWhitelistedBotAddressesHum(bots: `0x${string}`[], options?: {
|
|
1881
|
+
accessList?: import("viem").AccessList;
|
|
1882
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1883
|
+
chain?: import("viem").Chain | null;
|
|
1884
|
+
dataSuffix?: `0x${string}`;
|
|
1885
|
+
gas?: bigint;
|
|
1886
|
+
gasPrice?: bigint;
|
|
1887
|
+
maxFeePerGas?: bigint;
|
|
1888
|
+
maxPriorityFeePerGas?: bigint;
|
|
1889
|
+
nonce?: number;
|
|
1890
|
+
value?: bigint;
|
|
1891
|
+
}): Promise<void>;
|
|
1892
|
+
/**
|
|
1893
|
+
* Simulate removeWhitelistedPairAddressesHum
|
|
1894
|
+
* Returns gas estimate and result without sending transaction
|
|
1895
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1896
|
+
*/
|
|
1897
|
+
removeWhitelistedPairAddressesHum(pairs: `0x${string}`[], options?: {
|
|
1898
|
+
accessList?: import("viem").AccessList;
|
|
1899
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1900
|
+
chain?: import("viem").Chain | null;
|
|
1901
|
+
dataSuffix?: `0x${string}`;
|
|
1902
|
+
gas?: bigint;
|
|
1903
|
+
gasPrice?: bigint;
|
|
1904
|
+
maxFeePerGas?: bigint;
|
|
1905
|
+
maxPriorityFeePerGas?: bigint;
|
|
1906
|
+
nonce?: number;
|
|
1907
|
+
value?: bigint;
|
|
1908
|
+
}): Promise<void>;
|
|
1909
|
+
/**
|
|
1910
|
+
* Simulate removeWhitelistedTokenAddressesHum
|
|
1911
|
+
* Returns gas estimate and result without sending transaction
|
|
1912
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1913
|
+
*/
|
|
1914
|
+
removeWhitelistedTokenAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1915
|
+
accessList?: import("viem").AccessList;
|
|
1916
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1917
|
+
chain?: import("viem").Chain | null;
|
|
1918
|
+
dataSuffix?: `0x${string}`;
|
|
1919
|
+
gas?: bigint;
|
|
1920
|
+
gasPrice?: bigint;
|
|
1921
|
+
maxFeePerGas?: bigint;
|
|
1922
|
+
maxPriorityFeePerGas?: bigint;
|
|
1923
|
+
nonce?: number;
|
|
1924
|
+
value?: bigint;
|
|
1925
|
+
}): Promise<void>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Simulate removeWhitelistedTransferAddressesHum
|
|
1928
|
+
* Returns gas estimate and result without sending transaction
|
|
1929
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1930
|
+
*/
|
|
1931
|
+
removeWhitelistedTransferAddressesHum(accounts: `0x${string}`[], options?: {
|
|
1932
|
+
accessList?: import("viem").AccessList;
|
|
1933
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1934
|
+
chain?: import("viem").Chain | null;
|
|
1935
|
+
dataSuffix?: `0x${string}`;
|
|
1936
|
+
gas?: bigint;
|
|
1937
|
+
gasPrice?: bigint;
|
|
1938
|
+
maxFeePerGas?: bigint;
|
|
1939
|
+
maxPriorityFeePerGas?: bigint;
|
|
1940
|
+
nonce?: number;
|
|
1941
|
+
value?: bigint;
|
|
1942
|
+
}): Promise<void>;
|
|
1943
|
+
/**
|
|
1944
|
+
* Simulate removeWhitelistedUniswapV3FactoryHum
|
|
1945
|
+
* Returns gas estimate and result without sending transaction
|
|
1946
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1947
|
+
*/
|
|
1948
|
+
removeWhitelistedUniswapV3FactoryHum(factories: `0x${string}`[], options?: {
|
|
1949
|
+
accessList?: import("viem").AccessList;
|
|
1950
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1951
|
+
chain?: import("viem").Chain | null;
|
|
1952
|
+
dataSuffix?: `0x${string}`;
|
|
1953
|
+
gas?: bigint;
|
|
1954
|
+
gasPrice?: bigint;
|
|
1955
|
+
maxFeePerGas?: bigint;
|
|
1956
|
+
maxPriorityFeePerGas?: bigint;
|
|
1957
|
+
nonce?: number;
|
|
1958
|
+
value?: bigint;
|
|
1959
|
+
}): Promise<void>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Simulate removeWhitelistedUniswapV3PoolAddressesHum
|
|
1962
|
+
* Returns gas estimate and result without sending transaction
|
|
1963
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1964
|
+
*/
|
|
1965
|
+
removeWhitelistedUniswapV3PoolAddressesHum(pools: `0x${string}`[], options?: {
|
|
1966
|
+
accessList?: import("viem").AccessList;
|
|
1967
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1968
|
+
chain?: import("viem").Chain | null;
|
|
1969
|
+
dataSuffix?: `0x${string}`;
|
|
1970
|
+
gas?: bigint;
|
|
1971
|
+
gasPrice?: bigint;
|
|
1972
|
+
maxFeePerGas?: bigint;
|
|
1973
|
+
maxPriorityFeePerGas?: bigint;
|
|
1974
|
+
nonce?: number;
|
|
1975
|
+
value?: bigint;
|
|
1976
|
+
}): Promise<void>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Simulate removeWhitelistedUniswapV3PositionManagerHum
|
|
1979
|
+
* Returns gas estimate and result without sending transaction
|
|
1980
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1981
|
+
*/
|
|
1982
|
+
removeWhitelistedUniswapV3PositionManagerHum(accounts: `0x${string}`[], options?: {
|
|
1983
|
+
accessList?: import("viem").AccessList;
|
|
1984
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1985
|
+
chain?: import("viem").Chain | null;
|
|
1986
|
+
dataSuffix?: `0x${string}`;
|
|
1987
|
+
gas?: bigint;
|
|
1988
|
+
gasPrice?: bigint;
|
|
1989
|
+
maxFeePerGas?: bigint;
|
|
1990
|
+
maxPriorityFeePerGas?: bigint;
|
|
1991
|
+
nonce?: number;
|
|
1992
|
+
value?: bigint;
|
|
1993
|
+
}): Promise<void>;
|
|
1994
|
+
/**
|
|
1995
|
+
* Simulate removeWhitelistedUniswapV4HooksHum
|
|
1996
|
+
* Returns gas estimate and result without sending transaction
|
|
1997
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1998
|
+
*/
|
|
1999
|
+
removeWhitelistedUniswapV4HooksHum(hooks: `0x${string}`[], options?: {
|
|
2000
|
+
accessList?: import("viem").AccessList;
|
|
2001
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2002
|
+
chain?: import("viem").Chain | null;
|
|
2003
|
+
dataSuffix?: `0x${string}`;
|
|
2004
|
+
gas?: bigint;
|
|
2005
|
+
gasPrice?: bigint;
|
|
2006
|
+
maxFeePerGas?: bigint;
|
|
2007
|
+
maxPriorityFeePerGas?: bigint;
|
|
2008
|
+
nonce?: number;
|
|
2009
|
+
value?: bigint;
|
|
2010
|
+
}): Promise<void>;
|
|
2011
|
+
/**
|
|
2012
|
+
* Simulate removeWhitelistedUniswapV4PoolsHum
|
|
2013
|
+
* Returns gas estimate and result without sending transaction
|
|
2014
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2015
|
+
*/
|
|
2016
|
+
removeWhitelistedUniswapV4PoolsHum(poolManager: `0x${string}`, keys: `0x${string}`[], options?: {
|
|
2017
|
+
accessList?: import("viem").AccessList;
|
|
2018
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2019
|
+
chain?: import("viem").Chain | null;
|
|
2020
|
+
dataSuffix?: `0x${string}`;
|
|
2021
|
+
gas?: bigint;
|
|
2022
|
+
gasPrice?: bigint;
|
|
2023
|
+
maxFeePerGas?: bigint;
|
|
2024
|
+
maxPriorityFeePerGas?: bigint;
|
|
2025
|
+
nonce?: number;
|
|
2026
|
+
value?: bigint;
|
|
2027
|
+
}): Promise<void>;
|
|
2028
|
+
/**
|
|
2029
|
+
* Simulate squadV3SwapCallback
|
|
2030
|
+
* Returns gas estimate and result without sending transaction
|
|
2031
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2032
|
+
*/
|
|
2033
|
+
squadV3SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
2034
|
+
accessList?: import("viem").AccessList;
|
|
2035
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2036
|
+
chain?: import("viem").Chain | null;
|
|
2037
|
+
dataSuffix?: `0x${string}`;
|
|
2038
|
+
gas?: bigint;
|
|
2039
|
+
gasPrice?: bigint;
|
|
2040
|
+
maxFeePerGas?: bigint;
|
|
2041
|
+
maxPriorityFeePerGas?: bigint;
|
|
2042
|
+
nonce?: number;
|
|
2043
|
+
value?: bigint;
|
|
2044
|
+
}): Promise<void>;
|
|
2045
|
+
/**
|
|
2046
|
+
* Simulate swapExactTokensForTokensUniswapV3Hum
|
|
2047
|
+
* Returns gas estimate and result without sending transaction
|
|
2048
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2049
|
+
*/
|
|
2050
|
+
swapExactTokensForTokensUniswapV3Hum(amountIn: bigint, tokenIn: `0x${string}`, amountOutMin: bigint, zeroForOne: boolean, pool: `0x${string}`, deadline: bigint, options?: {
|
|
2051
|
+
accessList?: import("viem").AccessList;
|
|
2052
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2053
|
+
chain?: import("viem").Chain | null;
|
|
2054
|
+
dataSuffix?: `0x${string}`;
|
|
2055
|
+
gas?: bigint;
|
|
2056
|
+
gasPrice?: bigint;
|
|
2057
|
+
maxFeePerGas?: bigint;
|
|
2058
|
+
maxPriorityFeePerGas?: bigint;
|
|
2059
|
+
nonce?: number;
|
|
2060
|
+
value?: bigint;
|
|
2061
|
+
}): Promise<void>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Simulate swapExactTokensForTokensUniswapV4Hum
|
|
2064
|
+
* Returns gas estimate and result without sending transaction
|
|
2065
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2066
|
+
*/
|
|
2067
|
+
swapExactTokensForTokensUniswapV4Hum(data: Logic_V4SwapData, poolManager: `0x${string}`, amountOutMin: bigint, deadline: bigint, options?: {
|
|
2068
|
+
accessList?: import("viem").AccessList;
|
|
2069
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2070
|
+
chain?: import("viem").Chain | null;
|
|
2071
|
+
dataSuffix?: `0x${string}`;
|
|
2072
|
+
gas?: bigint;
|
|
2073
|
+
gasPrice?: bigint;
|
|
2074
|
+
maxFeePerGas?: bigint;
|
|
2075
|
+
maxPriorityFeePerGas?: bigint;
|
|
2076
|
+
nonce?: number;
|
|
2077
|
+
value?: bigint;
|
|
2078
|
+
}): Promise<void>;
|
|
2079
|
+
/**
|
|
2080
|
+
* Simulate swapToBoundaryIziSwapHum_4KPMRG
|
|
2081
|
+
* Returns gas estimate and result without sending transaction
|
|
2082
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2083
|
+
*/
|
|
2084
|
+
swapToBoundaryIziSwapHum_4KPMRG(amount: bigint, boundaryPoint: bigint, tokenIn: `0x${string}`, x2y: boolean, pool: `0x${string}`, deadline: bigint, options?: {
|
|
2085
|
+
accessList?: import("viem").AccessList;
|
|
2086
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2087
|
+
chain?: import("viem").Chain | null;
|
|
2088
|
+
dataSuffix?: `0x${string}`;
|
|
2089
|
+
gas?: bigint;
|
|
2090
|
+
gasPrice?: bigint;
|
|
2091
|
+
maxFeePerGas?: bigint;
|
|
2092
|
+
maxPriorityFeePerGas?: bigint;
|
|
2093
|
+
nonce?: number;
|
|
2094
|
+
value?: bigint;
|
|
2095
|
+
}): Promise<void>;
|
|
2096
|
+
/**
|
|
2097
|
+
* Simulate swapTokensForTokensLimitOrderUniswapV2Hum
|
|
2098
|
+
* Returns gas estimate and result without sending transaction
|
|
2099
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2100
|
+
*/
|
|
2101
|
+
swapTokensForTokensLimitOrderUniswapV2Hum(amountIn: bigint, sqrtPriceLimitX96: bigint, tokenIn: `0x${string}`, zeroForOne: boolean, fee: bigint, pair: `0x${string}`, deadline: bigint, options?: {
|
|
2102
|
+
accessList?: import("viem").AccessList;
|
|
2103
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2104
|
+
chain?: import("viem").Chain | null;
|
|
2105
|
+
dataSuffix?: `0x${string}`;
|
|
2106
|
+
gas?: bigint;
|
|
2107
|
+
gasPrice?: bigint;
|
|
2108
|
+
maxFeePerGas?: bigint;
|
|
2109
|
+
maxPriorityFeePerGas?: bigint;
|
|
2110
|
+
nonce?: number;
|
|
2111
|
+
value?: bigint;
|
|
2112
|
+
}): Promise<void>;
|
|
2113
|
+
/**
|
|
2114
|
+
* Simulate swapTokensForTokensLimitOrderUniswapV3Hum
|
|
2115
|
+
* Returns gas estimate and result without sending transaction
|
|
2116
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2117
|
+
*/
|
|
2118
|
+
swapTokensForTokensLimitOrderUniswapV3Hum(amountIn: bigint, sqrtPriceLimitX96: bigint, tokenIn: `0x${string}`, zeroForOne: boolean, pool: `0x${string}`, deadline: bigint, options?: {
|
|
2119
|
+
accessList?: import("viem").AccessList;
|
|
2120
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2121
|
+
chain?: import("viem").Chain | null;
|
|
2122
|
+
dataSuffix?: `0x${string}`;
|
|
2123
|
+
gas?: bigint;
|
|
2124
|
+
gasPrice?: bigint;
|
|
2125
|
+
maxFeePerGas?: bigint;
|
|
2126
|
+
maxPriorityFeePerGas?: bigint;
|
|
2127
|
+
nonce?: number;
|
|
2128
|
+
value?: bigint;
|
|
2129
|
+
}): Promise<void>;
|
|
2130
|
+
/**
|
|
2131
|
+
* Simulate swapTokensForTokensLimitOrderUniswapV4Hum
|
|
2132
|
+
* Returns gas estimate and result without sending transaction
|
|
2133
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2134
|
+
*/
|
|
2135
|
+
swapTokensForTokensLimitOrderUniswapV4Hum(data: Logic_V4SwapData, poolManager: `0x${string}`, deadline: bigint, options?: {
|
|
2136
|
+
accessList?: import("viem").AccessList;
|
|
2137
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2138
|
+
chain?: import("viem").Chain | null;
|
|
2139
|
+
dataSuffix?: `0x${string}`;
|
|
2140
|
+
gas?: bigint;
|
|
2141
|
+
gasPrice?: bigint;
|
|
2142
|
+
maxFeePerGas?: bigint;
|
|
2143
|
+
maxPriorityFeePerGas?: bigint;
|
|
2144
|
+
nonce?: number;
|
|
2145
|
+
value?: bigint;
|
|
2146
|
+
}): Promise<void>;
|
|
2147
|
+
/**
|
|
2148
|
+
* Simulate swapX2YCallback
|
|
2149
|
+
* Returns gas estimate and result without sending transaction
|
|
2150
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2151
|
+
*/
|
|
2152
|
+
swapX2YCallback(x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
2153
|
+
accessList?: import("viem").AccessList;
|
|
2154
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2155
|
+
chain?: import("viem").Chain | null;
|
|
2156
|
+
dataSuffix?: `0x${string}`;
|
|
2157
|
+
gas?: bigint;
|
|
2158
|
+
gasPrice?: bigint;
|
|
2159
|
+
maxFeePerGas?: bigint;
|
|
2160
|
+
maxPriorityFeePerGas?: bigint;
|
|
2161
|
+
nonce?: number;
|
|
2162
|
+
value?: bigint;
|
|
2163
|
+
}): Promise<void>;
|
|
2164
|
+
/**
|
|
2165
|
+
* Simulate swapY2XCallback
|
|
2166
|
+
* Returns gas estimate and result without sending transaction
|
|
2167
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2168
|
+
*/
|
|
2169
|
+
swapY2XCallback(x: bigint, y: bigint, data: `0x${string}`, options?: {
|
|
2170
|
+
accessList?: import("viem").AccessList;
|
|
2171
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2172
|
+
chain?: import("viem").Chain | null;
|
|
2173
|
+
dataSuffix?: `0x${string}`;
|
|
2174
|
+
gas?: bigint;
|
|
2175
|
+
gasPrice?: bigint;
|
|
2176
|
+
maxFeePerGas?: bigint;
|
|
2177
|
+
maxPriorityFeePerGas?: bigint;
|
|
2178
|
+
nonce?: number;
|
|
2179
|
+
value?: bigint;
|
|
2180
|
+
}): Promise<void>;
|
|
2181
|
+
/**
|
|
2182
|
+
* Simulate transferChainCoinProxyOwnerHum
|
|
2183
|
+
* Returns gas estimate and result without sending transaction
|
|
2184
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2185
|
+
*/
|
|
2186
|
+
transferChainCoinProxyOwnerHum(to: `0x${string}`, amount: bigint, options?: {
|
|
2187
|
+
accessList?: import("viem").AccessList;
|
|
2188
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2189
|
+
chain?: import("viem").Chain | null;
|
|
2190
|
+
dataSuffix?: `0x${string}`;
|
|
2191
|
+
gas?: bigint;
|
|
2192
|
+
gasPrice?: bigint;
|
|
2193
|
+
maxFeePerGas?: bigint;
|
|
2194
|
+
maxPriorityFeePerGas?: bigint;
|
|
2195
|
+
nonce?: number;
|
|
2196
|
+
value?: bigint;
|
|
2197
|
+
}): Promise<void>;
|
|
2198
|
+
/**
|
|
2199
|
+
* Simulate transferTokenProxyOwnerHum
|
|
2200
|
+
* Returns gas estimate and result without sending transaction
|
|
2201
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2202
|
+
*/
|
|
2203
|
+
transferTokenProxyOwnerHum(token: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
2204
|
+
accessList?: import("viem").AccessList;
|
|
2205
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2206
|
+
chain?: import("viem").Chain | null;
|
|
2207
|
+
dataSuffix?: `0x${string}`;
|
|
2208
|
+
gas?: bigint;
|
|
2209
|
+
gasPrice?: bigint;
|
|
2210
|
+
maxFeePerGas?: bigint;
|
|
2211
|
+
maxPriorityFeePerGas?: bigint;
|
|
2212
|
+
nonce?: number;
|
|
2213
|
+
value?: bigint;
|
|
2214
|
+
}): Promise<void>;
|
|
2215
|
+
/**
|
|
2216
|
+
* Simulate uniswapV3SwapCallback
|
|
2217
|
+
* Returns gas estimate and result without sending transaction
|
|
2218
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2219
|
+
*/
|
|
2220
|
+
uniswapV3SwapCallback(amount0Delta: bigint, amount1Delta: bigint, data: `0x${string}`, options?: {
|
|
2221
|
+
accessList?: import("viem").AccessList;
|
|
2222
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2223
|
+
chain?: import("viem").Chain | null;
|
|
2224
|
+
dataSuffix?: `0x${string}`;
|
|
2225
|
+
gas?: bigint;
|
|
2226
|
+
gasPrice?: bigint;
|
|
2227
|
+
maxFeePerGas?: bigint;
|
|
2228
|
+
maxPriorityFeePerGas?: bigint;
|
|
2229
|
+
nonce?: number;
|
|
2230
|
+
value?: bigint;
|
|
2231
|
+
}): Promise<void>;
|
|
2232
|
+
/**
|
|
2233
|
+
* Simulate unlockCallback
|
|
2234
|
+
* Returns gas estimate and result without sending transaction
|
|
2235
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2236
|
+
*/
|
|
2237
|
+
unlockCallback(data: `0x${string}`, options?: {
|
|
2238
|
+
accessList?: import("viem").AccessList;
|
|
2239
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2240
|
+
chain?: import("viem").Chain | null;
|
|
2241
|
+
dataSuffix?: `0x${string}`;
|
|
2242
|
+
gas?: bigint;
|
|
2243
|
+
gasPrice?: bigint;
|
|
2244
|
+
maxFeePerGas?: bigint;
|
|
2245
|
+
maxPriorityFeePerGas?: bigint;
|
|
2246
|
+
nonce?: number;
|
|
2247
|
+
value?: bigint;
|
|
2248
|
+
}): Promise<`0x${string}`>;
|
|
2249
|
+
};
|
|
2250
|
+
/**
|
|
2251
|
+
* Watch contract events
|
|
2252
|
+
*
|
|
2253
|
+
* Note: This contract has no events, so watch returns an empty object.
|
|
2254
|
+
*/
|
|
2255
|
+
get watch(): {};
|
|
2256
|
+
}
|