clanker-sdk 4.2.16 → 4.2.17
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/dist/{clankerTokenV3-BqHTF9QY.d.ts → clankerTokenV3-D-7Wi27l.d.ts} +0 -10
- package/dist/{clankerTokenV4-NqiH_j7p.d.ts → clankerTokenV4-DCMDdonP.d.ts} +1824 -23
- package/dist/cli/cli.js +73 -23
- package/dist/cli/commands/airdrop.js +61 -7
- package/dist/cli/commands/deploy.d.ts +1 -1
- package/dist/cli/commands/deploy.js +68 -19
- package/dist/cli/commands/presale.js +60 -6
- package/dist/cli/commands/rewards.js +60 -6
- package/dist/cli/commands/setup.js +33 -5
- package/dist/cli/commands/token.js +60 -6
- package/dist/cli/commands/vault.js +60 -6
- package/dist/cli/create-clanker.js +58 -5
- package/dist/cli/utils/chains.js +28 -1
- package/dist/cli/utils/config.js +3 -3
- package/dist/cli/utils/wallet.js +31 -4
- package/dist/index.d.ts +51 -4
- package/dist/index.js +56 -1
- package/dist/legacyFeeClaims/index.js +51 -0
- package/dist/v3/index.d.ts +2 -2
- package/dist/v3/index.js +54 -1
- package/dist/v4/extensions/index.d.ts +4 -4
- package/dist/v4/extensions/index.js +55 -2
- package/dist/v4/index.d.ts +3 -3
- package/dist/v4/index.js +55 -2
- package/package.json +4 -1
- package/dist/{write-clanker-contracts-wZSL1UyM.d.ts → write-clanker-contracts-DMbbbYUa.d.ts} +1248 -1248
package/dist/{write-clanker-contracts-wZSL1UyM.d.ts → write-clanker-contracts-DMbbbYUa.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { ContractFunctionName, ContractFunctionArgs } from 'viem';
|
|
|
2
2
|
import { C as ClankerToken_v3_1_abi, a as ClankerToken_v4_abi } from './ClankerToken-Dra5lppJ.js';
|
|
3
3
|
import { C as ClankerError } from './errors-5Gv28Tkr.js';
|
|
4
4
|
|
|
5
|
-
declare const
|
|
5
|
+
declare const Clanker_v4_abi: readonly [{
|
|
6
6
|
readonly inputs: readonly [{
|
|
7
7
|
readonly internalType: "address";
|
|
8
8
|
readonly name: "owner_";
|
|
@@ -16,23 +16,47 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
16
16
|
readonly type: "error";
|
|
17
17
|
}, {
|
|
18
18
|
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "
|
|
19
|
+
readonly name: "ExtensionMsgValueMismatch";
|
|
20
20
|
readonly type: "error";
|
|
21
21
|
}, {
|
|
22
22
|
readonly inputs: readonly [];
|
|
23
|
-
readonly name: "
|
|
23
|
+
readonly name: "ExtensionNotEnabled";
|
|
24
24
|
readonly type: "error";
|
|
25
25
|
}, {
|
|
26
26
|
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "
|
|
27
|
+
readonly name: "HookNotEnabled";
|
|
28
28
|
readonly type: "error";
|
|
29
29
|
}, {
|
|
30
30
|
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "
|
|
31
|
+
readonly name: "InvalidExtension";
|
|
32
32
|
readonly type: "error";
|
|
33
33
|
}, {
|
|
34
34
|
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "
|
|
35
|
+
readonly name: "InvalidHook";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "InvalidLocker";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "InvalidMevModule";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "LockerNotEnabled";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly name: "MaxExtensionBpsExceeded";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly name: "MaxExtensionsExceeded";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly name: "MevModuleNotEnabled";
|
|
36
60
|
readonly type: "error";
|
|
37
61
|
}, {
|
|
38
62
|
readonly inputs: readonly [];
|
|
@@ -70,39 +94,45 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
70
94
|
readonly inputs: readonly [];
|
|
71
95
|
readonly name: "Unauthorized";
|
|
72
96
|
readonly type: "error";
|
|
73
|
-
}, {
|
|
74
|
-
readonly inputs: readonly [];
|
|
75
|
-
readonly name: "ZeroTeamRewardRecipient";
|
|
76
|
-
readonly type: "error";
|
|
77
97
|
}, {
|
|
78
98
|
readonly anonymous: false;
|
|
79
99
|
readonly inputs: readonly [{
|
|
80
|
-
readonly indexed:
|
|
100
|
+
readonly indexed: true;
|
|
81
101
|
readonly internalType: "address";
|
|
82
|
-
readonly name: "
|
|
102
|
+
readonly name: "token";
|
|
83
103
|
readonly type: "address";
|
|
84
104
|
}, {
|
|
85
|
-
readonly indexed:
|
|
105
|
+
readonly indexed: true;
|
|
86
106
|
readonly internalType: "address";
|
|
87
|
-
readonly name: "
|
|
107
|
+
readonly name: "recipient";
|
|
88
108
|
readonly type: "address";
|
|
109
|
+
}, {
|
|
110
|
+
readonly indexed: false;
|
|
111
|
+
readonly internalType: "uint256";
|
|
112
|
+
readonly name: "amount";
|
|
113
|
+
readonly type: "uint256";
|
|
89
114
|
}];
|
|
90
|
-
readonly name: "
|
|
115
|
+
readonly name: "ClaimTeamFees";
|
|
91
116
|
readonly type: "event";
|
|
92
117
|
}, {
|
|
93
118
|
readonly anonymous: false;
|
|
94
119
|
readonly inputs: readonly [{
|
|
95
120
|
readonly indexed: false;
|
|
96
121
|
readonly internalType: "address";
|
|
97
|
-
readonly name: "
|
|
122
|
+
readonly name: "extension";
|
|
98
123
|
readonly type: "address";
|
|
99
124
|
}, {
|
|
100
125
|
readonly indexed: false;
|
|
101
|
-
readonly internalType: "
|
|
102
|
-
readonly name: "
|
|
103
|
-
readonly type: "
|
|
126
|
+
readonly internalType: "uint256";
|
|
127
|
+
readonly name: "extensionSupply";
|
|
128
|
+
readonly type: "uint256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly indexed: false;
|
|
131
|
+
readonly internalType: "uint256";
|
|
132
|
+
readonly name: "msgValue";
|
|
133
|
+
readonly type: "uint256";
|
|
104
134
|
}];
|
|
105
|
-
readonly name: "
|
|
135
|
+
readonly name: "ExtensionTriggered";
|
|
106
136
|
readonly type: "event";
|
|
107
137
|
}, {
|
|
108
138
|
readonly anonymous: false;
|
|
@@ -122,14 +152,14 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
122
152
|
}, {
|
|
123
153
|
readonly anonymous: false;
|
|
124
154
|
readonly inputs: readonly [{
|
|
125
|
-
readonly indexed:
|
|
155
|
+
readonly indexed: true;
|
|
126
156
|
readonly internalType: "address";
|
|
127
157
|
readonly name: "admin";
|
|
128
158
|
readonly type: "address";
|
|
129
159
|
}, {
|
|
130
160
|
readonly indexed: false;
|
|
131
161
|
readonly internalType: "bool";
|
|
132
|
-
readonly name: "
|
|
162
|
+
readonly name: "enabled";
|
|
133
163
|
readonly type: "bool";
|
|
134
164
|
}];
|
|
135
165
|
readonly name: "SetAdmin";
|
|
@@ -147,96 +177,171 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
147
177
|
}, {
|
|
148
178
|
readonly anonymous: false;
|
|
149
179
|
readonly inputs: readonly [{
|
|
150
|
-
readonly indexed:
|
|
180
|
+
readonly indexed: false;
|
|
151
181
|
readonly internalType: "address";
|
|
152
|
-
readonly name: "
|
|
182
|
+
readonly name: "extension";
|
|
153
183
|
readonly type: "address";
|
|
154
184
|
}, {
|
|
155
|
-
readonly indexed:
|
|
185
|
+
readonly indexed: false;
|
|
186
|
+
readonly internalType: "bool";
|
|
187
|
+
readonly name: "enabled";
|
|
188
|
+
readonly type: "bool";
|
|
189
|
+
}];
|
|
190
|
+
readonly name: "SetExtension";
|
|
191
|
+
readonly type: "event";
|
|
192
|
+
}, {
|
|
193
|
+
readonly anonymous: false;
|
|
194
|
+
readonly inputs: readonly [{
|
|
195
|
+
readonly indexed: false;
|
|
156
196
|
readonly internalType: "address";
|
|
157
|
-
readonly name: "
|
|
197
|
+
readonly name: "hook";
|
|
158
198
|
readonly type: "address";
|
|
159
199
|
}, {
|
|
160
|
-
readonly indexed:
|
|
200
|
+
readonly indexed: false;
|
|
201
|
+
readonly internalType: "bool";
|
|
202
|
+
readonly name: "enabled";
|
|
203
|
+
readonly type: "bool";
|
|
204
|
+
}];
|
|
205
|
+
readonly name: "SetHook";
|
|
206
|
+
readonly type: "event";
|
|
207
|
+
}, {
|
|
208
|
+
readonly anonymous: false;
|
|
209
|
+
readonly inputs: readonly [{
|
|
210
|
+
readonly indexed: false;
|
|
161
211
|
readonly internalType: "address";
|
|
162
|
-
readonly name: "
|
|
212
|
+
readonly name: "locker";
|
|
163
213
|
readonly type: "address";
|
|
164
214
|
}, {
|
|
165
215
|
readonly indexed: false;
|
|
166
216
|
readonly internalType: "address";
|
|
167
|
-
readonly name: "
|
|
217
|
+
readonly name: "pool";
|
|
168
218
|
readonly type: "address";
|
|
169
219
|
}, {
|
|
220
|
+
readonly indexed: false;
|
|
221
|
+
readonly internalType: "bool";
|
|
222
|
+
readonly name: "enabled";
|
|
223
|
+
readonly type: "bool";
|
|
224
|
+
}];
|
|
225
|
+
readonly name: "SetLocker";
|
|
226
|
+
readonly type: "event";
|
|
227
|
+
}, {
|
|
228
|
+
readonly anonymous: false;
|
|
229
|
+
readonly inputs: readonly [{
|
|
170
230
|
readonly indexed: false;
|
|
171
231
|
readonly internalType: "address";
|
|
172
|
-
readonly name: "
|
|
232
|
+
readonly name: "mevModule";
|
|
173
233
|
readonly type: "address";
|
|
174
234
|
}, {
|
|
175
235
|
readonly indexed: false;
|
|
176
|
-
readonly internalType: "
|
|
177
|
-
readonly name: "
|
|
178
|
-
readonly type: "
|
|
236
|
+
readonly internalType: "bool";
|
|
237
|
+
readonly name: "enabled";
|
|
238
|
+
readonly type: "bool";
|
|
239
|
+
}];
|
|
240
|
+
readonly name: "SetMevModule";
|
|
241
|
+
readonly type: "event";
|
|
242
|
+
}, {
|
|
243
|
+
readonly anonymous: false;
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly indexed: false;
|
|
246
|
+
readonly internalType: "address";
|
|
247
|
+
readonly name: "oldTeamFeeRecipient";
|
|
248
|
+
readonly type: "address";
|
|
249
|
+
}, {
|
|
250
|
+
readonly indexed: false;
|
|
251
|
+
readonly internalType: "address";
|
|
252
|
+
readonly name: "newTeamFeeRecipient";
|
|
253
|
+
readonly type: "address";
|
|
254
|
+
}];
|
|
255
|
+
readonly name: "SetTeamFeeRecipient";
|
|
256
|
+
readonly type: "event";
|
|
257
|
+
}, {
|
|
258
|
+
readonly anonymous: false;
|
|
259
|
+
readonly inputs: readonly [{
|
|
260
|
+
readonly indexed: false;
|
|
261
|
+
readonly internalType: "address";
|
|
262
|
+
readonly name: "msgSender";
|
|
263
|
+
readonly type: "address";
|
|
264
|
+
}, {
|
|
265
|
+
readonly indexed: true;
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
readonly name: "tokenAddress";
|
|
268
|
+
readonly type: "address";
|
|
269
|
+
}, {
|
|
270
|
+
readonly indexed: true;
|
|
271
|
+
readonly internalType: "address";
|
|
272
|
+
readonly name: "tokenAdmin";
|
|
273
|
+
readonly type: "address";
|
|
179
274
|
}, {
|
|
180
275
|
readonly indexed: false;
|
|
181
276
|
readonly internalType: "string";
|
|
182
|
-
readonly name: "
|
|
277
|
+
readonly name: "tokenImage";
|
|
183
278
|
readonly type: "string";
|
|
184
279
|
}, {
|
|
185
280
|
readonly indexed: false;
|
|
186
281
|
readonly internalType: "string";
|
|
187
|
-
readonly name: "
|
|
282
|
+
readonly name: "tokenName";
|
|
188
283
|
readonly type: "string";
|
|
189
284
|
}, {
|
|
190
285
|
readonly indexed: false;
|
|
191
|
-
readonly internalType: "
|
|
192
|
-
readonly name: "
|
|
193
|
-
readonly type: "
|
|
286
|
+
readonly internalType: "string";
|
|
287
|
+
readonly name: "tokenSymbol";
|
|
288
|
+
readonly type: "string";
|
|
194
289
|
}, {
|
|
195
290
|
readonly indexed: false;
|
|
196
291
|
readonly internalType: "string";
|
|
197
|
-
readonly name: "
|
|
292
|
+
readonly name: "tokenMetadata";
|
|
198
293
|
readonly type: "string";
|
|
199
294
|
}, {
|
|
200
295
|
readonly indexed: false;
|
|
201
|
-
readonly internalType: "
|
|
202
|
-
readonly name: "
|
|
203
|
-
readonly type: "
|
|
296
|
+
readonly internalType: "string";
|
|
297
|
+
readonly name: "tokenContext";
|
|
298
|
+
readonly type: "string";
|
|
204
299
|
}, {
|
|
205
300
|
readonly indexed: false;
|
|
206
|
-
readonly internalType: "
|
|
207
|
-
readonly name: "
|
|
208
|
-
readonly type: "
|
|
301
|
+
readonly internalType: "int24";
|
|
302
|
+
readonly name: "startingTick";
|
|
303
|
+
readonly type: "int24";
|
|
209
304
|
}, {
|
|
210
305
|
readonly indexed: false;
|
|
211
|
-
readonly internalType: "
|
|
212
|
-
readonly name: "
|
|
213
|
-
readonly type: "
|
|
306
|
+
readonly internalType: "address";
|
|
307
|
+
readonly name: "poolHook";
|
|
308
|
+
readonly type: "address";
|
|
309
|
+
}, {
|
|
310
|
+
readonly indexed: false;
|
|
311
|
+
readonly internalType: "PoolId";
|
|
312
|
+
readonly name: "poolId";
|
|
313
|
+
readonly type: "bytes32";
|
|
214
314
|
}, {
|
|
215
315
|
readonly indexed: false;
|
|
216
316
|
readonly internalType: "address";
|
|
217
|
-
readonly name: "
|
|
317
|
+
readonly name: "pairedToken";
|
|
218
318
|
readonly type: "address";
|
|
219
|
-
}
|
|
220
|
-
readonly name: "TokenCreated";
|
|
221
|
-
readonly type: "event";
|
|
222
|
-
}, {
|
|
223
|
-
readonly anonymous: false;
|
|
224
|
-
readonly inputs: readonly [{
|
|
319
|
+
}, {
|
|
225
320
|
readonly indexed: false;
|
|
226
321
|
readonly internalType: "address";
|
|
227
|
-
readonly name: "
|
|
322
|
+
readonly name: "locker";
|
|
228
323
|
readonly type: "address";
|
|
229
324
|
}, {
|
|
230
325
|
readonly indexed: false;
|
|
231
326
|
readonly internalType: "address";
|
|
232
|
-
readonly name: "
|
|
327
|
+
readonly name: "mevModule";
|
|
233
328
|
readonly type: "address";
|
|
329
|
+
}, {
|
|
330
|
+
readonly indexed: false;
|
|
331
|
+
readonly internalType: "uint256";
|
|
332
|
+
readonly name: "extensionsSupply";
|
|
333
|
+
readonly type: "uint256";
|
|
334
|
+
}, {
|
|
335
|
+
readonly indexed: false;
|
|
336
|
+
readonly internalType: "address[]";
|
|
337
|
+
readonly name: "extensions";
|
|
338
|
+
readonly type: "address[]";
|
|
234
339
|
}];
|
|
235
|
-
readonly name: "
|
|
340
|
+
readonly name: "TokenCreated";
|
|
236
341
|
readonly type: "event";
|
|
237
342
|
}, {
|
|
238
343
|
readonly inputs: readonly [];
|
|
239
|
-
readonly name: "
|
|
344
|
+
readonly name: "BPS";
|
|
240
345
|
readonly outputs: readonly [{
|
|
241
346
|
readonly internalType: "uint256";
|
|
242
347
|
readonly name: "";
|
|
@@ -246,17 +351,7 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
246
351
|
readonly type: "function";
|
|
247
352
|
}, {
|
|
248
353
|
readonly inputs: readonly [];
|
|
249
|
-
readonly name: "
|
|
250
|
-
readonly outputs: readonly [{
|
|
251
|
-
readonly internalType: "int24";
|
|
252
|
-
readonly name: "";
|
|
253
|
-
readonly type: "int24";
|
|
254
|
-
}];
|
|
255
|
-
readonly stateMutability: "view";
|
|
256
|
-
readonly type: "function";
|
|
257
|
-
}, {
|
|
258
|
-
readonly inputs: readonly [];
|
|
259
|
-
readonly name: "MAX_VAULT_PERCENTAGE";
|
|
354
|
+
readonly name: "MAX_EXTENSIONS";
|
|
260
355
|
readonly outputs: readonly [{
|
|
261
356
|
readonly internalType: "uint256";
|
|
262
357
|
readonly name: "";
|
|
@@ -266,21 +361,11 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
266
361
|
readonly type: "function";
|
|
267
362
|
}, {
|
|
268
363
|
readonly inputs: readonly [];
|
|
269
|
-
readonly name: "
|
|
270
|
-
readonly outputs: readonly [{
|
|
271
|
-
readonly internalType: "uint24";
|
|
272
|
-
readonly name: "";
|
|
273
|
-
readonly type: "uint24";
|
|
274
|
-
}];
|
|
275
|
-
readonly stateMutability: "view";
|
|
276
|
-
readonly type: "function";
|
|
277
|
-
}, {
|
|
278
|
-
readonly inputs: readonly [];
|
|
279
|
-
readonly name: "TICK_SPACING";
|
|
364
|
+
readonly name: "MAX_EXTENSION_BPS";
|
|
280
365
|
readonly outputs: readonly [{
|
|
281
|
-
readonly internalType: "
|
|
366
|
+
readonly internalType: "uint16";
|
|
282
367
|
readonly name: "";
|
|
283
|
-
readonly type: "
|
|
368
|
+
readonly type: "uint16";
|
|
284
369
|
}];
|
|
285
370
|
readonly stateMutability: "view";
|
|
286
371
|
readonly type: "function";
|
|
@@ -314,7 +399,7 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
314
399
|
readonly name: "token";
|
|
315
400
|
readonly type: "address";
|
|
316
401
|
}];
|
|
317
|
-
readonly name: "
|
|
402
|
+
readonly name: "claimTeamFees";
|
|
318
403
|
readonly outputs: readonly [];
|
|
319
404
|
readonly stateMutability: "nonpayable";
|
|
320
405
|
readonly type: "function";
|
|
@@ -322,9 +407,13 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
322
407
|
readonly inputs: readonly [{
|
|
323
408
|
readonly components: readonly [{
|
|
324
409
|
readonly components: readonly [{
|
|
325
|
-
readonly internalType: "
|
|
326
|
-
readonly name: "
|
|
327
|
-
readonly type: "
|
|
410
|
+
readonly internalType: "address";
|
|
411
|
+
readonly name: "tokenAdmin";
|
|
412
|
+
readonly type: "address";
|
|
413
|
+
}, {
|
|
414
|
+
readonly internalType: "string";
|
|
415
|
+
readonly name: "name";
|
|
416
|
+
readonly type: "string";
|
|
328
417
|
}, {
|
|
329
418
|
readonly internalType: "string";
|
|
330
419
|
readonly name: "symbol";
|
|
@@ -355,208 +444,120 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
355
444
|
readonly type: "tuple";
|
|
356
445
|
}, {
|
|
357
446
|
readonly components: readonly [{
|
|
358
|
-
readonly internalType: "
|
|
359
|
-
readonly name: "
|
|
360
|
-
readonly type: "
|
|
447
|
+
readonly internalType: "address";
|
|
448
|
+
readonly name: "hook";
|
|
449
|
+
readonly type: "address";
|
|
361
450
|
}, {
|
|
362
|
-
readonly internalType: "uint256";
|
|
363
|
-
readonly name: "vaultDuration";
|
|
364
|
-
readonly type: "uint256";
|
|
365
|
-
}];
|
|
366
|
-
readonly internalType: "struct IClanker.VaultConfig";
|
|
367
|
-
readonly name: "vaultConfig";
|
|
368
|
-
readonly type: "tuple";
|
|
369
|
-
}, {
|
|
370
|
-
readonly components: readonly [{
|
|
371
451
|
readonly internalType: "address";
|
|
372
452
|
readonly name: "pairedToken";
|
|
373
453
|
readonly type: "address";
|
|
374
454
|
}, {
|
|
375
455
|
readonly internalType: "int24";
|
|
376
|
-
readonly name: "
|
|
456
|
+
readonly name: "tickIfToken0IsClanker";
|
|
377
457
|
readonly type: "int24";
|
|
458
|
+
}, {
|
|
459
|
+
readonly internalType: "int24";
|
|
460
|
+
readonly name: "tickSpacing";
|
|
461
|
+
readonly type: "int24";
|
|
462
|
+
}, {
|
|
463
|
+
readonly internalType: "bytes";
|
|
464
|
+
readonly name: "poolData";
|
|
465
|
+
readonly type: "bytes";
|
|
378
466
|
}];
|
|
379
467
|
readonly internalType: "struct IClanker.PoolConfig";
|
|
380
468
|
readonly name: "poolConfig";
|
|
381
469
|
readonly type: "tuple";
|
|
382
470
|
}, {
|
|
383
471
|
readonly components: readonly [{
|
|
384
|
-
readonly internalType: "uint24";
|
|
385
|
-
readonly name: "pairedTokenPoolFee";
|
|
386
|
-
readonly type: "uint24";
|
|
387
|
-
}, {
|
|
388
|
-
readonly internalType: "uint256";
|
|
389
|
-
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
390
|
-
readonly type: "uint256";
|
|
391
|
-
}];
|
|
392
|
-
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
393
|
-
readonly name: "initialBuyConfig";
|
|
394
|
-
readonly type: "tuple";
|
|
395
|
-
}, {
|
|
396
|
-
readonly components: readonly [{
|
|
397
|
-
readonly internalType: "uint256";
|
|
398
|
-
readonly name: "creatorReward";
|
|
399
|
-
readonly type: "uint256";
|
|
400
|
-
}, {
|
|
401
|
-
readonly internalType: "address";
|
|
402
|
-
readonly name: "creatorAdmin";
|
|
403
|
-
readonly type: "address";
|
|
404
|
-
}, {
|
|
405
|
-
readonly internalType: "address";
|
|
406
|
-
readonly name: "creatorRewardRecipient";
|
|
407
|
-
readonly type: "address";
|
|
408
|
-
}, {
|
|
409
|
-
readonly internalType: "address";
|
|
410
|
-
readonly name: "interfaceAdmin";
|
|
411
|
-
readonly type: "address";
|
|
412
|
-
}, {
|
|
413
472
|
readonly internalType: "address";
|
|
414
|
-
readonly name: "
|
|
473
|
+
readonly name: "locker";
|
|
415
474
|
readonly type: "address";
|
|
416
|
-
}];
|
|
417
|
-
readonly internalType: "struct IClanker.RewardsConfig";
|
|
418
|
-
readonly name: "rewardsConfig";
|
|
419
|
-
readonly type: "tuple";
|
|
420
|
-
}];
|
|
421
|
-
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
422
|
-
readonly name: "deploymentConfig";
|
|
423
|
-
readonly type: "tuple";
|
|
424
|
-
}];
|
|
425
|
-
readonly name: "deployToken";
|
|
426
|
-
readonly outputs: readonly [{
|
|
427
|
-
readonly internalType: "address";
|
|
428
|
-
readonly name: "tokenAddress";
|
|
429
|
-
readonly type: "address";
|
|
430
|
-
}, {
|
|
431
|
-
readonly internalType: "uint256";
|
|
432
|
-
readonly name: "positionId";
|
|
433
|
-
readonly type: "uint256";
|
|
434
|
-
}];
|
|
435
|
-
readonly stateMutability: "payable";
|
|
436
|
-
readonly type: "function";
|
|
437
|
-
}, {
|
|
438
|
-
readonly inputs: readonly [{
|
|
439
|
-
readonly components: readonly [{
|
|
440
|
-
readonly components: readonly [{
|
|
441
|
-
readonly internalType: "string";
|
|
442
|
-
readonly name: "name";
|
|
443
|
-
readonly type: "string";
|
|
444
475
|
}, {
|
|
445
|
-
readonly internalType: "
|
|
446
|
-
readonly name: "
|
|
447
|
-
readonly type: "
|
|
476
|
+
readonly internalType: "address[]";
|
|
477
|
+
readonly name: "rewardAdmins";
|
|
478
|
+
readonly type: "address[]";
|
|
448
479
|
}, {
|
|
449
|
-
readonly internalType: "
|
|
450
|
-
readonly name: "
|
|
451
|
-
readonly type: "
|
|
480
|
+
readonly internalType: "address[]";
|
|
481
|
+
readonly name: "rewardRecipients";
|
|
482
|
+
readonly type: "address[]";
|
|
452
483
|
}, {
|
|
453
|
-
readonly internalType: "
|
|
454
|
-
readonly name: "
|
|
455
|
-
readonly type: "
|
|
484
|
+
readonly internalType: "uint16[]";
|
|
485
|
+
readonly name: "rewardBps";
|
|
486
|
+
readonly type: "uint16[]";
|
|
456
487
|
}, {
|
|
457
|
-
readonly internalType: "
|
|
458
|
-
readonly name: "
|
|
459
|
-
readonly type: "
|
|
488
|
+
readonly internalType: "int24[]";
|
|
489
|
+
readonly name: "tickLower";
|
|
490
|
+
readonly type: "int24[]";
|
|
460
491
|
}, {
|
|
461
|
-
readonly internalType: "
|
|
462
|
-
readonly name: "
|
|
463
|
-
readonly type: "
|
|
492
|
+
readonly internalType: "int24[]";
|
|
493
|
+
readonly name: "tickUpper";
|
|
494
|
+
readonly type: "int24[]";
|
|
464
495
|
}, {
|
|
465
|
-
readonly internalType: "
|
|
466
|
-
readonly name: "
|
|
467
|
-
readonly type: "
|
|
468
|
-
}];
|
|
469
|
-
readonly internalType: "struct IClanker.TokenConfig";
|
|
470
|
-
readonly name: "tokenConfig";
|
|
471
|
-
readonly type: "tuple";
|
|
472
|
-
}, {
|
|
473
|
-
readonly components: readonly [{
|
|
474
|
-
readonly internalType: "uint8";
|
|
475
|
-
readonly name: "vaultPercentage";
|
|
476
|
-
readonly type: "uint8";
|
|
496
|
+
readonly internalType: "uint16[]";
|
|
497
|
+
readonly name: "positionBps";
|
|
498
|
+
readonly type: "uint16[]";
|
|
477
499
|
}, {
|
|
478
|
-
readonly internalType: "
|
|
479
|
-
readonly name: "
|
|
480
|
-
readonly type: "
|
|
500
|
+
readonly internalType: "bytes";
|
|
501
|
+
readonly name: "lockerData";
|
|
502
|
+
readonly type: "bytes";
|
|
481
503
|
}];
|
|
482
|
-
readonly internalType: "struct IClanker.
|
|
483
|
-
readonly name: "
|
|
504
|
+
readonly internalType: "struct IClanker.LockerConfig";
|
|
505
|
+
readonly name: "lockerConfig";
|
|
484
506
|
readonly type: "tuple";
|
|
485
507
|
}, {
|
|
486
508
|
readonly components: readonly [{
|
|
487
509
|
readonly internalType: "address";
|
|
488
|
-
readonly name: "
|
|
510
|
+
readonly name: "mevModule";
|
|
489
511
|
readonly type: "address";
|
|
490
512
|
}, {
|
|
491
|
-
readonly internalType: "
|
|
492
|
-
readonly name: "
|
|
493
|
-
readonly type: "
|
|
494
|
-
}];
|
|
495
|
-
readonly internalType: "struct IClanker.PoolConfig";
|
|
496
|
-
readonly name: "poolConfig";
|
|
497
|
-
readonly type: "tuple";
|
|
498
|
-
}, {
|
|
499
|
-
readonly components: readonly [{
|
|
500
|
-
readonly internalType: "uint24";
|
|
501
|
-
readonly name: "pairedTokenPoolFee";
|
|
502
|
-
readonly type: "uint24";
|
|
503
|
-
}, {
|
|
504
|
-
readonly internalType: "uint256";
|
|
505
|
-
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
506
|
-
readonly type: "uint256";
|
|
513
|
+
readonly internalType: "bytes";
|
|
514
|
+
readonly name: "mevModuleData";
|
|
515
|
+
readonly type: "bytes";
|
|
507
516
|
}];
|
|
508
|
-
readonly internalType: "struct IClanker.
|
|
509
|
-
readonly name: "
|
|
517
|
+
readonly internalType: "struct IClanker.MevModuleConfig";
|
|
518
|
+
readonly name: "mevModuleConfig";
|
|
510
519
|
readonly type: "tuple";
|
|
511
520
|
}, {
|
|
512
521
|
readonly components: readonly [{
|
|
513
|
-
readonly internalType: "uint256";
|
|
514
|
-
readonly name: "creatorReward";
|
|
515
|
-
readonly type: "uint256";
|
|
516
|
-
}, {
|
|
517
522
|
readonly internalType: "address";
|
|
518
|
-
readonly name: "
|
|
523
|
+
readonly name: "extension";
|
|
519
524
|
readonly type: "address";
|
|
520
525
|
}, {
|
|
521
|
-
readonly internalType: "
|
|
522
|
-
readonly name: "
|
|
523
|
-
readonly type: "
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
readonly name: "msgValue";
|
|
528
|
+
readonly type: "uint256";
|
|
524
529
|
}, {
|
|
525
|
-
readonly internalType: "
|
|
526
|
-
readonly name: "
|
|
527
|
-
readonly type: "
|
|
530
|
+
readonly internalType: "uint16";
|
|
531
|
+
readonly name: "extensionBps";
|
|
532
|
+
readonly type: "uint16";
|
|
528
533
|
}, {
|
|
529
|
-
readonly internalType: "
|
|
530
|
-
readonly name: "
|
|
531
|
-
readonly type: "
|
|
534
|
+
readonly internalType: "bytes";
|
|
535
|
+
readonly name: "extensionData";
|
|
536
|
+
readonly type: "bytes";
|
|
532
537
|
}];
|
|
533
|
-
readonly internalType: "struct IClanker.
|
|
534
|
-
readonly name: "
|
|
535
|
-
readonly type: "tuple";
|
|
538
|
+
readonly internalType: "struct IClanker.ExtensionConfig[]";
|
|
539
|
+
readonly name: "extensionConfigs";
|
|
540
|
+
readonly type: "tuple[]";
|
|
536
541
|
}];
|
|
537
542
|
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
538
543
|
readonly name: "deploymentConfig";
|
|
539
544
|
readonly type: "tuple";
|
|
540
|
-
}, {
|
|
541
|
-
readonly internalType: "address";
|
|
542
|
-
readonly name: "teamRewardRecipient";
|
|
543
|
-
readonly type: "address";
|
|
544
545
|
}];
|
|
545
|
-
readonly name: "
|
|
546
|
+
readonly name: "deployToken";
|
|
546
547
|
readonly outputs: readonly [{
|
|
547
548
|
readonly internalType: "address";
|
|
548
549
|
readonly name: "tokenAddress";
|
|
549
550
|
readonly type: "address";
|
|
550
|
-
}, {
|
|
551
|
-
readonly internalType: "uint256";
|
|
552
|
-
readonly name: "positionId";
|
|
553
|
-
readonly type: "uint256";
|
|
554
551
|
}];
|
|
555
552
|
readonly stateMutability: "payable";
|
|
556
553
|
readonly type: "function";
|
|
557
554
|
}, {
|
|
558
555
|
readonly inputs: readonly [{
|
|
559
556
|
readonly components: readonly [{
|
|
557
|
+
readonly internalType: "address";
|
|
558
|
+
readonly name: "tokenAdmin";
|
|
559
|
+
readonly type: "address";
|
|
560
|
+
}, {
|
|
560
561
|
readonly internalType: "string";
|
|
561
562
|
readonly name: "name";
|
|
562
563
|
readonly type: "string";
|
|
@@ -588,10 +589,6 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
588
589
|
readonly internalType: "struct IClanker.TokenConfig";
|
|
589
590
|
readonly name: "tokenConfig";
|
|
590
591
|
readonly type: "tuple";
|
|
591
|
-
}, {
|
|
592
|
-
readonly internalType: "address";
|
|
593
|
-
readonly name: "tokenAdmin";
|
|
594
|
-
readonly type: "address";
|
|
595
592
|
}];
|
|
596
593
|
readonly name: "deployTokenZeroSupply";
|
|
597
594
|
readonly outputs: readonly [{
|
|
@@ -604,7 +601,7 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
604
601
|
}, {
|
|
605
602
|
readonly inputs: readonly [{
|
|
606
603
|
readonly internalType: "address";
|
|
607
|
-
readonly name: "";
|
|
604
|
+
readonly name: "token";
|
|
608
605
|
readonly type: "address";
|
|
609
606
|
}];
|
|
610
607
|
readonly name: "deploymentInfoForToken";
|
|
@@ -613,9 +610,9 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
613
610
|
readonly name: "token";
|
|
614
611
|
readonly type: "address";
|
|
615
612
|
}, {
|
|
616
|
-
readonly internalType: "
|
|
617
|
-
readonly name: "
|
|
618
|
-
readonly type: "
|
|
613
|
+
readonly internalType: "address";
|
|
614
|
+
readonly name: "hook";
|
|
615
|
+
readonly type: "address";
|
|
619
616
|
}, {
|
|
620
617
|
readonly internalType: "address";
|
|
621
618
|
readonly name: "locker";
|
|
@@ -636,70 +633,31 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
636
633
|
}, {
|
|
637
634
|
readonly inputs: readonly [{
|
|
638
635
|
readonly internalType: "address";
|
|
639
|
-
readonly name: "
|
|
636
|
+
readonly name: "locker";
|
|
637
|
+
readonly type: "address";
|
|
638
|
+
}, {
|
|
639
|
+
readonly internalType: "address";
|
|
640
|
+
readonly name: "pool";
|
|
640
641
|
readonly type: "address";
|
|
641
642
|
}];
|
|
642
|
-
readonly name: "
|
|
643
|
+
readonly name: "enabledLockers";
|
|
643
644
|
readonly outputs: readonly [{
|
|
644
|
-
readonly
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
readonly type: "address";
|
|
648
|
-
}, {
|
|
649
|
-
readonly internalType: "uint256";
|
|
650
|
-
readonly name: "positionId";
|
|
651
|
-
readonly type: "uint256";
|
|
652
|
-
}, {
|
|
653
|
-
readonly internalType: "address";
|
|
654
|
-
readonly name: "locker";
|
|
655
|
-
readonly type: "address";
|
|
656
|
-
}];
|
|
657
|
-
readonly internalType: "struct IClanker.DeploymentInfo[]";
|
|
658
|
-
readonly name: "";
|
|
659
|
-
readonly type: "tuple[]";
|
|
645
|
+
readonly internalType: "bool";
|
|
646
|
+
readonly name: "enabled";
|
|
647
|
+
readonly type: "bool";
|
|
660
648
|
}];
|
|
661
649
|
readonly stateMutability: "view";
|
|
662
650
|
readonly type: "function";
|
|
663
651
|
}, {
|
|
664
652
|
readonly inputs: readonly [{
|
|
665
653
|
readonly internalType: "address";
|
|
666
|
-
readonly name: "
|
|
667
|
-
readonly type: "address";
|
|
668
|
-
}, {
|
|
669
|
-
readonly internalType: "address";
|
|
670
|
-
readonly name: "positionManager_";
|
|
671
|
-
readonly type: "address";
|
|
672
|
-
}, {
|
|
673
|
-
readonly internalType: "address";
|
|
674
|
-
readonly name: "swapRouter_";
|
|
675
|
-
readonly type: "address";
|
|
676
|
-
}, {
|
|
677
|
-
readonly internalType: "address";
|
|
678
|
-
readonly name: "weth_";
|
|
679
|
-
readonly type: "address";
|
|
680
|
-
}, {
|
|
681
|
-
readonly internalType: "address";
|
|
682
|
-
readonly name: "liquidityLocker_";
|
|
683
|
-
readonly type: "address";
|
|
684
|
-
}, {
|
|
685
|
-
readonly internalType: "address";
|
|
686
|
-
readonly name: "vault_";
|
|
654
|
+
readonly name: "teamFeeRecipient_";
|
|
687
655
|
readonly type: "address";
|
|
688
656
|
}];
|
|
689
657
|
readonly name: "initialize";
|
|
690
658
|
readonly outputs: readonly [];
|
|
691
659
|
readonly stateMutability: "nonpayable";
|
|
692
660
|
readonly type: "function";
|
|
693
|
-
}, {
|
|
694
|
-
readonly inputs: readonly [];
|
|
695
|
-
readonly name: "liquidityLocker";
|
|
696
|
-
readonly outputs: readonly [{
|
|
697
|
-
readonly internalType: "contract ILpLockerv2";
|
|
698
|
-
readonly name: "";
|
|
699
|
-
readonly type: "address";
|
|
700
|
-
}];
|
|
701
|
-
readonly stateMutability: "view";
|
|
702
|
-
readonly type: "function";
|
|
703
661
|
}, {
|
|
704
662
|
readonly inputs: readonly [];
|
|
705
663
|
readonly name: "owner";
|
|
@@ -710,16 +668,6 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
710
668
|
}];
|
|
711
669
|
readonly stateMutability: "view";
|
|
712
670
|
readonly type: "function";
|
|
713
|
-
}, {
|
|
714
|
-
readonly inputs: readonly [];
|
|
715
|
-
readonly name: "positionManager";
|
|
716
|
-
readonly outputs: readonly [{
|
|
717
|
-
readonly internalType: "contract INonfungiblePositionManager";
|
|
718
|
-
readonly name: "";
|
|
719
|
-
readonly type: "address";
|
|
720
|
-
}];
|
|
721
|
-
readonly stateMutability: "view";
|
|
722
|
-
readonly type: "function";
|
|
723
671
|
}, {
|
|
724
672
|
readonly inputs: readonly [];
|
|
725
673
|
readonly name: "renounceOwnership";
|
|
@@ -733,7 +681,7 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
733
681
|
readonly type: "address";
|
|
734
682
|
}, {
|
|
735
683
|
readonly internalType: "bool";
|
|
736
|
-
readonly name: "
|
|
684
|
+
readonly name: "enabled";
|
|
737
685
|
readonly type: "bool";
|
|
738
686
|
}];
|
|
739
687
|
readonly name: "setAdmin";
|
|
@@ -750,102 +698,127 @@ declare const Clanker_v3_1_abi: readonly [{
|
|
|
750
698
|
readonly outputs: readonly [];
|
|
751
699
|
readonly stateMutability: "nonpayable";
|
|
752
700
|
readonly type: "function";
|
|
753
|
-
}, {
|
|
754
|
-
readonly inputs: readonly [];
|
|
755
|
-
readonly name: "swapRouter";
|
|
756
|
-
readonly outputs: readonly [{
|
|
757
|
-
readonly internalType: "contract ISwapRouter";
|
|
758
|
-
readonly name: "";
|
|
759
|
-
readonly type: "address";
|
|
760
|
-
}];
|
|
761
|
-
readonly stateMutability: "view";
|
|
762
|
-
readonly type: "function";
|
|
763
701
|
}, {
|
|
764
702
|
readonly inputs: readonly [{
|
|
765
703
|
readonly internalType: "address";
|
|
766
|
-
readonly name: "";
|
|
767
|
-
readonly type: "address";
|
|
768
|
-
}, {
|
|
769
|
-
readonly internalType: "uint256";
|
|
770
|
-
readonly name: "";
|
|
771
|
-
readonly type: "uint256";
|
|
772
|
-
}];
|
|
773
|
-
readonly name: "tokensDeployedByUsers";
|
|
774
|
-
readonly outputs: readonly [{
|
|
775
|
-
readonly internalType: "address";
|
|
776
|
-
readonly name: "token";
|
|
704
|
+
readonly name: "extension";
|
|
777
705
|
readonly type: "address";
|
|
778
706
|
}, {
|
|
779
|
-
readonly internalType: "
|
|
780
|
-
readonly name: "
|
|
781
|
-
readonly type: "
|
|
782
|
-
}, {
|
|
783
|
-
readonly internalType: "address";
|
|
784
|
-
readonly name: "locker";
|
|
785
|
-
readonly type: "address";
|
|
707
|
+
readonly internalType: "bool";
|
|
708
|
+
readonly name: "enabled";
|
|
709
|
+
readonly type: "bool";
|
|
786
710
|
}];
|
|
787
|
-
readonly
|
|
711
|
+
readonly name: "setExtension";
|
|
712
|
+
readonly outputs: readonly [];
|
|
713
|
+
readonly stateMutability: "nonpayable";
|
|
788
714
|
readonly type: "function";
|
|
789
715
|
}, {
|
|
790
716
|
readonly inputs: readonly [{
|
|
791
717
|
readonly internalType: "address";
|
|
792
|
-
readonly name: "
|
|
718
|
+
readonly name: "hook";
|
|
793
719
|
readonly type: "address";
|
|
720
|
+
}, {
|
|
721
|
+
readonly internalType: "bool";
|
|
722
|
+
readonly name: "enabled";
|
|
723
|
+
readonly type: "bool";
|
|
794
724
|
}];
|
|
795
|
-
readonly name: "
|
|
725
|
+
readonly name: "setHook";
|
|
796
726
|
readonly outputs: readonly [];
|
|
797
727
|
readonly stateMutability: "nonpayable";
|
|
798
728
|
readonly type: "function";
|
|
799
729
|
}, {
|
|
800
|
-
readonly inputs: readonly [
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
readonly
|
|
804
|
-
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly internalType: "address";
|
|
732
|
+
readonly name: "locker";
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
}, {
|
|
735
|
+
readonly internalType: "address";
|
|
736
|
+
readonly name: "pool";
|
|
805
737
|
readonly type: "address";
|
|
738
|
+
}, {
|
|
739
|
+
readonly internalType: "bool";
|
|
740
|
+
readonly name: "enabled";
|
|
741
|
+
readonly type: "bool";
|
|
806
742
|
}];
|
|
807
|
-
readonly
|
|
743
|
+
readonly name: "setLocker";
|
|
744
|
+
readonly outputs: readonly [];
|
|
745
|
+
readonly stateMutability: "nonpayable";
|
|
808
746
|
readonly type: "function";
|
|
809
747
|
}, {
|
|
810
748
|
readonly inputs: readonly [{
|
|
811
749
|
readonly internalType: "address";
|
|
812
|
-
readonly name: "
|
|
750
|
+
readonly name: "mevModule";
|
|
813
751
|
readonly type: "address";
|
|
752
|
+
}, {
|
|
753
|
+
readonly internalType: "bool";
|
|
754
|
+
readonly name: "enabled";
|
|
755
|
+
readonly type: "bool";
|
|
814
756
|
}];
|
|
815
|
-
readonly name: "
|
|
757
|
+
readonly name: "setMevModule";
|
|
816
758
|
readonly outputs: readonly [];
|
|
817
759
|
readonly stateMutability: "nonpayable";
|
|
818
760
|
readonly type: "function";
|
|
819
761
|
}, {
|
|
820
762
|
readonly inputs: readonly [{
|
|
821
763
|
readonly internalType: "address";
|
|
822
|
-
readonly name: "
|
|
764
|
+
readonly name: "teamFeeRecipient_";
|
|
823
765
|
readonly type: "address";
|
|
824
766
|
}];
|
|
825
|
-
readonly name: "
|
|
767
|
+
readonly name: "setTeamFeeRecipient";
|
|
826
768
|
readonly outputs: readonly [];
|
|
827
769
|
readonly stateMutability: "nonpayable";
|
|
828
770
|
readonly type: "function";
|
|
829
771
|
}, {
|
|
830
772
|
readonly inputs: readonly [];
|
|
831
|
-
readonly name: "
|
|
773
|
+
readonly name: "teamFeeRecipient";
|
|
832
774
|
readonly outputs: readonly [{
|
|
833
|
-
readonly internalType: "
|
|
775
|
+
readonly internalType: "address";
|
|
834
776
|
readonly name: "";
|
|
835
777
|
readonly type: "address";
|
|
836
778
|
}];
|
|
837
779
|
readonly stateMutability: "view";
|
|
838
780
|
readonly type: "function";
|
|
839
781
|
}, {
|
|
840
|
-
readonly inputs: readonly [
|
|
841
|
-
readonly name: "weth";
|
|
842
|
-
readonly outputs: readonly [{
|
|
782
|
+
readonly inputs: readonly [{
|
|
843
783
|
readonly internalType: "address";
|
|
844
|
-
readonly name: "";
|
|
784
|
+
readonly name: "token";
|
|
845
785
|
readonly type: "address";
|
|
846
786
|
}];
|
|
787
|
+
readonly name: "tokenDeploymentInfo";
|
|
788
|
+
readonly outputs: readonly [{
|
|
789
|
+
readonly components: readonly [{
|
|
790
|
+
readonly internalType: "address";
|
|
791
|
+
readonly name: "token";
|
|
792
|
+
readonly type: "address";
|
|
793
|
+
}, {
|
|
794
|
+
readonly internalType: "address";
|
|
795
|
+
readonly name: "hook";
|
|
796
|
+
readonly type: "address";
|
|
797
|
+
}, {
|
|
798
|
+
readonly internalType: "address";
|
|
799
|
+
readonly name: "locker";
|
|
800
|
+
readonly type: "address";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "address[]";
|
|
803
|
+
readonly name: "extensions";
|
|
804
|
+
readonly type: "address[]";
|
|
805
|
+
}];
|
|
806
|
+
readonly internalType: "struct IClanker.DeploymentInfo";
|
|
807
|
+
readonly name: "";
|
|
808
|
+
readonly type: "tuple";
|
|
809
|
+
}];
|
|
847
810
|
readonly stateMutability: "view";
|
|
848
811
|
readonly type: "function";
|
|
812
|
+
}, {
|
|
813
|
+
readonly inputs: readonly [{
|
|
814
|
+
readonly internalType: "address";
|
|
815
|
+
readonly name: "newOwner";
|
|
816
|
+
readonly type: "address";
|
|
817
|
+
}];
|
|
818
|
+
readonly name: "transferOwnership";
|
|
819
|
+
readonly outputs: readonly [];
|
|
820
|
+
readonly stateMutability: "nonpayable";
|
|
821
|
+
readonly type: "function";
|
|
849
822
|
}];
|
|
850
823
|
|
|
851
824
|
declare const Clanker_v0_abi: readonly [{
|
|
@@ -1246,61 +1219,49 @@ declare const Clanker_v0_abi: readonly [{
|
|
|
1246
1219
|
}];
|
|
1247
1220
|
}];
|
|
1248
1221
|
|
|
1249
|
-
declare const
|
|
1222
|
+
declare const Clanker_v3_1_abi: readonly [{
|
|
1250
1223
|
readonly inputs: readonly [{
|
|
1251
1224
|
readonly internalType: "address";
|
|
1252
1225
|
readonly name: "owner_";
|
|
1253
1226
|
readonly type: "address";
|
|
1254
|
-
}, {
|
|
1255
|
-
readonly internalType: "address";
|
|
1256
|
-
readonly name: "tokenFactory_";
|
|
1257
|
-
readonly type: "address";
|
|
1258
|
-
}, {
|
|
1259
|
-
readonly internalType: "address";
|
|
1260
|
-
readonly name: "positionManager_";
|
|
1261
|
-
readonly type: "address";
|
|
1262
|
-
}, {
|
|
1263
|
-
readonly internalType: "address";
|
|
1264
|
-
readonly name: "teamRecipient_";
|
|
1265
|
-
readonly type: "address";
|
|
1266
1227
|
}];
|
|
1267
1228
|
readonly stateMutability: "nonpayable";
|
|
1268
1229
|
readonly type: "constructor";
|
|
1269
1230
|
}, {
|
|
1270
|
-
readonly inputs: readonly [
|
|
1271
|
-
|
|
1272
|
-
readonly name: "tokenId";
|
|
1273
|
-
readonly type: "uint256";
|
|
1274
|
-
}];
|
|
1275
|
-
readonly name: "AlreadyKnownTokenId";
|
|
1231
|
+
readonly inputs: readonly [];
|
|
1232
|
+
readonly name: "Deprecated";
|
|
1276
1233
|
readonly type: "error";
|
|
1277
1234
|
}, {
|
|
1278
|
-
readonly inputs: readonly [
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1235
|
+
readonly inputs: readonly [];
|
|
1236
|
+
readonly name: "InvalidCreatorInfo";
|
|
1237
|
+
readonly type: "error";
|
|
1238
|
+
}, {
|
|
1239
|
+
readonly inputs: readonly [];
|
|
1283
1240
|
readonly name: "InvalidCreatorReward";
|
|
1284
1241
|
readonly type: "error";
|
|
1285
1242
|
}, {
|
|
1286
1243
|
readonly inputs: readonly [];
|
|
1287
|
-
readonly name: "
|
|
1244
|
+
readonly name: "InvalidInterfaceInfo";
|
|
1288
1245
|
readonly type: "error";
|
|
1289
1246
|
}, {
|
|
1290
1247
|
readonly inputs: readonly [];
|
|
1291
|
-
readonly name: "
|
|
1248
|
+
readonly name: "InvalidTick";
|
|
1292
1249
|
readonly type: "error";
|
|
1293
1250
|
}, {
|
|
1294
1251
|
readonly inputs: readonly [];
|
|
1295
|
-
readonly name: "
|
|
1252
|
+
readonly name: "InvalidVaultConfiguration";
|
|
1296
1253
|
readonly type: "error";
|
|
1297
1254
|
}, {
|
|
1298
|
-
readonly inputs: readonly [
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
readonly name: "
|
|
1255
|
+
readonly inputs: readonly [];
|
|
1256
|
+
readonly name: "NotFound";
|
|
1257
|
+
readonly type: "error";
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly inputs: readonly [];
|
|
1260
|
+
readonly name: "OnlyNonOriginatingChains";
|
|
1261
|
+
readonly type: "error";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly inputs: readonly [];
|
|
1264
|
+
readonly name: "OnlyOriginatingChain";
|
|
1304
1265
|
readonly type: "error";
|
|
1305
1266
|
}, {
|
|
1306
1267
|
readonly inputs: readonly [{
|
|
@@ -1318,240 +1279,177 @@ declare const LpLockerv2_abi: readonly [{
|
|
|
1318
1279
|
}];
|
|
1319
1280
|
readonly name: "OwnableUnauthorizedAccount";
|
|
1320
1281
|
readonly type: "error";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly inputs: readonly [];
|
|
1284
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
1285
|
+
readonly type: "error";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly inputs: readonly [];
|
|
1288
|
+
readonly name: "Unauthorized";
|
|
1289
|
+
readonly type: "error";
|
|
1290
|
+
}, {
|
|
1291
|
+
readonly inputs: readonly [];
|
|
1292
|
+
readonly name: "ZeroTeamRewardRecipient";
|
|
1293
|
+
readonly type: "error";
|
|
1321
1294
|
}, {
|
|
1322
1295
|
readonly anonymous: false;
|
|
1323
1296
|
readonly inputs: readonly [{
|
|
1324
|
-
readonly indexed:
|
|
1325
|
-
readonly internalType: "uint256";
|
|
1326
|
-
readonly name: "lpTokenId";
|
|
1327
|
-
readonly type: "uint256";
|
|
1328
|
-
}, {
|
|
1329
|
-
readonly indexed: true;
|
|
1330
|
-
readonly internalType: "address";
|
|
1331
|
-
readonly name: "creatorRecipient";
|
|
1332
|
-
readonly type: "address";
|
|
1333
|
-
}, {
|
|
1334
|
-
readonly indexed: true;
|
|
1297
|
+
readonly indexed: false;
|
|
1335
1298
|
readonly internalType: "address";
|
|
1336
|
-
readonly name: "
|
|
1299
|
+
readonly name: "oldClankerDeployer";
|
|
1337
1300
|
readonly type: "address";
|
|
1338
1301
|
}, {
|
|
1339
1302
|
readonly indexed: false;
|
|
1340
1303
|
readonly internalType: "address";
|
|
1341
|
-
readonly name: "
|
|
1304
|
+
readonly name: "newClankerDeployer";
|
|
1342
1305
|
readonly type: "address";
|
|
1343
|
-
}
|
|
1306
|
+
}];
|
|
1307
|
+
readonly name: "ClankerDeployerUpdated";
|
|
1308
|
+
readonly type: "event";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly anonymous: false;
|
|
1311
|
+
readonly inputs: readonly [{
|
|
1344
1312
|
readonly indexed: false;
|
|
1345
1313
|
readonly internalType: "address";
|
|
1346
|
-
readonly name: "
|
|
1314
|
+
readonly name: "oldLocker";
|
|
1347
1315
|
readonly type: "address";
|
|
1348
1316
|
}, {
|
|
1349
1317
|
readonly indexed: false;
|
|
1350
1318
|
readonly internalType: "address";
|
|
1351
|
-
readonly name: "
|
|
1319
|
+
readonly name: "newLocker";
|
|
1352
1320
|
readonly type: "address";
|
|
1353
|
-
}, {
|
|
1354
|
-
readonly indexed: false;
|
|
1355
|
-
readonly internalType: "uint256";
|
|
1356
|
-
readonly name: "creatorReward0";
|
|
1357
|
-
readonly type: "uint256";
|
|
1358
|
-
}, {
|
|
1359
|
-
readonly indexed: false;
|
|
1360
|
-
readonly internalType: "uint256";
|
|
1361
|
-
readonly name: "creatorReward1";
|
|
1362
|
-
readonly type: "uint256";
|
|
1363
|
-
}, {
|
|
1364
|
-
readonly indexed: false;
|
|
1365
|
-
readonly internalType: "uint256";
|
|
1366
|
-
readonly name: "interfaceReward0";
|
|
1367
|
-
readonly type: "uint256";
|
|
1368
|
-
}, {
|
|
1369
|
-
readonly indexed: false;
|
|
1370
|
-
readonly internalType: "uint256";
|
|
1371
|
-
readonly name: "interfaceReward1";
|
|
1372
|
-
readonly type: "uint256";
|
|
1373
|
-
}, {
|
|
1374
|
-
readonly indexed: false;
|
|
1375
|
-
readonly internalType: "uint256";
|
|
1376
|
-
readonly name: "teamReward0";
|
|
1377
|
-
readonly type: "uint256";
|
|
1378
|
-
}, {
|
|
1379
|
-
readonly indexed: false;
|
|
1380
|
-
readonly internalType: "uint256";
|
|
1381
|
-
readonly name: "teamReward1";
|
|
1382
|
-
readonly type: "uint256";
|
|
1383
1321
|
}];
|
|
1384
|
-
readonly name: "
|
|
1322
|
+
readonly name: "LiquidityLockerUpdated";
|
|
1385
1323
|
readonly type: "event";
|
|
1386
1324
|
}, {
|
|
1387
1325
|
readonly anonymous: false;
|
|
1388
1326
|
readonly inputs: readonly [{
|
|
1389
|
-
readonly indexed: true;
|
|
1390
|
-
readonly internalType: "uint256";
|
|
1391
|
-
readonly name: "lpTokenId";
|
|
1392
|
-
readonly type: "uint256";
|
|
1393
|
-
}, {
|
|
1394
1327
|
readonly indexed: true;
|
|
1395
1328
|
readonly internalType: "address";
|
|
1396
|
-
readonly name: "
|
|
1329
|
+
readonly name: "previousOwner";
|
|
1397
1330
|
readonly type: "address";
|
|
1398
1331
|
}, {
|
|
1399
|
-
readonly indexed:
|
|
1332
|
+
readonly indexed: true;
|
|
1400
1333
|
readonly internalType: "address";
|
|
1401
|
-
readonly name: "
|
|
1334
|
+
readonly name: "newOwner";
|
|
1402
1335
|
readonly type: "address";
|
|
1403
1336
|
}];
|
|
1404
|
-
readonly name: "
|
|
1337
|
+
readonly name: "OwnershipTransferred";
|
|
1405
1338
|
readonly type: "event";
|
|
1406
1339
|
}, {
|
|
1407
1340
|
readonly anonymous: false;
|
|
1408
1341
|
readonly inputs: readonly [{
|
|
1409
|
-
readonly indexed:
|
|
1410
|
-
readonly internalType: "uint256";
|
|
1411
|
-
readonly name: "lpTokenId";
|
|
1412
|
-
readonly type: "uint256";
|
|
1413
|
-
}, {
|
|
1414
|
-
readonly indexed: true;
|
|
1342
|
+
readonly indexed: false;
|
|
1415
1343
|
readonly internalType: "address";
|
|
1416
|
-
readonly name: "
|
|
1344
|
+
readonly name: "admin";
|
|
1417
1345
|
readonly type: "address";
|
|
1418
1346
|
}, {
|
|
1419
1347
|
readonly indexed: false;
|
|
1420
|
-
readonly internalType: "
|
|
1421
|
-
readonly name: "
|
|
1422
|
-
readonly type: "
|
|
1348
|
+
readonly internalType: "bool";
|
|
1349
|
+
readonly name: "isAdmin";
|
|
1350
|
+
readonly type: "bool";
|
|
1423
1351
|
}];
|
|
1424
|
-
readonly name: "
|
|
1352
|
+
readonly name: "SetAdmin";
|
|
1425
1353
|
readonly type: "event";
|
|
1426
1354
|
}, {
|
|
1427
1355
|
readonly anonymous: false;
|
|
1428
1356
|
readonly inputs: readonly [{
|
|
1429
|
-
readonly indexed: true;
|
|
1430
|
-
readonly internalType: "uint256";
|
|
1431
|
-
readonly name: "lpTokenId";
|
|
1432
|
-
readonly type: "uint256";
|
|
1433
|
-
}, {
|
|
1434
|
-
readonly indexed: true;
|
|
1435
|
-
readonly internalType: "address";
|
|
1436
|
-
readonly name: "oldAdmin";
|
|
1437
|
-
readonly type: "address";
|
|
1438
|
-
}, {
|
|
1439
1357
|
readonly indexed: false;
|
|
1440
|
-
readonly internalType: "
|
|
1441
|
-
readonly name: "
|
|
1442
|
-
readonly type: "
|
|
1358
|
+
readonly internalType: "bool";
|
|
1359
|
+
readonly name: "deprecated";
|
|
1360
|
+
readonly type: "bool";
|
|
1443
1361
|
}];
|
|
1444
|
-
readonly name: "
|
|
1362
|
+
readonly name: "SetDeprecated";
|
|
1445
1363
|
readonly type: "event";
|
|
1446
1364
|
}, {
|
|
1447
1365
|
readonly anonymous: false;
|
|
1448
1366
|
readonly inputs: readonly [{
|
|
1449
|
-
readonly indexed: true;
|
|
1450
|
-
readonly internalType: "uint256";
|
|
1451
|
-
readonly name: "lpTokenId";
|
|
1452
|
-
readonly type: "uint256";
|
|
1453
|
-
}, {
|
|
1454
1367
|
readonly indexed: true;
|
|
1455
1368
|
readonly internalType: "address";
|
|
1456
|
-
readonly name: "
|
|
1369
|
+
readonly name: "tokenAddress";
|
|
1457
1370
|
readonly type: "address";
|
|
1458
1371
|
}, {
|
|
1459
|
-
readonly indexed:
|
|
1372
|
+
readonly indexed: true;
|
|
1460
1373
|
readonly internalType: "address";
|
|
1461
|
-
readonly name: "
|
|
1374
|
+
readonly name: "creatorAdmin";
|
|
1462
1375
|
readonly type: "address";
|
|
1463
|
-
}
|
|
1464
|
-
readonly name: "InterfaceRewardRecipientUpdated";
|
|
1465
|
-
readonly type: "event";
|
|
1466
|
-
}, {
|
|
1467
|
-
readonly anonymous: false;
|
|
1468
|
-
readonly inputs: readonly [{
|
|
1376
|
+
}, {
|
|
1469
1377
|
readonly indexed: true;
|
|
1470
1378
|
readonly internalType: "address";
|
|
1471
|
-
readonly name: "
|
|
1379
|
+
readonly name: "interfaceAdmin";
|
|
1472
1380
|
readonly type: "address";
|
|
1473
1381
|
}, {
|
|
1474
|
-
readonly indexed:
|
|
1382
|
+
readonly indexed: false;
|
|
1475
1383
|
readonly internalType: "address";
|
|
1476
|
-
readonly name: "
|
|
1384
|
+
readonly name: "creatorRewardRecipient";
|
|
1477
1385
|
readonly type: "address";
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
readonly type: "event";
|
|
1481
|
-
}, {
|
|
1482
|
-
readonly anonymous: false;
|
|
1483
|
-
readonly inputs: readonly [{
|
|
1484
|
-
readonly indexed: true;
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly indexed: false;
|
|
1485
1388
|
readonly internalType: "address";
|
|
1486
|
-
readonly name: "
|
|
1389
|
+
readonly name: "interfaceRewardRecipient";
|
|
1487
1390
|
readonly type: "address";
|
|
1488
1391
|
}, {
|
|
1489
1392
|
readonly indexed: false;
|
|
1490
1393
|
readonly internalType: "uint256";
|
|
1491
|
-
readonly name: "
|
|
1394
|
+
readonly name: "positionId";
|
|
1492
1395
|
readonly type: "uint256";
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
readonly indexed:
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly indexed: false;
|
|
1398
|
+
readonly internalType: "string";
|
|
1399
|
+
readonly name: "name";
|
|
1400
|
+
readonly type: "string";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly indexed: false;
|
|
1403
|
+
readonly internalType: "string";
|
|
1404
|
+
readonly name: "symbol";
|
|
1405
|
+
readonly type: "string";
|
|
1406
|
+
}, {
|
|
1407
|
+
readonly indexed: false;
|
|
1408
|
+
readonly internalType: "int24";
|
|
1409
|
+
readonly name: "startingTickIfToken0IsNewToken";
|
|
1410
|
+
readonly type: "int24";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly indexed: false;
|
|
1413
|
+
readonly internalType: "string";
|
|
1414
|
+
readonly name: "metadata";
|
|
1415
|
+
readonly type: "string";
|
|
1416
|
+
}, {
|
|
1417
|
+
readonly indexed: false;
|
|
1500
1418
|
readonly internalType: "uint256";
|
|
1501
|
-
readonly name: "
|
|
1419
|
+
readonly name: "amountTokensBought";
|
|
1502
1420
|
readonly type: "uint256";
|
|
1503
1421
|
}, {
|
|
1504
|
-
readonly indexed:
|
|
1505
|
-
readonly internalType: "
|
|
1506
|
-
readonly name: "
|
|
1507
|
-
readonly type: "
|
|
1422
|
+
readonly indexed: false;
|
|
1423
|
+
readonly internalType: "uint256";
|
|
1424
|
+
readonly name: "vaultDuration";
|
|
1425
|
+
readonly type: "uint256";
|
|
1508
1426
|
}, {
|
|
1509
1427
|
readonly indexed: false;
|
|
1510
|
-
readonly internalType: "
|
|
1511
|
-
readonly name: "
|
|
1512
|
-
readonly type: "
|
|
1513
|
-
}];
|
|
1514
|
-
readonly name: "TeamOverrideRewardRecipientUpdated";
|
|
1515
|
-
readonly type: "event";
|
|
1516
|
-
}, {
|
|
1517
|
-
readonly anonymous: false;
|
|
1518
|
-
readonly inputs: readonly [{
|
|
1519
|
-
readonly indexed: true;
|
|
1520
|
-
readonly internalType: "address";
|
|
1521
|
-
readonly name: "oldRecipient";
|
|
1522
|
-
readonly type: "address";
|
|
1428
|
+
readonly internalType: "uint8";
|
|
1429
|
+
readonly name: "vaultPercentage";
|
|
1430
|
+
readonly type: "uint8";
|
|
1523
1431
|
}, {
|
|
1524
1432
|
readonly indexed: false;
|
|
1525
1433
|
readonly internalType: "address";
|
|
1526
|
-
readonly name: "
|
|
1434
|
+
readonly name: "msgSender";
|
|
1527
1435
|
readonly type: "address";
|
|
1528
1436
|
}];
|
|
1529
|
-
readonly name: "
|
|
1437
|
+
readonly name: "TokenCreated";
|
|
1530
1438
|
readonly type: "event";
|
|
1531
1439
|
}, {
|
|
1532
1440
|
readonly anonymous: false;
|
|
1533
1441
|
readonly inputs: readonly [{
|
|
1534
1442
|
readonly indexed: false;
|
|
1535
|
-
readonly internalType: "uint256";
|
|
1536
|
-
readonly name: "lpTokenId";
|
|
1537
|
-
readonly type: "uint256";
|
|
1538
|
-
}, {
|
|
1539
|
-
readonly indexed: false;
|
|
1540
|
-
readonly internalType: "uint256";
|
|
1541
|
-
readonly name: "creatorReward";
|
|
1542
|
-
readonly type: "uint256";
|
|
1543
|
-
}, {
|
|
1544
|
-
readonly indexed: true;
|
|
1545
1443
|
readonly internalType: "address";
|
|
1546
|
-
readonly name: "
|
|
1444
|
+
readonly name: "oldVault";
|
|
1547
1445
|
readonly type: "address";
|
|
1548
1446
|
}, {
|
|
1549
|
-
readonly indexed:
|
|
1447
|
+
readonly indexed: false;
|
|
1550
1448
|
readonly internalType: "address";
|
|
1551
|
-
readonly name: "
|
|
1449
|
+
readonly name: "newVault";
|
|
1552
1450
|
readonly type: "address";
|
|
1553
1451
|
}];
|
|
1554
|
-
readonly name: "
|
|
1452
|
+
readonly name: "VaultUpdated";
|
|
1555
1453
|
readonly type: "event";
|
|
1556
1454
|
}, {
|
|
1557
1455
|
readonly inputs: readonly [];
|
|
@@ -1565,108 +1463,51 @@ declare const LpLockerv2_abi: readonly [{
|
|
|
1565
1463
|
readonly type: "function";
|
|
1566
1464
|
}, {
|
|
1567
1465
|
readonly inputs: readonly [];
|
|
1568
|
-
readonly name: "
|
|
1466
|
+
readonly name: "MAX_TICK";
|
|
1569
1467
|
readonly outputs: readonly [{
|
|
1570
|
-
readonly internalType: "
|
|
1468
|
+
readonly internalType: "int24";
|
|
1571
1469
|
readonly name: "";
|
|
1572
|
-
readonly type: "
|
|
1470
|
+
readonly type: "int24";
|
|
1573
1471
|
}];
|
|
1574
1472
|
readonly stateMutability: "view";
|
|
1575
1473
|
readonly type: "function";
|
|
1576
1474
|
}, {
|
|
1577
|
-
readonly inputs: readonly [
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
readonly name: "lpTokenId";
|
|
1581
|
-
readonly type: "uint256";
|
|
1582
|
-
}, {
|
|
1583
|
-
readonly internalType: "uint256";
|
|
1584
|
-
readonly name: "creatorReward";
|
|
1585
|
-
readonly type: "uint256";
|
|
1586
|
-
}, {
|
|
1587
|
-
readonly components: readonly [{
|
|
1588
|
-
readonly internalType: "address";
|
|
1589
|
-
readonly name: "admin";
|
|
1590
|
-
readonly type: "address";
|
|
1591
|
-
}, {
|
|
1592
|
-
readonly internalType: "address";
|
|
1593
|
-
readonly name: "recipient";
|
|
1594
|
-
readonly type: "address";
|
|
1595
|
-
}];
|
|
1596
|
-
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1597
|
-
readonly name: "creator";
|
|
1598
|
-
readonly type: "tuple";
|
|
1599
|
-
}, {
|
|
1600
|
-
readonly components: readonly [{
|
|
1601
|
-
readonly internalType: "address";
|
|
1602
|
-
readonly name: "admin";
|
|
1603
|
-
readonly type: "address";
|
|
1604
|
-
}, {
|
|
1605
|
-
readonly internalType: "address";
|
|
1606
|
-
readonly name: "recipient";
|
|
1607
|
-
readonly type: "address";
|
|
1608
|
-
}];
|
|
1609
|
-
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
1610
|
-
readonly name: "interfacer";
|
|
1611
|
-
readonly type: "tuple";
|
|
1612
|
-
}];
|
|
1613
|
-
readonly internalType: "struct ILpLockerv2.TokenRewardInfo";
|
|
1614
|
-
readonly name: "tokenRewardInfo";
|
|
1615
|
-
readonly type: "tuple";
|
|
1616
|
-
}];
|
|
1617
|
-
readonly name: "addTokenReward";
|
|
1618
|
-
readonly outputs: readonly [];
|
|
1619
|
-
readonly stateMutability: "nonpayable";
|
|
1620
|
-
readonly type: "function";
|
|
1621
|
-
}, {
|
|
1622
|
-
readonly inputs: readonly [{
|
|
1475
|
+
readonly inputs: readonly [];
|
|
1476
|
+
readonly name: "MAX_VAULT_PERCENTAGE";
|
|
1477
|
+
readonly outputs: readonly [{
|
|
1623
1478
|
readonly internalType: "uint256";
|
|
1624
|
-
readonly name: "
|
|
1479
|
+
readonly name: "";
|
|
1625
1480
|
readonly type: "uint256";
|
|
1626
1481
|
}];
|
|
1627
|
-
readonly
|
|
1628
|
-
readonly outputs: readonly [];
|
|
1629
|
-
readonly stateMutability: "nonpayable";
|
|
1482
|
+
readonly stateMutability: "view";
|
|
1630
1483
|
readonly type: "function";
|
|
1631
1484
|
}, {
|
|
1632
|
-
readonly inputs: readonly [
|
|
1633
|
-
|
|
1634
|
-
readonly name: "";
|
|
1635
|
-
readonly type: "address";
|
|
1636
|
-
}, {
|
|
1637
|
-
readonly internalType: "uint256";
|
|
1638
|
-
readonly name: "";
|
|
1639
|
-
readonly type: "uint256";
|
|
1640
|
-
}];
|
|
1641
|
-
readonly name: "creatorTokenIds";
|
|
1485
|
+
readonly inputs: readonly [];
|
|
1486
|
+
readonly name: "POOL_FEE";
|
|
1642
1487
|
readonly outputs: readonly [{
|
|
1643
|
-
readonly internalType: "
|
|
1488
|
+
readonly internalType: "uint24";
|
|
1644
1489
|
readonly name: "";
|
|
1645
|
-
readonly type: "
|
|
1490
|
+
readonly type: "uint24";
|
|
1646
1491
|
}];
|
|
1647
1492
|
readonly stateMutability: "view";
|
|
1648
1493
|
readonly type: "function";
|
|
1649
1494
|
}, {
|
|
1650
1495
|
readonly inputs: readonly [];
|
|
1651
|
-
readonly name: "
|
|
1496
|
+
readonly name: "TICK_SPACING";
|
|
1652
1497
|
readonly outputs: readonly [{
|
|
1653
|
-
readonly internalType: "
|
|
1498
|
+
readonly internalType: "int24";
|
|
1654
1499
|
readonly name: "";
|
|
1655
|
-
readonly type: "
|
|
1500
|
+
readonly type: "int24";
|
|
1656
1501
|
}];
|
|
1657
1502
|
readonly stateMutability: "view";
|
|
1658
1503
|
readonly type: "function";
|
|
1659
1504
|
}, {
|
|
1660
|
-
readonly inputs: readonly [
|
|
1661
|
-
|
|
1662
|
-
readonly name: "user";
|
|
1663
|
-
readonly type: "address";
|
|
1664
|
-
}];
|
|
1665
|
-
readonly name: "getLpTokenIdsForCreator";
|
|
1505
|
+
readonly inputs: readonly [];
|
|
1506
|
+
readonly name: "TOKEN_SUPPLY";
|
|
1666
1507
|
readonly outputs: readonly [{
|
|
1667
|
-
readonly internalType: "uint256
|
|
1508
|
+
readonly internalType: "uint256";
|
|
1668
1509
|
readonly name: "";
|
|
1669
|
-
readonly type: "uint256
|
|
1510
|
+
readonly type: "uint256";
|
|
1670
1511
|
}];
|
|
1671
1512
|
readonly stateMutability: "view";
|
|
1672
1513
|
readonly type: "function";
|
|
@@ -1675,314 +1516,610 @@ declare const LpLockerv2_abi: readonly [{
|
|
|
1675
1516
|
readonly internalType: "address";
|
|
1676
1517
|
readonly name: "";
|
|
1677
1518
|
readonly type: "address";
|
|
1678
|
-
}, {
|
|
1679
|
-
readonly internalType: "address";
|
|
1680
|
-
readonly name: "from";
|
|
1681
|
-
readonly type: "address";
|
|
1682
|
-
}, {
|
|
1683
|
-
readonly internalType: "uint256";
|
|
1684
|
-
readonly name: "id";
|
|
1685
|
-
readonly type: "uint256";
|
|
1686
|
-
}, {
|
|
1687
|
-
readonly internalType: "bytes";
|
|
1688
|
-
readonly name: "";
|
|
1689
|
-
readonly type: "bytes";
|
|
1690
|
-
}];
|
|
1691
|
-
readonly name: "onERC721Received";
|
|
1692
|
-
readonly outputs: readonly [{
|
|
1693
|
-
readonly internalType: "bytes4";
|
|
1694
|
-
readonly name: "";
|
|
1695
|
-
readonly type: "bytes4";
|
|
1696
|
-
}];
|
|
1697
|
-
readonly stateMutability: "nonpayable";
|
|
1698
|
-
readonly type: "function";
|
|
1699
|
-
}, {
|
|
1700
|
-
readonly inputs: readonly [];
|
|
1701
|
-
readonly name: "owner";
|
|
1702
|
-
readonly outputs: readonly [{
|
|
1703
|
-
readonly internalType: "address";
|
|
1704
|
-
readonly name: "";
|
|
1705
|
-
readonly type: "address";
|
|
1706
1519
|
}];
|
|
1707
|
-
readonly
|
|
1708
|
-
readonly type: "function";
|
|
1709
|
-
}, {
|
|
1710
|
-
readonly inputs: readonly [];
|
|
1711
|
-
readonly name: "positionManager";
|
|
1520
|
+
readonly name: "admins";
|
|
1712
1521
|
readonly outputs: readonly [{
|
|
1713
|
-
readonly internalType: "
|
|
1522
|
+
readonly internalType: "bool";
|
|
1714
1523
|
readonly name: "";
|
|
1715
|
-
readonly type: "
|
|
1524
|
+
readonly type: "bool";
|
|
1716
1525
|
}];
|
|
1717
1526
|
readonly stateMutability: "view";
|
|
1718
1527
|
readonly type: "function";
|
|
1719
|
-
}, {
|
|
1720
|
-
readonly inputs: readonly [];
|
|
1721
|
-
readonly name: "renounceOwnership";
|
|
1722
|
-
readonly outputs: readonly [];
|
|
1723
|
-
readonly stateMutability: "nonpayable";
|
|
1724
|
-
readonly type: "function";
|
|
1725
1528
|
}, {
|
|
1726
1529
|
readonly inputs: readonly [{
|
|
1727
|
-
readonly internalType: "uint256";
|
|
1728
|
-
readonly name: "tokenId";
|
|
1729
|
-
readonly type: "uint256";
|
|
1730
|
-
}, {
|
|
1731
1530
|
readonly internalType: "address";
|
|
1732
|
-
readonly name: "
|
|
1531
|
+
readonly name: "token";
|
|
1733
1532
|
readonly type: "address";
|
|
1734
1533
|
}];
|
|
1735
|
-
readonly name: "
|
|
1534
|
+
readonly name: "claimRewards";
|
|
1736
1535
|
readonly outputs: readonly [];
|
|
1737
1536
|
readonly stateMutability: "nonpayable";
|
|
1738
1537
|
readonly type: "function";
|
|
1739
1538
|
}, {
|
|
1740
1539
|
readonly inputs: readonly [{
|
|
1741
|
-
readonly internalType: "uint256";
|
|
1742
|
-
readonly name: "";
|
|
1743
|
-
readonly type: "uint256";
|
|
1744
|
-
}];
|
|
1745
|
-
readonly name: "teamOverrideRewardRecipientForToken";
|
|
1746
|
-
readonly outputs: readonly [{
|
|
1747
|
-
readonly internalType: "address";
|
|
1748
|
-
readonly name: "";
|
|
1749
|
-
readonly type: "address";
|
|
1750
|
-
}];
|
|
1751
|
-
readonly stateMutability: "view";
|
|
1752
|
-
readonly type: "function";
|
|
1753
|
-
}, {
|
|
1754
|
-
readonly inputs: readonly [];
|
|
1755
|
-
readonly name: "teamRecipient";
|
|
1756
|
-
readonly outputs: readonly [{
|
|
1757
|
-
readonly internalType: "address";
|
|
1758
|
-
readonly name: "";
|
|
1759
|
-
readonly type: "address";
|
|
1760
|
-
}];
|
|
1761
|
-
readonly stateMutability: "view";
|
|
1762
|
-
readonly type: "function";
|
|
1763
|
-
}, {
|
|
1764
|
-
readonly inputs: readonly [{
|
|
1765
|
-
readonly internalType: "uint256";
|
|
1766
|
-
readonly name: "";
|
|
1767
|
-
readonly type: "uint256";
|
|
1768
|
-
}];
|
|
1769
|
-
readonly name: "tokenRewards";
|
|
1770
|
-
readonly outputs: readonly [{
|
|
1771
|
-
readonly internalType: "uint256";
|
|
1772
|
-
readonly name: "lpTokenId";
|
|
1773
|
-
readonly type: "uint256";
|
|
1774
|
-
}, {
|
|
1775
|
-
readonly internalType: "uint256";
|
|
1776
|
-
readonly name: "creatorReward";
|
|
1777
|
-
readonly type: "uint256";
|
|
1778
|
-
}, {
|
|
1779
1540
|
readonly components: readonly [{
|
|
1780
|
-
readonly
|
|
1781
|
-
|
|
1782
|
-
|
|
1541
|
+
readonly components: readonly [{
|
|
1542
|
+
readonly internalType: "string";
|
|
1543
|
+
readonly name: "name";
|
|
1544
|
+
readonly type: "string";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly internalType: "string";
|
|
1547
|
+
readonly name: "symbol";
|
|
1548
|
+
readonly type: "string";
|
|
1549
|
+
}, {
|
|
1550
|
+
readonly internalType: "bytes32";
|
|
1551
|
+
readonly name: "salt";
|
|
1552
|
+
readonly type: "bytes32";
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly internalType: "string";
|
|
1555
|
+
readonly name: "image";
|
|
1556
|
+
readonly type: "string";
|
|
1557
|
+
}, {
|
|
1558
|
+
readonly internalType: "string";
|
|
1559
|
+
readonly name: "metadata";
|
|
1560
|
+
readonly type: "string";
|
|
1561
|
+
}, {
|
|
1562
|
+
readonly internalType: "string";
|
|
1563
|
+
readonly name: "context";
|
|
1564
|
+
readonly type: "string";
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly internalType: "uint256";
|
|
1567
|
+
readonly name: "originatingChainId";
|
|
1568
|
+
readonly type: "uint256";
|
|
1569
|
+
}];
|
|
1570
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
1571
|
+
readonly name: "tokenConfig";
|
|
1572
|
+
readonly type: "tuple";
|
|
1783
1573
|
}, {
|
|
1784
|
-
readonly
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
readonly internalType: "
|
|
1794
|
-
readonly name: "
|
|
1795
|
-
readonly type: "
|
|
1574
|
+
readonly components: readonly [{
|
|
1575
|
+
readonly internalType: "uint8";
|
|
1576
|
+
readonly name: "vaultPercentage";
|
|
1577
|
+
readonly type: "uint8";
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly internalType: "uint256";
|
|
1580
|
+
readonly name: "vaultDuration";
|
|
1581
|
+
readonly type: "uint256";
|
|
1582
|
+
}];
|
|
1583
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
1584
|
+
readonly name: "vaultConfig";
|
|
1585
|
+
readonly type: "tuple";
|
|
1796
1586
|
}, {
|
|
1797
|
-
readonly
|
|
1798
|
-
|
|
1799
|
-
|
|
1587
|
+
readonly components: readonly [{
|
|
1588
|
+
readonly internalType: "address";
|
|
1589
|
+
readonly name: "pairedToken";
|
|
1590
|
+
readonly type: "address";
|
|
1591
|
+
}, {
|
|
1592
|
+
readonly internalType: "int24";
|
|
1593
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
1594
|
+
readonly type: "int24";
|
|
1595
|
+
}];
|
|
1596
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
1597
|
+
readonly name: "poolConfig";
|
|
1598
|
+
readonly type: "tuple";
|
|
1599
|
+
}, {
|
|
1600
|
+
readonly components: readonly [{
|
|
1601
|
+
readonly internalType: "uint24";
|
|
1602
|
+
readonly name: "pairedTokenPoolFee";
|
|
1603
|
+
readonly type: "uint24";
|
|
1604
|
+
}, {
|
|
1605
|
+
readonly internalType: "uint256";
|
|
1606
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
1607
|
+
readonly type: "uint256";
|
|
1608
|
+
}];
|
|
1609
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
1610
|
+
readonly name: "initialBuyConfig";
|
|
1611
|
+
readonly type: "tuple";
|
|
1612
|
+
}, {
|
|
1613
|
+
readonly components: readonly [{
|
|
1614
|
+
readonly internalType: "uint256";
|
|
1615
|
+
readonly name: "creatorReward";
|
|
1616
|
+
readonly type: "uint256";
|
|
1617
|
+
}, {
|
|
1618
|
+
readonly internalType: "address";
|
|
1619
|
+
readonly name: "creatorAdmin";
|
|
1620
|
+
readonly type: "address";
|
|
1621
|
+
}, {
|
|
1622
|
+
readonly internalType: "address";
|
|
1623
|
+
readonly name: "creatorRewardRecipient";
|
|
1624
|
+
readonly type: "address";
|
|
1625
|
+
}, {
|
|
1626
|
+
readonly internalType: "address";
|
|
1627
|
+
readonly name: "interfaceAdmin";
|
|
1628
|
+
readonly type: "address";
|
|
1629
|
+
}, {
|
|
1630
|
+
readonly internalType: "address";
|
|
1631
|
+
readonly name: "interfaceRewardRecipient";
|
|
1632
|
+
readonly type: "address";
|
|
1633
|
+
}];
|
|
1634
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
1635
|
+
readonly name: "rewardsConfig";
|
|
1636
|
+
readonly type: "tuple";
|
|
1800
1637
|
}];
|
|
1801
|
-
readonly internalType: "struct
|
|
1802
|
-
readonly name: "
|
|
1638
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
1639
|
+
readonly name: "deploymentConfig";
|
|
1803
1640
|
readonly type: "tuple";
|
|
1804
1641
|
}];
|
|
1805
|
-
readonly
|
|
1806
|
-
readonly
|
|
1807
|
-
}, {
|
|
1808
|
-
readonly inputs: readonly [{
|
|
1642
|
+
readonly name: "deployToken";
|
|
1643
|
+
readonly outputs: readonly [{
|
|
1809
1644
|
readonly internalType: "address";
|
|
1810
|
-
readonly name: "
|
|
1645
|
+
readonly name: "tokenAddress";
|
|
1811
1646
|
readonly type: "address";
|
|
1647
|
+
}, {
|
|
1648
|
+
readonly internalType: "uint256";
|
|
1649
|
+
readonly name: "positionId";
|
|
1650
|
+
readonly type: "uint256";
|
|
1812
1651
|
}];
|
|
1813
|
-
readonly
|
|
1814
|
-
readonly outputs: readonly [];
|
|
1815
|
-
readonly stateMutability: "nonpayable";
|
|
1652
|
+
readonly stateMutability: "payable";
|
|
1816
1653
|
readonly type: "function";
|
|
1817
1654
|
}, {
|
|
1818
1655
|
readonly inputs: readonly [{
|
|
1819
|
-
readonly
|
|
1820
|
-
|
|
1821
|
-
|
|
1656
|
+
readonly components: readonly [{
|
|
1657
|
+
readonly components: readonly [{
|
|
1658
|
+
readonly internalType: "string";
|
|
1659
|
+
readonly name: "name";
|
|
1660
|
+
readonly type: "string";
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly internalType: "string";
|
|
1663
|
+
readonly name: "symbol";
|
|
1664
|
+
readonly type: "string";
|
|
1665
|
+
}, {
|
|
1666
|
+
readonly internalType: "bytes32";
|
|
1667
|
+
readonly name: "salt";
|
|
1668
|
+
readonly type: "bytes32";
|
|
1669
|
+
}, {
|
|
1670
|
+
readonly internalType: "string";
|
|
1671
|
+
readonly name: "image";
|
|
1672
|
+
readonly type: "string";
|
|
1673
|
+
}, {
|
|
1674
|
+
readonly internalType: "string";
|
|
1675
|
+
readonly name: "metadata";
|
|
1676
|
+
readonly type: "string";
|
|
1677
|
+
}, {
|
|
1678
|
+
readonly internalType: "string";
|
|
1679
|
+
readonly name: "context";
|
|
1680
|
+
readonly type: "string";
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly internalType: "uint256";
|
|
1683
|
+
readonly name: "originatingChainId";
|
|
1684
|
+
readonly type: "uint256";
|
|
1685
|
+
}];
|
|
1686
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
1687
|
+
readonly name: "tokenConfig";
|
|
1688
|
+
readonly type: "tuple";
|
|
1689
|
+
}, {
|
|
1690
|
+
readonly components: readonly [{
|
|
1691
|
+
readonly internalType: "uint8";
|
|
1692
|
+
readonly name: "vaultPercentage";
|
|
1693
|
+
readonly type: "uint8";
|
|
1694
|
+
}, {
|
|
1695
|
+
readonly internalType: "uint256";
|
|
1696
|
+
readonly name: "vaultDuration";
|
|
1697
|
+
readonly type: "uint256";
|
|
1698
|
+
}];
|
|
1699
|
+
readonly internalType: "struct IClanker.VaultConfig";
|
|
1700
|
+
readonly name: "vaultConfig";
|
|
1701
|
+
readonly type: "tuple";
|
|
1702
|
+
}, {
|
|
1703
|
+
readonly components: readonly [{
|
|
1704
|
+
readonly internalType: "address";
|
|
1705
|
+
readonly name: "pairedToken";
|
|
1706
|
+
readonly type: "address";
|
|
1707
|
+
}, {
|
|
1708
|
+
readonly internalType: "int24";
|
|
1709
|
+
readonly name: "tickIfToken0IsNewToken";
|
|
1710
|
+
readonly type: "int24";
|
|
1711
|
+
}];
|
|
1712
|
+
readonly internalType: "struct IClanker.PoolConfig";
|
|
1713
|
+
readonly name: "poolConfig";
|
|
1714
|
+
readonly type: "tuple";
|
|
1715
|
+
}, {
|
|
1716
|
+
readonly components: readonly [{
|
|
1717
|
+
readonly internalType: "uint24";
|
|
1718
|
+
readonly name: "pairedTokenPoolFee";
|
|
1719
|
+
readonly type: "uint24";
|
|
1720
|
+
}, {
|
|
1721
|
+
readonly internalType: "uint256";
|
|
1722
|
+
readonly name: "pairedTokenSwapAmountOutMinimum";
|
|
1723
|
+
readonly type: "uint256";
|
|
1724
|
+
}];
|
|
1725
|
+
readonly internalType: "struct IClanker.InitialBuyConfig";
|
|
1726
|
+
readonly name: "initialBuyConfig";
|
|
1727
|
+
readonly type: "tuple";
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly components: readonly [{
|
|
1730
|
+
readonly internalType: "uint256";
|
|
1731
|
+
readonly name: "creatorReward";
|
|
1732
|
+
readonly type: "uint256";
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly internalType: "address";
|
|
1735
|
+
readonly name: "creatorAdmin";
|
|
1736
|
+
readonly type: "address";
|
|
1737
|
+
}, {
|
|
1738
|
+
readonly internalType: "address";
|
|
1739
|
+
readonly name: "creatorRewardRecipient";
|
|
1740
|
+
readonly type: "address";
|
|
1741
|
+
}, {
|
|
1742
|
+
readonly internalType: "address";
|
|
1743
|
+
readonly name: "interfaceAdmin";
|
|
1744
|
+
readonly type: "address";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly internalType: "address";
|
|
1747
|
+
readonly name: "interfaceRewardRecipient";
|
|
1748
|
+
readonly type: "address";
|
|
1749
|
+
}];
|
|
1750
|
+
readonly internalType: "struct IClanker.RewardsConfig";
|
|
1751
|
+
readonly name: "rewardsConfig";
|
|
1752
|
+
readonly type: "tuple";
|
|
1753
|
+
}];
|
|
1754
|
+
readonly internalType: "struct IClanker.DeploymentConfig";
|
|
1755
|
+
readonly name: "deploymentConfig";
|
|
1756
|
+
readonly type: "tuple";
|
|
1822
1757
|
}, {
|
|
1823
1758
|
readonly internalType: "address";
|
|
1824
|
-
readonly name: "
|
|
1759
|
+
readonly name: "teamRewardRecipient";
|
|
1825
1760
|
readonly type: "address";
|
|
1826
1761
|
}];
|
|
1827
|
-
readonly name: "
|
|
1828
|
-
readonly outputs: readonly [
|
|
1829
|
-
|
|
1762
|
+
readonly name: "deployTokenWithCustomTeamRewardRecipient";
|
|
1763
|
+
readonly outputs: readonly [{
|
|
1764
|
+
readonly internalType: "address";
|
|
1765
|
+
readonly name: "tokenAddress";
|
|
1766
|
+
readonly type: "address";
|
|
1767
|
+
}, {
|
|
1768
|
+
readonly internalType: "uint256";
|
|
1769
|
+
readonly name: "positionId";
|
|
1770
|
+
readonly type: "uint256";
|
|
1771
|
+
}];
|
|
1772
|
+
readonly stateMutability: "payable";
|
|
1830
1773
|
readonly type: "function";
|
|
1831
1774
|
}, {
|
|
1832
1775
|
readonly inputs: readonly [{
|
|
1833
|
-
readonly
|
|
1834
|
-
|
|
1835
|
-
|
|
1776
|
+
readonly components: readonly [{
|
|
1777
|
+
readonly internalType: "string";
|
|
1778
|
+
readonly name: "name";
|
|
1779
|
+
readonly type: "string";
|
|
1780
|
+
}, {
|
|
1781
|
+
readonly internalType: "string";
|
|
1782
|
+
readonly name: "symbol";
|
|
1783
|
+
readonly type: "string";
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly internalType: "bytes32";
|
|
1786
|
+
readonly name: "salt";
|
|
1787
|
+
readonly type: "bytes32";
|
|
1788
|
+
}, {
|
|
1789
|
+
readonly internalType: "string";
|
|
1790
|
+
readonly name: "image";
|
|
1791
|
+
readonly type: "string";
|
|
1792
|
+
}, {
|
|
1793
|
+
readonly internalType: "string";
|
|
1794
|
+
readonly name: "metadata";
|
|
1795
|
+
readonly type: "string";
|
|
1796
|
+
}, {
|
|
1797
|
+
readonly internalType: "string";
|
|
1798
|
+
readonly name: "context";
|
|
1799
|
+
readonly type: "string";
|
|
1800
|
+
}, {
|
|
1801
|
+
readonly internalType: "uint256";
|
|
1802
|
+
readonly name: "originatingChainId";
|
|
1803
|
+
readonly type: "uint256";
|
|
1804
|
+
}];
|
|
1805
|
+
readonly internalType: "struct IClanker.TokenConfig";
|
|
1806
|
+
readonly name: "tokenConfig";
|
|
1807
|
+
readonly type: "tuple";
|
|
1836
1808
|
}, {
|
|
1837
1809
|
readonly internalType: "address";
|
|
1838
|
-
readonly name: "
|
|
1810
|
+
readonly name: "tokenAdmin";
|
|
1811
|
+
readonly type: "address";
|
|
1812
|
+
}];
|
|
1813
|
+
readonly name: "deployTokenZeroSupply";
|
|
1814
|
+
readonly outputs: readonly [{
|
|
1815
|
+
readonly internalType: "address";
|
|
1816
|
+
readonly name: "tokenAddress";
|
|
1839
1817
|
readonly type: "address";
|
|
1840
1818
|
}];
|
|
1841
|
-
readonly name: "updateCreatorRewardRecipient";
|
|
1842
|
-
readonly outputs: readonly [];
|
|
1843
1819
|
readonly stateMutability: "nonpayable";
|
|
1844
1820
|
readonly type: "function";
|
|
1845
1821
|
}, {
|
|
1846
1822
|
readonly inputs: readonly [{
|
|
1823
|
+
readonly internalType: "address";
|
|
1824
|
+
readonly name: "";
|
|
1825
|
+
readonly type: "address";
|
|
1826
|
+
}];
|
|
1827
|
+
readonly name: "deploymentInfoForToken";
|
|
1828
|
+
readonly outputs: readonly [{
|
|
1829
|
+
readonly internalType: "address";
|
|
1830
|
+
readonly name: "token";
|
|
1831
|
+
readonly type: "address";
|
|
1832
|
+
}, {
|
|
1847
1833
|
readonly internalType: "uint256";
|
|
1848
|
-
readonly name: "
|
|
1834
|
+
readonly name: "positionId";
|
|
1849
1835
|
readonly type: "uint256";
|
|
1850
1836
|
}, {
|
|
1851
1837
|
readonly internalType: "address";
|
|
1852
|
-
readonly name: "
|
|
1838
|
+
readonly name: "locker";
|
|
1853
1839
|
readonly type: "address";
|
|
1854
1840
|
}];
|
|
1855
|
-
readonly
|
|
1856
|
-
readonly
|
|
1857
|
-
|
|
1841
|
+
readonly stateMutability: "view";
|
|
1842
|
+
readonly type: "function";
|
|
1843
|
+
}, {
|
|
1844
|
+
readonly inputs: readonly [];
|
|
1845
|
+
readonly name: "deprecated";
|
|
1846
|
+
readonly outputs: readonly [{
|
|
1847
|
+
readonly internalType: "bool";
|
|
1848
|
+
readonly name: "";
|
|
1849
|
+
readonly type: "bool";
|
|
1850
|
+
}];
|
|
1851
|
+
readonly stateMutability: "view";
|
|
1858
1852
|
readonly type: "function";
|
|
1859
1853
|
}, {
|
|
1860
1854
|
readonly inputs: readonly [{
|
|
1861
|
-
readonly internalType: "
|
|
1862
|
-
readonly name: "
|
|
1863
|
-
readonly type: "
|
|
1855
|
+
readonly internalType: "address";
|
|
1856
|
+
readonly name: "user";
|
|
1857
|
+
readonly type: "address";
|
|
1858
|
+
}];
|
|
1859
|
+
readonly name: "getTokensDeployedByUser";
|
|
1860
|
+
readonly outputs: readonly [{
|
|
1861
|
+
readonly components: readonly [{
|
|
1862
|
+
readonly internalType: "address";
|
|
1863
|
+
readonly name: "token";
|
|
1864
|
+
readonly type: "address";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly internalType: "uint256";
|
|
1867
|
+
readonly name: "positionId";
|
|
1868
|
+
readonly type: "uint256";
|
|
1869
|
+
}, {
|
|
1870
|
+
readonly internalType: "address";
|
|
1871
|
+
readonly name: "locker";
|
|
1872
|
+
readonly type: "address";
|
|
1873
|
+
}];
|
|
1874
|
+
readonly internalType: "struct IClanker.DeploymentInfo[]";
|
|
1875
|
+
readonly name: "";
|
|
1876
|
+
readonly type: "tuple[]";
|
|
1877
|
+
}];
|
|
1878
|
+
readonly stateMutability: "view";
|
|
1879
|
+
readonly type: "function";
|
|
1880
|
+
}, {
|
|
1881
|
+
readonly inputs: readonly [{
|
|
1882
|
+
readonly internalType: "address";
|
|
1883
|
+
readonly name: "uniswapV3Factory_";
|
|
1884
|
+
readonly type: "address";
|
|
1864
1885
|
}, {
|
|
1865
1886
|
readonly internalType: "address";
|
|
1866
|
-
readonly name: "
|
|
1887
|
+
readonly name: "positionManager_";
|
|
1888
|
+
readonly type: "address";
|
|
1889
|
+
}, {
|
|
1890
|
+
readonly internalType: "address";
|
|
1891
|
+
readonly name: "swapRouter_";
|
|
1892
|
+
readonly type: "address";
|
|
1893
|
+
}, {
|
|
1894
|
+
readonly internalType: "address";
|
|
1895
|
+
readonly name: "weth_";
|
|
1896
|
+
readonly type: "address";
|
|
1897
|
+
}, {
|
|
1898
|
+
readonly internalType: "address";
|
|
1899
|
+
readonly name: "liquidityLocker_";
|
|
1900
|
+
readonly type: "address";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly internalType: "address";
|
|
1903
|
+
readonly name: "vault_";
|
|
1867
1904
|
readonly type: "address";
|
|
1868
1905
|
}];
|
|
1869
|
-
readonly name: "
|
|
1906
|
+
readonly name: "initialize";
|
|
1907
|
+
readonly outputs: readonly [];
|
|
1908
|
+
readonly stateMutability: "nonpayable";
|
|
1909
|
+
readonly type: "function";
|
|
1910
|
+
}, {
|
|
1911
|
+
readonly inputs: readonly [];
|
|
1912
|
+
readonly name: "liquidityLocker";
|
|
1913
|
+
readonly outputs: readonly [{
|
|
1914
|
+
readonly internalType: "contract ILpLockerv2";
|
|
1915
|
+
readonly name: "";
|
|
1916
|
+
readonly type: "address";
|
|
1917
|
+
}];
|
|
1918
|
+
readonly stateMutability: "view";
|
|
1919
|
+
readonly type: "function";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly inputs: readonly [];
|
|
1922
|
+
readonly name: "owner";
|
|
1923
|
+
readonly outputs: readonly [{
|
|
1924
|
+
readonly internalType: "address";
|
|
1925
|
+
readonly name: "";
|
|
1926
|
+
readonly type: "address";
|
|
1927
|
+
}];
|
|
1928
|
+
readonly stateMutability: "view";
|
|
1929
|
+
readonly type: "function";
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly inputs: readonly [];
|
|
1932
|
+
readonly name: "positionManager";
|
|
1933
|
+
readonly outputs: readonly [{
|
|
1934
|
+
readonly internalType: "contract INonfungiblePositionManager";
|
|
1935
|
+
readonly name: "";
|
|
1936
|
+
readonly type: "address";
|
|
1937
|
+
}];
|
|
1938
|
+
readonly stateMutability: "view";
|
|
1939
|
+
readonly type: "function";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly inputs: readonly [];
|
|
1942
|
+
readonly name: "renounceOwnership";
|
|
1870
1943
|
readonly outputs: readonly [];
|
|
1871
1944
|
readonly stateMutability: "nonpayable";
|
|
1872
1945
|
readonly type: "function";
|
|
1873
1946
|
}, {
|
|
1874
1947
|
readonly inputs: readonly [{
|
|
1875
1948
|
readonly internalType: "address";
|
|
1876
|
-
readonly name: "
|
|
1949
|
+
readonly name: "admin";
|
|
1877
1950
|
readonly type: "address";
|
|
1951
|
+
}, {
|
|
1952
|
+
readonly internalType: "bool";
|
|
1953
|
+
readonly name: "isAdmin";
|
|
1954
|
+
readonly type: "bool";
|
|
1878
1955
|
}];
|
|
1879
|
-
readonly name: "
|
|
1956
|
+
readonly name: "setAdmin";
|
|
1957
|
+
readonly outputs: readonly [];
|
|
1958
|
+
readonly stateMutability: "nonpayable";
|
|
1959
|
+
readonly type: "function";
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly inputs: readonly [{
|
|
1962
|
+
readonly internalType: "bool";
|
|
1963
|
+
readonly name: "deprecated_";
|
|
1964
|
+
readonly type: "bool";
|
|
1965
|
+
}];
|
|
1966
|
+
readonly name: "setDeprecated";
|
|
1880
1967
|
readonly outputs: readonly [];
|
|
1881
1968
|
readonly stateMutability: "nonpayable";
|
|
1882
1969
|
readonly type: "function";
|
|
1883
1970
|
}, {
|
|
1884
1971
|
readonly inputs: readonly [];
|
|
1885
|
-
readonly name: "
|
|
1972
|
+
readonly name: "swapRouter";
|
|
1886
1973
|
readonly outputs: readonly [{
|
|
1887
|
-
readonly internalType: "
|
|
1974
|
+
readonly internalType: "contract ISwapRouter";
|
|
1888
1975
|
readonly name: "";
|
|
1889
|
-
readonly type: "
|
|
1976
|
+
readonly type: "address";
|
|
1890
1977
|
}];
|
|
1891
1978
|
readonly stateMutability: "view";
|
|
1892
1979
|
readonly type: "function";
|
|
1893
1980
|
}, {
|
|
1894
1981
|
readonly inputs: readonly [{
|
|
1982
|
+
readonly internalType: "address";
|
|
1983
|
+
readonly name: "";
|
|
1984
|
+
readonly type: "address";
|
|
1985
|
+
}, {
|
|
1986
|
+
readonly internalType: "uint256";
|
|
1987
|
+
readonly name: "";
|
|
1988
|
+
readonly type: "uint256";
|
|
1989
|
+
}];
|
|
1990
|
+
readonly name: "tokensDeployedByUsers";
|
|
1991
|
+
readonly outputs: readonly [{
|
|
1895
1992
|
readonly internalType: "address";
|
|
1896
1993
|
readonly name: "token";
|
|
1897
1994
|
readonly type: "address";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly internalType: "uint256";
|
|
1997
|
+
readonly name: "positionId";
|
|
1998
|
+
readonly type: "uint256";
|
|
1898
1999
|
}, {
|
|
1899
2000
|
readonly internalType: "address";
|
|
1900
|
-
readonly name: "
|
|
2001
|
+
readonly name: "locker";
|
|
1901
2002
|
readonly type: "address";
|
|
1902
2003
|
}];
|
|
1903
|
-
readonly
|
|
2004
|
+
readonly stateMutability: "view";
|
|
2005
|
+
readonly type: "function";
|
|
2006
|
+
}, {
|
|
2007
|
+
readonly inputs: readonly [{
|
|
2008
|
+
readonly internalType: "address";
|
|
2009
|
+
readonly name: "newOwner";
|
|
2010
|
+
readonly type: "address";
|
|
2011
|
+
}];
|
|
2012
|
+
readonly name: "transferOwnership";
|
|
2013
|
+
readonly outputs: readonly [];
|
|
2014
|
+
readonly stateMutability: "nonpayable";
|
|
2015
|
+
readonly type: "function";
|
|
2016
|
+
}, {
|
|
2017
|
+
readonly inputs: readonly [];
|
|
2018
|
+
readonly name: "uniswapV3Factory";
|
|
2019
|
+
readonly outputs: readonly [{
|
|
2020
|
+
readonly internalType: "contract IUniswapV3Factory";
|
|
2021
|
+
readonly name: "";
|
|
2022
|
+
readonly type: "address";
|
|
2023
|
+
}];
|
|
2024
|
+
readonly stateMutability: "view";
|
|
2025
|
+
readonly type: "function";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly inputs: readonly [{
|
|
2028
|
+
readonly internalType: "address";
|
|
2029
|
+
readonly name: "newLocker";
|
|
2030
|
+
readonly type: "address";
|
|
2031
|
+
}];
|
|
2032
|
+
readonly name: "updateLiquidityLocker";
|
|
1904
2033
|
readonly outputs: readonly [];
|
|
1905
2034
|
readonly stateMutability: "nonpayable";
|
|
1906
2035
|
readonly type: "function";
|
|
1907
2036
|
}, {
|
|
1908
2037
|
readonly inputs: readonly [{
|
|
1909
2038
|
readonly internalType: "address";
|
|
1910
|
-
readonly name: "
|
|
2039
|
+
readonly name: "newVault";
|
|
1911
2040
|
readonly type: "address";
|
|
1912
2041
|
}];
|
|
1913
|
-
readonly name: "
|
|
2042
|
+
readonly name: "updateVault";
|
|
1914
2043
|
readonly outputs: readonly [];
|
|
1915
2044
|
readonly stateMutability: "nonpayable";
|
|
1916
2045
|
readonly type: "function";
|
|
2046
|
+
}, {
|
|
2047
|
+
readonly inputs: readonly [];
|
|
2048
|
+
readonly name: "vault";
|
|
2049
|
+
readonly outputs: readonly [{
|
|
2050
|
+
readonly internalType: "contract IClankerVault";
|
|
2051
|
+
readonly name: "";
|
|
2052
|
+
readonly type: "address";
|
|
2053
|
+
}];
|
|
2054
|
+
readonly stateMutability: "view";
|
|
2055
|
+
readonly type: "function";
|
|
2056
|
+
}, {
|
|
2057
|
+
readonly inputs: readonly [];
|
|
2058
|
+
readonly name: "weth";
|
|
2059
|
+
readonly outputs: readonly [{
|
|
2060
|
+
readonly internalType: "address";
|
|
2061
|
+
readonly name: "";
|
|
2062
|
+
readonly type: "address";
|
|
2063
|
+
}];
|
|
2064
|
+
readonly stateMutability: "view";
|
|
2065
|
+
readonly type: "function";
|
|
1917
2066
|
}];
|
|
1918
2067
|
|
|
1919
|
-
declare const
|
|
2068
|
+
declare const LpLockerv2_abi: readonly [{
|
|
1920
2069
|
readonly inputs: readonly [{
|
|
1921
2070
|
readonly internalType: "address";
|
|
1922
2071
|
readonly name: "owner_";
|
|
1923
2072
|
readonly type: "address";
|
|
2073
|
+
}, {
|
|
2074
|
+
readonly internalType: "address";
|
|
2075
|
+
readonly name: "tokenFactory_";
|
|
2076
|
+
readonly type: "address";
|
|
2077
|
+
}, {
|
|
2078
|
+
readonly internalType: "address";
|
|
2079
|
+
readonly name: "positionManager_";
|
|
2080
|
+
readonly type: "address";
|
|
2081
|
+
}, {
|
|
2082
|
+
readonly internalType: "address";
|
|
2083
|
+
readonly name: "teamRecipient_";
|
|
2084
|
+
readonly type: "address";
|
|
1924
2085
|
}];
|
|
1925
2086
|
readonly stateMutability: "nonpayable";
|
|
1926
2087
|
readonly type: "constructor";
|
|
1927
2088
|
}, {
|
|
1928
|
-
readonly inputs: readonly [
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
readonly name: "
|
|
1934
|
-
readonly type: "error";
|
|
1935
|
-
}, {
|
|
1936
|
-
readonly inputs: readonly [];
|
|
1937
|
-
readonly name: "ExtensionNotEnabled";
|
|
1938
|
-
readonly type: "error";
|
|
1939
|
-
}, {
|
|
1940
|
-
readonly inputs: readonly [];
|
|
1941
|
-
readonly name: "HookNotEnabled";
|
|
1942
|
-
readonly type: "error";
|
|
1943
|
-
}, {
|
|
1944
|
-
readonly inputs: readonly [];
|
|
1945
|
-
readonly name: "InvalidExtension";
|
|
1946
|
-
readonly type: "error";
|
|
1947
|
-
}, {
|
|
1948
|
-
readonly inputs: readonly [];
|
|
1949
|
-
readonly name: "InvalidHook";
|
|
1950
|
-
readonly type: "error";
|
|
1951
|
-
}, {
|
|
1952
|
-
readonly inputs: readonly [];
|
|
1953
|
-
readonly name: "InvalidLocker";
|
|
1954
|
-
readonly type: "error";
|
|
1955
|
-
}, {
|
|
1956
|
-
readonly inputs: readonly [];
|
|
1957
|
-
readonly name: "InvalidMevModule";
|
|
1958
|
-
readonly type: "error";
|
|
1959
|
-
}, {
|
|
1960
|
-
readonly inputs: readonly [];
|
|
1961
|
-
readonly name: "LockerNotEnabled";
|
|
1962
|
-
readonly type: "error";
|
|
1963
|
-
}, {
|
|
1964
|
-
readonly inputs: readonly [];
|
|
1965
|
-
readonly name: "MaxExtensionBpsExceeded";
|
|
2089
|
+
readonly inputs: readonly [{
|
|
2090
|
+
readonly internalType: "uint256";
|
|
2091
|
+
readonly name: "tokenId";
|
|
2092
|
+
readonly type: "uint256";
|
|
2093
|
+
}];
|
|
2094
|
+
readonly name: "AlreadyKnownTokenId";
|
|
1966
2095
|
readonly type: "error";
|
|
1967
2096
|
}, {
|
|
1968
|
-
readonly inputs: readonly [
|
|
1969
|
-
|
|
2097
|
+
readonly inputs: readonly [{
|
|
2098
|
+
readonly internalType: "uint256";
|
|
2099
|
+
readonly name: "creatorReward";
|
|
2100
|
+
readonly type: "uint256";
|
|
2101
|
+
}];
|
|
2102
|
+
readonly name: "InvalidCreatorReward";
|
|
1970
2103
|
readonly type: "error";
|
|
1971
2104
|
}, {
|
|
1972
2105
|
readonly inputs: readonly [];
|
|
1973
|
-
readonly name: "
|
|
2106
|
+
readonly name: "InvalidMaxCreatorReward";
|
|
1974
2107
|
readonly type: "error";
|
|
1975
2108
|
}, {
|
|
1976
2109
|
readonly inputs: readonly [];
|
|
1977
|
-
readonly name: "
|
|
2110
|
+
readonly name: "InvalidTeamRecipient";
|
|
1978
2111
|
readonly type: "error";
|
|
1979
2112
|
}, {
|
|
1980
2113
|
readonly inputs: readonly [];
|
|
1981
|
-
readonly name: "
|
|
2114
|
+
readonly name: "MaxCreatorRewardNotSet";
|
|
1982
2115
|
readonly type: "error";
|
|
1983
|
-
}, {
|
|
1984
|
-
readonly inputs: readonly [
|
|
1985
|
-
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly inputs: readonly [{
|
|
2118
|
+
readonly internalType: "address";
|
|
2119
|
+
readonly name: "user";
|
|
2120
|
+
readonly type: "address";
|
|
2121
|
+
}];
|
|
2122
|
+
readonly name: "NotAllowed";
|
|
1986
2123
|
readonly type: "error";
|
|
1987
2124
|
}, {
|
|
1988
2125
|
readonly inputs: readonly [{
|
|
@@ -2000,272 +2137,244 @@ declare const Clanker_v4_abi: readonly [{
|
|
|
2000
2137
|
}];
|
|
2001
2138
|
readonly name: "OwnableUnauthorizedAccount";
|
|
2002
2139
|
readonly type: "error";
|
|
2003
|
-
}, {
|
|
2004
|
-
readonly inputs: readonly [];
|
|
2005
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
2006
|
-
readonly type: "error";
|
|
2007
|
-
}, {
|
|
2008
|
-
readonly inputs: readonly [];
|
|
2009
|
-
readonly name: "Unauthorized";
|
|
2010
|
-
readonly type: "error";
|
|
2011
2140
|
}, {
|
|
2012
2141
|
readonly anonymous: false;
|
|
2013
2142
|
readonly inputs: readonly [{
|
|
2143
|
+
readonly indexed: true;
|
|
2144
|
+
readonly internalType: "uint256";
|
|
2145
|
+
readonly name: "lpTokenId";
|
|
2146
|
+
readonly type: "uint256";
|
|
2147
|
+
}, {
|
|
2014
2148
|
readonly indexed: true;
|
|
2015
2149
|
readonly internalType: "address";
|
|
2016
|
-
readonly name: "
|
|
2150
|
+
readonly name: "creatorRecipient";
|
|
2017
2151
|
readonly type: "address";
|
|
2018
2152
|
}, {
|
|
2019
2153
|
readonly indexed: true;
|
|
2020
2154
|
readonly internalType: "address";
|
|
2021
|
-
readonly name: "
|
|
2155
|
+
readonly name: "interfaceRecipient";
|
|
2022
2156
|
readonly type: "address";
|
|
2023
2157
|
}, {
|
|
2024
2158
|
readonly indexed: false;
|
|
2025
|
-
readonly internalType: "
|
|
2026
|
-
readonly name: "
|
|
2027
|
-
readonly type: "
|
|
2028
|
-
}
|
|
2029
|
-
readonly name: "ClaimTeamFees";
|
|
2030
|
-
readonly type: "event";
|
|
2031
|
-
}, {
|
|
2032
|
-
readonly anonymous: false;
|
|
2033
|
-
readonly inputs: readonly [{
|
|
2159
|
+
readonly internalType: "address";
|
|
2160
|
+
readonly name: "teamRecipient";
|
|
2161
|
+
readonly type: "address";
|
|
2162
|
+
}, {
|
|
2034
2163
|
readonly indexed: false;
|
|
2035
2164
|
readonly internalType: "address";
|
|
2036
|
-
readonly name: "
|
|
2165
|
+
readonly name: "token0";
|
|
2166
|
+
readonly type: "address";
|
|
2167
|
+
}, {
|
|
2168
|
+
readonly indexed: false;
|
|
2169
|
+
readonly internalType: "address";
|
|
2170
|
+
readonly name: "token1";
|
|
2037
2171
|
readonly type: "address";
|
|
2038
2172
|
}, {
|
|
2039
2173
|
readonly indexed: false;
|
|
2040
2174
|
readonly internalType: "uint256";
|
|
2041
|
-
readonly name: "
|
|
2175
|
+
readonly name: "creatorReward0";
|
|
2042
2176
|
readonly type: "uint256";
|
|
2043
2177
|
}, {
|
|
2044
2178
|
readonly indexed: false;
|
|
2045
2179
|
readonly internalType: "uint256";
|
|
2046
|
-
readonly name: "
|
|
2180
|
+
readonly name: "creatorReward1";
|
|
2181
|
+
readonly type: "uint256";
|
|
2182
|
+
}, {
|
|
2183
|
+
readonly indexed: false;
|
|
2184
|
+
readonly internalType: "uint256";
|
|
2185
|
+
readonly name: "interfaceReward0";
|
|
2186
|
+
readonly type: "uint256";
|
|
2187
|
+
}, {
|
|
2188
|
+
readonly indexed: false;
|
|
2189
|
+
readonly internalType: "uint256";
|
|
2190
|
+
readonly name: "interfaceReward1";
|
|
2191
|
+
readonly type: "uint256";
|
|
2192
|
+
}, {
|
|
2193
|
+
readonly indexed: false;
|
|
2194
|
+
readonly internalType: "uint256";
|
|
2195
|
+
readonly name: "teamReward0";
|
|
2196
|
+
readonly type: "uint256";
|
|
2197
|
+
}, {
|
|
2198
|
+
readonly indexed: false;
|
|
2199
|
+
readonly internalType: "uint256";
|
|
2200
|
+
readonly name: "teamReward1";
|
|
2047
2201
|
readonly type: "uint256";
|
|
2048
2202
|
}];
|
|
2049
|
-
readonly name: "
|
|
2203
|
+
readonly name: "ClaimedRewards";
|
|
2050
2204
|
readonly type: "event";
|
|
2051
2205
|
}, {
|
|
2052
2206
|
readonly anonymous: false;
|
|
2053
2207
|
readonly inputs: readonly [{
|
|
2208
|
+
readonly indexed: true;
|
|
2209
|
+
readonly internalType: "uint256";
|
|
2210
|
+
readonly name: "lpTokenId";
|
|
2211
|
+
readonly type: "uint256";
|
|
2212
|
+
}, {
|
|
2054
2213
|
readonly indexed: true;
|
|
2055
2214
|
readonly internalType: "address";
|
|
2056
|
-
readonly name: "
|
|
2215
|
+
readonly name: "oldAdmin";
|
|
2057
2216
|
readonly type: "address";
|
|
2058
2217
|
}, {
|
|
2059
|
-
readonly indexed:
|
|
2218
|
+
readonly indexed: false;
|
|
2060
2219
|
readonly internalType: "address";
|
|
2061
|
-
readonly name: "
|
|
2220
|
+
readonly name: "newAdmin";
|
|
2062
2221
|
readonly type: "address";
|
|
2063
2222
|
}];
|
|
2064
|
-
readonly name: "
|
|
2223
|
+
readonly name: "CreatorRewardRecipientAdminUpdated";
|
|
2065
2224
|
readonly type: "event";
|
|
2066
2225
|
}, {
|
|
2067
2226
|
readonly anonymous: false;
|
|
2068
2227
|
readonly inputs: readonly [{
|
|
2228
|
+
readonly indexed: true;
|
|
2229
|
+
readonly internalType: "uint256";
|
|
2230
|
+
readonly name: "lpTokenId";
|
|
2231
|
+
readonly type: "uint256";
|
|
2232
|
+
}, {
|
|
2069
2233
|
readonly indexed: true;
|
|
2070
2234
|
readonly internalType: "address";
|
|
2071
|
-
readonly name: "
|
|
2235
|
+
readonly name: "oldRecipient";
|
|
2072
2236
|
readonly type: "address";
|
|
2073
2237
|
}, {
|
|
2074
2238
|
readonly indexed: false;
|
|
2075
|
-
readonly internalType: "
|
|
2076
|
-
readonly name: "
|
|
2077
|
-
readonly type: "
|
|
2078
|
-
}];
|
|
2079
|
-
readonly name: "SetAdmin";
|
|
2080
|
-
readonly type: "event";
|
|
2081
|
-
}, {
|
|
2082
|
-
readonly anonymous: false;
|
|
2083
|
-
readonly inputs: readonly [{
|
|
2084
|
-
readonly indexed: false;
|
|
2085
|
-
readonly internalType: "bool";
|
|
2086
|
-
readonly name: "deprecated";
|
|
2087
|
-
readonly type: "bool";
|
|
2239
|
+
readonly internalType: "address";
|
|
2240
|
+
readonly name: "newRecipient";
|
|
2241
|
+
readonly type: "address";
|
|
2088
2242
|
}];
|
|
2089
|
-
readonly name: "
|
|
2243
|
+
readonly name: "CreatorRewardRecipientUpdated";
|
|
2090
2244
|
readonly type: "event";
|
|
2091
2245
|
}, {
|
|
2092
2246
|
readonly anonymous: false;
|
|
2093
2247
|
readonly inputs: readonly [{
|
|
2094
|
-
readonly indexed:
|
|
2248
|
+
readonly indexed: true;
|
|
2249
|
+
readonly internalType: "uint256";
|
|
2250
|
+
readonly name: "lpTokenId";
|
|
2251
|
+
readonly type: "uint256";
|
|
2252
|
+
}, {
|
|
2253
|
+
readonly indexed: true;
|
|
2095
2254
|
readonly internalType: "address";
|
|
2096
|
-
readonly name: "
|
|
2255
|
+
readonly name: "oldAdmin";
|
|
2097
2256
|
readonly type: "address";
|
|
2098
2257
|
}, {
|
|
2099
2258
|
readonly indexed: false;
|
|
2100
|
-
readonly internalType: "
|
|
2101
|
-
readonly name: "
|
|
2102
|
-
readonly type: "
|
|
2259
|
+
readonly internalType: "address";
|
|
2260
|
+
readonly name: "newAdmin";
|
|
2261
|
+
readonly type: "address";
|
|
2103
2262
|
}];
|
|
2104
|
-
readonly name: "
|
|
2263
|
+
readonly name: "InterfaceRewardRecipientAdminUpdated";
|
|
2105
2264
|
readonly type: "event";
|
|
2106
2265
|
}, {
|
|
2107
2266
|
readonly anonymous: false;
|
|
2108
2267
|
readonly inputs: readonly [{
|
|
2109
|
-
readonly indexed:
|
|
2268
|
+
readonly indexed: true;
|
|
2269
|
+
readonly internalType: "uint256";
|
|
2270
|
+
readonly name: "lpTokenId";
|
|
2271
|
+
readonly type: "uint256";
|
|
2272
|
+
}, {
|
|
2273
|
+
readonly indexed: true;
|
|
2110
2274
|
readonly internalType: "address";
|
|
2111
|
-
readonly name: "
|
|
2275
|
+
readonly name: "oldRecipient";
|
|
2112
2276
|
readonly type: "address";
|
|
2113
2277
|
}, {
|
|
2114
2278
|
readonly indexed: false;
|
|
2115
|
-
readonly internalType: "
|
|
2116
|
-
readonly name: "
|
|
2117
|
-
readonly type: "
|
|
2279
|
+
readonly internalType: "address";
|
|
2280
|
+
readonly name: "newRecipient";
|
|
2281
|
+
readonly type: "address";
|
|
2118
2282
|
}];
|
|
2119
|
-
readonly name: "
|
|
2283
|
+
readonly name: "InterfaceRewardRecipientUpdated";
|
|
2120
2284
|
readonly type: "event";
|
|
2121
2285
|
}, {
|
|
2122
2286
|
readonly anonymous: false;
|
|
2123
2287
|
readonly inputs: readonly [{
|
|
2124
|
-
readonly indexed:
|
|
2288
|
+
readonly indexed: true;
|
|
2125
2289
|
readonly internalType: "address";
|
|
2126
|
-
readonly name: "
|
|
2290
|
+
readonly name: "previousOwner";
|
|
2127
2291
|
readonly type: "address";
|
|
2128
2292
|
}, {
|
|
2129
|
-
readonly indexed:
|
|
2293
|
+
readonly indexed: true;
|
|
2130
2294
|
readonly internalType: "address";
|
|
2131
|
-
readonly name: "
|
|
2295
|
+
readonly name: "newOwner";
|
|
2132
2296
|
readonly type: "address";
|
|
2133
|
-
}, {
|
|
2134
|
-
readonly indexed: false;
|
|
2135
|
-
readonly internalType: "bool";
|
|
2136
|
-
readonly name: "enabled";
|
|
2137
|
-
readonly type: "bool";
|
|
2138
2297
|
}];
|
|
2139
|
-
readonly name: "
|
|
2298
|
+
readonly name: "OwnershipTransferred";
|
|
2140
2299
|
readonly type: "event";
|
|
2141
2300
|
}, {
|
|
2142
2301
|
readonly anonymous: false;
|
|
2143
2302
|
readonly inputs: readonly [{
|
|
2144
|
-
readonly indexed:
|
|
2303
|
+
readonly indexed: true;
|
|
2145
2304
|
readonly internalType: "address";
|
|
2146
|
-
readonly name: "
|
|
2305
|
+
readonly name: "from";
|
|
2147
2306
|
readonly type: "address";
|
|
2148
2307
|
}, {
|
|
2149
2308
|
readonly indexed: false;
|
|
2150
|
-
readonly internalType: "
|
|
2151
|
-
readonly name: "
|
|
2152
|
-
readonly type: "
|
|
2309
|
+
readonly internalType: "uint256";
|
|
2310
|
+
readonly name: "tokenId";
|
|
2311
|
+
readonly type: "uint256";
|
|
2153
2312
|
}];
|
|
2154
|
-
readonly name: "
|
|
2313
|
+
readonly name: "Received";
|
|
2155
2314
|
readonly type: "event";
|
|
2156
2315
|
}, {
|
|
2157
2316
|
readonly anonymous: false;
|
|
2158
2317
|
readonly inputs: readonly [{
|
|
2159
|
-
readonly indexed:
|
|
2318
|
+
readonly indexed: true;
|
|
2319
|
+
readonly internalType: "uint256";
|
|
2320
|
+
readonly name: "lpTokenId";
|
|
2321
|
+
readonly type: "uint256";
|
|
2322
|
+
}, {
|
|
2323
|
+
readonly indexed: true;
|
|
2160
2324
|
readonly internalType: "address";
|
|
2161
|
-
readonly name: "
|
|
2325
|
+
readonly name: "oldRecipient";
|
|
2162
2326
|
readonly type: "address";
|
|
2163
2327
|
}, {
|
|
2164
2328
|
readonly indexed: false;
|
|
2165
2329
|
readonly internalType: "address";
|
|
2166
|
-
readonly name: "
|
|
2330
|
+
readonly name: "newRecipient";
|
|
2167
2331
|
readonly type: "address";
|
|
2168
2332
|
}];
|
|
2169
|
-
readonly name: "
|
|
2333
|
+
readonly name: "TeamOverrideRewardRecipientUpdated";
|
|
2170
2334
|
readonly type: "event";
|
|
2171
2335
|
}, {
|
|
2172
2336
|
readonly anonymous: false;
|
|
2173
2337
|
readonly inputs: readonly [{
|
|
2174
|
-
readonly indexed: false;
|
|
2175
|
-
readonly internalType: "address";
|
|
2176
|
-
readonly name: "msgSender";
|
|
2177
|
-
readonly type: "address";
|
|
2178
|
-
}, {
|
|
2179
|
-
readonly indexed: true;
|
|
2180
|
-
readonly internalType: "address";
|
|
2181
|
-
readonly name: "tokenAddress";
|
|
2182
|
-
readonly type: "address";
|
|
2183
|
-
}, {
|
|
2184
2338
|
readonly indexed: true;
|
|
2185
2339
|
readonly internalType: "address";
|
|
2186
|
-
readonly name: "
|
|
2187
|
-
readonly type: "address";
|
|
2188
|
-
}, {
|
|
2189
|
-
readonly indexed: false;
|
|
2190
|
-
readonly internalType: "string";
|
|
2191
|
-
readonly name: "tokenImage";
|
|
2192
|
-
readonly type: "string";
|
|
2193
|
-
}, {
|
|
2194
|
-
readonly indexed: false;
|
|
2195
|
-
readonly internalType: "string";
|
|
2196
|
-
readonly name: "tokenName";
|
|
2197
|
-
readonly type: "string";
|
|
2198
|
-
}, {
|
|
2199
|
-
readonly indexed: false;
|
|
2200
|
-
readonly internalType: "string";
|
|
2201
|
-
readonly name: "tokenSymbol";
|
|
2202
|
-
readonly type: "string";
|
|
2203
|
-
}, {
|
|
2204
|
-
readonly indexed: false;
|
|
2205
|
-
readonly internalType: "string";
|
|
2206
|
-
readonly name: "tokenMetadata";
|
|
2207
|
-
readonly type: "string";
|
|
2208
|
-
}, {
|
|
2209
|
-
readonly indexed: false;
|
|
2210
|
-
readonly internalType: "string";
|
|
2211
|
-
readonly name: "tokenContext";
|
|
2212
|
-
readonly type: "string";
|
|
2213
|
-
}, {
|
|
2214
|
-
readonly indexed: false;
|
|
2215
|
-
readonly internalType: "int24";
|
|
2216
|
-
readonly name: "startingTick";
|
|
2217
|
-
readonly type: "int24";
|
|
2218
|
-
}, {
|
|
2219
|
-
readonly indexed: false;
|
|
2220
|
-
readonly internalType: "address";
|
|
2221
|
-
readonly name: "poolHook";
|
|
2222
|
-
readonly type: "address";
|
|
2223
|
-
}, {
|
|
2224
|
-
readonly indexed: false;
|
|
2225
|
-
readonly internalType: "PoolId";
|
|
2226
|
-
readonly name: "poolId";
|
|
2227
|
-
readonly type: "bytes32";
|
|
2228
|
-
}, {
|
|
2229
|
-
readonly indexed: false;
|
|
2230
|
-
readonly internalType: "address";
|
|
2231
|
-
readonly name: "pairedToken";
|
|
2340
|
+
readonly name: "oldRecipient";
|
|
2232
2341
|
readonly type: "address";
|
|
2233
2342
|
}, {
|
|
2234
2343
|
readonly indexed: false;
|
|
2235
2344
|
readonly internalType: "address";
|
|
2236
|
-
readonly name: "
|
|
2345
|
+
readonly name: "newRecipient";
|
|
2237
2346
|
readonly type: "address";
|
|
2238
|
-
}
|
|
2347
|
+
}];
|
|
2348
|
+
readonly name: "TeamRecipientUpdated";
|
|
2349
|
+
readonly type: "event";
|
|
2350
|
+
}, {
|
|
2351
|
+
readonly anonymous: false;
|
|
2352
|
+
readonly inputs: readonly [{
|
|
2239
2353
|
readonly indexed: false;
|
|
2240
|
-
readonly internalType: "
|
|
2241
|
-
readonly name: "
|
|
2242
|
-
readonly type: "
|
|
2354
|
+
readonly internalType: "uint256";
|
|
2355
|
+
readonly name: "lpTokenId";
|
|
2356
|
+
readonly type: "uint256";
|
|
2243
2357
|
}, {
|
|
2244
2358
|
readonly indexed: false;
|
|
2245
2359
|
readonly internalType: "uint256";
|
|
2246
|
-
readonly name: "
|
|
2360
|
+
readonly name: "creatorReward";
|
|
2247
2361
|
readonly type: "uint256";
|
|
2248
2362
|
}, {
|
|
2249
|
-
readonly indexed:
|
|
2250
|
-
readonly internalType: "address
|
|
2251
|
-
readonly name: "
|
|
2252
|
-
readonly type: "address
|
|
2363
|
+
readonly indexed: true;
|
|
2364
|
+
readonly internalType: "address";
|
|
2365
|
+
readonly name: "creator";
|
|
2366
|
+
readonly type: "address";
|
|
2367
|
+
}, {
|
|
2368
|
+
readonly indexed: true;
|
|
2369
|
+
readonly internalType: "address";
|
|
2370
|
+
readonly name: "interfacer";
|
|
2371
|
+
readonly type: "address";
|
|
2253
2372
|
}];
|
|
2254
|
-
readonly name: "
|
|
2373
|
+
readonly name: "TokenRewardAdded";
|
|
2255
2374
|
readonly type: "event";
|
|
2256
2375
|
}, {
|
|
2257
2376
|
readonly inputs: readonly [];
|
|
2258
|
-
readonly name: "
|
|
2259
|
-
readonly outputs: readonly [{
|
|
2260
|
-
readonly internalType: "uint256";
|
|
2261
|
-
readonly name: "";
|
|
2262
|
-
readonly type: "uint256";
|
|
2263
|
-
}];
|
|
2264
|
-
readonly stateMutability: "view";
|
|
2265
|
-
readonly type: "function";
|
|
2266
|
-
}, {
|
|
2267
|
-
readonly inputs: readonly [];
|
|
2268
|
-
readonly name: "MAX_EXTENSIONS";
|
|
2377
|
+
readonly name: "MAX_CREATOR_REWARD";
|
|
2269
2378
|
readonly outputs: readonly [{
|
|
2270
2379
|
readonly internalType: "uint256";
|
|
2271
2380
|
readonly name: "";
|
|
@@ -2275,17 +2384,7 @@ declare const Clanker_v4_abi: readonly [{
|
|
|
2275
2384
|
readonly type: "function";
|
|
2276
2385
|
}, {
|
|
2277
2386
|
readonly inputs: readonly [];
|
|
2278
|
-
readonly name: "
|
|
2279
|
-
readonly outputs: readonly [{
|
|
2280
|
-
readonly internalType: "uint16";
|
|
2281
|
-
readonly name: "";
|
|
2282
|
-
readonly type: "uint16";
|
|
2283
|
-
}];
|
|
2284
|
-
readonly stateMutability: "view";
|
|
2285
|
-
readonly type: "function";
|
|
2286
|
-
}, {
|
|
2287
|
-
readonly inputs: readonly [];
|
|
2288
|
-
readonly name: "TOKEN_SUPPLY";
|
|
2387
|
+
readonly name: "TEAM_REWARD";
|
|
2289
2388
|
readonly outputs: readonly [{
|
|
2290
2389
|
readonly internalType: "uint256";
|
|
2291
2390
|
readonly name: "";
|
|
@@ -2293,288 +2392,176 @@ declare const Clanker_v4_abi: readonly [{
|
|
|
2293
2392
|
}];
|
|
2294
2393
|
readonly stateMutability: "view";
|
|
2295
2394
|
readonly type: "function";
|
|
2296
|
-
}, {
|
|
2297
|
-
readonly inputs: readonly [{
|
|
2298
|
-
readonly internalType: "address";
|
|
2299
|
-
readonly name: "";
|
|
2300
|
-
readonly type: "address";
|
|
2301
|
-
}];
|
|
2302
|
-
readonly name: "admins";
|
|
2303
|
-
readonly outputs: readonly [{
|
|
2304
|
-
readonly internalType: "bool";
|
|
2305
|
-
readonly name: "";
|
|
2306
|
-
readonly type: "bool";
|
|
2307
|
-
}];
|
|
2308
|
-
readonly stateMutability: "view";
|
|
2309
|
-
readonly type: "function";
|
|
2310
|
-
}, {
|
|
2311
|
-
readonly inputs: readonly [{
|
|
2312
|
-
readonly internalType: "address";
|
|
2313
|
-
readonly name: "token";
|
|
2314
|
-
readonly type: "address";
|
|
2315
|
-
}];
|
|
2316
|
-
readonly name: "claimTeamFees";
|
|
2317
|
-
readonly outputs: readonly [];
|
|
2318
|
-
readonly stateMutability: "nonpayable";
|
|
2319
|
-
readonly type: "function";
|
|
2320
2395
|
}, {
|
|
2321
2396
|
readonly inputs: readonly [{
|
|
2322
2397
|
readonly components: readonly [{
|
|
2323
|
-
readonly
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
readonly type: "string";
|
|
2331
|
-
}, {
|
|
2332
|
-
readonly internalType: "string";
|
|
2333
|
-
readonly name: "symbol";
|
|
2334
|
-
readonly type: "string";
|
|
2335
|
-
}, {
|
|
2336
|
-
readonly internalType: "bytes32";
|
|
2337
|
-
readonly name: "salt";
|
|
2338
|
-
readonly type: "bytes32";
|
|
2339
|
-
}, {
|
|
2340
|
-
readonly internalType: "string";
|
|
2341
|
-
readonly name: "image";
|
|
2342
|
-
readonly type: "string";
|
|
2343
|
-
}, {
|
|
2344
|
-
readonly internalType: "string";
|
|
2345
|
-
readonly name: "metadata";
|
|
2346
|
-
readonly type: "string";
|
|
2347
|
-
}, {
|
|
2348
|
-
readonly internalType: "string";
|
|
2349
|
-
readonly name: "context";
|
|
2350
|
-
readonly type: "string";
|
|
2351
|
-
}, {
|
|
2352
|
-
readonly internalType: "uint256";
|
|
2353
|
-
readonly name: "originatingChainId";
|
|
2354
|
-
readonly type: "uint256";
|
|
2355
|
-
}];
|
|
2356
|
-
readonly internalType: "struct IClanker.TokenConfig";
|
|
2357
|
-
readonly name: "tokenConfig";
|
|
2358
|
-
readonly type: "tuple";
|
|
2398
|
+
readonly internalType: "uint256";
|
|
2399
|
+
readonly name: "lpTokenId";
|
|
2400
|
+
readonly type: "uint256";
|
|
2401
|
+
}, {
|
|
2402
|
+
readonly internalType: "uint256";
|
|
2403
|
+
readonly name: "creatorReward";
|
|
2404
|
+
readonly type: "uint256";
|
|
2359
2405
|
}, {
|
|
2360
2406
|
readonly components: readonly [{
|
|
2361
2407
|
readonly internalType: "address";
|
|
2362
|
-
readonly name: "
|
|
2408
|
+
readonly name: "admin";
|
|
2363
2409
|
readonly type: "address";
|
|
2364
2410
|
}, {
|
|
2365
2411
|
readonly internalType: "address";
|
|
2366
|
-
readonly name: "
|
|
2412
|
+
readonly name: "recipient";
|
|
2367
2413
|
readonly type: "address";
|
|
2368
|
-
}, {
|
|
2369
|
-
readonly internalType: "int24";
|
|
2370
|
-
readonly name: "tickIfToken0IsClanker";
|
|
2371
|
-
readonly type: "int24";
|
|
2372
|
-
}, {
|
|
2373
|
-
readonly internalType: "int24";
|
|
2374
|
-
readonly name: "tickSpacing";
|
|
2375
|
-
readonly type: "int24";
|
|
2376
|
-
}, {
|
|
2377
|
-
readonly internalType: "bytes";
|
|
2378
|
-
readonly name: "poolData";
|
|
2379
|
-
readonly type: "bytes";
|
|
2380
2414
|
}];
|
|
2381
|
-
readonly internalType: "struct
|
|
2382
|
-
readonly name: "
|
|
2415
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
2416
|
+
readonly name: "creator";
|
|
2383
2417
|
readonly type: "tuple";
|
|
2384
2418
|
}, {
|
|
2385
2419
|
readonly components: readonly [{
|
|
2386
2420
|
readonly internalType: "address";
|
|
2387
|
-
readonly name: "
|
|
2421
|
+
readonly name: "admin";
|
|
2388
2422
|
readonly type: "address";
|
|
2389
2423
|
}, {
|
|
2390
|
-
readonly internalType: "address[]";
|
|
2391
|
-
readonly name: "rewardAdmins";
|
|
2392
|
-
readonly type: "address[]";
|
|
2393
|
-
}, {
|
|
2394
|
-
readonly internalType: "address[]";
|
|
2395
|
-
readonly name: "rewardRecipients";
|
|
2396
|
-
readonly type: "address[]";
|
|
2397
|
-
}, {
|
|
2398
|
-
readonly internalType: "uint16[]";
|
|
2399
|
-
readonly name: "rewardBps";
|
|
2400
|
-
readonly type: "uint16[]";
|
|
2401
|
-
}, {
|
|
2402
|
-
readonly internalType: "int24[]";
|
|
2403
|
-
readonly name: "tickLower";
|
|
2404
|
-
readonly type: "int24[]";
|
|
2405
|
-
}, {
|
|
2406
|
-
readonly internalType: "int24[]";
|
|
2407
|
-
readonly name: "tickUpper";
|
|
2408
|
-
readonly type: "int24[]";
|
|
2409
|
-
}, {
|
|
2410
|
-
readonly internalType: "uint16[]";
|
|
2411
|
-
readonly name: "positionBps";
|
|
2412
|
-
readonly type: "uint16[]";
|
|
2413
|
-
}, {
|
|
2414
|
-
readonly internalType: "bytes";
|
|
2415
|
-
readonly name: "lockerData";
|
|
2416
|
-
readonly type: "bytes";
|
|
2417
|
-
}];
|
|
2418
|
-
readonly internalType: "struct IClanker.LockerConfig";
|
|
2419
|
-
readonly name: "lockerConfig";
|
|
2420
|
-
readonly type: "tuple";
|
|
2421
|
-
}, {
|
|
2422
|
-
readonly components: readonly [{
|
|
2423
2424
|
readonly internalType: "address";
|
|
2424
|
-
readonly name: "
|
|
2425
|
+
readonly name: "recipient";
|
|
2425
2426
|
readonly type: "address";
|
|
2426
|
-
}, {
|
|
2427
|
-
readonly internalType: "bytes";
|
|
2428
|
-
readonly name: "mevModuleData";
|
|
2429
|
-
readonly type: "bytes";
|
|
2430
2427
|
}];
|
|
2431
|
-
readonly internalType: "struct
|
|
2432
|
-
readonly name: "
|
|
2428
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
2429
|
+
readonly name: "interfacer";
|
|
2433
2430
|
readonly type: "tuple";
|
|
2434
|
-
}, {
|
|
2435
|
-
readonly components: readonly [{
|
|
2436
|
-
readonly internalType: "address";
|
|
2437
|
-
readonly name: "extension";
|
|
2438
|
-
readonly type: "address";
|
|
2439
|
-
}, {
|
|
2440
|
-
readonly internalType: "uint256";
|
|
2441
|
-
readonly name: "msgValue";
|
|
2442
|
-
readonly type: "uint256";
|
|
2443
|
-
}, {
|
|
2444
|
-
readonly internalType: "uint16";
|
|
2445
|
-
readonly name: "extensionBps";
|
|
2446
|
-
readonly type: "uint16";
|
|
2447
|
-
}, {
|
|
2448
|
-
readonly internalType: "bytes";
|
|
2449
|
-
readonly name: "extensionData";
|
|
2450
|
-
readonly type: "bytes";
|
|
2451
|
-
}];
|
|
2452
|
-
readonly internalType: "struct IClanker.ExtensionConfig[]";
|
|
2453
|
-
readonly name: "extensionConfigs";
|
|
2454
|
-
readonly type: "tuple[]";
|
|
2455
2431
|
}];
|
|
2456
|
-
readonly internalType: "struct
|
|
2457
|
-
readonly name: "
|
|
2432
|
+
readonly internalType: "struct ILpLockerv2.TokenRewardInfo";
|
|
2433
|
+
readonly name: "tokenRewardInfo";
|
|
2458
2434
|
readonly type: "tuple";
|
|
2459
2435
|
}];
|
|
2460
|
-
readonly name: "
|
|
2461
|
-
readonly outputs: readonly [
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2436
|
+
readonly name: "addTokenReward";
|
|
2437
|
+
readonly outputs: readonly [];
|
|
2438
|
+
readonly stateMutability: "nonpayable";
|
|
2439
|
+
readonly type: "function";
|
|
2440
|
+
}, {
|
|
2441
|
+
readonly inputs: readonly [{
|
|
2442
|
+
readonly internalType: "uint256";
|
|
2443
|
+
readonly name: "tokenId";
|
|
2444
|
+
readonly type: "uint256";
|
|
2465
2445
|
}];
|
|
2466
|
-
readonly
|
|
2446
|
+
readonly name: "collectRewards";
|
|
2447
|
+
readonly outputs: readonly [];
|
|
2448
|
+
readonly stateMutability: "nonpayable";
|
|
2467
2449
|
readonly type: "function";
|
|
2468
2450
|
}, {
|
|
2469
2451
|
readonly inputs: readonly [{
|
|
2470
|
-
readonly
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
readonly type: "string";
|
|
2478
|
-
}, {
|
|
2479
|
-
readonly internalType: "string";
|
|
2480
|
-
readonly name: "symbol";
|
|
2481
|
-
readonly type: "string";
|
|
2482
|
-
}, {
|
|
2483
|
-
readonly internalType: "bytes32";
|
|
2484
|
-
readonly name: "salt";
|
|
2485
|
-
readonly type: "bytes32";
|
|
2486
|
-
}, {
|
|
2487
|
-
readonly internalType: "string";
|
|
2488
|
-
readonly name: "image";
|
|
2489
|
-
readonly type: "string";
|
|
2490
|
-
}, {
|
|
2491
|
-
readonly internalType: "string";
|
|
2492
|
-
readonly name: "metadata";
|
|
2493
|
-
readonly type: "string";
|
|
2494
|
-
}, {
|
|
2495
|
-
readonly internalType: "string";
|
|
2496
|
-
readonly name: "context";
|
|
2497
|
-
readonly type: "string";
|
|
2498
|
-
}, {
|
|
2499
|
-
readonly internalType: "uint256";
|
|
2500
|
-
readonly name: "originatingChainId";
|
|
2501
|
-
readonly type: "uint256";
|
|
2502
|
-
}];
|
|
2503
|
-
readonly internalType: "struct IClanker.TokenConfig";
|
|
2504
|
-
readonly name: "tokenConfig";
|
|
2505
|
-
readonly type: "tuple";
|
|
2452
|
+
readonly internalType: "address";
|
|
2453
|
+
readonly name: "";
|
|
2454
|
+
readonly type: "address";
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly internalType: "uint256";
|
|
2457
|
+
readonly name: "";
|
|
2458
|
+
readonly type: "uint256";
|
|
2506
2459
|
}];
|
|
2507
|
-
readonly name: "
|
|
2460
|
+
readonly name: "creatorTokenIds";
|
|
2461
|
+
readonly outputs: readonly [{
|
|
2462
|
+
readonly internalType: "uint256";
|
|
2463
|
+
readonly name: "";
|
|
2464
|
+
readonly type: "uint256";
|
|
2465
|
+
}];
|
|
2466
|
+
readonly stateMutability: "view";
|
|
2467
|
+
readonly type: "function";
|
|
2468
|
+
}, {
|
|
2469
|
+
readonly inputs: readonly [];
|
|
2470
|
+
readonly name: "factory";
|
|
2508
2471
|
readonly outputs: readonly [{
|
|
2509
2472
|
readonly internalType: "address";
|
|
2510
|
-
readonly name: "
|
|
2473
|
+
readonly name: "";
|
|
2511
2474
|
readonly type: "address";
|
|
2512
2475
|
}];
|
|
2513
|
-
readonly stateMutability: "
|
|
2476
|
+
readonly stateMutability: "view";
|
|
2514
2477
|
readonly type: "function";
|
|
2515
2478
|
}, {
|
|
2516
2479
|
readonly inputs: readonly [{
|
|
2517
2480
|
readonly internalType: "address";
|
|
2518
|
-
readonly name: "
|
|
2481
|
+
readonly name: "user";
|
|
2519
2482
|
readonly type: "address";
|
|
2520
2483
|
}];
|
|
2521
|
-
readonly name: "
|
|
2484
|
+
readonly name: "getLpTokenIdsForCreator";
|
|
2522
2485
|
readonly outputs: readonly [{
|
|
2486
|
+
readonly internalType: "uint256[]";
|
|
2487
|
+
readonly name: "";
|
|
2488
|
+
readonly type: "uint256[]";
|
|
2489
|
+
}];
|
|
2490
|
+
readonly stateMutability: "view";
|
|
2491
|
+
readonly type: "function";
|
|
2492
|
+
}, {
|
|
2493
|
+
readonly inputs: readonly [{
|
|
2523
2494
|
readonly internalType: "address";
|
|
2524
|
-
readonly name: "
|
|
2495
|
+
readonly name: "";
|
|
2525
2496
|
readonly type: "address";
|
|
2526
2497
|
}, {
|
|
2527
2498
|
readonly internalType: "address";
|
|
2528
|
-
readonly name: "
|
|
2499
|
+
readonly name: "from";
|
|
2529
2500
|
readonly type: "address";
|
|
2530
2501
|
}, {
|
|
2531
|
-
readonly internalType: "
|
|
2532
|
-
readonly name: "
|
|
2533
|
-
readonly type: "
|
|
2502
|
+
readonly internalType: "uint256";
|
|
2503
|
+
readonly name: "id";
|
|
2504
|
+
readonly type: "uint256";
|
|
2505
|
+
}, {
|
|
2506
|
+
readonly internalType: "bytes";
|
|
2507
|
+
readonly name: "";
|
|
2508
|
+
readonly type: "bytes";
|
|
2534
2509
|
}];
|
|
2535
|
-
readonly
|
|
2510
|
+
readonly name: "onERC721Received";
|
|
2511
|
+
readonly outputs: readonly [{
|
|
2512
|
+
readonly internalType: "bytes4";
|
|
2513
|
+
readonly name: "";
|
|
2514
|
+
readonly type: "bytes4";
|
|
2515
|
+
}];
|
|
2516
|
+
readonly stateMutability: "nonpayable";
|
|
2536
2517
|
readonly type: "function";
|
|
2537
2518
|
}, {
|
|
2538
2519
|
readonly inputs: readonly [];
|
|
2539
|
-
readonly name: "
|
|
2520
|
+
readonly name: "owner";
|
|
2540
2521
|
readonly outputs: readonly [{
|
|
2541
|
-
readonly internalType: "
|
|
2522
|
+
readonly internalType: "address";
|
|
2542
2523
|
readonly name: "";
|
|
2543
|
-
readonly type: "
|
|
2524
|
+
readonly type: "address";
|
|
2544
2525
|
}];
|
|
2545
2526
|
readonly stateMutability: "view";
|
|
2546
2527
|
readonly type: "function";
|
|
2547
2528
|
}, {
|
|
2548
|
-
readonly inputs: readonly [
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
readonly type: "address";
|
|
2552
|
-
}, {
|
|
2529
|
+
readonly inputs: readonly [];
|
|
2530
|
+
readonly name: "positionManager";
|
|
2531
|
+
readonly outputs: readonly [{
|
|
2553
2532
|
readonly internalType: "address";
|
|
2554
|
-
readonly name: "
|
|
2533
|
+
readonly name: "";
|
|
2555
2534
|
readonly type: "address";
|
|
2556
2535
|
}];
|
|
2557
|
-
readonly name: "enabledLockers";
|
|
2558
|
-
readonly outputs: readonly [{
|
|
2559
|
-
readonly internalType: "bool";
|
|
2560
|
-
readonly name: "enabled";
|
|
2561
|
-
readonly type: "bool";
|
|
2562
|
-
}];
|
|
2563
2536
|
readonly stateMutability: "view";
|
|
2564
2537
|
readonly type: "function";
|
|
2538
|
+
}, {
|
|
2539
|
+
readonly inputs: readonly [];
|
|
2540
|
+
readonly name: "renounceOwnership";
|
|
2541
|
+
readonly outputs: readonly [];
|
|
2542
|
+
readonly stateMutability: "nonpayable";
|
|
2543
|
+
readonly type: "function";
|
|
2565
2544
|
}, {
|
|
2566
2545
|
readonly inputs: readonly [{
|
|
2546
|
+
readonly internalType: "uint256";
|
|
2547
|
+
readonly name: "tokenId";
|
|
2548
|
+
readonly type: "uint256";
|
|
2549
|
+
}, {
|
|
2567
2550
|
readonly internalType: "address";
|
|
2568
|
-
readonly name: "
|
|
2551
|
+
readonly name: "newTeamRecipient";
|
|
2569
2552
|
readonly type: "address";
|
|
2570
2553
|
}];
|
|
2571
|
-
readonly name: "
|
|
2554
|
+
readonly name: "setOverrideTeamRewardRecipientForToken";
|
|
2572
2555
|
readonly outputs: readonly [];
|
|
2573
2556
|
readonly stateMutability: "nonpayable";
|
|
2574
2557
|
readonly type: "function";
|
|
2575
2558
|
}, {
|
|
2576
|
-
readonly inputs: readonly [
|
|
2577
|
-
|
|
2559
|
+
readonly inputs: readonly [{
|
|
2560
|
+
readonly internalType: "uint256";
|
|
2561
|
+
readonly name: "";
|
|
2562
|
+
readonly type: "uint256";
|
|
2563
|
+
}];
|
|
2564
|
+
readonly name: "teamOverrideRewardRecipientForToken";
|
|
2578
2565
|
readonly outputs: readonly [{
|
|
2579
2566
|
readonly internalType: "address";
|
|
2580
2567
|
readonly name: "";
|
|
@@ -2584,111 +2571,141 @@ declare const Clanker_v4_abi: readonly [{
|
|
|
2584
2571
|
readonly type: "function";
|
|
2585
2572
|
}, {
|
|
2586
2573
|
readonly inputs: readonly [];
|
|
2587
|
-
readonly name: "
|
|
2588
|
-
readonly outputs: readonly [
|
|
2589
|
-
|
|
2574
|
+
readonly name: "teamRecipient";
|
|
2575
|
+
readonly outputs: readonly [{
|
|
2576
|
+
readonly internalType: "address";
|
|
2577
|
+
readonly name: "";
|
|
2578
|
+
readonly type: "address";
|
|
2579
|
+
}];
|
|
2580
|
+
readonly stateMutability: "view";
|
|
2590
2581
|
readonly type: "function";
|
|
2591
2582
|
}, {
|
|
2592
2583
|
readonly inputs: readonly [{
|
|
2593
|
-
readonly internalType: "
|
|
2594
|
-
readonly name: "
|
|
2595
|
-
readonly type: "
|
|
2584
|
+
readonly internalType: "uint256";
|
|
2585
|
+
readonly name: "";
|
|
2586
|
+
readonly type: "uint256";
|
|
2587
|
+
}];
|
|
2588
|
+
readonly name: "tokenRewards";
|
|
2589
|
+
readonly outputs: readonly [{
|
|
2590
|
+
readonly internalType: "uint256";
|
|
2591
|
+
readonly name: "lpTokenId";
|
|
2592
|
+
readonly type: "uint256";
|
|
2596
2593
|
}, {
|
|
2597
|
-
readonly internalType: "
|
|
2598
|
-
readonly name: "
|
|
2599
|
-
readonly type: "
|
|
2594
|
+
readonly internalType: "uint256";
|
|
2595
|
+
readonly name: "creatorReward";
|
|
2596
|
+
readonly type: "uint256";
|
|
2597
|
+
}, {
|
|
2598
|
+
readonly components: readonly [{
|
|
2599
|
+
readonly internalType: "address";
|
|
2600
|
+
readonly name: "admin";
|
|
2601
|
+
readonly type: "address";
|
|
2602
|
+
}, {
|
|
2603
|
+
readonly internalType: "address";
|
|
2604
|
+
readonly name: "recipient";
|
|
2605
|
+
readonly type: "address";
|
|
2606
|
+
}];
|
|
2607
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
2608
|
+
readonly name: "creator";
|
|
2609
|
+
readonly type: "tuple";
|
|
2610
|
+
}, {
|
|
2611
|
+
readonly components: readonly [{
|
|
2612
|
+
readonly internalType: "address";
|
|
2613
|
+
readonly name: "admin";
|
|
2614
|
+
readonly type: "address";
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly internalType: "address";
|
|
2617
|
+
readonly name: "recipient";
|
|
2618
|
+
readonly type: "address";
|
|
2619
|
+
}];
|
|
2620
|
+
readonly internalType: "struct ILpLockerv2.RewardRecipient";
|
|
2621
|
+
readonly name: "interfacer";
|
|
2622
|
+
readonly type: "tuple";
|
|
2600
2623
|
}];
|
|
2601
|
-
readonly
|
|
2602
|
-
readonly outputs: readonly [];
|
|
2603
|
-
readonly stateMutability: "nonpayable";
|
|
2624
|
+
readonly stateMutability: "view";
|
|
2604
2625
|
readonly type: "function";
|
|
2605
2626
|
}, {
|
|
2606
2627
|
readonly inputs: readonly [{
|
|
2607
|
-
readonly internalType: "
|
|
2608
|
-
readonly name: "
|
|
2609
|
-
readonly type: "
|
|
2628
|
+
readonly internalType: "address";
|
|
2629
|
+
readonly name: "newOwner";
|
|
2630
|
+
readonly type: "address";
|
|
2610
2631
|
}];
|
|
2611
|
-
readonly name: "
|
|
2632
|
+
readonly name: "transferOwnership";
|
|
2612
2633
|
readonly outputs: readonly [];
|
|
2613
2634
|
readonly stateMutability: "nonpayable";
|
|
2614
2635
|
readonly type: "function";
|
|
2615
2636
|
}, {
|
|
2616
2637
|
readonly inputs: readonly [{
|
|
2638
|
+
readonly internalType: "uint256";
|
|
2639
|
+
readonly name: "tokenId";
|
|
2640
|
+
readonly type: "uint256";
|
|
2641
|
+
}, {
|
|
2617
2642
|
readonly internalType: "address";
|
|
2618
|
-
readonly name: "
|
|
2643
|
+
readonly name: "newAdmin";
|
|
2619
2644
|
readonly type: "address";
|
|
2620
|
-
}, {
|
|
2621
|
-
readonly internalType: "bool";
|
|
2622
|
-
readonly name: "enabled";
|
|
2623
|
-
readonly type: "bool";
|
|
2624
2645
|
}];
|
|
2625
|
-
readonly name: "
|
|
2646
|
+
readonly name: "updateCreatorRewardAdmin";
|
|
2626
2647
|
readonly outputs: readonly [];
|
|
2627
2648
|
readonly stateMutability: "nonpayable";
|
|
2628
2649
|
readonly type: "function";
|
|
2629
2650
|
}, {
|
|
2630
2651
|
readonly inputs: readonly [{
|
|
2652
|
+
readonly internalType: "uint256";
|
|
2653
|
+
readonly name: "tokenId";
|
|
2654
|
+
readonly type: "uint256";
|
|
2655
|
+
}, {
|
|
2631
2656
|
readonly internalType: "address";
|
|
2632
|
-
readonly name: "
|
|
2657
|
+
readonly name: "newRecipient";
|
|
2633
2658
|
readonly type: "address";
|
|
2634
|
-
}, {
|
|
2635
|
-
readonly internalType: "bool";
|
|
2636
|
-
readonly name: "enabled";
|
|
2637
|
-
readonly type: "bool";
|
|
2638
2659
|
}];
|
|
2639
|
-
readonly name: "
|
|
2660
|
+
readonly name: "updateCreatorRewardRecipient";
|
|
2640
2661
|
readonly outputs: readonly [];
|
|
2641
2662
|
readonly stateMutability: "nonpayable";
|
|
2642
2663
|
readonly type: "function";
|
|
2643
2664
|
}, {
|
|
2644
2665
|
readonly inputs: readonly [{
|
|
2645
|
-
readonly internalType: "
|
|
2646
|
-
readonly name: "
|
|
2647
|
-
readonly type: "
|
|
2666
|
+
readonly internalType: "uint256";
|
|
2667
|
+
readonly name: "tokenId";
|
|
2668
|
+
readonly type: "uint256";
|
|
2648
2669
|
}, {
|
|
2649
2670
|
readonly internalType: "address";
|
|
2650
|
-
readonly name: "
|
|
2671
|
+
readonly name: "newAdmin";
|
|
2651
2672
|
readonly type: "address";
|
|
2652
|
-
}, {
|
|
2653
|
-
readonly internalType: "bool";
|
|
2654
|
-
readonly name: "enabled";
|
|
2655
|
-
readonly type: "bool";
|
|
2656
2673
|
}];
|
|
2657
|
-
readonly name: "
|
|
2674
|
+
readonly name: "updateInterfaceRewardAdmin";
|
|
2658
2675
|
readonly outputs: readonly [];
|
|
2659
2676
|
readonly stateMutability: "nonpayable";
|
|
2660
2677
|
readonly type: "function";
|
|
2661
2678
|
}, {
|
|
2662
2679
|
readonly inputs: readonly [{
|
|
2680
|
+
readonly internalType: "uint256";
|
|
2681
|
+
readonly name: "tokenId";
|
|
2682
|
+
readonly type: "uint256";
|
|
2683
|
+
}, {
|
|
2663
2684
|
readonly internalType: "address";
|
|
2664
|
-
readonly name: "
|
|
2685
|
+
readonly name: "newRecipient";
|
|
2665
2686
|
readonly type: "address";
|
|
2666
|
-
}, {
|
|
2667
|
-
readonly internalType: "bool";
|
|
2668
|
-
readonly name: "enabled";
|
|
2669
|
-
readonly type: "bool";
|
|
2670
2687
|
}];
|
|
2671
|
-
readonly name: "
|
|
2688
|
+
readonly name: "updateInterfaceRewardRecipient";
|
|
2672
2689
|
readonly outputs: readonly [];
|
|
2673
2690
|
readonly stateMutability: "nonpayable";
|
|
2674
2691
|
readonly type: "function";
|
|
2675
2692
|
}, {
|
|
2676
2693
|
readonly inputs: readonly [{
|
|
2677
2694
|
readonly internalType: "address";
|
|
2678
|
-
readonly name: "
|
|
2695
|
+
readonly name: "newRecipient";
|
|
2679
2696
|
readonly type: "address";
|
|
2680
2697
|
}];
|
|
2681
|
-
readonly name: "
|
|
2698
|
+
readonly name: "updateTeamRecipient";
|
|
2682
2699
|
readonly outputs: readonly [];
|
|
2683
2700
|
readonly stateMutability: "nonpayable";
|
|
2684
2701
|
readonly type: "function";
|
|
2685
2702
|
}, {
|
|
2686
2703
|
readonly inputs: readonly [];
|
|
2687
|
-
readonly name: "
|
|
2704
|
+
readonly name: "version";
|
|
2688
2705
|
readonly outputs: readonly [{
|
|
2689
|
-
readonly internalType: "
|
|
2706
|
+
readonly internalType: "string";
|
|
2690
2707
|
readonly name: "";
|
|
2691
|
-
readonly type: "
|
|
2708
|
+
readonly type: "string";
|
|
2692
2709
|
}];
|
|
2693
2710
|
readonly stateMutability: "view";
|
|
2694
2711
|
readonly type: "function";
|
|
@@ -2697,39 +2714,22 @@ declare const Clanker_v4_abi: readonly [{
|
|
|
2697
2714
|
readonly internalType: "address";
|
|
2698
2715
|
readonly name: "token";
|
|
2699
2716
|
readonly type: "address";
|
|
2717
|
+
}, {
|
|
2718
|
+
readonly internalType: "address";
|
|
2719
|
+
readonly name: "recipient";
|
|
2720
|
+
readonly type: "address";
|
|
2700
2721
|
}];
|
|
2701
|
-
readonly name: "
|
|
2702
|
-
readonly outputs: readonly [
|
|
2703
|
-
|
|
2704
|
-
readonly internalType: "address";
|
|
2705
|
-
readonly name: "token";
|
|
2706
|
-
readonly type: "address";
|
|
2707
|
-
}, {
|
|
2708
|
-
readonly internalType: "address";
|
|
2709
|
-
readonly name: "hook";
|
|
2710
|
-
readonly type: "address";
|
|
2711
|
-
}, {
|
|
2712
|
-
readonly internalType: "address";
|
|
2713
|
-
readonly name: "locker";
|
|
2714
|
-
readonly type: "address";
|
|
2715
|
-
}, {
|
|
2716
|
-
readonly internalType: "address[]";
|
|
2717
|
-
readonly name: "extensions";
|
|
2718
|
-
readonly type: "address[]";
|
|
2719
|
-
}];
|
|
2720
|
-
readonly internalType: "struct IClanker.DeploymentInfo";
|
|
2721
|
-
readonly name: "";
|
|
2722
|
-
readonly type: "tuple";
|
|
2723
|
-
}];
|
|
2724
|
-
readonly stateMutability: "view";
|
|
2722
|
+
readonly name: "withdrawERC20";
|
|
2723
|
+
readonly outputs: readonly [];
|
|
2724
|
+
readonly stateMutability: "nonpayable";
|
|
2725
2725
|
readonly type: "function";
|
|
2726
2726
|
}, {
|
|
2727
2727
|
readonly inputs: readonly [{
|
|
2728
2728
|
readonly internalType: "address";
|
|
2729
|
-
readonly name: "
|
|
2729
|
+
readonly name: "recipient";
|
|
2730
2730
|
readonly type: "address";
|
|
2731
2731
|
}];
|
|
2732
|
-
readonly name: "
|
|
2732
|
+
readonly name: "withdrawETH";
|
|
2733
2733
|
readonly outputs: readonly [];
|
|
2734
2734
|
readonly stateMutability: "nonpayable";
|
|
2735
2735
|
readonly type: "function";
|