@zoralabs/protocol-deployments 0.3.5-COMMENTS.2 → 0.3.5-COMMENTS.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +24 -24
- package/CHANGELOG.md +12 -0
- package/dist/{_esm-KB2T7G46.js → _esm-JXHAY2EM.js} +192 -85
- package/dist/_esm-JXHAY2EM.js.map +1 -0
- package/dist/{ccip-TLVKUNHE.js → ccip-MZCNL5YG.js} +3 -3
- package/dist/{chunk-5JV63AHR.js → chunk-FJ2PMLO3.js} +8 -5
- package/dist/chunk-FJ2PMLO3.js.map +1 -0
- package/dist/{chunk-IB365BT5.js → chunk-MCOK75CU.js} +333 -453
- package/dist/chunk-MCOK75CU.js.map +1 -0
- package/dist/generated/wagmi.d.ts +2980 -311
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1131 -382
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +902 -103
- package/dist/index.js.map +1 -1
- package/dist/{secp256k1-5CEPNAX3.js → secp256k1-NJATWSDZ.js} +402 -251
- package/dist/secp256k1-NJATWSDZ.js.map +1 -0
- package/dist/typedData.d.ts +54 -2
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -5
- package/src/generated/wagmi.ts +998 -170
- package/src/typedData.ts +68 -1
- package/src/types.ts +8 -1
- package/dist/_esm-KB2T7G46.js.map +0 -1
- package/dist/chunk-5JV63AHR.js.map +0 -1
- package/dist/chunk-IB365BT5.js.map +0 -1
- package/dist/secp256k1-5CEPNAX3.js.map +0 -1
- /package/dist/{ccip-TLVKUNHE.js.map → ccip-MZCNL5YG.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.
|
|
23
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
29
|
+
"../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/regex.js"() {
|
|
30
30
|
"use strict";
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
// ../../node_modules/.pnpm/abitype@1.0.
|
|
34
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
61
|
+
"../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
68
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
81
|
+
"../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
87
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
102
|
+
"../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
108
|
+
// ../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/esm/exports/index.js
|
|
109
109
|
var init_exports = __esm({
|
|
110
|
-
"../../node_modules/.pnpm/abitype@1.0.
|
|
110
|
+
"../../node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/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.
|
|
116
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/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.
|
|
134
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/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.
|
|
140
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/isHex.js
|
|
141
141
|
function isHex(value, { strict = true } = {}) {
|
|
142
142
|
if (!value)
|
|
143
143
|
return false;
|
|
@@ -146,44 +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.
|
|
149
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/isHex.js"() {
|
|
150
150
|
"use strict";
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
154
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/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.
|
|
161
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/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.
|
|
167
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/version.js
|
|
168
168
|
var version;
|
|
169
169
|
var init_version = __esm({
|
|
170
|
-
"../../node_modules/.pnpm/viem@2.
|
|
170
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/version.js"() {
|
|
171
171
|
"use strict";
|
|
172
|
-
version = "2.
|
|
172
|
+
version = "2.21.21";
|
|
173
173
|
}
|
|
174
174
|
});
|
|
175
175
|
|
|
176
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
177
|
-
var getVersion;
|
|
178
|
-
var init_utils = __esm({
|
|
179
|
-
"../../node_modules/.pnpm/viem@2.18.0_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/utils.js"() {
|
|
180
|
-
"use strict";
|
|
181
|
-
init_version();
|
|
182
|
-
getVersion = () => `viem@${version}`;
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
// ../../node_modules/.pnpm/viem@2.18.0_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/base.js
|
|
176
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/base.js
|
|
187
177
|
function walk(err, fn) {
|
|
188
178
|
if (fn?.(err))
|
|
189
179
|
return err;
|
|
@@ -191,14 +181,39 @@ function walk(err, fn) {
|
|
|
191
181
|
return walk(err.cause, fn);
|
|
192
182
|
return fn ? null : err;
|
|
193
183
|
}
|
|
194
|
-
var BaseError;
|
|
184
|
+
var errorConfig, BaseError;
|
|
195
185
|
var init_base = __esm({
|
|
196
|
-
"../../node_modules/.pnpm/viem@2.
|
|
186
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/base.js"() {
|
|
197
187
|
"use strict";
|
|
198
|
-
|
|
188
|
+
init_version();
|
|
189
|
+
errorConfig = {
|
|
190
|
+
getDocsUrl: ({ docsBaseUrl, docsPath = "", docsSlug }) => docsPath ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
|
|
191
|
+
version
|
|
192
|
+
};
|
|
199
193
|
BaseError = class _BaseError extends Error {
|
|
200
194
|
constructor(shortMessage, args = {}) {
|
|
201
|
-
|
|
195
|
+
const details = (() => {
|
|
196
|
+
if (args.cause instanceof _BaseError)
|
|
197
|
+
return args.cause.details;
|
|
198
|
+
if (args.cause?.message)
|
|
199
|
+
return args.cause.message;
|
|
200
|
+
return args.details;
|
|
201
|
+
})();
|
|
202
|
+
const docsPath = (() => {
|
|
203
|
+
if (args.cause instanceof _BaseError)
|
|
204
|
+
return args.cause.docsPath || args.docsPath;
|
|
205
|
+
return args.docsPath;
|
|
206
|
+
})();
|
|
207
|
+
const docsUrl = errorConfig.getDocsUrl?.({ ...args, docsPath });
|
|
208
|
+
const message = [
|
|
209
|
+
shortMessage || "An error occurred.",
|
|
210
|
+
"",
|
|
211
|
+
...args.metaMessages ? [...args.metaMessages, ""] : [],
|
|
212
|
+
...docsUrl ? [`Docs: ${docsUrl}`] : [],
|
|
213
|
+
...details ? [`Details: ${details}`] : [],
|
|
214
|
+
...errorConfig.version ? [`Version: ${errorConfig.version}`] : []
|
|
215
|
+
].join("\n");
|
|
216
|
+
super(message, args.cause ? { cause: args.cause } : void 0);
|
|
202
217
|
Object.defineProperty(this, "details", {
|
|
203
218
|
enumerable: true,
|
|
204
219
|
configurable: true,
|
|
@@ -223,36 +238,24 @@ var init_base = __esm({
|
|
|
223
238
|
writable: true,
|
|
224
239
|
value: void 0
|
|
225
240
|
});
|
|
226
|
-
Object.defineProperty(this, "
|
|
241
|
+
Object.defineProperty(this, "version", {
|
|
227
242
|
enumerable: true,
|
|
228
243
|
configurable: true,
|
|
229
244
|
writable: true,
|
|
230
|
-
value:
|
|
245
|
+
value: void 0
|
|
231
246
|
});
|
|
232
|
-
Object.defineProperty(this, "
|
|
247
|
+
Object.defineProperty(this, "name", {
|
|
233
248
|
enumerable: true,
|
|
234
249
|
configurable: true,
|
|
235
250
|
writable: true,
|
|
236
|
-
value:
|
|
251
|
+
value: "BaseError"
|
|
237
252
|
});
|
|
238
|
-
const details = args.cause instanceof _BaseError ? args.cause.details : args.cause?.message ? args.cause.message : args.details;
|
|
239
|
-
const docsPath = args.cause instanceof _BaseError ? args.cause.docsPath || args.docsPath : args.docsPath;
|
|
240
|
-
this.message = [
|
|
241
|
-
shortMessage || "An error occurred.",
|
|
242
|
-
"",
|
|
243
|
-
...args.metaMessages ? [...args.metaMessages, ""] : [],
|
|
244
|
-
...docsPath ? [
|
|
245
|
-
`Docs: ${args.docsBaseUrl ?? "https://viem.sh"}${docsPath}${args.docsSlug ? `#${args.docsSlug}` : ""}`
|
|
246
|
-
] : [],
|
|
247
|
-
...details ? [`Details: ${details}`] : [],
|
|
248
|
-
`Version: ${this.version}`
|
|
249
|
-
].join("\n");
|
|
250
|
-
if (args.cause)
|
|
251
|
-
this.cause = args.cause;
|
|
252
253
|
this.details = details;
|
|
253
254
|
this.docsPath = docsPath;
|
|
254
255
|
this.metaMessages = args.metaMessages;
|
|
256
|
+
this.name = args.name ?? this.name;
|
|
255
257
|
this.shortMessage = shortMessage;
|
|
258
|
+
this.version = version;
|
|
256
259
|
}
|
|
257
260
|
walk(fn) {
|
|
258
261
|
return walk(this, fn);
|
|
@@ -261,10 +264,10 @@ var init_base = __esm({
|
|
|
261
264
|
}
|
|
262
265
|
});
|
|
263
266
|
|
|
264
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
267
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/abi.js
|
|
265
268
|
var AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiItemAmbiguityError, InvalidAbiEncodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
|
|
266
269
|
var init_abi = __esm({
|
|
267
|
-
"../../node_modules/.pnpm/viem@2.
|
|
270
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/abi.js"() {
|
|
268
271
|
"use strict";
|
|
269
272
|
init_formatAbiItem2();
|
|
270
273
|
init_size();
|
|
@@ -275,24 +278,12 @@ var init_abi = __esm({
|
|
|
275
278
|
`ABI encoding array length mismatch for type ${type}.`,
|
|
276
279
|
`Expected length: ${expectedLength}`,
|
|
277
280
|
`Given length: ${givenLength}`
|
|
278
|
-
].join("\n"));
|
|
279
|
-
Object.defineProperty(this, "name", {
|
|
280
|
-
enumerable: true,
|
|
281
|
-
configurable: true,
|
|
282
|
-
writable: true,
|
|
283
|
-
value: "AbiEncodingArrayLengthMismatchError"
|
|
284
|
-
});
|
|
281
|
+
].join("\n"), { name: "AbiEncodingArrayLengthMismatchError" });
|
|
285
282
|
}
|
|
286
283
|
};
|
|
287
284
|
AbiEncodingBytesSizeMismatchError = class extends BaseError {
|
|
288
285
|
constructor({ expectedSize, value }) {
|
|
289
|
-
super(`Size of bytes "${value}" (bytes${size(value)}) does not match expected size (bytes${expectedSize})
|
|
290
|
-
Object.defineProperty(this, "name", {
|
|
291
|
-
enumerable: true,
|
|
292
|
-
configurable: true,
|
|
293
|
-
writable: true,
|
|
294
|
-
value: "AbiEncodingBytesSizeMismatchError"
|
|
295
|
-
});
|
|
286
|
+
super(`Size of bytes "${value}" (bytes${size(value)}) does not match expected size (bytes${expectedSize}).`, { name: "AbiEncodingBytesSizeMismatchError" });
|
|
296
287
|
}
|
|
297
288
|
};
|
|
298
289
|
AbiEncodingLengthMismatchError = class extends BaseError {
|
|
@@ -301,13 +292,7 @@ var init_abi = __esm({
|
|
|
301
292
|
"ABI encoding params/values length mismatch.",
|
|
302
293
|
`Expected length (params): ${expectedLength}`,
|
|
303
294
|
`Given length (values): ${givenLength}`
|
|
304
|
-
].join("\n"));
|
|
305
|
-
Object.defineProperty(this, "name", {
|
|
306
|
-
enumerable: true,
|
|
307
|
-
configurable: true,
|
|
308
|
-
writable: true,
|
|
309
|
-
value: "AbiEncodingLengthMismatchError"
|
|
310
|
-
});
|
|
295
|
+
].join("\n"), { name: "AbiEncodingLengthMismatchError" });
|
|
311
296
|
}
|
|
312
297
|
};
|
|
313
298
|
AbiItemAmbiguityError = class extends BaseError {
|
|
@@ -319,13 +304,8 @@ var init_abi = __esm({
|
|
|
319
304
|
"",
|
|
320
305
|
"These types encode differently and cannot be distinguished at runtime.",
|
|
321
306
|
"Remove one of the ambiguous items in the ABI."
|
|
322
|
-
]
|
|
323
|
-
|
|
324
|
-
Object.defineProperty(this, "name", {
|
|
325
|
-
enumerable: true,
|
|
326
|
-
configurable: true,
|
|
327
|
-
writable: true,
|
|
328
|
-
value: "AbiItemAmbiguityError"
|
|
307
|
+
],
|
|
308
|
+
name: "AbiItemAmbiguityError"
|
|
329
309
|
});
|
|
330
310
|
}
|
|
331
311
|
};
|
|
@@ -334,23 +314,13 @@ var init_abi = __esm({
|
|
|
334
314
|
super([
|
|
335
315
|
`Type "${type}" is not a valid encoding type.`,
|
|
336
316
|
"Please provide a valid ABI type."
|
|
337
|
-
].join("\n"), { docsPath });
|
|
338
|
-
Object.defineProperty(this, "name", {
|
|
339
|
-
enumerable: true,
|
|
340
|
-
configurable: true,
|
|
341
|
-
writable: true,
|
|
342
|
-
value: "InvalidAbiEncodingType"
|
|
343
|
-
});
|
|
317
|
+
].join("\n"), { docsPath, name: "InvalidAbiEncodingType" });
|
|
344
318
|
}
|
|
345
319
|
};
|
|
346
320
|
InvalidArrayError = class extends BaseError {
|
|
347
321
|
constructor(value) {
|
|
348
|
-
super([`Value "${value}" is not a valid array.`].join("\n")
|
|
349
|
-
|
|
350
|
-
enumerable: true,
|
|
351
|
-
configurable: true,
|
|
352
|
-
writable: true,
|
|
353
|
-
value: "InvalidArrayError"
|
|
322
|
+
super([`Value "${value}" is not a valid array.`].join("\n"), {
|
|
323
|
+
name: "InvalidArrayError"
|
|
354
324
|
});
|
|
355
325
|
}
|
|
356
326
|
};
|
|
@@ -359,50 +329,32 @@ var init_abi = __esm({
|
|
|
359
329
|
super([
|
|
360
330
|
`"${type}" is not a valid definition type.`,
|
|
361
331
|
'Valid types: "function", "event", "error"'
|
|
362
|
-
].join("\n"));
|
|
363
|
-
Object.defineProperty(this, "name", {
|
|
364
|
-
enumerable: true,
|
|
365
|
-
configurable: true,
|
|
366
|
-
writable: true,
|
|
367
|
-
value: "InvalidDefinitionTypeError"
|
|
368
|
-
});
|
|
332
|
+
].join("\n"), { name: "InvalidDefinitionTypeError" });
|
|
369
333
|
}
|
|
370
334
|
};
|
|
371
335
|
}
|
|
372
336
|
});
|
|
373
337
|
|
|
374
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
338
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/data.js
|
|
375
339
|
var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
|
|
376
340
|
var init_data = __esm({
|
|
377
|
-
"../../node_modules/.pnpm/viem@2.
|
|
341
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/data.js"() {
|
|
378
342
|
"use strict";
|
|
379
343
|
init_base();
|
|
380
344
|
SliceOffsetOutOfBoundsError = class extends BaseError {
|
|
381
345
|
constructor({ offset, position, size: size2 }) {
|
|
382
|
-
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size2})
|
|
383
|
-
Object.defineProperty(this, "name", {
|
|
384
|
-
enumerable: true,
|
|
385
|
-
configurable: true,
|
|
386
|
-
writable: true,
|
|
387
|
-
value: "SliceOffsetOutOfBoundsError"
|
|
388
|
-
});
|
|
346
|
+
super(`Slice ${position === "start" ? "starting" : "ending"} at offset "${offset}" is out-of-bounds (size: ${size2}).`, { name: "SliceOffsetOutOfBoundsError" });
|
|
389
347
|
}
|
|
390
348
|
};
|
|
391
349
|
SizeExceedsPaddingSizeError = class extends BaseError {
|
|
392
350
|
constructor({ size: size2, targetSize, type }) {
|
|
393
|
-
super(`${type.charAt(0).toUpperCase()}${type.slice(1).toLowerCase()} size (${size2}) exceeds padding size (${targetSize})
|
|
394
|
-
Object.defineProperty(this, "name", {
|
|
395
|
-
enumerable: true,
|
|
396
|
-
configurable: true,
|
|
397
|
-
writable: true,
|
|
398
|
-
value: "SizeExceedsPaddingSizeError"
|
|
399
|
-
});
|
|
351
|
+
super(`${type.charAt(0).toUpperCase()}${type.slice(1).toLowerCase()} size (${size2}) exceeds padding size (${targetSize}).`, { name: "SizeExceedsPaddingSizeError" });
|
|
400
352
|
}
|
|
401
353
|
};
|
|
402
354
|
}
|
|
403
355
|
});
|
|
404
356
|
|
|
405
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
357
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/pad.js
|
|
406
358
|
function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
|
|
407
359
|
if (typeof hexOrBytes === "string")
|
|
408
360
|
return padHex(hexOrBytes, { dir, size: size2 });
|
|
@@ -437,44 +389,32 @@ function padBytes(bytes2, { dir, size: size2 = 32 } = {}) {
|
|
|
437
389
|
return paddedBytes;
|
|
438
390
|
}
|
|
439
391
|
var init_pad = __esm({
|
|
440
|
-
"../../node_modules/.pnpm/viem@2.
|
|
392
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/pad.js"() {
|
|
441
393
|
"use strict";
|
|
442
394
|
init_data();
|
|
443
395
|
}
|
|
444
396
|
});
|
|
445
397
|
|
|
446
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
398
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/encoding.js
|
|
447
399
|
var IntegerOutOfRangeError, SizeOverflowError;
|
|
448
400
|
var init_encoding = __esm({
|
|
449
|
-
"../../node_modules/.pnpm/viem@2.
|
|
401
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/encoding.js"() {
|
|
450
402
|
"use strict";
|
|
451
403
|
init_base();
|
|
452
404
|
IntegerOutOfRangeError = class extends BaseError {
|
|
453
405
|
constructor({ max, min, signed, size: size2, value }) {
|
|
454
|
-
super(`Number "${value}" is not in safe ${size2 ? `${size2 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}
|
|
455
|
-
Object.defineProperty(this, "name", {
|
|
456
|
-
enumerable: true,
|
|
457
|
-
configurable: true,
|
|
458
|
-
writable: true,
|
|
459
|
-
value: "IntegerOutOfRangeError"
|
|
460
|
-
});
|
|
406
|
+
super(`Number "${value}" is not in safe ${size2 ? `${size2 * 8}-bit ${signed ? "signed" : "unsigned"} ` : ""}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`, { name: "IntegerOutOfRangeError" });
|
|
461
407
|
}
|
|
462
408
|
};
|
|
463
409
|
SizeOverflowError = class extends BaseError {
|
|
464
410
|
constructor({ givenSize, maxSize }) {
|
|
465
|
-
super(`Size cannot exceed ${maxSize} bytes. Given size: ${givenSize} bytes
|
|
466
|
-
Object.defineProperty(this, "name", {
|
|
467
|
-
enumerable: true,
|
|
468
|
-
configurable: true,
|
|
469
|
-
writable: true,
|
|
470
|
-
value: "SizeOverflowError"
|
|
471
|
-
});
|
|
411
|
+
super(`Size cannot exceed ${maxSize} bytes. Given size: ${givenSize} bytes.`, { name: "SizeOverflowError" });
|
|
472
412
|
}
|
|
473
413
|
};
|
|
474
414
|
}
|
|
475
415
|
});
|
|
476
416
|
|
|
477
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
417
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromHex.js
|
|
478
418
|
function assertSize(hexOrBytes, { size: size2 }) {
|
|
479
419
|
if (size(hexOrBytes) > size2)
|
|
480
420
|
throw new SizeOverflowError({
|
|
@@ -483,14 +423,14 @@ function assertSize(hexOrBytes, { size: size2 }) {
|
|
|
483
423
|
});
|
|
484
424
|
}
|
|
485
425
|
var init_fromHex = __esm({
|
|
486
|
-
"../../node_modules/.pnpm/viem@2.
|
|
426
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
|
|
487
427
|
"use strict";
|
|
488
428
|
init_encoding();
|
|
489
429
|
init_size();
|
|
490
430
|
}
|
|
491
431
|
});
|
|
492
432
|
|
|
493
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
433
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toHex.js
|
|
494
434
|
function toHex(value, opts = {}) {
|
|
495
435
|
if (typeof value === "number" || typeof value === "bigint")
|
|
496
436
|
return numberToHex(value, opts);
|
|
@@ -555,7 +495,7 @@ function stringToHex(value_, opts = {}) {
|
|
|
555
495
|
}
|
|
556
496
|
var hexes, encoder;
|
|
557
497
|
var init_toHex = __esm({
|
|
558
|
-
"../../node_modules/.pnpm/viem@2.
|
|
498
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toHex.js"() {
|
|
559
499
|
"use strict";
|
|
560
500
|
init_encoding();
|
|
561
501
|
init_pad();
|
|
@@ -565,7 +505,7 @@ var init_toHex = __esm({
|
|
|
565
505
|
}
|
|
566
506
|
});
|
|
567
507
|
|
|
568
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
508
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toBytes.js
|
|
569
509
|
function toBytes(value, opts = {}) {
|
|
570
510
|
if (typeof value === "number" || typeof value === "bigint")
|
|
571
511
|
return numberToBytes(value, opts);
|
|
@@ -628,7 +568,7 @@ function stringToBytes(value, opts = {}) {
|
|
|
628
568
|
}
|
|
629
569
|
var encoder2, charCodeMap;
|
|
630
570
|
var init_toBytes = __esm({
|
|
631
|
-
"../../node_modules/.pnpm/viem@2.
|
|
571
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
|
|
632
572
|
"use strict";
|
|
633
573
|
init_base();
|
|
634
574
|
init_isHex();
|
|
@@ -647,7 +587,7 @@ var init_toBytes = __esm({
|
|
|
647
587
|
}
|
|
648
588
|
});
|
|
649
589
|
|
|
650
|
-
// ../../node_modules/.pnpm/@noble+hashes@1.
|
|
590
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/_assert.js
|
|
651
591
|
function number(n) {
|
|
652
592
|
if (!Number.isSafeInteger(n) || n < 0)
|
|
653
593
|
throw new Error(`positive integer expected, not ${n}`);
|
|
@@ -675,12 +615,12 @@ function output(out, instance) {
|
|
|
675
615
|
}
|
|
676
616
|
}
|
|
677
617
|
var init_assert = __esm({
|
|
678
|
-
"../../node_modules/.pnpm/@noble+hashes@1.
|
|
618
|
+
"../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/_assert.js"() {
|
|
679
619
|
"use strict";
|
|
680
620
|
}
|
|
681
621
|
});
|
|
682
622
|
|
|
683
|
-
// ../../node_modules/.pnpm/@noble+hashes@1.
|
|
623
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/_u64.js
|
|
684
624
|
function fromBig(n, le = false) {
|
|
685
625
|
if (le)
|
|
686
626
|
return { h: Number(n & U32_MASK64), l: Number(n >> _32n & U32_MASK64) };
|
|
@@ -697,7 +637,7 @@ function split(lst, le = false) {
|
|
|
697
637
|
}
|
|
698
638
|
var U32_MASK64, _32n, rotlSH, rotlSL, rotlBH, rotlBL;
|
|
699
639
|
var init_u64 = __esm({
|
|
700
|
-
"../../node_modules/.pnpm/@noble+hashes@1.
|
|
640
|
+
"../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/_u64.js"() {
|
|
701
641
|
"use strict";
|
|
702
642
|
U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
|
|
703
643
|
_32n = /* @__PURE__ */ BigInt(32);
|
|
@@ -708,7 +648,7 @@ var init_u64 = __esm({
|
|
|
708
648
|
}
|
|
709
649
|
});
|
|
710
650
|
|
|
711
|
-
// ../../node_modules/.pnpm/@noble+hashes@1.
|
|
651
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/utils.js
|
|
712
652
|
function byteSwap32(arr) {
|
|
713
653
|
for (let i = 0; i < arr.length; i++) {
|
|
714
654
|
arr[i] = byteSwap(arr[i]);
|
|
@@ -742,8 +682,8 @@ function wrapXOFConstructorWithOpts(hashCons) {
|
|
|
742
682
|
return hashC;
|
|
743
683
|
}
|
|
744
684
|
var u32, isLE, byteSwap, Hash, toStr;
|
|
745
|
-
var
|
|
746
|
-
"../../node_modules/.pnpm/@noble+hashes@1.
|
|
685
|
+
var init_utils = __esm({
|
|
686
|
+
"../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/utils.js"() {
|
|
747
687
|
"use strict";
|
|
748
688
|
init_assert();
|
|
749
689
|
u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
|
|
@@ -759,7 +699,7 @@ var init_utils2 = __esm({
|
|
|
759
699
|
}
|
|
760
700
|
});
|
|
761
701
|
|
|
762
|
-
// ../../node_modules/.pnpm/@noble+hashes@1.
|
|
702
|
+
// ../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js
|
|
763
703
|
function keccakP(s, rounds = 24) {
|
|
764
704
|
const B = new Uint32Array(5 * 2);
|
|
765
705
|
for (let round = 24 - rounds; round < 24; round++) {
|
|
@@ -802,11 +742,11 @@ function keccakP(s, rounds = 24) {
|
|
|
802
742
|
}
|
|
803
743
|
var SHA3_PI, SHA3_ROTL, _SHA3_IOTA, _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_IOTA_H, SHA3_IOTA_L, rotlH, rotlL, Keccak, gen, sha3_224, sha3_256, sha3_384, sha3_512, keccak_224, keccak_256, keccak_384, keccak_512, genShake, shake128, shake256;
|
|
804
744
|
var init_sha3 = __esm({
|
|
805
|
-
"../../node_modules/.pnpm/@noble+hashes@1.
|
|
745
|
+
"../../node_modules/.pnpm/@noble+hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js"() {
|
|
806
746
|
"use strict";
|
|
807
747
|
init_assert();
|
|
808
748
|
init_u64();
|
|
809
|
-
|
|
749
|
+
init_utils();
|
|
810
750
|
SHA3_PI = [];
|
|
811
751
|
SHA3_ROTL = [];
|
|
812
752
|
_SHA3_IOTA = [];
|
|
@@ -954,7 +894,7 @@ var init_sha3 = __esm({
|
|
|
954
894
|
}
|
|
955
895
|
});
|
|
956
896
|
|
|
957
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
897
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/keccak256.js
|
|
958
898
|
function keccak256(value, to_) {
|
|
959
899
|
const to = to_ || "hex";
|
|
960
900
|
const bytes2 = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -963,7 +903,7 @@ function keccak256(value, to_) {
|
|
|
963
903
|
return toHex(bytes2);
|
|
964
904
|
}
|
|
965
905
|
var init_keccak256 = __esm({
|
|
966
|
-
"../../node_modules/.pnpm/viem@2.
|
|
906
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/keccak256.js"() {
|
|
967
907
|
"use strict";
|
|
968
908
|
init_sha3();
|
|
969
909
|
init_isHex();
|
|
@@ -972,13 +912,13 @@ var init_keccak256 = __esm({
|
|
|
972
912
|
}
|
|
973
913
|
});
|
|
974
914
|
|
|
975
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
915
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/hashSignature.js
|
|
976
916
|
function hashSignature(sig) {
|
|
977
917
|
return hash(sig);
|
|
978
918
|
}
|
|
979
919
|
var hash;
|
|
980
920
|
var init_hashSignature = __esm({
|
|
981
|
-
"../../node_modules/.pnpm/viem@2.
|
|
921
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
|
|
982
922
|
"use strict";
|
|
983
923
|
init_toBytes();
|
|
984
924
|
init_keccak256();
|
|
@@ -986,7 +926,7 @@ var init_hashSignature = __esm({
|
|
|
986
926
|
}
|
|
987
927
|
});
|
|
988
928
|
|
|
989
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
929
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/normalizeSignature.js
|
|
990
930
|
function normalizeSignature(signature) {
|
|
991
931
|
let active = true;
|
|
992
932
|
let current = "";
|
|
@@ -1030,16 +970,16 @@ function normalizeSignature(signature) {
|
|
|
1030
970
|
return result;
|
|
1031
971
|
}
|
|
1032
972
|
var init_normalizeSignature = __esm({
|
|
1033
|
-
"../../node_modules/.pnpm/viem@2.
|
|
973
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
|
|
1034
974
|
"use strict";
|
|
1035
975
|
init_base();
|
|
1036
976
|
}
|
|
1037
977
|
});
|
|
1038
978
|
|
|
1039
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
979
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignature.js
|
|
1040
980
|
var toSignature;
|
|
1041
981
|
var init_toSignature = __esm({
|
|
1042
|
-
"../../node_modules/.pnpm/viem@2.
|
|
982
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignature.js"() {
|
|
1043
983
|
"use strict";
|
|
1044
984
|
init_exports();
|
|
1045
985
|
init_normalizeSignature();
|
|
@@ -1054,32 +994,32 @@ var init_toSignature = __esm({
|
|
|
1054
994
|
}
|
|
1055
995
|
});
|
|
1056
996
|
|
|
1057
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
997
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignatureHash.js
|
|
1058
998
|
function toSignatureHash(fn) {
|
|
1059
999
|
return hashSignature(toSignature(fn));
|
|
1060
1000
|
}
|
|
1061
1001
|
var init_toSignatureHash = __esm({
|
|
1062
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1002
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
|
|
1063
1003
|
"use strict";
|
|
1064
1004
|
init_hashSignature();
|
|
1065
1005
|
init_toSignature();
|
|
1066
1006
|
}
|
|
1067
1007
|
});
|
|
1068
1008
|
|
|
1069
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1009
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toEventSelector.js
|
|
1070
1010
|
var toEventSelector;
|
|
1071
1011
|
var init_toEventSelector = __esm({
|
|
1072
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1012
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
|
|
1073
1013
|
"use strict";
|
|
1074
1014
|
init_toSignatureHash();
|
|
1075
1015
|
toEventSelector = toSignatureHash;
|
|
1076
1016
|
}
|
|
1077
1017
|
});
|
|
1078
1018
|
|
|
1079
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1019
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/address.js
|
|
1080
1020
|
var InvalidAddressError;
|
|
1081
1021
|
var init_address = __esm({
|
|
1082
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1022
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/address.js"() {
|
|
1083
1023
|
"use strict";
|
|
1084
1024
|
init_base();
|
|
1085
1025
|
InvalidAddressError = class extends BaseError {
|
|
@@ -1088,23 +1028,18 @@ var init_address = __esm({
|
|
|
1088
1028
|
metaMessages: [
|
|
1089
1029
|
"- Address must be a hex value of 20 bytes (40 hex characters).",
|
|
1090
1030
|
"- Address must match its checksum counterpart."
|
|
1091
|
-
]
|
|
1092
|
-
|
|
1093
|
-
Object.defineProperty(this, "name", {
|
|
1094
|
-
enumerable: true,
|
|
1095
|
-
configurable: true,
|
|
1096
|
-
writable: true,
|
|
1097
|
-
value: "InvalidAddressError"
|
|
1031
|
+
],
|
|
1032
|
+
name: "InvalidAddressError"
|
|
1098
1033
|
});
|
|
1099
1034
|
}
|
|
1100
1035
|
};
|
|
1101
1036
|
}
|
|
1102
1037
|
});
|
|
1103
1038
|
|
|
1104
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1039
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/lru.js
|
|
1105
1040
|
var LruMap;
|
|
1106
1041
|
var init_lru = __esm({
|
|
1107
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1042
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/lru.js"() {
|
|
1108
1043
|
"use strict";
|
|
1109
1044
|
LruMap = class extends Map {
|
|
1110
1045
|
constructor(size2) {
|
|
@@ -1117,17 +1052,28 @@ var init_lru = __esm({
|
|
|
1117
1052
|
});
|
|
1118
1053
|
this.maxSize = size2;
|
|
1119
1054
|
}
|
|
1055
|
+
get(key) {
|
|
1056
|
+
const value = super.get(key);
|
|
1057
|
+
if (super.has(key) && value !== void 0) {
|
|
1058
|
+
this.delete(key);
|
|
1059
|
+
super.set(key, value);
|
|
1060
|
+
}
|
|
1061
|
+
return value;
|
|
1062
|
+
}
|
|
1120
1063
|
set(key, value) {
|
|
1121
1064
|
super.set(key, value);
|
|
1122
|
-
if (this.maxSize && this.size > this.maxSize)
|
|
1123
|
-
this.
|
|
1065
|
+
if (this.maxSize && this.size > this.maxSize) {
|
|
1066
|
+
const firstKey = this.keys().next().value;
|
|
1067
|
+
if (firstKey)
|
|
1068
|
+
this.delete(firstKey);
|
|
1069
|
+
}
|
|
1124
1070
|
return this;
|
|
1125
1071
|
}
|
|
1126
1072
|
};
|
|
1127
1073
|
}
|
|
1128
1074
|
});
|
|
1129
1075
|
|
|
1130
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1076
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/getAddress.js
|
|
1131
1077
|
function checksumAddress(address_, chainId) {
|
|
1132
1078
|
if (checksumAddressCache.has(`${address_}.${chainId}`))
|
|
1133
1079
|
return checksumAddressCache.get(`${address_}.${chainId}`);
|
|
@@ -1148,7 +1094,7 @@ function checksumAddress(address_, chainId) {
|
|
|
1148
1094
|
}
|
|
1149
1095
|
var checksumAddressCache;
|
|
1150
1096
|
var init_getAddress = __esm({
|
|
1151
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1097
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/getAddress.js"() {
|
|
1152
1098
|
"use strict";
|
|
1153
1099
|
init_toBytes();
|
|
1154
1100
|
init_keccak256();
|
|
@@ -1157,7 +1103,7 @@ var init_getAddress = __esm({
|
|
|
1157
1103
|
}
|
|
1158
1104
|
});
|
|
1159
1105
|
|
|
1160
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1106
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddress.js
|
|
1161
1107
|
function isAddress(address, options) {
|
|
1162
1108
|
const { strict = true } = options ?? {};
|
|
1163
1109
|
const cacheKey = `${address}.${strict}`;
|
|
@@ -1177,7 +1123,7 @@ function isAddress(address, options) {
|
|
|
1177
1123
|
}
|
|
1178
1124
|
var addressRegex, isAddressCache;
|
|
1179
1125
|
var init_isAddress = __esm({
|
|
1180
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1126
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddress.js"() {
|
|
1181
1127
|
"use strict";
|
|
1182
1128
|
init_lru();
|
|
1183
1129
|
init_getAddress();
|
|
@@ -1186,7 +1132,7 @@ var init_isAddress = __esm({
|
|
|
1186
1132
|
}
|
|
1187
1133
|
});
|
|
1188
1134
|
|
|
1189
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1135
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/concat.js
|
|
1190
1136
|
function concat(values) {
|
|
1191
1137
|
if (typeof values[0] === "string")
|
|
1192
1138
|
return concatHex(values);
|
|
@@ -1209,12 +1155,12 @@ function concatHex(values) {
|
|
|
1209
1155
|
return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
|
|
1210
1156
|
}
|
|
1211
1157
|
var init_concat = __esm({
|
|
1212
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1158
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/concat.js"() {
|
|
1213
1159
|
"use strict";
|
|
1214
1160
|
}
|
|
1215
1161
|
});
|
|
1216
1162
|
|
|
1217
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1163
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/slice.js
|
|
1218
1164
|
function slice(value, start, end, { strict } = {}) {
|
|
1219
1165
|
if (isHex(value, { strict: false }))
|
|
1220
1166
|
return sliceHex(value, start, end, {
|
|
@@ -1256,7 +1202,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
|
|
|
1256
1202
|
return value;
|
|
1257
1203
|
}
|
|
1258
1204
|
var init_slice = __esm({
|
|
1259
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1205
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/slice.js"() {
|
|
1260
1206
|
"use strict";
|
|
1261
1207
|
init_data();
|
|
1262
1208
|
init_isHex();
|
|
@@ -1264,7 +1210,7 @@ var init_slice = __esm({
|
|
|
1264
1210
|
}
|
|
1265
1211
|
});
|
|
1266
1212
|
|
|
1267
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1213
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
|
|
1268
1214
|
function encodeAbiParameters(params, values) {
|
|
1269
1215
|
if (params.length !== values.length)
|
|
1270
1216
|
throw new AbiEncodingLengthMismatchError({
|
|
@@ -1462,7 +1408,7 @@ function getArrayComponents(type) {
|
|
|
1462
1408
|
) : void 0;
|
|
1463
1409
|
}
|
|
1464
1410
|
var init_encodeAbiParameters = __esm({
|
|
1465
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1411
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
|
|
1466
1412
|
"use strict";
|
|
1467
1413
|
init_abi();
|
|
1468
1414
|
init_address();
|
|
@@ -1476,10 +1422,10 @@ var init_encodeAbiParameters = __esm({
|
|
|
1476
1422
|
}
|
|
1477
1423
|
});
|
|
1478
1424
|
|
|
1479
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1425
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
|
|
1480
1426
|
var toFunctionSelector;
|
|
1481
1427
|
var init_toFunctionSelector = __esm({
|
|
1482
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1428
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
|
|
1483
1429
|
"use strict";
|
|
1484
1430
|
init_slice();
|
|
1485
1431
|
init_toSignatureHash();
|
|
@@ -1487,7 +1433,7 @@ var init_toFunctionSelector = __esm({
|
|
|
1487
1433
|
}
|
|
1488
1434
|
});
|
|
1489
1435
|
|
|
1490
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1436
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/getAbiItem.js
|
|
1491
1437
|
function getAbiItem(parameters) {
|
|
1492
1438
|
const { abi, args = [], name } = parameters;
|
|
1493
1439
|
const isSelector = isHex(name, { strict: false });
|
|
@@ -1599,7 +1545,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
1599
1545
|
return;
|
|
1600
1546
|
}
|
|
1601
1547
|
var init_getAbiItem = __esm({
|
|
1602
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1548
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
|
|
1603
1549
|
"use strict";
|
|
1604
1550
|
init_abi();
|
|
1605
1551
|
init_isHex();
|
|
@@ -1609,110 +1555,917 @@ var init_getAbiItem = __esm({
|
|
|
1609
1555
|
}
|
|
1610
1556
|
});
|
|
1611
1557
|
|
|
1612
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1558
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js
|
|
1613
1559
|
var etherUnits;
|
|
1614
1560
|
var init_unit = __esm({
|
|
1615
|
-
"../../node_modules/.pnpm/viem@2.
|
|
1561
|
+
"../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js"() {
|
|
1616
1562
|
"use strict";
|
|
1617
1563
|
etherUnits = {
|
|
1618
1564
|
gwei: 9,
|
|
1619
1565
|
wei: 18
|
|
1620
1566
|
};
|
|
1621
1567
|
}
|
|
1622
|
-
});
|
|
1623
|
-
|
|
1624
|
-
// src/index.ts
|
|
1625
|
-
var src_exports = {};
|
|
1626
|
-
__export(src_exports, {
|
|
1627
|
-
PremintConfigVersion: () => PremintConfigVersion,
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1568
|
+
});
|
|
1569
|
+
|
|
1570
|
+
// src/index.ts
|
|
1571
|
+
var src_exports = {};
|
|
1572
|
+
__export(src_exports, {
|
|
1573
|
+
PremintConfigVersion: () => PremintConfigVersion,
|
|
1574
|
+
callerAndCommenterABI: () => callerAndCommenterABI,
|
|
1575
|
+
callerAndCommenterAddress: () => callerAndCommenterAddress,
|
|
1576
|
+
callerAndCommenterConfig: () => callerAndCommenterConfig,
|
|
1577
|
+
commentsABI: () => commentsABI,
|
|
1578
|
+
commentsAddress: () => commentsAddress,
|
|
1579
|
+
commentsConfig: () => commentsConfig,
|
|
1580
|
+
contracts1155: () => __exports,
|
|
1581
|
+
emptyCommentIdentifier: () => emptyCommentIdentifier,
|
|
1582
|
+
encodePremintConfig: () => encodePremintConfig,
|
|
1583
|
+
erc20MinterABI: () => erc20MinterABI,
|
|
1584
|
+
erc20MinterAddress: () => erc20MinterAddress,
|
|
1585
|
+
erc20MinterConfig: () => erc20MinterConfig,
|
|
1586
|
+
erc20ZABI: () => erc20ZABI,
|
|
1587
|
+
erc20ZRoyaltiesABI: () => erc20ZRoyaltiesABI,
|
|
1588
|
+
erc20ZRoyaltiesAddress: () => erc20ZRoyaltiesAddress,
|
|
1589
|
+
erc20ZRoyaltiesConfig: () => erc20ZRoyaltiesConfig,
|
|
1590
|
+
iPremintDefinitionsABI: () => iPremintDefinitionsABI,
|
|
1591
|
+
iSponsoredSparksSpenderActionABI: () => iSponsoredSparksSpenderActionABI,
|
|
1592
|
+
iUnwrapAndForwardActionABI: () => iUnwrapAndForwardActionABI,
|
|
1593
|
+
mintsEthUnwrapperAndCallerABI: () => mintsEthUnwrapperAndCallerABI,
|
|
1594
|
+
mintsEthUnwrapperAndCallerAddress: () => mintsEthUnwrapperAndCallerAddress,
|
|
1595
|
+
mintsEthUnwrapperAndCallerConfig: () => mintsEthUnwrapperAndCallerConfig,
|
|
1596
|
+
mintsSafeTransferBatchTypedDataDefinition: () => mintsSafeTransferBatchTypedDataDefinition,
|
|
1597
|
+
mintsSafeTransferTypedDataDefinition: () => mintsSafeTransferTypedDataDefinition,
|
|
1598
|
+
permitCommentTypedDataDefinition: () => permitCommentTypedDataDefinition,
|
|
1599
|
+
permitSparkCommentTypedDataDefinition: () => permitSparkCommentTypedDataDefinition,
|
|
1600
|
+
permitTimedSaleMintAndCommentTypedDataDefinition: () => permitTimedSaleMintAndCommentTypedDataDefinition,
|
|
1601
|
+
premintTypedDataDefinition: () => premintTypedDataDefinition,
|
|
1602
|
+
premintV1TypedDataDefinition: () => premintV1TypedDataDefinition,
|
|
1603
|
+
premintV2TypedDataDefinition: () => premintV2TypedDataDefinition,
|
|
1604
|
+
protocolRewardsABI: () => protocolRewardsABI,
|
|
1605
|
+
protocolRewardsAddress: () => protocolRewardsAddress,
|
|
1606
|
+
protocolRewardsConfig: () => protocolRewardsConfig,
|
|
1607
|
+
safeTransferSwapAbiParameters: () => safeTransferSwapAbiParameters,
|
|
1608
|
+
secondarySwapABI: () => secondarySwapABI,
|
|
1609
|
+
secondarySwapAddress: () => secondarySwapAddress,
|
|
1610
|
+
secondarySwapConfig: () => secondarySwapConfig,
|
|
1611
|
+
sparkValue: () => sparkValue,
|
|
1612
|
+
sparks: () => sparks_exports,
|
|
1613
|
+
sponsoredSparksBatchTransferTypedDataType: () => sponsoredSparksBatchTransferTypedDataType,
|
|
1614
|
+
sponsoredSparksBatchTypedDataDefinition: () => sponsoredSparksBatchTypedDataDefinition,
|
|
1615
|
+
sponsoredSparksSpenderABI: () => sponsoredSparksSpenderABI,
|
|
1616
|
+
sponsoredSparksSpenderAddress: () => sponsoredSparksSpenderAddress,
|
|
1617
|
+
sponsoredSparksSpenderConfig: () => sponsoredSparksSpenderConfig,
|
|
1618
|
+
upgradeGateABI: () => upgradeGateABI,
|
|
1619
|
+
upgradeGateAddress: () => upgradeGateAddress,
|
|
1620
|
+
upgradeGateConfig: () => upgradeGateConfig,
|
|
1621
|
+
wethABI: () => wethABI,
|
|
1622
|
+
wethAddress: () => wethAddress,
|
|
1623
|
+
wethConfig: () => wethConfig,
|
|
1624
|
+
zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
|
|
1625
|
+
zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
|
|
1626
|
+
zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
|
|
1627
|
+
zoraCreator1155ImplABI: () => zoraCreator1155ImplABI,
|
|
1628
|
+
zoraCreator1155PremintExecutorImplABI: () => zoraCreator1155PremintExecutorImplABI,
|
|
1629
|
+
zoraCreator1155PremintExecutorImplAddress: () => zoraCreator1155PremintExecutorImplAddress,
|
|
1630
|
+
zoraCreator1155PremintExecutorImplConfig: () => zoraCreator1155PremintExecutorImplConfig,
|
|
1631
|
+
zoraCreatorFixedPriceSaleStrategyABI: () => zoraCreatorFixedPriceSaleStrategyABI,
|
|
1632
|
+
zoraCreatorFixedPriceSaleStrategyAddress: () => zoraCreatorFixedPriceSaleStrategyAddress,
|
|
1633
|
+
zoraCreatorFixedPriceSaleStrategyConfig: () => zoraCreatorFixedPriceSaleStrategyConfig,
|
|
1634
|
+
zoraCreatorMerkleMinterStrategyABI: () => zoraCreatorMerkleMinterStrategyABI,
|
|
1635
|
+
zoraCreatorMerkleMinterStrategyAddress: () => zoraCreatorMerkleMinterStrategyAddress,
|
|
1636
|
+
zoraCreatorMerkleMinterStrategyConfig: () => zoraCreatorMerkleMinterStrategyConfig,
|
|
1637
|
+
zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
|
|
1638
|
+
zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
|
|
1639
|
+
zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig,
|
|
1640
|
+
zoraMints1155ABI: () => zoraMints1155ABI,
|
|
1641
|
+
zoraMints1155Address: () => zoraMints1155Address,
|
|
1642
|
+
zoraMints1155Config: () => zoraMints1155Config,
|
|
1643
|
+
zoraMintsManagerImplABI: () => zoraMintsManagerImplABI,
|
|
1644
|
+
zoraMintsManagerImplAddress: () => zoraMintsManagerImplAddress,
|
|
1645
|
+
zoraMintsManagerImplConfig: () => zoraMintsManagerImplConfig,
|
|
1646
|
+
zoraSparks1155ABI: () => zoraSparks1155ABI,
|
|
1647
|
+
zoraSparks1155Address: () => zoraSparks1155Address,
|
|
1648
|
+
zoraSparks1155Config: () => zoraSparks1155Config,
|
|
1649
|
+
zoraSparksManagerImplABI: () => zoraSparksManagerImplABI,
|
|
1650
|
+
zoraSparksManagerImplAddress: () => zoraSparksManagerImplAddress,
|
|
1651
|
+
zoraSparksManagerImplConfig: () => zoraSparksManagerImplConfig,
|
|
1652
|
+
zoraTimedSaleStrategyABI: () => zoraTimedSaleStrategyABI,
|
|
1653
|
+
zoraTimedSaleStrategyAddress: () => zoraTimedSaleStrategyAddress,
|
|
1654
|
+
zoraTimedSaleStrategyConfig: () => zoraTimedSaleStrategyConfig
|
|
1655
|
+
});
|
|
1656
|
+
module.exports = __toCommonJS(src_exports);
|
|
1657
|
+
|
|
1658
|
+
// src/generated/wagmi.ts
|
|
1659
|
+
var callerAndCommenterABI = [
|
|
1660
|
+
{
|
|
1661
|
+
stateMutability: "nonpayable",
|
|
1662
|
+
type: "constructor",
|
|
1663
|
+
inputs: [
|
|
1664
|
+
{ name: "_comments", internalType: "address", type: "address" },
|
|
1665
|
+
{ name: "_zoraTimedSale", internalType: "address", type: "address" }
|
|
1666
|
+
]
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
stateMutability: "view",
|
|
1670
|
+
type: "function",
|
|
1671
|
+
inputs: [],
|
|
1672
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
1673
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
stateMutability: "nonpayable",
|
|
1677
|
+
type: "function",
|
|
1678
|
+
inputs: [],
|
|
1679
|
+
name: "acceptOwnership",
|
|
1680
|
+
outputs: []
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
stateMutability: "view",
|
|
1684
|
+
type: "function",
|
|
1685
|
+
inputs: [],
|
|
1686
|
+
name: "comments",
|
|
1687
|
+
outputs: [
|
|
1688
|
+
{ name: "", internalType: "contract IComments", type: "address" }
|
|
1689
|
+
]
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
stateMutability: "pure",
|
|
1693
|
+
type: "function",
|
|
1694
|
+
inputs: [],
|
|
1695
|
+
name: "contractName",
|
|
1696
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
stateMutability: "pure",
|
|
1700
|
+
type: "function",
|
|
1701
|
+
inputs: [],
|
|
1702
|
+
name: "contractVersion",
|
|
1703
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
stateMutability: "view",
|
|
1707
|
+
type: "function",
|
|
1708
|
+
inputs: [],
|
|
1709
|
+
name: "eip712Domain",
|
|
1710
|
+
outputs: [
|
|
1711
|
+
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
1712
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
1713
|
+
{ name: "version", internalType: "string", type: "string" },
|
|
1714
|
+
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
1715
|
+
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
1716
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
1717
|
+
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
1718
|
+
]
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
stateMutability: "view",
|
|
1722
|
+
type: "function",
|
|
1723
|
+
inputs: [
|
|
1724
|
+
{
|
|
1725
|
+
name: "permit",
|
|
1726
|
+
internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
|
|
1727
|
+
type: "tuple",
|
|
1728
|
+
components: [
|
|
1729
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1730
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
1731
|
+
{ name: "collection", internalType: "address", type: "address" },
|
|
1732
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1733
|
+
{ name: "mintReferral", internalType: "address", type: "address" },
|
|
1734
|
+
{ name: "comment", internalType: "string", type: "string" },
|
|
1735
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
1736
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
1737
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
1738
|
+
{
|
|
1739
|
+
name: "destinationChainId",
|
|
1740
|
+
internalType: "uint32",
|
|
1741
|
+
type: "uint32"
|
|
1742
|
+
}
|
|
1743
|
+
]
|
|
1744
|
+
}
|
|
1745
|
+
],
|
|
1746
|
+
name: "hashPermitTimedSaleMintAndComment",
|
|
1747
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
stateMutability: "nonpayable",
|
|
1751
|
+
type: "function",
|
|
1752
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
1753
|
+
name: "initialize",
|
|
1754
|
+
outputs: []
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
stateMutability: "view",
|
|
1758
|
+
type: "function",
|
|
1759
|
+
inputs: [
|
|
1760
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
1761
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1762
|
+
],
|
|
1763
|
+
name: "nonceUsed",
|
|
1764
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
stateMutability: "view",
|
|
1768
|
+
type: "function",
|
|
1769
|
+
inputs: [],
|
|
1770
|
+
name: "owner",
|
|
1771
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
stateMutability: "view",
|
|
1775
|
+
type: "function",
|
|
1776
|
+
inputs: [],
|
|
1777
|
+
name: "pendingOwner",
|
|
1778
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
stateMutability: "payable",
|
|
1782
|
+
type: "function",
|
|
1783
|
+
inputs: [
|
|
1784
|
+
{
|
|
1785
|
+
name: "permit",
|
|
1786
|
+
internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
|
|
1787
|
+
type: "tuple",
|
|
1788
|
+
components: [
|
|
1789
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1790
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
1791
|
+
{ name: "collection", internalType: "address", type: "address" },
|
|
1792
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1793
|
+
{ name: "mintReferral", internalType: "address", type: "address" },
|
|
1794
|
+
{ name: "comment", internalType: "string", type: "string" },
|
|
1795
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
1796
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
1797
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
1798
|
+
{
|
|
1799
|
+
name: "destinationChainId",
|
|
1800
|
+
internalType: "uint32",
|
|
1801
|
+
type: "uint32"
|
|
1802
|
+
}
|
|
1803
|
+
]
|
|
1804
|
+
},
|
|
1805
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
1806
|
+
],
|
|
1807
|
+
name: "permitTimedSaleMintAndComment",
|
|
1808
|
+
outputs: [
|
|
1809
|
+
{
|
|
1810
|
+
name: "",
|
|
1811
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1812
|
+
type: "tuple",
|
|
1813
|
+
components: [
|
|
1814
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1815
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1816
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1817
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1818
|
+
]
|
|
1819
|
+
}
|
|
1820
|
+
]
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
stateMutability: "view",
|
|
1824
|
+
type: "function",
|
|
1825
|
+
inputs: [],
|
|
1826
|
+
name: "proxiableUUID",
|
|
1827
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
stateMutability: "nonpayable",
|
|
1831
|
+
type: "function",
|
|
1832
|
+
inputs: [],
|
|
1833
|
+
name: "renounceOwnership",
|
|
1834
|
+
outputs: []
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
stateMutability: "payable",
|
|
1838
|
+
type: "function",
|
|
1839
|
+
inputs: [
|
|
1840
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1841
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
1842
|
+
{ name: "collection", internalType: "address", type: "address" },
|
|
1843
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1844
|
+
{ name: "mintReferral", internalType: "address", type: "address" },
|
|
1845
|
+
{ name: "comment", internalType: "string", type: "string" }
|
|
1846
|
+
],
|
|
1847
|
+
name: "timedSaleMintAndComment",
|
|
1848
|
+
outputs: [
|
|
1849
|
+
{
|
|
1850
|
+
name: "",
|
|
1851
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1852
|
+
type: "tuple",
|
|
1853
|
+
components: [
|
|
1854
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1855
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1856
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1857
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1858
|
+
]
|
|
1859
|
+
}
|
|
1860
|
+
]
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
stateMutability: "nonpayable",
|
|
1864
|
+
type: "function",
|
|
1865
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
1866
|
+
name: "transferOwnership",
|
|
1867
|
+
outputs: []
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
stateMutability: "payable",
|
|
1871
|
+
type: "function",
|
|
1872
|
+
inputs: [
|
|
1873
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
1874
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
1875
|
+
],
|
|
1876
|
+
name: "upgradeToAndCall",
|
|
1877
|
+
outputs: []
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
stateMutability: "view",
|
|
1881
|
+
type: "function",
|
|
1882
|
+
inputs: [],
|
|
1883
|
+
name: "zoraTimedSale",
|
|
1884
|
+
outputs: [
|
|
1885
|
+
{
|
|
1886
|
+
name: "",
|
|
1887
|
+
internalType: "contract IZoraTimedSaleStrategy",
|
|
1888
|
+
type: "address"
|
|
1889
|
+
}
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1892
|
+
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
1893
|
+
{
|
|
1894
|
+
type: "event",
|
|
1895
|
+
anonymous: false,
|
|
1896
|
+
inputs: [
|
|
1897
|
+
{
|
|
1898
|
+
name: "version",
|
|
1899
|
+
internalType: "uint64",
|
|
1900
|
+
type: "uint64",
|
|
1901
|
+
indexed: false
|
|
1902
|
+
}
|
|
1903
|
+
],
|
|
1904
|
+
name: "Initialized"
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
type: "event",
|
|
1908
|
+
anonymous: false,
|
|
1909
|
+
inputs: [
|
|
1910
|
+
{
|
|
1911
|
+
name: "commentId",
|
|
1912
|
+
internalType: "bytes32",
|
|
1913
|
+
type: "bytes32",
|
|
1914
|
+
indexed: true
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
name: "commentIdentifier",
|
|
1918
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1919
|
+
type: "tuple",
|
|
1920
|
+
components: [
|
|
1921
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1922
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1923
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1924
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1925
|
+
],
|
|
1926
|
+
indexed: false
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
name: "quantity",
|
|
1930
|
+
internalType: "uint256",
|
|
1931
|
+
type: "uint256",
|
|
1932
|
+
indexed: false
|
|
1933
|
+
},
|
|
1934
|
+
{ name: "text", internalType: "string", type: "string", indexed: false }
|
|
1935
|
+
],
|
|
1936
|
+
name: "MintedAndCommented"
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
type: "event",
|
|
1940
|
+
anonymous: false,
|
|
1941
|
+
inputs: [
|
|
1942
|
+
{
|
|
1943
|
+
name: "previousOwner",
|
|
1944
|
+
internalType: "address",
|
|
1945
|
+
type: "address",
|
|
1946
|
+
indexed: true
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
name: "newOwner",
|
|
1950
|
+
internalType: "address",
|
|
1951
|
+
type: "address",
|
|
1952
|
+
indexed: true
|
|
1953
|
+
}
|
|
1954
|
+
],
|
|
1955
|
+
name: "OwnershipTransferStarted"
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
type: "event",
|
|
1959
|
+
anonymous: false,
|
|
1960
|
+
inputs: [
|
|
1961
|
+
{
|
|
1962
|
+
name: "previousOwner",
|
|
1963
|
+
internalType: "address",
|
|
1964
|
+
type: "address",
|
|
1965
|
+
indexed: true
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
name: "newOwner",
|
|
1969
|
+
internalType: "address",
|
|
1970
|
+
type: "address",
|
|
1971
|
+
indexed: true
|
|
1972
|
+
}
|
|
1973
|
+
],
|
|
1974
|
+
name: "OwnershipTransferred"
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
type: "event",
|
|
1978
|
+
anonymous: false,
|
|
1979
|
+
inputs: [
|
|
1980
|
+
{
|
|
1981
|
+
name: "implementation",
|
|
1982
|
+
internalType: "address",
|
|
1983
|
+
type: "address",
|
|
1984
|
+
indexed: true
|
|
1985
|
+
}
|
|
1986
|
+
],
|
|
1987
|
+
name: "Upgraded"
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
type: "error",
|
|
1991
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
1992
|
+
name: "AddressEmptyCode"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
type: "error",
|
|
1996
|
+
inputs: [
|
|
1997
|
+
{ name: "expected", internalType: "address", type: "address" },
|
|
1998
|
+
{ name: "actual", internalType: "address", type: "address" }
|
|
1999
|
+
],
|
|
2000
|
+
name: "CommenterMismatch"
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
type: "error",
|
|
2004
|
+
inputs: [
|
|
2005
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
2006
|
+
],
|
|
2007
|
+
name: "ERC1967InvalidImplementation"
|
|
2008
|
+
},
|
|
2009
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2010
|
+
{
|
|
2011
|
+
type: "error",
|
|
2012
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
2013
|
+
name: "ERC2612ExpiredSignature"
|
|
2014
|
+
},
|
|
2015
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2016
|
+
{
|
|
2017
|
+
type: "error",
|
|
2018
|
+
inputs: [
|
|
2019
|
+
{
|
|
2020
|
+
name: "wrongDestinationChainId",
|
|
2021
|
+
internalType: "uint256",
|
|
2022
|
+
type: "uint256"
|
|
2023
|
+
}
|
|
2024
|
+
],
|
|
2025
|
+
name: "IncorrectDestinationChain"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
type: "error",
|
|
2029
|
+
inputs: [
|
|
2030
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
2031
|
+
{ name: "currentNonce", internalType: "bytes32", type: "bytes32" }
|
|
2032
|
+
],
|
|
2033
|
+
name: "InvalidAccountNonce"
|
|
2034
|
+
},
|
|
2035
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2036
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2037
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2038
|
+
{
|
|
2039
|
+
type: "error",
|
|
2040
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
2041
|
+
name: "OwnableInvalidOwner"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
type: "error",
|
|
2045
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2046
|
+
name: "OwnableUnauthorizedAccount"
|
|
2047
|
+
},
|
|
2048
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
2049
|
+
{
|
|
2050
|
+
type: "error",
|
|
2051
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
2052
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
type: "error",
|
|
2056
|
+
inputs: [
|
|
2057
|
+
{ name: "currentName", internalType: "string", type: "string" },
|
|
2058
|
+
{ name: "newName", internalType: "string", type: "string" }
|
|
2059
|
+
],
|
|
2060
|
+
name: "UpgradeToMismatchedContractName"
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
type: "error",
|
|
2064
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2065
|
+
name: "AddressEmptyCode"
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
type: "error",
|
|
2069
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2070
|
+
name: "AddressInsufficientBalance"
|
|
2071
|
+
},
|
|
2072
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
2073
|
+
{ type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
|
|
2074
|
+
{
|
|
2075
|
+
type: "error",
|
|
2076
|
+
inputs: [
|
|
2077
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
2078
|
+
],
|
|
2079
|
+
name: "ERC1967InvalidImplementation"
|
|
2080
|
+
},
|
|
2081
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2082
|
+
{ type: "error", inputs: [], name: "EndTimeCannotBeInThePast" },
|
|
2083
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2084
|
+
{ type: "error", inputs: [], name: "InsufficientFunds" },
|
|
2085
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2086
|
+
{ type: "error", inputs: [], name: "MarketAlreadyLaunched" },
|
|
2087
|
+
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
2088
|
+
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
2089
|
+
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
2090
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2091
|
+
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
2092
|
+
{
|
|
2093
|
+
type: "error",
|
|
2094
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
2095
|
+
name: "OwnableInvalidOwner"
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
type: "error",
|
|
2099
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2100
|
+
name: "OwnableUnauthorizedAccount"
|
|
2101
|
+
},
|
|
2102
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
2103
|
+
{ type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
|
|
2104
|
+
{ type: "error", inputs: [], name: "ResetSaleNotAvailable" },
|
|
2105
|
+
{ type: "error", inputs: [], name: "SaleAlreadySet" },
|
|
2106
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2107
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2108
|
+
{ type: "error", inputs: [], name: "SaleInProgress" },
|
|
2109
|
+
{ type: "error", inputs: [], name: "SaleNotSet" },
|
|
2110
|
+
{ type: "error", inputs: [], name: "SaleV2AlreadyStarted" },
|
|
2111
|
+
{ type: "error", inputs: [], name: "SaleV2Ended" },
|
|
2112
|
+
{ type: "error", inputs: [], name: "SaleV2NotSet" },
|
|
2113
|
+
{ type: "error", inputs: [], name: "StartTimeCannotBeAfterEndTime" },
|
|
2114
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
2115
|
+
{
|
|
2116
|
+
type: "error",
|
|
2117
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
2118
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
2119
|
+
},
|
|
2120
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
2121
|
+
{
|
|
2122
|
+
type: "error",
|
|
2123
|
+
inputs: [],
|
|
2124
|
+
name: "ZoraCreator1155ContractNeedsToSupportReduceSupply"
|
|
2125
|
+
},
|
|
2126
|
+
{ type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
|
|
2127
|
+
{ type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
|
|
2128
|
+
{
|
|
2129
|
+
type: "error",
|
|
2130
|
+
inputs: [
|
|
2131
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
2132
|
+
{ name: "user", internalType: "address", type: "address" }
|
|
2133
|
+
],
|
|
2134
|
+
name: "Burn_NotOwnerOrApproved"
|
|
2135
|
+
},
|
|
2136
|
+
{ type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
|
|
2137
|
+
{
|
|
2138
|
+
type: "error",
|
|
2139
|
+
inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
|
|
2140
|
+
name: "CallFailed"
|
|
2141
|
+
},
|
|
2142
|
+
{ type: "error", inputs: [], name: "Call_TokenIdMismatch" },
|
|
2143
|
+
{ type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
|
|
2144
|
+
{ type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
|
|
2145
|
+
{
|
|
2146
|
+
type: "error",
|
|
2147
|
+
inputs: [
|
|
2148
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2149
|
+
{ name: "quantity", internalType: "uint256", type: "uint256" },
|
|
2150
|
+
{ name: "totalMinted", internalType: "uint256", type: "uint256" },
|
|
2151
|
+
{ name: "maxSupply", internalType: "uint256", type: "uint256" }
|
|
2152
|
+
],
|
|
2153
|
+
name: "CannotMintMoreTokens"
|
|
2154
|
+
},
|
|
2155
|
+
{ type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
|
|
2156
|
+
{
|
|
2157
|
+
type: "error",
|
|
2158
|
+
inputs: [
|
|
2159
|
+
{ name: "proposedAddress", internalType: "address", type: "address" }
|
|
2160
|
+
],
|
|
2161
|
+
name: "Config_TransferHookNotSupported"
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
type: "error",
|
|
2165
|
+
inputs: [],
|
|
2166
|
+
name: "ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
type: "error",
|
|
2170
|
+
inputs: [],
|
|
2171
|
+
name: "ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER"
|
|
2172
|
+
},
|
|
2173
|
+
{ type: "error", inputs: [], name: "ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE" },
|
|
2174
|
+
{ type: "error", inputs: [], name: "ERC1155_BURN_FROM_ZERO_ADDRESS" },
|
|
2175
|
+
{
|
|
2176
|
+
type: "error",
|
|
2177
|
+
inputs: [],
|
|
2178
|
+
name: "ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED"
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
type: "error",
|
|
2182
|
+
inputs: [],
|
|
2183
|
+
name: "ERC1155_ERC1155RECEIVER_REJECTED_TOKENS"
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
type: "error",
|
|
2187
|
+
inputs: [],
|
|
2188
|
+
name: "ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH"
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
type: "error",
|
|
2192
|
+
inputs: [],
|
|
2193
|
+
name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER"
|
|
2194
|
+
},
|
|
2195
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
2196
|
+
{ type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
|
|
2197
|
+
{ type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
|
|
2198
|
+
{
|
|
2199
|
+
type: "error",
|
|
2200
|
+
inputs: [],
|
|
2201
|
+
name: "ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER"
|
|
2202
|
+
},
|
|
2203
|
+
{ type: "error", inputs: [], name: "ERC1155_TRANSFER_TO_ZERO_ADDRESS" },
|
|
2204
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
2205
|
+
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
2206
|
+
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
2207
|
+
{
|
|
2208
|
+
type: "error",
|
|
2209
|
+
inputs: [
|
|
2210
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
2211
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
2212
|
+
],
|
|
2213
|
+
name: "ETHWithdrawFailed"
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
type: "error",
|
|
2217
|
+
inputs: [],
|
|
2218
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY"
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
type: "error",
|
|
2222
|
+
inputs: [],
|
|
2223
|
+
name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
|
|
2224
|
+
},
|
|
2225
|
+
{ type: "error", inputs: [], name: "FirstMinterAddressZero" },
|
|
2226
|
+
{
|
|
2227
|
+
type: "error",
|
|
2228
|
+
inputs: [
|
|
2229
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
2230
|
+
{ name: "contractValue", internalType: "uint256", type: "uint256" }
|
|
2231
|
+
],
|
|
2232
|
+
name: "FundsWithdrawInsolvent"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
type: "error",
|
|
2236
|
+
inputs: [],
|
|
2237
|
+
name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
type: "error",
|
|
2241
|
+
inputs: [],
|
|
2242
|
+
name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
|
|
2243
|
+
},
|
|
2244
|
+
{ type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
|
|
2245
|
+
{ type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
|
|
2246
|
+
{
|
|
2247
|
+
type: "error",
|
|
2248
|
+
inputs: [
|
|
2249
|
+
{ name: "mintTo", internalType: "address", type: "address" },
|
|
2250
|
+
{ name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
|
|
2251
|
+
{ name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
|
|
2252
|
+
],
|
|
2253
|
+
name: "InvalidMerkleProof"
|
|
2254
|
+
},
|
|
2255
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2256
|
+
{ type: "error", inputs: [], name: "InvalidMintSchedule" },
|
|
2257
|
+
{ type: "error", inputs: [], name: "InvalidPremintVersion" },
|
|
2258
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2259
|
+
{ type: "error", inputs: [], name: "InvalidSignatureVersion" },
|
|
2260
|
+
{
|
|
2261
|
+
type: "error",
|
|
2262
|
+
inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
|
|
2263
|
+
name: "InvalidSigner"
|
|
2264
|
+
},
|
|
2265
|
+
{ type: "error", inputs: [], name: "MintNotYetStarted" },
|
|
2266
|
+
{ type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
|
|
2267
|
+
{ type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
|
|
2268
|
+
{ type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
|
|
2269
|
+
{ type: "error", inputs: [], name: "Mint_UnknownCommand" },
|
|
2270
|
+
{ type: "error", inputs: [], name: "Mint_ValueTransferFail" },
|
|
2271
|
+
{ type: "error", inputs: [], name: "MinterContractAlreadyExists" },
|
|
2272
|
+
{ type: "error", inputs: [], name: "MinterContractDoesNotExist" },
|
|
2273
|
+
{ type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
|
|
2274
|
+
{
|
|
2275
|
+
type: "error",
|
|
2276
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
2277
|
+
name: "NoRendererForToken"
|
|
2278
|
+
},
|
|
2279
|
+
{ type: "error", inputs: [], name: "NonEthRedemption" },
|
|
2280
|
+
{ type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
|
|
2281
|
+
{ type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
|
|
2282
|
+
{ type: "error", inputs: [], name: "PremintDeleted" },
|
|
2283
|
+
{
|
|
2284
|
+
type: "error",
|
|
2285
|
+
inputs: [
|
|
2286
|
+
{ name: "caller", internalType: "address", type: "address" },
|
|
2287
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
2288
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
2289
|
+
],
|
|
2290
|
+
name: "ProtocolRewardsWithdrawFailed"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
type: "error",
|
|
2294
|
+
inputs: [{ name: "renderer", internalType: "address", type: "address" }],
|
|
2295
|
+
name: "RendererNotValid"
|
|
2296
|
+
},
|
|
2297
|
+
{ type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
|
|
2298
|
+
{ type: "error", inputs: [], name: "SaleEnded" },
|
|
2299
|
+
{ type: "error", inputs: [], name: "SaleHasNotStarted" },
|
|
2300
|
+
{
|
|
2301
|
+
type: "error",
|
|
2302
|
+
inputs: [
|
|
2303
|
+
{ name: "targetContract", internalType: "address", type: "address" }
|
|
2304
|
+
],
|
|
2305
|
+
name: "Sale_CannotCallNonSalesContract"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
type: "error",
|
|
2309
|
+
inputs: [
|
|
2310
|
+
{ name: "expected", internalType: "uint256", type: "uint256" },
|
|
2311
|
+
{ name: "actual", internalType: "uint256", type: "uint256" }
|
|
2312
|
+
],
|
|
2313
|
+
name: "TokenIdMismatch"
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
type: "error",
|
|
2317
|
+
inputs: [],
|
|
2318
|
+
name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
type: "error",
|
|
2322
|
+
inputs: [
|
|
2323
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
2324
|
+
{ name: "limit", internalType: "uint256", type: "uint256" },
|
|
2325
|
+
{ name: "requestedAmount", internalType: "uint256", type: "uint256" }
|
|
2326
|
+
],
|
|
2327
|
+
name: "UserExceedsMintLimit"
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
type: "error",
|
|
2331
|
+
inputs: [
|
|
2332
|
+
{ name: "user", internalType: "address", type: "address" },
|
|
2333
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2334
|
+
{ name: "role", internalType: "uint256", type: "uint256" }
|
|
2335
|
+
],
|
|
2336
|
+
name: "UserMissingRoleForToken"
|
|
2337
|
+
},
|
|
2338
|
+
{ type: "error", inputs: [], name: "WrongValueSent" },
|
|
2339
|
+
{
|
|
2340
|
+
type: "error",
|
|
2341
|
+
inputs: [],
|
|
2342
|
+
name: "premintSignerContractFailedToRecoverSigner"
|
|
2343
|
+
},
|
|
2344
|
+
{ type: "error", inputs: [], name: "premintSignerContractNotAContract" },
|
|
2345
|
+
{ type: "error", inputs: [], name: "AccessControlBadConfirmation" },
|
|
2346
|
+
{
|
|
2347
|
+
type: "error",
|
|
2348
|
+
inputs: [
|
|
2349
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
2350
|
+
{ name: "neededRole", internalType: "bytes32", type: "bytes32" }
|
|
2351
|
+
],
|
|
2352
|
+
name: "AccessControlUnauthorizedAccount"
|
|
2353
|
+
},
|
|
2354
|
+
{
|
|
2355
|
+
type: "error",
|
|
2356
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2357
|
+
name: "AddressEmptyCode"
|
|
2358
|
+
},
|
|
2359
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
2360
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
2361
|
+
{ type: "error", inputs: [], name: "CannotSparkOwnComment" },
|
|
2362
|
+
{
|
|
2363
|
+
type: "error",
|
|
2364
|
+
inputs: [
|
|
2365
|
+
{ name: "commentAddress", internalType: "address", type: "address" },
|
|
2366
|
+
{ name: "commentTokenId", internalType: "uint256", type: "uint256" },
|
|
2367
|
+
{ name: "replyAddress", internalType: "address", type: "address" },
|
|
2368
|
+
{ name: "replyTokenId", internalType: "uint256", type: "uint256" }
|
|
2369
|
+
],
|
|
2370
|
+
name: "CommentAddressOrTokenIdsDoNotMatch"
|
|
2371
|
+
},
|
|
2372
|
+
{ type: "error", inputs: [], name: "CommentDoesntExist" },
|
|
2373
|
+
{
|
|
2374
|
+
type: "error",
|
|
2375
|
+
inputs: [
|
|
2376
|
+
{ name: "expected", internalType: "address", type: "address" },
|
|
2377
|
+
{ name: "actual", internalType: "address", type: "address" }
|
|
2378
|
+
],
|
|
2379
|
+
name: "CommenterMismatch"
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
type: "error",
|
|
2383
|
+
inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
|
|
2384
|
+
name: "DuplicateComment"
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
type: "error",
|
|
2388
|
+
inputs: [
|
|
2389
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
2390
|
+
],
|
|
2391
|
+
name: "ERC1967InvalidImplementation"
|
|
2392
|
+
},
|
|
2393
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2394
|
+
{
|
|
2395
|
+
type: "error",
|
|
2396
|
+
inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
|
|
2397
|
+
name: "ERC2612ExpiredSignature"
|
|
2398
|
+
},
|
|
2399
|
+
{ type: "error", inputs: [], name: "EmptyComment" },
|
|
2400
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2401
|
+
{
|
|
2402
|
+
type: "error",
|
|
2403
|
+
inputs: [
|
|
2404
|
+
{
|
|
2405
|
+
name: "wrongDestinationChainId",
|
|
2406
|
+
internalType: "uint256",
|
|
2407
|
+
type: "uint256"
|
|
2408
|
+
}
|
|
2409
|
+
],
|
|
2410
|
+
name: "IncorrectDestinationChain"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
type: "error",
|
|
2414
|
+
inputs: [
|
|
2415
|
+
{ name: "actual", internalType: "uint256", type: "uint256" },
|
|
2416
|
+
{ name: "expected", internalType: "uint256", type: "uint256" }
|
|
2417
|
+
],
|
|
2418
|
+
name: "IncorrectETHAmountForSparks"
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
type: "error",
|
|
2422
|
+
inputs: [
|
|
2423
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
2424
|
+
{ name: "currentNonce", internalType: "bytes32", type: "bytes32" }
|
|
2425
|
+
],
|
|
2426
|
+
name: "InvalidAccountNonce"
|
|
2427
|
+
},
|
|
2428
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2429
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2430
|
+
{ type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
|
|
2431
|
+
{ type: "error", inputs: [], name: "NoFundsRecipient" },
|
|
2432
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2433
|
+
{ type: "error", inputs: [], name: "NotSmartWallet" },
|
|
2434
|
+
{ type: "error", inputs: [], name: "NotSmartWalletOwner" },
|
|
2435
|
+
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
2436
|
+
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
2437
|
+
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
2438
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
2439
|
+
{
|
|
2440
|
+
type: "error",
|
|
2441
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
2442
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
type: "error",
|
|
2446
|
+
inputs: [
|
|
2447
|
+
{ name: "currentName", internalType: "string", type: "string" },
|
|
2448
|
+
{ name: "newName", internalType: "string", type: "string" }
|
|
2449
|
+
],
|
|
2450
|
+
name: "UpgradeToMismatchedContractName"
|
|
2451
|
+
}
|
|
2452
|
+
];
|
|
2453
|
+
var callerAndCommenterAddress = {
|
|
2454
|
+
7777777: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
|
|
2455
|
+
999999999: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5"
|
|
2456
|
+
};
|
|
2457
|
+
var callerAndCommenterConfig = {
|
|
2458
|
+
address: callerAndCommenterAddress,
|
|
2459
|
+
abi: callerAndCommenterABI
|
|
2460
|
+
};
|
|
1709
2461
|
var commentsABI = [
|
|
1710
2462
|
{
|
|
1711
2463
|
stateMutability: "nonpayable",
|
|
1712
2464
|
type: "constructor",
|
|
1713
2465
|
inputs: [
|
|
1714
2466
|
{ name: "_sparkValue", internalType: "uint256", type: "uint256" },
|
|
1715
|
-
{ name: "_protocolRewards", internalType: "address", type: "address" }
|
|
2467
|
+
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
2468
|
+
{ name: "_zoraRecipient", internalType: "address", type: "address" }
|
|
1716
2469
|
]
|
|
1717
2470
|
},
|
|
1718
2471
|
{
|
|
@@ -1733,7 +2486,7 @@ var commentsABI = [
|
|
|
1733
2486
|
stateMutability: "view",
|
|
1734
2487
|
type: "function",
|
|
1735
2488
|
inputs: [],
|
|
1736
|
-
name: "
|
|
2489
|
+
name: "DELEGATE_COMMENTER",
|
|
1737
2490
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1738
2491
|
},
|
|
1739
2492
|
{
|
|
@@ -1869,7 +2622,7 @@ var commentsABI = [
|
|
|
1869
2622
|
}
|
|
1870
2623
|
],
|
|
1871
2624
|
name: "commentSparksQuantity",
|
|
1872
|
-
outputs: [{ name: "", internalType: "
|
|
2625
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1873
2626
|
},
|
|
1874
2627
|
{
|
|
1875
2628
|
stateMutability: "pure",
|
|
@@ -1886,7 +2639,7 @@ var commentsABI = [
|
|
|
1886
2639
|
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1887
2640
|
},
|
|
1888
2641
|
{
|
|
1889
|
-
stateMutability: "
|
|
2642
|
+
stateMutability: "payable",
|
|
1890
2643
|
type: "function",
|
|
1891
2644
|
inputs: [
|
|
1892
2645
|
{ name: "commenter", internalType: "address", type: "address" },
|
|
@@ -1903,7 +2656,13 @@ var commentsABI = [
|
|
|
1903
2656
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1904
2657
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1905
2658
|
]
|
|
1906
|
-
}
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
name: "commenterSmartWalletOwner",
|
|
2662
|
+
internalType: "address",
|
|
2663
|
+
type: "address"
|
|
2664
|
+
},
|
|
2665
|
+
{ name: "referrer", internalType: "address", type: "address" }
|
|
1907
2666
|
],
|
|
1908
2667
|
name: "delegateComment",
|
|
1909
2668
|
outputs: [
|
|
@@ -1917,7 +2676,8 @@ var commentsABI = [
|
|
|
1917
2676
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1918
2677
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1919
2678
|
]
|
|
1920
|
-
}
|
|
2679
|
+
},
|
|
2680
|
+
{ name: "commentId", internalType: "bytes32", type: "bytes32" }
|
|
1921
2681
|
]
|
|
1922
2682
|
},
|
|
1923
2683
|
{
|
|
@@ -2032,6 +2792,11 @@ var commentsABI = [
|
|
|
2032
2792
|
type: "tuple",
|
|
2033
2793
|
components: [
|
|
2034
2794
|
{ name: "commenter", internalType: "address", type: "address" },
|
|
2795
|
+
{
|
|
2796
|
+
name: "commenterSmartWallet",
|
|
2797
|
+
internalType: "address",
|
|
2798
|
+
type: "address"
|
|
2799
|
+
},
|
|
2035
2800
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2036
2801
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2037
2802
|
{
|
|
@@ -2050,19 +2815,14 @@ var commentsABI = [
|
|
|
2050
2815
|
]
|
|
2051
2816
|
},
|
|
2052
2817
|
{ name: "text", internalType: "string", type: "string" },
|
|
2818
|
+
{ name: "referrer", internalType: "address", type: "address" },
|
|
2053
2819
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2054
2820
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2055
|
-
{ name: "referrer", internalType: "address", type: "address" },
|
|
2056
2821
|
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
2057
2822
|
{
|
|
2058
2823
|
name: "destinationChainId",
|
|
2059
2824
|
internalType: "uint32",
|
|
2060
2825
|
type: "uint32"
|
|
2061
|
-
},
|
|
2062
|
-
{
|
|
2063
|
-
name: "commenterSmartWallet",
|
|
2064
|
-
internalType: "address",
|
|
2065
|
-
type: "address"
|
|
2066
2826
|
}
|
|
2067
2827
|
]
|
|
2068
2828
|
}
|
|
@@ -2095,7 +2855,7 @@ var commentsABI = [
|
|
|
2095
2855
|
]
|
|
2096
2856
|
},
|
|
2097
2857
|
{ name: "sparker", internalType: "address", type: "address" },
|
|
2098
|
-
{ name: "sparksQuantity", internalType: "
|
|
2858
|
+
{ name: "sparksQuantity", internalType: "uint256", type: "uint256" },
|
|
2099
2859
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2100
2860
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2101
2861
|
{ name: "referrer", internalType: "address", type: "address" },
|
|
@@ -2122,7 +2882,6 @@ var commentsABI = [
|
|
|
2122
2882
|
stateMutability: "nonpayable",
|
|
2123
2883
|
type: "function",
|
|
2124
2884
|
inputs: [
|
|
2125
|
-
{ name: "_zoraRecipient", internalType: "address", type: "address" },
|
|
2126
2885
|
{ name: "defaultAdmin", internalType: "address", type: "address" },
|
|
2127
2886
|
{ name: "backfiller", internalType: "address", type: "address" },
|
|
2128
2887
|
{
|
|
@@ -2146,7 +2905,7 @@ var commentsABI = [
|
|
|
2146
2905
|
type: "function",
|
|
2147
2906
|
inputs: [
|
|
2148
2907
|
{ name: "owner", internalType: "address", type: "address" },
|
|
2149
|
-
{ name: "nonce", internalType: "
|
|
2908
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2150
2909
|
],
|
|
2151
2910
|
name: "nonceUsed",
|
|
2152
2911
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
@@ -2161,6 +2920,11 @@ var commentsABI = [
|
|
|
2161
2920
|
type: "tuple",
|
|
2162
2921
|
components: [
|
|
2163
2922
|
{ name: "commenter", internalType: "address", type: "address" },
|
|
2923
|
+
{
|
|
2924
|
+
name: "commenterSmartWallet",
|
|
2925
|
+
internalType: "address",
|
|
2926
|
+
type: "address"
|
|
2927
|
+
},
|
|
2164
2928
|
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
2165
2929
|
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
2166
2930
|
{
|
|
@@ -2179,19 +2943,14 @@ var commentsABI = [
|
|
|
2179
2943
|
]
|
|
2180
2944
|
},
|
|
2181
2945
|
{ name: "text", internalType: "string", type: "string" },
|
|
2946
|
+
{ name: "referrer", internalType: "address", type: "address" },
|
|
2182
2947
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2183
2948
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2184
|
-
{ name: "referrer", internalType: "address", type: "address" },
|
|
2185
2949
|
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
2186
2950
|
{
|
|
2187
2951
|
name: "destinationChainId",
|
|
2188
2952
|
internalType: "uint32",
|
|
2189
2953
|
type: "uint32"
|
|
2190
|
-
},
|
|
2191
|
-
{
|
|
2192
|
-
name: "commenterSmartWallet",
|
|
2193
|
-
internalType: "address",
|
|
2194
|
-
type: "address"
|
|
2195
2954
|
}
|
|
2196
2955
|
]
|
|
2197
2956
|
},
|
|
@@ -2225,7 +2984,7 @@ var commentsABI = [
|
|
|
2225
2984
|
]
|
|
2226
2985
|
},
|
|
2227
2986
|
{ name: "sparker", internalType: "address", type: "address" },
|
|
2228
|
-
{ name: "sparksQuantity", internalType: "
|
|
2987
|
+
{ name: "sparksQuantity", internalType: "uint256", type: "uint256" },
|
|
2229
2988
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2230
2989
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2231
2990
|
{ name: "referrer", internalType: "address", type: "address" },
|
|
@@ -2293,7 +3052,7 @@ var commentsABI = [
|
|
|
2293
3052
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
2294
3053
|
]
|
|
2295
3054
|
},
|
|
2296
|
-
{ name: "sparksQuantity", internalType: "
|
|
3055
|
+
{ name: "sparksQuantity", internalType: "uint256", type: "uint256" },
|
|
2297
3056
|
{ name: "referrer", internalType: "address", type: "address" }
|
|
2298
3057
|
],
|
|
2299
3058
|
name: "sparkComment",
|
|
@@ -2334,7 +3093,7 @@ var commentsABI = [
|
|
|
2334
3093
|
indexed: true
|
|
2335
3094
|
},
|
|
2336
3095
|
{
|
|
2337
|
-
name: "
|
|
3096
|
+
name: "commentIdentifier",
|
|
2338
3097
|
internalType: "struct IComments.CommentIdentifier",
|
|
2339
3098
|
type: "tuple",
|
|
2340
3099
|
components: [
|
|
@@ -2372,7 +3131,7 @@ var commentsABI = [
|
|
|
2372
3131
|
indexed: true
|
|
2373
3132
|
},
|
|
2374
3133
|
{
|
|
2375
|
-
name: "
|
|
3134
|
+
name: "commentIdentifier",
|
|
2376
3135
|
internalType: "struct IComments.CommentIdentifier",
|
|
2377
3136
|
type: "tuple",
|
|
2378
3137
|
components: [
|
|
@@ -2403,8 +3162,8 @@ var commentsABI = [
|
|
|
2403
3162
|
},
|
|
2404
3163
|
{
|
|
2405
3164
|
name: "sparksQuantity",
|
|
2406
|
-
internalType: "
|
|
2407
|
-
type: "
|
|
3165
|
+
internalType: "uint256",
|
|
3166
|
+
type: "uint256",
|
|
2408
3167
|
indexed: false
|
|
2409
3168
|
},
|
|
2410
3169
|
{ name: "text", internalType: "string", type: "string", indexed: false },
|
|
@@ -2521,8 +3280,8 @@ var commentsABI = [
|
|
|
2521
3280
|
},
|
|
2522
3281
|
{
|
|
2523
3282
|
name: "sparksQuantity",
|
|
2524
|
-
internalType: "
|
|
2525
|
-
type: "
|
|
3283
|
+
internalType: "uint256",
|
|
3284
|
+
type: "uint256",
|
|
2526
3285
|
indexed: false
|
|
2527
3286
|
},
|
|
2528
3287
|
{
|
|
@@ -2536,6 +3295,12 @@ var commentsABI = [
|
|
|
2536
3295
|
internalType: "uint256",
|
|
2537
3296
|
type: "uint256",
|
|
2538
3297
|
indexed: false
|
|
3298
|
+
},
|
|
3299
|
+
{
|
|
3300
|
+
name: "referrer",
|
|
3301
|
+
internalType: "address",
|
|
3302
|
+
type: "address",
|
|
3303
|
+
indexed: false
|
|
2539
3304
|
}
|
|
2540
3305
|
],
|
|
2541
3306
|
name: "SparkedComment"
|
|
@@ -2567,6 +3332,7 @@ var commentsABI = [
|
|
|
2567
3332
|
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2568
3333
|
name: "AddressEmptyCode"
|
|
2569
3334
|
},
|
|
3335
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
2570
3336
|
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
2571
3337
|
{ type: "error", inputs: [], name: "CannotSparkOwnComment" },
|
|
2572
3338
|
{
|
|
@@ -2631,7 +3397,7 @@ var commentsABI = [
|
|
|
2631
3397
|
type: "error",
|
|
2632
3398
|
inputs: [
|
|
2633
3399
|
{ name: "account", internalType: "address", type: "address" },
|
|
2634
|
-
{ name: "currentNonce", internalType: "
|
|
3400
|
+
{ name: "currentNonce", internalType: "bytes32", type: "bytes32" }
|
|
2635
3401
|
],
|
|
2636
3402
|
name: "InvalidAccountNonce"
|
|
2637
3403
|
},
|
|
@@ -2661,7 +3427,7 @@ var commentsABI = [
|
|
|
2661
3427
|
}
|
|
2662
3428
|
];
|
|
2663
3429
|
var commentsAddress = {
|
|
2664
|
-
7777777: "
|
|
3430
|
+
7777777: "0x7777777C2B3132e03a65721a41745C07170a5877",
|
|
2665
3431
|
999999999: "0x7777777C2B3132e03a65721a41745C07170a5877"
|
|
2666
3432
|
};
|
|
2667
3433
|
var commentsConfig = {
|
|
@@ -6487,7 +7253,6 @@ var zoraCreator1155FactoryImplABI = [
|
|
|
6487
7253
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
6488
7254
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
6489
7255
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
6490
|
-
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
6491
7256
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
6492
7257
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
6493
7258
|
{
|
|
@@ -7909,7 +8674,6 @@ var zoraCreator1155ImplABI = [
|
|
|
7909
8674
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
7910
8675
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
7911
8676
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
7912
|
-
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
7913
8677
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
7914
8678
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
7915
8679
|
{
|
|
@@ -12417,17 +13181,7 @@ var zoraSparksManagerImplConfig = {
|
|
|
12417
13181
|
abi: zoraSparksManagerImplABI
|
|
12418
13182
|
};
|
|
12419
13183
|
var zoraTimedSaleStrategyABI = [
|
|
12420
|
-
{
|
|
12421
|
-
stateMutability: "nonpayable",
|
|
12422
|
-
type: "constructor",
|
|
12423
|
-
inputs: [
|
|
12424
|
-
{
|
|
12425
|
-
name: "_comments",
|
|
12426
|
-
internalType: "contract IComments",
|
|
12427
|
-
type: "address"
|
|
12428
|
-
}
|
|
12429
|
-
]
|
|
12430
|
-
},
|
|
13184
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
12431
13185
|
{
|
|
12432
13186
|
stateMutability: "view",
|
|
12433
13187
|
type: "function",
|
|
@@ -12476,15 +13230,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
12476
13230
|
}
|
|
12477
13231
|
]
|
|
12478
13232
|
},
|
|
12479
|
-
{
|
|
12480
|
-
stateMutability: "view",
|
|
12481
|
-
type: "function",
|
|
12482
|
-
inputs: [],
|
|
12483
|
-
name: "comments",
|
|
12484
|
-
outputs: [
|
|
12485
|
-
{ name: "", internalType: "contract IComments", type: "address" }
|
|
12486
|
-
]
|
|
12487
|
-
},
|
|
12488
13233
|
{
|
|
12489
13234
|
stateMutability: "pure",
|
|
12490
13235
|
type: "function",
|
|
@@ -12554,13 +13299,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
12554
13299
|
{ name: "createReferral", internalType: "address", type: "address" }
|
|
12555
13300
|
]
|
|
12556
13301
|
},
|
|
12557
|
-
{
|
|
12558
|
-
stateMutability: "view",
|
|
12559
|
-
type: "function",
|
|
12560
|
-
inputs: [],
|
|
12561
|
-
name: "implementation",
|
|
12562
|
-
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
12563
|
-
},
|
|
12564
13302
|
{
|
|
12565
13303
|
stateMutability: "nonpayable",
|
|
12566
13304
|
type: "function",
|
|
@@ -12918,43 +13656,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
12918
13656
|
],
|
|
12919
13657
|
name: "MintComment"
|
|
12920
13658
|
},
|
|
12921
|
-
{
|
|
12922
|
-
type: "event",
|
|
12923
|
-
anonymous: false,
|
|
12924
|
-
inputs: [
|
|
12925
|
-
{
|
|
12926
|
-
name: "commentId",
|
|
12927
|
-
internalType: "bytes32",
|
|
12928
|
-
type: "bytes32",
|
|
12929
|
-
indexed: true
|
|
12930
|
-
},
|
|
12931
|
-
{
|
|
12932
|
-
name: "commentIdentifier",
|
|
12933
|
-
internalType: "struct IComments.CommentIdentifier",
|
|
12934
|
-
type: "tuple",
|
|
12935
|
-
components: [
|
|
12936
|
-
{ name: "commenter", internalType: "address", type: "address" },
|
|
12937
|
-
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
12938
|
-
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
12939
|
-
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
12940
|
-
],
|
|
12941
|
-
indexed: false
|
|
12942
|
-
},
|
|
12943
|
-
{
|
|
12944
|
-
name: "mintQuantity",
|
|
12945
|
-
internalType: "uint256",
|
|
12946
|
-
type: "uint256",
|
|
12947
|
-
indexed: false
|
|
12948
|
-
},
|
|
12949
|
-
{
|
|
12950
|
-
name: "comment",
|
|
12951
|
-
internalType: "string",
|
|
12952
|
-
type: "string",
|
|
12953
|
-
indexed: false
|
|
12954
|
-
}
|
|
12955
|
-
],
|
|
12956
|
-
name: "MintedAndCommented"
|
|
12957
|
-
},
|
|
12958
13659
|
{
|
|
12959
13660
|
type: "event",
|
|
12960
13661
|
anonymous: false,
|
|
@@ -13231,7 +13932,6 @@ var zoraTimedSaleStrategyABI = [
|
|
|
13231
13932
|
{ type: "error", inputs: [], name: "MarketMinimumNotReached" },
|
|
13232
13933
|
{ type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
|
|
13233
13934
|
{ type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
|
|
13234
|
-
{ type: "error", inputs: [], name: "NoCodeAtAddress" },
|
|
13235
13935
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
13236
13936
|
{ type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
|
|
13237
13937
|
{
|
|
@@ -13285,8 +13985,20 @@ var zoraTimedSaleStrategyConfig = {
|
|
|
13285
13985
|
abi: zoraTimedSaleStrategyABI
|
|
13286
13986
|
};
|
|
13287
13987
|
|
|
13288
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
13988
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/unit.js
|
|
13989
|
+
init_base();
|
|
13990
|
+
var InvalidDecimalNumberError = class extends BaseError {
|
|
13991
|
+
constructor({ value }) {
|
|
13992
|
+
super(`Number \`${value}\` is not a valid decimal number.`, {
|
|
13993
|
+
name: "InvalidDecimalNumberError"
|
|
13994
|
+
});
|
|
13995
|
+
}
|
|
13996
|
+
};
|
|
13997
|
+
|
|
13998
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseUnits.js
|
|
13289
13999
|
function parseUnits(value, decimals) {
|
|
14000
|
+
if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
|
|
14001
|
+
throw new InvalidDecimalNumberError({ value });
|
|
13290
14002
|
let [integer, fraction = "0"] = value.split(".");
|
|
13291
14003
|
const negative = integer.startsWith("-");
|
|
13292
14004
|
if (negative)
|
|
@@ -13318,13 +14030,13 @@ function parseUnits(value, decimals) {
|
|
|
13318
14030
|
return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
|
|
13319
14031
|
}
|
|
13320
14032
|
|
|
13321
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14033
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseEther.js
|
|
13322
14034
|
init_unit();
|
|
13323
14035
|
function parseEther(ether, unit = "wei") {
|
|
13324
14036
|
return parseUnits(ether, etherUnits[unit]);
|
|
13325
14037
|
}
|
|
13326
14038
|
|
|
13327
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
14039
|
+
// ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/index.js
|
|
13328
14040
|
init_encodeAbiParameters();
|
|
13329
14041
|
init_getAbiItem();
|
|
13330
14042
|
init_toHex();
|
|
@@ -13663,7 +14375,7 @@ var permitSparkCommentTypedDataType = {
|
|
|
13663
14375
|
PermitSparkComment: [
|
|
13664
14376
|
{ name: "comment", type: "CommentIdentifier" },
|
|
13665
14377
|
{ name: "sparker", type: "address" },
|
|
13666
|
-
{ name: "sparksQuantity", type: "
|
|
14378
|
+
{ name: "sparksQuantity", type: "uint256" },
|
|
13667
14379
|
{ name: "deadline", type: "uint256" },
|
|
13668
14380
|
{ name: "nonce", type: "bytes32" },
|
|
13669
14381
|
{ name: "referrer", type: "address" },
|
|
@@ -13702,6 +14414,39 @@ var permitSparkCommentTypedDataDefinition = (message, signingAccount) => ({
|
|
|
13702
14414
|
account: signingAccount || message.sparker
|
|
13703
14415
|
});
|
|
13704
14416
|
var sparkValue = () => parseEther("0.000001");
|
|
14417
|
+
var permitTimedSaleMintAndCommentTypedDataType = {
|
|
14418
|
+
PermitTimedSaleMintAndComment: [
|
|
14419
|
+
{ name: "commenter", type: "address" },
|
|
14420
|
+
{ name: "quantity", type: "uint256" },
|
|
14421
|
+
{ name: "collection", type: "address" },
|
|
14422
|
+
{ name: "tokenId", type: "uint256" },
|
|
14423
|
+
{ name: "mintReferral", type: "address" },
|
|
14424
|
+
{ name: "comment", type: "string" },
|
|
14425
|
+
{ name: "deadline", type: "uint256" },
|
|
14426
|
+
{ name: "nonce", type: "bytes32" },
|
|
14427
|
+
{ name: "sourceChainId", type: "uint32" },
|
|
14428
|
+
{ name: "destinationChainId", type: "uint32" }
|
|
14429
|
+
]
|
|
14430
|
+
};
|
|
14431
|
+
var callerAndCommenterDomain = ({
|
|
14432
|
+
signingChainId,
|
|
14433
|
+
destinationChainId
|
|
14434
|
+
}) => ({
|
|
14435
|
+
name: "CallerAndCommenter",
|
|
14436
|
+
version: "1",
|
|
14437
|
+
chainId: signingChainId,
|
|
14438
|
+
verifyingContract: callerAndCommenterAddress[destinationChainId]
|
|
14439
|
+
});
|
|
14440
|
+
var permitTimedSaleMintAndCommentTypedDataDefinition = (message, signingAccount) => ({
|
|
14441
|
+
types: permitTimedSaleMintAndCommentTypedDataType,
|
|
14442
|
+
message,
|
|
14443
|
+
primaryType: "PermitTimedSaleMintAndComment",
|
|
14444
|
+
domain: callerAndCommenterDomain({
|
|
14445
|
+
signingChainId: message.sourceChainId,
|
|
14446
|
+
destinationChainId: message.destinationChainId
|
|
14447
|
+
}),
|
|
14448
|
+
account: signingAccount || message.commenter
|
|
14449
|
+
});
|
|
13705
14450
|
|
|
13706
14451
|
// src/encoding.ts
|
|
13707
14452
|
var safeTransferSwapAbiParameters = [
|
|
@@ -14041,6 +14786,9 @@ var addresses2 = {
|
|
|
14041
14786
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14042
14787
|
0 && (module.exports = {
|
|
14043
14788
|
PremintConfigVersion,
|
|
14789
|
+
callerAndCommenterABI,
|
|
14790
|
+
callerAndCommenterAddress,
|
|
14791
|
+
callerAndCommenterConfig,
|
|
14044
14792
|
commentsABI,
|
|
14045
14793
|
commentsAddress,
|
|
14046
14794
|
commentsConfig,
|
|
@@ -14064,6 +14812,7 @@ var addresses2 = {
|
|
|
14064
14812
|
mintsSafeTransferTypedDataDefinition,
|
|
14065
14813
|
permitCommentTypedDataDefinition,
|
|
14066
14814
|
permitSparkCommentTypedDataDefinition,
|
|
14815
|
+
permitTimedSaleMintAndCommentTypedDataDefinition,
|
|
14067
14816
|
premintTypedDataDefinition,
|
|
14068
14817
|
premintV1TypedDataDefinition,
|
|
14069
14818
|
premintV2TypedDataDefinition,
|