@zoralabs/protocol-deployments 0.6.0-creator-coins.0 → 0.6.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 +18 -18
- package/CHANGELOG.md +13 -2
- 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 +1336 -158
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +532 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +525 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +2 -0
- package/src/generated/wagmi.ts +567 -21
|
@@ -1,6 +1,131 @@
|
|
|
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/
|
|
3
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
127
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
|
|
128
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
4
129
|
*/
|
|
5
130
|
export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
6
131
|
readonly type: "constructor";
|
|
@@ -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,36 @@ 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";
|
|
206
|
+
}, {
|
|
207
|
+
readonly type: "error";
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly name: "target";
|
|
210
|
+
readonly internalType: "address";
|
|
211
|
+
readonly type: "address";
|
|
212
|
+
}];
|
|
213
|
+
readonly name: "AddressEmptyCode";
|
|
214
|
+
}, {
|
|
215
|
+
readonly type: "error";
|
|
216
|
+
readonly inputs: readonly [{
|
|
217
|
+
readonly name: "account";
|
|
218
|
+
readonly internalType: "address";
|
|
219
|
+
readonly type: "address";
|
|
220
|
+
}];
|
|
221
|
+
readonly name: "AddressInsufficientBalance";
|
|
63
222
|
}, {
|
|
64
223
|
readonly type: "error";
|
|
65
224
|
readonly inputs: readonly [];
|
|
@@ -72,10 +231,22 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
72
231
|
readonly type: "uint256";
|
|
73
232
|
}];
|
|
74
233
|
readonly name: "CoinBalanceNot0";
|
|
234
|
+
}, {
|
|
235
|
+
readonly type: "error";
|
|
236
|
+
readonly inputs: readonly [{
|
|
237
|
+
readonly name: "balance";
|
|
238
|
+
readonly internalType: "uint256";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
}];
|
|
241
|
+
readonly name: "CurrencyBalanceNot0";
|
|
75
242
|
}, {
|
|
76
243
|
readonly type: "error";
|
|
77
244
|
readonly inputs: readonly [];
|
|
78
245
|
readonly name: "Erc20NotReceived";
|
|
246
|
+
}, {
|
|
247
|
+
readonly type: "error";
|
|
248
|
+
readonly inputs: readonly [];
|
|
249
|
+
readonly name: "FailedInnerCall";
|
|
79
250
|
}, {
|
|
80
251
|
readonly type: "error";
|
|
81
252
|
readonly inputs: readonly [];
|
|
@@ -88,6 +259,18 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
88
259
|
readonly type: "error";
|
|
89
260
|
readonly inputs: readonly [];
|
|
90
261
|
readonly name: "NotFactory";
|
|
262
|
+
}, {
|
|
263
|
+
readonly type: "error";
|
|
264
|
+
readonly inputs: readonly [];
|
|
265
|
+
readonly name: "OnlyPoolManager";
|
|
266
|
+
}, {
|
|
267
|
+
readonly type: "error";
|
|
268
|
+
readonly inputs: readonly [{
|
|
269
|
+
readonly name: "token";
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
}];
|
|
273
|
+
readonly name: "SafeERC20FailedOperation";
|
|
91
274
|
}, {
|
|
92
275
|
readonly type: "error";
|
|
93
276
|
readonly inputs: readonly [{
|
|
@@ -98,21 +281,21 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
98
281
|
readonly name: "SwapReverted";
|
|
99
282
|
}];
|
|
100
283
|
/**
|
|
101
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
102
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
284
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
|
|
285
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
103
286
|
*/
|
|
104
287
|
export declare const buySupplyWithSwapRouterHookAddress: {
|
|
105
|
-
readonly 8453: "
|
|
106
|
-
readonly 84532: "
|
|
288
|
+
readonly 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25";
|
|
289
|
+
readonly 84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
|
|
107
290
|
};
|
|
108
291
|
/**
|
|
109
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
110
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
292
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
|
|
293
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
111
294
|
*/
|
|
112
295
|
export declare const buySupplyWithSwapRouterHookConfig: {
|
|
113
296
|
readonly address: {
|
|
114
|
-
readonly 8453: "
|
|
115
|
-
readonly 84532: "
|
|
297
|
+
readonly 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25";
|
|
298
|
+
readonly 84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
|
|
116
299
|
};
|
|
117
300
|
readonly abi: readonly [{
|
|
118
301
|
readonly type: "constructor";
|
|
@@ -124,6 +307,10 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
124
307
|
readonly name: "_swapRouter";
|
|
125
308
|
readonly internalType: "address";
|
|
126
309
|
readonly type: "address";
|
|
310
|
+
}, {
|
|
311
|
+
readonly name: "_poolManager";
|
|
312
|
+
readonly internalType: "address";
|
|
313
|
+
readonly type: "address";
|
|
127
314
|
}];
|
|
128
315
|
readonly stateMutability: "nonpayable";
|
|
129
316
|
}, {
|
|
@@ -172,6 +359,36 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
172
359
|
readonly type: "bool";
|
|
173
360
|
}];
|
|
174
361
|
readonly stateMutability: "pure";
|
|
362
|
+
}, {
|
|
363
|
+
readonly type: "function";
|
|
364
|
+
readonly inputs: readonly [{
|
|
365
|
+
readonly name: "data";
|
|
366
|
+
readonly internalType: "bytes";
|
|
367
|
+
readonly type: "bytes";
|
|
368
|
+
}];
|
|
369
|
+
readonly name: "unlockCallback";
|
|
370
|
+
readonly outputs: readonly [{
|
|
371
|
+
readonly name: "";
|
|
372
|
+
readonly internalType: "bytes";
|
|
373
|
+
readonly type: "bytes";
|
|
374
|
+
}];
|
|
375
|
+
readonly stateMutability: "nonpayable";
|
|
376
|
+
}, {
|
|
377
|
+
readonly type: "error";
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly name: "target";
|
|
380
|
+
readonly internalType: "address";
|
|
381
|
+
readonly type: "address";
|
|
382
|
+
}];
|
|
383
|
+
readonly name: "AddressEmptyCode";
|
|
384
|
+
}, {
|
|
385
|
+
readonly type: "error";
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly name: "account";
|
|
388
|
+
readonly internalType: "address";
|
|
389
|
+
readonly type: "address";
|
|
390
|
+
}];
|
|
391
|
+
readonly name: "AddressInsufficientBalance";
|
|
175
392
|
}, {
|
|
176
393
|
readonly type: "error";
|
|
177
394
|
readonly inputs: readonly [];
|
|
@@ -184,10 +401,22 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
184
401
|
readonly type: "uint256";
|
|
185
402
|
}];
|
|
186
403
|
readonly name: "CoinBalanceNot0";
|
|
404
|
+
}, {
|
|
405
|
+
readonly type: "error";
|
|
406
|
+
readonly inputs: readonly [{
|
|
407
|
+
readonly name: "balance";
|
|
408
|
+
readonly internalType: "uint256";
|
|
409
|
+
readonly type: "uint256";
|
|
410
|
+
}];
|
|
411
|
+
readonly name: "CurrencyBalanceNot0";
|
|
187
412
|
}, {
|
|
188
413
|
readonly type: "error";
|
|
189
414
|
readonly inputs: readonly [];
|
|
190
415
|
readonly name: "Erc20NotReceived";
|
|
416
|
+
}, {
|
|
417
|
+
readonly type: "error";
|
|
418
|
+
readonly inputs: readonly [];
|
|
419
|
+
readonly name: "FailedInnerCall";
|
|
191
420
|
}, {
|
|
192
421
|
readonly type: "error";
|
|
193
422
|
readonly inputs: readonly [];
|
|
@@ -200,6 +429,18 @@ export declare const buySupplyWithSwapRouterHookConfig: {
|
|
|
200
429
|
readonly type: "error";
|
|
201
430
|
readonly inputs: readonly [];
|
|
202
431
|
readonly name: "NotFactory";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "error";
|
|
434
|
+
readonly inputs: readonly [];
|
|
435
|
+
readonly name: "OnlyPoolManager";
|
|
436
|
+
}, {
|
|
437
|
+
readonly type: "error";
|
|
438
|
+
readonly inputs: readonly [{
|
|
439
|
+
readonly name: "token";
|
|
440
|
+
readonly internalType: "address";
|
|
441
|
+
readonly type: "address";
|
|
442
|
+
}];
|
|
443
|
+
readonly name: "SafeERC20FailedOperation";
|
|
203
444
|
}, {
|
|
204
445
|
readonly type: "error";
|
|
205
446
|
readonly inputs: readonly [{
|
|
@@ -4370,6 +4611,20 @@ export declare const coinABI: readonly [{
|
|
|
4370
4611
|
readonly name: "setContractURI";
|
|
4371
4612
|
readonly outputs: readonly [];
|
|
4372
4613
|
readonly stateMutability: "nonpayable";
|
|
4614
|
+
}, {
|
|
4615
|
+
readonly type: "function";
|
|
4616
|
+
readonly inputs: readonly [{
|
|
4617
|
+
readonly name: "newName";
|
|
4618
|
+
readonly internalType: "string";
|
|
4619
|
+
readonly type: "string";
|
|
4620
|
+
}, {
|
|
4621
|
+
readonly name: "newSymbol";
|
|
4622
|
+
readonly internalType: "string";
|
|
4623
|
+
readonly type: "string";
|
|
4624
|
+
}];
|
|
4625
|
+
readonly name: "setNameAndSymbol";
|
|
4626
|
+
readonly outputs: readonly [];
|
|
4627
|
+
readonly stateMutability: "nonpayable";
|
|
4373
4628
|
}, {
|
|
4374
4629
|
readonly type: "function";
|
|
4375
4630
|
readonly inputs: readonly [{
|
|
@@ -4805,6 +5060,26 @@ export declare const coinABI: readonly [{
|
|
|
4805
5060
|
readonly indexed: false;
|
|
4806
5061
|
}];
|
|
4807
5062
|
readonly name: "Initialized";
|
|
5063
|
+
}, {
|
|
5064
|
+
readonly type: "event";
|
|
5065
|
+
readonly anonymous: false;
|
|
5066
|
+
readonly inputs: readonly [{
|
|
5067
|
+
readonly name: "caller";
|
|
5068
|
+
readonly internalType: "address";
|
|
5069
|
+
readonly type: "address";
|
|
5070
|
+
readonly indexed: true;
|
|
5071
|
+
}, {
|
|
5072
|
+
readonly name: "newName";
|
|
5073
|
+
readonly internalType: "string";
|
|
5074
|
+
readonly type: "string";
|
|
5075
|
+
readonly indexed: false;
|
|
5076
|
+
}, {
|
|
5077
|
+
readonly name: "newSymbol";
|
|
5078
|
+
readonly internalType: "string";
|
|
5079
|
+
readonly type: "string";
|
|
5080
|
+
readonly indexed: false;
|
|
5081
|
+
}];
|
|
5082
|
+
readonly name: "NameAndSymbolUpdated";
|
|
4808
5083
|
}, {
|
|
4809
5084
|
readonly type: "event";
|
|
4810
5085
|
readonly anonymous: false;
|
|
@@ -5151,8 +5426,8 @@ export declare const coinABI: readonly [{
|
|
|
5151
5426
|
readonly name: "UseRevokeOwnershipToRemoveSelf";
|
|
5152
5427
|
}];
|
|
5153
5428
|
/**
|
|
5154
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
5155
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
5429
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
5430
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
|
|
5156
5431
|
*/
|
|
5157
5432
|
export declare const coinFactoryABI: readonly [{
|
|
5158
5433
|
readonly type: "constructor";
|
|
@@ -5168,6 +5443,14 @@ export declare const coinFactoryABI: readonly [{
|
|
|
5168
5443
|
readonly name: "_creatorCoinImpl";
|
|
5169
5444
|
readonly internalType: "address";
|
|
5170
5445
|
readonly type: "address";
|
|
5446
|
+
}, {
|
|
5447
|
+
readonly name: "_contentCoinHook";
|
|
5448
|
+
readonly internalType: "address";
|
|
5449
|
+
readonly type: "address";
|
|
5450
|
+
}, {
|
|
5451
|
+
readonly name: "_creatorCoinHook";
|
|
5452
|
+
readonly internalType: "address";
|
|
5453
|
+
readonly type: "address";
|
|
5171
5454
|
}];
|
|
5172
5455
|
readonly stateMutability: "nonpayable";
|
|
5173
5456
|
}, {
|
|
@@ -5234,6 +5517,16 @@ export declare const coinFactoryABI: readonly [{
|
|
|
5234
5517
|
readonly type: "address";
|
|
5235
5518
|
}];
|
|
5236
5519
|
readonly stateMutability: "view";
|
|
5520
|
+
}, {
|
|
5521
|
+
readonly type: "function";
|
|
5522
|
+
readonly inputs: readonly [];
|
|
5523
|
+
readonly name: "contentCoinHook";
|
|
5524
|
+
readonly outputs: readonly [{
|
|
5525
|
+
readonly name: "";
|
|
5526
|
+
readonly internalType: "address";
|
|
5527
|
+
readonly type: "address";
|
|
5528
|
+
}];
|
|
5529
|
+
readonly stateMutability: "view";
|
|
5237
5530
|
}, {
|
|
5238
5531
|
readonly type: "function";
|
|
5239
5532
|
readonly inputs: readonly [];
|
|
@@ -5254,6 +5547,16 @@ export declare const coinFactoryABI: readonly [{
|
|
|
5254
5547
|
readonly type: "string";
|
|
5255
5548
|
}];
|
|
5256
5549
|
readonly stateMutability: "pure";
|
|
5550
|
+
}, {
|
|
5551
|
+
readonly type: "function";
|
|
5552
|
+
readonly inputs: readonly [];
|
|
5553
|
+
readonly name: "creatorCoinHook";
|
|
5554
|
+
readonly outputs: readonly [{
|
|
5555
|
+
readonly name: "";
|
|
5556
|
+
readonly internalType: "address";
|
|
5557
|
+
readonly type: "address";
|
|
5558
|
+
}];
|
|
5559
|
+
readonly stateMutability: "view";
|
|
5257
5560
|
}, {
|
|
5258
5561
|
readonly type: "function";
|
|
5259
5562
|
readonly inputs: readonly [];
|
|
@@ -6024,21 +6327,21 @@ export declare const coinFactoryABI: readonly [{
|
|
|
6024
6327
|
readonly name: "ZeroDiscoverySupplyShare";
|
|
6025
6328
|
}];
|
|
6026
6329
|
/**
|
|
6027
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
6028
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
6330
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
6331
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
|
|
6029
6332
|
*/
|
|
6030
6333
|
export declare const coinFactoryAddress: {
|
|
6031
|
-
readonly 8453: "
|
|
6032
|
-
readonly 84532: "
|
|
6334
|
+
readonly 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
|
|
6335
|
+
readonly 84532: "0xaF88840cb637F2684A9E460316b1678AD6245e4a";
|
|
6033
6336
|
};
|
|
6034
6337
|
/**
|
|
6035
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
6036
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
6338
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
6339
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
|
|
6037
6340
|
*/
|
|
6038
6341
|
export declare const coinFactoryConfig: {
|
|
6039
6342
|
readonly address: {
|
|
6040
|
-
readonly 8453: "
|
|
6041
|
-
readonly 84532: "
|
|
6343
|
+
readonly 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
|
|
6344
|
+
readonly 84532: "0xaF88840cb637F2684A9E460316b1678AD6245e4a";
|
|
6042
6345
|
};
|
|
6043
6346
|
readonly abi: readonly [{
|
|
6044
6347
|
readonly type: "constructor";
|
|
@@ -6054,6 +6357,14 @@ export declare const coinFactoryConfig: {
|
|
|
6054
6357
|
readonly name: "_creatorCoinImpl";
|
|
6055
6358
|
readonly internalType: "address";
|
|
6056
6359
|
readonly type: "address";
|
|
6360
|
+
}, {
|
|
6361
|
+
readonly name: "_contentCoinHook";
|
|
6362
|
+
readonly internalType: "address";
|
|
6363
|
+
readonly type: "address";
|
|
6364
|
+
}, {
|
|
6365
|
+
readonly name: "_creatorCoinHook";
|
|
6366
|
+
readonly internalType: "address";
|
|
6367
|
+
readonly type: "address";
|
|
6057
6368
|
}];
|
|
6058
6369
|
readonly stateMutability: "nonpayable";
|
|
6059
6370
|
}, {
|
|
@@ -6120,6 +6431,16 @@ export declare const coinFactoryConfig: {
|
|
|
6120
6431
|
readonly type: "address";
|
|
6121
6432
|
}];
|
|
6122
6433
|
readonly stateMutability: "view";
|
|
6434
|
+
}, {
|
|
6435
|
+
readonly type: "function";
|
|
6436
|
+
readonly inputs: readonly [];
|
|
6437
|
+
readonly name: "contentCoinHook";
|
|
6438
|
+
readonly outputs: readonly [{
|
|
6439
|
+
readonly name: "";
|
|
6440
|
+
readonly internalType: "address";
|
|
6441
|
+
readonly type: "address";
|
|
6442
|
+
}];
|
|
6443
|
+
readonly stateMutability: "view";
|
|
6123
6444
|
}, {
|
|
6124
6445
|
readonly type: "function";
|
|
6125
6446
|
readonly inputs: readonly [];
|
|
@@ -6140,6 +6461,16 @@ export declare const coinFactoryConfig: {
|
|
|
6140
6461
|
readonly type: "string";
|
|
6141
6462
|
}];
|
|
6142
6463
|
readonly stateMutability: "pure";
|
|
6464
|
+
}, {
|
|
6465
|
+
readonly type: "function";
|
|
6466
|
+
readonly inputs: readonly [];
|
|
6467
|
+
readonly name: "creatorCoinHook";
|
|
6468
|
+
readonly outputs: readonly [{
|
|
6469
|
+
readonly name: "";
|
|
6470
|
+
readonly internalType: "address";
|
|
6471
|
+
readonly type: "address";
|
|
6472
|
+
}];
|
|
6473
|
+
readonly stateMutability: "view";
|
|
6143
6474
|
}, {
|
|
6144
6475
|
readonly type: "function";
|
|
6145
6476
|
readonly inputs: readonly [];
|
|
@@ -6928,10 +7259,6 @@ export declare const coinV4ABI: readonly [{
|
|
|
6928
7259
|
readonly name: "airlock_";
|
|
6929
7260
|
readonly internalType: "address";
|
|
6930
7261
|
readonly type: "address";
|
|
6931
|
-
}, {
|
|
6932
|
-
readonly name: "hooks_";
|
|
6933
|
-
readonly internalType: "contract IHooks";
|
|
6934
|
-
readonly type: "address";
|
|
6935
7262
|
}];
|
|
6936
7263
|
readonly stateMutability: "nonpayable";
|
|
6937
7264
|
}, {
|
|
@@ -7360,6 +7687,45 @@ export declare const coinV4ABI: readonly [{
|
|
|
7360
7687
|
readonly type: "bool";
|
|
7361
7688
|
}];
|
|
7362
7689
|
readonly stateMutability: "view";
|
|
7690
|
+
}, {
|
|
7691
|
+
readonly type: "function";
|
|
7692
|
+
readonly inputs: readonly [{
|
|
7693
|
+
readonly name: "newHook";
|
|
7694
|
+
readonly internalType: "address";
|
|
7695
|
+
readonly type: "address";
|
|
7696
|
+
}, {
|
|
7697
|
+
readonly name: "additionalData";
|
|
7698
|
+
readonly internalType: "bytes";
|
|
7699
|
+
readonly type: "bytes";
|
|
7700
|
+
}];
|
|
7701
|
+
readonly name: "migrateLiquidity";
|
|
7702
|
+
readonly outputs: readonly [{
|
|
7703
|
+
readonly name: "newPoolKey";
|
|
7704
|
+
readonly internalType: "struct PoolKey";
|
|
7705
|
+
readonly type: "tuple";
|
|
7706
|
+
readonly components: readonly [{
|
|
7707
|
+
readonly name: "currency0";
|
|
7708
|
+
readonly internalType: "Currency";
|
|
7709
|
+
readonly type: "address";
|
|
7710
|
+
}, {
|
|
7711
|
+
readonly name: "currency1";
|
|
7712
|
+
readonly internalType: "Currency";
|
|
7713
|
+
readonly type: "address";
|
|
7714
|
+
}, {
|
|
7715
|
+
readonly name: "fee";
|
|
7716
|
+
readonly internalType: "uint24";
|
|
7717
|
+
readonly type: "uint24";
|
|
7718
|
+
}, {
|
|
7719
|
+
readonly name: "tickSpacing";
|
|
7720
|
+
readonly internalType: "int24";
|
|
7721
|
+
readonly type: "int24";
|
|
7722
|
+
}, {
|
|
7723
|
+
readonly name: "hooks";
|
|
7724
|
+
readonly internalType: "contract IHooks";
|
|
7725
|
+
readonly type: "address";
|
|
7726
|
+
}];
|
|
7727
|
+
}];
|
|
7728
|
+
readonly stateMutability: "nonpayable";
|
|
7363
7729
|
}, {
|
|
7364
7730
|
readonly type: "function";
|
|
7365
7731
|
readonly inputs: readonly [];
|
|
@@ -7514,6 +7880,20 @@ export declare const coinV4ABI: readonly [{
|
|
|
7514
7880
|
readonly name: "setContractURI";
|
|
7515
7881
|
readonly outputs: readonly [];
|
|
7516
7882
|
readonly stateMutability: "nonpayable";
|
|
7883
|
+
}, {
|
|
7884
|
+
readonly type: "function";
|
|
7885
|
+
readonly inputs: readonly [{
|
|
7886
|
+
readonly name: "newName";
|
|
7887
|
+
readonly internalType: "string";
|
|
7888
|
+
readonly type: "string";
|
|
7889
|
+
}, {
|
|
7890
|
+
readonly name: "newSymbol";
|
|
7891
|
+
readonly internalType: "string";
|
|
7892
|
+
readonly type: "string";
|
|
7893
|
+
}];
|
|
7894
|
+
readonly name: "setNameAndSymbol";
|
|
7895
|
+
readonly outputs: readonly [];
|
|
7896
|
+
readonly stateMutability: "nonpayable";
|
|
7517
7897
|
}, {
|
|
7518
7898
|
readonly type: "function";
|
|
7519
7899
|
readonly inputs: readonly [{
|
|
@@ -7911,6 +8291,93 @@ export declare const coinV4ABI: readonly [{
|
|
|
7911
8291
|
readonly indexed: false;
|
|
7912
8292
|
}];
|
|
7913
8293
|
readonly name: "Initialized";
|
|
8294
|
+
}, {
|
|
8295
|
+
readonly type: "event";
|
|
8296
|
+
readonly anonymous: false;
|
|
8297
|
+
readonly inputs: readonly [{
|
|
8298
|
+
readonly name: "fromPoolKey";
|
|
8299
|
+
readonly internalType: "struct PoolKey";
|
|
8300
|
+
readonly type: "tuple";
|
|
8301
|
+
readonly components: readonly [{
|
|
8302
|
+
readonly name: "currency0";
|
|
8303
|
+
readonly internalType: "Currency";
|
|
8304
|
+
readonly type: "address";
|
|
8305
|
+
}, {
|
|
8306
|
+
readonly name: "currency1";
|
|
8307
|
+
readonly internalType: "Currency";
|
|
8308
|
+
readonly type: "address";
|
|
8309
|
+
}, {
|
|
8310
|
+
readonly name: "fee";
|
|
8311
|
+
readonly internalType: "uint24";
|
|
8312
|
+
readonly type: "uint24";
|
|
8313
|
+
}, {
|
|
8314
|
+
readonly name: "tickSpacing";
|
|
8315
|
+
readonly internalType: "int24";
|
|
8316
|
+
readonly type: "int24";
|
|
8317
|
+
}, {
|
|
8318
|
+
readonly name: "hooks";
|
|
8319
|
+
readonly internalType: "contract IHooks";
|
|
8320
|
+
readonly type: "address";
|
|
8321
|
+
}];
|
|
8322
|
+
readonly indexed: false;
|
|
8323
|
+
}, {
|
|
8324
|
+
readonly name: "fromPoolKeyHash";
|
|
8325
|
+
readonly internalType: "bytes32";
|
|
8326
|
+
readonly type: "bytes32";
|
|
8327
|
+
readonly indexed: false;
|
|
8328
|
+
}, {
|
|
8329
|
+
readonly name: "toPoolKey";
|
|
8330
|
+
readonly internalType: "struct PoolKey";
|
|
8331
|
+
readonly type: "tuple";
|
|
8332
|
+
readonly components: readonly [{
|
|
8333
|
+
readonly name: "currency0";
|
|
8334
|
+
readonly internalType: "Currency";
|
|
8335
|
+
readonly type: "address";
|
|
8336
|
+
}, {
|
|
8337
|
+
readonly name: "currency1";
|
|
8338
|
+
readonly internalType: "Currency";
|
|
8339
|
+
readonly type: "address";
|
|
8340
|
+
}, {
|
|
8341
|
+
readonly name: "fee";
|
|
8342
|
+
readonly internalType: "uint24";
|
|
8343
|
+
readonly type: "uint24";
|
|
8344
|
+
}, {
|
|
8345
|
+
readonly name: "tickSpacing";
|
|
8346
|
+
readonly internalType: "int24";
|
|
8347
|
+
readonly type: "int24";
|
|
8348
|
+
}, {
|
|
8349
|
+
readonly name: "hooks";
|
|
8350
|
+
readonly internalType: "contract IHooks";
|
|
8351
|
+
readonly type: "address";
|
|
8352
|
+
}];
|
|
8353
|
+
readonly indexed: false;
|
|
8354
|
+
}, {
|
|
8355
|
+
readonly name: "toPoolKeyHash";
|
|
8356
|
+
readonly internalType: "bytes32";
|
|
8357
|
+
readonly type: "bytes32";
|
|
8358
|
+
readonly indexed: false;
|
|
8359
|
+
}];
|
|
8360
|
+
readonly name: "LiquidityMigrated";
|
|
8361
|
+
}, {
|
|
8362
|
+
readonly type: "event";
|
|
8363
|
+
readonly anonymous: false;
|
|
8364
|
+
readonly inputs: readonly [{
|
|
8365
|
+
readonly name: "caller";
|
|
8366
|
+
readonly internalType: "address";
|
|
8367
|
+
readonly type: "address";
|
|
8368
|
+
readonly indexed: true;
|
|
8369
|
+
}, {
|
|
8370
|
+
readonly name: "newName";
|
|
8371
|
+
readonly internalType: "string";
|
|
8372
|
+
readonly type: "string";
|
|
8373
|
+
readonly indexed: false;
|
|
8374
|
+
}, {
|
|
8375
|
+
readonly name: "newSymbol";
|
|
8376
|
+
readonly internalType: "string";
|
|
8377
|
+
readonly type: "string";
|
|
8378
|
+
readonly indexed: false;
|
|
8379
|
+
}];
|
|
8380
|
+
readonly name: "NameAndSymbolUpdated";
|
|
7914
8381
|
}, {
|
|
7915
8382
|
readonly type: "event";
|
|
7916
8383
|
readonly anonymous: false;
|
|
@@ -12570,108 +13037,459 @@ export declare const commentsConfig: {
|
|
|
12570
13037
|
}];
|
|
12571
13038
|
};
|
|
12572
13039
|
/**
|
|
12573
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
13040
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
|
|
12574
13041
|
*/
|
|
12575
|
-
export declare const
|
|
13042
|
+
export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
|
|
12576
13043
|
readonly type: "constructor";
|
|
12577
13044
|
readonly inputs: readonly [{
|
|
12578
|
-
readonly name: "
|
|
12579
|
-
readonly internalType: "
|
|
13045
|
+
readonly name: "_factory";
|
|
13046
|
+
readonly internalType: "contract IZoraFactory";
|
|
12580
13047
|
readonly type: "address";
|
|
12581
13048
|
}, {
|
|
12582
|
-
readonly name: "
|
|
13049
|
+
readonly name: "_swapRouter";
|
|
12583
13050
|
readonly internalType: "address";
|
|
12584
13051
|
readonly type: "address";
|
|
12585
13052
|
}, {
|
|
12586
|
-
readonly name: "
|
|
13053
|
+
readonly name: "_poolManager";
|
|
12587
13054
|
readonly internalType: "address";
|
|
12588
13055
|
readonly type: "address";
|
|
12589
13056
|
}];
|
|
12590
13057
|
readonly stateMutability: "nonpayable";
|
|
12591
|
-
}, {
|
|
12592
|
-
readonly type: "function";
|
|
12593
|
-
readonly inputs: readonly [];
|
|
12594
|
-
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
12595
|
-
readonly outputs: readonly [{
|
|
12596
|
-
readonly name: "";
|
|
12597
|
-
readonly internalType: "string";
|
|
12598
|
-
readonly type: "string";
|
|
12599
|
-
}];
|
|
12600
|
-
readonly stateMutability: "view";
|
|
12601
13058
|
}, {
|
|
12602
13059
|
readonly type: "function";
|
|
12603
13060
|
readonly inputs: readonly [{
|
|
12604
|
-
readonly name: "
|
|
13061
|
+
readonly name: "sender";
|
|
12605
13062
|
readonly internalType: "address";
|
|
12606
13063
|
readonly type: "address";
|
|
12607
13064
|
}, {
|
|
12608
|
-
readonly name: "
|
|
12609
|
-
readonly internalType: "
|
|
12610
|
-
readonly type: "
|
|
12611
|
-
}, {
|
|
12612
|
-
readonly name: "symbol";
|
|
12613
|
-
readonly internalType: "string";
|
|
12614
|
-
readonly type: "string";
|
|
13065
|
+
readonly name: "coin";
|
|
13066
|
+
readonly internalType: "contract ICoin";
|
|
13067
|
+
readonly type: "address";
|
|
12615
13068
|
}, {
|
|
12616
|
-
readonly name: "
|
|
13069
|
+
readonly name: "hookData";
|
|
12617
13070
|
readonly internalType: "bytes";
|
|
12618
13071
|
readonly type: "bytes";
|
|
12619
|
-
}, {
|
|
12620
|
-
readonly name: "platformReferrer";
|
|
12621
|
-
readonly internalType: "address";
|
|
12622
|
-
readonly type: "address";
|
|
12623
|
-
}, {
|
|
12624
|
-
readonly name: "coinSalt";
|
|
12625
|
-
readonly internalType: "bytes32";
|
|
12626
|
-
readonly type: "bytes32";
|
|
12627
13072
|
}];
|
|
12628
|
-
readonly name: "
|
|
13073
|
+
readonly name: "afterCoinDeploy";
|
|
12629
13074
|
readonly outputs: readonly [{
|
|
12630
13075
|
readonly name: "";
|
|
12631
|
-
readonly internalType: "
|
|
12632
|
-
readonly type: "
|
|
13076
|
+
readonly internalType: "bytes";
|
|
13077
|
+
readonly type: "bytes";
|
|
12633
13078
|
}];
|
|
12634
|
-
readonly stateMutability: "
|
|
13079
|
+
readonly stateMutability: "payable";
|
|
12635
13080
|
}, {
|
|
12636
13081
|
readonly type: "function";
|
|
12637
13082
|
readonly inputs: readonly [];
|
|
12638
|
-
readonly name: "
|
|
13083
|
+
readonly name: "factory";
|
|
12639
13084
|
readonly outputs: readonly [{
|
|
12640
13085
|
readonly name: "";
|
|
12641
|
-
readonly internalType: "
|
|
13086
|
+
readonly internalType: "contract IZoraFactory";
|
|
12642
13087
|
readonly type: "address";
|
|
12643
13088
|
}];
|
|
12644
13089
|
readonly stateMutability: "view";
|
|
12645
13090
|
}, {
|
|
12646
13091
|
readonly type: "function";
|
|
12647
|
-
readonly inputs: readonly [
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
readonly
|
|
12651
|
-
readonly internalType: "address";
|
|
12652
|
-
readonly type: "address";
|
|
13092
|
+
readonly inputs: readonly [{
|
|
13093
|
+
readonly name: "interfaceId";
|
|
13094
|
+
readonly internalType: "bytes4";
|
|
13095
|
+
readonly type: "bytes4";
|
|
12653
13096
|
}];
|
|
12654
|
-
readonly
|
|
12655
|
-
}, {
|
|
12656
|
-
readonly type: "function";
|
|
12657
|
-
readonly inputs: readonly [];
|
|
12658
|
-
readonly name: "contractName";
|
|
13097
|
+
readonly name: "supportsInterface";
|
|
12659
13098
|
readonly outputs: readonly [{
|
|
12660
13099
|
readonly name: "";
|
|
12661
|
-
readonly internalType: "
|
|
12662
|
-
readonly type: "
|
|
13100
|
+
readonly internalType: "bool";
|
|
13101
|
+
readonly type: "bool";
|
|
12663
13102
|
}];
|
|
12664
13103
|
readonly stateMutability: "pure";
|
|
12665
13104
|
}, {
|
|
12666
13105
|
readonly type: "function";
|
|
12667
|
-
readonly inputs: readonly [
|
|
12668
|
-
|
|
13106
|
+
readonly inputs: readonly [{
|
|
13107
|
+
readonly name: "data";
|
|
13108
|
+
readonly internalType: "bytes";
|
|
13109
|
+
readonly type: "bytes";
|
|
13110
|
+
}];
|
|
13111
|
+
readonly name: "unlockCallback";
|
|
12669
13112
|
readonly outputs: readonly [{
|
|
12670
13113
|
readonly name: "";
|
|
12671
|
-
readonly internalType: "
|
|
12672
|
-
readonly type: "
|
|
13114
|
+
readonly internalType: "bytes";
|
|
13115
|
+
readonly type: "bytes";
|
|
12673
13116
|
}];
|
|
12674
|
-
readonly stateMutability: "
|
|
13117
|
+
readonly stateMutability: "nonpayable";
|
|
13118
|
+
}, {
|
|
13119
|
+
readonly type: "error";
|
|
13120
|
+
readonly inputs: readonly [{
|
|
13121
|
+
readonly name: "target";
|
|
13122
|
+
readonly internalType: "address";
|
|
13123
|
+
readonly type: "address";
|
|
13124
|
+
}];
|
|
13125
|
+
readonly name: "AddressEmptyCode";
|
|
13126
|
+
}, {
|
|
13127
|
+
readonly type: "error";
|
|
13128
|
+
readonly inputs: readonly [{
|
|
13129
|
+
readonly name: "account";
|
|
13130
|
+
readonly internalType: "address";
|
|
13131
|
+
readonly type: "address";
|
|
13132
|
+
}];
|
|
13133
|
+
readonly name: "AddressInsufficientBalance";
|
|
13134
|
+
}, {
|
|
13135
|
+
readonly type: "error";
|
|
13136
|
+
readonly inputs: readonly [];
|
|
13137
|
+
readonly name: "AddressZero";
|
|
13138
|
+
}, {
|
|
13139
|
+
readonly type: "error";
|
|
13140
|
+
readonly inputs: readonly [{
|
|
13141
|
+
readonly name: "balance";
|
|
13142
|
+
readonly internalType: "uint256";
|
|
13143
|
+
readonly type: "uint256";
|
|
13144
|
+
}];
|
|
13145
|
+
readonly name: "CoinBalanceNot0";
|
|
13146
|
+
}, {
|
|
13147
|
+
readonly type: "error";
|
|
13148
|
+
readonly inputs: readonly [{
|
|
13149
|
+
readonly name: "balance";
|
|
13150
|
+
readonly internalType: "uint256";
|
|
13151
|
+
readonly type: "uint256";
|
|
13152
|
+
}];
|
|
13153
|
+
readonly name: "CurrencyBalanceNot0";
|
|
13154
|
+
}, {
|
|
13155
|
+
readonly type: "error";
|
|
13156
|
+
readonly inputs: readonly [];
|
|
13157
|
+
readonly name: "Erc20NotReceived";
|
|
13158
|
+
}, {
|
|
13159
|
+
readonly type: "error";
|
|
13160
|
+
readonly inputs: readonly [];
|
|
13161
|
+
readonly name: "FailedInnerCall";
|
|
13162
|
+
}, {
|
|
13163
|
+
readonly type: "error";
|
|
13164
|
+
readonly inputs: readonly [];
|
|
13165
|
+
readonly name: "HookNotImplemented";
|
|
13166
|
+
}, {
|
|
13167
|
+
readonly type: "error";
|
|
13168
|
+
readonly inputs: readonly [];
|
|
13169
|
+
readonly name: "InvalidSwapRouterCall";
|
|
13170
|
+
}, {
|
|
13171
|
+
readonly type: "error";
|
|
13172
|
+
readonly inputs: readonly [];
|
|
13173
|
+
readonly name: "NotFactory";
|
|
13174
|
+
}, {
|
|
13175
|
+
readonly type: "error";
|
|
13176
|
+
readonly inputs: readonly [];
|
|
13177
|
+
readonly name: "OnlyPoolManager";
|
|
13178
|
+
}, {
|
|
13179
|
+
readonly type: "error";
|
|
13180
|
+
readonly inputs: readonly [{
|
|
13181
|
+
readonly name: "token";
|
|
13182
|
+
readonly internalType: "address";
|
|
13183
|
+
readonly type: "address";
|
|
13184
|
+
}];
|
|
13185
|
+
readonly name: "SafeERC20FailedOperation";
|
|
13186
|
+
}, {
|
|
13187
|
+
readonly type: "error";
|
|
13188
|
+
readonly inputs: readonly [{
|
|
13189
|
+
readonly name: "error";
|
|
13190
|
+
readonly internalType: "bytes";
|
|
13191
|
+
readonly type: "bytes";
|
|
13192
|
+
}];
|
|
13193
|
+
readonly name: "SwapReverted";
|
|
13194
|
+
}];
|
|
13195
|
+
/**
|
|
13196
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
|
|
13197
|
+
*/
|
|
13198
|
+
export declare const devBuySupplyWithSwapRouterHookAddress: {
|
|
13199
|
+
readonly 8453: "0x62B95629F965bf48E15BB110A1729B9b9dF1C07D";
|
|
13200
|
+
};
|
|
13201
|
+
/**
|
|
13202
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
|
|
13203
|
+
*/
|
|
13204
|
+
export declare const devBuySupplyWithSwapRouterHookConfig: {
|
|
13205
|
+
readonly address: {
|
|
13206
|
+
readonly 8453: "0x62B95629F965bf48E15BB110A1729B9b9dF1C07D";
|
|
13207
|
+
};
|
|
13208
|
+
readonly abi: readonly [{
|
|
13209
|
+
readonly type: "constructor";
|
|
13210
|
+
readonly inputs: readonly [{
|
|
13211
|
+
readonly name: "_factory";
|
|
13212
|
+
readonly internalType: "contract IZoraFactory";
|
|
13213
|
+
readonly type: "address";
|
|
13214
|
+
}, {
|
|
13215
|
+
readonly name: "_swapRouter";
|
|
13216
|
+
readonly internalType: "address";
|
|
13217
|
+
readonly type: "address";
|
|
13218
|
+
}, {
|
|
13219
|
+
readonly name: "_poolManager";
|
|
13220
|
+
readonly internalType: "address";
|
|
13221
|
+
readonly type: "address";
|
|
13222
|
+
}];
|
|
13223
|
+
readonly stateMutability: "nonpayable";
|
|
13224
|
+
}, {
|
|
13225
|
+
readonly type: "function";
|
|
13226
|
+
readonly inputs: readonly [{
|
|
13227
|
+
readonly name: "sender";
|
|
13228
|
+
readonly internalType: "address";
|
|
13229
|
+
readonly type: "address";
|
|
13230
|
+
}, {
|
|
13231
|
+
readonly name: "coin";
|
|
13232
|
+
readonly internalType: "contract ICoin";
|
|
13233
|
+
readonly type: "address";
|
|
13234
|
+
}, {
|
|
13235
|
+
readonly name: "hookData";
|
|
13236
|
+
readonly internalType: "bytes";
|
|
13237
|
+
readonly type: "bytes";
|
|
13238
|
+
}];
|
|
13239
|
+
readonly name: "afterCoinDeploy";
|
|
13240
|
+
readonly outputs: readonly [{
|
|
13241
|
+
readonly name: "";
|
|
13242
|
+
readonly internalType: "bytes";
|
|
13243
|
+
readonly type: "bytes";
|
|
13244
|
+
}];
|
|
13245
|
+
readonly stateMutability: "payable";
|
|
13246
|
+
}, {
|
|
13247
|
+
readonly type: "function";
|
|
13248
|
+
readonly inputs: readonly [];
|
|
13249
|
+
readonly name: "factory";
|
|
13250
|
+
readonly outputs: readonly [{
|
|
13251
|
+
readonly name: "";
|
|
13252
|
+
readonly internalType: "contract IZoraFactory";
|
|
13253
|
+
readonly type: "address";
|
|
13254
|
+
}];
|
|
13255
|
+
readonly stateMutability: "view";
|
|
13256
|
+
}, {
|
|
13257
|
+
readonly type: "function";
|
|
13258
|
+
readonly inputs: readonly [{
|
|
13259
|
+
readonly name: "interfaceId";
|
|
13260
|
+
readonly internalType: "bytes4";
|
|
13261
|
+
readonly type: "bytes4";
|
|
13262
|
+
}];
|
|
13263
|
+
readonly name: "supportsInterface";
|
|
13264
|
+
readonly outputs: readonly [{
|
|
13265
|
+
readonly name: "";
|
|
13266
|
+
readonly internalType: "bool";
|
|
13267
|
+
readonly type: "bool";
|
|
13268
|
+
}];
|
|
13269
|
+
readonly stateMutability: "pure";
|
|
13270
|
+
}, {
|
|
13271
|
+
readonly type: "function";
|
|
13272
|
+
readonly inputs: readonly [{
|
|
13273
|
+
readonly name: "data";
|
|
13274
|
+
readonly internalType: "bytes";
|
|
13275
|
+
readonly type: "bytes";
|
|
13276
|
+
}];
|
|
13277
|
+
readonly name: "unlockCallback";
|
|
13278
|
+
readonly outputs: readonly [{
|
|
13279
|
+
readonly name: "";
|
|
13280
|
+
readonly internalType: "bytes";
|
|
13281
|
+
readonly type: "bytes";
|
|
13282
|
+
}];
|
|
13283
|
+
readonly stateMutability: "nonpayable";
|
|
13284
|
+
}, {
|
|
13285
|
+
readonly type: "error";
|
|
13286
|
+
readonly inputs: readonly [{
|
|
13287
|
+
readonly name: "target";
|
|
13288
|
+
readonly internalType: "address";
|
|
13289
|
+
readonly type: "address";
|
|
13290
|
+
}];
|
|
13291
|
+
readonly name: "AddressEmptyCode";
|
|
13292
|
+
}, {
|
|
13293
|
+
readonly type: "error";
|
|
13294
|
+
readonly inputs: readonly [{
|
|
13295
|
+
readonly name: "account";
|
|
13296
|
+
readonly internalType: "address";
|
|
13297
|
+
readonly type: "address";
|
|
13298
|
+
}];
|
|
13299
|
+
readonly name: "AddressInsufficientBalance";
|
|
13300
|
+
}, {
|
|
13301
|
+
readonly type: "error";
|
|
13302
|
+
readonly inputs: readonly [];
|
|
13303
|
+
readonly name: "AddressZero";
|
|
13304
|
+
}, {
|
|
13305
|
+
readonly type: "error";
|
|
13306
|
+
readonly inputs: readonly [{
|
|
13307
|
+
readonly name: "balance";
|
|
13308
|
+
readonly internalType: "uint256";
|
|
13309
|
+
readonly type: "uint256";
|
|
13310
|
+
}];
|
|
13311
|
+
readonly name: "CoinBalanceNot0";
|
|
13312
|
+
}, {
|
|
13313
|
+
readonly type: "error";
|
|
13314
|
+
readonly inputs: readonly [{
|
|
13315
|
+
readonly name: "balance";
|
|
13316
|
+
readonly internalType: "uint256";
|
|
13317
|
+
readonly type: "uint256";
|
|
13318
|
+
}];
|
|
13319
|
+
readonly name: "CurrencyBalanceNot0";
|
|
13320
|
+
}, {
|
|
13321
|
+
readonly type: "error";
|
|
13322
|
+
readonly inputs: readonly [];
|
|
13323
|
+
readonly name: "Erc20NotReceived";
|
|
13324
|
+
}, {
|
|
13325
|
+
readonly type: "error";
|
|
13326
|
+
readonly inputs: readonly [];
|
|
13327
|
+
readonly name: "FailedInnerCall";
|
|
13328
|
+
}, {
|
|
13329
|
+
readonly type: "error";
|
|
13330
|
+
readonly inputs: readonly [];
|
|
13331
|
+
readonly name: "HookNotImplemented";
|
|
13332
|
+
}, {
|
|
13333
|
+
readonly type: "error";
|
|
13334
|
+
readonly inputs: readonly [];
|
|
13335
|
+
readonly name: "InvalidSwapRouterCall";
|
|
13336
|
+
}, {
|
|
13337
|
+
readonly type: "error";
|
|
13338
|
+
readonly inputs: readonly [];
|
|
13339
|
+
readonly name: "NotFactory";
|
|
13340
|
+
}, {
|
|
13341
|
+
readonly type: "error";
|
|
13342
|
+
readonly inputs: readonly [];
|
|
13343
|
+
readonly name: "OnlyPoolManager";
|
|
13344
|
+
}, {
|
|
13345
|
+
readonly type: "error";
|
|
13346
|
+
readonly inputs: readonly [{
|
|
13347
|
+
readonly name: "token";
|
|
13348
|
+
readonly internalType: "address";
|
|
13349
|
+
readonly type: "address";
|
|
13350
|
+
}];
|
|
13351
|
+
readonly name: "SafeERC20FailedOperation";
|
|
13352
|
+
}, {
|
|
13353
|
+
readonly type: "error";
|
|
13354
|
+
readonly inputs: readonly [{
|
|
13355
|
+
readonly name: "error";
|
|
13356
|
+
readonly internalType: "bytes";
|
|
13357
|
+
readonly type: "bytes";
|
|
13358
|
+
}];
|
|
13359
|
+
readonly name: "SwapReverted";
|
|
13360
|
+
}];
|
|
13361
|
+
};
|
|
13362
|
+
/**
|
|
13363
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
|
|
13364
|
+
*/
|
|
13365
|
+
export declare const devCoinFactoryABI: readonly [{
|
|
13366
|
+
readonly type: "constructor";
|
|
13367
|
+
readonly inputs: readonly [{
|
|
13368
|
+
readonly name: "_coinImpl";
|
|
13369
|
+
readonly internalType: "address";
|
|
13370
|
+
readonly type: "address";
|
|
13371
|
+
}, {
|
|
13372
|
+
readonly name: "_coinV4Impl";
|
|
13373
|
+
readonly internalType: "address";
|
|
13374
|
+
readonly type: "address";
|
|
13375
|
+
}, {
|
|
13376
|
+
readonly name: "_creatorCoinImpl";
|
|
13377
|
+
readonly internalType: "address";
|
|
13378
|
+
readonly type: "address";
|
|
13379
|
+
}, {
|
|
13380
|
+
readonly name: "_contentCoinHook";
|
|
13381
|
+
readonly internalType: "address";
|
|
13382
|
+
readonly type: "address";
|
|
13383
|
+
}, {
|
|
13384
|
+
readonly name: "_creatorCoinHook";
|
|
13385
|
+
readonly internalType: "address";
|
|
13386
|
+
readonly type: "address";
|
|
13387
|
+
}];
|
|
13388
|
+
readonly stateMutability: "nonpayable";
|
|
13389
|
+
}, {
|
|
13390
|
+
readonly type: "function";
|
|
13391
|
+
readonly inputs: readonly [];
|
|
13392
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
13393
|
+
readonly outputs: readonly [{
|
|
13394
|
+
readonly name: "";
|
|
13395
|
+
readonly internalType: "string";
|
|
13396
|
+
readonly type: "string";
|
|
13397
|
+
}];
|
|
13398
|
+
readonly stateMutability: "view";
|
|
13399
|
+
}, {
|
|
13400
|
+
readonly type: "function";
|
|
13401
|
+
readonly inputs: readonly [{
|
|
13402
|
+
readonly name: "msgSender";
|
|
13403
|
+
readonly internalType: "address";
|
|
13404
|
+
readonly type: "address";
|
|
13405
|
+
}, {
|
|
13406
|
+
readonly name: "name";
|
|
13407
|
+
readonly internalType: "string";
|
|
13408
|
+
readonly type: "string";
|
|
13409
|
+
}, {
|
|
13410
|
+
readonly name: "symbol";
|
|
13411
|
+
readonly internalType: "string";
|
|
13412
|
+
readonly type: "string";
|
|
13413
|
+
}, {
|
|
13414
|
+
readonly name: "poolConfig";
|
|
13415
|
+
readonly internalType: "bytes";
|
|
13416
|
+
readonly type: "bytes";
|
|
13417
|
+
}, {
|
|
13418
|
+
readonly name: "platformReferrer";
|
|
13419
|
+
readonly internalType: "address";
|
|
13420
|
+
readonly type: "address";
|
|
13421
|
+
}, {
|
|
13422
|
+
readonly name: "coinSalt";
|
|
13423
|
+
readonly internalType: "bytes32";
|
|
13424
|
+
readonly type: "bytes32";
|
|
13425
|
+
}];
|
|
13426
|
+
readonly name: "coinAddress";
|
|
13427
|
+
readonly outputs: readonly [{
|
|
13428
|
+
readonly name: "";
|
|
13429
|
+
readonly internalType: "address";
|
|
13430
|
+
readonly type: "address";
|
|
13431
|
+
}];
|
|
13432
|
+
readonly stateMutability: "view";
|
|
13433
|
+
}, {
|
|
13434
|
+
readonly type: "function";
|
|
13435
|
+
readonly inputs: readonly [];
|
|
13436
|
+
readonly name: "coinImpl";
|
|
13437
|
+
readonly outputs: readonly [{
|
|
13438
|
+
readonly name: "";
|
|
13439
|
+
readonly internalType: "address";
|
|
13440
|
+
readonly type: "address";
|
|
13441
|
+
}];
|
|
13442
|
+
readonly stateMutability: "view";
|
|
13443
|
+
}, {
|
|
13444
|
+
readonly type: "function";
|
|
13445
|
+
readonly inputs: readonly [];
|
|
13446
|
+
readonly name: "coinV4Impl";
|
|
13447
|
+
readonly outputs: readonly [{
|
|
13448
|
+
readonly name: "";
|
|
13449
|
+
readonly internalType: "address";
|
|
13450
|
+
readonly type: "address";
|
|
13451
|
+
}];
|
|
13452
|
+
readonly stateMutability: "view";
|
|
13453
|
+
}, {
|
|
13454
|
+
readonly type: "function";
|
|
13455
|
+
readonly inputs: readonly [];
|
|
13456
|
+
readonly name: "contentCoinHook";
|
|
13457
|
+
readonly outputs: readonly [{
|
|
13458
|
+
readonly name: "";
|
|
13459
|
+
readonly internalType: "address";
|
|
13460
|
+
readonly type: "address";
|
|
13461
|
+
}];
|
|
13462
|
+
readonly stateMutability: "view";
|
|
13463
|
+
}, {
|
|
13464
|
+
readonly type: "function";
|
|
13465
|
+
readonly inputs: readonly [];
|
|
13466
|
+
readonly name: "contractName";
|
|
13467
|
+
readonly outputs: readonly [{
|
|
13468
|
+
readonly name: "";
|
|
13469
|
+
readonly internalType: "string";
|
|
13470
|
+
readonly type: "string";
|
|
13471
|
+
}];
|
|
13472
|
+
readonly stateMutability: "pure";
|
|
13473
|
+
}, {
|
|
13474
|
+
readonly type: "function";
|
|
13475
|
+
readonly inputs: readonly [];
|
|
13476
|
+
readonly name: "contractVersion";
|
|
13477
|
+
readonly outputs: readonly [{
|
|
13478
|
+
readonly name: "";
|
|
13479
|
+
readonly internalType: "string";
|
|
13480
|
+
readonly type: "string";
|
|
13481
|
+
}];
|
|
13482
|
+
readonly stateMutability: "pure";
|
|
13483
|
+
}, {
|
|
13484
|
+
readonly type: "function";
|
|
13485
|
+
readonly inputs: readonly [];
|
|
13486
|
+
readonly name: "creatorCoinHook";
|
|
13487
|
+
readonly outputs: readonly [{
|
|
13488
|
+
readonly name: "";
|
|
13489
|
+
readonly internalType: "address";
|
|
13490
|
+
readonly type: "address";
|
|
13491
|
+
}];
|
|
13492
|
+
readonly stateMutability: "view";
|
|
12675
13493
|
}, {
|
|
12676
13494
|
readonly type: "function";
|
|
12677
13495
|
readonly inputs: readonly [];
|
|
@@ -13442,17 +14260,17 @@ export declare const devCoinFactoryABI: readonly [{
|
|
|
13442
14260
|
readonly name: "ZeroDiscoverySupplyShare";
|
|
13443
14261
|
}];
|
|
13444
14262
|
/**
|
|
13445
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
14263
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
|
|
13446
14264
|
*/
|
|
13447
14265
|
export declare const devCoinFactoryAddress: {
|
|
13448
|
-
readonly 8453: "
|
|
14266
|
+
readonly 8453: "0x47B0C1205B01e5e967dB24A186968152e5cCf764";
|
|
13449
14267
|
};
|
|
13450
14268
|
/**
|
|
13451
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
14269
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
|
|
13452
14270
|
*/
|
|
13453
14271
|
export declare const devCoinFactoryConfig: {
|
|
13454
14272
|
readonly address: {
|
|
13455
|
-
readonly 8453: "
|
|
14273
|
+
readonly 8453: "0x47B0C1205B01e5e967dB24A186968152e5cCf764";
|
|
13456
14274
|
};
|
|
13457
14275
|
readonly abi: readonly [{
|
|
13458
14276
|
readonly type: "constructor";
|
|
@@ -13468,6 +14286,14 @@ export declare const devCoinFactoryConfig: {
|
|
|
13468
14286
|
readonly name: "_creatorCoinImpl";
|
|
13469
14287
|
readonly internalType: "address";
|
|
13470
14288
|
readonly type: "address";
|
|
14289
|
+
}, {
|
|
14290
|
+
readonly name: "_contentCoinHook";
|
|
14291
|
+
readonly internalType: "address";
|
|
14292
|
+
readonly type: "address";
|
|
14293
|
+
}, {
|
|
14294
|
+
readonly name: "_creatorCoinHook";
|
|
14295
|
+
readonly internalType: "address";
|
|
14296
|
+
readonly type: "address";
|
|
13471
14297
|
}];
|
|
13472
14298
|
readonly stateMutability: "nonpayable";
|
|
13473
14299
|
}, {
|
|
@@ -13534,6 +14360,16 @@ export declare const devCoinFactoryConfig: {
|
|
|
13534
14360
|
readonly type: "address";
|
|
13535
14361
|
}];
|
|
13536
14362
|
readonly stateMutability: "view";
|
|
14363
|
+
}, {
|
|
14364
|
+
readonly type: "function";
|
|
14365
|
+
readonly inputs: readonly [];
|
|
14366
|
+
readonly name: "contentCoinHook";
|
|
14367
|
+
readonly outputs: readonly [{
|
|
14368
|
+
readonly name: "";
|
|
14369
|
+
readonly internalType: "address";
|
|
14370
|
+
readonly type: "address";
|
|
14371
|
+
}];
|
|
14372
|
+
readonly stateMutability: "view";
|
|
13537
14373
|
}, {
|
|
13538
14374
|
readonly type: "function";
|
|
13539
14375
|
readonly inputs: readonly [];
|
|
@@ -13554,6 +14390,16 @@ export declare const devCoinFactoryConfig: {
|
|
|
13554
14390
|
readonly type: "string";
|
|
13555
14391
|
}];
|
|
13556
14392
|
readonly stateMutability: "pure";
|
|
14393
|
+
}, {
|
|
14394
|
+
readonly type: "function";
|
|
14395
|
+
readonly inputs: readonly [];
|
|
14396
|
+
readonly name: "creatorCoinHook";
|
|
14397
|
+
readonly outputs: readonly [{
|
|
14398
|
+
readonly name: "";
|
|
14399
|
+
readonly internalType: "address";
|
|
14400
|
+
readonly type: "address";
|
|
14401
|
+
}];
|
|
14402
|
+
readonly stateMutability: "view";
|
|
13557
14403
|
}, {
|
|
13558
14404
|
readonly type: "function";
|
|
13559
14405
|
readonly inputs: readonly [];
|
|
@@ -22615,109 +23461,441 @@ export declare const sponsoredSparksSpenderConfig: {
|
|
|
22615
23461
|
readonly inputs: readonly [];
|
|
22616
23462
|
readonly name: "InvalidShortString";
|
|
22617
23463
|
}, {
|
|
22618
|
-
readonly type: "error";
|
|
22619
|
-
readonly inputs: readonly [];
|
|
22620
|
-
readonly name: "InvalidSignature";
|
|
23464
|
+
readonly type: "error";
|
|
23465
|
+
readonly inputs: readonly [];
|
|
23466
|
+
readonly name: "InvalidSignature";
|
|
23467
|
+
}, {
|
|
23468
|
+
readonly type: "error";
|
|
23469
|
+
readonly inputs: readonly [];
|
|
23470
|
+
readonly name: "LengthMismatch";
|
|
23471
|
+
}, {
|
|
23472
|
+
readonly type: "error";
|
|
23473
|
+
readonly inputs: readonly [];
|
|
23474
|
+
readonly name: "NoMoreFundsToSponsor";
|
|
23475
|
+
}, {
|
|
23476
|
+
readonly type: "error";
|
|
23477
|
+
readonly inputs: readonly [];
|
|
23478
|
+
readonly name: "NonceUsed";
|
|
23479
|
+
}, {
|
|
23480
|
+
readonly type: "error";
|
|
23481
|
+
readonly inputs: readonly [];
|
|
23482
|
+
readonly name: "NotExpectingReceive";
|
|
23483
|
+
}, {
|
|
23484
|
+
readonly type: "error";
|
|
23485
|
+
readonly inputs: readonly [];
|
|
23486
|
+
readonly name: "NotZoraSparks1155";
|
|
23487
|
+
}, {
|
|
23488
|
+
readonly type: "error";
|
|
23489
|
+
readonly inputs: readonly [{
|
|
23490
|
+
readonly name: "owner";
|
|
23491
|
+
readonly internalType: "address";
|
|
23492
|
+
readonly type: "address";
|
|
23493
|
+
}];
|
|
23494
|
+
readonly name: "OwnableInvalidOwner";
|
|
23495
|
+
}, {
|
|
23496
|
+
readonly type: "error";
|
|
23497
|
+
readonly inputs: readonly [{
|
|
23498
|
+
readonly name: "account";
|
|
23499
|
+
readonly internalType: "address";
|
|
23500
|
+
readonly type: "address";
|
|
23501
|
+
}];
|
|
23502
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
23503
|
+
}, {
|
|
23504
|
+
readonly type: "error";
|
|
23505
|
+
readonly inputs: readonly [{
|
|
23506
|
+
readonly name: "expectedRedeemAmount";
|
|
23507
|
+
readonly internalType: "uint256";
|
|
23508
|
+
readonly type: "uint256";
|
|
23509
|
+
}, {
|
|
23510
|
+
readonly name: "transientReceivedAmount";
|
|
23511
|
+
readonly internalType: "uint256";
|
|
23512
|
+
readonly type: "uint256";
|
|
23513
|
+
}];
|
|
23514
|
+
readonly name: "RedeemAmountIsIncorrect";
|
|
23515
|
+
}, {
|
|
23516
|
+
readonly type: "error";
|
|
23517
|
+
readonly inputs: readonly [];
|
|
23518
|
+
readonly name: "SenderNotAllowedInSignature";
|
|
23519
|
+
}, {
|
|
23520
|
+
readonly type: "error";
|
|
23521
|
+
readonly inputs: readonly [];
|
|
23522
|
+
readonly name: "SignatureExpired";
|
|
23523
|
+
}, {
|
|
23524
|
+
readonly type: "error";
|
|
23525
|
+
readonly inputs: readonly [];
|
|
23526
|
+
readonly name: "SingleTransferNotSupported";
|
|
23527
|
+
}, {
|
|
23528
|
+
readonly type: "error";
|
|
23529
|
+
readonly inputs: readonly [{
|
|
23530
|
+
readonly name: "str";
|
|
23531
|
+
readonly internalType: "string";
|
|
23532
|
+
readonly type: "string";
|
|
23533
|
+
}];
|
|
23534
|
+
readonly name: "StringTooLong";
|
|
23535
|
+
}, {
|
|
23536
|
+
readonly type: "error";
|
|
23537
|
+
readonly inputs: readonly [{
|
|
23538
|
+
readonly name: "data";
|
|
23539
|
+
readonly internalType: "bytes";
|
|
23540
|
+
readonly type: "bytes";
|
|
23541
|
+
}];
|
|
23542
|
+
readonly name: "TransferFailed";
|
|
23543
|
+
}, {
|
|
23544
|
+
readonly type: "error";
|
|
23545
|
+
readonly inputs: readonly [];
|
|
23546
|
+
readonly name: "UnknownAction";
|
|
23547
|
+
}, {
|
|
23548
|
+
readonly type: "error";
|
|
23549
|
+
readonly inputs: readonly [];
|
|
23550
|
+
readonly name: "UnknownUserAction";
|
|
23551
|
+
}, {
|
|
23552
|
+
readonly type: "error";
|
|
23553
|
+
readonly inputs: readonly [];
|
|
23554
|
+
readonly name: "ValuesMismatch";
|
|
23555
|
+
}, {
|
|
23556
|
+
readonly type: "error";
|
|
23557
|
+
readonly inputs: readonly [{
|
|
23558
|
+
readonly name: "verifier";
|
|
23559
|
+
readonly internalType: "address";
|
|
23560
|
+
readonly type: "address";
|
|
23561
|
+
}];
|
|
23562
|
+
readonly name: "VerifierNotAllowed";
|
|
23563
|
+
}, {
|
|
23564
|
+
readonly type: "error";
|
|
23565
|
+
readonly inputs: readonly [];
|
|
23566
|
+
readonly name: "WithdrawFailed";
|
|
23567
|
+
}];
|
|
23568
|
+
};
|
|
23569
|
+
/**
|
|
23570
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
23571
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
23572
|
+
*/
|
|
23573
|
+
export declare const uniswapQuoterV2ABI: readonly [{
|
|
23574
|
+
readonly type: "function";
|
|
23575
|
+
readonly inputs: readonly [{
|
|
23576
|
+
readonly name: "path";
|
|
23577
|
+
readonly internalType: "bytes";
|
|
23578
|
+
readonly type: "bytes";
|
|
23579
|
+
}, {
|
|
23580
|
+
readonly name: "amountIn";
|
|
23581
|
+
readonly internalType: "uint256";
|
|
23582
|
+
readonly type: "uint256";
|
|
23583
|
+
}];
|
|
23584
|
+
readonly name: "quoteExactInput";
|
|
23585
|
+
readonly outputs: readonly [{
|
|
23586
|
+
readonly name: "amountOut";
|
|
23587
|
+
readonly internalType: "uint256";
|
|
23588
|
+
readonly type: "uint256";
|
|
23589
|
+
}, {
|
|
23590
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
23591
|
+
readonly internalType: "uint160[]";
|
|
23592
|
+
readonly type: "uint160[]";
|
|
23593
|
+
}, {
|
|
23594
|
+
readonly name: "initializedTicksCrossedList";
|
|
23595
|
+
readonly internalType: "uint32[]";
|
|
23596
|
+
readonly type: "uint32[]";
|
|
23597
|
+
}, {
|
|
23598
|
+
readonly name: "gasEstimate";
|
|
23599
|
+
readonly internalType: "uint256";
|
|
23600
|
+
readonly type: "uint256";
|
|
23601
|
+
}];
|
|
23602
|
+
readonly stateMutability: "nonpayable";
|
|
23603
|
+
}, {
|
|
23604
|
+
readonly type: "function";
|
|
23605
|
+
readonly inputs: readonly [{
|
|
23606
|
+
readonly name: "params";
|
|
23607
|
+
readonly internalType: "struct IQuoterV2.QuoteExactInputSingleParams";
|
|
23608
|
+
readonly type: "tuple";
|
|
23609
|
+
readonly components: readonly [{
|
|
23610
|
+
readonly name: "tokenIn";
|
|
23611
|
+
readonly internalType: "address";
|
|
23612
|
+
readonly type: "address";
|
|
23613
|
+
}, {
|
|
23614
|
+
readonly name: "tokenOut";
|
|
23615
|
+
readonly internalType: "address";
|
|
23616
|
+
readonly type: "address";
|
|
23617
|
+
}, {
|
|
23618
|
+
readonly name: "amountIn";
|
|
23619
|
+
readonly internalType: "uint256";
|
|
23620
|
+
readonly type: "uint256";
|
|
23621
|
+
}, {
|
|
23622
|
+
readonly name: "fee";
|
|
23623
|
+
readonly internalType: "uint24";
|
|
23624
|
+
readonly type: "uint24";
|
|
23625
|
+
}, {
|
|
23626
|
+
readonly name: "sqrtPriceLimitX96";
|
|
23627
|
+
readonly internalType: "uint160";
|
|
23628
|
+
readonly type: "uint160";
|
|
23629
|
+
}];
|
|
23630
|
+
}];
|
|
23631
|
+
readonly name: "quoteExactInputSingle";
|
|
23632
|
+
readonly outputs: readonly [{
|
|
23633
|
+
readonly name: "amountOut";
|
|
23634
|
+
readonly internalType: "uint256";
|
|
23635
|
+
readonly type: "uint256";
|
|
23636
|
+
}, {
|
|
23637
|
+
readonly name: "sqrtPriceX96After";
|
|
23638
|
+
readonly internalType: "uint160";
|
|
23639
|
+
readonly type: "uint160";
|
|
22621
23640
|
}, {
|
|
22622
|
-
readonly
|
|
22623
|
-
readonly
|
|
22624
|
-
readonly
|
|
23641
|
+
readonly name: "initializedTicksCrossed";
|
|
23642
|
+
readonly internalType: "uint32";
|
|
23643
|
+
readonly type: "uint32";
|
|
22625
23644
|
}, {
|
|
22626
|
-
readonly
|
|
22627
|
-
readonly
|
|
22628
|
-
readonly
|
|
23645
|
+
readonly name: "gasEstimate";
|
|
23646
|
+
readonly internalType: "uint256";
|
|
23647
|
+
readonly type: "uint256";
|
|
23648
|
+
}];
|
|
23649
|
+
readonly stateMutability: "nonpayable";
|
|
23650
|
+
}, {
|
|
23651
|
+
readonly type: "function";
|
|
23652
|
+
readonly inputs: readonly [{
|
|
23653
|
+
readonly name: "path";
|
|
23654
|
+
readonly internalType: "bytes";
|
|
23655
|
+
readonly type: "bytes";
|
|
22629
23656
|
}, {
|
|
22630
|
-
readonly
|
|
22631
|
-
readonly
|
|
22632
|
-
readonly
|
|
23657
|
+
readonly name: "amountOut";
|
|
23658
|
+
readonly internalType: "uint256";
|
|
23659
|
+
readonly type: "uint256";
|
|
23660
|
+
}];
|
|
23661
|
+
readonly name: "quoteExactOutput";
|
|
23662
|
+
readonly outputs: readonly [{
|
|
23663
|
+
readonly name: "amountIn";
|
|
23664
|
+
readonly internalType: "uint256";
|
|
23665
|
+
readonly type: "uint256";
|
|
22633
23666
|
}, {
|
|
22634
|
-
readonly
|
|
22635
|
-
readonly
|
|
22636
|
-
readonly
|
|
23667
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
23668
|
+
readonly internalType: "uint160[]";
|
|
23669
|
+
readonly type: "uint160[]";
|
|
22637
23670
|
}, {
|
|
22638
|
-
readonly
|
|
22639
|
-
readonly
|
|
22640
|
-
readonly
|
|
23671
|
+
readonly name: "initializedTicksCrossedList";
|
|
23672
|
+
readonly internalType: "uint32[]";
|
|
23673
|
+
readonly type: "uint32[]";
|
|
22641
23674
|
}, {
|
|
22642
|
-
readonly
|
|
22643
|
-
readonly
|
|
22644
|
-
|
|
23675
|
+
readonly name: "gasEstimate";
|
|
23676
|
+
readonly internalType: "uint256";
|
|
23677
|
+
readonly type: "uint256";
|
|
23678
|
+
}];
|
|
23679
|
+
readonly stateMutability: "nonpayable";
|
|
23680
|
+
}, {
|
|
23681
|
+
readonly type: "function";
|
|
23682
|
+
readonly inputs: readonly [{
|
|
23683
|
+
readonly name: "params";
|
|
23684
|
+
readonly internalType: "struct IQuoterV2.QuoteExactOutputSingleParams";
|
|
23685
|
+
readonly type: "tuple";
|
|
23686
|
+
readonly components: readonly [{
|
|
23687
|
+
readonly name: "tokenIn";
|
|
22645
23688
|
readonly internalType: "address";
|
|
22646
23689
|
readonly type: "address";
|
|
22647
|
-
}
|
|
22648
|
-
|
|
22649
|
-
}, {
|
|
22650
|
-
readonly type: "error";
|
|
22651
|
-
readonly inputs: readonly [{
|
|
22652
|
-
readonly name: "account";
|
|
23690
|
+
}, {
|
|
23691
|
+
readonly name: "tokenOut";
|
|
22653
23692
|
readonly internalType: "address";
|
|
22654
23693
|
readonly type: "address";
|
|
23694
|
+
}, {
|
|
23695
|
+
readonly name: "amount";
|
|
23696
|
+
readonly internalType: "uint256";
|
|
23697
|
+
readonly type: "uint256";
|
|
23698
|
+
}, {
|
|
23699
|
+
readonly name: "fee";
|
|
23700
|
+
readonly internalType: "uint24";
|
|
23701
|
+
readonly type: "uint24";
|
|
23702
|
+
}, {
|
|
23703
|
+
readonly name: "sqrtPriceLimitX96";
|
|
23704
|
+
readonly internalType: "uint160";
|
|
23705
|
+
readonly type: "uint160";
|
|
22655
23706
|
}];
|
|
22656
|
-
|
|
23707
|
+
}];
|
|
23708
|
+
readonly name: "quoteExactOutputSingle";
|
|
23709
|
+
readonly outputs: readonly [{
|
|
23710
|
+
readonly name: "amountIn";
|
|
23711
|
+
readonly internalType: "uint256";
|
|
23712
|
+
readonly type: "uint256";
|
|
22657
23713
|
}, {
|
|
22658
|
-
readonly
|
|
23714
|
+
readonly name: "sqrtPriceX96After";
|
|
23715
|
+
readonly internalType: "uint160";
|
|
23716
|
+
readonly type: "uint160";
|
|
23717
|
+
}, {
|
|
23718
|
+
readonly name: "initializedTicksCrossed";
|
|
23719
|
+
readonly internalType: "uint32";
|
|
23720
|
+
readonly type: "uint32";
|
|
23721
|
+
}, {
|
|
23722
|
+
readonly name: "gasEstimate";
|
|
23723
|
+
readonly internalType: "uint256";
|
|
23724
|
+
readonly type: "uint256";
|
|
23725
|
+
}];
|
|
23726
|
+
readonly stateMutability: "nonpayable";
|
|
23727
|
+
}];
|
|
23728
|
+
/**
|
|
23729
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
23730
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
23731
|
+
*/
|
|
23732
|
+
export declare const uniswapQuoterV2Address: {
|
|
23733
|
+
readonly 8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a";
|
|
23734
|
+
readonly 84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27";
|
|
23735
|
+
};
|
|
23736
|
+
/**
|
|
23737
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
23738
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
23739
|
+
*/
|
|
23740
|
+
export declare const uniswapQuoterV2Config: {
|
|
23741
|
+
readonly address: {
|
|
23742
|
+
readonly 8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a";
|
|
23743
|
+
readonly 84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27";
|
|
23744
|
+
};
|
|
23745
|
+
readonly abi: readonly [{
|
|
23746
|
+
readonly type: "function";
|
|
22659
23747
|
readonly inputs: readonly [{
|
|
22660
|
-
readonly name: "
|
|
23748
|
+
readonly name: "path";
|
|
23749
|
+
readonly internalType: "bytes";
|
|
23750
|
+
readonly type: "bytes";
|
|
23751
|
+
}, {
|
|
23752
|
+
readonly name: "amountIn";
|
|
23753
|
+
readonly internalType: "uint256";
|
|
23754
|
+
readonly type: "uint256";
|
|
23755
|
+
}];
|
|
23756
|
+
readonly name: "quoteExactInput";
|
|
23757
|
+
readonly outputs: readonly [{
|
|
23758
|
+
readonly name: "amountOut";
|
|
22661
23759
|
readonly internalType: "uint256";
|
|
22662
23760
|
readonly type: "uint256";
|
|
22663
23761
|
}, {
|
|
22664
|
-
readonly name: "
|
|
23762
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
23763
|
+
readonly internalType: "uint160[]";
|
|
23764
|
+
readonly type: "uint160[]";
|
|
23765
|
+
}, {
|
|
23766
|
+
readonly name: "initializedTicksCrossedList";
|
|
23767
|
+
readonly internalType: "uint32[]";
|
|
23768
|
+
readonly type: "uint32[]";
|
|
23769
|
+
}, {
|
|
23770
|
+
readonly name: "gasEstimate";
|
|
22665
23771
|
readonly internalType: "uint256";
|
|
22666
23772
|
readonly type: "uint256";
|
|
22667
23773
|
}];
|
|
22668
|
-
readonly
|
|
22669
|
-
}, {
|
|
22670
|
-
readonly type: "error";
|
|
22671
|
-
readonly inputs: readonly [];
|
|
22672
|
-
readonly name: "SenderNotAllowedInSignature";
|
|
22673
|
-
}, {
|
|
22674
|
-
readonly type: "error";
|
|
22675
|
-
readonly inputs: readonly [];
|
|
22676
|
-
readonly name: "SignatureExpired";
|
|
22677
|
-
}, {
|
|
22678
|
-
readonly type: "error";
|
|
22679
|
-
readonly inputs: readonly [];
|
|
22680
|
-
readonly name: "SingleTransferNotSupported";
|
|
23774
|
+
readonly stateMutability: "nonpayable";
|
|
22681
23775
|
}, {
|
|
22682
|
-
readonly type: "
|
|
23776
|
+
readonly type: "function";
|
|
22683
23777
|
readonly inputs: readonly [{
|
|
22684
|
-
readonly name: "
|
|
22685
|
-
readonly internalType: "
|
|
22686
|
-
readonly type: "
|
|
23778
|
+
readonly name: "params";
|
|
23779
|
+
readonly internalType: "struct IQuoterV2.QuoteExactInputSingleParams";
|
|
23780
|
+
readonly type: "tuple";
|
|
23781
|
+
readonly components: readonly [{
|
|
23782
|
+
readonly name: "tokenIn";
|
|
23783
|
+
readonly internalType: "address";
|
|
23784
|
+
readonly type: "address";
|
|
23785
|
+
}, {
|
|
23786
|
+
readonly name: "tokenOut";
|
|
23787
|
+
readonly internalType: "address";
|
|
23788
|
+
readonly type: "address";
|
|
23789
|
+
}, {
|
|
23790
|
+
readonly name: "amountIn";
|
|
23791
|
+
readonly internalType: "uint256";
|
|
23792
|
+
readonly type: "uint256";
|
|
23793
|
+
}, {
|
|
23794
|
+
readonly name: "fee";
|
|
23795
|
+
readonly internalType: "uint24";
|
|
23796
|
+
readonly type: "uint24";
|
|
23797
|
+
}, {
|
|
23798
|
+
readonly name: "sqrtPriceLimitX96";
|
|
23799
|
+
readonly internalType: "uint160";
|
|
23800
|
+
readonly type: "uint160";
|
|
23801
|
+
}];
|
|
22687
23802
|
}];
|
|
22688
|
-
readonly name: "
|
|
23803
|
+
readonly name: "quoteExactInputSingle";
|
|
23804
|
+
readonly outputs: readonly [{
|
|
23805
|
+
readonly name: "amountOut";
|
|
23806
|
+
readonly internalType: "uint256";
|
|
23807
|
+
readonly type: "uint256";
|
|
23808
|
+
}, {
|
|
23809
|
+
readonly name: "sqrtPriceX96After";
|
|
23810
|
+
readonly internalType: "uint160";
|
|
23811
|
+
readonly type: "uint160";
|
|
23812
|
+
}, {
|
|
23813
|
+
readonly name: "initializedTicksCrossed";
|
|
23814
|
+
readonly internalType: "uint32";
|
|
23815
|
+
readonly type: "uint32";
|
|
23816
|
+
}, {
|
|
23817
|
+
readonly name: "gasEstimate";
|
|
23818
|
+
readonly internalType: "uint256";
|
|
23819
|
+
readonly type: "uint256";
|
|
23820
|
+
}];
|
|
23821
|
+
readonly stateMutability: "nonpayable";
|
|
22689
23822
|
}, {
|
|
22690
|
-
readonly type: "
|
|
23823
|
+
readonly type: "function";
|
|
22691
23824
|
readonly inputs: readonly [{
|
|
22692
|
-
readonly name: "
|
|
23825
|
+
readonly name: "path";
|
|
22693
23826
|
readonly internalType: "bytes";
|
|
22694
23827
|
readonly type: "bytes";
|
|
23828
|
+
}, {
|
|
23829
|
+
readonly name: "amountOut";
|
|
23830
|
+
readonly internalType: "uint256";
|
|
23831
|
+
readonly type: "uint256";
|
|
22695
23832
|
}];
|
|
22696
|
-
readonly name: "
|
|
22697
|
-
|
|
22698
|
-
|
|
22699
|
-
|
|
22700
|
-
|
|
22701
|
-
|
|
22702
|
-
|
|
22703
|
-
|
|
22704
|
-
|
|
22705
|
-
|
|
22706
|
-
|
|
22707
|
-
|
|
22708
|
-
|
|
23833
|
+
readonly name: "quoteExactOutput";
|
|
23834
|
+
readonly outputs: readonly [{
|
|
23835
|
+
readonly name: "amountIn";
|
|
23836
|
+
readonly internalType: "uint256";
|
|
23837
|
+
readonly type: "uint256";
|
|
23838
|
+
}, {
|
|
23839
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
23840
|
+
readonly internalType: "uint160[]";
|
|
23841
|
+
readonly type: "uint160[]";
|
|
23842
|
+
}, {
|
|
23843
|
+
readonly name: "initializedTicksCrossedList";
|
|
23844
|
+
readonly internalType: "uint32[]";
|
|
23845
|
+
readonly type: "uint32[]";
|
|
23846
|
+
}, {
|
|
23847
|
+
readonly name: "gasEstimate";
|
|
23848
|
+
readonly internalType: "uint256";
|
|
23849
|
+
readonly type: "uint256";
|
|
23850
|
+
}];
|
|
23851
|
+
readonly stateMutability: "nonpayable";
|
|
22709
23852
|
}, {
|
|
22710
|
-
readonly type: "
|
|
23853
|
+
readonly type: "function";
|
|
22711
23854
|
readonly inputs: readonly [{
|
|
22712
|
-
readonly name: "
|
|
22713
|
-
readonly internalType: "
|
|
22714
|
-
readonly type: "
|
|
23855
|
+
readonly name: "params";
|
|
23856
|
+
readonly internalType: "struct IQuoterV2.QuoteExactOutputSingleParams";
|
|
23857
|
+
readonly type: "tuple";
|
|
23858
|
+
readonly components: readonly [{
|
|
23859
|
+
readonly name: "tokenIn";
|
|
23860
|
+
readonly internalType: "address";
|
|
23861
|
+
readonly type: "address";
|
|
23862
|
+
}, {
|
|
23863
|
+
readonly name: "tokenOut";
|
|
23864
|
+
readonly internalType: "address";
|
|
23865
|
+
readonly type: "address";
|
|
23866
|
+
}, {
|
|
23867
|
+
readonly name: "amount";
|
|
23868
|
+
readonly internalType: "uint256";
|
|
23869
|
+
readonly type: "uint256";
|
|
23870
|
+
}, {
|
|
23871
|
+
readonly name: "fee";
|
|
23872
|
+
readonly internalType: "uint24";
|
|
23873
|
+
readonly type: "uint24";
|
|
23874
|
+
}, {
|
|
23875
|
+
readonly name: "sqrtPriceLimitX96";
|
|
23876
|
+
readonly internalType: "uint160";
|
|
23877
|
+
readonly type: "uint160";
|
|
23878
|
+
}];
|
|
22715
23879
|
}];
|
|
22716
|
-
readonly name: "
|
|
22717
|
-
|
|
22718
|
-
|
|
22719
|
-
|
|
22720
|
-
|
|
23880
|
+
readonly name: "quoteExactOutputSingle";
|
|
23881
|
+
readonly outputs: readonly [{
|
|
23882
|
+
readonly name: "amountIn";
|
|
23883
|
+
readonly internalType: "uint256";
|
|
23884
|
+
readonly type: "uint256";
|
|
23885
|
+
}, {
|
|
23886
|
+
readonly name: "sqrtPriceX96After";
|
|
23887
|
+
readonly internalType: "uint160";
|
|
23888
|
+
readonly type: "uint160";
|
|
23889
|
+
}, {
|
|
23890
|
+
readonly name: "initializedTicksCrossed";
|
|
23891
|
+
readonly internalType: "uint32";
|
|
23892
|
+
readonly type: "uint32";
|
|
23893
|
+
}, {
|
|
23894
|
+
readonly name: "gasEstimate";
|
|
23895
|
+
readonly internalType: "uint256";
|
|
23896
|
+
readonly type: "uint256";
|
|
23897
|
+
}];
|
|
23898
|
+
readonly stateMutability: "nonpayable";
|
|
22721
23899
|
}];
|
|
22722
23900
|
};
|
|
22723
23901
|
/**
|