@zoralabs/protocol-deployments 0.5.9 → 0.5.11-PRE.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/.turbo/turbo-build.log +19 -19
- package/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/dist/encoding.d.ts +2 -2
- package/dist/generated/sparks.d.ts +2 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +589 -12
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +258 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +254 -6
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/generated/sparks.ts +2 -0
- package/src/generated/wagmi.ts +276 -10
|
@@ -1,5 +1,130 @@
|
|
|
1
|
+
export declare const autoSwapperABI: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "_router";
|
|
5
|
+
readonly internalType: "contract ISwapRouter";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "_swapRecipient";
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "_swapper";
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "nonpayable";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "function";
|
|
19
|
+
readonly inputs: readonly [];
|
|
20
|
+
readonly name: "router";
|
|
21
|
+
readonly outputs: readonly [{
|
|
22
|
+
readonly name: "";
|
|
23
|
+
readonly internalType: "contract ISwapRouter";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}];
|
|
26
|
+
readonly stateMutability: "view";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
readonly inputs: readonly [{
|
|
30
|
+
readonly name: "params";
|
|
31
|
+
readonly internalType: "struct AutoSwapper.ExactInputParams";
|
|
32
|
+
readonly type: "tuple";
|
|
33
|
+
readonly components: readonly [{
|
|
34
|
+
readonly name: "path";
|
|
35
|
+
readonly internalType: "bytes";
|
|
36
|
+
readonly type: "bytes";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "amountIn";
|
|
39
|
+
readonly internalType: "uint256";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "amountOutMinimum";
|
|
43
|
+
readonly internalType: "uint256";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
}];
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "swapExactInput";
|
|
48
|
+
readonly outputs: readonly [{
|
|
49
|
+
readonly name: "amountOut";
|
|
50
|
+
readonly internalType: "uint256";
|
|
51
|
+
readonly type: "uint256";
|
|
52
|
+
}];
|
|
53
|
+
readonly stateMutability: "nonpayable";
|
|
54
|
+
}, {
|
|
55
|
+
readonly type: "function";
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly name: "params";
|
|
58
|
+
readonly internalType: "struct AutoSwapper.ExactInputSingleParams";
|
|
59
|
+
readonly type: "tuple";
|
|
60
|
+
readonly components: readonly [{
|
|
61
|
+
readonly name: "tokenIn";
|
|
62
|
+
readonly internalType: "address";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "tokenOut";
|
|
66
|
+
readonly internalType: "address";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "fee";
|
|
70
|
+
readonly internalType: "uint24";
|
|
71
|
+
readonly type: "uint24";
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "amountIn";
|
|
74
|
+
readonly internalType: "uint256";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
}, {
|
|
77
|
+
readonly name: "amountOutMinimum";
|
|
78
|
+
readonly internalType: "uint256";
|
|
79
|
+
readonly type: "uint256";
|
|
80
|
+
}, {
|
|
81
|
+
readonly name: "sqrtPriceLimitX96";
|
|
82
|
+
readonly internalType: "uint160";
|
|
83
|
+
readonly type: "uint160";
|
|
84
|
+
}];
|
|
85
|
+
}];
|
|
86
|
+
readonly name: "swapExactInputSingle";
|
|
87
|
+
readonly outputs: readonly [{
|
|
88
|
+
readonly name: "amountOut";
|
|
89
|
+
readonly internalType: "uint256";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "nonpayable";
|
|
93
|
+
}, {
|
|
94
|
+
readonly type: "function";
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly name: "swapRecipient";
|
|
97
|
+
readonly outputs: readonly [{
|
|
98
|
+
readonly name: "";
|
|
99
|
+
readonly internalType: "address";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly stateMutability: "view";
|
|
103
|
+
}, {
|
|
104
|
+
readonly type: "function";
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "swapper";
|
|
107
|
+
readonly outputs: readonly [{
|
|
108
|
+
readonly name: "";
|
|
109
|
+
readonly internalType: "address";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
113
|
+
}, {
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
readonly inputs: readonly [];
|
|
116
|
+
readonly name: "InvalidRecipient";
|
|
117
|
+
}, {
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
readonly inputs: readonly [];
|
|
120
|
+
readonly name: "InvalidSelector";
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
readonly inputs: readonly [];
|
|
124
|
+
readonly name: "NotSwapper";
|
|
125
|
+
}];
|
|
1
126
|
/**
|
|
2
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
127
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
|
|
3
128
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
4
129
|
*/
|
|
5
130
|
export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
@@ -12,6 +137,10 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
12
137
|
readonly name: "_swapRouter";
|
|
13
138
|
readonly internalType: "address";
|
|
14
139
|
readonly type: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "_poolManager";
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly type: "address";
|
|
15
144
|
}];
|
|
16
145
|
readonly stateMutability: "nonpayable";
|
|
17
146
|
}, {
|
|
@@ -60,6 +189,20 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
60
189
|
readonly type: "bool";
|
|
61
190
|
}];
|
|
62
191
|
readonly stateMutability: "pure";
|
|
192
|
+
}, {
|
|
193
|
+
readonly type: "function";
|
|
194
|
+
readonly inputs: readonly [{
|
|
195
|
+
readonly name: "data";
|
|
196
|
+
readonly internalType: "bytes";
|
|
197
|
+
readonly type: "bytes";
|
|
198
|
+
}];
|
|
199
|
+
readonly name: "unlockCallback";
|
|
200
|
+
readonly outputs: readonly [{
|
|
201
|
+
readonly name: "";
|
|
202
|
+
readonly internalType: "bytes";
|
|
203
|
+
readonly type: "bytes";
|
|
204
|
+
}];
|
|
205
|
+
readonly stateMutability: "nonpayable";
|
|
63
206
|
}, {
|
|
64
207
|
readonly type: "error";
|
|
65
208
|
readonly inputs: readonly [];
|
|
@@ -72,6 +215,14 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
72
215
|
readonly type: "uint256";
|
|
73
216
|
}];
|
|
74
217
|
readonly name: "CoinBalanceNot0";
|
|
218
|
+
}, {
|
|
219
|
+
readonly type: "error";
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly name: "balance";
|
|
222
|
+
readonly internalType: "uint256";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
}];
|
|
225
|
+
readonly name: "CurrencyBalanceNot0";
|
|
75
226
|
}, {
|
|
76
227
|
readonly type: "error";
|
|
77
228
|
readonly inputs: readonly [];
|
|
@@ -88,6 +239,10 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
88
239
|
readonly type: "error";
|
|
89
240
|
readonly inputs: readonly [];
|
|
90
241
|
readonly name: "NotFactory";
|
|
242
|
+
}, {
|
|
243
|
+
readonly type: "error";
|
|
244
|
+
readonly inputs: readonly [];
|
|
245
|
+
readonly name: "OnlyPoolManager";
|
|
91
246
|
}, {
|
|
92
247
|
readonly type: "error";
|
|
93
248
|
readonly inputs: readonly [{
|
|
@@ -98,20 +253,20 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
98
253
|
readonly name: "SwapReverted";
|
|
99
254
|
}];
|
|
100
255
|
/**
|
|
101
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
256
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
|
|
102
257
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
103
258
|
*/
|
|
104
259
|
export declare const buySupplyWithSwapRouterHookAddress: {
|
|
105
|
-
readonly 8453: "
|
|
260
|
+
readonly 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25";
|
|
106
261
|
readonly 84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
|
|
107
262
|
};
|
|
108
263
|
/**
|
|
109
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
264
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
|
|
110
265
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
111
266
|
*/
|
|
112
267
|
export declare const buySupplyWithSwapRouterHookConfig: {
|
|
113
268
|
readonly address: {
|
|
114
|
-
readonly 8453: "
|
|
269
|
+
readonly 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25";
|
|
115
270
|
readonly 84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
|
|
116
271
|
};
|
|
117
272
|
readonly abi: readonly [{
|
|
@@ -124,6 +279,10 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
124
279
|
readonly name: "_swapRouter";
|
|
125
280
|
readonly internalType: "address";
|
|
126
281
|
readonly type: "address";
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "_poolManager";
|
|
284
|
+
readonly internalType: "address";
|
|
285
|
+
readonly type: "address";
|
|
127
286
|
}];
|
|
128
287
|
readonly stateMutability: "nonpayable";
|
|
129
288
|
}, {
|
|
@@ -172,6 +331,20 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
172
331
|
readonly type: "bool";
|
|
173
332
|
}];
|
|
174
333
|
readonly stateMutability: "pure";
|
|
334
|
+
}, {
|
|
335
|
+
readonly type: "function";
|
|
336
|
+
readonly inputs: readonly [{
|
|
337
|
+
readonly name: "data";
|
|
338
|
+
readonly internalType: "bytes";
|
|
339
|
+
readonly type: "bytes";
|
|
340
|
+
}];
|
|
341
|
+
readonly name: "unlockCallback";
|
|
342
|
+
readonly outputs: readonly [{
|
|
343
|
+
readonly name: "";
|
|
344
|
+
readonly internalType: "bytes";
|
|
345
|
+
readonly type: "bytes";
|
|
346
|
+
}];
|
|
347
|
+
readonly stateMutability: "nonpayable";
|
|
175
348
|
}, {
|
|
176
349
|
readonly type: "error";
|
|
177
350
|
readonly inputs: readonly [];
|
|
@@ -184,6 +357,14 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
184
357
|
readonly type: "uint256";
|
|
185
358
|
}];
|
|
186
359
|
readonly name: "CoinBalanceNot0";
|
|
360
|
+
}, {
|
|
361
|
+
readonly type: "error";
|
|
362
|
+
readonly inputs: readonly [{
|
|
363
|
+
readonly name: "balance";
|
|
364
|
+
readonly internalType: "uint256";
|
|
365
|
+
readonly type: "uint256";
|
|
366
|
+
}];
|
|
367
|
+
readonly name: "CurrencyBalanceNot0";
|
|
187
368
|
}, {
|
|
188
369
|
readonly type: "error";
|
|
189
370
|
readonly inputs: readonly [];
|
|
@@ -200,6 +381,10 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
200
381
|
readonly type: "error";
|
|
201
382
|
readonly inputs: readonly [];
|
|
202
383
|
readonly name: "NotFactory";
|
|
384
|
+
}, {
|
|
385
|
+
readonly type: "error";
|
|
386
|
+
readonly inputs: readonly [];
|
|
387
|
+
readonly name: "OnlyPoolManager";
|
|
203
388
|
}, {
|
|
204
389
|
readonly type: "error";
|
|
205
390
|
readonly inputs: readonly [{
|
|
@@ -3928,7 +4113,7 @@ export declare const coinABI: readonly [{
|
|
|
3928
4113
|
}, {
|
|
3929
4114
|
readonly type: "function";
|
|
3930
4115
|
readonly inputs: readonly [];
|
|
3931
|
-
readonly name: "
|
|
4116
|
+
readonly name: "dopplerFeeRecipient";
|
|
3932
4117
|
readonly outputs: readonly [{
|
|
3933
4118
|
readonly name: "";
|
|
3934
4119
|
readonly internalType: "address";
|
|
@@ -6795,7 +6980,7 @@ export declare const coinV4ABI: readonly [{
|
|
|
6795
6980
|
}, {
|
|
6796
6981
|
readonly type: "function";
|
|
6797
6982
|
readonly inputs: readonly [];
|
|
6798
|
-
readonly name: "
|
|
6983
|
+
readonly name: "dopplerFeeRecipient";
|
|
6799
6984
|
readonly outputs: readonly [{
|
|
6800
6985
|
readonly name: "";
|
|
6801
6986
|
readonly internalType: "address";
|
|
@@ -12288,7 +12473,7 @@ export declare const commentsConfig: {
|
|
|
12288
12473
|
}];
|
|
12289
12474
|
};
|
|
12290
12475
|
/**
|
|
12291
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
12476
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x0a747629609b22E348d0ea9865fC2A5a04ED945d)
|
|
12292
12477
|
*/
|
|
12293
12478
|
export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
|
|
12294
12479
|
readonly type: "constructor";
|
|
@@ -12300,6 +12485,10 @@ export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
|
|
|
12300
12485
|
readonly name: "_swapRouter";
|
|
12301
12486
|
readonly internalType: "address";
|
|
12302
12487
|
readonly type: "address";
|
|
12488
|
+
}, {
|
|
12489
|
+
readonly name: "_poolManager";
|
|
12490
|
+
readonly internalType: "address";
|
|
12491
|
+
readonly type: "address";
|
|
12303
12492
|
}];
|
|
12304
12493
|
readonly stateMutability: "nonpayable";
|
|
12305
12494
|
}, {
|
|
@@ -12348,6 +12537,20 @@ export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
|
|
|
12348
12537
|
readonly type: "bool";
|
|
12349
12538
|
}];
|
|
12350
12539
|
readonly stateMutability: "pure";
|
|
12540
|
+
}, {
|
|
12541
|
+
readonly type: "function";
|
|
12542
|
+
readonly inputs: readonly [{
|
|
12543
|
+
readonly name: "data";
|
|
12544
|
+
readonly internalType: "bytes";
|
|
12545
|
+
readonly type: "bytes";
|
|
12546
|
+
}];
|
|
12547
|
+
readonly name: "unlockCallback";
|
|
12548
|
+
readonly outputs: readonly [{
|
|
12549
|
+
readonly name: "";
|
|
12550
|
+
readonly internalType: "bytes";
|
|
12551
|
+
readonly type: "bytes";
|
|
12552
|
+
}];
|
|
12553
|
+
readonly stateMutability: "nonpayable";
|
|
12351
12554
|
}, {
|
|
12352
12555
|
readonly type: "error";
|
|
12353
12556
|
readonly inputs: readonly [];
|
|
@@ -12360,6 +12563,14 @@ export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
|
|
|
12360
12563
|
readonly type: "uint256";
|
|
12361
12564
|
}];
|
|
12362
12565
|
readonly name: "CoinBalanceNot0";
|
|
12566
|
+
}, {
|
|
12567
|
+
readonly type: "error";
|
|
12568
|
+
readonly inputs: readonly [{
|
|
12569
|
+
readonly name: "balance";
|
|
12570
|
+
readonly internalType: "uint256";
|
|
12571
|
+
readonly type: "uint256";
|
|
12572
|
+
}];
|
|
12573
|
+
readonly name: "CurrencyBalanceNot0";
|
|
12363
12574
|
}, {
|
|
12364
12575
|
readonly type: "error";
|
|
12365
12576
|
readonly inputs: readonly [];
|
|
@@ -12376,6 +12587,10 @@ export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
|
|
|
12376
12587
|
readonly type: "error";
|
|
12377
12588
|
readonly inputs: readonly [];
|
|
12378
12589
|
readonly name: "NotFactory";
|
|
12590
|
+
}, {
|
|
12591
|
+
readonly type: "error";
|
|
12592
|
+
readonly inputs: readonly [];
|
|
12593
|
+
readonly name: "OnlyPoolManager";
|
|
12379
12594
|
}, {
|
|
12380
12595
|
readonly type: "error";
|
|
12381
12596
|
readonly inputs: readonly [{
|
|
@@ -12386,17 +12601,17 @@ export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
|
|
|
12386
12601
|
readonly name: "SwapReverted";
|
|
12387
12602
|
}];
|
|
12388
12603
|
/**
|
|
12389
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
12604
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x0a747629609b22E348d0ea9865fC2A5a04ED945d)
|
|
12390
12605
|
*/
|
|
12391
12606
|
export declare const devBuySupplyWithSwapRouterHookAddress: {
|
|
12392
|
-
readonly 8453: "
|
|
12607
|
+
readonly 8453: "0x0a747629609b22E348d0ea9865fC2A5a04ED945d";
|
|
12393
12608
|
};
|
|
12394
12609
|
/**
|
|
12395
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
12610
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x0a747629609b22E348d0ea9865fC2A5a04ED945d)
|
|
12396
12611
|
*/
|
|
12397
12612
|
export declare const devBuySupplyWithSwapRouterHookConfig: {
|
|
12398
12613
|
readonly address: {
|
|
12399
|
-
readonly 8453: "
|
|
12614
|
+
readonly 8453: "0x0a747629609b22E348d0ea9865fC2A5a04ED945d";
|
|
12400
12615
|
};
|
|
12401
12616
|
readonly abi: readonly [{
|
|
12402
12617
|
readonly type: "constructor";
|
|
@@ -12408,6 +12623,10 @@ export declare const devBuySupplyWithSwapRouterHookConfig: {
|
|
|
12408
12623
|
readonly name: "_swapRouter";
|
|
12409
12624
|
readonly internalType: "address";
|
|
12410
12625
|
readonly type: "address";
|
|
12626
|
+
}, {
|
|
12627
|
+
readonly name: "_poolManager";
|
|
12628
|
+
readonly internalType: "address";
|
|
12629
|
+
readonly type: "address";
|
|
12411
12630
|
}];
|
|
12412
12631
|
readonly stateMutability: "nonpayable";
|
|
12413
12632
|
}, {
|
|
@@ -12456,6 +12675,20 @@ export declare const devBuySupplyWithSwapRouterHookConfig: {
|
|
|
12456
12675
|
readonly type: "bool";
|
|
12457
12676
|
}];
|
|
12458
12677
|
readonly stateMutability: "pure";
|
|
12678
|
+
}, {
|
|
12679
|
+
readonly type: "function";
|
|
12680
|
+
readonly inputs: readonly [{
|
|
12681
|
+
readonly name: "data";
|
|
12682
|
+
readonly internalType: "bytes";
|
|
12683
|
+
readonly type: "bytes";
|
|
12684
|
+
}];
|
|
12685
|
+
readonly name: "unlockCallback";
|
|
12686
|
+
readonly outputs: readonly [{
|
|
12687
|
+
readonly name: "";
|
|
12688
|
+
readonly internalType: "bytes";
|
|
12689
|
+
readonly type: "bytes";
|
|
12690
|
+
}];
|
|
12691
|
+
readonly stateMutability: "nonpayable";
|
|
12459
12692
|
}, {
|
|
12460
12693
|
readonly type: "error";
|
|
12461
12694
|
readonly inputs: readonly [];
|
|
@@ -12468,6 +12701,14 @@ export declare const devBuySupplyWithSwapRouterHookConfig: {
|
|
|
12468
12701
|
readonly type: "uint256";
|
|
12469
12702
|
}];
|
|
12470
12703
|
readonly name: "CoinBalanceNot0";
|
|
12704
|
+
}, {
|
|
12705
|
+
readonly type: "error";
|
|
12706
|
+
readonly inputs: readonly [{
|
|
12707
|
+
readonly name: "balance";
|
|
12708
|
+
readonly internalType: "uint256";
|
|
12709
|
+
readonly type: "uint256";
|
|
12710
|
+
}];
|
|
12711
|
+
readonly name: "CurrencyBalanceNot0";
|
|
12471
12712
|
}, {
|
|
12472
12713
|
readonly type: "error";
|
|
12473
12714
|
readonly inputs: readonly [];
|
|
@@ -12484,6 +12725,10 @@ export declare const devBuySupplyWithSwapRouterHookConfig: {
|
|
|
12484
12725
|
readonly type: "error";
|
|
12485
12726
|
readonly inputs: readonly [];
|
|
12486
12727
|
readonly name: "NotFactory";
|
|
12728
|
+
}, {
|
|
12729
|
+
readonly type: "error";
|
|
12730
|
+
readonly inputs: readonly [];
|
|
12731
|
+
readonly name: "OnlyPoolManager";
|
|
12487
12732
|
}, {
|
|
12488
12733
|
readonly type: "error";
|
|
12489
12734
|
readonly inputs: readonly [{
|
|
@@ -22363,6 +22608,338 @@ export declare const sponsoredSparksSpenderConfig: {
|
|
|
22363
22608
|
readonly name: "WithdrawFailed";
|
|
22364
22609
|
}];
|
|
22365
22610
|
};
|
|
22611
|
+
/**
|
|
22612
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
22613
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
22614
|
+
*/
|
|
22615
|
+
export declare const uniswapQuoterV2ABI: readonly [{
|
|
22616
|
+
readonly type: "function";
|
|
22617
|
+
readonly inputs: readonly [{
|
|
22618
|
+
readonly name: "path";
|
|
22619
|
+
readonly internalType: "bytes";
|
|
22620
|
+
readonly type: "bytes";
|
|
22621
|
+
}, {
|
|
22622
|
+
readonly name: "amountIn";
|
|
22623
|
+
readonly internalType: "uint256";
|
|
22624
|
+
readonly type: "uint256";
|
|
22625
|
+
}];
|
|
22626
|
+
readonly name: "quoteExactInput";
|
|
22627
|
+
readonly outputs: readonly [{
|
|
22628
|
+
readonly name: "amountOut";
|
|
22629
|
+
readonly internalType: "uint256";
|
|
22630
|
+
readonly type: "uint256";
|
|
22631
|
+
}, {
|
|
22632
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22633
|
+
readonly internalType: "uint160[]";
|
|
22634
|
+
readonly type: "uint160[]";
|
|
22635
|
+
}, {
|
|
22636
|
+
readonly name: "initializedTicksCrossedList";
|
|
22637
|
+
readonly internalType: "uint32[]";
|
|
22638
|
+
readonly type: "uint32[]";
|
|
22639
|
+
}, {
|
|
22640
|
+
readonly name: "gasEstimate";
|
|
22641
|
+
readonly internalType: "uint256";
|
|
22642
|
+
readonly type: "uint256";
|
|
22643
|
+
}];
|
|
22644
|
+
readonly stateMutability: "nonpayable";
|
|
22645
|
+
}, {
|
|
22646
|
+
readonly type: "function";
|
|
22647
|
+
readonly inputs: readonly [{
|
|
22648
|
+
readonly name: "params";
|
|
22649
|
+
readonly internalType: "struct IQuoterV2.QuoteExactInputSingleParams";
|
|
22650
|
+
readonly type: "tuple";
|
|
22651
|
+
readonly components: readonly [{
|
|
22652
|
+
readonly name: "tokenIn";
|
|
22653
|
+
readonly internalType: "address";
|
|
22654
|
+
readonly type: "address";
|
|
22655
|
+
}, {
|
|
22656
|
+
readonly name: "tokenOut";
|
|
22657
|
+
readonly internalType: "address";
|
|
22658
|
+
readonly type: "address";
|
|
22659
|
+
}, {
|
|
22660
|
+
readonly name: "amountIn";
|
|
22661
|
+
readonly internalType: "uint256";
|
|
22662
|
+
readonly type: "uint256";
|
|
22663
|
+
}, {
|
|
22664
|
+
readonly name: "fee";
|
|
22665
|
+
readonly internalType: "uint24";
|
|
22666
|
+
readonly type: "uint24";
|
|
22667
|
+
}, {
|
|
22668
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22669
|
+
readonly internalType: "uint160";
|
|
22670
|
+
readonly type: "uint160";
|
|
22671
|
+
}];
|
|
22672
|
+
}];
|
|
22673
|
+
readonly name: "quoteExactInputSingle";
|
|
22674
|
+
readonly outputs: readonly [{
|
|
22675
|
+
readonly name: "amountOut";
|
|
22676
|
+
readonly internalType: "uint256";
|
|
22677
|
+
readonly type: "uint256";
|
|
22678
|
+
}, {
|
|
22679
|
+
readonly name: "sqrtPriceX96After";
|
|
22680
|
+
readonly internalType: "uint160";
|
|
22681
|
+
readonly type: "uint160";
|
|
22682
|
+
}, {
|
|
22683
|
+
readonly name: "initializedTicksCrossed";
|
|
22684
|
+
readonly internalType: "uint32";
|
|
22685
|
+
readonly type: "uint32";
|
|
22686
|
+
}, {
|
|
22687
|
+
readonly name: "gasEstimate";
|
|
22688
|
+
readonly internalType: "uint256";
|
|
22689
|
+
readonly type: "uint256";
|
|
22690
|
+
}];
|
|
22691
|
+
readonly stateMutability: "nonpayable";
|
|
22692
|
+
}, {
|
|
22693
|
+
readonly type: "function";
|
|
22694
|
+
readonly inputs: readonly [{
|
|
22695
|
+
readonly name: "path";
|
|
22696
|
+
readonly internalType: "bytes";
|
|
22697
|
+
readonly type: "bytes";
|
|
22698
|
+
}, {
|
|
22699
|
+
readonly name: "amountOut";
|
|
22700
|
+
readonly internalType: "uint256";
|
|
22701
|
+
readonly type: "uint256";
|
|
22702
|
+
}];
|
|
22703
|
+
readonly name: "quoteExactOutput";
|
|
22704
|
+
readonly outputs: readonly [{
|
|
22705
|
+
readonly name: "amountIn";
|
|
22706
|
+
readonly internalType: "uint256";
|
|
22707
|
+
readonly type: "uint256";
|
|
22708
|
+
}, {
|
|
22709
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22710
|
+
readonly internalType: "uint160[]";
|
|
22711
|
+
readonly type: "uint160[]";
|
|
22712
|
+
}, {
|
|
22713
|
+
readonly name: "initializedTicksCrossedList";
|
|
22714
|
+
readonly internalType: "uint32[]";
|
|
22715
|
+
readonly type: "uint32[]";
|
|
22716
|
+
}, {
|
|
22717
|
+
readonly name: "gasEstimate";
|
|
22718
|
+
readonly internalType: "uint256";
|
|
22719
|
+
readonly type: "uint256";
|
|
22720
|
+
}];
|
|
22721
|
+
readonly stateMutability: "nonpayable";
|
|
22722
|
+
}, {
|
|
22723
|
+
readonly type: "function";
|
|
22724
|
+
readonly inputs: readonly [{
|
|
22725
|
+
readonly name: "params";
|
|
22726
|
+
readonly internalType: "struct IQuoterV2.QuoteExactOutputSingleParams";
|
|
22727
|
+
readonly type: "tuple";
|
|
22728
|
+
readonly components: readonly [{
|
|
22729
|
+
readonly name: "tokenIn";
|
|
22730
|
+
readonly internalType: "address";
|
|
22731
|
+
readonly type: "address";
|
|
22732
|
+
}, {
|
|
22733
|
+
readonly name: "tokenOut";
|
|
22734
|
+
readonly internalType: "address";
|
|
22735
|
+
readonly type: "address";
|
|
22736
|
+
}, {
|
|
22737
|
+
readonly name: "amount";
|
|
22738
|
+
readonly internalType: "uint256";
|
|
22739
|
+
readonly type: "uint256";
|
|
22740
|
+
}, {
|
|
22741
|
+
readonly name: "fee";
|
|
22742
|
+
readonly internalType: "uint24";
|
|
22743
|
+
readonly type: "uint24";
|
|
22744
|
+
}, {
|
|
22745
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22746
|
+
readonly internalType: "uint160";
|
|
22747
|
+
readonly type: "uint160";
|
|
22748
|
+
}];
|
|
22749
|
+
}];
|
|
22750
|
+
readonly name: "quoteExactOutputSingle";
|
|
22751
|
+
readonly outputs: readonly [{
|
|
22752
|
+
readonly name: "amountIn";
|
|
22753
|
+
readonly internalType: "uint256";
|
|
22754
|
+
readonly type: "uint256";
|
|
22755
|
+
}, {
|
|
22756
|
+
readonly name: "sqrtPriceX96After";
|
|
22757
|
+
readonly internalType: "uint160";
|
|
22758
|
+
readonly type: "uint160";
|
|
22759
|
+
}, {
|
|
22760
|
+
readonly name: "initializedTicksCrossed";
|
|
22761
|
+
readonly internalType: "uint32";
|
|
22762
|
+
readonly type: "uint32";
|
|
22763
|
+
}, {
|
|
22764
|
+
readonly name: "gasEstimate";
|
|
22765
|
+
readonly internalType: "uint256";
|
|
22766
|
+
readonly type: "uint256";
|
|
22767
|
+
}];
|
|
22768
|
+
readonly stateMutability: "nonpayable";
|
|
22769
|
+
}];
|
|
22770
|
+
/**
|
|
22771
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
22772
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
22773
|
+
*/
|
|
22774
|
+
export declare const uniswapQuoterV2Address: {
|
|
22775
|
+
readonly 8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a";
|
|
22776
|
+
readonly 84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27";
|
|
22777
|
+
};
|
|
22778
|
+
/**
|
|
22779
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
22780
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
22781
|
+
*/
|
|
22782
|
+
export declare const uniswapQuoterV2Config: {
|
|
22783
|
+
readonly address: {
|
|
22784
|
+
readonly 8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a";
|
|
22785
|
+
readonly 84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27";
|
|
22786
|
+
};
|
|
22787
|
+
readonly abi: readonly [{
|
|
22788
|
+
readonly type: "function";
|
|
22789
|
+
readonly inputs: readonly [{
|
|
22790
|
+
readonly name: "path";
|
|
22791
|
+
readonly internalType: "bytes";
|
|
22792
|
+
readonly type: "bytes";
|
|
22793
|
+
}, {
|
|
22794
|
+
readonly name: "amountIn";
|
|
22795
|
+
readonly internalType: "uint256";
|
|
22796
|
+
readonly type: "uint256";
|
|
22797
|
+
}];
|
|
22798
|
+
readonly name: "quoteExactInput";
|
|
22799
|
+
readonly outputs: readonly [{
|
|
22800
|
+
readonly name: "amountOut";
|
|
22801
|
+
readonly internalType: "uint256";
|
|
22802
|
+
readonly type: "uint256";
|
|
22803
|
+
}, {
|
|
22804
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22805
|
+
readonly internalType: "uint160[]";
|
|
22806
|
+
readonly type: "uint160[]";
|
|
22807
|
+
}, {
|
|
22808
|
+
readonly name: "initializedTicksCrossedList";
|
|
22809
|
+
readonly internalType: "uint32[]";
|
|
22810
|
+
readonly type: "uint32[]";
|
|
22811
|
+
}, {
|
|
22812
|
+
readonly name: "gasEstimate";
|
|
22813
|
+
readonly internalType: "uint256";
|
|
22814
|
+
readonly type: "uint256";
|
|
22815
|
+
}];
|
|
22816
|
+
readonly stateMutability: "nonpayable";
|
|
22817
|
+
}, {
|
|
22818
|
+
readonly type: "function";
|
|
22819
|
+
readonly inputs: readonly [{
|
|
22820
|
+
readonly name: "params";
|
|
22821
|
+
readonly internalType: "struct IQuoterV2.QuoteExactInputSingleParams";
|
|
22822
|
+
readonly type: "tuple";
|
|
22823
|
+
readonly components: readonly [{
|
|
22824
|
+
readonly name: "tokenIn";
|
|
22825
|
+
readonly internalType: "address";
|
|
22826
|
+
readonly type: "address";
|
|
22827
|
+
}, {
|
|
22828
|
+
readonly name: "tokenOut";
|
|
22829
|
+
readonly internalType: "address";
|
|
22830
|
+
readonly type: "address";
|
|
22831
|
+
}, {
|
|
22832
|
+
readonly name: "amountIn";
|
|
22833
|
+
readonly internalType: "uint256";
|
|
22834
|
+
readonly type: "uint256";
|
|
22835
|
+
}, {
|
|
22836
|
+
readonly name: "fee";
|
|
22837
|
+
readonly internalType: "uint24";
|
|
22838
|
+
readonly type: "uint24";
|
|
22839
|
+
}, {
|
|
22840
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22841
|
+
readonly internalType: "uint160";
|
|
22842
|
+
readonly type: "uint160";
|
|
22843
|
+
}];
|
|
22844
|
+
}];
|
|
22845
|
+
readonly name: "quoteExactInputSingle";
|
|
22846
|
+
readonly outputs: readonly [{
|
|
22847
|
+
readonly name: "amountOut";
|
|
22848
|
+
readonly internalType: "uint256";
|
|
22849
|
+
readonly type: "uint256";
|
|
22850
|
+
}, {
|
|
22851
|
+
readonly name: "sqrtPriceX96After";
|
|
22852
|
+
readonly internalType: "uint160";
|
|
22853
|
+
readonly type: "uint160";
|
|
22854
|
+
}, {
|
|
22855
|
+
readonly name: "initializedTicksCrossed";
|
|
22856
|
+
readonly internalType: "uint32";
|
|
22857
|
+
readonly type: "uint32";
|
|
22858
|
+
}, {
|
|
22859
|
+
readonly name: "gasEstimate";
|
|
22860
|
+
readonly internalType: "uint256";
|
|
22861
|
+
readonly type: "uint256";
|
|
22862
|
+
}];
|
|
22863
|
+
readonly stateMutability: "nonpayable";
|
|
22864
|
+
}, {
|
|
22865
|
+
readonly type: "function";
|
|
22866
|
+
readonly inputs: readonly [{
|
|
22867
|
+
readonly name: "path";
|
|
22868
|
+
readonly internalType: "bytes";
|
|
22869
|
+
readonly type: "bytes";
|
|
22870
|
+
}, {
|
|
22871
|
+
readonly name: "amountOut";
|
|
22872
|
+
readonly internalType: "uint256";
|
|
22873
|
+
readonly type: "uint256";
|
|
22874
|
+
}];
|
|
22875
|
+
readonly name: "quoteExactOutput";
|
|
22876
|
+
readonly outputs: readonly [{
|
|
22877
|
+
readonly name: "amountIn";
|
|
22878
|
+
readonly internalType: "uint256";
|
|
22879
|
+
readonly type: "uint256";
|
|
22880
|
+
}, {
|
|
22881
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22882
|
+
readonly internalType: "uint160[]";
|
|
22883
|
+
readonly type: "uint160[]";
|
|
22884
|
+
}, {
|
|
22885
|
+
readonly name: "initializedTicksCrossedList";
|
|
22886
|
+
readonly internalType: "uint32[]";
|
|
22887
|
+
readonly type: "uint32[]";
|
|
22888
|
+
}, {
|
|
22889
|
+
readonly name: "gasEstimate";
|
|
22890
|
+
readonly internalType: "uint256";
|
|
22891
|
+
readonly type: "uint256";
|
|
22892
|
+
}];
|
|
22893
|
+
readonly stateMutability: "nonpayable";
|
|
22894
|
+
}, {
|
|
22895
|
+
readonly type: "function";
|
|
22896
|
+
readonly inputs: readonly [{
|
|
22897
|
+
readonly name: "params";
|
|
22898
|
+
readonly internalType: "struct IQuoterV2.QuoteExactOutputSingleParams";
|
|
22899
|
+
readonly type: "tuple";
|
|
22900
|
+
readonly components: readonly [{
|
|
22901
|
+
readonly name: "tokenIn";
|
|
22902
|
+
readonly internalType: "address";
|
|
22903
|
+
readonly type: "address";
|
|
22904
|
+
}, {
|
|
22905
|
+
readonly name: "tokenOut";
|
|
22906
|
+
readonly internalType: "address";
|
|
22907
|
+
readonly type: "address";
|
|
22908
|
+
}, {
|
|
22909
|
+
readonly name: "amount";
|
|
22910
|
+
readonly internalType: "uint256";
|
|
22911
|
+
readonly type: "uint256";
|
|
22912
|
+
}, {
|
|
22913
|
+
readonly name: "fee";
|
|
22914
|
+
readonly internalType: "uint24";
|
|
22915
|
+
readonly type: "uint24";
|
|
22916
|
+
}, {
|
|
22917
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22918
|
+
readonly internalType: "uint160";
|
|
22919
|
+
readonly type: "uint160";
|
|
22920
|
+
}];
|
|
22921
|
+
}];
|
|
22922
|
+
readonly name: "quoteExactOutputSingle";
|
|
22923
|
+
readonly outputs: readonly [{
|
|
22924
|
+
readonly name: "amountIn";
|
|
22925
|
+
readonly internalType: "uint256";
|
|
22926
|
+
readonly type: "uint256";
|
|
22927
|
+
}, {
|
|
22928
|
+
readonly name: "sqrtPriceX96After";
|
|
22929
|
+
readonly internalType: "uint160";
|
|
22930
|
+
readonly type: "uint160";
|
|
22931
|
+
}, {
|
|
22932
|
+
readonly name: "initializedTicksCrossed";
|
|
22933
|
+
readonly internalType: "uint32";
|
|
22934
|
+
readonly type: "uint32";
|
|
22935
|
+
}, {
|
|
22936
|
+
readonly name: "gasEstimate";
|
|
22937
|
+
readonly internalType: "uint256";
|
|
22938
|
+
readonly type: "uint256";
|
|
22939
|
+
}];
|
|
22940
|
+
readonly stateMutability: "nonpayable";
|
|
22941
|
+
}];
|
|
22942
|
+
};
|
|
22366
22943
|
/**
|
|
22367
22944
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
22368
22945
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|