@zoralabs/protocol-deployments 0.7.0 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build$colon$js.log +26 -26
- package/CHANGELOG.md +56 -4
- package/dist/{_esm-AN6HMJZC.js → _esm-7WTTA2BK.js} +53 -53
- package/dist/{_esm-AN6HMJZC.js.map → _esm-7WTTA2BK.js.map} +1 -1
- package/dist/{ccip-3JNBGYOD.js → ccip-Y2GC34UW.js} +2 -2
- package/dist/{chunk-4DQDZNUA.js → chunk-TP53IMLY.js} +87 -87
- package/dist/chunk-TP53IMLY.js.map +1 -0
- package/dist/generated/sparks.d.ts +3 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +4080 -376
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1431 -266
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1347 -188
- package/dist/index.js.map +1 -1
- package/dist/{secp256k1-QZA5SALG.js → secp256k1-VMQNAPXV.js} +2 -12
- package/package.json +2 -2
- package/src/generated/sparks.ts +3 -0
- package/src/generated/wagmi.ts +1379 -191
- package/dist/chunk-4DQDZNUA.js.map +0 -1
- /package/dist/{ccip-3JNBGYOD.js.map → ccip-Y2GC34UW.js.map} +0 -0
- /package/dist/{secp256k1-QZA5SALG.js.map → secp256k1-VMQNAPXV.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -20,18 +20,18 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
20
20
|
};
|
|
21
21
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
22
|
|
|
23
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
23
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js
|
|
24
24
|
function execTyped(regex, string) {
|
|
25
25
|
const match = regex.exec(string);
|
|
26
26
|
return match?.groups;
|
|
27
27
|
}
|
|
28
28
|
var init_regex = __esm({
|
|
29
|
-
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
29
|
+
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js"() {
|
|
30
30
|
"use strict";
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
34
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
|
|
35
35
|
function formatAbiParameter(abiParameter) {
|
|
36
36
|
let type = abiParameter.type;
|
|
37
37
|
if (tupleRegex.test(abiParameter.type) && "components" in abiParameter) {
|
|
@@ -58,14 +58,14 @@ function formatAbiParameter(abiParameter) {
|
|
|
58
58
|
}
|
|
59
59
|
var tupleRegex;
|
|
60
60
|
var init_formatAbiParameter = __esm({
|
|
61
|
-
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
61
|
+
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js"() {
|
|
62
62
|
"use strict";
|
|
63
63
|
init_regex();
|
|
64
64
|
tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
|
|
68
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
68
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
|
|
69
69
|
function formatAbiParameters(abiParameters) {
|
|
70
70
|
let params = "";
|
|
71
71
|
const length = abiParameters.length;
|
|
@@ -78,13 +78,13 @@ function formatAbiParameters(abiParameters) {
|
|
|
78
78
|
return params;
|
|
79
79
|
}
|
|
80
80
|
var init_formatAbiParameters = __esm({
|
|
81
|
-
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
81
|
+
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js"() {
|
|
82
82
|
"use strict";
|
|
83
83
|
init_formatAbiParameter();
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
87
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
|
|
88
88
|
function formatAbiItem(abiItem) {
|
|
89
89
|
if (abiItem.type === "function")
|
|
90
90
|
return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
|
|
@@ -99,21 +99,21 @@ function formatAbiItem(abiItem) {
|
|
|
99
99
|
return "receive() external payable";
|
|
100
100
|
}
|
|
101
101
|
var init_formatAbiItem = __esm({
|
|
102
|
-
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
102
|
+
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js"() {
|
|
103
103
|
"use strict";
|
|
104
104
|
init_formatAbiParameters();
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
108
|
+
// ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/exports/index.js
|
|
109
109
|
var init_exports = __esm({
|
|
110
|
-
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.
|
|
110
|
+
"../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/exports/index.js"() {
|
|
111
111
|
"use strict";
|
|
112
112
|
init_formatAbiItem();
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
116
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js
|
|
117
117
|
function formatAbiItem2(abiItem, { includeName = false } = {}) {
|
|
118
118
|
if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
|
|
119
119
|
throw new InvalidDefinitionTypeError(abiItem.type);
|
|
@@ -131,13 +131,13 @@ function formatAbiParam(param, { includeName }) {
|
|
|
131
131
|
return param.type + (includeName && param.name ? ` ${param.name}` : "");
|
|
132
132
|
}
|
|
133
133
|
var init_formatAbiItem2 = __esm({
|
|
134
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
134
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
|
|
135
135
|
"use strict";
|
|
136
136
|
init_abi();
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
140
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js
|
|
141
141
|
function isHex(value, { strict = true } = {}) {
|
|
142
142
|
if (!value)
|
|
143
143
|
return false;
|
|
@@ -146,34 +146,34 @@ function isHex(value, { strict = true } = {}) {
|
|
|
146
146
|
return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
|
|
147
147
|
}
|
|
148
148
|
var init_isHex = __esm({
|
|
149
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
149
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
150
150
|
"use strict";
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
154
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js
|
|
155
155
|
function size(value) {
|
|
156
156
|
if (isHex(value, { strict: false }))
|
|
157
157
|
return Math.ceil((value.length - 2) / 2);
|
|
158
158
|
return value.length;
|
|
159
159
|
}
|
|
160
160
|
var init_size = __esm({
|
|
161
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
161
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js"() {
|
|
162
162
|
"use strict";
|
|
163
163
|
init_isHex();
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
167
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js
|
|
168
168
|
var version;
|
|
169
169
|
var init_version = __esm({
|
|
170
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
170
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js"() {
|
|
171
171
|
"use strict";
|
|
172
172
|
version = "2.22.12";
|
|
173
173
|
}
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
176
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js
|
|
177
177
|
function walk(err, fn) {
|
|
178
178
|
if (fn?.(err))
|
|
179
179
|
return err;
|
|
@@ -183,7 +183,7 @@ function walk(err, fn) {
|
|
|
183
183
|
}
|
|
184
184
|
var errorConfig, BaseError;
|
|
185
185
|
var init_base = __esm({
|
|
186
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
186
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js"() {
|
|
187
187
|
"use strict";
|
|
188
188
|
init_version();
|
|
189
189
|
errorConfig = {
|
|
@@ -264,10 +264,10 @@ var init_base = __esm({
|
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
267
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/abi.js
|
|
268
268
|
var AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiItemAmbiguityError, InvalidAbiEncodingTypeError, InvalidAbiDecodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
|
|
269
269
|
var init_abi = __esm({
|
|
270
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
270
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/abi.js"() {
|
|
271
271
|
"use strict";
|
|
272
272
|
init_formatAbiItem2();
|
|
273
273
|
init_size();
|
|
@@ -382,10 +382,10 @@ var init_abi = __esm({
|
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
385
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js
|
|
386
386
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
|
|
387
387
|
var init_data = __esm({
|
|
388
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
388
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js"() {
|
|
389
389
|
"use strict";
|
|
390
390
|
init_base();
|
|
391
391
|
SliceOffsetOutOfBoundsError = class extends BaseError {
|
|
@@ -401,7 +401,7 @@ var init_data = __esm({
|
|
|
401
401
|
}
|
|
402
402
|
});
|
|
403
403
|
|
|
404
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
404
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js
|
|
405
405
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
406
406
|
if (typeof hexOrBytes === "string")
|
|
407
407
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -436,16 +436,16 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
|
|
|
436
436
|
return paddedBytes;
|
|
437
437
|
}
|
|
438
438
|
var init_pad = __esm({
|
|
439
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
439
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
440
440
|
"use strict";
|
|
441
441
|
init_data();
|
|
442
442
|
}
|
|
443
443
|
});
|
|
444
444
|
|
|
445
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
445
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js
|
|
446
446
|
var IntegerOutOfRangeError, InvalidBytesBooleanError, SizeOverflowError;
|
|
447
447
|
var init_encoding = __esm({
|
|
448
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
448
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js"() {
|
|
449
449
|
"use strict";
|
|
450
450
|
init_base();
|
|
451
451
|
IntegerOutOfRangeError = class extends BaseError {
|
|
@@ -468,7 +468,7 @@ var init_encoding = __esm({
|
|
|
468
468
|
}
|
|
469
469
|
});
|
|
470
470
|
|
|
471
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
471
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js
|
|
472
472
|
function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
473
473
|
let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
|
|
474
474
|
let sliceLength = 0;
|
|
@@ -487,12 +487,12 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
|
|
|
487
487
|
return data;
|
|
488
488
|
}
|
|
489
489
|
var init_trim = __esm({
|
|
490
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
490
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js"() {
|
|
491
491
|
"use strict";
|
|
492
492
|
}
|
|
493
493
|
});
|
|
494
494
|
|
|
495
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
495
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
496
496
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
497
497
|
if (size(hexOrBytes) > size2)
|
|
498
498
|
throw new SizeOverflowError({
|
|
@@ -517,14 +517,14 @@ function hexToNumber(hex, opts = {}) {
|
|
|
517
517
|
return Number(hexToBigInt(hex, opts));
|
|
518
518
|
}
|
|
519
519
|
var init_fromHex = __esm({
|
|
520
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
520
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
521
521
|
"use strict";
|
|
522
522
|
init_encoding();
|
|
523
523
|
init_size();
|
|
524
524
|
}
|
|
525
525
|
});
|
|
526
526
|
|
|
527
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
527
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
528
528
|
function toHex(value, opts = {}) {
|
|
529
529
|
if (typeof value === "number" || typeof value === "bigint")
|
|
530
530
|
return numberToHex(value, opts);
|
|
@@ -589,7 +589,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
589
589
|
}
|
|
590
590
|
var hexes, encoder;
|
|
591
591
|
var init_toHex = __esm({
|
|
592
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
592
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
593
593
|
"use strict";
|
|
594
594
|
init_encoding();
|
|
595
595
|
init_pad();
|
|
@@ -599,7 +599,7 @@ var init_toHex = __esm({
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
|
|
602
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
602
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
603
603
|
function toBytes(value, opts = {}) {
|
|
604
604
|
if (typeof value === "number" || typeof value === "bigint")
|
|
605
605
|
return numberToBytes(value, opts);
|
|
@@ -662,7 +662,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
662
662
|
}
|
|
663
663
|
var encoder2, charCodeMap;
|
|
664
664
|
var init_toBytes = __esm({
|
|
665
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
665
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
666
666
|
"use strict";
|
|
667
667
|
init_base();
|
|
668
668
|
init_isHex();
|
|
@@ -987,7 +987,7 @@ var init_sha3 = __esm({
|
|
|
987
987
|
}
|
|
988
988
|
});
|
|
989
989
|
|
|
990
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
990
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
991
991
|
function keccak256(value, to_) {
|
|
992
992
|
const to = to_ || "hex";
|
|
993
993
|
const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -996,7 +996,7 @@ function keccak256(value, to_) {
|
|
|
996
996
|
return toHex(bytes);
|
|
997
997
|
}
|
|
998
998
|
var init_keccak256 = __esm({
|
|
999
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
999
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
1000
1000
|
"use strict";
|
|
1001
1001
|
init_sha3();
|
|
1002
1002
|
init_isHex();
|
|
@@ -1005,13 +1005,13 @@ var init_keccak256 = __esm({
|
|
|
1005
1005
|
}
|
|
1006
1006
|
});
|
|
1007
1007
|
|
|
1008
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1008
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
1009
1009
|
function hashSignature(sig) {
|
|
1010
1010
|
return hash(sig);
|
|
1011
1011
|
}
|
|
1012
1012
|
var hash;
|
|
1013
1013
|
var init_hashSignature = __esm({
|
|
1014
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1014
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
1015
1015
|
"use strict";
|
|
1016
1016
|
init_toBytes();
|
|
1017
1017
|
init_keccak256();
|
|
@@ -1019,7 +1019,7 @@ var init_hashSignature = __esm({
|
|
|
1019
1019
|
}
|
|
1020
1020
|
});
|
|
1021
1021
|
|
|
1022
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1022
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
1023
1023
|
function normalizeSignature(signature) {
|
|
1024
1024
|
let active = true;
|
|
1025
1025
|
let current = "";
|
|
@@ -1063,16 +1063,16 @@ function normalizeSignature(signature) {
|
|
|
1063
1063
|
return result;
|
|
1064
1064
|
}
|
|
1065
1065
|
var init_normalizeSignature = __esm({
|
|
1066
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1066
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
1067
1067
|
"use strict";
|
|
1068
1068
|
init_base();
|
|
1069
1069
|
}
|
|
1070
1070
|
});
|
|
1071
1071
|
|
|
1072
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1072
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
1073
1073
|
var toSignature;
|
|
1074
1074
|
var init_toSignature = __esm({
|
|
1075
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1075
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
1076
1076
|
"use strict";
|
|
1077
1077
|
init_exports();
|
|
1078
1078
|
init_normalizeSignature();
|
|
@@ -1087,32 +1087,32 @@ var init_toSignature = __esm({
|
|
|
1087
1087
|
}
|
|
1088
1088
|
});
|
|
1089
1089
|
|
|
1090
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1090
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
1091
1091
|
function toSignatureHash(fn) {
|
|
1092
1092
|
return hashSignature(toSignature(fn));
|
|
1093
1093
|
}
|
|
1094
1094
|
var init_toSignatureHash = __esm({
|
|
1095
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1095
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
1096
1096
|
"use strict";
|
|
1097
1097
|
init_hashSignature();
|
|
1098
1098
|
init_toSignature();
|
|
1099
1099
|
}
|
|
1100
1100
|
});
|
|
1101
1101
|
|
|
1102
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1102
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
1103
1103
|
var toEventSelector;
|
|
1104
1104
|
var init_toEventSelector = __esm({
|
|
1105
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1105
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
1106
1106
|
"use strict";
|
|
1107
1107
|
init_toSignatureHash();
|
|
1108
1108
|
toEventSelector = toSignatureHash;
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
1111
|
|
|
1112
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1112
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js
|
|
1113
1113
|
var InvalidAddressError;
|
|
1114
1114
|
var init_address = __esm({
|
|
1115
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1115
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js"() {
|
|
1116
1116
|
"use strict";
|
|
1117
1117
|
init_base();
|
|
1118
1118
|
InvalidAddressError = class extends BaseError {
|
|
@@ -1129,10 +1129,10 @@ var init_address = __esm({
|
|
|
1129
1129
|
}
|
|
1130
1130
|
});
|
|
1131
1131
|
|
|
1132
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1132
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js
|
|
1133
1133
|
var LruMap;
|
|
1134
1134
|
var init_lru = __esm({
|
|
1135
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1135
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js"() {
|
|
1136
1136
|
"use strict";
|
|
1137
1137
|
LruMap = class extends Map {
|
|
1138
1138
|
constructor(size2) {
|
|
@@ -1166,7 +1166,7 @@ var init_lru = __esm({
|
|
|
1166
1166
|
}
|
|
1167
1167
|
});
|
|
1168
1168
|
|
|
1169
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1169
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js
|
|
1170
1170
|
function checksumAddress(address_, chainId) {
|
|
1171
1171
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
1172
1172
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -1187,7 +1187,7 @@ function checksumAddress(address_, chainId) {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
var checksumAddressCache;
|
|
1189
1189
|
var init_getAddress = __esm({
|
|
1190
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1190
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
1191
1191
|
"use strict";
|
|
1192
1192
|
init_toBytes();
|
|
1193
1193
|
init_keccak256();
|
|
@@ -1196,7 +1196,7 @@ var init_getAddress = __esm({
|
|
|
1196
1196
|
}
|
|
1197
1197
|
});
|
|
1198
1198
|
|
|
1199
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1199
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js
|
|
1200
1200
|
function isAddress(address, options) {
|
|
1201
1201
|
const { strict = true } = options ?? {};
|
|
1202
1202
|
const cacheKey = `${address}.${strict}`;
|
|
@@ -1216,7 +1216,7 @@ function isAddress(address, options) {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
var addressRegex, isAddressCache;
|
|
1218
1218
|
var init_isAddress = __esm({
|
|
1219
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1219
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
1220
1220
|
"use strict";
|
|
1221
1221
|
init_lru();
|
|
1222
1222
|
init_getAddress();
|
|
@@ -1225,7 +1225,7 @@ var init_isAddress = __esm({
|
|
|
1225
1225
|
}
|
|
1226
1226
|
});
|
|
1227
1227
|
|
|
1228
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1228
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js
|
|
1229
1229
|
function concat(values) {
|
|
1230
1230
|
if (typeof values[0] === "string")
|
|
1231
1231
|
return concatHex(values);
|
|
@@ -1248,12 +1248,12 @@ function concatHex(values) {
|
|
|
1248
1248
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
1249
1249
|
}
|
|
1250
1250
|
var init_concat = __esm({
|
|
1251
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1251
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
1252
1252
|
"use strict";
|
|
1253
1253
|
}
|
|
1254
1254
|
});
|
|
1255
1255
|
|
|
1256
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1256
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js
|
|
1257
1257
|
function slice(value, start, end, { strict } = {}) {
|
|
1258
1258
|
if (isHex(value, { strict: false }))
|
|
1259
1259
|
return sliceHex(value, start, end, {
|
|
@@ -1295,7 +1295,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
1295
1295
|
return value;
|
|
1296
1296
|
}
|
|
1297
1297
|
var init_slice = __esm({
|
|
1298
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1298
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
1299
1299
|
"use strict";
|
|
1300
1300
|
init_data();
|
|
1301
1301
|
init_isHex();
|
|
@@ -1303,16 +1303,16 @@ var init_slice = __esm({
|
|
|
1303
1303
|
}
|
|
1304
1304
|
});
|
|
1305
1305
|
|
|
1306
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1306
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/regex.js
|
|
1307
1307
|
var integerRegex;
|
|
1308
1308
|
var init_regex2 = __esm({
|
|
1309
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1309
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/regex.js"() {
|
|
1310
1310
|
"use strict";
|
|
1311
1311
|
integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
1312
1312
|
}
|
|
1313
1313
|
});
|
|
1314
1314
|
|
|
1315
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1315
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
1316
1316
|
function encodeAbiParameters(params, values) {
|
|
1317
1317
|
if (params.length !== values.length)
|
|
1318
1318
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -1526,7 +1526,7 @@ function getArrayComponents(type) {
|
|
|
1526
1526
|
) : void 0;
|
|
1527
1527
|
}
|
|
1528
1528
|
var init_encodeAbiParameters = __esm({
|
|
1529
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1529
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
1530
1530
|
"use strict";
|
|
1531
1531
|
init_abi();
|
|
1532
1532
|
init_address();
|
|
@@ -1542,10 +1542,10 @@ var init_encodeAbiParameters = __esm({
|
|
|
1542
1542
|
}
|
|
1543
1543
|
});
|
|
1544
1544
|
|
|
1545
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1545
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
1546
1546
|
var toFunctionSelector;
|
|
1547
1547
|
var init_toFunctionSelector = __esm({
|
|
1548
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1548
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
1549
1549
|
"use strict";
|
|
1550
1550
|
init_slice();
|
|
1551
1551
|
init_toSignatureHash();
|
|
@@ -1553,7 +1553,7 @@ var init_toFunctionSelector = __esm({
|
|
|
1553
1553
|
}
|
|
1554
1554
|
});
|
|
1555
1555
|
|
|
1556
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1556
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
1557
1557
|
function getAbiItem(parameters) {
|
|
1558
1558
|
const { abi, args = [], name } = parameters;
|
|
1559
1559
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -1665,7 +1665,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
1665
1665
|
return;
|
|
1666
1666
|
}
|
|
1667
1667
|
var init_getAbiItem = __esm({
|
|
1668
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1668
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
1669
1669
|
"use strict";
|
|
1670
1670
|
init_abi();
|
|
1671
1671
|
init_isHex();
|
|
@@ -1675,10 +1675,10 @@ var init_getAbiItem = __esm({
|
|
|
1675
1675
|
}
|
|
1676
1676
|
});
|
|
1677
1677
|
|
|
1678
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1678
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js
|
|
1679
1679
|
var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
|
|
1680
1680
|
var init_cursor = __esm({
|
|
1681
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1681
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js"() {
|
|
1682
1682
|
"use strict";
|
|
1683
1683
|
init_base();
|
|
1684
1684
|
NegativeOffsetError = class extends BaseError {
|
|
@@ -1701,7 +1701,7 @@ var init_cursor = __esm({
|
|
|
1701
1701
|
}
|
|
1702
1702
|
});
|
|
1703
1703
|
|
|
1704
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1704
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js
|
|
1705
1705
|
function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
1706
1706
|
const cursor = Object.create(staticCursor);
|
|
1707
1707
|
cursor.bytes = bytes;
|
|
@@ -1712,7 +1712,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
var staticCursor;
|
|
1714
1714
|
var init_cursor2 = __esm({
|
|
1715
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1715
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js"() {
|
|
1716
1716
|
"use strict";
|
|
1717
1717
|
init_cursor();
|
|
1718
1718
|
staticCursor = {
|
|
@@ -1877,7 +1877,7 @@ var init_cursor2 = __esm({
|
|
|
1877
1877
|
}
|
|
1878
1878
|
});
|
|
1879
1879
|
|
|
1880
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1880
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js
|
|
1881
1881
|
function bytesToBigInt(bytes, opts = {}) {
|
|
1882
1882
|
if (typeof opts.size !== "undefined")
|
|
1883
1883
|
assertSize(bytes, { size: opts.size });
|
|
@@ -1909,7 +1909,7 @@ function bytesToString(bytes_, opts = {}) {
|
|
|
1909
1909
|
return new TextDecoder().decode(bytes);
|
|
1910
1910
|
}
|
|
1911
1911
|
var init_fromBytes = __esm({
|
|
1912
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1912
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
|
|
1913
1913
|
"use strict";
|
|
1914
1914
|
init_encoding();
|
|
1915
1915
|
init_trim();
|
|
@@ -1918,7 +1918,7 @@ var init_fromBytes = __esm({
|
|
|
1918
1918
|
}
|
|
1919
1919
|
});
|
|
1920
1920
|
|
|
1921
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
1921
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
|
|
1922
1922
|
function decodeAbiParameters(params, data) {
|
|
1923
1923
|
const bytes = typeof data === "string" ? hexToBytes(data) : data;
|
|
1924
1924
|
const cursor = createCursor(bytes);
|
|
@@ -2104,7 +2104,7 @@ function hasDynamicChild(param) {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
var sizeOfLength, sizeOfOffset;
|
|
2106
2106
|
var init_decodeAbiParameters = __esm({
|
|
2107
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2107
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
|
|
2108
2108
|
"use strict";
|
|
2109
2109
|
init_abi();
|
|
2110
2110
|
init_getAddress();
|
|
@@ -2121,10 +2121,10 @@ var init_decodeAbiParameters = __esm({
|
|
|
2121
2121
|
}
|
|
2122
2122
|
});
|
|
2123
2123
|
|
|
2124
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2124
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/unit.js
|
|
2125
2125
|
var etherUnits;
|
|
2126
2126
|
var init_unit = __esm({
|
|
2127
|
-
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
2127
|
+
"../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/unit.js"() {
|
|
2128
2128
|
"use strict";
|
|
2129
2129
|
etherUnits = {
|
|
2130
2130
|
gwei: 9,
|
|
@@ -2222,6 +2222,12 @@ __export(index_exports, {
|
|
|
2222
2222
|
uniswapV3SwapRouterABI: () => uniswapV3SwapRouterABI,
|
|
2223
2223
|
uniswapV3SwapRouterAddress: () => uniswapV3SwapRouterAddress,
|
|
2224
2224
|
uniswapV3SwapRouterConfig: () => uniswapV3SwapRouterConfig,
|
|
2225
|
+
uniswapV4PoolManagerABI: () => uniswapV4PoolManagerABI,
|
|
2226
|
+
uniswapV4PoolManagerAddress: () => uniswapV4PoolManagerAddress,
|
|
2227
|
+
uniswapV4PoolManagerConfig: () => uniswapV4PoolManagerConfig,
|
|
2228
|
+
universalRouterABI: () => universalRouterABI,
|
|
2229
|
+
universalRouterAddress: () => universalRouterAddress,
|
|
2230
|
+
universalRouterConfig: () => universalRouterConfig,
|
|
2225
2231
|
upgradeGateABI: () => upgradeGateABI,
|
|
2226
2232
|
upgradeGateAddress: () => upgradeGateAddress,
|
|
2227
2233
|
upgradeGateConfig: () => upgradeGateConfig,
|
|
@@ -4641,6 +4647,7 @@ var coinABI = [
|
|
|
4641
4647
|
],
|
|
4642
4648
|
name: "InvalidAccountNonce"
|
|
4643
4649
|
},
|
|
4650
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
4644
4651
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
4645
4652
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
4646
4653
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -4690,6 +4697,7 @@ var coinFactoryABI = [
|
|
|
4690
4697
|
inputs: [
|
|
4691
4698
|
{ name: "coinV4Impl_", internalType: "address", type: "address" },
|
|
4692
4699
|
{ name: "creatorCoinImpl_", internalType: "address", type: "address" },
|
|
4700
|
+
{ name: "trendCoinImpl_", internalType: "address", type: "address" },
|
|
4693
4701
|
{ name: "hook_", internalType: "address", type: "address" },
|
|
4694
4702
|
{ name: "zoraHookRegistry_", internalType: "address", type: "address" }
|
|
4695
4703
|
],
|
|
@@ -4862,6 +4870,20 @@ var coinFactoryABI = [
|
|
|
4862
4870
|
],
|
|
4863
4871
|
stateMutability: "payable"
|
|
4864
4872
|
},
|
|
4873
|
+
{
|
|
4874
|
+
type: "function",
|
|
4875
|
+
inputs: [
|
|
4876
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
4877
|
+
{ name: "postDeployHook", internalType: "address", type: "address" },
|
|
4878
|
+
{ name: "postDeployHookData", internalType: "bytes", type: "bytes" }
|
|
4879
|
+
],
|
|
4880
|
+
name: "deployTrendCoin",
|
|
4881
|
+
outputs: [
|
|
4882
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
4883
|
+
{ name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
|
|
4884
|
+
],
|
|
4885
|
+
stateMutability: "payable"
|
|
4886
|
+
},
|
|
4865
4887
|
{
|
|
4866
4888
|
type: "function",
|
|
4867
4889
|
inputs: [
|
|
@@ -4940,6 +4962,27 @@ var coinFactoryABI = [
|
|
|
4940
4962
|
outputs: [],
|
|
4941
4963
|
stateMutability: "nonpayable"
|
|
4942
4964
|
},
|
|
4965
|
+
{
|
|
4966
|
+
type: "function",
|
|
4967
|
+
inputs: [
|
|
4968
|
+
{ name: "currency", internalType: "address", type: "address" },
|
|
4969
|
+
{ name: "tickLower", internalType: "int24[]", type: "int24[]" },
|
|
4970
|
+
{ name: "tickUpper", internalType: "int24[]", type: "int24[]" },
|
|
4971
|
+
{
|
|
4972
|
+
name: "numDiscoveryPositions",
|
|
4973
|
+
internalType: "uint16[]",
|
|
4974
|
+
type: "uint16[]"
|
|
4975
|
+
},
|
|
4976
|
+
{
|
|
4977
|
+
name: "maxDiscoverySupplyShare",
|
|
4978
|
+
internalType: "uint256[]",
|
|
4979
|
+
type: "uint256[]"
|
|
4980
|
+
}
|
|
4981
|
+
],
|
|
4982
|
+
name: "setTrendCoinPoolConfig",
|
|
4983
|
+
outputs: [],
|
|
4984
|
+
stateMutability: "nonpayable"
|
|
4985
|
+
},
|
|
4943
4986
|
{
|
|
4944
4987
|
type: "function",
|
|
4945
4988
|
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
@@ -4947,6 +4990,27 @@ var coinFactoryABI = [
|
|
|
4947
4990
|
outputs: [],
|
|
4948
4991
|
stateMutability: "nonpayable"
|
|
4949
4992
|
},
|
|
4993
|
+
{
|
|
4994
|
+
type: "function",
|
|
4995
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
4996
|
+
name: "trendCoinAddress",
|
|
4997
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4998
|
+
stateMutability: "view"
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
type: "function",
|
|
5002
|
+
inputs: [],
|
|
5003
|
+
name: "trendCoinImpl",
|
|
5004
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5005
|
+
stateMutability: "view"
|
|
5006
|
+
},
|
|
5007
|
+
{
|
|
5008
|
+
type: "function",
|
|
5009
|
+
inputs: [],
|
|
5010
|
+
name: "trendCoinPoolConfig",
|
|
5011
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
5012
|
+
stateMutability: "view"
|
|
5013
|
+
},
|
|
4950
5014
|
{
|
|
4951
5015
|
type: "function",
|
|
4952
5016
|
inputs: [
|
|
@@ -5212,6 +5276,75 @@ var coinFactoryABI = [
|
|
|
5212
5276
|
],
|
|
5213
5277
|
name: "OwnershipTransferred"
|
|
5214
5278
|
},
|
|
5279
|
+
{
|
|
5280
|
+
type: "event",
|
|
5281
|
+
anonymous: false,
|
|
5282
|
+
inputs: [
|
|
5283
|
+
{
|
|
5284
|
+
name: "caller",
|
|
5285
|
+
internalType: "address",
|
|
5286
|
+
type: "address",
|
|
5287
|
+
indexed: true
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
name: "symbol",
|
|
5291
|
+
internalType: "string",
|
|
5292
|
+
type: "string",
|
|
5293
|
+
indexed: false
|
|
5294
|
+
},
|
|
5295
|
+
{
|
|
5296
|
+
name: "coin",
|
|
5297
|
+
internalType: "address",
|
|
5298
|
+
type: "address",
|
|
5299
|
+
indexed: false
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
name: "poolKey",
|
|
5303
|
+
internalType: "struct PoolKey",
|
|
5304
|
+
type: "tuple",
|
|
5305
|
+
components: [
|
|
5306
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
5307
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
5308
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5309
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
5310
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
5311
|
+
],
|
|
5312
|
+
indexed: false
|
|
5313
|
+
},
|
|
5314
|
+
{
|
|
5315
|
+
name: "poolKeyHash",
|
|
5316
|
+
internalType: "bytes32",
|
|
5317
|
+
type: "bytes32",
|
|
5318
|
+
indexed: false
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
name: "poolConfig",
|
|
5322
|
+
internalType: "bytes",
|
|
5323
|
+
type: "bytes",
|
|
5324
|
+
indexed: false
|
|
5325
|
+
},
|
|
5326
|
+
{
|
|
5327
|
+
name: "version",
|
|
5328
|
+
internalType: "string",
|
|
5329
|
+
type: "string",
|
|
5330
|
+
indexed: false
|
|
5331
|
+
}
|
|
5332
|
+
],
|
|
5333
|
+
name: "TrendCoinCreated"
|
|
5334
|
+
},
|
|
5335
|
+
{
|
|
5336
|
+
type: "event",
|
|
5337
|
+
anonymous: false,
|
|
5338
|
+
inputs: [
|
|
5339
|
+
{
|
|
5340
|
+
name: "poolConfig",
|
|
5341
|
+
internalType: "bytes",
|
|
5342
|
+
type: "bytes",
|
|
5343
|
+
indexed: false
|
|
5344
|
+
}
|
|
5345
|
+
],
|
|
5346
|
+
name: "TrendCoinPoolConfigUpdated"
|
|
5347
|
+
},
|
|
5215
5348
|
{
|
|
5216
5349
|
type: "event",
|
|
5217
5350
|
anonymous: false,
|
|
@@ -5264,6 +5397,7 @@ var coinFactoryABI = [
|
|
|
5264
5397
|
],
|
|
5265
5398
|
name: "InvalidTickRangeMisordered"
|
|
5266
5399
|
},
|
|
5400
|
+
{ type: "error", inputs: [], name: "InvalidTickerCharacters" },
|
|
5267
5401
|
{
|
|
5268
5402
|
type: "error",
|
|
5269
5403
|
inputs: [
|
|
@@ -5285,6 +5419,12 @@ var coinFactoryABI = [
|
|
|
5285
5419
|
name: "OwnableUnauthorizedAccount"
|
|
5286
5420
|
},
|
|
5287
5421
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
5422
|
+
{
|
|
5423
|
+
type: "error",
|
|
5424
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
5425
|
+
name: "TickerAlreadyUsed"
|
|
5426
|
+
},
|
|
5427
|
+
{ type: "error", inputs: [], name: "TrendCoinPoolConfigNotSet" },
|
|
5288
5428
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
5289
5429
|
{
|
|
5290
5430
|
type: "error",
|
|
@@ -5299,6 +5439,7 @@ var coinFactoryABI = [
|
|
|
5299
5439
|
],
|
|
5300
5440
|
name: "UpgradeToMismatchedContractName"
|
|
5301
5441
|
},
|
|
5442
|
+
{ type: "error", inputs: [], name: "UseSpecificTrendCoinInitialize" },
|
|
5302
5443
|
{ type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
|
|
5303
5444
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
|
|
5304
5445
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
@@ -5406,6 +5547,7 @@ var coinFactoryABI = [
|
|
|
5406
5547
|
],
|
|
5407
5548
|
name: "InvalidAccountNonce"
|
|
5408
5549
|
},
|
|
5550
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
5409
5551
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
5410
5552
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
5411
5553
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -8743,6 +8885,7 @@ var devCoinFactoryABI = [
|
|
|
8743
8885
|
inputs: [
|
|
8744
8886
|
{ name: "coinV4Impl_", internalType: "address", type: "address" },
|
|
8745
8887
|
{ name: "creatorCoinImpl_", internalType: "address", type: "address" },
|
|
8888
|
+
{ name: "trendCoinImpl_", internalType: "address", type: "address" },
|
|
8746
8889
|
{ name: "hook_", internalType: "address", type: "address" },
|
|
8747
8890
|
{ name: "zoraHookRegistry_", internalType: "address", type: "address" }
|
|
8748
8891
|
],
|
|
@@ -8915,6 +9058,20 @@ var devCoinFactoryABI = [
|
|
|
8915
9058
|
],
|
|
8916
9059
|
stateMutability: "payable"
|
|
8917
9060
|
},
|
|
9061
|
+
{
|
|
9062
|
+
type: "function",
|
|
9063
|
+
inputs: [
|
|
9064
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
9065
|
+
{ name: "postDeployHook", internalType: "address", type: "address" },
|
|
9066
|
+
{ name: "postDeployHookData", internalType: "bytes", type: "bytes" }
|
|
9067
|
+
],
|
|
9068
|
+
name: "deployTrendCoin",
|
|
9069
|
+
outputs: [
|
|
9070
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
9071
|
+
{ name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
|
|
9072
|
+
],
|
|
9073
|
+
stateMutability: "payable"
|
|
9074
|
+
},
|
|
8918
9075
|
{
|
|
8919
9076
|
type: "function",
|
|
8920
9077
|
inputs: [
|
|
@@ -8993,6 +9150,27 @@ var devCoinFactoryABI = [
|
|
|
8993
9150
|
outputs: [],
|
|
8994
9151
|
stateMutability: "nonpayable"
|
|
8995
9152
|
},
|
|
9153
|
+
{
|
|
9154
|
+
type: "function",
|
|
9155
|
+
inputs: [
|
|
9156
|
+
{ name: "currency", internalType: "address", type: "address" },
|
|
9157
|
+
{ name: "tickLower", internalType: "int24[]", type: "int24[]" },
|
|
9158
|
+
{ name: "tickUpper", internalType: "int24[]", type: "int24[]" },
|
|
9159
|
+
{
|
|
9160
|
+
name: "numDiscoveryPositions",
|
|
9161
|
+
internalType: "uint16[]",
|
|
9162
|
+
type: "uint16[]"
|
|
9163
|
+
},
|
|
9164
|
+
{
|
|
9165
|
+
name: "maxDiscoverySupplyShare",
|
|
9166
|
+
internalType: "uint256[]",
|
|
9167
|
+
type: "uint256[]"
|
|
9168
|
+
}
|
|
9169
|
+
],
|
|
9170
|
+
name: "setTrendCoinPoolConfig",
|
|
9171
|
+
outputs: [],
|
|
9172
|
+
stateMutability: "nonpayable"
|
|
9173
|
+
},
|
|
8996
9174
|
{
|
|
8997
9175
|
type: "function",
|
|
8998
9176
|
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
@@ -9000,6 +9178,27 @@ var devCoinFactoryABI = [
|
|
|
9000
9178
|
outputs: [],
|
|
9001
9179
|
stateMutability: "nonpayable"
|
|
9002
9180
|
},
|
|
9181
|
+
{
|
|
9182
|
+
type: "function",
|
|
9183
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
9184
|
+
name: "trendCoinAddress",
|
|
9185
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9186
|
+
stateMutability: "view"
|
|
9187
|
+
},
|
|
9188
|
+
{
|
|
9189
|
+
type: "function",
|
|
9190
|
+
inputs: [],
|
|
9191
|
+
name: "trendCoinImpl",
|
|
9192
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9193
|
+
stateMutability: "view"
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
type: "function",
|
|
9197
|
+
inputs: [],
|
|
9198
|
+
name: "trendCoinPoolConfig",
|
|
9199
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
9200
|
+
stateMutability: "view"
|
|
9201
|
+
},
|
|
9003
9202
|
{
|
|
9004
9203
|
type: "function",
|
|
9005
9204
|
inputs: [
|
|
@@ -9265,6 +9464,75 @@ var devCoinFactoryABI = [
|
|
|
9265
9464
|
],
|
|
9266
9465
|
name: "OwnershipTransferred"
|
|
9267
9466
|
},
|
|
9467
|
+
{
|
|
9468
|
+
type: "event",
|
|
9469
|
+
anonymous: false,
|
|
9470
|
+
inputs: [
|
|
9471
|
+
{
|
|
9472
|
+
name: "caller",
|
|
9473
|
+
internalType: "address",
|
|
9474
|
+
type: "address",
|
|
9475
|
+
indexed: true
|
|
9476
|
+
},
|
|
9477
|
+
{
|
|
9478
|
+
name: "symbol",
|
|
9479
|
+
internalType: "string",
|
|
9480
|
+
type: "string",
|
|
9481
|
+
indexed: false
|
|
9482
|
+
},
|
|
9483
|
+
{
|
|
9484
|
+
name: "coin",
|
|
9485
|
+
internalType: "address",
|
|
9486
|
+
type: "address",
|
|
9487
|
+
indexed: false
|
|
9488
|
+
},
|
|
9489
|
+
{
|
|
9490
|
+
name: "poolKey",
|
|
9491
|
+
internalType: "struct PoolKey",
|
|
9492
|
+
type: "tuple",
|
|
9493
|
+
components: [
|
|
9494
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9495
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9496
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9497
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9498
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
9499
|
+
],
|
|
9500
|
+
indexed: false
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
name: "poolKeyHash",
|
|
9504
|
+
internalType: "bytes32",
|
|
9505
|
+
type: "bytes32",
|
|
9506
|
+
indexed: false
|
|
9507
|
+
},
|
|
9508
|
+
{
|
|
9509
|
+
name: "poolConfig",
|
|
9510
|
+
internalType: "bytes",
|
|
9511
|
+
type: "bytes",
|
|
9512
|
+
indexed: false
|
|
9513
|
+
},
|
|
9514
|
+
{
|
|
9515
|
+
name: "version",
|
|
9516
|
+
internalType: "string",
|
|
9517
|
+
type: "string",
|
|
9518
|
+
indexed: false
|
|
9519
|
+
}
|
|
9520
|
+
],
|
|
9521
|
+
name: "TrendCoinCreated"
|
|
9522
|
+
},
|
|
9523
|
+
{
|
|
9524
|
+
type: "event",
|
|
9525
|
+
anonymous: false,
|
|
9526
|
+
inputs: [
|
|
9527
|
+
{
|
|
9528
|
+
name: "poolConfig",
|
|
9529
|
+
internalType: "bytes",
|
|
9530
|
+
type: "bytes",
|
|
9531
|
+
indexed: false
|
|
9532
|
+
}
|
|
9533
|
+
],
|
|
9534
|
+
name: "TrendCoinPoolConfigUpdated"
|
|
9535
|
+
},
|
|
9268
9536
|
{
|
|
9269
9537
|
type: "event",
|
|
9270
9538
|
anonymous: false,
|
|
@@ -9317,6 +9585,7 @@ var devCoinFactoryABI = [
|
|
|
9317
9585
|
],
|
|
9318
9586
|
name: "InvalidTickRangeMisordered"
|
|
9319
9587
|
},
|
|
9588
|
+
{ type: "error", inputs: [], name: "InvalidTickerCharacters" },
|
|
9320
9589
|
{
|
|
9321
9590
|
type: "error",
|
|
9322
9591
|
inputs: [
|
|
@@ -9338,6 +9607,12 @@ var devCoinFactoryABI = [
|
|
|
9338
9607
|
name: "OwnableUnauthorizedAccount"
|
|
9339
9608
|
},
|
|
9340
9609
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
9610
|
+
{
|
|
9611
|
+
type: "error",
|
|
9612
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
9613
|
+
name: "TickerAlreadyUsed"
|
|
9614
|
+
},
|
|
9615
|
+
{ type: "error", inputs: [], name: "TrendCoinPoolConfigNotSet" },
|
|
9341
9616
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
9342
9617
|
{
|
|
9343
9618
|
type: "error",
|
|
@@ -9352,6 +9627,7 @@ var devCoinFactoryABI = [
|
|
|
9352
9627
|
],
|
|
9353
9628
|
name: "UpgradeToMismatchedContractName"
|
|
9354
9629
|
},
|
|
9630
|
+
{ type: "error", inputs: [], name: "UseSpecificTrendCoinInitialize" },
|
|
9355
9631
|
{ type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
|
|
9356
9632
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
|
|
9357
9633
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
@@ -9459,6 +9735,7 @@ var devCoinFactoryABI = [
|
|
|
9459
9735
|
],
|
|
9460
9736
|
name: "InvalidAccountNonce"
|
|
9461
9737
|
},
|
|
9738
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
9462
9739
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
9463
9740
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
9464
9741
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -9670,6 +9947,13 @@ var devZoraLimitOrderBookABI = [
|
|
|
9670
9947
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
9671
9948
|
stateMutability: "view"
|
|
9672
9949
|
},
|
|
9950
|
+
{
|
|
9951
|
+
type: "function",
|
|
9952
|
+
inputs: [],
|
|
9953
|
+
name: "contractVersion",
|
|
9954
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
9955
|
+
stateMutability: "pure"
|
|
9956
|
+
},
|
|
9673
9957
|
{
|
|
9674
9958
|
type: "function",
|
|
9675
9959
|
inputs: [
|
|
@@ -10245,6 +10529,7 @@ var devZoraLimitOrderBookABI = [
|
|
|
10245
10529
|
],
|
|
10246
10530
|
name: "InvalidAccountNonce"
|
|
10247
10531
|
},
|
|
10532
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
10248
10533
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
10249
10534
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
10250
10535
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -10354,18 +10639,51 @@ var devZoraLimitOrderBookABI = [
|
|
|
10354
10639
|
name: "UpgradePathNotRegistered"
|
|
10355
10640
|
},
|
|
10356
10641
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
10357
|
-
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
|
|
10358
|
-
]
|
|
10359
|
-
var devZoraLimitOrderBookAddress = {
|
|
10360
|
-
8453: "0xE9443442e7b3c024e69c427D21580b9342450121"
|
|
10361
|
-
};
|
|
10362
|
-
var devZoraLimitOrderBookConfig = {
|
|
10363
|
-
address: devZoraLimitOrderBookAddress,
|
|
10364
|
-
abi: devZoraLimitOrderBookABI
|
|
10365
|
-
};
|
|
10366
|
-
var devZoraRouterABI = [
|
|
10642
|
+
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
10643
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
10367
10644
|
{
|
|
10368
|
-
type: "
|
|
10645
|
+
type: "error",
|
|
10646
|
+
inputs: [
|
|
10647
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
10648
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
10649
|
+
],
|
|
10650
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
10651
|
+
},
|
|
10652
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
10653
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
10654
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
10655
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
10656
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
10657
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
10658
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
10659
|
+
{
|
|
10660
|
+
type: "error",
|
|
10661
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
10662
|
+
name: "ProtocolFeeTooLarge"
|
|
10663
|
+
},
|
|
10664
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
10665
|
+
{
|
|
10666
|
+
type: "error",
|
|
10667
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
10668
|
+
name: "TickSpacingTooLarge"
|
|
10669
|
+
},
|
|
10670
|
+
{
|
|
10671
|
+
type: "error",
|
|
10672
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
10673
|
+
name: "TickSpacingTooSmall"
|
|
10674
|
+
},
|
|
10675
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
|
|
10676
|
+
];
|
|
10677
|
+
var devZoraLimitOrderBookAddress = {
|
|
10678
|
+
8453: "0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5"
|
|
10679
|
+
};
|
|
10680
|
+
var devZoraLimitOrderBookConfig = {
|
|
10681
|
+
address: devZoraLimitOrderBookAddress,
|
|
10682
|
+
abi: devZoraLimitOrderBookABI
|
|
10683
|
+
};
|
|
10684
|
+
var devZoraRouterABI = [
|
|
10685
|
+
{
|
|
10686
|
+
type: "constructor",
|
|
10369
10687
|
inputs: [
|
|
10370
10688
|
{
|
|
10371
10689
|
name: "poolManager_",
|
|
@@ -10395,6 +10713,13 @@ var devZoraRouterABI = [
|
|
|
10395
10713
|
outputs: [],
|
|
10396
10714
|
stateMutability: "nonpayable"
|
|
10397
10715
|
},
|
|
10716
|
+
{
|
|
10717
|
+
type: "function",
|
|
10718
|
+
inputs: [],
|
|
10719
|
+
name: "contractVersion",
|
|
10720
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
10721
|
+
stateMutability: "pure"
|
|
10722
|
+
},
|
|
10398
10723
|
{
|
|
10399
10724
|
type: "function",
|
|
10400
10725
|
inputs: [],
|
|
@@ -10721,6 +11046,65 @@ var devZoraRouterABI = [
|
|
|
10721
11046
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
10722
11047
|
{ type: "error", inputs: [], name: "ZeroSwapDelta" },
|
|
10723
11048
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
11049
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
11050
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
11051
|
+
{
|
|
11052
|
+
type: "error",
|
|
11053
|
+
inputs: [
|
|
11054
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
11055
|
+
{ name: "expectedCoin", internalType: "address", type: "address" },
|
|
11056
|
+
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
11057
|
+
],
|
|
11058
|
+
name: "CoinMismatch"
|
|
11059
|
+
},
|
|
11060
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
11061
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
11062
|
+
{
|
|
11063
|
+
type: "error",
|
|
11064
|
+
inputs: [
|
|
11065
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
11066
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
11067
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
11068
|
+
],
|
|
11069
|
+
name: "InvalidFillWindow"
|
|
11070
|
+
},
|
|
11071
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
11072
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
11073
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
11074
|
+
{
|
|
11075
|
+
type: "error",
|
|
11076
|
+
inputs: [
|
|
11077
|
+
{ name: "withdrawn", internalType: "uint256", type: "uint256" },
|
|
11078
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
11079
|
+
],
|
|
11080
|
+
name: "MinAmountNotReached"
|
|
11081
|
+
},
|
|
11082
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
11083
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
11084
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
11085
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
11086
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
11087
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
11088
|
+
{
|
|
11089
|
+
type: "error",
|
|
11090
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
11091
|
+
name: "OwnableInvalidOwner"
|
|
11092
|
+
},
|
|
11093
|
+
{
|
|
11094
|
+
type: "error",
|
|
11095
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
11096
|
+
name: "OwnableUnauthorizedAccount"
|
|
11097
|
+
},
|
|
11098
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
11099
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
11100
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
11101
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
11102
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
11103
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
11104
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
11105
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
11106
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
11107
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
10724
11108
|
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
10725
11109
|
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
10726
11110
|
{
|
|
@@ -10806,6 +11190,7 @@ var devZoraRouterABI = [
|
|
|
10806
11190
|
],
|
|
10807
11191
|
name: "InvalidAccountNonce"
|
|
10808
11192
|
},
|
|
11193
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
10809
11194
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
10810
11195
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
10811
11196
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -10916,68 +11301,54 @@ var devZoraRouterABI = [
|
|
|
10916
11301
|
},
|
|
10917
11302
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
10918
11303
|
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
10919
|
-
{ type: "error", inputs: [], name: "
|
|
10920
|
-
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
10921
|
-
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
11304
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
10922
11305
|
{
|
|
10923
11306
|
type: "error",
|
|
10924
11307
|
inputs: [
|
|
10925
|
-
{ name: "
|
|
10926
|
-
{ name: "
|
|
10927
|
-
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
11308
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
11309
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
10928
11310
|
],
|
|
10929
|
-
name: "
|
|
11311
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
10930
11312
|
},
|
|
10931
|
-
{ type: "error", inputs: [], name: "
|
|
10932
|
-
{ type: "error", inputs: [], name: "
|
|
11313
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
11314
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
11315
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
11316
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
11317
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
11318
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
11319
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
10933
11320
|
{
|
|
10934
11321
|
type: "error",
|
|
10935
|
-
inputs: [
|
|
10936
|
-
|
|
10937
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
10938
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
10939
|
-
],
|
|
10940
|
-
name: "InvalidFillWindow"
|
|
11322
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
11323
|
+
name: "ProtocolFeeTooLarge"
|
|
10941
11324
|
},
|
|
10942
|
-
{ type: "error", inputs: [], name: "
|
|
10943
|
-
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
10944
|
-
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
11325
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
10945
11326
|
{
|
|
10946
11327
|
type: "error",
|
|
10947
|
-
inputs: [
|
|
10948
|
-
|
|
10949
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
10950
|
-
],
|
|
10951
|
-
name: "MinAmountNotReached"
|
|
11328
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
11329
|
+
name: "TickSpacingTooLarge"
|
|
10952
11330
|
},
|
|
10953
|
-
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
10954
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
10955
|
-
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
10956
|
-
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
10957
|
-
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
10958
|
-
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
10959
11331
|
{
|
|
10960
11332
|
type: "error",
|
|
10961
|
-
inputs: [{ name: "
|
|
10962
|
-
name: "
|
|
11333
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
11334
|
+
name: "TickSpacingTooSmall"
|
|
10963
11335
|
},
|
|
11336
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" },
|
|
11337
|
+
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
10964
11338
|
{
|
|
10965
11339
|
type: "error",
|
|
10966
|
-
inputs: [
|
|
10967
|
-
|
|
11340
|
+
inputs: [
|
|
11341
|
+
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
11342
|
+
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
11343
|
+
],
|
|
11344
|
+
name: "ExecutionFailed"
|
|
10968
11345
|
},
|
|
10969
|
-
{ type: "error", inputs: [], name: "
|
|
10970
|
-
{ type: "error", inputs: [], name: "
|
|
10971
|
-
{ type: "error", inputs: [], name: "
|
|
10972
|
-
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
10973
|
-
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
10974
|
-
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
10975
|
-
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
10976
|
-
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
10977
|
-
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
11346
|
+
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
11347
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
11348
|
+
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
10978
11349
|
];
|
|
10979
11350
|
var devZoraRouterAddress = {
|
|
10980
|
-
8453: "
|
|
11351
|
+
8453: "0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8"
|
|
10981
11352
|
};
|
|
10982
11353
|
var devZoraRouterConfig = {
|
|
10983
11354
|
address: devZoraRouterAddress,
|
|
@@ -14553,113 +14924,804 @@ var uniswapV3SwapRouterABI = [
|
|
|
14553
14924
|
]
|
|
14554
14925
|
}
|
|
14555
14926
|
],
|
|
14556
|
-
name: "exactInput",
|
|
14557
|
-
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14558
|
-
stateMutability: "payable"
|
|
14927
|
+
name: "exactInput",
|
|
14928
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14929
|
+
stateMutability: "payable"
|
|
14930
|
+
},
|
|
14931
|
+
{
|
|
14932
|
+
type: "function",
|
|
14933
|
+
inputs: [
|
|
14934
|
+
{
|
|
14935
|
+
name: "params",
|
|
14936
|
+
internalType: "struct ISwapRouter.ExactInputSingleParams",
|
|
14937
|
+
type: "tuple",
|
|
14938
|
+
components: [
|
|
14939
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
14940
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
14941
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14942
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
14943
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
14944
|
+
{
|
|
14945
|
+
name: "amountOutMinimum",
|
|
14946
|
+
internalType: "uint256",
|
|
14947
|
+
type: "uint256"
|
|
14948
|
+
},
|
|
14949
|
+
{
|
|
14950
|
+
name: "sqrtPriceLimitX96",
|
|
14951
|
+
internalType: "uint160",
|
|
14952
|
+
type: "uint160"
|
|
14953
|
+
}
|
|
14954
|
+
]
|
|
14955
|
+
}
|
|
14956
|
+
],
|
|
14957
|
+
name: "exactInputSingle",
|
|
14958
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14959
|
+
stateMutability: "payable"
|
|
14960
|
+
},
|
|
14961
|
+
{
|
|
14962
|
+
type: "function",
|
|
14963
|
+
inputs: [
|
|
14964
|
+
{
|
|
14965
|
+
name: "params",
|
|
14966
|
+
internalType: "struct ISwapRouter.ExactOutputParams",
|
|
14967
|
+
type: "tuple",
|
|
14968
|
+
components: [
|
|
14969
|
+
{ name: "path", internalType: "bytes", type: "bytes" },
|
|
14970
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
14971
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14972
|
+
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" }
|
|
14973
|
+
]
|
|
14974
|
+
}
|
|
14975
|
+
],
|
|
14976
|
+
name: "exactOutput",
|
|
14977
|
+
outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
|
|
14978
|
+
stateMutability: "payable"
|
|
14979
|
+
},
|
|
14980
|
+
{
|
|
14981
|
+
type: "function",
|
|
14982
|
+
inputs: [
|
|
14983
|
+
{
|
|
14984
|
+
name: "params",
|
|
14985
|
+
internalType: "struct ISwapRouter.ExactOutputSingleParams",
|
|
14986
|
+
type: "tuple",
|
|
14987
|
+
components: [
|
|
14988
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
14989
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
14990
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14991
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
14992
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14993
|
+
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" },
|
|
14994
|
+
{
|
|
14995
|
+
name: "sqrtPriceLimitX96",
|
|
14996
|
+
internalType: "uint160",
|
|
14997
|
+
type: "uint160"
|
|
14998
|
+
}
|
|
14999
|
+
]
|
|
15000
|
+
}
|
|
15001
|
+
],
|
|
15002
|
+
name: "exactOutputSingle",
|
|
15003
|
+
outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
|
|
15004
|
+
stateMutability: "payable"
|
|
15005
|
+
},
|
|
15006
|
+
{
|
|
15007
|
+
type: "function",
|
|
15008
|
+
inputs: [
|
|
15009
|
+
{ name: "amount0Delta", internalType: "int256", type: "int256" },
|
|
15010
|
+
{ name: "amount1Delta", internalType: "int256", type: "int256" },
|
|
15011
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15012
|
+
],
|
|
15013
|
+
name: "uniswapV3SwapCallback",
|
|
15014
|
+
outputs: [],
|
|
15015
|
+
stateMutability: "nonpayable"
|
|
15016
|
+
}
|
|
15017
|
+
];
|
|
15018
|
+
var uniswapV3SwapRouterAddress = {
|
|
15019
|
+
1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
15020
|
+
10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
15021
|
+
8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
15022
|
+
42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
15023
|
+
81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
|
|
15024
|
+
84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
15025
|
+
421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
|
|
15026
|
+
7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
|
|
15027
|
+
11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
|
|
15028
|
+
11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
15029
|
+
999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
|
|
15030
|
+
};
|
|
15031
|
+
var uniswapV3SwapRouterConfig = {
|
|
15032
|
+
address: uniswapV3SwapRouterAddress,
|
|
15033
|
+
abi: uniswapV3SwapRouterABI
|
|
15034
|
+
};
|
|
15035
|
+
var uniswapV4PoolManagerABI = [
|
|
15036
|
+
{
|
|
15037
|
+
type: "function",
|
|
15038
|
+
inputs: [
|
|
15039
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15040
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
15041
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
15042
|
+
],
|
|
15043
|
+
name: "allowance",
|
|
15044
|
+
outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
|
|
15045
|
+
stateMutability: "view"
|
|
15046
|
+
},
|
|
15047
|
+
{
|
|
15048
|
+
type: "function",
|
|
15049
|
+
inputs: [
|
|
15050
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
15051
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15052
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15053
|
+
],
|
|
15054
|
+
name: "approve",
|
|
15055
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15056
|
+
stateMutability: "nonpayable"
|
|
15057
|
+
},
|
|
15058
|
+
{
|
|
15059
|
+
type: "function",
|
|
15060
|
+
inputs: [
|
|
15061
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15062
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
15063
|
+
],
|
|
15064
|
+
name: "balanceOf",
|
|
15065
|
+
outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
|
|
15066
|
+
stateMutability: "view"
|
|
15067
|
+
},
|
|
15068
|
+
{
|
|
15069
|
+
type: "function",
|
|
15070
|
+
inputs: [
|
|
15071
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
15072
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15073
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15074
|
+
],
|
|
15075
|
+
name: "burn",
|
|
15076
|
+
outputs: [],
|
|
15077
|
+
stateMutability: "nonpayable"
|
|
15078
|
+
},
|
|
15079
|
+
{
|
|
15080
|
+
type: "function",
|
|
15081
|
+
inputs: [
|
|
15082
|
+
{ name: "currency", internalType: "Currency", type: "address" },
|
|
15083
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15084
|
+
],
|
|
15085
|
+
name: "clear",
|
|
15086
|
+
outputs: [],
|
|
15087
|
+
stateMutability: "nonpayable"
|
|
15088
|
+
},
|
|
15089
|
+
{
|
|
15090
|
+
type: "function",
|
|
15091
|
+
inputs: [
|
|
15092
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
15093
|
+
{ name: "currency", internalType: "Currency", type: "address" },
|
|
15094
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15095
|
+
],
|
|
15096
|
+
name: "collectProtocolFees",
|
|
15097
|
+
outputs: [
|
|
15098
|
+
{ name: "amountCollected", internalType: "uint256", type: "uint256" }
|
|
15099
|
+
],
|
|
15100
|
+
stateMutability: "nonpayable"
|
|
15101
|
+
},
|
|
15102
|
+
{
|
|
15103
|
+
type: "function",
|
|
15104
|
+
inputs: [
|
|
15105
|
+
{
|
|
15106
|
+
name: "key",
|
|
15107
|
+
internalType: "struct PoolKey",
|
|
15108
|
+
type: "tuple",
|
|
15109
|
+
components: [
|
|
15110
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15111
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15112
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15113
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15114
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15115
|
+
]
|
|
15116
|
+
},
|
|
15117
|
+
{ name: "amount0", internalType: "uint256", type: "uint256" },
|
|
15118
|
+
{ name: "amount1", internalType: "uint256", type: "uint256" },
|
|
15119
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
15120
|
+
],
|
|
15121
|
+
name: "donate",
|
|
15122
|
+
outputs: [{ name: "", internalType: "BalanceDelta", type: "int256" }],
|
|
15123
|
+
stateMutability: "nonpayable"
|
|
15124
|
+
},
|
|
15125
|
+
{
|
|
15126
|
+
type: "function",
|
|
15127
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
15128
|
+
name: "extsload",
|
|
15129
|
+
outputs: [{ name: "value", internalType: "bytes32", type: "bytes32" }],
|
|
15130
|
+
stateMutability: "view"
|
|
15131
|
+
},
|
|
15132
|
+
{
|
|
15133
|
+
type: "function",
|
|
15134
|
+
inputs: [
|
|
15135
|
+
{ name: "startSlot", internalType: "bytes32", type: "bytes32" },
|
|
15136
|
+
{ name: "nSlots", internalType: "uint256", type: "uint256" }
|
|
15137
|
+
],
|
|
15138
|
+
name: "extsload",
|
|
15139
|
+
outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15140
|
+
stateMutability: "view"
|
|
15141
|
+
},
|
|
15142
|
+
{
|
|
15143
|
+
type: "function",
|
|
15144
|
+
inputs: [{ name: "slots", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15145
|
+
name: "extsload",
|
|
15146
|
+
outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15147
|
+
stateMutability: "view"
|
|
15148
|
+
},
|
|
15149
|
+
{
|
|
15150
|
+
type: "function",
|
|
15151
|
+
inputs: [{ name: "slots", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15152
|
+
name: "exttload",
|
|
15153
|
+
outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15154
|
+
stateMutability: "view"
|
|
15155
|
+
},
|
|
15156
|
+
{
|
|
15157
|
+
type: "function",
|
|
15158
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
15159
|
+
name: "exttload",
|
|
15160
|
+
outputs: [{ name: "value", internalType: "bytes32", type: "bytes32" }],
|
|
15161
|
+
stateMutability: "view"
|
|
15162
|
+
},
|
|
15163
|
+
{
|
|
15164
|
+
type: "function",
|
|
15165
|
+
inputs: [
|
|
15166
|
+
{
|
|
15167
|
+
name: "key",
|
|
15168
|
+
internalType: "struct PoolKey",
|
|
15169
|
+
type: "tuple",
|
|
15170
|
+
components: [
|
|
15171
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15172
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15173
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15174
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15175
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15176
|
+
]
|
|
15177
|
+
},
|
|
15178
|
+
{ name: "sqrtPriceX96", internalType: "uint160", type: "uint160" }
|
|
15179
|
+
],
|
|
15180
|
+
name: "initialize",
|
|
15181
|
+
outputs: [{ name: "tick", internalType: "int24", type: "int24" }],
|
|
15182
|
+
stateMutability: "nonpayable"
|
|
15183
|
+
},
|
|
15184
|
+
{
|
|
15185
|
+
type: "function",
|
|
15186
|
+
inputs: [
|
|
15187
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15188
|
+
{ name: "spender", internalType: "address", type: "address" }
|
|
15189
|
+
],
|
|
15190
|
+
name: "isOperator",
|
|
15191
|
+
outputs: [{ name: "approved", internalType: "bool", type: "bool" }],
|
|
15192
|
+
stateMutability: "view"
|
|
15193
|
+
},
|
|
15194
|
+
{
|
|
15195
|
+
type: "function",
|
|
15196
|
+
inputs: [
|
|
15197
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15198
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15199
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15200
|
+
],
|
|
15201
|
+
name: "mint",
|
|
15202
|
+
outputs: [],
|
|
15203
|
+
stateMutability: "nonpayable"
|
|
15204
|
+
},
|
|
15205
|
+
{
|
|
15206
|
+
type: "function",
|
|
15207
|
+
inputs: [
|
|
15208
|
+
{
|
|
15209
|
+
name: "key",
|
|
15210
|
+
internalType: "struct PoolKey",
|
|
15211
|
+
type: "tuple",
|
|
15212
|
+
components: [
|
|
15213
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15214
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15215
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15216
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15217
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15218
|
+
]
|
|
15219
|
+
},
|
|
15220
|
+
{
|
|
15221
|
+
name: "params",
|
|
15222
|
+
internalType: "struct ModifyLiquidityParams",
|
|
15223
|
+
type: "tuple",
|
|
15224
|
+
components: [
|
|
15225
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
15226
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" },
|
|
15227
|
+
{ name: "liquidityDelta", internalType: "int256", type: "int256" },
|
|
15228
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" }
|
|
15229
|
+
]
|
|
15230
|
+
},
|
|
15231
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
15232
|
+
],
|
|
15233
|
+
name: "modifyLiquidity",
|
|
15234
|
+
outputs: [
|
|
15235
|
+
{ name: "callerDelta", internalType: "BalanceDelta", type: "int256" },
|
|
15236
|
+
{ name: "feesAccrued", internalType: "BalanceDelta", type: "int256" }
|
|
15237
|
+
],
|
|
15238
|
+
stateMutability: "nonpayable"
|
|
15239
|
+
},
|
|
15240
|
+
{
|
|
15241
|
+
type: "function",
|
|
15242
|
+
inputs: [],
|
|
15243
|
+
name: "protocolFeeController",
|
|
15244
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
15245
|
+
stateMutability: "view"
|
|
15246
|
+
},
|
|
15247
|
+
{
|
|
15248
|
+
type: "function",
|
|
15249
|
+
inputs: [{ name: "currency", internalType: "Currency", type: "address" }],
|
|
15250
|
+
name: "protocolFeesAccrued",
|
|
15251
|
+
outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
|
|
15252
|
+
stateMutability: "view"
|
|
15253
|
+
},
|
|
15254
|
+
{
|
|
15255
|
+
type: "function",
|
|
15256
|
+
inputs: [
|
|
15257
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
15258
|
+
{ name: "approved", internalType: "bool", type: "bool" }
|
|
15259
|
+
],
|
|
15260
|
+
name: "setOperator",
|
|
15261
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15262
|
+
stateMutability: "nonpayable"
|
|
15263
|
+
},
|
|
15264
|
+
{
|
|
15265
|
+
type: "function",
|
|
15266
|
+
inputs: [
|
|
15267
|
+
{
|
|
15268
|
+
name: "key",
|
|
15269
|
+
internalType: "struct PoolKey",
|
|
15270
|
+
type: "tuple",
|
|
15271
|
+
components: [
|
|
15272
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15273
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15274
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15275
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15276
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15277
|
+
]
|
|
15278
|
+
},
|
|
15279
|
+
{ name: "newProtocolFee", internalType: "uint24", type: "uint24" }
|
|
15280
|
+
],
|
|
15281
|
+
name: "setProtocolFee",
|
|
15282
|
+
outputs: [],
|
|
15283
|
+
stateMutability: "nonpayable"
|
|
15284
|
+
},
|
|
15285
|
+
{
|
|
15286
|
+
type: "function",
|
|
15287
|
+
inputs: [{ name: "controller", internalType: "address", type: "address" }],
|
|
15288
|
+
name: "setProtocolFeeController",
|
|
15289
|
+
outputs: [],
|
|
15290
|
+
stateMutability: "nonpayable"
|
|
15291
|
+
},
|
|
15292
|
+
{
|
|
15293
|
+
type: "function",
|
|
15294
|
+
inputs: [],
|
|
15295
|
+
name: "settle",
|
|
15296
|
+
outputs: [{ name: "paid", internalType: "uint256", type: "uint256" }],
|
|
15297
|
+
stateMutability: "payable"
|
|
15298
|
+
},
|
|
15299
|
+
{
|
|
15300
|
+
type: "function",
|
|
15301
|
+
inputs: [{ name: "recipient", internalType: "address", type: "address" }],
|
|
15302
|
+
name: "settleFor",
|
|
15303
|
+
outputs: [{ name: "paid", internalType: "uint256", type: "uint256" }],
|
|
15304
|
+
stateMutability: "payable"
|
|
15305
|
+
},
|
|
15306
|
+
{
|
|
15307
|
+
type: "function",
|
|
15308
|
+
inputs: [
|
|
15309
|
+
{
|
|
15310
|
+
name: "key",
|
|
15311
|
+
internalType: "struct PoolKey",
|
|
15312
|
+
type: "tuple",
|
|
15313
|
+
components: [
|
|
15314
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15315
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15316
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15317
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15318
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15319
|
+
]
|
|
15320
|
+
},
|
|
15321
|
+
{
|
|
15322
|
+
name: "params",
|
|
15323
|
+
internalType: "struct SwapParams",
|
|
15324
|
+
type: "tuple",
|
|
15325
|
+
components: [
|
|
15326
|
+
{ name: "zeroForOne", internalType: "bool", type: "bool" },
|
|
15327
|
+
{ name: "amountSpecified", internalType: "int256", type: "int256" },
|
|
15328
|
+
{
|
|
15329
|
+
name: "sqrtPriceLimitX96",
|
|
15330
|
+
internalType: "uint160",
|
|
15331
|
+
type: "uint160"
|
|
15332
|
+
}
|
|
15333
|
+
]
|
|
15334
|
+
},
|
|
15335
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
15336
|
+
],
|
|
15337
|
+
name: "swap",
|
|
15338
|
+
outputs: [
|
|
15339
|
+
{ name: "swapDelta", internalType: "BalanceDelta", type: "int256" }
|
|
15340
|
+
],
|
|
15341
|
+
stateMutability: "nonpayable"
|
|
15342
|
+
},
|
|
15343
|
+
{
|
|
15344
|
+
type: "function",
|
|
15345
|
+
inputs: [{ name: "currency", internalType: "Currency", type: "address" }],
|
|
15346
|
+
name: "sync",
|
|
15347
|
+
outputs: [],
|
|
15348
|
+
stateMutability: "nonpayable"
|
|
15349
|
+
},
|
|
15350
|
+
{
|
|
15351
|
+
type: "function",
|
|
15352
|
+
inputs: [
|
|
15353
|
+
{ name: "currency", internalType: "Currency", type: "address" },
|
|
15354
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15355
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15356
|
+
],
|
|
15357
|
+
name: "take",
|
|
15358
|
+
outputs: [],
|
|
15359
|
+
stateMutability: "nonpayable"
|
|
15360
|
+
},
|
|
15361
|
+
{
|
|
15362
|
+
type: "function",
|
|
15363
|
+
inputs: [
|
|
15364
|
+
{ name: "receiver", internalType: "address", type: "address" },
|
|
15365
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15366
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15367
|
+
],
|
|
15368
|
+
name: "transfer",
|
|
15369
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15370
|
+
stateMutability: "nonpayable"
|
|
15371
|
+
},
|
|
15372
|
+
{
|
|
15373
|
+
type: "function",
|
|
15374
|
+
inputs: [
|
|
15375
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
15376
|
+
{ name: "receiver", internalType: "address", type: "address" },
|
|
15377
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15378
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15379
|
+
],
|
|
15380
|
+
name: "transferFrom",
|
|
15381
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15382
|
+
stateMutability: "nonpayable"
|
|
15383
|
+
},
|
|
15384
|
+
{
|
|
15385
|
+
type: "function",
|
|
15386
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
15387
|
+
name: "unlock",
|
|
15388
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
15389
|
+
stateMutability: "nonpayable"
|
|
15390
|
+
},
|
|
15391
|
+
{
|
|
15392
|
+
type: "function",
|
|
15393
|
+
inputs: [
|
|
15394
|
+
{
|
|
15395
|
+
name: "key",
|
|
15396
|
+
internalType: "struct PoolKey",
|
|
15397
|
+
type: "tuple",
|
|
15398
|
+
components: [
|
|
15399
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15400
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15401
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15402
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15403
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15404
|
+
]
|
|
15405
|
+
},
|
|
15406
|
+
{ name: "newDynamicLPFee", internalType: "uint24", type: "uint24" }
|
|
15407
|
+
],
|
|
15408
|
+
name: "updateDynamicLPFee",
|
|
15409
|
+
outputs: [],
|
|
15410
|
+
stateMutability: "nonpayable"
|
|
15411
|
+
},
|
|
15412
|
+
{
|
|
15413
|
+
type: "event",
|
|
15414
|
+
anonymous: false,
|
|
15415
|
+
inputs: [
|
|
15416
|
+
{
|
|
15417
|
+
name: "owner",
|
|
15418
|
+
internalType: "address",
|
|
15419
|
+
type: "address",
|
|
15420
|
+
indexed: true
|
|
15421
|
+
},
|
|
15422
|
+
{
|
|
15423
|
+
name: "spender",
|
|
15424
|
+
internalType: "address",
|
|
15425
|
+
type: "address",
|
|
15426
|
+
indexed: true
|
|
15427
|
+
},
|
|
15428
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true },
|
|
15429
|
+
{
|
|
15430
|
+
name: "amount",
|
|
15431
|
+
internalType: "uint256",
|
|
15432
|
+
type: "uint256",
|
|
15433
|
+
indexed: false
|
|
15434
|
+
}
|
|
15435
|
+
],
|
|
15436
|
+
name: "Approval"
|
|
15437
|
+
},
|
|
15438
|
+
{
|
|
15439
|
+
type: "event",
|
|
15440
|
+
anonymous: false,
|
|
15441
|
+
inputs: [
|
|
15442
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15443
|
+
{
|
|
15444
|
+
name: "sender",
|
|
15445
|
+
internalType: "address",
|
|
15446
|
+
type: "address",
|
|
15447
|
+
indexed: true
|
|
15448
|
+
},
|
|
15449
|
+
{
|
|
15450
|
+
name: "amount0",
|
|
15451
|
+
internalType: "uint256",
|
|
15452
|
+
type: "uint256",
|
|
15453
|
+
indexed: false
|
|
15454
|
+
},
|
|
15455
|
+
{
|
|
15456
|
+
name: "amount1",
|
|
15457
|
+
internalType: "uint256",
|
|
15458
|
+
type: "uint256",
|
|
15459
|
+
indexed: false
|
|
15460
|
+
}
|
|
15461
|
+
],
|
|
15462
|
+
name: "Donate"
|
|
15463
|
+
},
|
|
15464
|
+
{
|
|
15465
|
+
type: "event",
|
|
15466
|
+
anonymous: false,
|
|
15467
|
+
inputs: [
|
|
15468
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15469
|
+
{
|
|
15470
|
+
name: "currency0",
|
|
15471
|
+
internalType: "Currency",
|
|
15472
|
+
type: "address",
|
|
15473
|
+
indexed: true
|
|
15474
|
+
},
|
|
15475
|
+
{
|
|
15476
|
+
name: "currency1",
|
|
15477
|
+
internalType: "Currency",
|
|
15478
|
+
type: "address",
|
|
15479
|
+
indexed: true
|
|
15480
|
+
},
|
|
15481
|
+
{ name: "fee", internalType: "uint24", type: "uint24", indexed: false },
|
|
15482
|
+
{
|
|
15483
|
+
name: "tickSpacing",
|
|
15484
|
+
internalType: "int24",
|
|
15485
|
+
type: "int24",
|
|
15486
|
+
indexed: false
|
|
15487
|
+
},
|
|
15488
|
+
{
|
|
15489
|
+
name: "hooks",
|
|
15490
|
+
internalType: "contract IHooks",
|
|
15491
|
+
type: "address",
|
|
15492
|
+
indexed: false
|
|
15493
|
+
},
|
|
15494
|
+
{
|
|
15495
|
+
name: "sqrtPriceX96",
|
|
15496
|
+
internalType: "uint160",
|
|
15497
|
+
type: "uint160",
|
|
15498
|
+
indexed: false
|
|
15499
|
+
},
|
|
15500
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false }
|
|
15501
|
+
],
|
|
15502
|
+
name: "Initialize"
|
|
15503
|
+
},
|
|
15504
|
+
{
|
|
15505
|
+
type: "event",
|
|
15506
|
+
anonymous: false,
|
|
15507
|
+
inputs: [
|
|
15508
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15509
|
+
{
|
|
15510
|
+
name: "sender",
|
|
15511
|
+
internalType: "address",
|
|
15512
|
+
type: "address",
|
|
15513
|
+
indexed: true
|
|
15514
|
+
},
|
|
15515
|
+
{
|
|
15516
|
+
name: "tickLower",
|
|
15517
|
+
internalType: "int24",
|
|
15518
|
+
type: "int24",
|
|
15519
|
+
indexed: false
|
|
15520
|
+
},
|
|
15521
|
+
{
|
|
15522
|
+
name: "tickUpper",
|
|
15523
|
+
internalType: "int24",
|
|
15524
|
+
type: "int24",
|
|
15525
|
+
indexed: false
|
|
15526
|
+
},
|
|
15527
|
+
{
|
|
15528
|
+
name: "liquidityDelta",
|
|
15529
|
+
internalType: "int256",
|
|
15530
|
+
type: "int256",
|
|
15531
|
+
indexed: false
|
|
15532
|
+
},
|
|
15533
|
+
{
|
|
15534
|
+
name: "salt",
|
|
15535
|
+
internalType: "bytes32",
|
|
15536
|
+
type: "bytes32",
|
|
15537
|
+
indexed: false
|
|
15538
|
+
}
|
|
15539
|
+
],
|
|
15540
|
+
name: "ModifyLiquidity"
|
|
15541
|
+
},
|
|
15542
|
+
{
|
|
15543
|
+
type: "event",
|
|
15544
|
+
anonymous: false,
|
|
15545
|
+
inputs: [
|
|
15546
|
+
{
|
|
15547
|
+
name: "owner",
|
|
15548
|
+
internalType: "address",
|
|
15549
|
+
type: "address",
|
|
15550
|
+
indexed: true
|
|
15551
|
+
},
|
|
15552
|
+
{
|
|
15553
|
+
name: "operator",
|
|
15554
|
+
internalType: "address",
|
|
15555
|
+
type: "address",
|
|
15556
|
+
indexed: true
|
|
15557
|
+
},
|
|
15558
|
+
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
15559
|
+
],
|
|
15560
|
+
name: "OperatorSet"
|
|
15561
|
+
},
|
|
15562
|
+
{
|
|
15563
|
+
type: "event",
|
|
15564
|
+
anonymous: false,
|
|
15565
|
+
inputs: [
|
|
15566
|
+
{
|
|
15567
|
+
name: "protocolFeeController",
|
|
15568
|
+
internalType: "address",
|
|
15569
|
+
type: "address",
|
|
15570
|
+
indexed: true
|
|
15571
|
+
}
|
|
15572
|
+
],
|
|
15573
|
+
name: "ProtocolFeeControllerUpdated"
|
|
15574
|
+
},
|
|
15575
|
+
{
|
|
15576
|
+
type: "event",
|
|
15577
|
+
anonymous: false,
|
|
15578
|
+
inputs: [
|
|
15579
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15580
|
+
{
|
|
15581
|
+
name: "protocolFee",
|
|
15582
|
+
internalType: "uint24",
|
|
15583
|
+
type: "uint24",
|
|
15584
|
+
indexed: false
|
|
15585
|
+
}
|
|
15586
|
+
],
|
|
15587
|
+
name: "ProtocolFeeUpdated"
|
|
15588
|
+
},
|
|
15589
|
+
{
|
|
15590
|
+
type: "event",
|
|
15591
|
+
anonymous: false,
|
|
15592
|
+
inputs: [
|
|
15593
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15594
|
+
{
|
|
15595
|
+
name: "sender",
|
|
15596
|
+
internalType: "address",
|
|
15597
|
+
type: "address",
|
|
15598
|
+
indexed: true
|
|
15599
|
+
},
|
|
15600
|
+
{
|
|
15601
|
+
name: "amount0",
|
|
15602
|
+
internalType: "int128",
|
|
15603
|
+
type: "int128",
|
|
15604
|
+
indexed: false
|
|
15605
|
+
},
|
|
15606
|
+
{
|
|
15607
|
+
name: "amount1",
|
|
15608
|
+
internalType: "int128",
|
|
15609
|
+
type: "int128",
|
|
15610
|
+
indexed: false
|
|
15611
|
+
},
|
|
15612
|
+
{
|
|
15613
|
+
name: "sqrtPriceX96",
|
|
15614
|
+
internalType: "uint160",
|
|
15615
|
+
type: "uint160",
|
|
15616
|
+
indexed: false
|
|
15617
|
+
},
|
|
15618
|
+
{
|
|
15619
|
+
name: "liquidity",
|
|
15620
|
+
internalType: "uint128",
|
|
15621
|
+
type: "uint128",
|
|
15622
|
+
indexed: false
|
|
15623
|
+
},
|
|
15624
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
15625
|
+
{ name: "fee", internalType: "uint24", type: "uint24", indexed: false }
|
|
15626
|
+
],
|
|
15627
|
+
name: "Swap"
|
|
14559
15628
|
},
|
|
14560
15629
|
{
|
|
14561
|
-
type: "
|
|
15630
|
+
type: "event",
|
|
15631
|
+
anonymous: false,
|
|
14562
15632
|
inputs: [
|
|
14563
15633
|
{
|
|
14564
|
-
name: "
|
|
14565
|
-
internalType: "
|
|
14566
|
-
type: "
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
|
|
14576
|
-
|
|
14577
|
-
},
|
|
14578
|
-
{
|
|
14579
|
-
name: "sqrtPriceLimitX96",
|
|
14580
|
-
internalType: "uint160",
|
|
14581
|
-
type: "uint160"
|
|
14582
|
-
}
|
|
14583
|
-
]
|
|
15634
|
+
name: "caller",
|
|
15635
|
+
internalType: "address",
|
|
15636
|
+
type: "address",
|
|
15637
|
+
indexed: false
|
|
15638
|
+
},
|
|
15639
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
15640
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
15641
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true },
|
|
15642
|
+
{
|
|
15643
|
+
name: "amount",
|
|
15644
|
+
internalType: "uint256",
|
|
15645
|
+
type: "uint256",
|
|
15646
|
+
indexed: false
|
|
14584
15647
|
}
|
|
14585
15648
|
],
|
|
14586
|
-
name: "
|
|
14587
|
-
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14588
|
-
stateMutability: "payable"
|
|
15649
|
+
name: "Transfer"
|
|
14589
15650
|
},
|
|
15651
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
14590
15652
|
{
|
|
14591
|
-
type: "
|
|
15653
|
+
type: "error",
|
|
14592
15654
|
inputs: [
|
|
14593
|
-
{
|
|
14594
|
-
|
|
14595
|
-
internalType: "struct ISwapRouter.ExactOutputParams",
|
|
14596
|
-
type: "tuple",
|
|
14597
|
-
components: [
|
|
14598
|
-
{ name: "path", internalType: "bytes", type: "bytes" },
|
|
14599
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
14600
|
-
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14601
|
-
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" }
|
|
14602
|
-
]
|
|
14603
|
-
}
|
|
15655
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
15656
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
14604
15657
|
],
|
|
14605
|
-
name: "
|
|
14606
|
-
|
|
14607
|
-
|
|
15658
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
15659
|
+
},
|
|
15660
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
15661
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
15662
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
15663
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
15664
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
15665
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
15666
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
15667
|
+
{
|
|
15668
|
+
type: "error",
|
|
15669
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
15670
|
+
name: "ProtocolFeeTooLarge"
|
|
15671
|
+
},
|
|
15672
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
15673
|
+
{
|
|
15674
|
+
type: "error",
|
|
15675
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
15676
|
+
name: "TickSpacingTooLarge"
|
|
14608
15677
|
},
|
|
15678
|
+
{
|
|
15679
|
+
type: "error",
|
|
15680
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
15681
|
+
name: "TickSpacingTooSmall"
|
|
15682
|
+
},
|
|
15683
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
|
|
15684
|
+
];
|
|
15685
|
+
var uniswapV4PoolManagerAddress = {
|
|
15686
|
+
8453: "0x498581fF718922c3f8e6A244956aF099B2652b2b",
|
|
15687
|
+
84532: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408"
|
|
15688
|
+
};
|
|
15689
|
+
var uniswapV4PoolManagerConfig = {
|
|
15690
|
+
address: uniswapV4PoolManagerAddress,
|
|
15691
|
+
abi: uniswapV4PoolManagerABI
|
|
15692
|
+
};
|
|
15693
|
+
var universalRouterABI = [
|
|
14609
15694
|
{
|
|
14610
15695
|
type: "function",
|
|
14611
15696
|
inputs: [
|
|
14612
|
-
{
|
|
14613
|
-
|
|
14614
|
-
|
|
14615
|
-
type: "tuple",
|
|
14616
|
-
components: [
|
|
14617
|
-
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
14618
|
-
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
14619
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14620
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
14621
|
-
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14622
|
-
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" },
|
|
14623
|
-
{
|
|
14624
|
-
name: "sqrtPriceLimitX96",
|
|
14625
|
-
internalType: "uint160",
|
|
14626
|
-
type: "uint160"
|
|
14627
|
-
}
|
|
14628
|
-
]
|
|
14629
|
-
}
|
|
15697
|
+
{ name: "commands", internalType: "bytes", type: "bytes" },
|
|
15698
|
+
{ name: "inputs", internalType: "bytes[]", type: "bytes[]" },
|
|
15699
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
14630
15700
|
],
|
|
14631
|
-
name: "
|
|
14632
|
-
outputs: [
|
|
15701
|
+
name: "execute",
|
|
15702
|
+
outputs: [],
|
|
14633
15703
|
stateMutability: "payable"
|
|
14634
15704
|
},
|
|
15705
|
+
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
14635
15706
|
{
|
|
14636
|
-
type: "
|
|
15707
|
+
type: "error",
|
|
14637
15708
|
inputs: [
|
|
14638
|
-
{ name: "
|
|
14639
|
-
{ name: "
|
|
14640
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15709
|
+
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
15710
|
+
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
14641
15711
|
],
|
|
14642
|
-
name: "
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
}
|
|
15712
|
+
name: "ExecutionFailed"
|
|
15713
|
+
},
|
|
15714
|
+
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
15715
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
15716
|
+
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
14646
15717
|
];
|
|
14647
|
-
var
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
14651
|
-
42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
14652
|
-
81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
|
|
14653
|
-
84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
14654
|
-
421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
|
|
14655
|
-
7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
|
|
14656
|
-
11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
|
|
14657
|
-
11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
14658
|
-
999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
|
|
15718
|
+
var universalRouterAddress = {
|
|
15719
|
+
8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
15720
|
+
84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
|
|
14659
15721
|
};
|
|
14660
|
-
var
|
|
14661
|
-
address:
|
|
14662
|
-
abi:
|
|
15722
|
+
var universalRouterConfig = {
|
|
15723
|
+
address: universalRouterAddress,
|
|
15724
|
+
abi: universalRouterABI
|
|
14663
15725
|
};
|
|
14664
15726
|
var upgradeGateABI = [
|
|
14665
15727
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
@@ -19137,6 +20199,13 @@ var zoraLimitOrderBookABI = [
|
|
|
19137
20199
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
|
19138
20200
|
stateMutability: "view"
|
|
19139
20201
|
},
|
|
20202
|
+
{
|
|
20203
|
+
type: "function",
|
|
20204
|
+
inputs: [],
|
|
20205
|
+
name: "contractVersion",
|
|
20206
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
20207
|
+
stateMutability: "pure"
|
|
20208
|
+
},
|
|
19140
20209
|
{
|
|
19141
20210
|
type: "function",
|
|
19142
20211
|
inputs: [
|
|
@@ -19712,6 +20781,7 @@ var zoraLimitOrderBookABI = [
|
|
|
19712
20781
|
],
|
|
19713
20782
|
name: "InvalidAccountNonce"
|
|
19714
20783
|
},
|
|
20784
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
19715
20785
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
19716
20786
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
19717
20787
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -19821,10 +20891,43 @@ var zoraLimitOrderBookABI = [
|
|
|
19821
20891
|
name: "UpgradePathNotRegistered"
|
|
19822
20892
|
},
|
|
19823
20893
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
19824
|
-
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
|
|
20894
|
+
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
20895
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
20896
|
+
{
|
|
20897
|
+
type: "error",
|
|
20898
|
+
inputs: [
|
|
20899
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
20900
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
20901
|
+
],
|
|
20902
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
20903
|
+
},
|
|
20904
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
20905
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
20906
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
20907
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
20908
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
20909
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
20910
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
20911
|
+
{
|
|
20912
|
+
type: "error",
|
|
20913
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
20914
|
+
name: "ProtocolFeeTooLarge"
|
|
20915
|
+
},
|
|
20916
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
20917
|
+
{
|
|
20918
|
+
type: "error",
|
|
20919
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
20920
|
+
name: "TickSpacingTooLarge"
|
|
20921
|
+
},
|
|
20922
|
+
{
|
|
20923
|
+
type: "error",
|
|
20924
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
20925
|
+
name: "TickSpacingTooSmall"
|
|
20926
|
+
},
|
|
20927
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
|
|
19825
20928
|
];
|
|
19826
20929
|
var zoraLimitOrderBookAddress = {
|
|
19827
|
-
8453: "
|
|
20930
|
+
8453: "0x7777777C783bAD88daCaf9A19E04238341E4497B"
|
|
19828
20931
|
};
|
|
19829
20932
|
var zoraLimitOrderBookConfig = {
|
|
19830
20933
|
address: zoraLimitOrderBookAddress,
|
|
@@ -21527,6 +22630,13 @@ var zoraRouterABI = [
|
|
|
21527
22630
|
outputs: [],
|
|
21528
22631
|
stateMutability: "nonpayable"
|
|
21529
22632
|
},
|
|
22633
|
+
{
|
|
22634
|
+
type: "function",
|
|
22635
|
+
inputs: [],
|
|
22636
|
+
name: "contractVersion",
|
|
22637
|
+
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
22638
|
+
stateMutability: "pure"
|
|
22639
|
+
},
|
|
21530
22640
|
{
|
|
21531
22641
|
type: "function",
|
|
21532
22642
|
inputs: [],
|
|
@@ -21853,6 +22963,65 @@ var zoraRouterABI = [
|
|
|
21853
22963
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
21854
22964
|
{ type: "error", inputs: [], name: "ZeroSwapDelta" },
|
|
21855
22965
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
22966
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
22967
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
22968
|
+
{
|
|
22969
|
+
type: "error",
|
|
22970
|
+
inputs: [
|
|
22971
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
22972
|
+
{ name: "expectedCoin", internalType: "address", type: "address" },
|
|
22973
|
+
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
22974
|
+
],
|
|
22975
|
+
name: "CoinMismatch"
|
|
22976
|
+
},
|
|
22977
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
22978
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
22979
|
+
{
|
|
22980
|
+
type: "error",
|
|
22981
|
+
inputs: [
|
|
22982
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
22983
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
22984
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
22985
|
+
],
|
|
22986
|
+
name: "InvalidFillWindow"
|
|
22987
|
+
},
|
|
22988
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
22989
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
22990
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
22991
|
+
{
|
|
22992
|
+
type: "error",
|
|
22993
|
+
inputs: [
|
|
22994
|
+
{ name: "withdrawn", internalType: "uint256", type: "uint256" },
|
|
22995
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
22996
|
+
],
|
|
22997
|
+
name: "MinAmountNotReached"
|
|
22998
|
+
},
|
|
22999
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
23000
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
23001
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
23002
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
23003
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
23004
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
23005
|
+
{
|
|
23006
|
+
type: "error",
|
|
23007
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
23008
|
+
name: "OwnableInvalidOwner"
|
|
23009
|
+
},
|
|
23010
|
+
{
|
|
23011
|
+
type: "error",
|
|
23012
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
23013
|
+
name: "OwnableUnauthorizedAccount"
|
|
23014
|
+
},
|
|
23015
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
23016
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
23017
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
23018
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
23019
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
23020
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
23021
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
23022
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
23023
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
23024
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
21856
23025
|
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
21857
23026
|
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
21858
23027
|
{
|
|
@@ -21938,6 +23107,7 @@ var zoraRouterABI = [
|
|
|
21938
23107
|
],
|
|
21939
23108
|
name: "InvalidAccountNonce"
|
|
21940
23109
|
},
|
|
23110
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
21941
23111
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
21942
23112
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
21943
23113
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -22048,68 +23218,54 @@ var zoraRouterABI = [
|
|
|
22048
23218
|
},
|
|
22049
23219
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
22050
23220
|
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
22051
|
-
{ type: "error", inputs: [], name: "
|
|
22052
|
-
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
22053
|
-
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
23221
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
22054
23222
|
{
|
|
22055
23223
|
type: "error",
|
|
22056
23224
|
inputs: [
|
|
22057
|
-
{ name: "
|
|
22058
|
-
{ name: "
|
|
22059
|
-
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
23225
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
23226
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
22060
23227
|
],
|
|
22061
|
-
name: "
|
|
23228
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
22062
23229
|
},
|
|
22063
|
-
{ type: "error", inputs: [], name: "
|
|
22064
|
-
{ type: "error", inputs: [], name: "
|
|
23230
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
23231
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
23232
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
23233
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
23234
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
23235
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
23236
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
22065
23237
|
{
|
|
22066
23238
|
type: "error",
|
|
22067
|
-
inputs: [
|
|
22068
|
-
|
|
22069
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
22070
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
22071
|
-
],
|
|
22072
|
-
name: "InvalidFillWindow"
|
|
23239
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
23240
|
+
name: "ProtocolFeeTooLarge"
|
|
22073
23241
|
},
|
|
22074
|
-
{ type: "error", inputs: [], name: "
|
|
22075
|
-
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
22076
|
-
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
23242
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
22077
23243
|
{
|
|
22078
23244
|
type: "error",
|
|
22079
|
-
inputs: [
|
|
22080
|
-
|
|
22081
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
22082
|
-
],
|
|
22083
|
-
name: "MinAmountNotReached"
|
|
23245
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
23246
|
+
name: "TickSpacingTooLarge"
|
|
22084
23247
|
},
|
|
22085
|
-
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
22086
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
22087
|
-
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
22088
|
-
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
22089
|
-
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
22090
|
-
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
22091
23248
|
{
|
|
22092
23249
|
type: "error",
|
|
22093
|
-
inputs: [{ name: "
|
|
22094
|
-
name: "
|
|
23250
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
23251
|
+
name: "TickSpacingTooSmall"
|
|
22095
23252
|
},
|
|
23253
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" },
|
|
23254
|
+
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
22096
23255
|
{
|
|
22097
23256
|
type: "error",
|
|
22098
|
-
inputs: [
|
|
22099
|
-
|
|
23257
|
+
inputs: [
|
|
23258
|
+
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
23259
|
+
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
23260
|
+
],
|
|
23261
|
+
name: "ExecutionFailed"
|
|
22100
23262
|
},
|
|
22101
|
-
{ type: "error", inputs: [], name: "
|
|
22102
|
-
{ type: "error", inputs: [], name: "
|
|
22103
|
-
{ type: "error", inputs: [], name: "
|
|
22104
|
-
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
22105
|
-
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
22106
|
-
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
22107
|
-
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
22108
|
-
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
22109
|
-
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
23263
|
+
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
23264
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
23265
|
+
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
22110
23266
|
];
|
|
22111
23267
|
var zoraRouterAddress = {
|
|
22112
|
-
8453: "
|
|
23268
|
+
8453: "0x77777777Eb762Cf86F634763e79d17dE44330887"
|
|
22113
23269
|
};
|
|
22114
23270
|
var zoraRouterConfig = {
|
|
22115
23271
|
address: zoraRouterAddress,
|
|
@@ -24156,7 +25312,7 @@ var zoraTimedSaleStrategyConfig = {
|
|
|
24156
25312
|
abi: zoraTimedSaleStrategyABI
|
|
24157
25313
|
};
|
|
24158
25314
|
|
|
24159
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
25315
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/unit.js
|
|
24160
25316
|
init_base();
|
|
24161
25317
|
var InvalidDecimalNumberError = class extends BaseError {
|
|
24162
25318
|
constructor({ value }) {
|
|
@@ -24166,7 +25322,7 @@ var InvalidDecimalNumberError = class extends BaseError {
|
|
|
24166
25322
|
}
|
|
24167
25323
|
};
|
|
24168
25324
|
|
|
24169
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
25325
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/parseUnits.js
|
|
24170
25326
|
function parseUnits(value, decimals) {
|
|
24171
25327
|
if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
|
|
24172
25328
|
throw new InvalidDecimalNumberError({ value });
|
|
@@ -24201,13 +25357,13 @@ function parseUnits(value, decimals) {
|
|
|
24201
25357
|
return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
|
|
24202
25358
|
}
|
|
24203
25359
|
|
|
24204
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
25360
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/parseEther.js
|
|
24205
25361
|
init_unit();
|
|
24206
25362
|
function parseEther(ether, unit = "wei") {
|
|
24207
25363
|
return parseUnits(ether, etherUnits[unit]);
|
|
24208
25364
|
}
|
|
24209
25365
|
|
|
24210
|
-
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.
|
|
25366
|
+
// ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/index.js
|
|
24211
25367
|
init_decodeAbiParameters();
|
|
24212
25368
|
init_encodeAbiParameters();
|
|
24213
25369
|
init_getAbiItem();
|
|
@@ -24975,6 +26131,7 @@ var chainConfigs2 = {
|
|
|
24975
26131
|
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
24976
26132
|
PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
24977
26133
|
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
26134
|
+
METADATA_MANAGER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
24978
26135
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
24979
26136
|
UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
24980
26137
|
UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
@@ -25003,6 +26160,7 @@ var chainConfigs2 = {
|
|
|
25003
26160
|
DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
|
|
25004
26161
|
PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
25005
26162
|
ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
26163
|
+
METADATA_MANAGER: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
25006
26164
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
25007
26165
|
UNISWAP_V4_POOL_MANAGER: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
|
|
25008
26166
|
UNISWAP_V4_POSITION_MANAGER: "0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80",
|
|
@@ -25052,6 +26210,7 @@ var chainConfigs2 = {
|
|
|
25052
26210
|
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
25053
26211
|
PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
|
|
25054
26212
|
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
26213
|
+
METADATA_MANAGER: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
|
|
25055
26214
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
25056
26215
|
UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
25057
26216
|
UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
@@ -25214,6 +26373,12 @@ var addresses2 = {
|
|
|
25214
26373
|
uniswapV3SwapRouterABI,
|
|
25215
26374
|
uniswapV3SwapRouterAddress,
|
|
25216
26375
|
uniswapV3SwapRouterConfig,
|
|
26376
|
+
uniswapV4PoolManagerABI,
|
|
26377
|
+
uniswapV4PoolManagerAddress,
|
|
26378
|
+
uniswapV4PoolManagerConfig,
|
|
26379
|
+
universalRouterABI,
|
|
26380
|
+
universalRouterAddress,
|
|
26381
|
+
universalRouterConfig,
|
|
25217
26382
|
upgradeGateABI,
|
|
25218
26383
|
upgradeGateAddress,
|
|
25219
26384
|
upgradeGateConfig,
|