@zoralabs/protocol-deployments 0.6.6-TRENDS.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -20,18 +20,18 @@ var __copyProps = (to, from, except, desc) => {
20
20
  };
21
21
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
22
22
 
23
- // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/regex.js
23
+ // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js
24
24
  function execTyped(regex, string) {
25
25
  const match = regex.exec(string);
26
26
  return match?.groups;
27
27
  }
28
28
  var init_regex = __esm({
29
- "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/regex.js"() {
29
+ "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/regex.js"() {
30
30
  "use strict";
31
31
  }
32
32
  });
33
33
 
34
- // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
34
+ // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
35
35
  function formatAbiParameter(abiParameter) {
36
36
  let type = abiParameter.type;
37
37
  if (tupleRegex.test(abiParameter.type) && "components" in abiParameter) {
@@ -58,14 +58,14 @@ function formatAbiParameter(abiParameter) {
58
58
  }
59
59
  var tupleRegex;
60
60
  var init_formatAbiParameter = __esm({
61
- "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js"() {
61
+ "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js"() {
62
62
  "use strict";
63
63
  init_regex();
64
64
  tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
65
65
  }
66
66
  });
67
67
 
68
- // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
68
+ // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
69
69
  function formatAbiParameters(abiParameters) {
70
70
  let params = "";
71
71
  const length = abiParameters.length;
@@ -78,13 +78,13 @@ function formatAbiParameters(abiParameters) {
78
78
  return params;
79
79
  }
80
80
  var init_formatAbiParameters = __esm({
81
- "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js"() {
81
+ "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js"() {
82
82
  "use strict";
83
83
  init_formatAbiParameter();
84
84
  }
85
85
  });
86
86
 
87
- // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
87
+ // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
88
88
  function formatAbiItem(abiItem) {
89
89
  if (abiItem.type === "function")
90
90
  return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs?.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
@@ -99,21 +99,21 @@ function formatAbiItem(abiItem) {
99
99
  return "receive() external payable";
100
100
  }
101
101
  var init_formatAbiItem = __esm({
102
- "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js"() {
102
+ "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js"() {
103
103
  "use strict";
104
104
  init_formatAbiParameters();
105
105
  }
106
106
  });
107
107
 
108
- // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/exports/index.js
108
+ // ../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/exports/index.js
109
109
  var init_exports = __esm({
110
- "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.8.3_zod@3.24.1/node_modules/abitype/dist/esm/exports/index.js"() {
110
+ "../../node_modules/.pnpm/abitype@1.0.7_typescript@5.9.3_zod@3.25.76/node_modules/abitype/dist/esm/exports/index.js"() {
111
111
  "use strict";
112
112
  init_formatAbiItem();
113
113
  }
114
114
  });
115
115
 
116
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/formatAbiItem.js
116
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js
117
117
  function formatAbiItem2(abiItem, { includeName = false } = {}) {
118
118
  if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
119
119
  throw new InvalidDefinitionTypeError(abiItem.type);
@@ -131,13 +131,13 @@ function formatAbiParam(param, { includeName }) {
131
131
  return param.type + (includeName && param.name ? ` ${param.name}` : "");
132
132
  }
133
133
  var init_formatAbiItem2 = __esm({
134
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
134
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
135
135
  "use strict";
136
136
  init_abi();
137
137
  }
138
138
  });
139
139
 
140
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/isHex.js
140
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js
141
141
  function isHex(value, { strict = true } = {}) {
142
142
  if (!value)
143
143
  return false;
@@ -146,34 +146,34 @@ function isHex(value, { strict = true } = {}) {
146
146
  return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith("0x");
147
147
  }
148
148
  var init_isHex = __esm({
149
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/isHex.js"() {
149
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/isHex.js"() {
150
150
  "use strict";
151
151
  }
152
152
  });
153
153
 
154
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/size.js
154
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js
155
155
  function size(value) {
156
156
  if (isHex(value, { strict: false }))
157
157
  return Math.ceil((value.length - 2) / 2);
158
158
  return value.length;
159
159
  }
160
160
  var init_size = __esm({
161
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/size.js"() {
161
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/size.js"() {
162
162
  "use strict";
163
163
  init_isHex();
164
164
  }
165
165
  });
166
166
 
167
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/version.js
167
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js
168
168
  var version;
169
169
  var init_version = __esm({
170
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/version.js"() {
170
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/version.js"() {
171
171
  "use strict";
172
172
  version = "2.22.12";
173
173
  }
174
174
  });
175
175
 
176
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/base.js
176
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js
177
177
  function walk(err, fn) {
178
178
  if (fn?.(err))
179
179
  return err;
@@ -183,7 +183,7 @@ function walk(err, fn) {
183
183
  }
184
184
  var errorConfig, BaseError;
185
185
  var init_base = __esm({
186
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/base.js"() {
186
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/base.js"() {
187
187
  "use strict";
188
188
  init_version();
189
189
  errorConfig = {
@@ -264,10 +264,10 @@ var init_base = __esm({
264
264
  }
265
265
  });
266
266
 
267
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/abi.js
267
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/abi.js
268
268
  var AbiDecodingDataSizeTooSmallError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiItemAmbiguityError, InvalidAbiEncodingTypeError, InvalidAbiDecodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
269
269
  var init_abi = __esm({
270
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/abi.js"() {
270
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/abi.js"() {
271
271
  "use strict";
272
272
  init_formatAbiItem2();
273
273
  init_size();
@@ -382,10 +382,10 @@ var init_abi = __esm({
382
382
  }
383
383
  });
384
384
 
385
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/data.js
385
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js
386
386
  var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
387
387
  var init_data = __esm({
388
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/data.js"() {
388
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/data.js"() {
389
389
  "use strict";
390
390
  init_base();
391
391
  SliceOffsetOutOfBoundsError = class extends BaseError {
@@ -401,7 +401,7 @@ var init_data = __esm({
401
401
  }
402
402
  });
403
403
 
404
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/pad.js
404
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js
405
405
  function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
406
406
  if (typeof hexOrBytes === "string")
407
407
  return padHex(hexOrBytes, { dir, size: size2 });
@@ -436,16 +436,16 @@ function padBytes(bytes, { dir, size: size2 = 32 } = {}) {
436
436
  return paddedBytes;
437
437
  }
438
438
  var init_pad = __esm({
439
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/pad.js"() {
439
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/pad.js"() {
440
440
  "use strict";
441
441
  init_data();
442
442
  }
443
443
  });
444
444
 
445
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/encoding.js
445
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js
446
446
  var IntegerOutOfRangeError, InvalidBytesBooleanError, SizeOverflowError;
447
447
  var init_encoding = __esm({
448
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/encoding.js"() {
448
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/encoding.js"() {
449
449
  "use strict";
450
450
  init_base();
451
451
  IntegerOutOfRangeError = class extends BaseError {
@@ -468,7 +468,7 @@ var init_encoding = __esm({
468
468
  }
469
469
  });
470
470
 
471
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/trim.js
471
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js
472
472
  function trim(hexOrBytes, { dir = "left" } = {}) {
473
473
  let data = typeof hexOrBytes === "string" ? hexOrBytes.replace("0x", "") : hexOrBytes;
474
474
  let sliceLength = 0;
@@ -487,12 +487,12 @@ function trim(hexOrBytes, { dir = "left" } = {}) {
487
487
  return data;
488
488
  }
489
489
  var init_trim = __esm({
490
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/trim.js"() {
490
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/trim.js"() {
491
491
  "use strict";
492
492
  }
493
493
  });
494
494
 
495
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/fromHex.js
495
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js
496
496
  function assertSize(hexOrBytes, { size: size2 }) {
497
497
  if (size(hexOrBytes) > size2)
498
498
  throw new SizeOverflowError({
@@ -517,14 +517,14 @@ function hexToNumber(hex, opts = {}) {
517
517
  return Number(hexToBigInt(hex, opts));
518
518
  }
519
519
  var init_fromHex = __esm({
520
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
520
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
521
521
  "use strict";
522
522
  init_encoding();
523
523
  init_size();
524
524
  }
525
525
  });
526
526
 
527
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/toHex.js
527
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js
528
528
  function toHex(value, opts = {}) {
529
529
  if (typeof value === "number" || typeof value === "bigint")
530
530
  return numberToHex(value, opts);
@@ -589,7 +589,7 @@ function stringToHex(value_, opts = {}) {
589
589
  }
590
590
  var hexes, encoder;
591
591
  var init_toHex = __esm({
592
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/toHex.js"() {
592
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toHex.js"() {
593
593
  "use strict";
594
594
  init_encoding();
595
595
  init_pad();
@@ -599,7 +599,7 @@ var init_toHex = __esm({
599
599
  }
600
600
  });
601
601
 
602
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/toBytes.js
602
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js
603
603
  function toBytes(value, opts = {}) {
604
604
  if (typeof value === "number" || typeof value === "bigint")
605
605
  return numberToBytes(value, opts);
@@ -662,7 +662,7 @@ function stringToBytes(value, opts = {}) {
662
662
  }
663
663
  var encoder2, charCodeMap;
664
664
  var init_toBytes = __esm({
665
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
665
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
666
666
  "use strict";
667
667
  init_base();
668
668
  init_isHex();
@@ -987,7 +987,7 @@ var init_sha3 = __esm({
987
987
  }
988
988
  });
989
989
 
990
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/keccak256.js
990
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js
991
991
  function keccak256(value, to_) {
992
992
  const to = to_ || "hex";
993
993
  const bytes = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
@@ -996,7 +996,7 @@ function keccak256(value, to_) {
996
996
  return toHex(bytes);
997
997
  }
998
998
  var init_keccak256 = __esm({
999
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/keccak256.js"() {
999
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/keccak256.js"() {
1000
1000
  "use strict";
1001
1001
  init_sha3();
1002
1002
  init_isHex();
@@ -1005,13 +1005,13 @@ var init_keccak256 = __esm({
1005
1005
  }
1006
1006
  });
1007
1007
 
1008
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/hashSignature.js
1008
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js
1009
1009
  function hashSignature(sig) {
1010
1010
  return hash(sig);
1011
1011
  }
1012
1012
  var hash;
1013
1013
  var init_hashSignature = __esm({
1014
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
1014
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
1015
1015
  "use strict";
1016
1016
  init_toBytes();
1017
1017
  init_keccak256();
@@ -1019,7 +1019,7 @@ var init_hashSignature = __esm({
1019
1019
  }
1020
1020
  });
1021
1021
 
1022
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/normalizeSignature.js
1022
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js
1023
1023
  function normalizeSignature(signature) {
1024
1024
  let active = true;
1025
1025
  let current = "";
@@ -1063,16 +1063,16 @@ function normalizeSignature(signature) {
1063
1063
  return result;
1064
1064
  }
1065
1065
  var init_normalizeSignature = __esm({
1066
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
1066
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
1067
1067
  "use strict";
1068
1068
  init_base();
1069
1069
  }
1070
1070
  });
1071
1071
 
1072
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toSignature.js
1072
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js
1073
1073
  var toSignature;
1074
1074
  var init_toSignature = __esm({
1075
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toSignature.js"() {
1075
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignature.js"() {
1076
1076
  "use strict";
1077
1077
  init_exports();
1078
1078
  init_normalizeSignature();
@@ -1087,32 +1087,32 @@ var init_toSignature = __esm({
1087
1087
  }
1088
1088
  });
1089
1089
 
1090
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toSignatureHash.js
1090
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js
1091
1091
  function toSignatureHash(fn) {
1092
1092
  return hashSignature(toSignature(fn));
1093
1093
  }
1094
1094
  var init_toSignatureHash = __esm({
1095
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
1095
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
1096
1096
  "use strict";
1097
1097
  init_hashSignature();
1098
1098
  init_toSignature();
1099
1099
  }
1100
1100
  });
1101
1101
 
1102
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toEventSelector.js
1102
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js
1103
1103
  var toEventSelector;
1104
1104
  var init_toEventSelector = __esm({
1105
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
1105
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
1106
1106
  "use strict";
1107
1107
  init_toSignatureHash();
1108
1108
  toEventSelector = toSignatureHash;
1109
1109
  }
1110
1110
  });
1111
1111
 
1112
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/address.js
1112
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js
1113
1113
  var InvalidAddressError;
1114
1114
  var init_address = __esm({
1115
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/address.js"() {
1115
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/address.js"() {
1116
1116
  "use strict";
1117
1117
  init_base();
1118
1118
  InvalidAddressError = class extends BaseError {
@@ -1129,10 +1129,10 @@ var init_address = __esm({
1129
1129
  }
1130
1130
  });
1131
1131
 
1132
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/lru.js
1132
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js
1133
1133
  var LruMap;
1134
1134
  var init_lru = __esm({
1135
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/lru.js"() {
1135
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/lru.js"() {
1136
1136
  "use strict";
1137
1137
  LruMap = class extends Map {
1138
1138
  constructor(size2) {
@@ -1166,7 +1166,7 @@ var init_lru = __esm({
1166
1166
  }
1167
1167
  });
1168
1168
 
1169
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/address/getAddress.js
1169
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js
1170
1170
  function checksumAddress(address_, chainId) {
1171
1171
  if (checksumAddressCache.has(`${address_}.${chainId}`))
1172
1172
  return checksumAddressCache.get(`${address_}.${chainId}`);
@@ -1187,7 +1187,7 @@ function checksumAddress(address_, chainId) {
1187
1187
  }
1188
1188
  var checksumAddressCache;
1189
1189
  var init_getAddress = __esm({
1190
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/address/getAddress.js"() {
1190
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/getAddress.js"() {
1191
1191
  "use strict";
1192
1192
  init_toBytes();
1193
1193
  init_keccak256();
@@ -1196,7 +1196,7 @@ var init_getAddress = __esm({
1196
1196
  }
1197
1197
  });
1198
1198
 
1199
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/address/isAddress.js
1199
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js
1200
1200
  function isAddress(address, options) {
1201
1201
  const { strict = true } = options ?? {};
1202
1202
  const cacheKey = `${address}.${strict}`;
@@ -1216,7 +1216,7 @@ function isAddress(address, options) {
1216
1216
  }
1217
1217
  var addressRegex, isAddressCache;
1218
1218
  var init_isAddress = __esm({
1219
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/address/isAddress.js"() {
1219
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/address/isAddress.js"() {
1220
1220
  "use strict";
1221
1221
  init_lru();
1222
1222
  init_getAddress();
@@ -1225,7 +1225,7 @@ var init_isAddress = __esm({
1225
1225
  }
1226
1226
  });
1227
1227
 
1228
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/concat.js
1228
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js
1229
1229
  function concat(values) {
1230
1230
  if (typeof values[0] === "string")
1231
1231
  return concatHex(values);
@@ -1248,12 +1248,12 @@ function concatHex(values) {
1248
1248
  return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
1249
1249
  }
1250
1250
  var init_concat = __esm({
1251
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/concat.js"() {
1251
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/concat.js"() {
1252
1252
  "use strict";
1253
1253
  }
1254
1254
  });
1255
1255
 
1256
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/slice.js
1256
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js
1257
1257
  function slice(value, start, end, { strict } = {}) {
1258
1258
  if (isHex(value, { strict: false }))
1259
1259
  return sliceHex(value, start, end, {
@@ -1295,7 +1295,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
1295
1295
  return value;
1296
1296
  }
1297
1297
  var init_slice = __esm({
1298
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/data/slice.js"() {
1298
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/data/slice.js"() {
1299
1299
  "use strict";
1300
1300
  init_data();
1301
1301
  init_isHex();
@@ -1303,16 +1303,16 @@ var init_slice = __esm({
1303
1303
  }
1304
1304
  });
1305
1305
 
1306
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/regex.js
1306
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/regex.js
1307
1307
  var integerRegex;
1308
1308
  var init_regex2 = __esm({
1309
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/regex.js"() {
1309
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/regex.js"() {
1310
1310
  "use strict";
1311
1311
  integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
1312
1312
  }
1313
1313
  });
1314
1314
 
1315
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
1315
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
1316
1316
  function encodeAbiParameters(params, values) {
1317
1317
  if (params.length !== values.length)
1318
1318
  throw new AbiEncodingLengthMismatchError({
@@ -1526,7 +1526,7 @@ function getArrayComponents(type) {
1526
1526
  ) : void 0;
1527
1527
  }
1528
1528
  var init_encodeAbiParameters = __esm({
1529
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
1529
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
1530
1530
  "use strict";
1531
1531
  init_abi();
1532
1532
  init_address();
@@ -1542,10 +1542,10 @@ var init_encodeAbiParameters = __esm({
1542
1542
  }
1543
1543
  });
1544
1544
 
1545
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
1545
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
1546
1546
  var toFunctionSelector;
1547
1547
  var init_toFunctionSelector = __esm({
1548
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
1548
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
1549
1549
  "use strict";
1550
1550
  init_slice();
1551
1551
  init_toSignatureHash();
@@ -1553,7 +1553,7 @@ var init_toFunctionSelector = __esm({
1553
1553
  }
1554
1554
  });
1555
1555
 
1556
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/getAbiItem.js
1556
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js
1557
1557
  function getAbiItem(parameters) {
1558
1558
  const { abi, args = [], name } = parameters;
1559
1559
  const isSelector = isHex(name, { strict: false });
@@ -1665,7 +1665,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
1665
1665
  return;
1666
1666
  }
1667
1667
  var init_getAbiItem = __esm({
1668
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
1668
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
1669
1669
  "use strict";
1670
1670
  init_abi();
1671
1671
  init_isHex();
@@ -1675,10 +1675,10 @@ var init_getAbiItem = __esm({
1675
1675
  }
1676
1676
  });
1677
1677
 
1678
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/cursor.js
1678
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js
1679
1679
  var NegativeOffsetError, PositionOutOfBoundsError, RecursiveReadLimitExceededError;
1680
1680
  var init_cursor = __esm({
1681
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/cursor.js"() {
1681
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/cursor.js"() {
1682
1682
  "use strict";
1683
1683
  init_base();
1684
1684
  NegativeOffsetError = class extends BaseError {
@@ -1701,7 +1701,7 @@ var init_cursor = __esm({
1701
1701
  }
1702
1702
  });
1703
1703
 
1704
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/cursor.js
1704
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js
1705
1705
  function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
1706
1706
  const cursor = Object.create(staticCursor);
1707
1707
  cursor.bytes = bytes;
@@ -1712,7 +1712,7 @@ function createCursor(bytes, { recursiveReadLimit = 8192 } = {}) {
1712
1712
  }
1713
1713
  var staticCursor;
1714
1714
  var init_cursor2 = __esm({
1715
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/cursor.js"() {
1715
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/cursor.js"() {
1716
1716
  "use strict";
1717
1717
  init_cursor();
1718
1718
  staticCursor = {
@@ -1877,7 +1877,7 @@ var init_cursor2 = __esm({
1877
1877
  }
1878
1878
  });
1879
1879
 
1880
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/fromBytes.js
1880
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js
1881
1881
  function bytesToBigInt(bytes, opts = {}) {
1882
1882
  if (typeof opts.size !== "undefined")
1883
1883
  assertSize(bytes, { size: opts.size });
@@ -1909,7 +1909,7 @@ function bytesToString(bytes_, opts = {}) {
1909
1909
  return new TextDecoder().decode(bytes);
1910
1910
  }
1911
1911
  var init_fromBytes = __esm({
1912
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
1912
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/encoding/fromBytes.js"() {
1913
1913
  "use strict";
1914
1914
  init_encoding();
1915
1915
  init_trim();
@@ -1918,7 +1918,7 @@ var init_fromBytes = __esm({
1918
1918
  }
1919
1919
  });
1920
1920
 
1921
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
1921
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js
1922
1922
  function decodeAbiParameters(params, data) {
1923
1923
  const bytes = typeof data === "string" ? hexToBytes(data) : data;
1924
1924
  const cursor = createCursor(bytes);
@@ -2104,7 +2104,7 @@ function hasDynamicChild(param) {
2104
2104
  }
2105
2105
  var sizeOfLength, sizeOfOffset;
2106
2106
  var init_decodeAbiParameters = __esm({
2107
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
2107
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/abi/decodeAbiParameters.js"() {
2108
2108
  "use strict";
2109
2109
  init_abi();
2110
2110
  init_getAddress();
@@ -2121,10 +2121,10 @@ var init_decodeAbiParameters = __esm({
2121
2121
  }
2122
2122
  });
2123
2123
 
2124
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/constants/unit.js
2124
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/unit.js
2125
2125
  var etherUnits;
2126
2126
  var init_unit = __esm({
2127
- "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/constants/unit.js"() {
2127
+ "../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/constants/unit.js"() {
2128
2128
  "use strict";
2129
2129
  etherUnits = {
2130
2130
  gwei: 9,
@@ -2160,6 +2160,18 @@ __export(index_exports, {
2160
2160
  commentsConfig: () => commentsConfig,
2161
2161
  contracts1155: () => __exports,
2162
2162
  decodeBuySupplyWithSwapRouterHookReturn: () => decodeBuySupplyWithSwapRouterHookReturn,
2163
+ devBuySupplyWithSwapRouterHookABI: () => devBuySupplyWithSwapRouterHookABI,
2164
+ devBuySupplyWithSwapRouterHookAddress: () => devBuySupplyWithSwapRouterHookAddress,
2165
+ devBuySupplyWithSwapRouterHookConfig: () => devBuySupplyWithSwapRouterHookConfig,
2166
+ devCoinFactoryABI: () => devCoinFactoryABI,
2167
+ devCoinFactoryAddress: () => devCoinFactoryAddress,
2168
+ devCoinFactoryConfig: () => devCoinFactoryConfig,
2169
+ devZoraLimitOrderBookABI: () => devZoraLimitOrderBookABI,
2170
+ devZoraLimitOrderBookAddress: () => devZoraLimitOrderBookAddress,
2171
+ devZoraLimitOrderBookConfig: () => devZoraLimitOrderBookConfig,
2172
+ devZoraRouterABI: () => devZoraRouterABI,
2173
+ devZoraRouterAddress: () => devZoraRouterAddress,
2174
+ devZoraRouterConfig: () => devZoraRouterConfig,
2163
2175
  emptyCommentIdentifier: () => emptyCommentIdentifier,
2164
2176
  encodeMultiCurvePoolConfig: () => encodeMultiCurvePoolConfig,
2165
2177
  encodePremintConfig: () => encodePremintConfig,
@@ -3672,6 +3684,16 @@ var coinABI = [
3672
3684
  outputs: [{ name: "", internalType: "string", type: "string" }],
3673
3685
  stateMutability: "pure"
3674
3686
  },
3687
+ {
3688
+ type: "function",
3689
+ inputs: [],
3690
+ name: "creationInfo",
3691
+ outputs: [
3692
+ { name: "creationTimestamp", internalType: "uint256", type: "uint256" },
3693
+ { name: "isDeploying", internalType: "bool", type: "bool" }
3694
+ ],
3695
+ stateMutability: "view"
3696
+ },
3675
3697
  {
3676
3698
  type: "function",
3677
3699
  inputs: [],
@@ -4619,7 +4641,6 @@ var coinABI = [
4619
4641
  ],
4620
4642
  name: "InvalidAccountNonce"
4621
4643
  },
4622
- { type: "error", inputs: [], name: "InvalidCurrency" },
4623
4644
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
4624
4645
  { type: "error", inputs: [], name: "InvalidInitialization" },
4625
4646
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -4669,7 +4690,6 @@ var coinFactoryABI = [
4669
4690
  inputs: [
4670
4691
  { name: "coinV4Impl_", internalType: "address", type: "address" },
4671
4692
  { name: "creatorCoinImpl_", internalType: "address", type: "address" },
4672
- { name: "trendCoinImpl_", internalType: "address", type: "address" },
4673
4693
  { name: "hook_", internalType: "address", type: "address" },
4674
4694
  { name: "zoraHookRegistry_", internalType: "address", type: "address" }
4675
4695
  ],
@@ -4842,20 +4862,6 @@ var coinFactoryABI = [
4842
4862
  ],
4843
4863
  stateMutability: "payable"
4844
4864
  },
4845
- {
4846
- type: "function",
4847
- inputs: [
4848
- { name: "symbol", internalType: "string", type: "string" },
4849
- { name: "postDeployHook", internalType: "address", type: "address" },
4850
- { name: "postDeployHookData", internalType: "bytes", type: "bytes" }
4851
- ],
4852
- name: "deployTrendCoin",
4853
- outputs: [
4854
- { name: "coin", internalType: "address", type: "address" },
4855
- { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
4856
- ],
4857
- stateMutability: "payable"
4858
- },
4859
4865
  {
4860
4866
  type: "function",
4861
4867
  inputs: [
@@ -4941,20 +4947,6 @@ var coinFactoryABI = [
4941
4947
  outputs: [],
4942
4948
  stateMutability: "nonpayable"
4943
4949
  },
4944
- {
4945
- type: "function",
4946
- inputs: [{ name: "symbol", internalType: "string", type: "string" }],
4947
- name: "trendCoinAddress",
4948
- outputs: [{ name: "", internalType: "address", type: "address" }],
4949
- stateMutability: "view"
4950
- },
4951
- {
4952
- type: "function",
4953
- inputs: [],
4954
- name: "trendCoinImpl",
4955
- outputs: [{ name: "", internalType: "address", type: "address" }],
4956
- stateMutability: "view"
4957
- },
4958
4950
  {
4959
4951
  type: "function",
4960
4952
  inputs: [
@@ -5090,12 +5082,6 @@ var coinFactoryABI = [
5090
5082
  type: "bytes32",
5091
5083
  indexed: false
5092
5084
  },
5093
- {
5094
- name: "poolConfig",
5095
- internalType: "bytes",
5096
- type: "bytes",
5097
- indexed: false
5098
- },
5099
5085
  {
5100
5086
  name: "version",
5101
5087
  internalType: "string",
@@ -5166,12 +5152,6 @@ var coinFactoryABI = [
5166
5152
  type: "bytes32",
5167
5153
  indexed: false
5168
5154
  },
5169
- {
5170
- name: "poolConfig",
5171
- internalType: "bytes",
5172
- type: "bytes",
5173
- indexed: false
5174
- },
5175
5155
  {
5176
5156
  name: "version",
5177
5157
  internalType: "string",
@@ -5232,62 +5212,6 @@ var coinFactoryABI = [
5232
5212
  ],
5233
5213
  name: "OwnershipTransferred"
5234
5214
  },
5235
- {
5236
- type: "event",
5237
- anonymous: false,
5238
- inputs: [
5239
- {
5240
- name: "caller",
5241
- internalType: "address",
5242
- type: "address",
5243
- indexed: true
5244
- },
5245
- {
5246
- name: "symbol",
5247
- internalType: "string",
5248
- type: "string",
5249
- indexed: false
5250
- },
5251
- {
5252
- name: "coin",
5253
- internalType: "address",
5254
- type: "address",
5255
- indexed: false
5256
- },
5257
- {
5258
- name: "poolKey",
5259
- internalType: "struct PoolKey",
5260
- type: "tuple",
5261
- components: [
5262
- { name: "currency0", internalType: "Currency", type: "address" },
5263
- { name: "currency1", internalType: "Currency", type: "address" },
5264
- { name: "fee", internalType: "uint24", type: "uint24" },
5265
- { name: "tickSpacing", internalType: "int24", type: "int24" },
5266
- { name: "hooks", internalType: "contract IHooks", type: "address" }
5267
- ],
5268
- indexed: false
5269
- },
5270
- {
5271
- name: "poolKeyHash",
5272
- internalType: "bytes32",
5273
- type: "bytes32",
5274
- indexed: false
5275
- },
5276
- {
5277
- name: "poolConfig",
5278
- internalType: "bytes",
5279
- type: "bytes",
5280
- indexed: false
5281
- },
5282
- {
5283
- name: "version",
5284
- internalType: "string",
5285
- type: "string",
5286
- indexed: false
5287
- }
5288
- ],
5289
- name: "TrendCoinCreated"
5290
- },
5291
5215
  {
5292
5216
  type: "event",
5293
5217
  anonymous: false,
@@ -5361,11 +5285,6 @@ var coinFactoryABI = [
5361
5285
  name: "OwnableUnauthorizedAccount"
5362
5286
  },
5363
5287
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
5364
- {
5365
- type: "error",
5366
- inputs: [{ name: "ticker", internalType: "string", type: "string" }],
5367
- name: "TickerAlreadyUsed"
5368
- },
5369
5288
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
5370
5289
  {
5371
5290
  type: "error",
@@ -5487,7 +5406,6 @@ var coinFactoryABI = [
5487
5406
  ],
5488
5407
  name: "InvalidAccountNonce"
5489
5408
  },
5490
- { type: "error", inputs: [], name: "InvalidCurrency" },
5491
5409
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
5492
5410
  { type: "error", inputs: [], name: "InvalidInitialization" },
5493
5411
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -5598,14 +5516,9 @@ var coinFactoryABI = [
5598
5516
  },
5599
5517
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
5600
5518
  { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
5601
- {
5602
- type: "error",
5603
- inputs: [{ name: "authority", internalType: "address", type: "address" }],
5604
- name: "AccessManagedInvalidAuthority"
5605
- },
5606
- { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
5607
5519
  { type: "error", inputs: [], name: "AddressZero" },
5608
5520
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
5521
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
5609
5522
  {
5610
5523
  type: "error",
5611
5524
  inputs: [
@@ -5641,11 +5554,24 @@ var coinFactoryABI = [
5641
5554
  { type: "error", inputs: [], name: "NotPoolManager" },
5642
5555
  { type: "error", inputs: [], name: "OnlyZoraHook" },
5643
5556
  { type: "error", inputs: [], name: "OrderClosed" },
5557
+ { type: "error", inputs: [], name: "OrderFillable" },
5644
5558
  { type: "error", inputs: [], name: "OrderNotMaker" },
5559
+ {
5560
+ type: "error",
5561
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
5562
+ name: "OwnableInvalidOwner"
5563
+ },
5564
+ {
5565
+ type: "error",
5566
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
5567
+ name: "OwnableUnauthorizedAccount"
5568
+ },
5645
5569
  { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
5570
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
5646
5571
  { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
5647
5572
  { type: "error", inputs: [], name: "UnknownCallback" },
5648
5573
  { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
5574
+ { type: "error", inputs: [], name: "WethTransferFailed" },
5649
5575
  { type: "error", inputs: [], name: "ZeroMaker" },
5650
5576
  { type: "error", inputs: [], name: "ZeroOrderSize" },
5651
5577
  { type: "error", inputs: [], name: "ZeroRealizedOrder" }
@@ -5771,6 +5697,16 @@ var coinV4ABI = [
5771
5697
  outputs: [{ name: "", internalType: "string", type: "string" }],
5772
5698
  stateMutability: "pure"
5773
5699
  },
5700
+ {
5701
+ type: "function",
5702
+ inputs: [],
5703
+ name: "creationInfo",
5704
+ outputs: [
5705
+ { name: "creationTimestamp", internalType: "uint256", type: "uint256" },
5706
+ { name: "isDeploying", internalType: "bool", type: "bool" }
5707
+ ],
5708
+ stateMutability: "view"
5709
+ },
5774
5710
  {
5775
5711
  type: "function",
5776
5712
  inputs: [],
@@ -8601,109 +8537,2569 @@ var commentsConfig = {
8601
8537
  address: commentsAddress,
8602
8538
  abi: commentsABI
8603
8539
  };
8604
- var erc20MinterABI = [
8540
+ var devBuySupplyWithSwapRouterHookABI = [
8605
8541
  {
8606
- type: "function",
8607
- inputs: [],
8608
- name: "acceptOwnership",
8609
- outputs: [],
8542
+ type: "constructor",
8543
+ inputs: [
8544
+ {
8545
+ name: "_factory",
8546
+ internalType: "contract IZoraFactory",
8547
+ type: "address"
8548
+ },
8549
+ { name: "_swapRouter", internalType: "address", type: "address" },
8550
+ { name: "_poolManager", internalType: "address", type: "address" }
8551
+ ],
8610
8552
  stateMutability: "nonpayable"
8611
8553
  },
8612
8554
  {
8613
8555
  type: "function",
8614
8556
  inputs: [
8615
- {
8616
- name: "config",
8617
- internalType: "struct IERC20Minter.PremintSalesConfig",
8618
- type: "tuple",
8619
- components: [
8620
- { name: "duration", internalType: "uint64", type: "uint64" },
8621
- {
8622
- name: "maxTokensPerAddress",
8623
- internalType: "uint64",
8624
- type: "uint64"
8625
- },
8626
- { name: "pricePerToken", internalType: "uint256", type: "uint256" },
8627
- { name: "fundsRecipient", internalType: "address", type: "address" },
8628
- { name: "currency", internalType: "address", type: "address" }
8629
- ]
8630
- }
8557
+ { name: "sender", internalType: "address", type: "address" },
8558
+ { name: "coin", internalType: "contract ICoin", type: "address" },
8559
+ { name: "hookData", internalType: "bytes", type: "bytes" }
8631
8560
  ],
8632
- name: "buildSalesConfigForPremint",
8561
+ name: "afterCoinDeploy",
8562
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
8563
+ stateMutability: "payable"
8564
+ },
8565
+ {
8566
+ type: "function",
8567
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
8568
+ name: "decodeV4RouteData",
8633
8569
  outputs: [
8634
8570
  {
8635
- name: "",
8636
- internalType: "struct IERC20Minter.SalesConfig",
8637
- type: "tuple",
8571
+ name: "v4Route",
8572
+ internalType: "struct PoolKey[]",
8573
+ type: "tuple[]",
8638
8574
  components: [
8639
- { name: "saleStart", internalType: "uint64", type: "uint64" },
8640
- { name: "saleEnd", internalType: "uint64", type: "uint64" },
8641
- {
8642
- name: "maxTokensPerAddress",
8643
- internalType: "uint64",
8644
- type: "uint64"
8645
- },
8646
- { name: "pricePerToken", internalType: "uint256", type: "uint256" },
8647
- { name: "fundsRecipient", internalType: "address", type: "address" },
8648
- { name: "currency", internalType: "address", type: "address" }
8575
+ { name: "currency0", internalType: "Currency", type: "address" },
8576
+ { name: "currency1", internalType: "Currency", type: "address" },
8577
+ { name: "fee", internalType: "uint24", type: "uint24" },
8578
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
8579
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
8649
8580
  ]
8650
- }
8581
+ },
8582
+ { name: "startAmount", internalType: "uint256", type: "uint256" }
8651
8583
  ],
8652
- stateMutability: "view"
8653
- },
8654
- {
8655
- type: "function",
8656
- inputs: [],
8657
- name: "cancelOwnershipTransfer",
8658
- outputs: [],
8659
- stateMutability: "nonpayable"
8584
+ stateMutability: "pure"
8660
8585
  },
8661
8586
  {
8662
8587
  type: "function",
8663
- inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
8664
- name: "computePaidMintRewards",
8665
- outputs: [
8588
+ inputs: [
8666
8589
  {
8667
- name: "",
8668
- internalType: "struct IERC20Minter.RewardsSettings",
8590
+ name: "params",
8591
+ internalType: "struct BuySupplyWithV4SwapHook.InitialSupplyParams",
8669
8592
  type: "tuple",
8670
8593
  components: [
8594
+ { name: "buyRecipient", internalType: "address", type: "address" },
8595
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
8671
8596
  {
8672
- name: "createReferralReward",
8673
- internalType: "uint256",
8674
- type: "uint256"
8675
- },
8676
- {
8677
- name: "mintReferralReward",
8678
- internalType: "uint256",
8679
- type: "uint256"
8597
+ name: "v4Route",
8598
+ internalType: "struct PoolKey[]",
8599
+ type: "tuple[]",
8600
+ components: [
8601
+ { name: "currency0", internalType: "Currency", type: "address" },
8602
+ { name: "currency1", internalType: "Currency", type: "address" },
8603
+ { name: "fee", internalType: "uint24", type: "uint24" },
8604
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
8605
+ {
8606
+ name: "hooks",
8607
+ internalType: "contract IHooks",
8608
+ type: "address"
8609
+ }
8610
+ ]
8680
8611
  },
8681
- { name: "zoraReward", internalType: "uint256", type: "uint256" },
8682
- {
8683
- name: "firstMinterReward",
8684
- internalType: "uint256",
8685
- type: "uint256"
8686
- }
8612
+ { name: "inputCurrency", internalType: "address", type: "address" },
8613
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
8614
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
8687
8615
  ]
8688
8616
  }
8689
8617
  ],
8618
+ name: "encodeBuySupplyWithV4SwapHookData",
8619
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
8690
8620
  stateMutability: "pure"
8691
8621
  },
8692
8622
  {
8693
8623
  type: "function",
8694
- inputs: [
8695
- { name: "totalReward", internalType: "uint256", type: "uint256" },
8696
- { name: "rewardPct", internalType: "uint256", type: "uint256" }
8624
+ inputs: [],
8625
+ name: "factory",
8626
+ outputs: [
8627
+ { name: "", internalType: "contract IZoraFactory", type: "address" }
8697
8628
  ],
8698
- name: "computeReward",
8699
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
8700
- stateMutability: "pure"
8701
- },
8702
- {
8703
- type: "function",
8704
- inputs: [{ name: "totalValue", internalType: "uint256", type: "uint256" }],
8705
- name: "computeTotalReward",
8706
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
8629
+ stateMutability: "view"
8630
+ },
8631
+ {
8632
+ type: "function",
8633
+ inputs: [],
8634
+ name: "poolManager",
8635
+ outputs: [
8636
+ { name: "", internalType: "contract IPoolManager", type: "address" }
8637
+ ],
8638
+ stateMutability: "view"
8639
+ },
8640
+ {
8641
+ type: "function",
8642
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
8643
+ name: "supportsInterface",
8644
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
8645
+ stateMutability: "pure"
8646
+ },
8647
+ {
8648
+ type: "function",
8649
+ inputs: [],
8650
+ name: "swapRouter",
8651
+ outputs: [
8652
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
8653
+ ],
8654
+ stateMutability: "view"
8655
+ },
8656
+ {
8657
+ type: "function",
8658
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
8659
+ name: "unlockCallback",
8660
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
8661
+ stateMutability: "nonpayable"
8662
+ },
8663
+ {
8664
+ type: "event",
8665
+ anonymous: false,
8666
+ inputs: [
8667
+ { name: "coin", internalType: "address", type: "address", indexed: true },
8668
+ {
8669
+ name: "recipient",
8670
+ internalType: "address",
8671
+ type: "address",
8672
+ indexed: true
8673
+ },
8674
+ {
8675
+ name: "coinsPurchased",
8676
+ internalType: "uint256",
8677
+ type: "uint256",
8678
+ indexed: true
8679
+ },
8680
+ { name: "v3Route", internalType: "bytes", type: "bytes", indexed: false },
8681
+ {
8682
+ name: "v4Route",
8683
+ internalType: "struct PoolKey[]",
8684
+ type: "tuple[]",
8685
+ components: [
8686
+ { name: "currency0", internalType: "Currency", type: "address" },
8687
+ { name: "currency1", internalType: "Currency", type: "address" },
8688
+ { name: "fee", internalType: "uint24", type: "uint24" },
8689
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
8690
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
8691
+ ],
8692
+ indexed: false
8693
+ },
8694
+ {
8695
+ name: "inputCurrency",
8696
+ internalType: "address",
8697
+ type: "address",
8698
+ indexed: false
8699
+ },
8700
+ {
8701
+ name: "inputAmount",
8702
+ internalType: "uint256",
8703
+ type: "uint256",
8704
+ indexed: false
8705
+ },
8706
+ {
8707
+ name: "v4SwapInput",
8708
+ internalType: "uint256",
8709
+ type: "uint256",
8710
+ indexed: false
8711
+ }
8712
+ ],
8713
+ name: "BuyInitialSupply"
8714
+ },
8715
+ { type: "error", inputs: [], name: "AddressZero" },
8716
+ { type: "error", inputs: [], name: "HookNotImplemented" },
8717
+ {
8718
+ type: "error",
8719
+ inputs: [
8720
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
8721
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
8722
+ ],
8723
+ name: "InsufficientInputCurrency"
8724
+ },
8725
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
8726
+ { type: "error", inputs: [], name: "NotFactory" },
8727
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
8728
+ {
8729
+ type: "error",
8730
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
8731
+ name: "SafeERC20FailedOperation"
8732
+ },
8733
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
8734
+ ];
8735
+ var devBuySupplyWithSwapRouterHookAddress = {};
8736
+ var devBuySupplyWithSwapRouterHookConfig = {
8737
+ address: devBuySupplyWithSwapRouterHookAddress,
8738
+ abi: devBuySupplyWithSwapRouterHookABI
8739
+ };
8740
+ var devCoinFactoryABI = [
8741
+ {
8742
+ type: "constructor",
8743
+ inputs: [
8744
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
8745
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
8746
+ { name: "hook_", internalType: "address", type: "address" },
8747
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
8748
+ ],
8749
+ stateMutability: "nonpayable"
8750
+ },
8751
+ {
8752
+ type: "function",
8753
+ inputs: [],
8754
+ name: "UPGRADE_INTERFACE_VERSION",
8755
+ outputs: [{ name: "", internalType: "string", type: "string" }],
8756
+ stateMutability: "view"
8757
+ },
8758
+ {
8759
+ type: "function",
8760
+ inputs: [],
8761
+ name: "acceptOwnership",
8762
+ outputs: [],
8763
+ stateMutability: "nonpayable"
8764
+ },
8765
+ {
8766
+ type: "function",
8767
+ inputs: [
8768
+ { name: "msgSender", internalType: "address", type: "address" },
8769
+ { name: "name", internalType: "string", type: "string" },
8770
+ { name: "symbol", internalType: "string", type: "string" },
8771
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
8772
+ { name: "platformReferrer", internalType: "address", type: "address" },
8773
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
8774
+ ],
8775
+ name: "coinAddress",
8776
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8777
+ stateMutability: "view"
8778
+ },
8779
+ {
8780
+ type: "function",
8781
+ inputs: [],
8782
+ name: "coinV4Impl",
8783
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8784
+ stateMutability: "view"
8785
+ },
8786
+ {
8787
+ type: "function",
8788
+ inputs: [],
8789
+ name: "contentCoinHook",
8790
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8791
+ stateMutability: "view"
8792
+ },
8793
+ {
8794
+ type: "function",
8795
+ inputs: [],
8796
+ name: "contractName",
8797
+ outputs: [{ name: "", internalType: "string", type: "string" }],
8798
+ stateMutability: "pure"
8799
+ },
8800
+ {
8801
+ type: "function",
8802
+ inputs: [],
8803
+ name: "contractVersion",
8804
+ outputs: [{ name: "", internalType: "string", type: "string" }],
8805
+ stateMutability: "pure"
8806
+ },
8807
+ {
8808
+ type: "function",
8809
+ inputs: [],
8810
+ name: "creatorCoinHook",
8811
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8812
+ stateMutability: "view"
8813
+ },
8814
+ {
8815
+ type: "function",
8816
+ inputs: [],
8817
+ name: "creatorCoinImpl",
8818
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8819
+ stateMutability: "view"
8820
+ },
8821
+ {
8822
+ type: "function",
8823
+ inputs: [
8824
+ { name: "payoutRecipient", internalType: "address", type: "address" },
8825
+ { name: "owners", internalType: "address[]", type: "address[]" },
8826
+ { name: "uri", internalType: "string", type: "string" },
8827
+ { name: "name", internalType: "string", type: "string" },
8828
+ { name: "symbol", internalType: "string", type: "string" },
8829
+ { name: "platformReferrer", internalType: "address", type: "address" },
8830
+ { name: "currency", internalType: "address", type: "address" },
8831
+ { name: "", internalType: "int24", type: "int24" },
8832
+ { name: "", internalType: "uint256", type: "uint256" }
8833
+ ],
8834
+ name: "deploy",
8835
+ outputs: [
8836
+ { name: "", internalType: "address", type: "address" },
8837
+ { name: "", internalType: "uint256", type: "uint256" }
8838
+ ],
8839
+ stateMutability: "payable"
8840
+ },
8841
+ {
8842
+ type: "function",
8843
+ inputs: [
8844
+ { name: "payoutRecipient", internalType: "address", type: "address" },
8845
+ { name: "owners", internalType: "address[]", type: "address[]" },
8846
+ { name: "uri", internalType: "string", type: "string" },
8847
+ { name: "name", internalType: "string", type: "string" },
8848
+ { name: "symbol", internalType: "string", type: "string" },
8849
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
8850
+ { name: "platformReferrer", internalType: "address", type: "address" },
8851
+ { name: "postDeployHook", internalType: "address", type: "address" },
8852
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
8853
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
8854
+ ],
8855
+ name: "deploy",
8856
+ outputs: [
8857
+ { name: "coin", internalType: "address", type: "address" },
8858
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
8859
+ ],
8860
+ stateMutability: "payable"
8861
+ },
8862
+ {
8863
+ type: "function",
8864
+ inputs: [
8865
+ { name: "payoutRecipient", internalType: "address", type: "address" },
8866
+ { name: "owners", internalType: "address[]", type: "address[]" },
8867
+ { name: "uri", internalType: "string", type: "string" },
8868
+ { name: "name", internalType: "string", type: "string" },
8869
+ { name: "symbol", internalType: "string", type: "string" },
8870
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
8871
+ { name: "platformReferrer", internalType: "address", type: "address" },
8872
+ { name: "", internalType: "uint256", type: "uint256" }
8873
+ ],
8874
+ name: "deploy",
8875
+ outputs: [
8876
+ { name: "", internalType: "address", type: "address" },
8877
+ { name: "", internalType: "uint256", type: "uint256" }
8878
+ ],
8879
+ stateMutability: "payable"
8880
+ },
8881
+ {
8882
+ type: "function",
8883
+ inputs: [
8884
+ { name: "payoutRecipient", internalType: "address", type: "address" },
8885
+ { name: "owners", internalType: "address[]", type: "address[]" },
8886
+ { name: "uri", internalType: "string", type: "string" },
8887
+ { name: "name", internalType: "string", type: "string" },
8888
+ { name: "symbol", internalType: "string", type: "string" },
8889
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
8890
+ { name: "platformReferrer", internalType: "address", type: "address" },
8891
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
8892
+ ],
8893
+ name: "deployCreatorCoin",
8894
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8895
+ stateMutability: "nonpayable"
8896
+ },
8897
+ {
8898
+ type: "function",
8899
+ inputs: [
8900
+ { name: "payoutRecipient", internalType: "address", type: "address" },
8901
+ { name: "owners", internalType: "address[]", type: "address[]" },
8902
+ { name: "uri", internalType: "string", type: "string" },
8903
+ { name: "name", internalType: "string", type: "string" },
8904
+ { name: "symbol", internalType: "string", type: "string" },
8905
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
8906
+ { name: "platformReferrer", internalType: "address", type: "address" },
8907
+ { name: "postDeployHook", internalType: "address", type: "address" },
8908
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
8909
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
8910
+ ],
8911
+ name: "deployCreatorCoin",
8912
+ outputs: [
8913
+ { name: "coin", internalType: "address", type: "address" },
8914
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
8915
+ ],
8916
+ stateMutability: "payable"
8917
+ },
8918
+ {
8919
+ type: "function",
8920
+ inputs: [
8921
+ { name: "payoutRecipient", internalType: "address", type: "address" },
8922
+ { name: "owners", internalType: "address[]", type: "address[]" },
8923
+ { name: "uri", internalType: "string", type: "string" },
8924
+ { name: "name", internalType: "string", type: "string" },
8925
+ { name: "symbol", internalType: "string", type: "string" },
8926
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
8927
+ { name: "platformReferrer", internalType: "address", type: "address" },
8928
+ { name: "deployHook", internalType: "address", type: "address" },
8929
+ { name: "hookData", internalType: "bytes", type: "bytes" }
8930
+ ],
8931
+ name: "deployWithHook",
8932
+ outputs: [
8933
+ { name: "coin", internalType: "address", type: "address" },
8934
+ { name: "hookDataOut", internalType: "bytes", type: "bytes" }
8935
+ ],
8936
+ stateMutability: "payable"
8937
+ },
8938
+ {
8939
+ type: "function",
8940
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
8941
+ name: "getVersionForDeployedCoin",
8942
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
8943
+ stateMutability: "view"
8944
+ },
8945
+ {
8946
+ type: "function",
8947
+ inputs: [],
8948
+ name: "hook",
8949
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8950
+ stateMutability: "view"
8951
+ },
8952
+ {
8953
+ type: "function",
8954
+ inputs: [],
8955
+ name: "implementation",
8956
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8957
+ stateMutability: "view"
8958
+ },
8959
+ {
8960
+ type: "function",
8961
+ inputs: [
8962
+ { name: "initialOwner", internalType: "address", type: "address" }
8963
+ ],
8964
+ name: "initialize",
8965
+ outputs: [],
8966
+ stateMutability: "nonpayable"
8967
+ },
8968
+ {
8969
+ type: "function",
8970
+ inputs: [],
8971
+ name: "owner",
8972
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8973
+ stateMutability: "view"
8974
+ },
8975
+ {
8976
+ type: "function",
8977
+ inputs: [],
8978
+ name: "pendingOwner",
8979
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8980
+ stateMutability: "view"
8981
+ },
8982
+ {
8983
+ type: "function",
8984
+ inputs: [],
8985
+ name: "proxiableUUID",
8986
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
8987
+ stateMutability: "view"
8988
+ },
8989
+ {
8990
+ type: "function",
8991
+ inputs: [],
8992
+ name: "renounceOwnership",
8993
+ outputs: [],
8994
+ stateMutability: "nonpayable"
8995
+ },
8996
+ {
8997
+ type: "function",
8998
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
8999
+ name: "transferOwnership",
9000
+ outputs: [],
9001
+ stateMutability: "nonpayable"
9002
+ },
9003
+ {
9004
+ type: "function",
9005
+ inputs: [
9006
+ { name: "newImplementation", internalType: "address", type: "address" },
9007
+ { name: "data", internalType: "bytes", type: "bytes" }
9008
+ ],
9009
+ name: "upgradeToAndCall",
9010
+ outputs: [],
9011
+ stateMutability: "payable"
9012
+ },
9013
+ {
9014
+ type: "function",
9015
+ inputs: [],
9016
+ name: "zoraHookRegistry",
9017
+ outputs: [{ name: "", internalType: "address", type: "address" }],
9018
+ stateMutability: "view"
9019
+ },
9020
+ {
9021
+ type: "event",
9022
+ anonymous: false,
9023
+ inputs: [
9024
+ {
9025
+ name: "caller",
9026
+ internalType: "address",
9027
+ type: "address",
9028
+ indexed: true
9029
+ },
9030
+ {
9031
+ name: "payoutRecipient",
9032
+ internalType: "address",
9033
+ type: "address",
9034
+ indexed: true
9035
+ },
9036
+ {
9037
+ name: "platformReferrer",
9038
+ internalType: "address",
9039
+ type: "address",
9040
+ indexed: true
9041
+ },
9042
+ {
9043
+ name: "currency",
9044
+ internalType: "address",
9045
+ type: "address",
9046
+ indexed: false
9047
+ },
9048
+ { name: "uri", internalType: "string", type: "string", indexed: false },
9049
+ { name: "name", internalType: "string", type: "string", indexed: false },
9050
+ {
9051
+ name: "symbol",
9052
+ internalType: "string",
9053
+ type: "string",
9054
+ indexed: false
9055
+ },
9056
+ {
9057
+ name: "coin",
9058
+ internalType: "address",
9059
+ type: "address",
9060
+ indexed: false
9061
+ },
9062
+ {
9063
+ name: "pool",
9064
+ internalType: "address",
9065
+ type: "address",
9066
+ indexed: false
9067
+ },
9068
+ {
9069
+ name: "version",
9070
+ internalType: "string",
9071
+ type: "string",
9072
+ indexed: false
9073
+ }
9074
+ ],
9075
+ name: "CoinCreated"
9076
+ },
9077
+ {
9078
+ type: "event",
9079
+ anonymous: false,
9080
+ inputs: [
9081
+ {
9082
+ name: "caller",
9083
+ internalType: "address",
9084
+ type: "address",
9085
+ indexed: true
9086
+ },
9087
+ {
9088
+ name: "payoutRecipient",
9089
+ internalType: "address",
9090
+ type: "address",
9091
+ indexed: true
9092
+ },
9093
+ {
9094
+ name: "platformReferrer",
9095
+ internalType: "address",
9096
+ type: "address",
9097
+ indexed: true
9098
+ },
9099
+ {
9100
+ name: "currency",
9101
+ internalType: "address",
9102
+ type: "address",
9103
+ indexed: false
9104
+ },
9105
+ { name: "uri", internalType: "string", type: "string", indexed: false },
9106
+ { name: "name", internalType: "string", type: "string", indexed: false },
9107
+ {
9108
+ name: "symbol",
9109
+ internalType: "string",
9110
+ type: "string",
9111
+ indexed: false
9112
+ },
9113
+ {
9114
+ name: "coin",
9115
+ internalType: "address",
9116
+ type: "address",
9117
+ indexed: false
9118
+ },
9119
+ {
9120
+ name: "poolKey",
9121
+ internalType: "struct PoolKey",
9122
+ type: "tuple",
9123
+ components: [
9124
+ { name: "currency0", internalType: "Currency", type: "address" },
9125
+ { name: "currency1", internalType: "Currency", type: "address" },
9126
+ { name: "fee", internalType: "uint24", type: "uint24" },
9127
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
9128
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
9129
+ ],
9130
+ indexed: false
9131
+ },
9132
+ {
9133
+ name: "poolKeyHash",
9134
+ internalType: "bytes32",
9135
+ type: "bytes32",
9136
+ indexed: false
9137
+ },
9138
+ {
9139
+ name: "version",
9140
+ internalType: "string",
9141
+ type: "string",
9142
+ indexed: false
9143
+ }
9144
+ ],
9145
+ name: "CoinCreatedV4"
9146
+ },
9147
+ {
9148
+ type: "event",
9149
+ anonymous: false,
9150
+ inputs: [
9151
+ {
9152
+ name: "caller",
9153
+ internalType: "address",
9154
+ type: "address",
9155
+ indexed: true
9156
+ },
9157
+ {
9158
+ name: "payoutRecipient",
9159
+ internalType: "address",
9160
+ type: "address",
9161
+ indexed: true
9162
+ },
9163
+ {
9164
+ name: "platformReferrer",
9165
+ internalType: "address",
9166
+ type: "address",
9167
+ indexed: true
9168
+ },
9169
+ {
9170
+ name: "currency",
9171
+ internalType: "address",
9172
+ type: "address",
9173
+ indexed: false
9174
+ },
9175
+ { name: "uri", internalType: "string", type: "string", indexed: false },
9176
+ { name: "name", internalType: "string", type: "string", indexed: false },
9177
+ {
9178
+ name: "symbol",
9179
+ internalType: "string",
9180
+ type: "string",
9181
+ indexed: false
9182
+ },
9183
+ {
9184
+ name: "coin",
9185
+ internalType: "address",
9186
+ type: "address",
9187
+ indexed: false
9188
+ },
9189
+ {
9190
+ name: "poolKey",
9191
+ internalType: "struct PoolKey",
9192
+ type: "tuple",
9193
+ components: [
9194
+ { name: "currency0", internalType: "Currency", type: "address" },
9195
+ { name: "currency1", internalType: "Currency", type: "address" },
9196
+ { name: "fee", internalType: "uint24", type: "uint24" },
9197
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
9198
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
9199
+ ],
9200
+ indexed: false
9201
+ },
9202
+ {
9203
+ name: "poolKeyHash",
9204
+ internalType: "bytes32",
9205
+ type: "bytes32",
9206
+ indexed: false
9207
+ },
9208
+ {
9209
+ name: "version",
9210
+ internalType: "string",
9211
+ type: "string",
9212
+ indexed: false
9213
+ }
9214
+ ],
9215
+ name: "CreatorCoinCreated"
9216
+ },
9217
+ {
9218
+ type: "event",
9219
+ anonymous: false,
9220
+ inputs: [
9221
+ {
9222
+ name: "version",
9223
+ internalType: "uint64",
9224
+ type: "uint64",
9225
+ indexed: false
9226
+ }
9227
+ ],
9228
+ name: "Initialized"
9229
+ },
9230
+ {
9231
+ type: "event",
9232
+ anonymous: false,
9233
+ inputs: [
9234
+ {
9235
+ name: "previousOwner",
9236
+ internalType: "address",
9237
+ type: "address",
9238
+ indexed: true
9239
+ },
9240
+ {
9241
+ name: "newOwner",
9242
+ internalType: "address",
9243
+ type: "address",
9244
+ indexed: true
9245
+ }
9246
+ ],
9247
+ name: "OwnershipTransferStarted"
9248
+ },
9249
+ {
9250
+ type: "event",
9251
+ anonymous: false,
9252
+ inputs: [
9253
+ {
9254
+ name: "previousOwner",
9255
+ internalType: "address",
9256
+ type: "address",
9257
+ indexed: true
9258
+ },
9259
+ {
9260
+ name: "newOwner",
9261
+ internalType: "address",
9262
+ type: "address",
9263
+ indexed: true
9264
+ }
9265
+ ],
9266
+ name: "OwnershipTransferred"
9267
+ },
9268
+ {
9269
+ type: "event",
9270
+ anonymous: false,
9271
+ inputs: [
9272
+ {
9273
+ name: "implementation",
9274
+ internalType: "address",
9275
+ type: "address",
9276
+ indexed: true
9277
+ }
9278
+ ],
9279
+ name: "Upgraded"
9280
+ },
9281
+ {
9282
+ type: "error",
9283
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
9284
+ name: "AddressEmptyCode"
9285
+ },
9286
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
9287
+ { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
9288
+ { type: "error", inputs: [], name: "Deprecated" },
9289
+ {
9290
+ type: "error",
9291
+ inputs: [
9292
+ { name: "implementation", internalType: "address", type: "address" }
9293
+ ],
9294
+ name: "ERC1967InvalidImplementation"
9295
+ },
9296
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
9297
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
9298
+ { type: "error", inputs: [], name: "FailedCall" },
9299
+ { type: "error", inputs: [], name: "FailedDeployment" },
9300
+ {
9301
+ type: "error",
9302
+ inputs: [
9303
+ { name: "balance", internalType: "uint256", type: "uint256" },
9304
+ { name: "needed", internalType: "uint256", type: "uint256" }
9305
+ ],
9306
+ name: "InsufficientBalance"
9307
+ },
9308
+ { type: "error", inputs: [], name: "InvalidConfig" },
9309
+ { type: "error", inputs: [], name: "InvalidHook" },
9310
+ { type: "error", inputs: [], name: "InvalidInitialization" },
9311
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
9312
+ {
9313
+ type: "error",
9314
+ inputs: [
9315
+ { name: "tickLower", internalType: "int24", type: "int24" },
9316
+ { name: "tickUpper", internalType: "int24", type: "int24" }
9317
+ ],
9318
+ name: "InvalidTickRangeMisordered"
9319
+ },
9320
+ {
9321
+ type: "error",
9322
+ inputs: [
9323
+ { name: "value", internalType: "uint256", type: "uint256" },
9324
+ { name: "limit", internalType: "uint256", type: "uint256" }
9325
+ ],
9326
+ name: "MaxShareToBeSoldExceeded"
9327
+ },
9328
+ { type: "error", inputs: [], name: "NotInitializing" },
9329
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
9330
+ {
9331
+ type: "error",
9332
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
9333
+ name: "OwnableInvalidOwner"
9334
+ },
9335
+ {
9336
+ type: "error",
9337
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
9338
+ name: "OwnableUnauthorizedAccount"
9339
+ },
9340
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
9341
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
9342
+ {
9343
+ type: "error",
9344
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
9345
+ name: "UUPSUnsupportedProxiableUUID"
9346
+ },
9347
+ {
9348
+ type: "error",
9349
+ inputs: [
9350
+ { name: "currentName", internalType: "string", type: "string" },
9351
+ { name: "newName", internalType: "string", type: "string" }
9352
+ ],
9353
+ name: "UpgradeToMismatchedContractName"
9354
+ },
9355
+ { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
9356
+ { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
9357
+ { type: "error", inputs: [], name: "AddressZero" },
9358
+ { type: "error", inputs: [], name: "HookNotImplemented" },
9359
+ {
9360
+ type: "error",
9361
+ inputs: [
9362
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
9363
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
9364
+ ],
9365
+ name: "InsufficientInputCurrency"
9366
+ },
9367
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
9368
+ { type: "error", inputs: [], name: "NotFactory" },
9369
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
9370
+ {
9371
+ type: "error",
9372
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
9373
+ name: "SafeERC20FailedOperation"
9374
+ },
9375
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
9376
+ { type: "error", inputs: [], name: "AddressZero" },
9377
+ { type: "error", inputs: [], name: "AlreadyOwner" },
9378
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
9379
+ {
9380
+ type: "error",
9381
+ inputs: [],
9382
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
9383
+ },
9384
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
9385
+ {
9386
+ type: "error",
9387
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
9388
+ name: "ECDSAInvalidSignatureLength"
9389
+ },
9390
+ {
9391
+ type: "error",
9392
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
9393
+ name: "ECDSAInvalidSignatureS"
9394
+ },
9395
+ {
9396
+ type: "error",
9397
+ inputs: [
9398
+ { name: "spender", internalType: "address", type: "address" },
9399
+ { name: "allowance", internalType: "uint256", type: "uint256" },
9400
+ { name: "needed", internalType: "uint256", type: "uint256" }
9401
+ ],
9402
+ name: "ERC20InsufficientAllowance"
9403
+ },
9404
+ {
9405
+ type: "error",
9406
+ inputs: [
9407
+ { name: "sender", internalType: "address", type: "address" },
9408
+ { name: "balance", internalType: "uint256", type: "uint256" },
9409
+ { name: "needed", internalType: "uint256", type: "uint256" }
9410
+ ],
9411
+ name: "ERC20InsufficientBalance"
9412
+ },
9413
+ {
9414
+ type: "error",
9415
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
9416
+ name: "ERC20InvalidApprover"
9417
+ },
9418
+ {
9419
+ type: "error",
9420
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
9421
+ name: "ERC20InvalidReceiver"
9422
+ },
9423
+ {
9424
+ type: "error",
9425
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
9426
+ name: "ERC20InvalidSender"
9427
+ },
9428
+ {
9429
+ type: "error",
9430
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
9431
+ name: "ERC20InvalidSpender"
9432
+ },
9433
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
9434
+ {
9435
+ type: "error",
9436
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
9437
+ name: "ERC2612ExpiredSignature"
9438
+ },
9439
+ {
9440
+ type: "error",
9441
+ inputs: [
9442
+ { name: "signer", internalType: "address", type: "address" },
9443
+ { name: "owner", internalType: "address", type: "address" }
9444
+ ],
9445
+ name: "ERC2612InvalidSigner"
9446
+ },
9447
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
9448
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
9449
+ { type: "error", inputs: [], name: "EthTransferFailed" },
9450
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
9451
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
9452
+ { type: "error", inputs: [], name: "InsufficientFunds" },
9453
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
9454
+ {
9455
+ type: "error",
9456
+ inputs: [
9457
+ { name: "account", internalType: "address", type: "address" },
9458
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
9459
+ ],
9460
+ name: "InvalidAccountNonce"
9461
+ },
9462
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
9463
+ { type: "error", inputs: [], name: "InvalidInitialization" },
9464
+ { type: "error", inputs: [], name: "InvalidMarketType" },
9465
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
9466
+ {
9467
+ type: "error",
9468
+ inputs: [
9469
+ { name: "tickLower", internalType: "int24", type: "int24" },
9470
+ { name: "tickUpper", internalType: "int24", type: "int24" }
9471
+ ],
9472
+ name: "InvalidTickRangeMisordered"
9473
+ },
9474
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
9475
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
9476
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
9477
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
9478
+ {
9479
+ type: "error",
9480
+ inputs: [
9481
+ { name: "value", internalType: "uint256", type: "uint256" },
9482
+ { name: "limit", internalType: "uint256", type: "uint256" }
9483
+ ],
9484
+ name: "MaxShareToBeSoldExceeded"
9485
+ },
9486
+ { type: "error", inputs: [], name: "NameIsRequired" },
9487
+ { type: "error", inputs: [], name: "NotInitializing" },
9488
+ { type: "error", inputs: [], name: "NotOwner" },
9489
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
9490
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
9491
+ { type: "error", inputs: [], name: "OnlyOwner" },
9492
+ {
9493
+ type: "error",
9494
+ inputs: [
9495
+ { name: "sender", internalType: "address", type: "address" },
9496
+ { name: "pool", internalType: "address", type: "address" }
9497
+ ],
9498
+ name: "OnlyPool"
9499
+ },
9500
+ { type: "error", inputs: [], name: "OnlyWeth" },
9501
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
9502
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
9503
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
9504
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
9505
+ { type: "error", inputs: [], name: "EthTransferFailed" },
9506
+ { type: "error", inputs: [], name: "HookNotImplemented" },
9507
+ {
9508
+ type: "error",
9509
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
9510
+ name: "InvalidCallbackId"
9511
+ },
9512
+ {
9513
+ type: "error",
9514
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
9515
+ name: "InvalidNewHook"
9516
+ },
9517
+ {
9518
+ type: "error",
9519
+ inputs: [
9520
+ {
9521
+ name: "key",
9522
+ internalType: "struct PoolKey",
9523
+ type: "tuple",
9524
+ components: [
9525
+ { name: "currency0", internalType: "Currency", type: "address" },
9526
+ { name: "currency1", internalType: "Currency", type: "address" },
9527
+ { name: "fee", internalType: "uint24", type: "uint24" },
9528
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
9529
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
9530
+ ]
9531
+ }
9532
+ ],
9533
+ name: "NoCoinForHook"
9534
+ },
9535
+ {
9536
+ type: "error",
9537
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
9538
+ name: "NotACoin"
9539
+ },
9540
+ { type: "error", inputs: [], name: "NotPoolManager" },
9541
+ {
9542
+ type: "error",
9543
+ inputs: [
9544
+ { name: "caller", internalType: "address", type: "address" },
9545
+ { name: "expectedCoin", internalType: "address", type: "address" }
9546
+ ],
9547
+ name: "OnlyCoin"
9548
+ },
9549
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
9550
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
9551
+ {
9552
+ type: "error",
9553
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
9554
+ name: "SafeERC20FailedOperation"
9555
+ },
9556
+ {
9557
+ type: "error",
9558
+ inputs: [],
9559
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
9560
+ },
9561
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
9562
+ {
9563
+ type: "error",
9564
+ inputs: [
9565
+ { name: "oldHook", internalType: "address", type: "address" },
9566
+ { name: "newHook", internalType: "address", type: "address" }
9567
+ ],
9568
+ name: "UpgradePathNotRegistered"
9569
+ },
9570
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
9571
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
9572
+ { type: "error", inputs: [], name: "AddressZero" },
9573
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
9574
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
9575
+ {
9576
+ type: "error",
9577
+ inputs: [
9578
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
9579
+ { name: "expectedCoin", internalType: "address", type: "address" },
9580
+ { name: "actualCoin", internalType: "address", type: "address" }
9581
+ ],
9582
+ name: "CoinMismatch"
9583
+ },
9584
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
9585
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
9586
+ {
9587
+ type: "error",
9588
+ inputs: [
9589
+ { name: "startTick", internalType: "int24", type: "int24" },
9590
+ { name: "endTick", internalType: "int24", type: "int24" },
9591
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
9592
+ ],
9593
+ name: "InvalidFillWindow"
9594
+ },
9595
+ { type: "error", inputs: [], name: "InvalidOrder" },
9596
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
9597
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
9598
+ {
9599
+ type: "error",
9600
+ inputs: [
9601
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
9602
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
9603
+ ],
9604
+ name: "MinAmountNotReached"
9605
+ },
9606
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
9607
+ { type: "error", inputs: [], name: "NotPoolManager" },
9608
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
9609
+ { type: "error", inputs: [], name: "OrderClosed" },
9610
+ { type: "error", inputs: [], name: "OrderFillable" },
9611
+ { type: "error", inputs: [], name: "OrderNotMaker" },
9612
+ {
9613
+ type: "error",
9614
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
9615
+ name: "OwnableInvalidOwner"
9616
+ },
9617
+ {
9618
+ type: "error",
9619
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
9620
+ name: "OwnableUnauthorizedAccount"
9621
+ },
9622
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
9623
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
9624
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
9625
+ { type: "error", inputs: [], name: "UnknownCallback" },
9626
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
9627
+ { type: "error", inputs: [], name: "WethTransferFailed" },
9628
+ { type: "error", inputs: [], name: "ZeroMaker" },
9629
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
9630
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
9631
+ ];
9632
+ var devCoinFactoryAddress = {
9633
+ 8453: "0xfAf4978830e099F0952eBabC89fEb0B18Ba771D8"
9634
+ };
9635
+ var devCoinFactoryConfig = {
9636
+ address: devCoinFactoryAddress,
9637
+ abi: devCoinFactoryABI
9638
+ };
9639
+ var devZoraLimitOrderBookABI = [
9640
+ {
9641
+ type: "constructor",
9642
+ inputs: [
9643
+ { name: "poolManager_", internalType: "address", type: "address" },
9644
+ {
9645
+ name: "zoraCoinVersionLookup_",
9646
+ internalType: "address",
9647
+ type: "address"
9648
+ },
9649
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" },
9650
+ { name: "owner_", internalType: "address", type: "address" },
9651
+ { name: "weth_", internalType: "address", type: "address" }
9652
+ ],
9653
+ stateMutability: "nonpayable"
9654
+ },
9655
+ { type: "receive", stateMutability: "payable" },
9656
+ {
9657
+ type: "function",
9658
+ inputs: [],
9659
+ name: "acceptOwnership",
9660
+ outputs: [],
9661
+ stateMutability: "nonpayable"
9662
+ },
9663
+ {
9664
+ type: "function",
9665
+ inputs: [
9666
+ { name: "maker", internalType: "address", type: "address" },
9667
+ { name: "coin", internalType: "address", type: "address" }
9668
+ ],
9669
+ name: "balanceOf",
9670
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
9671
+ stateMutability: "view"
9672
+ },
9673
+ {
9674
+ type: "function",
9675
+ inputs: [],
9676
+ name: "contractVersion",
9677
+ outputs: [{ name: "", internalType: "string", type: "string" }],
9678
+ stateMutability: "pure"
9679
+ },
9680
+ {
9681
+ type: "function",
9682
+ inputs: [
9683
+ {
9684
+ name: "key",
9685
+ internalType: "struct PoolKey",
9686
+ type: "tuple",
9687
+ components: [
9688
+ { name: "currency0", internalType: "Currency", type: "address" },
9689
+ { name: "currency1", internalType: "Currency", type: "address" },
9690
+ { name: "fee", internalType: "uint24", type: "uint24" },
9691
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
9692
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
9693
+ ]
9694
+ },
9695
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
9696
+ { name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
9697
+ { name: "orderTicks", internalType: "int24[]", type: "int24[]" },
9698
+ { name: "maker", internalType: "address", type: "address" }
9699
+ ],
9700
+ name: "create",
9701
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
9702
+ stateMutability: "payable"
9703
+ },
9704
+ {
9705
+ type: "function",
9706
+ inputs: [
9707
+ {
9708
+ name: "key",
9709
+ internalType: "struct PoolKey",
9710
+ type: "tuple",
9711
+ components: [
9712
+ { name: "currency0", internalType: "Currency", type: "address" },
9713
+ { name: "currency1", internalType: "Currency", type: "address" },
9714
+ { name: "fee", internalType: "uint24", type: "uint24" },
9715
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
9716
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
9717
+ ]
9718
+ },
9719
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
9720
+ { name: "startTick", internalType: "int24", type: "int24" },
9721
+ { name: "endTick", internalType: "int24", type: "int24" },
9722
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" },
9723
+ { name: "fillReferral", internalType: "address", type: "address" }
9724
+ ],
9725
+ name: "fill",
9726
+ outputs: [],
9727
+ stateMutability: "nonpayable"
9728
+ },
9729
+ {
9730
+ type: "function",
9731
+ inputs: [
9732
+ {
9733
+ name: "batches",
9734
+ internalType: "struct IZoraLimitOrderBook.OrderBatch[]",
9735
+ type: "tuple[]",
9736
+ components: [
9737
+ {
9738
+ name: "key",
9739
+ internalType: "struct PoolKey",
9740
+ type: "tuple",
9741
+ components: [
9742
+ { name: "currency0", internalType: "Currency", type: "address" },
9743
+ { name: "currency1", internalType: "Currency", type: "address" },
9744
+ { name: "fee", internalType: "uint24", type: "uint24" },
9745
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
9746
+ {
9747
+ name: "hooks",
9748
+ internalType: "contract IHooks",
9749
+ type: "address"
9750
+ }
9751
+ ]
9752
+ },
9753
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
9754
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
9755
+ ]
9756
+ },
9757
+ { name: "fillReferral", internalType: "address", type: "address" }
9758
+ ],
9759
+ name: "fill",
9760
+ outputs: [],
9761
+ stateMutability: "nonpayable"
9762
+ },
9763
+ {
9764
+ type: "function",
9765
+ inputs: [],
9766
+ name: "getMaxFillCount",
9767
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
9768
+ stateMutability: "view"
9769
+ },
9770
+ {
9771
+ type: "function",
9772
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
9773
+ name: "isPermittedCaller",
9774
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
9775
+ stateMutability: "view"
9776
+ },
9777
+ {
9778
+ type: "function",
9779
+ inputs: [],
9780
+ name: "owner",
9781
+ outputs: [{ name: "", internalType: "address", type: "address" }],
9782
+ stateMutability: "view"
9783
+ },
9784
+ {
9785
+ type: "function",
9786
+ inputs: [],
9787
+ name: "pendingOwner",
9788
+ outputs: [{ name: "", internalType: "address", type: "address" }],
9789
+ stateMutability: "view"
9790
+ },
9791
+ {
9792
+ type: "function",
9793
+ inputs: [],
9794
+ name: "poolManager",
9795
+ outputs: [
9796
+ { name: "", internalType: "contract IPoolManager", type: "address" }
9797
+ ],
9798
+ stateMutability: "view"
9799
+ },
9800
+ {
9801
+ type: "function",
9802
+ inputs: [],
9803
+ name: "renounceOwnership",
9804
+ outputs: [],
9805
+ stateMutability: "nonpayable"
9806
+ },
9807
+ {
9808
+ type: "function",
9809
+ inputs: [
9810
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" }
9811
+ ],
9812
+ name: "setMaxFillCount",
9813
+ outputs: [],
9814
+ stateMutability: "nonpayable"
9815
+ },
9816
+ {
9817
+ type: "function",
9818
+ inputs: [
9819
+ { name: "callers", internalType: "address[]", type: "address[]" },
9820
+ { name: "permitted", internalType: "bool[]", type: "bool[]" }
9821
+ ],
9822
+ name: "setPermittedCallers",
9823
+ outputs: [],
9824
+ stateMutability: "nonpayable"
9825
+ },
9826
+ {
9827
+ type: "function",
9828
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
9829
+ name: "transferOwnership",
9830
+ outputs: [],
9831
+ stateMutability: "nonpayable"
9832
+ },
9833
+ {
9834
+ type: "function",
9835
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
9836
+ name: "unlockCallback",
9837
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
9838
+ stateMutability: "nonpayable"
9839
+ },
9840
+ {
9841
+ type: "function",
9842
+ inputs: [],
9843
+ name: "weth",
9844
+ outputs: [{ name: "", internalType: "address", type: "address" }],
9845
+ stateMutability: "view"
9846
+ },
9847
+ {
9848
+ type: "function",
9849
+ inputs: [
9850
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
9851
+ { name: "coin", internalType: "address", type: "address" },
9852
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" },
9853
+ { name: "recipient", internalType: "address", type: "address" }
9854
+ ],
9855
+ name: "withdraw",
9856
+ outputs: [],
9857
+ stateMutability: "nonpayable"
9858
+ },
9859
+ {
9860
+ type: "function",
9861
+ inputs: [],
9862
+ name: "zoraCoinVersionLookup",
9863
+ outputs: [
9864
+ {
9865
+ name: "",
9866
+ internalType: "contract IDeployedCoinVersionLookup",
9867
+ type: "address"
9868
+ }
9869
+ ],
9870
+ stateMutability: "view"
9871
+ },
9872
+ {
9873
+ type: "function",
9874
+ inputs: [],
9875
+ name: "zoraHookRegistry",
9876
+ outputs: [
9877
+ { name: "", internalType: "contract IZoraHookRegistry", type: "address" }
9878
+ ],
9879
+ stateMutability: "view"
9880
+ },
9881
+ {
9882
+ type: "event",
9883
+ anonymous: false,
9884
+ inputs: [
9885
+ {
9886
+ name: "maker",
9887
+ internalType: "address",
9888
+ type: "address",
9889
+ indexed: true
9890
+ },
9891
+ { name: "coin", internalType: "address", type: "address", indexed: true },
9892
+ {
9893
+ name: "poolKeyHash",
9894
+ internalType: "bytes32",
9895
+ type: "bytes32",
9896
+ indexed: false
9897
+ },
9898
+ {
9899
+ name: "isCurrency0",
9900
+ internalType: "bool",
9901
+ type: "bool",
9902
+ indexed: false
9903
+ },
9904
+ {
9905
+ name: "orderTick",
9906
+ internalType: "int24",
9907
+ type: "int24",
9908
+ indexed: false
9909
+ },
9910
+ {
9911
+ name: "currentTick",
9912
+ internalType: "int24",
9913
+ type: "int24",
9914
+ indexed: false
9915
+ },
9916
+ {
9917
+ name: "orderSize",
9918
+ internalType: "uint128",
9919
+ type: "uint128",
9920
+ indexed: false
9921
+ },
9922
+ {
9923
+ name: "orderId",
9924
+ internalType: "bytes32",
9925
+ type: "bytes32",
9926
+ indexed: false
9927
+ }
9928
+ ],
9929
+ name: "LimitOrderCreated"
9930
+ },
9931
+ {
9932
+ type: "event",
9933
+ anonymous: false,
9934
+ inputs: [
9935
+ {
9936
+ name: "maker",
9937
+ internalType: "address",
9938
+ type: "address",
9939
+ indexed: true
9940
+ },
9941
+ {
9942
+ name: "coinIn",
9943
+ internalType: "address",
9944
+ type: "address",
9945
+ indexed: true
9946
+ },
9947
+ {
9948
+ name: "coinOut",
9949
+ internalType: "address",
9950
+ type: "address",
9951
+ indexed: false
9952
+ },
9953
+ {
9954
+ name: "amountIn",
9955
+ internalType: "uint128",
9956
+ type: "uint128",
9957
+ indexed: false
9958
+ },
9959
+ {
9960
+ name: "amountOut",
9961
+ internalType: "uint128",
9962
+ type: "uint128",
9963
+ indexed: false
9964
+ },
9965
+ {
9966
+ name: "fillReferral",
9967
+ internalType: "address",
9968
+ type: "address",
9969
+ indexed: false
9970
+ },
9971
+ {
9972
+ name: "fillReferralAmount",
9973
+ internalType: "uint128",
9974
+ type: "uint128",
9975
+ indexed: false
9976
+ },
9977
+ {
9978
+ name: "poolKeyHash",
9979
+ internalType: "bytes32",
9980
+ type: "bytes32",
9981
+ indexed: false
9982
+ },
9983
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
9984
+ {
9985
+ name: "orderId",
9986
+ internalType: "bytes32",
9987
+ type: "bytes32",
9988
+ indexed: false
9989
+ }
9990
+ ],
9991
+ name: "LimitOrderFilled"
9992
+ },
9993
+ {
9994
+ type: "event",
9995
+ anonymous: false,
9996
+ inputs: [
9997
+ {
9998
+ name: "maker",
9999
+ internalType: "address",
10000
+ type: "address",
10001
+ indexed: true
10002
+ },
10003
+ { name: "coin", internalType: "address", type: "address", indexed: true },
10004
+ {
10005
+ name: "poolKeyHash",
10006
+ internalType: "bytes32",
10007
+ type: "bytes32",
10008
+ indexed: false
10009
+ },
10010
+ {
10011
+ name: "isCurrency0",
10012
+ internalType: "bool",
10013
+ type: "bool",
10014
+ indexed: false
10015
+ },
10016
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
10017
+ {
10018
+ name: "orderSize",
10019
+ internalType: "uint128",
10020
+ type: "uint128",
10021
+ indexed: false
10022
+ },
10023
+ {
10024
+ name: "orderId",
10025
+ internalType: "bytes32",
10026
+ type: "bytes32",
10027
+ indexed: false
10028
+ },
10029
+ {
10030
+ name: "isCancelled",
10031
+ internalType: "bool",
10032
+ type: "bool",
10033
+ indexed: false
10034
+ }
10035
+ ],
10036
+ name: "LimitOrderUpdated"
10037
+ },
10038
+ {
10039
+ type: "event",
10040
+ anonymous: false,
10041
+ inputs: [
10042
+ {
10043
+ name: "maker",
10044
+ internalType: "address",
10045
+ type: "address",
10046
+ indexed: true
10047
+ },
10048
+ { name: "coin", internalType: "address", type: "address", indexed: true },
10049
+ {
10050
+ name: "newBalance",
10051
+ internalType: "uint256",
10052
+ type: "uint256",
10053
+ indexed: false
10054
+ }
10055
+ ],
10056
+ name: "MakerBalanceUpdated"
10057
+ },
10058
+ {
10059
+ type: "event",
10060
+ anonymous: false,
10061
+ inputs: [
10062
+ {
10063
+ name: "previousOwner",
10064
+ internalType: "address",
10065
+ type: "address",
10066
+ indexed: true
10067
+ },
10068
+ {
10069
+ name: "newOwner",
10070
+ internalType: "address",
10071
+ type: "address",
10072
+ indexed: true
10073
+ }
10074
+ ],
10075
+ name: "OwnershipTransferStarted"
10076
+ },
10077
+ {
10078
+ type: "event",
10079
+ anonymous: false,
10080
+ inputs: [
10081
+ {
10082
+ name: "previousOwner",
10083
+ internalType: "address",
10084
+ type: "address",
10085
+ indexed: true
10086
+ },
10087
+ {
10088
+ name: "newOwner",
10089
+ internalType: "address",
10090
+ type: "address",
10091
+ indexed: true
10092
+ }
10093
+ ],
10094
+ name: "OwnershipTransferred"
10095
+ },
10096
+ {
10097
+ type: "event",
10098
+ anonymous: false,
10099
+ inputs: [
10100
+ {
10101
+ name: "caller",
10102
+ internalType: "address",
10103
+ type: "address",
10104
+ indexed: true
10105
+ },
10106
+ { name: "permitted", internalType: "bool", type: "bool", indexed: false }
10107
+ ],
10108
+ name: "PermittedCallerUpdated"
10109
+ },
10110
+ { type: "error", inputs: [], name: "AddressZero" },
10111
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
10112
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
10113
+ {
10114
+ type: "error",
10115
+ inputs: [
10116
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
10117
+ { name: "expectedCoin", internalType: "address", type: "address" },
10118
+ { name: "actualCoin", internalType: "address", type: "address" }
10119
+ ],
10120
+ name: "CoinMismatch"
10121
+ },
10122
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
10123
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
10124
+ {
10125
+ type: "error",
10126
+ inputs: [
10127
+ { name: "startTick", internalType: "int24", type: "int24" },
10128
+ { name: "endTick", internalType: "int24", type: "int24" },
10129
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
10130
+ ],
10131
+ name: "InvalidFillWindow"
10132
+ },
10133
+ { type: "error", inputs: [], name: "InvalidOrder" },
10134
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
10135
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
10136
+ {
10137
+ type: "error",
10138
+ inputs: [
10139
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
10140
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
10141
+ ],
10142
+ name: "MinAmountNotReached"
10143
+ },
10144
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
10145
+ { type: "error", inputs: [], name: "NotPoolManager" },
10146
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
10147
+ { type: "error", inputs: [], name: "OrderClosed" },
10148
+ { type: "error", inputs: [], name: "OrderFillable" },
10149
+ { type: "error", inputs: [], name: "OrderNotMaker" },
10150
+ {
10151
+ type: "error",
10152
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
10153
+ name: "OwnableInvalidOwner"
10154
+ },
10155
+ {
10156
+ type: "error",
10157
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
10158
+ name: "OwnableUnauthorizedAccount"
10159
+ },
10160
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
10161
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
10162
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
10163
+ { type: "error", inputs: [], name: "UnknownCallback" },
10164
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
10165
+ { type: "error", inputs: [], name: "WethTransferFailed" },
10166
+ { type: "error", inputs: [], name: "ZeroMaker" },
10167
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
10168
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
10169
+ { type: "error", inputs: [], name: "AddressZero" },
10170
+ { type: "error", inputs: [], name: "AlreadyOwner" },
10171
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
10172
+ {
10173
+ type: "error",
10174
+ inputs: [],
10175
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
10176
+ },
10177
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
10178
+ {
10179
+ type: "error",
10180
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
10181
+ name: "ECDSAInvalidSignatureLength"
10182
+ },
10183
+ {
10184
+ type: "error",
10185
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
10186
+ name: "ECDSAInvalidSignatureS"
10187
+ },
10188
+ {
10189
+ type: "error",
10190
+ inputs: [
10191
+ { name: "spender", internalType: "address", type: "address" },
10192
+ { name: "allowance", internalType: "uint256", type: "uint256" },
10193
+ { name: "needed", internalType: "uint256", type: "uint256" }
10194
+ ],
10195
+ name: "ERC20InsufficientAllowance"
10196
+ },
10197
+ {
10198
+ type: "error",
10199
+ inputs: [
10200
+ { name: "sender", internalType: "address", type: "address" },
10201
+ { name: "balance", internalType: "uint256", type: "uint256" },
10202
+ { name: "needed", internalType: "uint256", type: "uint256" }
10203
+ ],
10204
+ name: "ERC20InsufficientBalance"
10205
+ },
10206
+ {
10207
+ type: "error",
10208
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
10209
+ name: "ERC20InvalidApprover"
10210
+ },
10211
+ {
10212
+ type: "error",
10213
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
10214
+ name: "ERC20InvalidReceiver"
10215
+ },
10216
+ {
10217
+ type: "error",
10218
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
10219
+ name: "ERC20InvalidSender"
10220
+ },
10221
+ {
10222
+ type: "error",
10223
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
10224
+ name: "ERC20InvalidSpender"
10225
+ },
10226
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
10227
+ {
10228
+ type: "error",
10229
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
10230
+ name: "ERC2612ExpiredSignature"
10231
+ },
10232
+ {
10233
+ type: "error",
10234
+ inputs: [
10235
+ { name: "signer", internalType: "address", type: "address" },
10236
+ { name: "owner", internalType: "address", type: "address" }
10237
+ ],
10238
+ name: "ERC2612InvalidSigner"
10239
+ },
10240
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
10241
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
10242
+ { type: "error", inputs: [], name: "EthTransferFailed" },
10243
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
10244
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
10245
+ { type: "error", inputs: [], name: "InsufficientFunds" },
10246
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
10247
+ {
10248
+ type: "error",
10249
+ inputs: [
10250
+ { name: "account", internalType: "address", type: "address" },
10251
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
10252
+ ],
10253
+ name: "InvalidAccountNonce"
10254
+ },
10255
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
10256
+ { type: "error", inputs: [], name: "InvalidInitialization" },
10257
+ { type: "error", inputs: [], name: "InvalidMarketType" },
10258
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
10259
+ {
10260
+ type: "error",
10261
+ inputs: [
10262
+ { name: "tickLower", internalType: "int24", type: "int24" },
10263
+ { name: "tickUpper", internalType: "int24", type: "int24" }
10264
+ ],
10265
+ name: "InvalidTickRangeMisordered"
10266
+ },
10267
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
10268
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
10269
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
10270
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
10271
+ {
10272
+ type: "error",
10273
+ inputs: [
10274
+ { name: "value", internalType: "uint256", type: "uint256" },
10275
+ { name: "limit", internalType: "uint256", type: "uint256" }
10276
+ ],
10277
+ name: "MaxShareToBeSoldExceeded"
10278
+ },
10279
+ { type: "error", inputs: [], name: "NameIsRequired" },
10280
+ { type: "error", inputs: [], name: "NotInitializing" },
10281
+ { type: "error", inputs: [], name: "NotOwner" },
10282
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
10283
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
10284
+ { type: "error", inputs: [], name: "OnlyOwner" },
10285
+ {
10286
+ type: "error",
10287
+ inputs: [
10288
+ { name: "sender", internalType: "address", type: "address" },
10289
+ { name: "pool", internalType: "address", type: "address" }
10290
+ ],
10291
+ name: "OnlyPool"
10292
+ },
10293
+ { type: "error", inputs: [], name: "OnlyWeth" },
10294
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
10295
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
10296
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
10297
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
10298
+ { type: "error", inputs: [], name: "EthTransferFailed" },
10299
+ { type: "error", inputs: [], name: "HookNotImplemented" },
10300
+ {
10301
+ type: "error",
10302
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
10303
+ name: "InvalidCallbackId"
10304
+ },
10305
+ {
10306
+ type: "error",
10307
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
10308
+ name: "InvalidNewHook"
10309
+ },
10310
+ {
10311
+ type: "error",
10312
+ inputs: [
10313
+ {
10314
+ name: "key",
10315
+ internalType: "struct PoolKey",
10316
+ type: "tuple",
10317
+ components: [
10318
+ { name: "currency0", internalType: "Currency", type: "address" },
10319
+ { name: "currency1", internalType: "Currency", type: "address" },
10320
+ { name: "fee", internalType: "uint24", type: "uint24" },
10321
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
10322
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
10323
+ ]
10324
+ }
10325
+ ],
10326
+ name: "NoCoinForHook"
10327
+ },
10328
+ {
10329
+ type: "error",
10330
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
10331
+ name: "NotACoin"
10332
+ },
10333
+ { type: "error", inputs: [], name: "NotPoolManager" },
10334
+ {
10335
+ type: "error",
10336
+ inputs: [
10337
+ { name: "caller", internalType: "address", type: "address" },
10338
+ { name: "expectedCoin", internalType: "address", type: "address" }
10339
+ ],
10340
+ name: "OnlyCoin"
10341
+ },
10342
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
10343
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
10344
+ {
10345
+ type: "error",
10346
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
10347
+ name: "SafeERC20FailedOperation"
10348
+ },
10349
+ {
10350
+ type: "error",
10351
+ inputs: [],
10352
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
10353
+ },
10354
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
10355
+ {
10356
+ type: "error",
10357
+ inputs: [
10358
+ { name: "oldHook", internalType: "address", type: "address" },
10359
+ { name: "newHook", internalType: "address", type: "address" }
10360
+ ],
10361
+ name: "UpgradePathNotRegistered"
10362
+ },
10363
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
10364
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
10365
+ ];
10366
+ var devZoraLimitOrderBookAddress = {
10367
+ 8453: "0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5"
10368
+ };
10369
+ var devZoraLimitOrderBookConfig = {
10370
+ address: devZoraLimitOrderBookAddress,
10371
+ abi: devZoraLimitOrderBookABI
10372
+ };
10373
+ var devZoraRouterABI = [
10374
+ {
10375
+ type: "constructor",
10376
+ inputs: [
10377
+ {
10378
+ name: "poolManager_",
10379
+ internalType: "contract IPoolManager",
10380
+ type: "address"
10381
+ },
10382
+ {
10383
+ name: "zoraLimitOrderBook_",
10384
+ internalType: "contract IZoraLimitOrderBook",
10385
+ type: "address"
10386
+ },
10387
+ {
10388
+ name: "swapRouter_",
10389
+ internalType: "contract ISwapRouter",
10390
+ type: "address"
10391
+ },
10392
+ { name: "permit2_", internalType: "address", type: "address" },
10393
+ { name: "owner_", internalType: "address", type: "address" }
10394
+ ],
10395
+ stateMutability: "nonpayable"
10396
+ },
10397
+ { type: "receive", stateMutability: "payable" },
10398
+ {
10399
+ type: "function",
10400
+ inputs: [],
10401
+ name: "acceptOwnership",
10402
+ outputs: [],
10403
+ stateMutability: "nonpayable"
10404
+ },
10405
+ {
10406
+ type: "function",
10407
+ inputs: [],
10408
+ name: "contractVersion",
10409
+ outputs: [{ name: "", internalType: "string", type: "string" }],
10410
+ stateMutability: "pure"
10411
+ },
10412
+ {
10413
+ type: "function",
10414
+ inputs: [],
10415
+ name: "getLimitOrderConfig",
10416
+ outputs: [
10417
+ {
10418
+ name: "",
10419
+ internalType: "struct LimitOrderConfig",
10420
+ type: "tuple",
10421
+ components: [
10422
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
10423
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
10424
+ ]
10425
+ }
10426
+ ],
10427
+ stateMutability: "view"
10428
+ },
10429
+ {
10430
+ type: "function",
10431
+ inputs: [],
10432
+ name: "msgSender",
10433
+ outputs: [{ name: "", internalType: "address", type: "address" }],
10434
+ stateMutability: "view"
10435
+ },
10436
+ {
10437
+ type: "function",
10438
+ inputs: [],
10439
+ name: "owner",
10440
+ outputs: [{ name: "", internalType: "address", type: "address" }],
10441
+ stateMutability: "view"
10442
+ },
10443
+ {
10444
+ type: "function",
10445
+ inputs: [],
10446
+ name: "pendingOwner",
10447
+ outputs: [{ name: "", internalType: "address", type: "address" }],
10448
+ stateMutability: "view"
10449
+ },
10450
+ {
10451
+ type: "function",
10452
+ inputs: [],
10453
+ name: "poolManager",
10454
+ outputs: [
10455
+ { name: "", internalType: "contract IPoolManager", type: "address" }
10456
+ ],
10457
+ stateMutability: "view"
10458
+ },
10459
+ {
10460
+ type: "function",
10461
+ inputs: [],
10462
+ name: "renounceOwnership",
10463
+ outputs: [],
10464
+ stateMutability: "nonpayable"
10465
+ },
10466
+ {
10467
+ type: "function",
10468
+ inputs: [
10469
+ {
10470
+ name: "config",
10471
+ internalType: "struct LimitOrderConfig",
10472
+ type: "tuple",
10473
+ components: [
10474
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
10475
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
10476
+ ]
10477
+ }
10478
+ ],
10479
+ name: "setLimitOrderConfig",
10480
+ outputs: [],
10481
+ stateMutability: "nonpayable"
10482
+ },
10483
+ {
10484
+ type: "function",
10485
+ inputs: [],
10486
+ name: "swapRouter",
10487
+ outputs: [
10488
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
10489
+ ],
10490
+ stateMutability: "view"
10491
+ },
10492
+ {
10493
+ type: "function",
10494
+ inputs: [
10495
+ {
10496
+ name: "params",
10497
+ internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
10498
+ type: "tuple",
10499
+ components: [
10500
+ { name: "recipient", internalType: "address", type: "address" },
10501
+ {
10502
+ name: "limitOrderConfig",
10503
+ internalType: "struct LimitOrderConfig",
10504
+ type: "tuple",
10505
+ components: [
10506
+ {
10507
+ name: "multiples",
10508
+ internalType: "uint256[]",
10509
+ type: "uint256[]"
10510
+ },
10511
+ {
10512
+ name: "percentages",
10513
+ internalType: "uint256[]",
10514
+ type: "uint256[]"
10515
+ }
10516
+ ]
10517
+ },
10518
+ { name: "inputCurrency", internalType: "address", type: "address" },
10519
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
10520
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
10521
+ {
10522
+ name: "v4Route",
10523
+ internalType: "struct PoolKey[]",
10524
+ type: "tuple[]",
10525
+ components: [
10526
+ { name: "currency0", internalType: "Currency", type: "address" },
10527
+ { name: "currency1", internalType: "Currency", type: "address" },
10528
+ { name: "fee", internalType: "uint24", type: "uint24" },
10529
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
10530
+ {
10531
+ name: "hooks",
10532
+ internalType: "contract IHooks",
10533
+ type: "address"
10534
+ }
10535
+ ]
10536
+ },
10537
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
10538
+ ]
10539
+ }
10540
+ ],
10541
+ name: "swapWithLimitOrders",
10542
+ outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
10543
+ stateMutability: "payable"
10544
+ },
10545
+ {
10546
+ type: "function",
10547
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
10548
+ name: "transferOwnership",
10549
+ outputs: [],
10550
+ stateMutability: "nonpayable"
10551
+ },
10552
+ {
10553
+ type: "function",
10554
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
10555
+ name: "unlockCallback",
10556
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
10557
+ stateMutability: "nonpayable"
10558
+ },
10559
+ {
10560
+ type: "function",
10561
+ inputs: [],
10562
+ name: "zoraLimitOrderBook",
10563
+ outputs: [
10564
+ {
10565
+ name: "",
10566
+ internalType: "contract IZoraLimitOrderBook",
10567
+ type: "address"
10568
+ }
10569
+ ],
10570
+ stateMutability: "view"
10571
+ },
10572
+ {
10573
+ type: "event",
10574
+ anonymous: false,
10575
+ inputs: [
10576
+ {
10577
+ name: "multiples",
10578
+ internalType: "uint256[]",
10579
+ type: "uint256[]",
10580
+ indexed: false
10581
+ },
10582
+ {
10583
+ name: "percentages",
10584
+ internalType: "uint256[]",
10585
+ type: "uint256[]",
10586
+ indexed: false
10587
+ }
10588
+ ],
10589
+ name: "LimitOrderConfigUpdated"
10590
+ },
10591
+ {
10592
+ type: "event",
10593
+ anonymous: false,
10594
+ inputs: [
10595
+ {
10596
+ name: "previousOwner",
10597
+ internalType: "address",
10598
+ type: "address",
10599
+ indexed: true
10600
+ },
10601
+ {
10602
+ name: "newOwner",
10603
+ internalType: "address",
10604
+ type: "address",
10605
+ indexed: true
10606
+ }
10607
+ ],
10608
+ name: "OwnershipTransferStarted"
10609
+ },
10610
+ {
10611
+ type: "event",
10612
+ anonymous: false,
10613
+ inputs: [
10614
+ {
10615
+ name: "previousOwner",
10616
+ internalType: "address",
10617
+ type: "address",
10618
+ indexed: true
10619
+ },
10620
+ {
10621
+ name: "newOwner",
10622
+ internalType: "address",
10623
+ type: "address",
10624
+ indexed: true
10625
+ }
10626
+ ],
10627
+ name: "OwnershipTransferred"
10628
+ },
10629
+ {
10630
+ type: "event",
10631
+ anonymous: false,
10632
+ inputs: [
10633
+ {
10634
+ name: "sender",
10635
+ internalType: "address",
10636
+ type: "address",
10637
+ indexed: true
10638
+ },
10639
+ {
10640
+ name: "recipient",
10641
+ internalType: "address",
10642
+ type: "address",
10643
+ indexed: true
10644
+ },
10645
+ {
10646
+ name: "poolKey",
10647
+ internalType: "struct PoolKey",
10648
+ type: "tuple",
10649
+ components: [
10650
+ { name: "currency0", internalType: "Currency", type: "address" },
10651
+ { name: "currency1", internalType: "Currency", type: "address" },
10652
+ { name: "fee", internalType: "uint24", type: "uint24" },
10653
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
10654
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
10655
+ ],
10656
+ indexed: false
10657
+ },
10658
+ {
10659
+ name: "tickBeforeSwap",
10660
+ internalType: "int24",
10661
+ type: "int24",
10662
+ indexed: false
10663
+ },
10664
+ {
10665
+ name: "tickAfterSwap",
10666
+ internalType: "int24",
10667
+ type: "int24",
10668
+ indexed: false
10669
+ },
10670
+ {
10671
+ name: "amount0",
10672
+ internalType: "int128",
10673
+ type: "int128",
10674
+ indexed: false
10675
+ },
10676
+ {
10677
+ name: "amount1",
10678
+ internalType: "int128",
10679
+ type: "int128",
10680
+ indexed: false
10681
+ },
10682
+ {
10683
+ name: "sqrtPriceX96",
10684
+ internalType: "uint160",
10685
+ type: "uint160",
10686
+ indexed: false
10687
+ },
10688
+ {
10689
+ name: "orders",
10690
+ internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
10691
+ type: "tuple[]",
10692
+ components: [
10693
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
10694
+ { name: "multiple", internalType: "uint256", type: "uint256" },
10695
+ { name: "percentage", internalType: "uint256", type: "uint256" }
10696
+ ],
10697
+ indexed: false
10698
+ }
10699
+ ],
10700
+ name: "SwapWithLimitOrdersExecuted"
10701
+ },
10702
+ { type: "error", inputs: [], name: "EmptyV4Route" },
10703
+ {
10704
+ type: "error",
10705
+ inputs: [
10706
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
10707
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
10708
+ ],
10709
+ name: "InsufficientInputCurrency"
10710
+ },
10711
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
10712
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
10713
+ { type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
10714
+ { type: "error", inputs: [], name: "InvalidMultiple" },
10715
+ { type: "error", inputs: [], name: "InvalidPercent" },
10716
+ { type: "error", inputs: [], name: "LengthMismatch" },
10717
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
10718
+ {
10719
+ type: "error",
10720
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
10721
+ name: "OwnableInvalidOwner"
10722
+ },
10723
+ {
10724
+ type: "error",
10725
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
10726
+ name: "OwnableUnauthorizedAccount"
10727
+ },
10728
+ { type: "error", inputs: [], name: "PercentOverflow" },
10729
+ {
10730
+ type: "error",
10731
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
10732
+ name: "SafeERC20FailedOperation"
10733
+ },
10734
+ { type: "error", inputs: [], name: "UnsafeCast" },
10735
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
10736
+ { type: "error", inputs: [], name: "ZeroSwapDelta" },
10737
+ { type: "error", inputs: [], name: "AddressZero" },
10738
+ { type: "error", inputs: [], name: "AlreadyOwner" },
10739
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
10740
+ {
10741
+ type: "error",
10742
+ inputs: [],
10743
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
10744
+ },
10745
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
10746
+ {
10747
+ type: "error",
10748
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
10749
+ name: "ECDSAInvalidSignatureLength"
10750
+ },
10751
+ {
10752
+ type: "error",
10753
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
10754
+ name: "ECDSAInvalidSignatureS"
10755
+ },
10756
+ {
10757
+ type: "error",
10758
+ inputs: [
10759
+ { name: "spender", internalType: "address", type: "address" },
10760
+ { name: "allowance", internalType: "uint256", type: "uint256" },
10761
+ { name: "needed", internalType: "uint256", type: "uint256" }
10762
+ ],
10763
+ name: "ERC20InsufficientAllowance"
10764
+ },
10765
+ {
10766
+ type: "error",
10767
+ inputs: [
10768
+ { name: "sender", internalType: "address", type: "address" },
10769
+ { name: "balance", internalType: "uint256", type: "uint256" },
10770
+ { name: "needed", internalType: "uint256", type: "uint256" }
10771
+ ],
10772
+ name: "ERC20InsufficientBalance"
10773
+ },
10774
+ {
10775
+ type: "error",
10776
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
10777
+ name: "ERC20InvalidApprover"
10778
+ },
10779
+ {
10780
+ type: "error",
10781
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
10782
+ name: "ERC20InvalidReceiver"
10783
+ },
10784
+ {
10785
+ type: "error",
10786
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
10787
+ name: "ERC20InvalidSender"
10788
+ },
10789
+ {
10790
+ type: "error",
10791
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
10792
+ name: "ERC20InvalidSpender"
10793
+ },
10794
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
10795
+ {
10796
+ type: "error",
10797
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
10798
+ name: "ERC2612ExpiredSignature"
10799
+ },
10800
+ {
10801
+ type: "error",
10802
+ inputs: [
10803
+ { name: "signer", internalType: "address", type: "address" },
10804
+ { name: "owner", internalType: "address", type: "address" }
10805
+ ],
10806
+ name: "ERC2612InvalidSigner"
10807
+ },
10808
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
10809
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
10810
+ { type: "error", inputs: [], name: "EthTransferFailed" },
10811
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
10812
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
10813
+ { type: "error", inputs: [], name: "InsufficientFunds" },
10814
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
10815
+ {
10816
+ type: "error",
10817
+ inputs: [
10818
+ { name: "account", internalType: "address", type: "address" },
10819
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
10820
+ ],
10821
+ name: "InvalidAccountNonce"
10822
+ },
10823
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
10824
+ { type: "error", inputs: [], name: "InvalidInitialization" },
10825
+ { type: "error", inputs: [], name: "InvalidMarketType" },
10826
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
10827
+ {
10828
+ type: "error",
10829
+ inputs: [
10830
+ { name: "tickLower", internalType: "int24", type: "int24" },
10831
+ { name: "tickUpper", internalType: "int24", type: "int24" }
10832
+ ],
10833
+ name: "InvalidTickRangeMisordered"
10834
+ },
10835
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
10836
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
10837
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
10838
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
10839
+ {
10840
+ type: "error",
10841
+ inputs: [
10842
+ { name: "value", internalType: "uint256", type: "uint256" },
10843
+ { name: "limit", internalType: "uint256", type: "uint256" }
10844
+ ],
10845
+ name: "MaxShareToBeSoldExceeded"
10846
+ },
10847
+ { type: "error", inputs: [], name: "NameIsRequired" },
10848
+ { type: "error", inputs: [], name: "NotInitializing" },
10849
+ { type: "error", inputs: [], name: "NotOwner" },
10850
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
10851
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
10852
+ { type: "error", inputs: [], name: "OnlyOwner" },
10853
+ {
10854
+ type: "error",
10855
+ inputs: [
10856
+ { name: "sender", internalType: "address", type: "address" },
10857
+ { name: "pool", internalType: "address", type: "address" }
10858
+ ],
10859
+ name: "OnlyPool"
10860
+ },
10861
+ { type: "error", inputs: [], name: "OnlyWeth" },
10862
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
10863
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
10864
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
10865
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
10866
+ { type: "error", inputs: [], name: "EthTransferFailed" },
10867
+ { type: "error", inputs: [], name: "HookNotImplemented" },
10868
+ {
10869
+ type: "error",
10870
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
10871
+ name: "InvalidCallbackId"
10872
+ },
10873
+ {
10874
+ type: "error",
10875
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
10876
+ name: "InvalidNewHook"
10877
+ },
10878
+ {
10879
+ type: "error",
10880
+ inputs: [
10881
+ {
10882
+ name: "key",
10883
+ internalType: "struct PoolKey",
10884
+ type: "tuple",
10885
+ components: [
10886
+ { name: "currency0", internalType: "Currency", type: "address" },
10887
+ { name: "currency1", internalType: "Currency", type: "address" },
10888
+ { name: "fee", internalType: "uint24", type: "uint24" },
10889
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
10890
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
10891
+ ]
10892
+ }
10893
+ ],
10894
+ name: "NoCoinForHook"
10895
+ },
10896
+ {
10897
+ type: "error",
10898
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
10899
+ name: "NotACoin"
10900
+ },
10901
+ { type: "error", inputs: [], name: "NotPoolManager" },
10902
+ {
10903
+ type: "error",
10904
+ inputs: [
10905
+ { name: "caller", internalType: "address", type: "address" },
10906
+ { name: "expectedCoin", internalType: "address", type: "address" }
10907
+ ],
10908
+ name: "OnlyCoin"
10909
+ },
10910
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
10911
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
10912
+ {
10913
+ type: "error",
10914
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
10915
+ name: "SafeERC20FailedOperation"
10916
+ },
10917
+ {
10918
+ type: "error",
10919
+ inputs: [],
10920
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
10921
+ },
10922
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
10923
+ {
10924
+ type: "error",
10925
+ inputs: [
10926
+ { name: "oldHook", internalType: "address", type: "address" },
10927
+ { name: "newHook", internalType: "address", type: "address" }
10928
+ ],
10929
+ name: "UpgradePathNotRegistered"
10930
+ },
10931
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
10932
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
10933
+ { type: "error", inputs: [], name: "AddressZero" },
10934
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
10935
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
10936
+ {
10937
+ type: "error",
10938
+ inputs: [
10939
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
10940
+ { name: "expectedCoin", internalType: "address", type: "address" },
10941
+ { name: "actualCoin", internalType: "address", type: "address" }
10942
+ ],
10943
+ name: "CoinMismatch"
10944
+ },
10945
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
10946
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
10947
+ {
10948
+ type: "error",
10949
+ inputs: [
10950
+ { name: "startTick", internalType: "int24", type: "int24" },
10951
+ { name: "endTick", internalType: "int24", type: "int24" },
10952
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
10953
+ ],
10954
+ name: "InvalidFillWindow"
10955
+ },
10956
+ { type: "error", inputs: [], name: "InvalidOrder" },
10957
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
10958
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
10959
+ {
10960
+ type: "error",
10961
+ inputs: [
10962
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
10963
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
10964
+ ],
10965
+ name: "MinAmountNotReached"
10966
+ },
10967
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
10968
+ { type: "error", inputs: [], name: "NotPoolManager" },
10969
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
10970
+ { type: "error", inputs: [], name: "OrderClosed" },
10971
+ { type: "error", inputs: [], name: "OrderFillable" },
10972
+ { type: "error", inputs: [], name: "OrderNotMaker" },
10973
+ {
10974
+ type: "error",
10975
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
10976
+ name: "OwnableInvalidOwner"
10977
+ },
10978
+ {
10979
+ type: "error",
10980
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
10981
+ name: "OwnableUnauthorizedAccount"
10982
+ },
10983
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
10984
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
10985
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
10986
+ { type: "error", inputs: [], name: "UnknownCallback" },
10987
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
10988
+ { type: "error", inputs: [], name: "WethTransferFailed" },
10989
+ { type: "error", inputs: [], name: "ZeroMaker" },
10990
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
10991
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
10992
+ ];
10993
+ var devZoraRouterAddress = {
10994
+ 8453: "0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8"
10995
+ };
10996
+ var devZoraRouterConfig = {
10997
+ address: devZoraRouterAddress,
10998
+ abi: devZoraRouterABI
10999
+ };
11000
+ var erc20MinterABI = [
11001
+ {
11002
+ type: "function",
11003
+ inputs: [],
11004
+ name: "acceptOwnership",
11005
+ outputs: [],
11006
+ stateMutability: "nonpayable"
11007
+ },
11008
+ {
11009
+ type: "function",
11010
+ inputs: [
11011
+ {
11012
+ name: "config",
11013
+ internalType: "struct IERC20Minter.PremintSalesConfig",
11014
+ type: "tuple",
11015
+ components: [
11016
+ { name: "duration", internalType: "uint64", type: "uint64" },
11017
+ {
11018
+ name: "maxTokensPerAddress",
11019
+ internalType: "uint64",
11020
+ type: "uint64"
11021
+ },
11022
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
11023
+ { name: "fundsRecipient", internalType: "address", type: "address" },
11024
+ { name: "currency", internalType: "address", type: "address" }
11025
+ ]
11026
+ }
11027
+ ],
11028
+ name: "buildSalesConfigForPremint",
11029
+ outputs: [
11030
+ {
11031
+ name: "",
11032
+ internalType: "struct IERC20Minter.SalesConfig",
11033
+ type: "tuple",
11034
+ components: [
11035
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
11036
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
11037
+ {
11038
+ name: "maxTokensPerAddress",
11039
+ internalType: "uint64",
11040
+ type: "uint64"
11041
+ },
11042
+ { name: "pricePerToken", internalType: "uint256", type: "uint256" },
11043
+ { name: "fundsRecipient", internalType: "address", type: "address" },
11044
+ { name: "currency", internalType: "address", type: "address" }
11045
+ ]
11046
+ }
11047
+ ],
11048
+ stateMutability: "view"
11049
+ },
11050
+ {
11051
+ type: "function",
11052
+ inputs: [],
11053
+ name: "cancelOwnershipTransfer",
11054
+ outputs: [],
11055
+ stateMutability: "nonpayable"
11056
+ },
11057
+ {
11058
+ type: "function",
11059
+ inputs: [{ name: "totalReward", internalType: "uint256", type: "uint256" }],
11060
+ name: "computePaidMintRewards",
11061
+ outputs: [
11062
+ {
11063
+ name: "",
11064
+ internalType: "struct IERC20Minter.RewardsSettings",
11065
+ type: "tuple",
11066
+ components: [
11067
+ {
11068
+ name: "createReferralReward",
11069
+ internalType: "uint256",
11070
+ type: "uint256"
11071
+ },
11072
+ {
11073
+ name: "mintReferralReward",
11074
+ internalType: "uint256",
11075
+ type: "uint256"
11076
+ },
11077
+ { name: "zoraReward", internalType: "uint256", type: "uint256" },
11078
+ {
11079
+ name: "firstMinterReward",
11080
+ internalType: "uint256",
11081
+ type: "uint256"
11082
+ }
11083
+ ]
11084
+ }
11085
+ ],
11086
+ stateMutability: "pure"
11087
+ },
11088
+ {
11089
+ type: "function",
11090
+ inputs: [
11091
+ { name: "totalReward", internalType: "uint256", type: "uint256" },
11092
+ { name: "rewardPct", internalType: "uint256", type: "uint256" }
11093
+ ],
11094
+ name: "computeReward",
11095
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
11096
+ stateMutability: "pure"
11097
+ },
11098
+ {
11099
+ type: "function",
11100
+ inputs: [{ name: "totalValue", internalType: "uint256", type: "uint256" }],
11101
+ name: "computeTotalReward",
11102
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
8707
11103
  stateMutability: "view"
8708
11104
  },
8709
11105
  {
@@ -16732,17 +19128,18 @@ var zoraLimitOrderBookABI = [
16732
19128
  type: "address"
16733
19129
  },
16734
19130
  { name: "zoraHookRegistry_", internalType: "address", type: "address" },
16735
- { name: "authority_", internalType: "address", type: "address" }
19131
+ { name: "owner_", internalType: "address", type: "address" },
19132
+ { name: "weth_", internalType: "address", type: "address" }
16736
19133
  ],
16737
19134
  stateMutability: "nonpayable"
16738
19135
  },
16739
19136
  { type: "receive", stateMutability: "payable" },
16740
19137
  {
16741
- type: "function",
16742
- inputs: [],
16743
- name: "authority",
16744
- outputs: [{ name: "", internalType: "address", type: "address" }],
16745
- stateMutability: "view"
19138
+ type: "function",
19139
+ inputs: [],
19140
+ name: "acceptOwnership",
19141
+ outputs: [],
19142
+ stateMutability: "nonpayable"
16746
19143
  },
16747
19144
  {
16748
19145
  type: "function",
@@ -16754,6 +19151,13 @@ var zoraLimitOrderBookABI = [
16754
19151
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16755
19152
  stateMutability: "view"
16756
19153
  },
19154
+ {
19155
+ type: "function",
19156
+ inputs: [],
19157
+ name: "contractVersion",
19158
+ outputs: [{ name: "", internalType: "string", type: "string" }],
19159
+ stateMutability: "pure"
19160
+ },
16757
19161
  {
16758
19162
  type: "function",
16759
19163
  inputs: [
@@ -16844,6 +19248,27 @@ var zoraLimitOrderBookABI = [
16844
19248
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16845
19249
  stateMutability: "view"
16846
19250
  },
19251
+ {
19252
+ type: "function",
19253
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
19254
+ name: "isPermittedCaller",
19255
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
19256
+ stateMutability: "view"
19257
+ },
19258
+ {
19259
+ type: "function",
19260
+ inputs: [],
19261
+ name: "owner",
19262
+ outputs: [{ name: "", internalType: "address", type: "address" }],
19263
+ stateMutability: "view"
19264
+ },
19265
+ {
19266
+ type: "function",
19267
+ inputs: [],
19268
+ name: "pendingOwner",
19269
+ outputs: [{ name: "", internalType: "address", type: "address" }],
19270
+ stateMutability: "view"
19271
+ },
16847
19272
  {
16848
19273
  type: "function",
16849
19274
  inputs: [],
@@ -16855,10 +19280,8 @@ var zoraLimitOrderBookABI = [
16855
19280
  },
16856
19281
  {
16857
19282
  type: "function",
16858
- inputs: [
16859
- { name: "newAuthority", internalType: "address", type: "address" }
16860
- ],
16861
- name: "setAuthority",
19283
+ inputs: [],
19284
+ name: "renounceOwnership",
16862
19285
  outputs: [],
16863
19286
  stateMutability: "nonpayable"
16864
19287
  },
@@ -16871,6 +19294,23 @@ var zoraLimitOrderBookABI = [
16871
19294
  outputs: [],
16872
19295
  stateMutability: "nonpayable"
16873
19296
  },
19297
+ {
19298
+ type: "function",
19299
+ inputs: [
19300
+ { name: "callers", internalType: "address[]", type: "address[]" },
19301
+ { name: "permitted", internalType: "bool[]", type: "bool[]" }
19302
+ ],
19303
+ name: "setPermittedCallers",
19304
+ outputs: [],
19305
+ stateMutability: "nonpayable"
19306
+ },
19307
+ {
19308
+ type: "function",
19309
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
19310
+ name: "transferOwnership",
19311
+ outputs: [],
19312
+ stateMutability: "nonpayable"
19313
+ },
16874
19314
  {
16875
19315
  type: "function",
16876
19316
  inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
@@ -16878,6 +19318,13 @@ var zoraLimitOrderBookABI = [
16878
19318
  outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
16879
19319
  stateMutability: "nonpayable"
16880
19320
  },
19321
+ {
19322
+ type: "function",
19323
+ inputs: [],
19324
+ name: "weth",
19325
+ outputs: [{ name: "", internalType: "address", type: "address" }],
19326
+ stateMutability: "view"
19327
+ },
16881
19328
  {
16882
19329
  type: "function",
16883
19330
  inputs: [
@@ -16912,19 +19359,6 @@ var zoraLimitOrderBookABI = [
16912
19359
  ],
16913
19360
  stateMutability: "view"
16914
19361
  },
16915
- {
16916
- type: "event",
16917
- anonymous: false,
16918
- inputs: [
16919
- {
16920
- name: "authority",
16921
- internalType: "address",
16922
- type: "address",
16923
- indexed: false
16924
- }
16925
- ],
16926
- name: "AuthorityUpdated"
16927
- },
16928
19362
  {
16929
19363
  type: "event",
16930
19364
  anonymous: false,
@@ -17103,13 +19537,60 @@ var zoraLimitOrderBookABI = [
17103
19537
  name: "MakerBalanceUpdated"
17104
19538
  },
17105
19539
  {
17106
- type: "error",
17107
- inputs: [{ name: "authority", internalType: "address", type: "address" }],
17108
- name: "AccessManagedInvalidAuthority"
19540
+ type: "event",
19541
+ anonymous: false,
19542
+ inputs: [
19543
+ {
19544
+ name: "previousOwner",
19545
+ internalType: "address",
19546
+ type: "address",
19547
+ indexed: true
19548
+ },
19549
+ {
19550
+ name: "newOwner",
19551
+ internalType: "address",
19552
+ type: "address",
19553
+ indexed: true
19554
+ }
19555
+ ],
19556
+ name: "OwnershipTransferStarted"
19557
+ },
19558
+ {
19559
+ type: "event",
19560
+ anonymous: false,
19561
+ inputs: [
19562
+ {
19563
+ name: "previousOwner",
19564
+ internalType: "address",
19565
+ type: "address",
19566
+ indexed: true
19567
+ },
19568
+ {
19569
+ name: "newOwner",
19570
+ internalType: "address",
19571
+ type: "address",
19572
+ indexed: true
19573
+ }
19574
+ ],
19575
+ name: "OwnershipTransferred"
19576
+ },
19577
+ {
19578
+ type: "event",
19579
+ anonymous: false,
19580
+ inputs: [
19581
+ {
19582
+ name: "caller",
19583
+ internalType: "address",
19584
+ type: "address",
19585
+ indexed: true
19586
+ },
19587
+ { name: "permitted", internalType: "bool", type: "bool", indexed: false }
19588
+ ],
19589
+ name: "PermittedCallerUpdated"
17109
19590
  },
17110
- { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
17111
19591
  { type: "error", inputs: [], name: "AddressZero" },
17112
19592
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
19593
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
17113
19594
  {
17114
19595
  type: "error",
17115
19596
  inputs: [
@@ -17145,11 +19626,24 @@ var zoraLimitOrderBookABI = [
17145
19626
  { type: "error", inputs: [], name: "NotPoolManager" },
17146
19627
  { type: "error", inputs: [], name: "OnlyZoraHook" },
17147
19628
  { type: "error", inputs: [], name: "OrderClosed" },
19629
+ { type: "error", inputs: [], name: "OrderFillable" },
17148
19630
  { type: "error", inputs: [], name: "OrderNotMaker" },
19631
+ {
19632
+ type: "error",
19633
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
19634
+ name: "OwnableInvalidOwner"
19635
+ },
19636
+ {
19637
+ type: "error",
19638
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
19639
+ name: "OwnableUnauthorizedAccount"
19640
+ },
17149
19641
  { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
19642
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
17150
19643
  { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
17151
19644
  { type: "error", inputs: [], name: "UnknownCallback" },
17152
19645
  { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
19646
+ { type: "error", inputs: [], name: "WethTransferFailed" },
17153
19647
  { type: "error", inputs: [], name: "ZeroMaker" },
17154
19648
  { type: "error", inputs: [], name: "ZeroOrderSize" },
17155
19649
  { type: "error", inputs: [], name: "ZeroRealizedOrder" },
@@ -17239,7 +19733,6 @@ var zoraLimitOrderBookABI = [
17239
19733
  ],
17240
19734
  name: "InvalidAccountNonce"
17241
19735
  },
17242
- { type: "error", inputs: [], name: "InvalidCurrency" },
17243
19736
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
17244
19737
  { type: "error", inputs: [], name: "InvalidInitialization" },
17245
19738
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -17352,7 +19845,7 @@ var zoraLimitOrderBookABI = [
17352
19845
  { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
17353
19846
  ];
17354
19847
  var zoraLimitOrderBookAddress = {
17355
- 8453: "0x198419084C13d59c7b3E4c469A3d15b31263B06C"
19848
+ 8453: "0x7777777A5906659b67CE61511489Ae76DA63920f"
17356
19849
  };
17357
19850
  var zoraLimitOrderBookConfig = {
17358
19851
  address: zoraLimitOrderBookAddress,
@@ -19042,11 +21535,26 @@ var zoraRouterABI = [
19042
21535
  internalType: "contract ISwapRouter",
19043
21536
  type: "address"
19044
21537
  },
19045
- { name: "permit2_", internalType: "address", type: "address" }
21538
+ { name: "permit2_", internalType: "address", type: "address" },
21539
+ { name: "owner_", internalType: "address", type: "address" }
19046
21540
  ],
19047
21541
  stateMutability: "nonpayable"
19048
21542
  },
19049
21543
  { type: "receive", stateMutability: "payable" },
21544
+ {
21545
+ type: "function",
21546
+ inputs: [],
21547
+ name: "acceptOwnership",
21548
+ outputs: [],
21549
+ stateMutability: "nonpayable"
21550
+ },
21551
+ {
21552
+ type: "function",
21553
+ inputs: [],
21554
+ name: "contractVersion",
21555
+ outputs: [{ name: "", internalType: "string", type: "string" }],
21556
+ stateMutability: "pure"
21557
+ },
19050
21558
  {
19051
21559
  type: "function",
19052
21560
  inputs: [],
@@ -19071,6 +21579,20 @@ var zoraRouterABI = [
19071
21579
  outputs: [{ name: "", internalType: "address", type: "address" }],
19072
21580
  stateMutability: "view"
19073
21581
  },
21582
+ {
21583
+ type: "function",
21584
+ inputs: [],
21585
+ name: "owner",
21586
+ outputs: [{ name: "", internalType: "address", type: "address" }],
21587
+ stateMutability: "view"
21588
+ },
21589
+ {
21590
+ type: "function",
21591
+ inputs: [],
21592
+ name: "pendingOwner",
21593
+ outputs: [{ name: "", internalType: "address", type: "address" }],
21594
+ stateMutability: "view"
21595
+ },
19074
21596
  {
19075
21597
  type: "function",
19076
21598
  inputs: [],
@@ -19080,6 +21602,13 @@ var zoraRouterABI = [
19080
21602
  ],
19081
21603
  stateMutability: "view"
19082
21604
  },
21605
+ {
21606
+ type: "function",
21607
+ inputs: [],
21608
+ name: "renounceOwnership",
21609
+ outputs: [],
21610
+ stateMutability: "nonpayable"
21611
+ },
19083
21612
  {
19084
21613
  type: "function",
19085
21614
  inputs: [
@@ -19159,6 +21688,13 @@ var zoraRouterABI = [
19159
21688
  outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
19160
21689
  stateMutability: "payable"
19161
21690
  },
21691
+ {
21692
+ type: "function",
21693
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
21694
+ name: "transferOwnership",
21695
+ outputs: [],
21696
+ stateMutability: "nonpayable"
21697
+ },
19162
21698
  {
19163
21699
  type: "function",
19164
21700
  inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
@@ -19198,6 +21734,44 @@ var zoraRouterABI = [
19198
21734
  ],
19199
21735
  name: "LimitOrderConfigUpdated"
19200
21736
  },
21737
+ {
21738
+ type: "event",
21739
+ anonymous: false,
21740
+ inputs: [
21741
+ {
21742
+ name: "previousOwner",
21743
+ internalType: "address",
21744
+ type: "address",
21745
+ indexed: true
21746
+ },
21747
+ {
21748
+ name: "newOwner",
21749
+ internalType: "address",
21750
+ type: "address",
21751
+ indexed: true
21752
+ }
21753
+ ],
21754
+ name: "OwnershipTransferStarted"
21755
+ },
21756
+ {
21757
+ type: "event",
21758
+ anonymous: false,
21759
+ inputs: [
21760
+ {
21761
+ name: "previousOwner",
21762
+ internalType: "address",
21763
+ type: "address",
21764
+ indexed: true
21765
+ },
21766
+ {
21767
+ name: "newOwner",
21768
+ internalType: "address",
21769
+ type: "address",
21770
+ indexed: true
21771
+ }
21772
+ ],
21773
+ name: "OwnershipTransferred"
21774
+ },
19201
21775
  {
19202
21776
  type: "event",
19203
21777
  anonymous: false,
@@ -19227,12 +21801,6 @@ var zoraRouterABI = [
19227
21801
  ],
19228
21802
  indexed: false
19229
21803
  },
19230
- {
19231
- name: "delta",
19232
- internalType: "BalanceDelta",
19233
- type: "int256",
19234
- indexed: false
19235
- },
19236
21804
  {
19237
21805
  name: "tickBeforeSwap",
19238
21806
  internalType: "int24",
@@ -19245,6 +21813,24 @@ var zoraRouterABI = [
19245
21813
  type: "int24",
19246
21814
  indexed: false
19247
21815
  },
21816
+ {
21817
+ name: "amount0",
21818
+ internalType: "int128",
21819
+ type: "int128",
21820
+ indexed: false
21821
+ },
21822
+ {
21823
+ name: "amount1",
21824
+ internalType: "int128",
21825
+ type: "int128",
21826
+ indexed: false
21827
+ },
21828
+ {
21829
+ name: "sqrtPriceX96",
21830
+ internalType: "uint160",
21831
+ type: "uint160",
21832
+ indexed: false
21833
+ },
19248
21834
  {
19249
21835
  name: "orders",
19250
21836
  internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
@@ -19260,7 +21846,6 @@ var zoraRouterABI = [
19260
21846
  name: "SwapWithLimitOrdersExecuted"
19261
21847
  },
19262
21848
  { type: "error", inputs: [], name: "EmptyV4Route" },
19263
- { type: "error", inputs: [], name: "FromAddressIsNotOwner" },
19264
21849
  {
19265
21850
  type: "error",
19266
21851
  inputs: [
@@ -19275,8 +21860,17 @@ var zoraRouterABI = [
19275
21860
  { type: "error", inputs: [], name: "InvalidMultiple" },
19276
21861
  { type: "error", inputs: [], name: "InvalidPercent" },
19277
21862
  { type: "error", inputs: [], name: "LengthMismatch" },
19278
- { type: "error", inputs: [], name: "OnlyAuthority" },
19279
21863
  { type: "error", inputs: [], name: "OnlyPoolManager" },
21864
+ {
21865
+ type: "error",
21866
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
21867
+ name: "OwnableInvalidOwner"
21868
+ },
21869
+ {
21870
+ type: "error",
21871
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
21872
+ name: "OwnableUnauthorizedAccount"
21873
+ },
19280
21874
  { type: "error", inputs: [], name: "PercentOverflow" },
19281
21875
  {
19282
21876
  type: "error",
@@ -19372,7 +21966,6 @@ var zoraRouterABI = [
19372
21966
  ],
19373
21967
  name: "InvalidAccountNonce"
19374
21968
  },
19375
- { type: "error", inputs: [], name: "InvalidCurrency" },
19376
21969
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
19377
21970
  { type: "error", inputs: [], name: "InvalidInitialization" },
19378
21971
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -19483,14 +22076,9 @@ var zoraRouterABI = [
19483
22076
  },
19484
22077
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
19485
22078
  { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
19486
- {
19487
- type: "error",
19488
- inputs: [{ name: "authority", internalType: "address", type: "address" }],
19489
- name: "AccessManagedInvalidAuthority"
19490
- },
19491
- { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
19492
22079
  { type: "error", inputs: [], name: "AddressZero" },
19493
22080
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
22081
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
19494
22082
  {
19495
22083
  type: "error",
19496
22084
  inputs: [
@@ -19526,17 +22114,30 @@ var zoraRouterABI = [
19526
22114
  { type: "error", inputs: [], name: "NotPoolManager" },
19527
22115
  { type: "error", inputs: [], name: "OnlyZoraHook" },
19528
22116
  { type: "error", inputs: [], name: "OrderClosed" },
22117
+ { type: "error", inputs: [], name: "OrderFillable" },
19529
22118
  { type: "error", inputs: [], name: "OrderNotMaker" },
22119
+ {
22120
+ type: "error",
22121
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
22122
+ name: "OwnableInvalidOwner"
22123
+ },
22124
+ {
22125
+ type: "error",
22126
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
22127
+ name: "OwnableUnauthorizedAccount"
22128
+ },
19530
22129
  { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
22130
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
19531
22131
  { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
19532
22132
  { type: "error", inputs: [], name: "UnknownCallback" },
19533
22133
  { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
22134
+ { type: "error", inputs: [], name: "WethTransferFailed" },
19534
22135
  { type: "error", inputs: [], name: "ZeroMaker" },
19535
22136
  { type: "error", inputs: [], name: "ZeroOrderSize" },
19536
22137
  { type: "error", inputs: [], name: "ZeroRealizedOrder" }
19537
22138
  ];
19538
22139
  var zoraRouterAddress = {
19539
- 8453: "0x42E354928b1BD9082FAFc2dF01222827E9fD098F"
22140
+ 8453: "0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2"
19540
22141
  };
19541
22142
  var zoraRouterConfig = {
19542
22143
  address: zoraRouterAddress,
@@ -21583,7 +24184,7 @@ var zoraTimedSaleStrategyConfig = {
21583
24184
  abi: zoraTimedSaleStrategyABI
21584
24185
  };
21585
24186
 
21586
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/errors/unit.js
24187
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/errors/unit.js
21587
24188
  init_base();
21588
24189
  var InvalidDecimalNumberError = class extends BaseError {
21589
24190
  constructor({ value }) {
@@ -21593,7 +24194,7 @@ var InvalidDecimalNumberError = class extends BaseError {
21593
24194
  }
21594
24195
  };
21595
24196
 
21596
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/unit/parseUnits.js
24197
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/parseUnits.js
21597
24198
  function parseUnits(value, decimals) {
21598
24199
  if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
21599
24200
  throw new InvalidDecimalNumberError({ value });
@@ -21628,13 +24229,13 @@ function parseUnits(value, decimals) {
21628
24229
  return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
21629
24230
  }
21630
24231
 
21631
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/utils/unit/parseEther.js
24232
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/utils/unit/parseEther.js
21632
24233
  init_unit();
21633
24234
  function parseEther(ether, unit = "wei") {
21634
24235
  return parseUnits(ether, etherUnits[unit]);
21635
24236
  }
21636
24237
 
21637
- // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.0.9_typescript@5.8.3_utf-8-validate@5.0.10_zod@3.24.1/node_modules/viem/_esm/index.js
24238
+ // ../../node_modules/.pnpm/viem@2.22.12_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@3.25.76/node_modules/viem/_esm/index.js
21638
24239
  init_decodeAbiParameters();
21639
24240
  init_encodeAbiParameters();
21640
24241
  init_getAbiItem();
@@ -22579,6 +25180,18 @@ var addresses2 = {
22579
25180
  commentsConfig,
22580
25181
  contracts1155,
22581
25182
  decodeBuySupplyWithSwapRouterHookReturn,
25183
+ devBuySupplyWithSwapRouterHookABI,
25184
+ devBuySupplyWithSwapRouterHookAddress,
25185
+ devBuySupplyWithSwapRouterHookConfig,
25186
+ devCoinFactoryABI,
25187
+ devCoinFactoryAddress,
25188
+ devCoinFactoryConfig,
25189
+ devZoraLimitOrderBookABI,
25190
+ devZoraLimitOrderBookAddress,
25191
+ devZoraLimitOrderBookConfig,
25192
+ devZoraRouterABI,
25193
+ devZoraRouterAddress,
25194
+ devZoraRouterConfig,
22582
25195
  emptyCommentIdentifier,
22583
25196
  encodeMultiCurvePoolConfig,
22584
25197
  encodePremintConfig,