@zoralabs/protocol-deployments 0.2.0 → 0.2.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/abitype/dist/esm/regex.js
23
+ // ../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/regex.js
24
24
  function execTyped(regex, string) {
25
25
  const match = regex.exec(string);
26
26
  return match?.groups;
27
27
  }
28
28
  var init_regex = __esm({
29
- "../../node_modules/abitype/dist/esm/regex.js"() {
29
+ "../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/regex.js"() {
30
30
  "use strict";
31
31
  }
32
32
  });
33
33
 
34
- // ../../node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
34
+ // ../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js
35
35
  function formatAbiParameter(abiParameter) {
36
36
  let type = abiParameter.type;
37
37
  if (tupleRegex.test(abiParameter.type) && "components" in abiParameter) {
@@ -58,14 +58,14 @@ function formatAbiParameter(abiParameter) {
58
58
  }
59
59
  var tupleRegex;
60
60
  var init_formatAbiParameter = __esm({
61
- "../../node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js"() {
61
+ "../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js"() {
62
62
  "use strict";
63
63
  init_regex();
64
64
  tupleRegex = /^tuple(?<array>(\[(\d*)\])*)$/;
65
65
  }
66
66
  });
67
67
 
68
- // ../../node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
68
+ // ../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js
69
69
  function formatAbiParameters(abiParameters) {
70
70
  let params = "";
71
71
  const length = abiParameters.length;
@@ -78,42 +78,42 @@ function formatAbiParameters(abiParameters) {
78
78
  return params;
79
79
  }
80
80
  var init_formatAbiParameters = __esm({
81
- "../../node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js"() {
81
+ "../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js"() {
82
82
  "use strict";
83
83
  init_formatAbiParameter();
84
84
  }
85
85
  });
86
86
 
87
- // ../../node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
87
+ // ../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js
88
88
  function formatAbiItem(abiItem) {
89
89
  if (abiItem.type === "function")
90
90
  return `function ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== "nonpayable" ? ` ${abiItem.stateMutability}` : ""}${abiItem.outputs.length ? ` returns (${formatAbiParameters(abiItem.outputs)})` : ""}`;
91
- else if (abiItem.type === "event")
91
+ if (abiItem.type === "event")
92
92
  return `event ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})`;
93
- else if (abiItem.type === "error")
93
+ if (abiItem.type === "error")
94
94
  return `error ${abiItem.name}(${formatAbiParameters(abiItem.inputs)})`;
95
- else if (abiItem.type === "constructor")
95
+ if (abiItem.type === "constructor")
96
96
  return `constructor(${formatAbiParameters(abiItem.inputs)})${abiItem.stateMutability === "payable" ? " payable" : ""}`;
97
- else if (abiItem.type === "fallback")
97
+ if (abiItem.type === "fallback")
98
98
  return "fallback()";
99
99
  return "receive() external payable";
100
100
  }
101
101
  var init_formatAbiItem = __esm({
102
- "../../node_modules/abitype/dist/esm/human-readable/formatAbiItem.js"() {
102
+ "../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js"() {
103
103
  "use strict";
104
104
  init_formatAbiParameters();
105
105
  }
106
106
  });
107
107
 
108
- // ../../node_modules/abitype/dist/esm/exports/index.js
108
+ // ../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/exports/index.js
109
109
  var init_exports = __esm({
110
- "../../node_modules/abitype/dist/esm/exports/index.js"() {
110
+ "../../node_modules/.pnpm/abitype@1.0.5_typescript@5.5.3_zod@3.23.8/node_modules/abitype/dist/esm/exports/index.js"() {
111
111
  "use strict";
112
112
  init_formatAbiItem();
113
113
  }
114
114
  });
115
115
 
116
- // ../../node_modules/viem/_esm/utils/abi/formatAbiItem.js
116
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/formatAbiItem.js
117
117
  function formatAbiItem2(abiItem, { includeName = false } = {}) {
118
118
  if (abiItem.type !== "function" && abiItem.type !== "event" && abiItem.type !== "error")
119
119
  throw new InvalidDefinitionTypeError(abiItem.type);
@@ -131,13 +131,13 @@ function formatAbiParam(param, { includeName }) {
131
131
  return param.type + (includeName && param.name ? ` ${param.name}` : "");
132
132
  }
133
133
  var init_formatAbiItem2 = __esm({
134
- "../../node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
134
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/formatAbiItem.js"() {
135
135
  "use strict";
136
136
  init_abi();
137
137
  }
138
138
  });
139
139
 
140
- // ../../node_modules/viem/_esm/utils/data/isHex.js
140
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/isHex.js
141
141
  function isHex(value, { strict = true } = {}) {
142
142
  if (!value)
143
143
  return false;
@@ -146,44 +146,44 @@ 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/viem/_esm/utils/data/isHex.js"() {
149
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/isHex.js"() {
150
150
  "use strict";
151
151
  }
152
152
  });
153
153
 
154
- // ../../node_modules/viem/_esm/utils/data/size.js
154
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/size.js
155
155
  function size(value) {
156
156
  if (isHex(value, { strict: false }))
157
157
  return Math.ceil((value.length - 2) / 2);
158
158
  return value.length;
159
159
  }
160
160
  var init_size = __esm({
161
- "../../node_modules/viem/_esm/utils/data/size.js"() {
161
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/size.js"() {
162
162
  "use strict";
163
163
  init_isHex();
164
164
  }
165
165
  });
166
166
 
167
- // ../../node_modules/viem/_esm/errors/version.js
167
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/version.js
168
168
  var version;
169
169
  var init_version = __esm({
170
- "../../node_modules/viem/_esm/errors/version.js"() {
170
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/version.js"() {
171
171
  "use strict";
172
- version = "2.12.1";
172
+ version = "2.17.9";
173
173
  }
174
174
  });
175
175
 
176
- // ../../node_modules/viem/_esm/errors/utils.js
176
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/utils.js
177
177
  var getVersion;
178
178
  var init_utils = __esm({
179
- "../../node_modules/viem/_esm/errors/utils.js"() {
179
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/utils.js"() {
180
180
  "use strict";
181
181
  init_version();
182
182
  getVersion = () => `viem@${version}`;
183
183
  }
184
184
  });
185
185
 
186
- // ../../node_modules/viem/_esm/errors/base.js
186
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/base.js
187
187
  function walk(err, fn) {
188
188
  if (fn?.(err))
189
189
  return err;
@@ -193,7 +193,7 @@ function walk(err, fn) {
193
193
  }
194
194
  var BaseError;
195
195
  var init_base = __esm({
196
- "../../node_modules/viem/_esm/errors/base.js"() {
196
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/base.js"() {
197
197
  "use strict";
198
198
  init_utils();
199
199
  BaseError = class _BaseError extends Error {
@@ -242,7 +242,7 @@ var init_base = __esm({
242
242
  "",
243
243
  ...args.metaMessages ? [...args.metaMessages, ""] : [],
244
244
  ...docsPath ? [
245
- `Docs: https://viem.sh${docsPath}${args.docsSlug ? `#${args.docsSlug}` : ""}`
245
+ `Docs: ${args.docsBaseUrl ?? "https://viem.sh"}${docsPath}${args.docsSlug ? `#${args.docsSlug}` : ""}`
246
246
  ] : [],
247
247
  ...details ? [`Details: ${details}`] : [],
248
248
  `Version: ${this.version}`
@@ -261,10 +261,10 @@ var init_base = __esm({
261
261
  }
262
262
  });
263
263
 
264
- // ../../node_modules/viem/_esm/errors/abi.js
264
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/abi.js
265
265
  var AbiEncodingArrayLengthMismatchError, AbiEncodingBytesSizeMismatchError, AbiEncodingLengthMismatchError, AbiItemAmbiguityError, InvalidAbiEncodingTypeError, InvalidArrayError, InvalidDefinitionTypeError;
266
266
  var init_abi = __esm({
267
- "../../node_modules/viem/_esm/errors/abi.js"() {
267
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/abi.js"() {
268
268
  "use strict";
269
269
  init_formatAbiItem2();
270
270
  init_size();
@@ -371,10 +371,10 @@ var init_abi = __esm({
371
371
  }
372
372
  });
373
373
 
374
- // ../../node_modules/viem/_esm/errors/data.js
374
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/data.js
375
375
  var SliceOffsetOutOfBoundsError, SizeExceedsPaddingSizeError;
376
376
  var init_data = __esm({
377
- "../../node_modules/viem/_esm/errors/data.js"() {
377
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/data.js"() {
378
378
  "use strict";
379
379
  init_base();
380
380
  SliceOffsetOutOfBoundsError = class extends BaseError {
@@ -402,7 +402,7 @@ var init_data = __esm({
402
402
  }
403
403
  });
404
404
 
405
- // ../../node_modules/viem/_esm/utils/data/pad.js
405
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/pad.js
406
406
  function pad(hexOrBytes, { dir, size: size2 = 32 } = {}) {
407
407
  if (typeof hexOrBytes === "string")
408
408
  return padHex(hexOrBytes, { dir, size: size2 });
@@ -437,16 +437,16 @@ function padBytes(bytes2, { dir, size: size2 = 32 } = {}) {
437
437
  return paddedBytes;
438
438
  }
439
439
  var init_pad = __esm({
440
- "../../node_modules/viem/_esm/utils/data/pad.js"() {
440
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/pad.js"() {
441
441
  "use strict";
442
442
  init_data();
443
443
  }
444
444
  });
445
445
 
446
- // ../../node_modules/viem/_esm/errors/encoding.js
446
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/encoding.js
447
447
  var IntegerOutOfRangeError, SizeOverflowError;
448
448
  var init_encoding = __esm({
449
- "../../node_modules/viem/_esm/errors/encoding.js"() {
449
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/encoding.js"() {
450
450
  "use strict";
451
451
  init_base();
452
452
  IntegerOutOfRangeError = class extends BaseError {
@@ -474,7 +474,7 @@ var init_encoding = __esm({
474
474
  }
475
475
  });
476
476
 
477
- // ../../node_modules/viem/_esm/utils/encoding/fromHex.js
477
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromHex.js
478
478
  function assertSize(hexOrBytes, { size: size2 }) {
479
479
  if (size(hexOrBytes) > size2)
480
480
  throw new SizeOverflowError({
@@ -483,14 +483,14 @@ function assertSize(hexOrBytes, { size: size2 }) {
483
483
  });
484
484
  }
485
485
  var init_fromHex = __esm({
486
- "../../node_modules/viem/_esm/utils/encoding/fromHex.js"() {
486
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/fromHex.js"() {
487
487
  "use strict";
488
488
  init_encoding();
489
489
  init_size();
490
490
  }
491
491
  });
492
492
 
493
- // ../../node_modules/viem/_esm/utils/encoding/toHex.js
493
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toHex.js
494
494
  function toHex(value, opts = {}) {
495
495
  if (typeof value === "number" || typeof value === "bigint")
496
496
  return numberToHex(value, opts);
@@ -555,7 +555,7 @@ function stringToHex(value_, opts = {}) {
555
555
  }
556
556
  var hexes, encoder;
557
557
  var init_toHex = __esm({
558
- "../../node_modules/viem/_esm/utils/encoding/toHex.js"() {
558
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toHex.js"() {
559
559
  "use strict";
560
560
  init_encoding();
561
561
  init_pad();
@@ -565,7 +565,7 @@ var init_toHex = __esm({
565
565
  }
566
566
  });
567
567
 
568
- // ../../node_modules/viem/_esm/utils/encoding/toBytes.js
568
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toBytes.js
569
569
  function toBytes(value, opts = {}) {
570
570
  if (typeof value === "number" || typeof value === "bigint")
571
571
  return numberToBytes(value, opts);
@@ -628,7 +628,7 @@ function stringToBytes(value, opts = {}) {
628
628
  }
629
629
  var encoder2, charCodeMap;
630
630
  var init_toBytes = __esm({
631
- "../../node_modules/viem/_esm/utils/encoding/toBytes.js"() {
631
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/encoding/toBytes.js"() {
632
632
  "use strict";
633
633
  init_base();
634
634
  init_isHex();
@@ -647,16 +647,19 @@ var init_toBytes = __esm({
647
647
  }
648
648
  });
649
649
 
650
- // ../../node_modules/@noble/hashes/esm/_assert.js
650
+ // ../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/_assert.js
651
651
  function number(n) {
652
652
  if (!Number.isSafeInteger(n) || n < 0)
653
- throw new Error(`Wrong positive integer: ${n}`);
653
+ throw new Error(`positive integer expected, not ${n}`);
654
+ }
655
+ function isBytes(a) {
656
+ return a instanceof Uint8Array || a != null && typeof a === "object" && a.constructor.name === "Uint8Array";
654
657
  }
655
658
  function bytes(b, ...lengths) {
656
- if (!(b instanceof Uint8Array))
657
- throw new Error("Expected Uint8Array");
659
+ if (!isBytes(b))
660
+ throw new Error("Uint8Array expected");
658
661
  if (lengths.length > 0 && !lengths.includes(b.length))
659
- throw new Error(`Expected Uint8Array of length ${lengths}, not of length=${b.length}`);
662
+ throw new Error(`Uint8Array expected of length ${lengths}, not of length=${b.length}`);
660
663
  }
661
664
  function exists(instance, checkFinished = true) {
662
665
  if (instance.destroyed)
@@ -672,12 +675,12 @@ function output(out, instance) {
672
675
  }
673
676
  }
674
677
  var init_assert = __esm({
675
- "../../node_modules/@noble/hashes/esm/_assert.js"() {
678
+ "../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/_assert.js"() {
676
679
  "use strict";
677
680
  }
678
681
  });
679
682
 
680
- // ../../node_modules/@noble/hashes/esm/_u64.js
683
+ // ../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/_u64.js
681
684
  function fromBig(n, le = false) {
682
685
  if (le)
683
686
  return { h: Number(n & U32_MASK64), l: Number(n >> _32n & U32_MASK64) };
@@ -694,7 +697,7 @@ function split(lst, le = false) {
694
697
  }
695
698
  var U32_MASK64, _32n, rotlSH, rotlSL, rotlBH, rotlBL;
696
699
  var init_u64 = __esm({
697
- "../../node_modules/@noble/hashes/esm/_u64.js"() {
700
+ "../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/_u64.js"() {
698
701
  "use strict";
699
702
  U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);
700
703
  _32n = /* @__PURE__ */ BigInt(32);
@@ -705,7 +708,12 @@ var init_u64 = __esm({
705
708
  }
706
709
  });
707
710
 
708
- // ../../node_modules/@noble/hashes/esm/utils.js
711
+ // ../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/utils.js
712
+ function byteSwap32(arr) {
713
+ for (let i = 0; i < arr.length; i++) {
714
+ arr[i] = byteSwap(arr[i]);
715
+ }
716
+ }
709
717
  function utf8ToBytes(str) {
710
718
  if (typeof str !== "string")
711
719
  throw new Error(`utf8ToBytes expected string, got ${typeof str}`);
@@ -714,8 +722,7 @@ function utf8ToBytes(str) {
714
722
  function toBytes2(data) {
715
723
  if (typeof data === "string")
716
724
  data = utf8ToBytes(data);
717
- if (!u8a(data))
718
- throw new Error(`expected Uint8Array, got ${typeof data}`);
725
+ bytes(data);
719
726
  return data;
720
727
  }
721
728
  function wrapConstructor(hashCons) {
@@ -734,15 +741,14 @@ function wrapXOFConstructorWithOpts(hashCons) {
734
741
  hashC.create = (opts) => hashCons(opts);
735
742
  return hashC;
736
743
  }
737
- var u8a, u32, isLE, Hash, toStr;
744
+ var u32, isLE, byteSwap, Hash, toStr;
738
745
  var init_utils2 = __esm({
739
- "../../node_modules/@noble/hashes/esm/utils.js"() {
746
+ "../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/utils.js"() {
740
747
  "use strict";
741
- u8a = (a) => a instanceof Uint8Array;
748
+ init_assert();
742
749
  u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));
743
750
  isLE = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
744
- if (!isLE)
745
- throw new Error("Non little-endian hardware is not supported");
751
+ byteSwap = (word) => word << 24 & 4278190080 | word << 8 & 16711680 | word >>> 8 & 65280 | word >>> 24 & 255;
746
752
  Hash = class {
747
753
  // Safe version that clones internal state
748
754
  clone() {
@@ -753,7 +759,7 @@ var init_utils2 = __esm({
753
759
  }
754
760
  });
755
761
 
756
- // ../../node_modules/@noble/hashes/esm/sha3.js
762
+ // ../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/sha3.js
757
763
  function keccakP(s, rounds = 24) {
758
764
  const B = new Uint32Array(5 * 2);
759
765
  for (let round = 24 - rounds; round < 24; round++) {
@@ -796,12 +802,14 @@ function keccakP(s, rounds = 24) {
796
802
  }
797
803
  var SHA3_PI, SHA3_ROTL, _SHA3_IOTA, _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_IOTA_H, SHA3_IOTA_L, rotlH, rotlL, Keccak, gen, sha3_224, sha3_256, sha3_384, sha3_512, keccak_224, keccak_256, keccak_384, keccak_512, genShake, shake128, shake256;
798
804
  var init_sha3 = __esm({
799
- "../../node_modules/@noble/hashes/esm/sha3.js"() {
805
+ "../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/esm/sha3.js"() {
800
806
  "use strict";
801
807
  init_assert();
802
808
  init_u64();
803
809
  init_utils2();
804
- [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];
810
+ SHA3_PI = [];
811
+ SHA3_ROTL = [];
812
+ _SHA3_IOTA = [];
805
813
  _0n = /* @__PURE__ */ BigInt(0);
806
814
  _1n = /* @__PURE__ */ BigInt(1);
807
815
  _2n = /* @__PURE__ */ BigInt(2);
@@ -843,7 +851,11 @@ var init_sha3 = __esm({
843
851
  this.state32 = u32(this.state);
844
852
  }
845
853
  keccak() {
854
+ if (!isLE)
855
+ byteSwap32(this.state32);
846
856
  keccakP(this.state32, this.rounds);
857
+ if (!isLE)
858
+ byteSwap32(this.state32);
847
859
  this.posOut = 0;
848
860
  this.pos = 0;
849
861
  }
@@ -942,7 +954,7 @@ var init_sha3 = __esm({
942
954
  }
943
955
  });
944
956
 
945
- // ../../node_modules/viem/_esm/utils/hash/keccak256.js
957
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/keccak256.js
946
958
  function keccak256(value, to_) {
947
959
  const to = to_ || "hex";
948
960
  const bytes2 = keccak_256(isHex(value, { strict: false }) ? toBytes(value) : value);
@@ -951,7 +963,7 @@ function keccak256(value, to_) {
951
963
  return toHex(bytes2);
952
964
  }
953
965
  var init_keccak256 = __esm({
954
- "../../node_modules/viem/_esm/utils/hash/keccak256.js"() {
966
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/keccak256.js"() {
955
967
  "use strict";
956
968
  init_sha3();
957
969
  init_isHex();
@@ -960,13 +972,13 @@ var init_keccak256 = __esm({
960
972
  }
961
973
  });
962
974
 
963
- // ../../node_modules/viem/_esm/utils/hash/hashSignature.js
975
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/hashSignature.js
964
976
  function hashSignature(sig) {
965
977
  return hash(sig);
966
978
  }
967
979
  var hash;
968
980
  var init_hashSignature = __esm({
969
- "../../node_modules/viem/_esm/utils/hash/hashSignature.js"() {
981
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/hashSignature.js"() {
970
982
  "use strict";
971
983
  init_toBytes();
972
984
  init_keccak256();
@@ -974,7 +986,7 @@ var init_hashSignature = __esm({
974
986
  }
975
987
  });
976
988
 
977
- // ../../node_modules/viem/_esm/utils/hash/normalizeSignature.js
989
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/normalizeSignature.js
978
990
  function normalizeSignature(signature) {
979
991
  let active = true;
980
992
  let current = "";
@@ -1018,16 +1030,16 @@ function normalizeSignature(signature) {
1018
1030
  return result;
1019
1031
  }
1020
1032
  var init_normalizeSignature = __esm({
1021
- "../../node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
1033
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/normalizeSignature.js"() {
1022
1034
  "use strict";
1023
1035
  init_base();
1024
1036
  }
1025
1037
  });
1026
1038
 
1027
- // ../../node_modules/viem/_esm/utils/hash/toSignature.js
1039
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignature.js
1028
1040
  var toSignature;
1029
1041
  var init_toSignature = __esm({
1030
- "../../node_modules/viem/_esm/utils/hash/toSignature.js"() {
1042
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignature.js"() {
1031
1043
  "use strict";
1032
1044
  init_exports();
1033
1045
  init_normalizeSignature();
@@ -1042,32 +1054,32 @@ var init_toSignature = __esm({
1042
1054
  }
1043
1055
  });
1044
1056
 
1045
- // ../../node_modules/viem/_esm/utils/hash/toSignatureHash.js
1057
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignatureHash.js
1046
1058
  function toSignatureHash(fn) {
1047
1059
  return hashSignature(toSignature(fn));
1048
1060
  }
1049
1061
  var init_toSignatureHash = __esm({
1050
- "../../node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
1062
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toSignatureHash.js"() {
1051
1063
  "use strict";
1052
1064
  init_hashSignature();
1053
1065
  init_toSignature();
1054
1066
  }
1055
1067
  });
1056
1068
 
1057
- // ../../node_modules/viem/_esm/utils/hash/toEventSelector.js
1069
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toEventSelector.js
1058
1070
  var toEventSelector;
1059
1071
  var init_toEventSelector = __esm({
1060
- "../../node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
1072
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toEventSelector.js"() {
1061
1073
  "use strict";
1062
1074
  init_toSignatureHash();
1063
1075
  toEventSelector = toSignatureHash;
1064
1076
  }
1065
1077
  });
1066
1078
 
1067
- // ../../node_modules/viem/_esm/errors/address.js
1079
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/address.js
1068
1080
  var InvalidAddressError;
1069
1081
  var init_address = __esm({
1070
- "../../node_modules/viem/_esm/errors/address.js"() {
1082
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/address.js"() {
1071
1083
  "use strict";
1072
1084
  init_base();
1073
1085
  InvalidAddressError = class extends BaseError {
@@ -1089,10 +1101,10 @@ var init_address = __esm({
1089
1101
  }
1090
1102
  });
1091
1103
 
1092
- // ../../node_modules/viem/_esm/utils/lru.js
1104
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/lru.js
1093
1105
  var LruMap;
1094
1106
  var init_lru = __esm({
1095
- "../../node_modules/viem/_esm/utils/lru.js"() {
1107
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/lru.js"() {
1096
1108
  "use strict";
1097
1109
  LruMap = class extends Map {
1098
1110
  constructor(size2) {
@@ -1115,7 +1127,7 @@ var init_lru = __esm({
1115
1127
  }
1116
1128
  });
1117
1129
 
1118
- // ../../node_modules/viem/_esm/utils/address/getAddress.js
1130
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/getAddress.js
1119
1131
  function checksumAddress(address_, chainId) {
1120
1132
  if (checksumAddressCache.has(`${address_}.${chainId}`))
1121
1133
  return checksumAddressCache.get(`${address_}.${chainId}`);
@@ -1136,7 +1148,7 @@ function checksumAddress(address_, chainId) {
1136
1148
  }
1137
1149
  var checksumAddressCache;
1138
1150
  var init_getAddress = __esm({
1139
- "../../node_modules/viem/_esm/utils/address/getAddress.js"() {
1151
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/getAddress.js"() {
1140
1152
  "use strict";
1141
1153
  init_toBytes();
1142
1154
  init_keccak256();
@@ -1145,7 +1157,7 @@ var init_getAddress = __esm({
1145
1157
  }
1146
1158
  });
1147
1159
 
1148
- // ../../node_modules/viem/_esm/utils/address/isAddress.js
1160
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddress.js
1149
1161
  function isAddress(address, options) {
1150
1162
  const { strict = true } = options ?? {};
1151
1163
  const cacheKey = `${address}.${strict}`;
@@ -1165,7 +1177,7 @@ function isAddress(address, options) {
1165
1177
  }
1166
1178
  var addressRegex, isAddressCache;
1167
1179
  var init_isAddress = __esm({
1168
- "../../node_modules/viem/_esm/utils/address/isAddress.js"() {
1180
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/address/isAddress.js"() {
1169
1181
  "use strict";
1170
1182
  init_lru();
1171
1183
  init_getAddress();
@@ -1174,7 +1186,7 @@ var init_isAddress = __esm({
1174
1186
  }
1175
1187
  });
1176
1188
 
1177
- // ../../node_modules/viem/_esm/utils/data/concat.js
1189
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/concat.js
1178
1190
  function concat(values) {
1179
1191
  if (typeof values[0] === "string")
1180
1192
  return concatHex(values);
@@ -1197,12 +1209,12 @@ function concatHex(values) {
1197
1209
  return `0x${values.reduce((acc, x) => acc + x.replace("0x", ""), "")}`;
1198
1210
  }
1199
1211
  var init_concat = __esm({
1200
- "../../node_modules/viem/_esm/utils/data/concat.js"() {
1212
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/concat.js"() {
1201
1213
  "use strict";
1202
1214
  }
1203
1215
  });
1204
1216
 
1205
- // ../../node_modules/viem/_esm/utils/data/slice.js
1217
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/slice.js
1206
1218
  function slice(value, start, end, { strict } = {}) {
1207
1219
  if (isHex(value, { strict: false }))
1208
1220
  return sliceHex(value, start, end, {
@@ -1244,7 +1256,7 @@ function sliceHex(value_, start, end, { strict } = {}) {
1244
1256
  return value;
1245
1257
  }
1246
1258
  var init_slice = __esm({
1247
- "../../node_modules/viem/_esm/utils/data/slice.js"() {
1259
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/data/slice.js"() {
1248
1260
  "use strict";
1249
1261
  init_data();
1250
1262
  init_isHex();
@@ -1252,7 +1264,7 @@ var init_slice = __esm({
1252
1264
  }
1253
1265
  });
1254
1266
 
1255
- // ../../node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
1267
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js
1256
1268
  function encodeAbiParameters(params, values) {
1257
1269
  if (params.length !== values.length)
1258
1270
  throw new AbiEncodingLengthMismatchError({
@@ -1450,7 +1462,7 @@ function getArrayComponents(type) {
1450
1462
  ) : void 0;
1451
1463
  }
1452
1464
  var init_encodeAbiParameters = __esm({
1453
- "../../node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
1465
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/encodeAbiParameters.js"() {
1454
1466
  "use strict";
1455
1467
  init_abi();
1456
1468
  init_address();
@@ -1464,10 +1476,10 @@ var init_encodeAbiParameters = __esm({
1464
1476
  }
1465
1477
  });
1466
1478
 
1467
- // ../../node_modules/viem/_esm/utils/hash/toFunctionSelector.js
1479
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toFunctionSelector.js
1468
1480
  var toFunctionSelector;
1469
1481
  var init_toFunctionSelector = __esm({
1470
- "../../node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
1482
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/hash/toFunctionSelector.js"() {
1471
1483
  "use strict";
1472
1484
  init_slice();
1473
1485
  init_toSignatureHash();
@@ -1475,7 +1487,7 @@ var init_toFunctionSelector = __esm({
1475
1487
  }
1476
1488
  });
1477
1489
 
1478
- // ../../node_modules/viem/_esm/utils/abi/getAbiItem.js
1490
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/getAbiItem.js
1479
1491
  function getAbiItem(parameters) {
1480
1492
  const { abi, args = [], name } = parameters;
1481
1493
  const isSelector = isHex(name, { strict: false });
@@ -1587,7 +1599,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
1587
1599
  return;
1588
1600
  }
1589
1601
  var init_getAbiItem = __esm({
1590
- "../../node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
1602
+ "../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/abi/getAbiItem.js"() {
1591
1603
  "use strict";
1592
1604
  init_abi();
1593
1605
  init_isHex();
@@ -1607,6 +1619,7 @@ __export(src_exports, {
1607
1619
  erc20MinterAddress: () => erc20MinterAddress,
1608
1620
  erc20MinterConfig: () => erc20MinterConfig,
1609
1621
  iPremintDefinitionsABI: () => iPremintDefinitionsABI,
1622
+ iSponsoredSparksSpenderActionABI: () => iSponsoredSparksSpenderActionABI,
1610
1623
  iUnwrapAndForwardActionABI: () => iUnwrapAndForwardActionABI,
1611
1624
  mintsEthUnwrapperAndCallerABI: () => mintsEthUnwrapperAndCallerABI,
1612
1625
  mintsEthUnwrapperAndCallerAddress: () => mintsEthUnwrapperAndCallerAddress,
@@ -1620,6 +1633,11 @@ __export(src_exports, {
1620
1633
  protocolRewardsAddress: () => protocolRewardsAddress,
1621
1634
  protocolRewardsConfig: () => protocolRewardsConfig,
1622
1635
  sparks: () => sparks_exports,
1636
+ sponsoredSparksBatchTransferTypedDataType: () => sponsoredSparksBatchTransferTypedDataType,
1637
+ sponsoredSparksBatchTypedDataDefinition: () => sponsoredSparksBatchTypedDataDefinition,
1638
+ sponsoredSparksSpenderABI: () => sponsoredSparksSpenderABI,
1639
+ sponsoredSparksSpenderAddress: () => sponsoredSparksSpenderAddress,
1640
+ sponsoredSparksSpenderConfig: () => sponsoredSparksSpenderConfig,
1623
1641
  upgradeGateABI: () => upgradeGateABI,
1624
1642
  upgradeGateAddress: () => upgradeGateAddress,
1625
1643
  upgradeGateConfig: () => upgradeGateConfig,
@@ -2479,6 +2497,42 @@ var iPremintDefinitionsABI = [
2479
2497
  outputs: []
2480
2498
  }
2481
2499
  ];
2500
+ var iSponsoredSparksSpenderActionABI = [
2501
+ {
2502
+ stateMutability: "nonpayable",
2503
+ type: "function",
2504
+ inputs: [
2505
+ {
2506
+ name: "sponsoredMintBatch",
2507
+ internalType: "struct SponsoredMintBatch",
2508
+ type: "tuple",
2509
+ components: [
2510
+ { name: "verifier", internalType: "address", type: "address" },
2511
+ { name: "from", internalType: "address", type: "address" },
2512
+ {
2513
+ name: "destination",
2514
+ internalType: "address payable",
2515
+ type: "address"
2516
+ },
2517
+ { name: "data", internalType: "bytes", type: "bytes" },
2518
+ {
2519
+ name: "expectedRedeemAmount",
2520
+ internalType: "uint256",
2521
+ type: "uint256"
2522
+ },
2523
+ { name: "totalAmount", internalType: "uint256", type: "uint256" },
2524
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
2525
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
2526
+ { name: "nonce", internalType: "uint256", type: "uint256" },
2527
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2528
+ ]
2529
+ },
2530
+ { name: "signature", internalType: "bytes", type: "bytes" }
2531
+ ],
2532
+ name: "sponsoredMintBatch",
2533
+ outputs: []
2534
+ }
2535
+ ];
2482
2536
  var iUnwrapAndForwardActionABI = [
2483
2537
  {
2484
2538
  stateMutability: "payable",
@@ -2855,6 +2909,380 @@ var protocolRewardsConfig = {
2855
2909
  address: protocolRewardsAddress,
2856
2910
  abi: protocolRewardsABI
2857
2911
  };
2912
+ var sponsoredSparksSpenderABI = [
2913
+ {
2914
+ stateMutability: "nonpayable",
2915
+ type: "constructor",
2916
+ inputs: [
2917
+ {
2918
+ name: "_zoraSparks1155",
2919
+ internalType: "contract IZoraSparks1155",
2920
+ type: "address"
2921
+ },
2922
+ { name: "fundsManager", internalType: "address", type: "address" },
2923
+ {
2924
+ name: "defaultVerifiers",
2925
+ internalType: "address[]",
2926
+ type: "address[]"
2927
+ }
2928
+ ]
2929
+ },
2930
+ { stateMutability: "payable", type: "receive" },
2931
+ {
2932
+ stateMutability: "view",
2933
+ type: "function",
2934
+ inputs: [],
2935
+ name: "NAME",
2936
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2937
+ },
2938
+ {
2939
+ stateMutability: "view",
2940
+ type: "function",
2941
+ inputs: [],
2942
+ name: "SPONSORSHIP_TYPEHASH",
2943
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
2944
+ },
2945
+ {
2946
+ stateMutability: "view",
2947
+ type: "function",
2948
+ inputs: [],
2949
+ name: "VERSION",
2950
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2951
+ },
2952
+ {
2953
+ stateMutability: "nonpayable",
2954
+ type: "function",
2955
+ inputs: [],
2956
+ name: "acceptOwnership",
2957
+ outputs: []
2958
+ },
2959
+ {
2960
+ stateMutability: "view",
2961
+ type: "function",
2962
+ inputs: [{ name: "", internalType: "address", type: "address" }],
2963
+ name: "allowedVerifiers",
2964
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
2965
+ },
2966
+ {
2967
+ stateMutability: "pure",
2968
+ type: "function",
2969
+ inputs: [],
2970
+ name: "contractName",
2971
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2972
+ },
2973
+ {
2974
+ stateMutability: "pure",
2975
+ type: "function",
2976
+ inputs: [],
2977
+ name: "contractVersion",
2978
+ outputs: [{ name: "", internalType: "string", type: "string" }]
2979
+ },
2980
+ {
2981
+ stateMutability: "view",
2982
+ type: "function",
2983
+ inputs: [],
2984
+ name: "eip712Domain",
2985
+ outputs: [
2986
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
2987
+ { name: "name", internalType: "string", type: "string" },
2988
+ { name: "version", internalType: "string", type: "string" },
2989
+ { name: "chainId", internalType: "uint256", type: "uint256" },
2990
+ { name: "verifyingContract", internalType: "address", type: "address" },
2991
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
2992
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
2993
+ ]
2994
+ },
2995
+ {
2996
+ stateMutability: "payable",
2997
+ type: "function",
2998
+ inputs: [],
2999
+ name: "fund",
3000
+ outputs: []
3001
+ },
3002
+ {
3003
+ stateMutability: "view",
3004
+ type: "function",
3005
+ inputs: [
3006
+ {
3007
+ name: "sponsorship",
3008
+ internalType: "struct SponsoredMintBatch",
3009
+ type: "tuple",
3010
+ components: [
3011
+ { name: "verifier", internalType: "address", type: "address" },
3012
+ { name: "from", internalType: "address", type: "address" },
3013
+ {
3014
+ name: "destination",
3015
+ internalType: "address payable",
3016
+ type: "address"
3017
+ },
3018
+ { name: "data", internalType: "bytes", type: "bytes" },
3019
+ {
3020
+ name: "expectedRedeemAmount",
3021
+ internalType: "uint256",
3022
+ type: "uint256"
3023
+ },
3024
+ { name: "totalAmount", internalType: "uint256", type: "uint256" },
3025
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
3026
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
3027
+ { name: "nonce", internalType: "uint256", type: "uint256" },
3028
+ { name: "deadline", internalType: "uint256", type: "uint256" }
3029
+ ]
3030
+ }
3031
+ ],
3032
+ name: "hashSponsoredMint",
3033
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
3034
+ },
3035
+ {
3036
+ stateMutability: "nonpayable",
3037
+ type: "function",
3038
+ inputs: [
3039
+ { name: "", internalType: "address", type: "address" },
3040
+ { name: "from", internalType: "address", type: "address" },
3041
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
3042
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
3043
+ { name: "data", internalType: "bytes", type: "bytes" }
3044
+ ],
3045
+ name: "onERC1155BatchReceived",
3046
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
3047
+ },
3048
+ {
3049
+ stateMutability: "nonpayable",
3050
+ type: "function",
3051
+ inputs: [
3052
+ { name: "", internalType: "address", type: "address" },
3053
+ { name: "from", internalType: "address", type: "address" },
3054
+ { name: "id", internalType: "uint256", type: "uint256" },
3055
+ { name: "value", internalType: "uint256", type: "uint256" },
3056
+ { name: "data", internalType: "bytes", type: "bytes" }
3057
+ ],
3058
+ name: "onERC1155Received",
3059
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
3060
+ },
3061
+ {
3062
+ stateMutability: "view",
3063
+ type: "function",
3064
+ inputs: [],
3065
+ name: "owner",
3066
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3067
+ },
3068
+ {
3069
+ stateMutability: "view",
3070
+ type: "function",
3071
+ inputs: [],
3072
+ name: "pendingOwner",
3073
+ outputs: [{ name: "", internalType: "address", type: "address" }]
3074
+ },
3075
+ {
3076
+ stateMutability: "nonpayable",
3077
+ type: "function",
3078
+ inputs: [],
3079
+ name: "renounceOwnership",
3080
+ outputs: []
3081
+ },
3082
+ {
3083
+ stateMutability: "nonpayable",
3084
+ type: "function",
3085
+ inputs: [
3086
+ { name: "verifier", internalType: "address", type: "address" },
3087
+ { name: "enabled", internalType: "bool", type: "bool" }
3088
+ ],
3089
+ name: "setVerifierStatus",
3090
+ outputs: []
3091
+ },
3092
+ {
3093
+ stateMutability: "nonpayable",
3094
+ type: "function",
3095
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
3096
+ name: "transferOwnership",
3097
+ outputs: []
3098
+ },
3099
+ {
3100
+ stateMutability: "view",
3101
+ type: "function",
3102
+ inputs: [
3103
+ { name: "", internalType: "address", type: "address" },
3104
+ { name: "", internalType: "uint256", type: "uint256" }
3105
+ ],
3106
+ name: "usedNonces",
3107
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
3108
+ },
3109
+ {
3110
+ stateMutability: "nonpayable",
3111
+ type: "function",
3112
+ inputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
3113
+ name: "withdraw",
3114
+ outputs: []
3115
+ },
3116
+ {
3117
+ type: "event",
3118
+ anonymous: false,
3119
+ inputs: [
3120
+ {
3121
+ name: "sender",
3122
+ internalType: "address",
3123
+ type: "address",
3124
+ indexed: true
3125
+ },
3126
+ {
3127
+ name: "amount",
3128
+ internalType: "uint256",
3129
+ type: "uint256",
3130
+ indexed: true
3131
+ }
3132
+ ],
3133
+ name: "ContractFunded"
3134
+ },
3135
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
3136
+ {
3137
+ type: "event",
3138
+ anonymous: false,
3139
+ inputs: [
3140
+ {
3141
+ name: "previousOwner",
3142
+ internalType: "address",
3143
+ type: "address",
3144
+ indexed: true
3145
+ },
3146
+ {
3147
+ name: "newOwner",
3148
+ internalType: "address",
3149
+ type: "address",
3150
+ indexed: true
3151
+ }
3152
+ ],
3153
+ name: "OwnershipTransferStarted"
3154
+ },
3155
+ {
3156
+ type: "event",
3157
+ anonymous: false,
3158
+ inputs: [
3159
+ {
3160
+ name: "previousOwner",
3161
+ internalType: "address",
3162
+ type: "address",
3163
+ indexed: true
3164
+ },
3165
+ {
3166
+ name: "newOwner",
3167
+ internalType: "address",
3168
+ type: "address",
3169
+ indexed: true
3170
+ }
3171
+ ],
3172
+ name: "OwnershipTransferred"
3173
+ },
3174
+ {
3175
+ type: "event",
3176
+ anonymous: false,
3177
+ inputs: [
3178
+ {
3179
+ name: "verifier",
3180
+ internalType: "address",
3181
+ type: "address",
3182
+ indexed: true
3183
+ },
3184
+ { name: "from", internalType: "address", type: "address", indexed: true },
3185
+ {
3186
+ name: "amountSpent",
3187
+ internalType: "uint256",
3188
+ type: "uint256",
3189
+ indexed: false
3190
+ },
3191
+ {
3192
+ name: "contractValue",
3193
+ internalType: "uint256",
3194
+ type: "uint256",
3195
+ indexed: false
3196
+ }
3197
+ ],
3198
+ name: "SentSponsoredCallFromMintBalances"
3199
+ },
3200
+ {
3201
+ type: "event",
3202
+ anonymous: false,
3203
+ inputs: [
3204
+ {
3205
+ name: "verifier",
3206
+ internalType: "address",
3207
+ type: "address",
3208
+ indexed: true
3209
+ },
3210
+ { name: "enabled", internalType: "bool", type: "bool", indexed: true }
3211
+ ],
3212
+ name: "SetVerifierStatus"
3213
+ },
3214
+ {
3215
+ type: "error",
3216
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
3217
+ name: "CallFailed"
3218
+ },
3219
+ {
3220
+ type: "error",
3221
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
3222
+ name: "ERC20NotSupported"
3223
+ },
3224
+ { type: "error", inputs: [], name: "IdsMismatch" },
3225
+ { type: "error", inputs: [], name: "InvalidShortString" },
3226
+ { type: "error", inputs: [], name: "InvalidSignature" },
3227
+ { type: "error", inputs: [], name: "LengthMismatch" },
3228
+ { type: "error", inputs: [], name: "NonceUsed" },
3229
+ { type: "error", inputs: [], name: "NotExpectingReceive" },
3230
+ { type: "error", inputs: [], name: "NotZoraSparks1155" },
3231
+ {
3232
+ type: "error",
3233
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3234
+ name: "OwnableInvalidOwner"
3235
+ },
3236
+ {
3237
+ type: "error",
3238
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3239
+ name: "OwnableUnauthorizedAccount"
3240
+ },
3241
+ {
3242
+ type: "error",
3243
+ inputs: [
3244
+ {
3245
+ name: "expectedRedeemAmount",
3246
+ internalType: "uint256",
3247
+ type: "uint256"
3248
+ },
3249
+ {
3250
+ name: "transientReceivedAmount",
3251
+ internalType: "uint256",
3252
+ type: "uint256"
3253
+ }
3254
+ ],
3255
+ name: "RedeemAmountIsIncorrect"
3256
+ },
3257
+ { type: "error", inputs: [], name: "SignatureExpired" },
3258
+ { type: "error", inputs: [], name: "SingleTransferNotSupported" },
3259
+ {
3260
+ type: "error",
3261
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
3262
+ name: "StringTooLong"
3263
+ },
3264
+ {
3265
+ type: "error",
3266
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
3267
+ name: "TransferFailed"
3268
+ },
3269
+ { type: "error", inputs: [], name: "UnknownAction" },
3270
+ { type: "error", inputs: [], name: "UnknownUserAction" },
3271
+ { type: "error", inputs: [], name: "ValuesMismatch" },
3272
+ {
3273
+ type: "error",
3274
+ inputs: [{ name: "verifier", internalType: "address", type: "address" }],
3275
+ name: "VerifierNotAllowed"
3276
+ },
3277
+ { type: "error", inputs: [], name: "WithdrawFailed" }
3278
+ ];
3279
+ var sponsoredSparksSpenderAddress = {
3280
+ 7777777: "0x29b75AbA7dc7FE26d90CD96fbB390B26e04C4EB2"
3281
+ };
3282
+ var sponsoredSparksSpenderConfig = {
3283
+ address: sponsoredSparksSpenderAddress,
3284
+ abi: sponsoredSparksSpenderABI
3285
+ };
2858
3286
  var upgradeGateABI = [
2859
3287
  { stateMutability: "nonpayable", type: "constructor", inputs: [] },
2860
3288
  {
@@ -3280,6 +3708,51 @@ var zoraCreator1155FactoryImplABI = [
3280
3708
  { name: "", internalType: "contract IMinter1155", type: "address" }
3281
3709
  ]
3282
3710
  },
3711
+ {
3712
+ stateMutability: "nonpayable",
3713
+ type: "function",
3714
+ inputs: [
3715
+ {
3716
+ name: "expectedContractAddress",
3717
+ internalType: "address",
3718
+ type: "address"
3719
+ },
3720
+ { name: "newContractURI", internalType: "string", type: "string" },
3721
+ { name: "name", internalType: "string", type: "string" },
3722
+ {
3723
+ name: "defaultRoyaltyConfiguration",
3724
+ internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
3725
+ type: "tuple",
3726
+ components: [
3727
+ {
3728
+ name: "royaltyMintSchedule",
3729
+ internalType: "uint32",
3730
+ type: "uint32"
3731
+ },
3732
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
3733
+ {
3734
+ name: "royaltyRecipient",
3735
+ internalType: "address",
3736
+ type: "address"
3737
+ }
3738
+ ]
3739
+ },
3740
+ {
3741
+ name: "defaultAdmin",
3742
+ internalType: "address payable",
3743
+ type: "address"
3744
+ },
3745
+ { name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
3746
+ ],
3747
+ name: "getOrCreateContractDeterministic",
3748
+ outputs: [
3749
+ {
3750
+ name: "calculatedContractAddress",
3751
+ internalType: "address",
3752
+ type: "address"
3753
+ }
3754
+ ]
3755
+ },
3283
3756
  {
3284
3757
  stateMutability: "view",
3285
3758
  type: "function",
@@ -3416,6 +3889,19 @@ var zoraCreator1155FactoryImplABI = [
3416
3889
  ],
3417
3890
  name: "BeaconUpgraded"
3418
3891
  },
3892
+ {
3893
+ type: "event",
3894
+ anonymous: false,
3895
+ inputs: [
3896
+ {
3897
+ name: "calculatedContractAddress",
3898
+ internalType: "address",
3899
+ type: "address",
3900
+ indexed: false
3901
+ }
3902
+ ],
3903
+ name: "ContractAlreadyExistsSkippingDeploy"
3904
+ },
3419
3905
  { type: "event", anonymous: false, inputs: [], name: "FactorySetup" },
3420
3906
  {
3421
3907
  type: "event",
@@ -3552,6 +4038,22 @@ var zoraCreator1155FactoryImplABI = [
3552
4038
  { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
3553
4039
  { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
3554
4040
  { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
4041
+ {
4042
+ type: "error",
4043
+ inputs: [
4044
+ {
4045
+ name: "expectedContractAddress",
4046
+ internalType: "address",
4047
+ type: "address"
4048
+ },
4049
+ {
4050
+ name: "calculcatedContractAddress",
4051
+ internalType: "address",
4052
+ type: "address"
4053
+ }
4054
+ ],
4055
+ name: "ExpectedContractAddressDoesNotMatchCalculatedContractAddress"
4056
+ },
3555
4057
  {
3556
4058
  type: "error",
3557
4059
  inputs: [],
@@ -9416,7 +9918,7 @@ var zoraSparksManagerImplConfig = {
9416
9918
  abi: zoraSparksManagerImplABI
9417
9919
  };
9418
9920
 
9419
- // ../../node_modules/viem/_esm/index.js
9921
+ // ../../node_modules/.pnpm/viem@2.17.9_bufferutil@4.0.8_typescript@5.5.3_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/index.js
9420
9922
  init_encodeAbiParameters();
9421
9923
  init_getAbiItem();
9422
9924
  init_toHex();
@@ -9661,6 +10163,64 @@ var mintsSafeTransferBatchTypedDataDefinition = ({
9661
10163
  verifyingContract: zoraMints1155Address[chainId]
9662
10164
  }
9663
10165
  });
10166
+ var sponsoredSparksBatchTransferTypedDataType = {
10167
+ SponsoredMintBatch: [
10168
+ {
10169
+ name: "verifier",
10170
+ type: "address"
10171
+ },
10172
+ {
10173
+ name: "from",
10174
+ type: "address"
10175
+ },
10176
+ {
10177
+ name: "destination",
10178
+ type: "address"
10179
+ },
10180
+ {
10181
+ name: "data",
10182
+ type: "bytes"
10183
+ },
10184
+ {
10185
+ name: "expectedRedeemAmount",
10186
+ type: "uint256"
10187
+ },
10188
+ {
10189
+ name: "totalAmount",
10190
+ type: "uint256"
10191
+ },
10192
+ {
10193
+ name: "ids",
10194
+ type: "uint256[]"
10195
+ },
10196
+ {
10197
+ name: "quantities",
10198
+ type: "uint256[]"
10199
+ },
10200
+ {
10201
+ name: "nonce",
10202
+ type: "uint256"
10203
+ },
10204
+ {
10205
+ name: "deadline",
10206
+ type: "uint256"
10207
+ }
10208
+ ]
10209
+ };
10210
+ var sponsoredSparksBatchTypedDataDefinition = ({
10211
+ chainId,
10212
+ message
10213
+ }) => ({
10214
+ types: sponsoredSparksBatchTransferTypedDataType,
10215
+ message,
10216
+ primaryType: "SponsoredMintBatch",
10217
+ domain: {
10218
+ chainId,
10219
+ name: "SponsoredSparksSpender",
10220
+ version: "1",
10221
+ verifyingContract: sponsoredSparksSpenderAddress[chainId]
10222
+ }
10223
+ });
9664
10224
 
9665
10225
  // src/generated/1155.ts
9666
10226
  var __exports = {};
@@ -9843,32 +10403,32 @@ var addresses = {
9843
10403
  timestamp: 1717195052
9844
10404
  },
9845
10405
  7777777: {
9846
- CONTRACT_1155_IMPL: "0xA0CFBEA2fe941EaE373aEB3359b0171f3F194c35",
9847
- CONTRACT_1155_IMPL_VERSION: "2.10.1",
10406
+ CONTRACT_1155_IMPL: "0x9074Ae399235d26B56e3aF1331b033366E4FE072",
10407
+ CONTRACT_1155_IMPL_VERSION: "2.12.2",
9848
10408
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
9849
- FACTORY_IMPL: "0xDAeF162cfF8Abd646190Fe02E70B2956304C552c",
10409
+ FACTORY_IMPL: "0xD9bC36841C259f07924e73cF08d5a2c92d53639B",
9850
10410
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
9851
10411
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
9852
10412
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
9853
- PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
10413
+ PREMINTER_IMPL: "0xa79928cCc270b0208e56BfF0e927ff55034e7C35",
9854
10414
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
9855
10415
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
9856
10416
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
9857
- timestamp: 1717181333
10417
+ timestamp: 1721935998
9858
10418
  },
9859
10419
  11155111: {
9860
- CONTRACT_1155_IMPL: "0xFc40F9BFE1289F27F89BAEfb4DB97CC2D8eF6a38",
9861
- CONTRACT_1155_IMPL_VERSION: "2.10.1",
10420
+ CONTRACT_1155_IMPL: "0x961b527B5E298569dbD7B1d90630cC515Eb17A4A",
10421
+ CONTRACT_1155_IMPL_VERSION: "2.12.2",
9862
10422
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
9863
- FACTORY_IMPL: "0xC7598f8eAA1455f5b2B3f206A9af55B2BA248e3E",
10423
+ FACTORY_IMPL: "0x5Eedeb6e035e68f89B29689625c4720EA7842542",
9864
10424
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
9865
10425
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
9866
10426
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
9867
- PREMINTER_IMPL: "0xD8f6cf234eE4B689099677Bd94FbA0b1E005181d",
10427
+ PREMINTER_IMPL: "0xa79928cCc270b0208e56BfF0e927ff55034e7C35",
9868
10428
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
9869
10429
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
9870
10430
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
9871
- timestamp: 1717195426
10431
+ timestamp: 1721935626
9872
10432
  },
9873
10433
  168587773: {
9874
10434
  CONTRACT_1155_IMPL: "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
@@ -9884,10 +10444,10 @@ var addresses = {
9884
10444
  timestamp: 1709234007
9885
10445
  },
9886
10446
  999999999: {
9887
- CONTRACT_1155_IMPL: "0x7341fb9B4205BaD452953E58d56f86C17C179Bf5",
9888
- CONTRACT_1155_IMPL_VERSION: "2.12.0-SPARKS.1",
10447
+ CONTRACT_1155_IMPL: "0xC542CAdBF84F195226804B62BbE941CF244BF490",
10448
+ CONTRACT_1155_IMPL_VERSION: "2.12.2",
9889
10449
  ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
9890
- FACTORY_IMPL: "0x4896F0dc8aE5A460EE79844EC375151b4EFE27ba",
10450
+ FACTORY_IMPL: "0xF5b2eb84B4BFfcAe4ff1592A6838a2d0fFb7AA68",
9891
10451
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
9892
10452
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
9893
10453
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -9895,7 +10455,7 @@ var addresses = {
9895
10455
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
9896
10456
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
9897
10457
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
9898
- timestamp: 1721084678
10458
+ timestamp: 1721933261
9899
10459
  }
9900
10460
  };
9901
10461
 
@@ -9940,6 +10500,7 @@ var addresses2 = {
9940
10500
  erc20MinterAddress,
9941
10501
  erc20MinterConfig,
9942
10502
  iPremintDefinitionsABI,
10503
+ iSponsoredSparksSpenderActionABI,
9943
10504
  iUnwrapAndForwardActionABI,
9944
10505
  mintsEthUnwrapperAndCallerABI,
9945
10506
  mintsEthUnwrapperAndCallerAddress,
@@ -9953,6 +10514,11 @@ var addresses2 = {
9953
10514
  protocolRewardsAddress,
9954
10515
  protocolRewardsConfig,
9955
10516
  sparks,
10517
+ sponsoredSparksBatchTransferTypedDataType,
10518
+ sponsoredSparksBatchTypedDataDefinition,
10519
+ sponsoredSparksSpenderABI,
10520
+ sponsoredSparksSpenderAddress,
10521
+ sponsoredSparksSpenderConfig,
9956
10522
  upgradeGateABI,
9957
10523
  upgradeGateAddress,
9958
10524
  upgradeGateConfig,