@zoralabs/protocol-deployments 0.6.4-PRE.0 → 0.6.5-LOB.0

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.js CHANGED
@@ -6,8 +6,7 @@ import {
6
6
  getAbiItem,
7
7
  keccak256,
8
8
  toHex
9
- } from "./chunk-KMBLRPCX.js";
10
- import "./chunk-BYTNVMX7.js";
9
+ } from "./chunk-4DQDZNUA.js";
11
10
  import {
12
11
  __export
13
12
  } from "./chunk-PR4QN5HX.js";
@@ -280,18 +279,7 @@ var buySupplyWithSwapRouterHookABI = [
280
279
  ],
281
280
  name: "BuyInitialSupply"
282
281
  },
283
- {
284
- type: "error",
285
- inputs: [{ name: "target", internalType: "address", type: "address" }],
286
- name: "AddressEmptyCode"
287
- },
288
- {
289
- type: "error",
290
- inputs: [{ name: "account", internalType: "address", type: "address" }],
291
- name: "AddressInsufficientBalance"
292
- },
293
282
  { type: "error", inputs: [], name: "AddressZero" },
294
- { type: "error", inputs: [], name: "FailedInnerCall" },
295
283
  { type: "error", inputs: [], name: "HookNotImplemented" },
296
284
  {
297
285
  type: "error",
@@ -309,7 +297,6 @@ var buySupplyWithSwapRouterHookABI = [
309
297
  inputs: [{ name: "token", internalType: "address", type: "address" }],
310
298
  name: "SafeERC20FailedOperation"
311
299
  },
312
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
313
300
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
314
301
  ];
315
302
  var buySupplyWithSwapRouterHookAddress = {
@@ -2976,7 +2963,6 @@ var coinFactoryABI = [
2976
2963
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
2977
2964
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
2978
2965
  { type: "error", inputs: [], name: "Deprecated" },
2979
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
2980
2966
  {
2981
2967
  type: "error",
2982
2968
  inputs: [
@@ -2986,7 +2972,16 @@ var coinFactoryABI = [
2986
2972
  },
2987
2973
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
2988
2974
  { type: "error", inputs: [], name: "EthTransferInvalid" },
2989
- { type: "error", inputs: [], name: "FailedInnerCall" },
2975
+ { type: "error", inputs: [], name: "FailedCall" },
2976
+ { type: "error", inputs: [], name: "FailedDeployment" },
2977
+ {
2978
+ type: "error",
2979
+ inputs: [
2980
+ { name: "balance", internalType: "uint256", type: "uint256" },
2981
+ { name: "needed", internalType: "uint256", type: "uint256" }
2982
+ ],
2983
+ name: "InsufficientBalance"
2984
+ },
2990
2985
  { type: "error", inputs: [], name: "InvalidConfig" },
2991
2986
  { type: "error", inputs: [], name: "InvalidHook" },
2992
2987
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -3036,18 +3031,7 @@ var coinFactoryABI = [
3036
3031
  },
3037
3032
  { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
3038
3033
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
3039
- {
3040
- type: "error",
3041
- inputs: [{ name: "target", internalType: "address", type: "address" }],
3042
- name: "AddressEmptyCode"
3043
- },
3044
- {
3045
- type: "error",
3046
- inputs: [{ name: "account", internalType: "address", type: "address" }],
3047
- name: "AddressInsufficientBalance"
3048
- },
3049
3034
  { type: "error", inputs: [], name: "AddressZero" },
3050
- { type: "error", inputs: [], name: "FailedInnerCall" },
3051
3035
  { type: "error", inputs: [], name: "HookNotImplemented" },
3052
3036
  {
3053
3037
  type: "error",
@@ -3065,7 +3049,6 @@ var coinFactoryABI = [
3065
3049
  inputs: [{ name: "token", internalType: "address", type: "address" }],
3066
3050
  name: "SafeERC20FailedOperation"
3067
3051
  },
3068
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
3069
3052
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
3070
3053
  { type: "error", inputs: [], name: "AddressZero" },
3071
3054
  { type: "error", inputs: [], name: "AlreadyOwner" },
@@ -3194,7 +3177,118 @@ var coinFactoryABI = [
3194
3177
  { type: "error", inputs: [], name: "OnlyWeth" },
3195
3178
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
3196
3179
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
3197
- { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
3180
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
3181
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
3182
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
3183
+ { type: "error", inputs: [], name: "EthTransferFailed" },
3184
+ { type: "error", inputs: [], name: "HookNotImplemented" },
3185
+ {
3186
+ type: "error",
3187
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
3188
+ name: "InvalidCallbackId"
3189
+ },
3190
+ {
3191
+ type: "error",
3192
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
3193
+ name: "InvalidNewHook"
3194
+ },
3195
+ {
3196
+ type: "error",
3197
+ inputs: [
3198
+ { name: "tickLower", internalType: "int24", type: "int24" },
3199
+ { name: "tickUpper", internalType: "int24", type: "int24" }
3200
+ ],
3201
+ name: "InvalidTickRangeMisordered"
3202
+ },
3203
+ {
3204
+ type: "error",
3205
+ inputs: [
3206
+ {
3207
+ name: "key",
3208
+ internalType: "struct PoolKey",
3209
+ type: "tuple",
3210
+ components: [
3211
+ { name: "currency0", internalType: "Currency", type: "address" },
3212
+ { name: "currency1", internalType: "Currency", type: "address" },
3213
+ { name: "fee", internalType: "uint24", type: "uint24" },
3214
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3215
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3216
+ ]
3217
+ }
3218
+ ],
3219
+ name: "NoCoinForHook"
3220
+ },
3221
+ {
3222
+ type: "error",
3223
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
3224
+ name: "NotACoin"
3225
+ },
3226
+ { type: "error", inputs: [], name: "NotPoolManager" },
3227
+ {
3228
+ type: "error",
3229
+ inputs: [
3230
+ { name: "caller", internalType: "address", type: "address" },
3231
+ { name: "expectedCoin", internalType: "address", type: "address" }
3232
+ ],
3233
+ name: "OnlyCoin"
3234
+ },
3235
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
3236
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
3237
+ {
3238
+ type: "error",
3239
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
3240
+ name: "SafeERC20FailedOperation"
3241
+ },
3242
+ {
3243
+ type: "error",
3244
+ inputs: [],
3245
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
3246
+ },
3247
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
3248
+ {
3249
+ type: "error",
3250
+ inputs: [
3251
+ { name: "oldHook", internalType: "address", type: "address" },
3252
+ { name: "newHook", internalType: "address", type: "address" }
3253
+ ],
3254
+ name: "UpgradePathNotRegistered"
3255
+ },
3256
+ {
3257
+ type: "error",
3258
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
3259
+ name: "AccessManagedInvalidAuthority"
3260
+ },
3261
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
3262
+ { type: "error", inputs: [], name: "AddressZero" },
3263
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
3264
+ { type: "error", inputs: [], name: "InsufficientBalance" },
3265
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
3266
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
3267
+ {
3268
+ type: "error",
3269
+ inputs: [
3270
+ { name: "startTick", internalType: "int24", type: "int24" },
3271
+ { name: "endTick", internalType: "int24", type: "int24" },
3272
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
3273
+ ],
3274
+ name: "InvalidFillWindow"
3275
+ },
3276
+ { type: "error", inputs: [], name: "InvalidOrder" },
3277
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
3278
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
3279
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
3280
+ { type: "error", inputs: [], name: "NotPoolManager" },
3281
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
3282
+ { type: "error", inputs: [], name: "OrderClosed" },
3283
+ { type: "error", inputs: [], name: "OrderNotMaker" },
3284
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
3285
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
3286
+ { type: "error", inputs: [], name: "UnknownCallback" },
3287
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
3288
+ { type: "error", inputs: [], name: "ZeroMaker" },
3289
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
3290
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
3291
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
3198
3292
  ];
3199
3293
  var coinFactoryAddress = {
3200
3294
  8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
@@ -9697,39 +9791,6 @@ var uniswapQuoterV2Config = {
9697
9791
  address: uniswapQuoterV2Address,
9698
9792
  abi: uniswapQuoterV2ABI
9699
9793
  };
9700
- var uniswapUniversalRouterABI = [
9701
- {
9702
- type: "function",
9703
- inputs: [
9704
- { name: "commands", internalType: "bytes", type: "bytes" },
9705
- { name: "inputs", internalType: "bytes[]", type: "bytes[]" },
9706
- { name: "deadline", internalType: "uint256", type: "uint256" }
9707
- ],
9708
- name: "execute",
9709
- outputs: [],
9710
- stateMutability: "payable"
9711
- },
9712
- { type: "error", inputs: [], name: "ETHNotAccepted" },
9713
- {
9714
- type: "error",
9715
- inputs: [
9716
- { name: "commandIndex", internalType: "uint256", type: "uint256" },
9717
- { name: "message", internalType: "bytes", type: "bytes" }
9718
- ],
9719
- name: "ExecutionFailed"
9720
- },
9721
- { type: "error", inputs: [], name: "InvalidEthSender" },
9722
- { type: "error", inputs: [], name: "LengthMismatch" },
9723
- { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
9724
- ];
9725
- var uniswapUniversalRouterAddress = {
9726
- 8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
9727
- 84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
9728
- };
9729
- var uniswapUniversalRouterConfig = {
9730
- address: uniswapUniversalRouterAddress,
9731
- abi: uniswapUniversalRouterABI
9732
- };
9733
9794
  var uniswapV3SwapRouterABI = [
9734
9795
  {
9735
9796
  type: "function",
@@ -14300,43 +14361,22 @@ var zoraCreatorRedeemMinterFactoryConfig = {
14300
14361
  address: zoraCreatorRedeemMinterFactoryAddress,
14301
14362
  abi: zoraCreatorRedeemMinterFactoryABI
14302
14363
  };
14303
- var zoraMints1155ABI = [
14304
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
14305
- {
14306
- type: "function",
14307
- inputs: [],
14308
- name: "ETH_ADDRESS",
14309
- outputs: [{ name: "", internalType: "address", type: "address" }],
14310
- stateMutability: "view"
14311
- },
14312
- {
14313
- type: "function",
14314
- inputs: [],
14315
- name: "MINIMUM_ERC20_PRICE",
14316
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14317
- stateMutability: "view"
14318
- },
14319
- {
14320
- type: "function",
14321
- inputs: [],
14322
- name: "MINIMUM_ETH_PRICE",
14323
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14324
- stateMutability: "view"
14325
- },
14364
+ var zoraLimitOrderBookABI = [
14326
14365
  {
14327
- type: "function",
14328
- inputs: [],
14329
- name: "NAME",
14330
- outputs: [{ name: "", internalType: "string", type: "string" }],
14331
- stateMutability: "view"
14332
- },
14333
- {
14334
- type: "function",
14335
- inputs: [],
14336
- name: "VERSION",
14337
- outputs: [{ name: "", internalType: "string", type: "string" }],
14338
- stateMutability: "view"
14366
+ type: "constructor",
14367
+ inputs: [
14368
+ { name: "poolManager_", internalType: "address", type: "address" },
14369
+ {
14370
+ name: "zoraCoinVersionLookup_",
14371
+ internalType: "address",
14372
+ type: "address"
14373
+ },
14374
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" },
14375
+ { name: "authority_", internalType: "address", type: "address" }
14376
+ ],
14377
+ stateMutability: "nonpayable"
14339
14378
  },
14379
+ { type: "receive", stateMutability: "payable" },
14340
14380
  {
14341
14381
  type: "function",
14342
14382
  inputs: [],
@@ -14347,677 +14387,473 @@ var zoraMints1155ABI = [
14347
14387
  {
14348
14388
  type: "function",
14349
14389
  inputs: [
14350
- { name: "account", internalType: "address", type: "address" },
14351
- { name: "id", internalType: "uint256", type: "uint256" }
14390
+ { name: "maker", internalType: "address", type: "address" },
14391
+ { name: "coin", internalType: "address", type: "address" }
14352
14392
  ],
14353
14393
  name: "balanceOf",
14354
14394
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14355
14395
  stateMutability: "view"
14356
14396
  },
14357
- {
14358
- type: "function",
14359
- inputs: [{ name: "account", internalType: "address", type: "address" }],
14360
- name: "balanceOfAccount",
14361
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14362
- stateMutability: "view"
14363
- },
14364
14397
  {
14365
14398
  type: "function",
14366
14399
  inputs: [
14367
- { name: "accounts", internalType: "address[]", type: "address[]" },
14368
- { name: "ids", internalType: "uint256[]", type: "uint256[]" }
14400
+ {
14401
+ name: "key",
14402
+ internalType: "struct PoolKey",
14403
+ type: "tuple",
14404
+ components: [
14405
+ { name: "currency0", internalType: "Currency", type: "address" },
14406
+ { name: "currency1", internalType: "Currency", type: "address" },
14407
+ { name: "fee", internalType: "uint24", type: "uint24" },
14408
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
14409
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
14410
+ ]
14411
+ },
14412
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
14413
+ { name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
14414
+ { name: "orderTicks", internalType: "int24[]", type: "int24[]" },
14415
+ { name: "maker", internalType: "address", type: "address" }
14369
14416
  ],
14370
- name: "balanceOfBatch",
14371
- outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
14372
- stateMutability: "view"
14373
- },
14374
- {
14375
- type: "function",
14376
- inputs: [],
14377
- name: "contractURI",
14378
- outputs: [{ name: "", internalType: "string", type: "string" }],
14379
- stateMutability: "view"
14417
+ name: "create",
14418
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
14419
+ stateMutability: "payable"
14380
14420
  },
14381
14421
  {
14382
14422
  type: "function",
14383
14423
  inputs: [
14384
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14385
14424
  {
14386
- name: "tokenConfig",
14387
- internalType: "struct TokenConfig",
14425
+ name: "key",
14426
+ internalType: "struct PoolKey",
14388
14427
  type: "tuple",
14389
14428
  components: [
14390
- { name: "price", internalType: "uint256", type: "uint256" },
14391
- { name: "tokenAddress", internalType: "address", type: "address" },
14392
- { name: "redeemHandler", internalType: "address", type: "address" }
14429
+ { name: "currency0", internalType: "Currency", type: "address" },
14430
+ { name: "currency1", internalType: "Currency", type: "address" },
14431
+ { name: "fee", internalType: "uint24", type: "uint24" },
14432
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
14433
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
14393
14434
  ]
14394
- }
14435
+ },
14436
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
14437
+ { name: "startTick", internalType: "int24", type: "int24" },
14438
+ { name: "endTick", internalType: "int24", type: "int24" },
14439
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" },
14440
+ { name: "fillReferral", internalType: "address", type: "address" }
14395
14441
  ],
14396
- name: "createToken",
14442
+ name: "fill",
14397
14443
  outputs: [],
14398
14444
  stateMutability: "nonpayable"
14399
14445
  },
14400
14446
  {
14401
14447
  type: "function",
14402
- inputs: [],
14403
- name: "eip712Domain",
14404
- outputs: [
14405
- { name: "fields", internalType: "bytes1", type: "bytes1" },
14406
- { name: "name", internalType: "string", type: "string" },
14407
- { name: "version", internalType: "string", type: "string" },
14408
- { name: "chainId", internalType: "uint256", type: "uint256" },
14409
- { name: "verifyingContract", internalType: "address", type: "address" },
14410
- { name: "salt", internalType: "bytes32", type: "bytes32" },
14411
- { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
14448
+ inputs: [
14449
+ {
14450
+ name: "batches",
14451
+ internalType: "struct IZoraLimitOrderBook.OrderBatch[]",
14452
+ type: "tuple[]",
14453
+ components: [
14454
+ {
14455
+ name: "key",
14456
+ internalType: "struct PoolKey",
14457
+ type: "tuple",
14458
+ components: [
14459
+ { name: "currency0", internalType: "Currency", type: "address" },
14460
+ { name: "currency1", internalType: "Currency", type: "address" },
14461
+ { name: "fee", internalType: "uint24", type: "uint24" },
14462
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
14463
+ {
14464
+ name: "hooks",
14465
+ internalType: "contract IHooks",
14466
+ type: "address"
14467
+ }
14468
+ ]
14469
+ },
14470
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
14471
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
14472
+ ]
14473
+ },
14474
+ { name: "fillReferral", internalType: "address", type: "address" }
14412
14475
  ],
14413
- stateMutability: "view"
14476
+ name: "fill",
14477
+ outputs: [],
14478
+ stateMutability: "nonpayable"
14414
14479
  },
14415
14480
  {
14416
14481
  type: "function",
14417
14482
  inputs: [],
14418
- name: "getManager",
14419
- outputs: [{ name: "", internalType: "address", type: "address" }],
14483
+ name: "getMaxFillCount",
14484
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14420
14485
  stateMutability: "view"
14421
14486
  },
14422
14487
  {
14423
14488
  type: "function",
14424
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14425
- name: "getTokenConfig",
14489
+ inputs: [],
14490
+ name: "poolManager",
14426
14491
  outputs: [
14427
- {
14428
- name: "",
14429
- internalType: "struct TokenConfig",
14430
- type: "tuple",
14431
- components: [
14432
- { name: "price", internalType: "uint256", type: "uint256" },
14433
- { name: "tokenAddress", internalType: "address", type: "address" },
14434
- { name: "redeemHandler", internalType: "address", type: "address" }
14435
- ]
14436
- }
14492
+ { name: "", internalType: "contract IPoolManager", type: "address" }
14437
14493
  ],
14438
14494
  stateMutability: "view"
14439
14495
  },
14440
14496
  {
14441
14497
  type: "function",
14442
14498
  inputs: [
14443
- {
14444
- name: "permit",
14445
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14446
- type: "tuple",
14447
- components: [
14448
- { name: "owner", internalType: "address", type: "address" },
14449
- { name: "to", internalType: "address", type: "address" },
14450
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14451
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14452
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14453
- { name: "deadline", internalType: "uint256", type: "uint256" },
14454
- { name: "nonce", internalType: "uint256", type: "uint256" }
14455
- ]
14456
- }
14457
- ],
14458
- name: "hashPermitBatch",
14459
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
14460
- stateMutability: "view"
14461
- },
14462
- {
14463
- type: "function",
14464
- inputs: [
14465
- {
14466
- name: "permit",
14467
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14468
- type: "tuple",
14469
- components: [
14470
- { name: "owner", internalType: "address", type: "address" },
14471
- { name: "to", internalType: "address", type: "address" },
14472
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14473
- { name: "quantity", internalType: "uint256", type: "uint256" },
14474
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14475
- { name: "deadline", internalType: "uint256", type: "uint256" },
14476
- { name: "nonce", internalType: "uint256", type: "uint256" }
14477
- ]
14478
- }
14479
- ],
14480
- name: "hashPermitSingle",
14481
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
14482
- stateMutability: "view"
14483
- },
14484
- {
14485
- type: "function",
14486
- inputs: [
14487
- { name: "account", internalType: "address", type: "address" },
14488
- { name: "operator", internalType: "address", type: "address" }
14499
+ { name: "newAuthority", internalType: "address", type: "address" }
14489
14500
  ],
14490
- name: "isApprovedForAll",
14491
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14492
- stateMutability: "view"
14493
- },
14494
- {
14495
- type: "function",
14496
- inputs: [],
14497
- name: "isConsumingScheduledOp",
14498
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
14499
- stateMutability: "view"
14501
+ name: "setAuthority",
14502
+ outputs: [],
14503
+ stateMutability: "nonpayable"
14500
14504
  },
14501
14505
  {
14502
14506
  type: "function",
14503
14507
  inputs: [
14504
- {
14505
- name: "permit",
14506
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14507
- type: "tuple",
14508
- components: [
14509
- { name: "owner", internalType: "address", type: "address" },
14510
- { name: "to", internalType: "address", type: "address" },
14511
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14512
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14513
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14514
- { name: "deadline", internalType: "uint256", type: "uint256" },
14515
- { name: "nonce", internalType: "uint256", type: "uint256" }
14516
- ]
14517
- },
14518
- { name: "signature", internalType: "bytes", type: "bytes" }
14508
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" }
14519
14509
  ],
14520
- name: "isValidSignatureTransferBatch",
14521
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14522
- stateMutability: "view"
14510
+ name: "setMaxFillCount",
14511
+ outputs: [],
14512
+ stateMutability: "nonpayable"
14523
14513
  },
14524
14514
  {
14525
14515
  type: "function",
14526
- inputs: [
14527
- {
14528
- name: "permit",
14529
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14530
- type: "tuple",
14531
- components: [
14532
- { name: "owner", internalType: "address", type: "address" },
14533
- { name: "to", internalType: "address", type: "address" },
14534
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14535
- { name: "quantity", internalType: "uint256", type: "uint256" },
14536
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14537
- { name: "deadline", internalType: "uint256", type: "uint256" },
14538
- { name: "nonce", internalType: "uint256", type: "uint256" }
14539
- ]
14540
- },
14541
- { name: "signature", internalType: "bytes", type: "bytes" }
14542
- ],
14543
- name: "isValidSignatureTransferSingle",
14544
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14545
- stateMutability: "view"
14516
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
14517
+ name: "unlockCallback",
14518
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
14519
+ stateMutability: "nonpayable"
14546
14520
  },
14547
14521
  {
14548
14522
  type: "function",
14549
14523
  inputs: [
14550
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14551
- { name: "tokenAddress", internalType: "address", type: "address" },
14552
- { name: "quantity", internalType: "uint256", type: "uint256" },
14553
- { name: "recipient", internalType: "address", type: "address" },
14554
- { name: "data", internalType: "bytes", type: "bytes" }
14524
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
14525
+ { name: "recipient", internalType: "address", type: "address" }
14555
14526
  ],
14556
- name: "mintTokenWithERC20",
14527
+ name: "withdraw",
14557
14528
  outputs: [],
14558
14529
  stateMutability: "nonpayable"
14559
14530
  },
14560
14531
  {
14561
14532
  type: "function",
14562
14533
  inputs: [
14563
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14564
- { name: "quantity", internalType: "uint256", type: "uint256" },
14565
- { name: "recipient", internalType: "address", type: "address" },
14566
- { name: "data", internalType: "bytes", type: "bytes" }
14534
+ { name: "coin", internalType: "address", type: "address" },
14535
+ { name: "amount", internalType: "uint256", type: "uint256" },
14536
+ { name: "recipient", internalType: "address", type: "address" }
14567
14537
  ],
14568
- name: "mintTokenWithEth",
14538
+ name: "withdraw",
14569
14539
  outputs: [],
14570
- stateMutability: "payable"
14540
+ stateMutability: "nonpayable"
14571
14541
  },
14572
14542
  {
14573
14543
  type: "function",
14574
14544
  inputs: [],
14575
- name: "name",
14576
- outputs: [{ name: "", internalType: "string", type: "string" }],
14577
- stateMutability: "pure"
14578
- },
14579
- {
14580
- type: "function",
14581
- inputs: [
14582
- { name: "owner", internalType: "address", type: "address" },
14583
- { name: "nonce", internalType: "uint256", type: "uint256" }
14545
+ name: "zoraCoinVersionLookup",
14546
+ outputs: [
14547
+ {
14548
+ name: "",
14549
+ internalType: "contract IDeployedCoinVersionLookup",
14550
+ type: "address"
14551
+ }
14584
14552
  ],
14585
- name: "nonceUsed",
14586
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14587
14553
  stateMutability: "view"
14588
14554
  },
14589
14555
  {
14590
14556
  type: "function",
14591
- inputs: [
14592
- { name: "newContractURI", internalType: "string", type: "string" },
14593
- { name: "newBaseURI", internalType: "string", type: "string" }
14557
+ inputs: [],
14558
+ name: "zoraHookRegistry",
14559
+ outputs: [
14560
+ { name: "", internalType: "contract IZoraHookRegistry", type: "address" }
14594
14561
  ],
14595
- name: "notifyURIsUpdated",
14596
- outputs: [],
14597
- stateMutability: "nonpayable"
14562
+ stateMutability: "view"
14598
14563
  },
14599
14564
  {
14600
- type: "function",
14565
+ type: "event",
14566
+ anonymous: false,
14601
14567
  inputs: [
14602
- { name: "newUri", internalType: "string", type: "string" },
14603
- { name: "tokenId", internalType: "uint256", type: "uint256" }
14568
+ {
14569
+ name: "authority",
14570
+ internalType: "address",
14571
+ type: "address",
14572
+ indexed: false
14573
+ }
14604
14574
  ],
14605
- name: "notifyUpdatedTokenURI",
14606
- outputs: [],
14607
- stateMutability: "nonpayable"
14575
+ name: "AuthorityUpdated"
14608
14576
  },
14609
14577
  {
14610
- type: "function",
14578
+ type: "event",
14579
+ anonymous: false,
14611
14580
  inputs: [
14612
14581
  {
14613
- name: "permit",
14614
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14615
- type: "tuple",
14616
- components: [
14617
- { name: "owner", internalType: "address", type: "address" },
14618
- { name: "to", internalType: "address", type: "address" },
14619
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14620
- { name: "quantity", internalType: "uint256", type: "uint256" },
14621
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14622
- { name: "deadline", internalType: "uint256", type: "uint256" },
14623
- { name: "nonce", internalType: "uint256", type: "uint256" }
14624
- ]
14582
+ name: "maker",
14583
+ internalType: "address",
14584
+ type: "address",
14585
+ indexed: true
14625
14586
  },
14626
- { name: "signature", internalType: "bytes", type: "bytes" }
14627
- ],
14628
- name: "permitSafeTransfer",
14629
- outputs: [],
14630
- stateMutability: "nonpayable"
14631
- },
14632
- {
14633
- type: "function",
14634
- inputs: [
14587
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14635
14588
  {
14636
- name: "permit",
14637
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14638
- type: "tuple",
14639
- components: [
14640
- { name: "owner", internalType: "address", type: "address" },
14641
- { name: "to", internalType: "address", type: "address" },
14642
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14643
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14644
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14645
- { name: "deadline", internalType: "uint256", type: "uint256" },
14646
- { name: "nonce", internalType: "uint256", type: "uint256" }
14647
- ]
14589
+ name: "poolKeyHash",
14590
+ internalType: "bytes32",
14591
+ type: "bytes32",
14592
+ indexed: false
14648
14593
  },
14649
- { name: "signature", internalType: "bytes", type: "bytes" }
14650
- ],
14651
- name: "permitSafeTransferBatch",
14652
- outputs: [],
14653
- stateMutability: "nonpayable"
14654
- },
14655
- {
14656
- type: "function",
14657
- inputs: [
14658
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14659
- { name: "quantity", internalType: "uint256", type: "uint256" },
14660
- { name: "recipient", internalType: "address", type: "address" }
14661
- ],
14662
- name: "redeem",
14663
- outputs: [
14664
14594
  {
14665
- name: "",
14666
- internalType: "struct Redemption",
14667
- type: "tuple",
14668
- components: [
14669
- { name: "tokenAddress", internalType: "address", type: "address" },
14670
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
14671
- ]
14595
+ name: "isCurrency0",
14596
+ internalType: "bool",
14597
+ type: "bool",
14598
+ indexed: false
14599
+ },
14600
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
14601
+ {
14602
+ name: "orderSize",
14603
+ internalType: "uint128",
14604
+ type: "uint128",
14605
+ indexed: false
14606
+ },
14607
+ {
14608
+ name: "orderId",
14609
+ internalType: "bytes32",
14610
+ type: "bytes32",
14611
+ indexed: false
14672
14612
  }
14673
14613
  ],
14674
- stateMutability: "nonpayable"
14614
+ name: "LimitOrderCreated"
14675
14615
  },
14676
14616
  {
14677
- type: "function",
14617
+ type: "event",
14618
+ anonymous: false,
14678
14619
  inputs: [
14679
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14680
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14681
- { name: "recipient", internalType: "address", type: "address" }
14682
- ],
14683
- name: "redeemBatch",
14684
- outputs: [
14685
14620
  {
14686
- name: "redemptions",
14687
- internalType: "struct Redemption[]",
14688
- type: "tuple[]",
14689
- components: [
14690
- { name: "tokenAddress", internalType: "address", type: "address" },
14691
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
14692
- ]
14693
- }
14694
- ],
14695
- stateMutability: "nonpayable"
14696
- },
14697
- {
14698
- type: "function",
14699
- inputs: [
14700
- { name: "from", internalType: "address", type: "address" },
14701
- { name: "to", internalType: "address", type: "address" },
14702
- { name: "ids", internalType: "uint256[]", type: "uint256[]" },
14703
- { name: "values", internalType: "uint256[]", type: "uint256[]" },
14704
- { name: "data", internalType: "bytes", type: "bytes" }
14705
- ],
14706
- name: "safeBatchTransferFrom",
14707
- outputs: [],
14708
- stateMutability: "nonpayable"
14709
- },
14710
- {
14711
- type: "function",
14712
- inputs: [
14713
- { name: "from", internalType: "address", type: "address" },
14714
- { name: "to", internalType: "address", type: "address" },
14715
- { name: "id", internalType: "uint256", type: "uint256" },
14716
- { name: "value", internalType: "uint256", type: "uint256" },
14717
- { name: "data", internalType: "bytes", type: "bytes" }
14718
- ],
14719
- name: "safeTransferFrom",
14720
- outputs: [],
14721
- stateMutability: "nonpayable"
14722
- },
14723
- {
14724
- type: "function",
14725
- inputs: [
14726
- { name: "operator", internalType: "address", type: "address" },
14727
- { name: "approved", internalType: "bool", type: "bool" }
14728
- ],
14729
- name: "setApprovalForAll",
14730
- outputs: [],
14731
- stateMutability: "nonpayable"
14732
- },
14733
- {
14734
- type: "function",
14735
- inputs: [
14736
- { name: "newAuthority", internalType: "address", type: "address" }
14737
- ],
14738
- name: "setAuthority",
14739
- outputs: [],
14740
- stateMutability: "nonpayable"
14741
- },
14742
- {
14743
- type: "function",
14744
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
14745
- name: "supportsInterface",
14746
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14747
- stateMutability: "view"
14748
- },
14749
- {
14750
- type: "function",
14751
- inputs: [],
14752
- name: "symbol",
14753
- outputs: [{ name: "", internalType: "string", type: "string" }],
14754
- stateMutability: "pure"
14755
- },
14756
- {
14757
- type: "function",
14758
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14759
- name: "tokenExists",
14760
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14761
- stateMutability: "view"
14762
- },
14763
- {
14764
- type: "function",
14765
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14766
- name: "tokenPrice",
14767
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14768
- stateMutability: "view"
14769
- },
14770
- {
14771
- type: "function",
14772
- inputs: [
14773
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14774
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14775
- { name: "call", internalType: "bytes", type: "bytes" }
14776
- ],
14777
- name: "transferBatchToManagerAndCall",
14778
- outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
14779
- stateMutability: "payable"
14780
- },
14781
- {
14782
- type: "function",
14783
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14784
- name: "uri",
14785
- outputs: [{ name: "", internalType: "string", type: "string" }],
14786
- stateMutability: "view"
14787
- },
14788
- {
14789
- type: "event",
14790
- anonymous: false,
14791
- inputs: [
14792
- {
14793
- name: "account",
14621
+ name: "maker",
14794
14622
  internalType: "address",
14795
14623
  type: "address",
14796
14624
  indexed: true
14797
14625
  },
14798
14626
  {
14799
- name: "operator",
14627
+ name: "coinIn",
14800
14628
  internalType: "address",
14801
14629
  type: "address",
14802
14630
  indexed: true
14803
14631
  },
14804
- { name: "approved", internalType: "bool", type: "bool", indexed: false }
14805
- ],
14806
- name: "ApprovalForAll"
14807
- },
14808
- {
14809
- type: "event",
14810
- anonymous: false,
14811
- inputs: [
14812
14632
  {
14813
- name: "authority",
14633
+ name: "coinOut",
14814
14634
  internalType: "address",
14815
14635
  type: "address",
14816
14636
  indexed: false
14817
- }
14818
- ],
14819
- name: "AuthorityUpdated"
14820
- },
14821
- { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
14822
- { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
14823
- {
14824
- type: "event",
14825
- anonymous: false,
14826
- inputs: [
14637
+ },
14827
14638
  {
14828
- name: "tokenId",
14829
- internalType: "uint256",
14830
- type: "uint256",
14831
- indexed: true
14639
+ name: "amountIn",
14640
+ internalType: "uint128",
14641
+ type: "uint128",
14642
+ indexed: false
14832
14643
  },
14833
14644
  {
14834
- name: "price",
14835
- internalType: "uint256",
14836
- type: "uint256",
14837
- indexed: true
14645
+ name: "amountOut",
14646
+ internalType: "uint128",
14647
+ type: "uint128",
14648
+ indexed: false
14838
14649
  },
14839
14650
  {
14840
- name: "tokenAddress",
14651
+ name: "fillReferral",
14841
14652
  internalType: "address",
14842
14653
  type: "address",
14843
- indexed: true
14844
- }
14845
- ],
14846
- name: "TokenCreated"
14847
- },
14848
- {
14849
- type: "event",
14850
- anonymous: false,
14851
- inputs: [
14654
+ indexed: false
14655
+ },
14852
14656
  {
14853
- name: "operator",
14854
- internalType: "address",
14855
- type: "address",
14856
- indexed: true
14657
+ name: "fillReferralAmount",
14658
+ internalType: "uint128",
14659
+ type: "uint128",
14660
+ indexed: false
14857
14661
  },
14858
- { name: "from", internalType: "address", type: "address", indexed: true },
14859
- { name: "to", internalType: "address", type: "address", indexed: true },
14860
14662
  {
14861
- name: "ids",
14862
- internalType: "uint256[]",
14863
- type: "uint256[]",
14663
+ name: "poolKeyHash",
14664
+ internalType: "bytes32",
14665
+ type: "bytes32",
14864
14666
  indexed: false
14865
14667
  },
14668
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
14866
14669
  {
14867
- name: "values",
14868
- internalType: "uint256[]",
14869
- type: "uint256[]",
14670
+ name: "orderId",
14671
+ internalType: "bytes32",
14672
+ type: "bytes32",
14870
14673
  indexed: false
14871
14674
  }
14872
14675
  ],
14873
- name: "TransferBatch"
14676
+ name: "LimitOrderFilled"
14874
14677
  },
14875
14678
  {
14876
14679
  type: "event",
14877
14680
  anonymous: false,
14878
14681
  inputs: [
14879
14682
  {
14880
- name: "operator",
14683
+ name: "maker",
14881
14684
  internalType: "address",
14882
14685
  type: "address",
14883
14686
  indexed: true
14884
14687
  },
14885
- { name: "from", internalType: "address", type: "address", indexed: true },
14886
- { name: "to", internalType: "address", type: "address", indexed: true },
14887
- { name: "id", internalType: "uint256", type: "uint256", indexed: false },
14688
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14888
14689
  {
14889
- name: "value",
14890
- internalType: "uint256",
14891
- type: "uint256",
14690
+ name: "poolKeyHash",
14691
+ internalType: "bytes32",
14692
+ type: "bytes32",
14693
+ indexed: false
14694
+ },
14695
+ {
14696
+ name: "isCurrency0",
14697
+ internalType: "bool",
14698
+ type: "bool",
14699
+ indexed: false
14700
+ },
14701
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
14702
+ {
14703
+ name: "orderSize",
14704
+ internalType: "uint128",
14705
+ type: "uint128",
14706
+ indexed: false
14707
+ },
14708
+ {
14709
+ name: "orderId",
14710
+ internalType: "bytes32",
14711
+ type: "bytes32",
14712
+ indexed: false
14713
+ },
14714
+ {
14715
+ name: "isCancelled",
14716
+ internalType: "bool",
14717
+ type: "bool",
14892
14718
  indexed: false
14893
14719
  }
14894
14720
  ],
14895
- name: "TransferSingle"
14896
- },
14897
- {
14898
- type: "event",
14899
- anonymous: false,
14900
- inputs: [
14901
- { name: "value", internalType: "string", type: "string", indexed: false },
14902
- { name: "id", internalType: "uint256", type: "uint256", indexed: true }
14903
- ],
14904
- name: "URI"
14721
+ name: "LimitOrderUpdated"
14905
14722
  },
14906
14723
  {
14907
14724
  type: "event",
14908
14725
  anonymous: false,
14909
14726
  inputs: [
14910
14727
  {
14911
- name: "contractURI",
14912
- internalType: "string",
14913
- type: "string",
14914
- indexed: false
14728
+ name: "maker",
14729
+ internalType: "address",
14730
+ type: "address",
14731
+ indexed: true
14915
14732
  },
14733
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14916
14734
  {
14917
- name: "baseURI",
14918
- internalType: "string",
14919
- type: "string",
14735
+ name: "balance",
14736
+ internalType: "uint128",
14737
+ type: "uint128",
14920
14738
  indexed: false
14921
14739
  }
14922
14740
  ],
14923
- name: "URIsUpdated"
14741
+ name: "MakerBalanceUpdated"
14924
14742
  },
14925
14743
  {
14926
14744
  type: "error",
14927
14745
  inputs: [{ name: "authority", internalType: "address", type: "address" }],
14928
14746
  name: "AccessManagedInvalidAuthority"
14929
14747
  },
14748
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
14749
+ { type: "error", inputs: [], name: "AddressZero" },
14750
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
14751
+ { type: "error", inputs: [], name: "InsufficientBalance" },
14752
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
14753
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
14754
+ {
14755
+ type: "error",
14756
+ inputs: [
14757
+ { name: "startTick", internalType: "int24", type: "int24" },
14758
+ { name: "endTick", internalType: "int24", type: "int24" },
14759
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
14760
+ ],
14761
+ name: "InvalidFillWindow"
14762
+ },
14763
+ { type: "error", inputs: [], name: "InvalidOrder" },
14764
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
14765
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
14766
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
14767
+ { type: "error", inputs: [], name: "NotPoolManager" },
14768
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
14769
+ { type: "error", inputs: [], name: "OrderClosed" },
14770
+ { type: "error", inputs: [], name: "OrderNotMaker" },
14771
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
14772
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
14773
+ { type: "error", inputs: [], name: "UnknownCallback" },
14774
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
14775
+ { type: "error", inputs: [], name: "ZeroMaker" },
14776
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
14777
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
14778
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
14779
+ { type: "error", inputs: [], name: "AddressZero" },
14780
+ { type: "error", inputs: [], name: "AlreadyOwner" },
14781
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
14930
14782
  {
14931
14783
  type: "error",
14932
- inputs: [
14933
- { name: "caller", internalType: "address", type: "address" },
14934
- { name: "delay", internalType: "uint32", type: "uint32" }
14935
- ],
14936
- name: "AccessManagedRequiredDelay"
14937
- },
14938
- {
14939
- type: "error",
14940
- inputs: [{ name: "caller", internalType: "address", type: "address" }],
14941
- name: "AccessManagedUnauthorized"
14784
+ inputs: [],
14785
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
14942
14786
  },
14787
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
14943
14788
  {
14944
14789
  type: "error",
14945
- inputs: [{ name: "target", internalType: "address", type: "address" }],
14946
- name: "AddressEmptyCode"
14790
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
14791
+ name: "ECDSAInvalidSignatureLength"
14947
14792
  },
14948
14793
  {
14949
14794
  type: "error",
14950
- inputs: [{ name: "account", internalType: "address", type: "address" }],
14951
- name: "AddressInsufficientBalance"
14795
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
14796
+ name: "ECDSAInvalidSignatureS"
14952
14797
  },
14953
14798
  {
14954
14799
  type: "error",
14955
14800
  inputs: [
14956
- { name: "lengthA", internalType: "uint256", type: "uint256" },
14957
- { name: "lengthB", internalType: "uint256", type: "uint256" }
14801
+ { name: "spender", internalType: "address", type: "address" },
14802
+ { name: "allowance", internalType: "uint256", type: "uint256" },
14803
+ { name: "needed", internalType: "uint256", type: "uint256" }
14958
14804
  ],
14959
- name: "ArrayLengthMismatch"
14960
- },
14961
- {
14962
- type: "error",
14963
- inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
14964
- name: "CallFailed"
14805
+ name: "ERC20InsufficientAllowance"
14965
14806
  },
14966
14807
  {
14967
14808
  type: "error",
14968
14809
  inputs: [
14969
14810
  { name: "sender", internalType: "address", type: "address" },
14970
14811
  { name: "balance", internalType: "uint256", type: "uint256" },
14971
- { name: "needed", internalType: "uint256", type: "uint256" },
14972
- { name: "tokenId", internalType: "uint256", type: "uint256" }
14812
+ { name: "needed", internalType: "uint256", type: "uint256" }
14973
14813
  ],
14974
- name: "ERC1155InsufficientBalance"
14814
+ name: "ERC20InsufficientBalance"
14975
14815
  },
14976
14816
  {
14977
14817
  type: "error",
14978
14818
  inputs: [{ name: "approver", internalType: "address", type: "address" }],
14979
- name: "ERC1155InvalidApprover"
14819
+ name: "ERC20InvalidApprover"
14980
14820
  },
14981
14821
  {
14982
14822
  type: "error",
14983
- inputs: [
14984
- { name: "idsLength", internalType: "uint256", type: "uint256" },
14985
- { name: "valuesLength", internalType: "uint256", type: "uint256" }
14986
- ],
14987
- name: "ERC1155InvalidArrayLength"
14823
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
14824
+ name: "ERC20InvalidReceiver"
14988
14825
  },
14989
14826
  {
14990
14827
  type: "error",
14991
- inputs: [{ name: "operator", internalType: "address", type: "address" }],
14992
- name: "ERC1155InvalidOperator"
14828
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
14829
+ name: "ERC20InvalidSender"
14993
14830
  },
14994
14831
  {
14995
14832
  type: "error",
14996
- inputs: [{ name: "receiver", internalType: "address", type: "address" }],
14997
- name: "ERC1155InvalidReceiver"
14833
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
14834
+ name: "ERC20InvalidSpender"
14998
14835
  },
14836
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
14999
14837
  {
15000
14838
  type: "error",
15001
- inputs: [{ name: "sender", internalType: "address", type: "address" }],
15002
- name: "ERC1155InvalidSender"
14839
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
14840
+ name: "ERC2612ExpiredSignature"
15003
14841
  },
15004
14842
  {
15005
14843
  type: "error",
15006
14844
  inputs: [
15007
- { name: "operator", internalType: "address", type: "address" },
14845
+ { name: "signer", internalType: "address", type: "address" },
15008
14846
  { name: "owner", internalType: "address", type: "address" }
15009
14847
  ],
15010
- name: "ERC1155MissingApprovalForAll"
15011
- },
15012
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15013
- {
15014
- type: "error",
15015
- inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
15016
- name: "ERC2612ExpiredSignature"
14848
+ name: "ERC2612InvalidSigner"
15017
14849
  },
15018
- { type: "error", inputs: [], name: "ETHTransferFailed" },
15019
- { type: "error", inputs: [], name: "FailedInnerCall" },
15020
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
14850
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
14851
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
14852
+ { type: "error", inputs: [], name: "EthTransferFailed" },
14853
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
14854
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
14855
+ { type: "error", inputs: [], name: "InsufficientFunds" },
14856
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
15021
14857
  {
15022
14858
  type: "error",
15023
14859
  inputs: [
@@ -15026,522 +14862,1952 @@ var zoraMints1155ABI = [
15026
14862
  ],
15027
14863
  name: "InvalidAccountNonce"
15028
14864
  },
15029
- { type: "error", inputs: [], name: "InvalidRecipient" },
15030
- { type: "error", inputs: [], name: "InvalidShortString" },
15031
- { type: "error", inputs: [], name: "InvalidSignature" },
15032
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
15033
- { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
14865
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
14866
+ { type: "error", inputs: [], name: "InvalidInitialization" },
14867
+ { type: "error", inputs: [], name: "InvalidMarketType" },
14868
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
15034
14869
  {
15035
14870
  type: "error",
15036
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
15037
- name: "NotARedeemHandler"
14871
+ inputs: [
14872
+ { name: "tickLower", internalType: "int24", type: "int24" },
14873
+ { name: "tickUpper", internalType: "int24", type: "int24" }
14874
+ ],
14875
+ name: "InvalidTickRangeMisordered"
14876
+ },
14877
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
14878
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
14879
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
14880
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
14881
+ {
14882
+ type: "error",
14883
+ inputs: [
14884
+ { name: "value", internalType: "uint256", type: "uint256" },
14885
+ { name: "limit", internalType: "uint256", type: "uint256" }
14886
+ ],
14887
+ name: "MaxShareToBeSoldExceeded"
15038
14888
  },
14889
+ { type: "error", inputs: [], name: "NameIsRequired" },
14890
+ { type: "error", inputs: [], name: "NotInitializing" },
14891
+ { type: "error", inputs: [], name: "NotOwner" },
14892
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
14893
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
14894
+ { type: "error", inputs: [], name: "OnlyOwner" },
15039
14895
  {
15040
14896
  type: "error",
15041
- inputs: [{ name: "token", internalType: "address", type: "address" }],
15042
- name: "SafeERC20FailedOperation"
14897
+ inputs: [
14898
+ { name: "sender", internalType: "address", type: "address" },
14899
+ { name: "pool", internalType: "address", type: "address" }
14900
+ ],
14901
+ name: "OnlyPool"
15043
14902
  },
14903
+ { type: "error", inputs: [], name: "OnlyWeth" },
14904
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
14905
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
14906
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
14907
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
14908
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
14909
+ { type: "error", inputs: [], name: "EthTransferFailed" },
14910
+ { type: "error", inputs: [], name: "HookNotImplemented" },
15044
14911
  {
15045
14912
  type: "error",
15046
- inputs: [{ name: "str", internalType: "string", type: "string" }],
15047
- name: "StringTooLong"
14913
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
14914
+ name: "InvalidCallbackId"
14915
+ },
14916
+ {
14917
+ type: "error",
14918
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
14919
+ name: "InvalidNewHook"
14920
+ },
14921
+ {
14922
+ type: "error",
14923
+ inputs: [
14924
+ { name: "tickLower", internalType: "int24", type: "int24" },
14925
+ { name: "tickUpper", internalType: "int24", type: "int24" }
14926
+ ],
14927
+ name: "InvalidTickRangeMisordered"
15048
14928
  },
15049
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15050
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
15051
14929
  {
15052
14930
  type: "error",
15053
14931
  inputs: [
15054
- { name: "storedTokenAddress", internalType: "address", type: "address" },
15055
14932
  {
15056
- name: "expectedTokenAddress",
15057
- internalType: "address",
15058
- type: "address"
14933
+ name: "key",
14934
+ internalType: "struct PoolKey",
14935
+ type: "tuple",
14936
+ components: [
14937
+ { name: "currency0", internalType: "Currency", type: "address" },
14938
+ { name: "currency1", internalType: "Currency", type: "address" },
14939
+ { name: "fee", internalType: "uint24", type: "uint24" },
14940
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
14941
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
14942
+ ]
15059
14943
  }
15060
14944
  ],
15061
- name: "TokenMismatch"
14945
+ name: "NoCoinForHook"
15062
14946
  },
15063
- { type: "error", inputs: [], name: "TokenNotMintable" }
14947
+ {
14948
+ type: "error",
14949
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
14950
+ name: "NotACoin"
14951
+ },
14952
+ { type: "error", inputs: [], name: "NotPoolManager" },
14953
+ {
14954
+ type: "error",
14955
+ inputs: [
14956
+ { name: "caller", internalType: "address", type: "address" },
14957
+ { name: "expectedCoin", internalType: "address", type: "address" }
14958
+ ],
14959
+ name: "OnlyCoin"
14960
+ },
14961
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
14962
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
14963
+ {
14964
+ type: "error",
14965
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
14966
+ name: "SafeERC20FailedOperation"
14967
+ },
14968
+ {
14969
+ type: "error",
14970
+ inputs: [],
14971
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
14972
+ },
14973
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
14974
+ {
14975
+ type: "error",
14976
+ inputs: [
14977
+ { name: "oldHook", internalType: "address", type: "address" },
14978
+ { name: "newHook", internalType: "address", type: "address" }
14979
+ ],
14980
+ name: "UpgradePathNotRegistered"
14981
+ }
15064
14982
  ];
15065
- var zoraMints1155Address = {
15066
- 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
15067
- 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
14983
+ var zoraLimitOrderBookAddress = {
14984
+ 8453: "0xBF26D61054Ad1f0f7AcafF9b3A0627A37915D627"
15068
14985
  };
15069
- var zoraMints1155Config = {
15070
- address: zoraMints1155Address,
15071
- abi: zoraMints1155ABI
14986
+ var zoraLimitOrderBookConfig = {
14987
+ address: zoraLimitOrderBookAddress,
14988
+ abi: zoraLimitOrderBookABI
15072
14989
  };
15073
- var zoraMintsManagerImplABI = [
14990
+ var zoraMints1155ABI = [
14991
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
15074
14992
  {
15075
- type: "constructor",
15076
- inputs: [
15077
- {
15078
- name: "_premintExecutor",
15079
- internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
15080
- type: "address"
15081
- }
15082
- ],
15083
- stateMutability: "nonpayable"
14993
+ type: "function",
14994
+ inputs: [],
14995
+ name: "ETH_ADDRESS",
14996
+ outputs: [{ name: "", internalType: "address", type: "address" }],
14997
+ stateMutability: "view"
15084
14998
  },
15085
14999
  {
15086
15000
  type: "function",
15087
15001
  inputs: [],
15088
- name: "UPGRADE_INTERFACE_VERSION",
15002
+ name: "MINIMUM_ERC20_PRICE",
15003
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15004
+ stateMutability: "view"
15005
+ },
15006
+ {
15007
+ type: "function",
15008
+ inputs: [],
15009
+ name: "MINIMUM_ETH_PRICE",
15010
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15011
+ stateMutability: "view"
15012
+ },
15013
+ {
15014
+ type: "function",
15015
+ inputs: [],
15016
+ name: "NAME",
15089
15017
  outputs: [{ name: "", internalType: "string", type: "string" }],
15090
15018
  stateMutability: "view"
15091
15019
  },
15092
15020
  {
15093
15021
  type: "function",
15094
15022
  inputs: [],
15095
- name: "acceptOwnership",
15096
- outputs: [],
15097
- stateMutability: "nonpayable"
15023
+ name: "VERSION",
15024
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15025
+ stateMutability: "view"
15026
+ },
15027
+ {
15028
+ type: "function",
15029
+ inputs: [],
15030
+ name: "authority",
15031
+ outputs: [{ name: "", internalType: "address", type: "address" }],
15032
+ stateMutability: "view"
15098
15033
  },
15099
15034
  {
15100
15035
  type: "function",
15101
15036
  inputs: [
15102
- { name: "callFrom", internalType: "address", type: "address" },
15103
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15104
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15105
- { name: "call", internalType: "bytes", type: "bytes" }
15106
- ],
15107
- name: "callWithTransferTokens",
15108
- outputs: [
15109
- { name: "success", internalType: "bool", type: "bool" },
15110
- { name: "result", internalType: "bytes", type: "bytes" }
15037
+ { name: "account", internalType: "address", type: "address" },
15038
+ { name: "id", internalType: "uint256", type: "uint256" }
15111
15039
  ],
15112
- stateMutability: "payable"
15040
+ name: "balanceOf",
15041
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15042
+ stateMutability: "view"
15043
+ },
15044
+ {
15045
+ type: "function",
15046
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
15047
+ name: "balanceOfAccount",
15048
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15049
+ stateMutability: "view"
15113
15050
  },
15114
15051
  {
15115
15052
  type: "function",
15116
15053
  inputs: [
15117
- { name: "caller", internalType: "address", type: "address" },
15118
- { name: "", internalType: "address", type: "address" },
15119
- { name: "", internalType: "bytes4", type: "bytes4" }
15054
+ { name: "accounts", internalType: "address[]", type: "address[]" },
15055
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
15120
15056
  ],
15121
- name: "canCall",
15122
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
15057
+ name: "balanceOfBatch",
15058
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
15059
+ stateMutability: "view"
15060
+ },
15061
+ {
15062
+ type: "function",
15063
+ inputs: [],
15064
+ name: "contractURI",
15065
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15123
15066
  stateMutability: "view"
15124
15067
  },
15125
15068
  {
15126
15069
  type: "function",
15127
15070
  inputs: [
15071
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15128
15072
  {
15129
- name: "zoraCreator1155Contract",
15130
- internalType: "contract IMintWithSparks",
15131
- type: "address"
15132
- },
15133
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
15134
- {
15135
- name: "zoraCreator1155TokenId",
15136
- internalType: "uint256",
15137
- type: "uint256"
15138
- },
15139
- {
15140
- name: "collectMintArguments",
15141
- internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
15073
+ name: "tokenConfig",
15074
+ internalType: "struct TokenConfig",
15142
15075
  type: "tuple",
15143
15076
  components: [
15144
- {
15145
- name: "mintRewardsRecipients",
15146
- internalType: "address[]",
15147
- type: "address[]"
15148
- },
15149
- { name: "minterArguments", internalType: "bytes", type: "bytes" },
15150
- { name: "mintComment", internalType: "string", type: "string" }
15077
+ { name: "price", internalType: "uint256", type: "uint256" },
15078
+ { name: "tokenAddress", internalType: "address", type: "address" },
15079
+ { name: "redeemHandler", internalType: "address", type: "address" }
15151
15080
  ]
15152
15081
  }
15153
15082
  ],
15154
- name: "collect",
15083
+ name: "createToken",
15155
15084
  outputs: [],
15156
- stateMutability: "payable"
15085
+ stateMutability: "nonpayable"
15157
15086
  },
15158
15087
  {
15159
15088
  type: "function",
15160
- inputs: [
15161
- {
15162
- name: "contractConfig",
15163
- internalType: "struct ContractWithAdditionalAdminsCreationConfig",
15164
- type: "tuple",
15165
- components: [
15166
- { name: "contractAdmin", internalType: "address", type: "address" },
15167
- { name: "contractURI", internalType: "string", type: "string" },
15168
- { name: "contractName", internalType: "string", type: "string" },
15169
- {
15170
- name: "additionalAdmins",
15171
- internalType: "address[]",
15172
- type: "address[]"
15173
- }
15174
- ]
15175
- },
15176
- { name: "tokenContract", internalType: "address", type: "address" },
15177
- {
15178
- name: "premintConfig",
15179
- internalType: "struct PremintConfigEncoded",
15180
- type: "tuple",
15181
- components: [
15182
- { name: "uid", internalType: "uint32", type: "uint32" },
15183
- { name: "version", internalType: "uint32", type: "uint32" },
15184
- { name: "deleted", internalType: "bool", type: "bool" },
15185
- { name: "tokenConfig", internalType: "bytes", type: "bytes" },
15186
- {
15187
- name: "premintConfigVersion",
15188
- internalType: "bytes32",
15189
- type: "bytes32"
15190
- }
15191
- ]
15192
- },
15193
- { name: "signature", internalType: "bytes", type: "bytes" },
15194
- {
15195
- name: "mintArguments",
15196
- internalType: "struct MintArguments",
15197
- type: "tuple",
15198
- components: [
15199
- { name: "mintRecipient", internalType: "address", type: "address" },
15200
- { name: "mintComment", internalType: "string", type: "string" },
15201
- {
15202
- name: "mintRewardsRecipients",
15203
- internalType: "address[]",
15204
- type: "address[]"
15205
- }
15206
- ]
15207
- },
15208
- { name: "firstMinter", internalType: "address", type: "address" },
15209
- { name: "signerContract", internalType: "address", type: "address" }
15089
+ inputs: [],
15090
+ name: "eip712Domain",
15091
+ outputs: [
15092
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
15093
+ { name: "name", internalType: "string", type: "string" },
15094
+ { name: "version", internalType: "string", type: "string" },
15095
+ { name: "chainId", internalType: "uint256", type: "uint256" },
15096
+ { name: "verifyingContract", internalType: "address", type: "address" },
15097
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
15098
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
15210
15099
  ],
15211
- name: "collectPremint",
15100
+ stateMutability: "view"
15101
+ },
15102
+ {
15103
+ type: "function",
15104
+ inputs: [],
15105
+ name: "getManager",
15106
+ outputs: [{ name: "", internalType: "address", type: "address" }],
15107
+ stateMutability: "view"
15108
+ },
15109
+ {
15110
+ type: "function",
15111
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15112
+ name: "getTokenConfig",
15212
15113
  outputs: [
15213
15114
  {
15214
- name: "result",
15215
- internalType: "struct PremintResult",
15115
+ name: "",
15116
+ internalType: "struct TokenConfig",
15216
15117
  type: "tuple",
15217
15118
  components: [
15218
- { name: "contractAddress", internalType: "address", type: "address" },
15219
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15220
- { name: "createdNewContract", internalType: "bool", type: "bool" }
15119
+ { name: "price", internalType: "uint256", type: "uint256" },
15120
+ { name: "tokenAddress", internalType: "address", type: "address" },
15121
+ { name: "redeemHandler", internalType: "address", type: "address" }
15221
15122
  ]
15222
15123
  }
15223
15124
  ],
15224
- stateMutability: "payable"
15125
+ stateMutability: "view"
15225
15126
  },
15226
15127
  {
15227
15128
  type: "function",
15228
15129
  inputs: [
15229
15130
  {
15230
- name: "contractConfig",
15231
- internalType: "struct ContractCreationConfig",
15232
- type: "tuple",
15233
- components: [
15234
- { name: "contractAdmin", internalType: "address", type: "address" },
15235
- { name: "contractURI", internalType: "string", type: "string" },
15236
- { name: "contractName", internalType: "string", type: "string" }
15237
- ]
15238
- },
15239
- {
15240
- name: "premintConfig",
15241
- internalType: "struct PremintConfigV2",
15242
- type: "tuple",
15243
- components: [
15244
- {
15245
- name: "tokenConfig",
15246
- internalType: "struct TokenCreationConfigV2",
15247
- type: "tuple",
15248
- components: [
15249
- { name: "tokenURI", internalType: "string", type: "string" },
15250
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
15251
- {
15252
- name: "maxTokensPerAddress",
15253
- internalType: "uint64",
15254
- type: "uint64"
15255
- },
15256
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
15257
- { name: "mintStart", internalType: "uint64", type: "uint64" },
15258
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
15259
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
15260
- {
15261
- name: "payoutRecipient",
15262
- internalType: "address",
15263
- type: "address"
15264
- },
15265
- {
15266
- name: "fixedPriceMinter",
15267
- internalType: "address",
15268
- type: "address"
15269
- },
15270
- {
15271
- name: "createReferral",
15272
- internalType: "address",
15273
- type: "address"
15274
- }
15275
- ]
15276
- },
15277
- { name: "uid", internalType: "uint32", type: "uint32" },
15278
- { name: "version", internalType: "uint32", type: "uint32" },
15279
- { name: "deleted", internalType: "bool", type: "bool" }
15280
- ]
15281
- },
15282
- { name: "signature", internalType: "bytes", type: "bytes" },
15283
- {
15284
- name: "mintArguments",
15285
- internalType: "struct MintArguments",
15131
+ name: "permit",
15132
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15286
15133
  type: "tuple",
15287
15134
  components: [
15288
- { name: "mintRecipient", internalType: "address", type: "address" },
15289
- { name: "mintComment", internalType: "string", type: "string" },
15290
- {
15291
- name: "mintRewardsRecipients",
15292
- internalType: "address[]",
15293
- type: "address[]"
15294
- }
15135
+ { name: "owner", internalType: "address", type: "address" },
15136
+ { name: "to", internalType: "address", type: "address" },
15137
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15138
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15139
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15140
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15141
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15295
15142
  ]
15296
- },
15297
- { name: "signerContract", internalType: "address", type: "address" }
15143
+ }
15298
15144
  ],
15299
- name: "collectPremintV2",
15300
- outputs: [
15145
+ name: "hashPermitBatch",
15146
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15147
+ stateMutability: "view"
15148
+ },
15149
+ {
15150
+ type: "function",
15151
+ inputs: [
15301
15152
  {
15302
- name: "result",
15303
- internalType: "struct PremintResult",
15153
+ name: "permit",
15154
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
15304
15155
  type: "tuple",
15305
15156
  components: [
15306
- { name: "contractAddress", internalType: "address", type: "address" },
15157
+ { name: "owner", internalType: "address", type: "address" },
15158
+ { name: "to", internalType: "address", type: "address" },
15307
15159
  { name: "tokenId", internalType: "uint256", type: "uint256" },
15308
- { name: "createdNewContract", internalType: "bool", type: "bool" }
15160
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15161
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15162
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15163
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15309
15164
  ]
15310
15165
  }
15311
15166
  ],
15312
- stateMutability: "payable"
15313
- },
15314
- {
15315
- type: "function",
15316
- inputs: [],
15317
- name: "contractName",
15318
- outputs: [{ name: "", internalType: "string", type: "string" }],
15319
- stateMutability: "pure"
15167
+ name: "hashPermitSingle",
15168
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15169
+ stateMutability: "view"
15320
15170
  },
15321
15171
  {
15322
15172
  type: "function",
15323
- inputs: [],
15324
- name: "contractURI",
15325
- outputs: [{ name: "", internalType: "string", type: "string" }],
15173
+ inputs: [
15174
+ { name: "account", internalType: "address", type: "address" },
15175
+ { name: "operator", internalType: "address", type: "address" }
15176
+ ],
15177
+ name: "isApprovedForAll",
15178
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15326
15179
  stateMutability: "view"
15327
15180
  },
15328
15181
  {
15329
15182
  type: "function",
15330
15183
  inputs: [],
15331
- name: "contractVersion",
15332
- outputs: [{ name: "", internalType: "string", type: "string" }],
15333
- stateMutability: "pure"
15184
+ name: "isConsumingScheduledOp",
15185
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15186
+ stateMutability: "view"
15334
15187
  },
15335
15188
  {
15336
15189
  type: "function",
15337
15190
  inputs: [
15338
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15339
15191
  {
15340
- name: "tokenConfig",
15341
- internalType: "struct TokenConfig",
15192
+ name: "permit",
15193
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15342
15194
  type: "tuple",
15343
15195
  components: [
15344
- { name: "price", internalType: "uint256", type: "uint256" },
15345
- { name: "tokenAddress", internalType: "address", type: "address" },
15346
- { name: "redeemHandler", internalType: "address", type: "address" }
15196
+ { name: "owner", internalType: "address", type: "address" },
15197
+ { name: "to", internalType: "address", type: "address" },
15198
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15199
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15200
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15201
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15202
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15347
15203
  ]
15348
15204
  },
15349
- { name: "defaultMintable", internalType: "bool", type: "bool" }
15350
- ],
15351
- name: "createToken",
15352
- outputs: [],
15353
- stateMutability: "nonpayable"
15354
- },
15355
- {
15356
- type: "function",
15357
- inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
15358
- name: "decodeMintRecipientAndComment",
15359
- outputs: [
15360
- { name: "mintTo", internalType: "address", type: "address" },
15361
- { name: "mintComment", internalType: "string", type: "string" }
15205
+ { name: "signature", internalType: "bytes", type: "bytes" }
15362
15206
  ],
15363
- stateMutability: "pure"
15207
+ name: "isValidSignatureTransferBatch",
15208
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15209
+ stateMutability: "view"
15364
15210
  },
15365
15211
  {
15366
15212
  type: "function",
15367
- inputs: [],
15368
- name: "getEthPrice",
15369
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15213
+ inputs: [
15214
+ {
15215
+ name: "permit",
15216
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
15217
+ type: "tuple",
15218
+ components: [
15219
+ { name: "owner", internalType: "address", type: "address" },
15220
+ { name: "to", internalType: "address", type: "address" },
15221
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15222
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15223
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15224
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15225
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15226
+ ]
15227
+ },
15228
+ { name: "signature", internalType: "bytes", type: "bytes" }
15229
+ ],
15230
+ name: "isValidSignatureTransferSingle",
15231
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15370
15232
  stateMutability: "view"
15371
15233
  },
15234
+ {
15235
+ type: "function",
15236
+ inputs: [
15237
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15238
+ { name: "tokenAddress", internalType: "address", type: "address" },
15239
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15240
+ { name: "recipient", internalType: "address", type: "address" },
15241
+ { name: "data", internalType: "bytes", type: "bytes" }
15242
+ ],
15243
+ name: "mintTokenWithERC20",
15244
+ outputs: [],
15245
+ stateMutability: "nonpayable"
15246
+ },
15247
+ {
15248
+ type: "function",
15249
+ inputs: [
15250
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15251
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15252
+ { name: "recipient", internalType: "address", type: "address" },
15253
+ { name: "data", internalType: "bytes", type: "bytes" }
15254
+ ],
15255
+ name: "mintTokenWithEth",
15256
+ outputs: [],
15257
+ stateMutability: "payable"
15258
+ },
15372
15259
  {
15373
15260
  type: "function",
15374
15261
  inputs: [],
15375
- name: "implementation",
15376
- outputs: [{ name: "", internalType: "address", type: "address" }],
15262
+ name: "name",
15263
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15264
+ stateMutability: "pure"
15265
+ },
15266
+ {
15267
+ type: "function",
15268
+ inputs: [
15269
+ { name: "owner", internalType: "address", type: "address" },
15270
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15271
+ ],
15272
+ name: "nonceUsed",
15273
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15377
15274
  stateMutability: "view"
15378
15275
  },
15379
15276
  {
15380
15277
  type: "function",
15381
15278
  inputs: [
15382
- { name: "defaultOwner", internalType: "address", type: "address" },
15383
- { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
15384
- { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
15385
- { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
15279
+ { name: "newContractURI", internalType: "string", type: "string" },
15280
+ { name: "newBaseURI", internalType: "string", type: "string" }
15281
+ ],
15282
+ name: "notifyURIsUpdated",
15283
+ outputs: [],
15284
+ stateMutability: "nonpayable"
15285
+ },
15286
+ {
15287
+ type: "function",
15288
+ inputs: [
15289
+ { name: "newUri", internalType: "string", type: "string" },
15290
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
15291
+ ],
15292
+ name: "notifyUpdatedTokenURI",
15293
+ outputs: [],
15294
+ stateMutability: "nonpayable"
15295
+ },
15296
+ {
15297
+ type: "function",
15298
+ inputs: [
15386
15299
  {
15387
- name: "initialEthTokenPrice",
15388
- internalType: "uint256",
15389
- type: "uint256"
15300
+ name: "permit",
15301
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
15302
+ type: "tuple",
15303
+ components: [
15304
+ { name: "owner", internalType: "address", type: "address" },
15305
+ { name: "to", internalType: "address", type: "address" },
15306
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15307
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15308
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15309
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15310
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15311
+ ]
15390
15312
  },
15391
- { name: "newBaseURI", internalType: "string", type: "string" },
15392
- { name: "newContractURI", internalType: "string", type: "string" }
15313
+ { name: "signature", internalType: "bytes", type: "bytes" }
15393
15314
  ],
15394
- name: "initialize",
15395
- outputs: [
15315
+ name: "permitSafeTransfer",
15316
+ outputs: [],
15317
+ stateMutability: "nonpayable"
15318
+ },
15319
+ {
15320
+ type: "function",
15321
+ inputs: [
15396
15322
  {
15397
- name: "mints",
15398
- internalType: "contract IZoraSparks1155",
15399
- type: "address"
15400
- }
15323
+ name: "permit",
15324
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15325
+ type: "tuple",
15326
+ components: [
15327
+ { name: "owner", internalType: "address", type: "address" },
15328
+ { name: "to", internalType: "address", type: "address" },
15329
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15330
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15331
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15332
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15333
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15334
+ ]
15335
+ },
15336
+ { name: "signature", internalType: "bytes", type: "bytes" }
15401
15337
  ],
15338
+ name: "permitSafeTransferBatch",
15339
+ outputs: [],
15402
15340
  stateMutability: "nonpayable"
15403
15341
  },
15404
15342
  {
15405
15343
  type: "function",
15406
15344
  inputs: [
15407
- { name: "tokenAddress", internalType: "address", type: "address" },
15345
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15408
15346
  { name: "quantity", internalType: "uint256", type: "uint256" },
15409
15347
  { name: "recipient", internalType: "address", type: "address" }
15410
15348
  ],
15411
- name: "mintWithERC20",
15349
+ name: "redeem",
15412
15350
  outputs: [
15413
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
15351
+ {
15352
+ name: "",
15353
+ internalType: "struct Redemption",
15354
+ type: "tuple",
15355
+ components: [
15356
+ { name: "tokenAddress", internalType: "address", type: "address" },
15357
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
15358
+ ]
15359
+ }
15414
15360
  ],
15415
15361
  stateMutability: "nonpayable"
15416
15362
  },
15417
15363
  {
15418
15364
  type: "function",
15419
15365
  inputs: [
15420
- { name: "quantity", internalType: "uint256", type: "uint256" },
15366
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15367
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15421
15368
  { name: "recipient", internalType: "address", type: "address" }
15422
15369
  ],
15423
- name: "mintWithEth",
15370
+ name: "redeemBatch",
15424
15371
  outputs: [
15425
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
15372
+ {
15373
+ name: "redemptions",
15374
+ internalType: "struct Redemption[]",
15375
+ type: "tuple[]",
15376
+ components: [
15377
+ { name: "tokenAddress", internalType: "address", type: "address" },
15378
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
15379
+ ]
15380
+ }
15426
15381
  ],
15427
- stateMutability: "payable"
15428
- },
15429
- {
15430
- type: "function",
15431
- inputs: [],
15432
- name: "mintableEthToken",
15433
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15434
- stateMutability: "view"
15382
+ stateMutability: "nonpayable"
15435
15383
  },
15436
15384
  {
15437
15385
  type: "function",
15438
15386
  inputs: [
15439
- { name: "", internalType: "address", type: "address" },
15440
15387
  { name: "from", internalType: "address", type: "address" },
15388
+ { name: "to", internalType: "address", type: "address" },
15441
15389
  { name: "ids", internalType: "uint256[]", type: "uint256[]" },
15442
15390
  { name: "values", internalType: "uint256[]", type: "uint256[]" },
15443
15391
  { name: "data", internalType: "bytes", type: "bytes" }
15444
15392
  ],
15445
- name: "onERC1155BatchReceived",
15446
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15393
+ name: "safeBatchTransferFrom",
15394
+ outputs: [],
15447
15395
  stateMutability: "nonpayable"
15448
15396
  },
15449
15397
  {
15450
15398
  type: "function",
15451
15399
  inputs: [
15452
- { name: "", internalType: "address", type: "address" },
15453
15400
  { name: "from", internalType: "address", type: "address" },
15401
+ { name: "to", internalType: "address", type: "address" },
15454
15402
  { name: "id", internalType: "uint256", type: "uint256" },
15455
15403
  { name: "value", internalType: "uint256", type: "uint256" },
15456
15404
  { name: "data", internalType: "bytes", type: "bytes" }
15457
15405
  ],
15458
- name: "onERC1155Received",
15459
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15406
+ name: "safeTransferFrom",
15407
+ outputs: [],
15408
+ stateMutability: "nonpayable"
15409
+ },
15410
+ {
15411
+ type: "function",
15412
+ inputs: [
15413
+ { name: "operator", internalType: "address", type: "address" },
15414
+ { name: "approved", internalType: "bool", type: "bool" }
15415
+ ],
15416
+ name: "setApprovalForAll",
15417
+ outputs: [],
15418
+ stateMutability: "nonpayable"
15419
+ },
15420
+ {
15421
+ type: "function",
15422
+ inputs: [
15423
+ { name: "newAuthority", internalType: "address", type: "address" }
15424
+ ],
15425
+ name: "setAuthority",
15426
+ outputs: [],
15427
+ stateMutability: "nonpayable"
15428
+ },
15429
+ {
15430
+ type: "function",
15431
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
15432
+ name: "supportsInterface",
15433
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15434
+ stateMutability: "view"
15435
+ },
15436
+ {
15437
+ type: "function",
15438
+ inputs: [],
15439
+ name: "symbol",
15440
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15441
+ stateMutability: "pure"
15442
+ },
15443
+ {
15444
+ type: "function",
15445
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15446
+ name: "tokenExists",
15447
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15448
+ stateMutability: "view"
15449
+ },
15450
+ {
15451
+ type: "function",
15452
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15453
+ name: "tokenPrice",
15454
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15455
+ stateMutability: "view"
15456
+ },
15457
+ {
15458
+ type: "function",
15459
+ inputs: [
15460
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15461
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15462
+ { name: "call", internalType: "bytes", type: "bytes" }
15463
+ ],
15464
+ name: "transferBatchToManagerAndCall",
15465
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
15466
+ stateMutability: "payable"
15467
+ },
15468
+ {
15469
+ type: "function",
15470
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15471
+ name: "uri",
15472
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15473
+ stateMutability: "view"
15474
+ },
15475
+ {
15476
+ type: "event",
15477
+ anonymous: false,
15478
+ inputs: [
15479
+ {
15480
+ name: "account",
15481
+ internalType: "address",
15482
+ type: "address",
15483
+ indexed: true
15484
+ },
15485
+ {
15486
+ name: "operator",
15487
+ internalType: "address",
15488
+ type: "address",
15489
+ indexed: true
15490
+ },
15491
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
15492
+ ],
15493
+ name: "ApprovalForAll"
15494
+ },
15495
+ {
15496
+ type: "event",
15497
+ anonymous: false,
15498
+ inputs: [
15499
+ {
15500
+ name: "authority",
15501
+ internalType: "address",
15502
+ type: "address",
15503
+ indexed: false
15504
+ }
15505
+ ],
15506
+ name: "AuthorityUpdated"
15507
+ },
15508
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
15509
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
15510
+ {
15511
+ type: "event",
15512
+ anonymous: false,
15513
+ inputs: [
15514
+ {
15515
+ name: "tokenId",
15516
+ internalType: "uint256",
15517
+ type: "uint256",
15518
+ indexed: true
15519
+ },
15520
+ {
15521
+ name: "price",
15522
+ internalType: "uint256",
15523
+ type: "uint256",
15524
+ indexed: true
15525
+ },
15526
+ {
15527
+ name: "tokenAddress",
15528
+ internalType: "address",
15529
+ type: "address",
15530
+ indexed: true
15531
+ }
15532
+ ],
15533
+ name: "TokenCreated"
15534
+ },
15535
+ {
15536
+ type: "event",
15537
+ anonymous: false,
15538
+ inputs: [
15539
+ {
15540
+ name: "operator",
15541
+ internalType: "address",
15542
+ type: "address",
15543
+ indexed: true
15544
+ },
15545
+ { name: "from", internalType: "address", type: "address", indexed: true },
15546
+ { name: "to", internalType: "address", type: "address", indexed: true },
15547
+ {
15548
+ name: "ids",
15549
+ internalType: "uint256[]",
15550
+ type: "uint256[]",
15551
+ indexed: false
15552
+ },
15553
+ {
15554
+ name: "values",
15555
+ internalType: "uint256[]",
15556
+ type: "uint256[]",
15557
+ indexed: false
15558
+ }
15559
+ ],
15560
+ name: "TransferBatch"
15561
+ },
15562
+ {
15563
+ type: "event",
15564
+ anonymous: false,
15565
+ inputs: [
15566
+ {
15567
+ name: "operator",
15568
+ internalType: "address",
15569
+ type: "address",
15570
+ indexed: true
15571
+ },
15572
+ { name: "from", internalType: "address", type: "address", indexed: true },
15573
+ { name: "to", internalType: "address", type: "address", indexed: true },
15574
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
15575
+ {
15576
+ name: "value",
15577
+ internalType: "uint256",
15578
+ type: "uint256",
15579
+ indexed: false
15580
+ }
15581
+ ],
15582
+ name: "TransferSingle"
15583
+ },
15584
+ {
15585
+ type: "event",
15586
+ anonymous: false,
15587
+ inputs: [
15588
+ { name: "value", internalType: "string", type: "string", indexed: false },
15589
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
15590
+ ],
15591
+ name: "URI"
15592
+ },
15593
+ {
15594
+ type: "event",
15595
+ anonymous: false,
15596
+ inputs: [
15597
+ {
15598
+ name: "contractURI",
15599
+ internalType: "string",
15600
+ type: "string",
15601
+ indexed: false
15602
+ },
15603
+ {
15604
+ name: "baseURI",
15605
+ internalType: "string",
15606
+ type: "string",
15607
+ indexed: false
15608
+ }
15609
+ ],
15610
+ name: "URIsUpdated"
15611
+ },
15612
+ {
15613
+ type: "error",
15614
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
15615
+ name: "AccessManagedInvalidAuthority"
15616
+ },
15617
+ {
15618
+ type: "error",
15619
+ inputs: [
15620
+ { name: "caller", internalType: "address", type: "address" },
15621
+ { name: "delay", internalType: "uint32", type: "uint32" }
15622
+ ],
15623
+ name: "AccessManagedRequiredDelay"
15624
+ },
15625
+ {
15626
+ type: "error",
15627
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
15628
+ name: "AccessManagedUnauthorized"
15629
+ },
15630
+ {
15631
+ type: "error",
15632
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
15633
+ name: "AddressEmptyCode"
15634
+ },
15635
+ {
15636
+ type: "error",
15637
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
15638
+ name: "AddressInsufficientBalance"
15639
+ },
15640
+ {
15641
+ type: "error",
15642
+ inputs: [
15643
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
15644
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
15645
+ ],
15646
+ name: "ArrayLengthMismatch"
15647
+ },
15648
+ {
15649
+ type: "error",
15650
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
15651
+ name: "CallFailed"
15652
+ },
15653
+ {
15654
+ type: "error",
15655
+ inputs: [
15656
+ { name: "sender", internalType: "address", type: "address" },
15657
+ { name: "balance", internalType: "uint256", type: "uint256" },
15658
+ { name: "needed", internalType: "uint256", type: "uint256" },
15659
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
15660
+ ],
15661
+ name: "ERC1155InsufficientBalance"
15662
+ },
15663
+ {
15664
+ type: "error",
15665
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
15666
+ name: "ERC1155InvalidApprover"
15667
+ },
15668
+ {
15669
+ type: "error",
15670
+ inputs: [
15671
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
15672
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
15673
+ ],
15674
+ name: "ERC1155InvalidArrayLength"
15675
+ },
15676
+ {
15677
+ type: "error",
15678
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
15679
+ name: "ERC1155InvalidOperator"
15680
+ },
15681
+ {
15682
+ type: "error",
15683
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
15684
+ name: "ERC1155InvalidReceiver"
15685
+ },
15686
+ {
15687
+ type: "error",
15688
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
15689
+ name: "ERC1155InvalidSender"
15690
+ },
15691
+ {
15692
+ type: "error",
15693
+ inputs: [
15694
+ { name: "operator", internalType: "address", type: "address" },
15695
+ { name: "owner", internalType: "address", type: "address" }
15696
+ ],
15697
+ name: "ERC1155MissingApprovalForAll"
15698
+ },
15699
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15700
+ {
15701
+ type: "error",
15702
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
15703
+ name: "ERC2612ExpiredSignature"
15704
+ },
15705
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
15706
+ { type: "error", inputs: [], name: "FailedInnerCall" },
15707
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
15708
+ {
15709
+ type: "error",
15710
+ inputs: [
15711
+ { name: "account", internalType: "address", type: "address" },
15712
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
15713
+ ],
15714
+ name: "InvalidAccountNonce"
15715
+ },
15716
+ { type: "error", inputs: [], name: "InvalidRecipient" },
15717
+ { type: "error", inputs: [], name: "InvalidShortString" },
15718
+ { type: "error", inputs: [], name: "InvalidSignature" },
15719
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
15720
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
15721
+ {
15722
+ type: "error",
15723
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
15724
+ name: "NotARedeemHandler"
15725
+ },
15726
+ {
15727
+ type: "error",
15728
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
15729
+ name: "SafeERC20FailedOperation"
15730
+ },
15731
+ {
15732
+ type: "error",
15733
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
15734
+ name: "StringTooLong"
15735
+ },
15736
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15737
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
15738
+ {
15739
+ type: "error",
15740
+ inputs: [
15741
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
15742
+ {
15743
+ name: "expectedTokenAddress",
15744
+ internalType: "address",
15745
+ type: "address"
15746
+ }
15747
+ ],
15748
+ name: "TokenMismatch"
15749
+ },
15750
+ { type: "error", inputs: [], name: "TokenNotMintable" }
15751
+ ];
15752
+ var zoraMints1155Address = {
15753
+ 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
15754
+ 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
15755
+ };
15756
+ var zoraMints1155Config = {
15757
+ address: zoraMints1155Address,
15758
+ abi: zoraMints1155ABI
15759
+ };
15760
+ var zoraMintsManagerImplABI = [
15761
+ {
15762
+ type: "constructor",
15763
+ inputs: [
15764
+ {
15765
+ name: "_premintExecutor",
15766
+ internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
15767
+ type: "address"
15768
+ }
15769
+ ],
15770
+ stateMutability: "nonpayable"
15771
+ },
15772
+ {
15773
+ type: "function",
15774
+ inputs: [],
15775
+ name: "UPGRADE_INTERFACE_VERSION",
15776
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15777
+ stateMutability: "view"
15778
+ },
15779
+ {
15780
+ type: "function",
15781
+ inputs: [],
15782
+ name: "acceptOwnership",
15783
+ outputs: [],
15784
+ stateMutability: "nonpayable"
15785
+ },
15786
+ {
15787
+ type: "function",
15788
+ inputs: [
15789
+ { name: "callFrom", internalType: "address", type: "address" },
15790
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15791
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15792
+ { name: "call", internalType: "bytes", type: "bytes" }
15793
+ ],
15794
+ name: "callWithTransferTokens",
15795
+ outputs: [
15796
+ { name: "success", internalType: "bool", type: "bool" },
15797
+ { name: "result", internalType: "bytes", type: "bytes" }
15798
+ ],
15799
+ stateMutability: "payable"
15800
+ },
15801
+ {
15802
+ type: "function",
15803
+ inputs: [
15804
+ { name: "caller", internalType: "address", type: "address" },
15805
+ { name: "", internalType: "address", type: "address" },
15806
+ { name: "", internalType: "bytes4", type: "bytes4" }
15807
+ ],
15808
+ name: "canCall",
15809
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15810
+ stateMutability: "view"
15811
+ },
15812
+ {
15813
+ type: "function",
15814
+ inputs: [
15815
+ {
15816
+ name: "zoraCreator1155Contract",
15817
+ internalType: "contract IMintWithSparks",
15818
+ type: "address"
15819
+ },
15820
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
15821
+ {
15822
+ name: "zoraCreator1155TokenId",
15823
+ internalType: "uint256",
15824
+ type: "uint256"
15825
+ },
15826
+ {
15827
+ name: "collectMintArguments",
15828
+ internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
15829
+ type: "tuple",
15830
+ components: [
15831
+ {
15832
+ name: "mintRewardsRecipients",
15833
+ internalType: "address[]",
15834
+ type: "address[]"
15835
+ },
15836
+ { name: "minterArguments", internalType: "bytes", type: "bytes" },
15837
+ { name: "mintComment", internalType: "string", type: "string" }
15838
+ ]
15839
+ }
15840
+ ],
15841
+ name: "collect",
15842
+ outputs: [],
15843
+ stateMutability: "payable"
15844
+ },
15845
+ {
15846
+ type: "function",
15847
+ inputs: [
15848
+ {
15849
+ name: "contractConfig",
15850
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
15851
+ type: "tuple",
15852
+ components: [
15853
+ { name: "contractAdmin", internalType: "address", type: "address" },
15854
+ { name: "contractURI", internalType: "string", type: "string" },
15855
+ { name: "contractName", internalType: "string", type: "string" },
15856
+ {
15857
+ name: "additionalAdmins",
15858
+ internalType: "address[]",
15859
+ type: "address[]"
15860
+ }
15861
+ ]
15862
+ },
15863
+ { name: "tokenContract", internalType: "address", type: "address" },
15864
+ {
15865
+ name: "premintConfig",
15866
+ internalType: "struct PremintConfigEncoded",
15867
+ type: "tuple",
15868
+ components: [
15869
+ { name: "uid", internalType: "uint32", type: "uint32" },
15870
+ { name: "version", internalType: "uint32", type: "uint32" },
15871
+ { name: "deleted", internalType: "bool", type: "bool" },
15872
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
15873
+ {
15874
+ name: "premintConfigVersion",
15875
+ internalType: "bytes32",
15876
+ type: "bytes32"
15877
+ }
15878
+ ]
15879
+ },
15880
+ { name: "signature", internalType: "bytes", type: "bytes" },
15881
+ {
15882
+ name: "mintArguments",
15883
+ internalType: "struct MintArguments",
15884
+ type: "tuple",
15885
+ components: [
15886
+ { name: "mintRecipient", internalType: "address", type: "address" },
15887
+ { name: "mintComment", internalType: "string", type: "string" },
15888
+ {
15889
+ name: "mintRewardsRecipients",
15890
+ internalType: "address[]",
15891
+ type: "address[]"
15892
+ }
15893
+ ]
15894
+ },
15895
+ { name: "firstMinter", internalType: "address", type: "address" },
15896
+ { name: "signerContract", internalType: "address", type: "address" }
15897
+ ],
15898
+ name: "collectPremint",
15899
+ outputs: [
15900
+ {
15901
+ name: "result",
15902
+ internalType: "struct PremintResult",
15903
+ type: "tuple",
15904
+ components: [
15905
+ { name: "contractAddress", internalType: "address", type: "address" },
15906
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15907
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
15908
+ ]
15909
+ }
15910
+ ],
15911
+ stateMutability: "payable"
15912
+ },
15913
+ {
15914
+ type: "function",
15915
+ inputs: [
15916
+ {
15917
+ name: "contractConfig",
15918
+ internalType: "struct ContractCreationConfig",
15919
+ type: "tuple",
15920
+ components: [
15921
+ { name: "contractAdmin", internalType: "address", type: "address" },
15922
+ { name: "contractURI", internalType: "string", type: "string" },
15923
+ { name: "contractName", internalType: "string", type: "string" }
15924
+ ]
15925
+ },
15926
+ {
15927
+ name: "premintConfig",
15928
+ internalType: "struct PremintConfigV2",
15929
+ type: "tuple",
15930
+ components: [
15931
+ {
15932
+ name: "tokenConfig",
15933
+ internalType: "struct TokenCreationConfigV2",
15934
+ type: "tuple",
15935
+ components: [
15936
+ { name: "tokenURI", internalType: "string", type: "string" },
15937
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
15938
+ {
15939
+ name: "maxTokensPerAddress",
15940
+ internalType: "uint64",
15941
+ type: "uint64"
15942
+ },
15943
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
15944
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
15945
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
15946
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
15947
+ {
15948
+ name: "payoutRecipient",
15949
+ internalType: "address",
15950
+ type: "address"
15951
+ },
15952
+ {
15953
+ name: "fixedPriceMinter",
15954
+ internalType: "address",
15955
+ type: "address"
15956
+ },
15957
+ {
15958
+ name: "createReferral",
15959
+ internalType: "address",
15960
+ type: "address"
15961
+ }
15962
+ ]
15963
+ },
15964
+ { name: "uid", internalType: "uint32", type: "uint32" },
15965
+ { name: "version", internalType: "uint32", type: "uint32" },
15966
+ { name: "deleted", internalType: "bool", type: "bool" }
15967
+ ]
15968
+ },
15969
+ { name: "signature", internalType: "bytes", type: "bytes" },
15970
+ {
15971
+ name: "mintArguments",
15972
+ internalType: "struct MintArguments",
15973
+ type: "tuple",
15974
+ components: [
15975
+ { name: "mintRecipient", internalType: "address", type: "address" },
15976
+ { name: "mintComment", internalType: "string", type: "string" },
15977
+ {
15978
+ name: "mintRewardsRecipients",
15979
+ internalType: "address[]",
15980
+ type: "address[]"
15981
+ }
15982
+ ]
15983
+ },
15984
+ { name: "signerContract", internalType: "address", type: "address" }
15985
+ ],
15986
+ name: "collectPremintV2",
15987
+ outputs: [
15988
+ {
15989
+ name: "result",
15990
+ internalType: "struct PremintResult",
15991
+ type: "tuple",
15992
+ components: [
15993
+ { name: "contractAddress", internalType: "address", type: "address" },
15994
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15995
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
15996
+ ]
15997
+ }
15998
+ ],
15999
+ stateMutability: "payable"
16000
+ },
16001
+ {
16002
+ type: "function",
16003
+ inputs: [],
16004
+ name: "contractName",
16005
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16006
+ stateMutability: "pure"
16007
+ },
16008
+ {
16009
+ type: "function",
16010
+ inputs: [],
16011
+ name: "contractURI",
16012
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16013
+ stateMutability: "view"
16014
+ },
16015
+ {
16016
+ type: "function",
16017
+ inputs: [],
16018
+ name: "contractVersion",
16019
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16020
+ stateMutability: "pure"
16021
+ },
16022
+ {
16023
+ type: "function",
16024
+ inputs: [
16025
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16026
+ {
16027
+ name: "tokenConfig",
16028
+ internalType: "struct TokenConfig",
16029
+ type: "tuple",
16030
+ components: [
16031
+ { name: "price", internalType: "uint256", type: "uint256" },
16032
+ { name: "tokenAddress", internalType: "address", type: "address" },
16033
+ { name: "redeemHandler", internalType: "address", type: "address" }
16034
+ ]
16035
+ },
16036
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
16037
+ ],
16038
+ name: "createToken",
16039
+ outputs: [],
16040
+ stateMutability: "nonpayable"
16041
+ },
16042
+ {
16043
+ type: "function",
16044
+ inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
16045
+ name: "decodeMintRecipientAndComment",
16046
+ outputs: [
16047
+ { name: "mintTo", internalType: "address", type: "address" },
16048
+ { name: "mintComment", internalType: "string", type: "string" }
16049
+ ],
16050
+ stateMutability: "pure"
16051
+ },
16052
+ {
16053
+ type: "function",
16054
+ inputs: [],
16055
+ name: "getEthPrice",
16056
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16057
+ stateMutability: "view"
16058
+ },
16059
+ {
16060
+ type: "function",
16061
+ inputs: [],
16062
+ name: "implementation",
16063
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16064
+ stateMutability: "view"
16065
+ },
16066
+ {
16067
+ type: "function",
16068
+ inputs: [
16069
+ { name: "defaultOwner", internalType: "address", type: "address" },
16070
+ { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
16071
+ { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
16072
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
16073
+ {
16074
+ name: "initialEthTokenPrice",
16075
+ internalType: "uint256",
16076
+ type: "uint256"
16077
+ },
16078
+ { name: "newBaseURI", internalType: "string", type: "string" },
16079
+ { name: "newContractURI", internalType: "string", type: "string" }
16080
+ ],
16081
+ name: "initialize",
16082
+ outputs: [
16083
+ {
16084
+ name: "mints",
16085
+ internalType: "contract IZoraSparks1155",
16086
+ type: "address"
16087
+ }
16088
+ ],
16089
+ stateMutability: "nonpayable"
16090
+ },
16091
+ {
16092
+ type: "function",
16093
+ inputs: [
16094
+ { name: "tokenAddress", internalType: "address", type: "address" },
16095
+ { name: "quantity", internalType: "uint256", type: "uint256" },
16096
+ { name: "recipient", internalType: "address", type: "address" }
16097
+ ],
16098
+ name: "mintWithERC20",
16099
+ outputs: [
16100
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
16101
+ ],
16102
+ stateMutability: "nonpayable"
16103
+ },
16104
+ {
16105
+ type: "function",
16106
+ inputs: [
16107
+ { name: "quantity", internalType: "uint256", type: "uint256" },
16108
+ { name: "recipient", internalType: "address", type: "address" }
16109
+ ],
16110
+ name: "mintWithEth",
16111
+ outputs: [
16112
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
16113
+ ],
16114
+ stateMutability: "payable"
16115
+ },
16116
+ {
16117
+ type: "function",
16118
+ inputs: [],
16119
+ name: "mintableEthToken",
16120
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16121
+ stateMutability: "view"
16122
+ },
16123
+ {
16124
+ type: "function",
16125
+ inputs: [
16126
+ { name: "", internalType: "address", type: "address" },
16127
+ { name: "from", internalType: "address", type: "address" },
16128
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
16129
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
16130
+ { name: "data", internalType: "bytes", type: "bytes" }
16131
+ ],
16132
+ name: "onERC1155BatchReceived",
16133
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
16134
+ stateMutability: "nonpayable"
16135
+ },
16136
+ {
16137
+ type: "function",
16138
+ inputs: [
16139
+ { name: "", internalType: "address", type: "address" },
16140
+ { name: "from", internalType: "address", type: "address" },
16141
+ { name: "id", internalType: "uint256", type: "uint256" },
16142
+ { name: "value", internalType: "uint256", type: "uint256" },
16143
+ { name: "data", internalType: "bytes", type: "bytes" }
16144
+ ],
16145
+ name: "onERC1155Received",
16146
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
16147
+ stateMutability: "nonpayable"
16148
+ },
16149
+ {
16150
+ type: "function",
16151
+ inputs: [],
16152
+ name: "owner",
16153
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16154
+ stateMutability: "view"
16155
+ },
16156
+ {
16157
+ type: "function",
16158
+ inputs: [],
16159
+ name: "pendingOwner",
16160
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16161
+ stateMutability: "view"
16162
+ },
16163
+ {
16164
+ type: "function",
16165
+ inputs: [],
16166
+ name: "proxiableUUID",
16167
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
16168
+ stateMutability: "view"
16169
+ },
16170
+ {
16171
+ type: "function",
16172
+ inputs: [],
16173
+ name: "renounceOwnership",
16174
+ outputs: [],
16175
+ stateMutability: "nonpayable"
16176
+ },
16177
+ {
16178
+ type: "function",
16179
+ inputs: [
16180
+ { name: "tokenAddress", internalType: "address", type: "address" },
16181
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
16182
+ ],
16183
+ name: "setDefaultMintable",
16184
+ outputs: [],
16185
+ stateMutability: "nonpayable"
16186
+ },
16187
+ {
16188
+ type: "function",
16189
+ inputs: [
16190
+ { name: "newContractURI", internalType: "string", type: "string" },
16191
+ { name: "newBaseURI", internalType: "string", type: "string" },
16192
+ {
16193
+ name: "tokenIdsToNotifyUpdate",
16194
+ internalType: "uint256[]",
16195
+ type: "uint256[]"
16196
+ }
16197
+ ],
16198
+ name: "setMetadataURIs",
16199
+ outputs: [],
16200
+ stateMutability: "nonpayable"
16201
+ },
16202
+ {
16203
+ type: "function",
16204
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
16205
+ name: "transferOwnership",
16206
+ outputs: [],
16207
+ stateMutability: "nonpayable"
16208
+ },
16209
+ {
16210
+ type: "function",
16211
+ inputs: [
16212
+ { name: "newImplementation", internalType: "address", type: "address" },
16213
+ { name: "data", internalType: "bytes", type: "bytes" }
16214
+ ],
16215
+ name: "upgradeToAndCall",
16216
+ outputs: [],
16217
+ stateMutability: "payable"
16218
+ },
16219
+ {
16220
+ type: "function",
16221
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
16222
+ name: "uri",
16223
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16224
+ stateMutability: "view"
16225
+ },
16226
+ {
16227
+ type: "function",
16228
+ inputs: [],
16229
+ name: "zoraSparks1155",
16230
+ outputs: [
16231
+ { name: "", internalType: "contract IZoraSparks1155", type: "address" }
16232
+ ],
16233
+ stateMutability: "view"
16234
+ },
16235
+ {
16236
+ type: "event",
16237
+ anonymous: false,
16238
+ inputs: [
16239
+ {
16240
+ name: "tokenIds",
16241
+ internalType: "uint256[]",
16242
+ type: "uint256[]",
16243
+ indexed: true
16244
+ },
16245
+ {
16246
+ name: "quantities",
16247
+ internalType: "uint256[]",
16248
+ type: "uint256[]",
16249
+ indexed: false
16250
+ },
16251
+ {
16252
+ name: "zoraCreator1155Contract",
16253
+ internalType: "address",
16254
+ type: "address",
16255
+ indexed: true
16256
+ },
16257
+ {
16258
+ name: "zoraCreator1155TokenId",
16259
+ internalType: "uint256",
16260
+ type: "uint256",
16261
+ indexed: true
16262
+ }
16263
+ ],
16264
+ name: "Collected"
16265
+ },
16266
+ {
16267
+ type: "event",
16268
+ anonymous: false,
16269
+ inputs: [
16270
+ {
16271
+ name: "tokenAddress",
16272
+ internalType: "address",
16273
+ type: "address",
16274
+ indexed: false
16275
+ },
16276
+ {
16277
+ name: "tokenId",
16278
+ internalType: "uint256",
16279
+ type: "uint256",
16280
+ indexed: false
16281
+ }
16282
+ ],
16283
+ name: "DefaultMintableTokenSet"
16284
+ },
16285
+ {
16286
+ type: "event",
16287
+ anonymous: false,
16288
+ inputs: [
16289
+ {
16290
+ name: "version",
16291
+ internalType: "uint64",
16292
+ type: "uint64",
16293
+ indexed: false
16294
+ }
16295
+ ],
16296
+ name: "Initialized"
16297
+ },
16298
+ {
16299
+ type: "event",
16300
+ anonymous: false,
16301
+ inputs: [
16302
+ {
16303
+ name: "sender",
16304
+ internalType: "address",
16305
+ type: "address",
16306
+ indexed: true
16307
+ },
16308
+ {
16309
+ name: "tokenContract",
16310
+ internalType: "address",
16311
+ type: "address",
16312
+ indexed: true
16313
+ },
16314
+ {
16315
+ name: "tokenId",
16316
+ internalType: "uint256",
16317
+ type: "uint256",
16318
+ indexed: true
16319
+ },
16320
+ {
16321
+ name: "quantity",
16322
+ internalType: "uint256",
16323
+ type: "uint256",
16324
+ indexed: false
16325
+ },
16326
+ {
16327
+ name: "comment",
16328
+ internalType: "string",
16329
+ type: "string",
16330
+ indexed: false
16331
+ }
16332
+ ],
16333
+ name: "MintComment"
16334
+ },
16335
+ {
16336
+ type: "event",
16337
+ anonymous: false,
16338
+ inputs: [
16339
+ {
16340
+ name: "previousOwner",
16341
+ internalType: "address",
16342
+ type: "address",
16343
+ indexed: true
16344
+ },
16345
+ {
16346
+ name: "newOwner",
16347
+ internalType: "address",
16348
+ type: "address",
16349
+ indexed: true
16350
+ }
16351
+ ],
16352
+ name: "OwnershipTransferStarted"
16353
+ },
16354
+ {
16355
+ type: "event",
16356
+ anonymous: false,
16357
+ inputs: [
16358
+ {
16359
+ name: "previousOwner",
16360
+ internalType: "address",
16361
+ type: "address",
16362
+ indexed: true
16363
+ },
16364
+ {
16365
+ name: "newOwner",
16366
+ internalType: "address",
16367
+ type: "address",
16368
+ indexed: true
16369
+ }
16370
+ ],
16371
+ name: "OwnershipTransferred"
16372
+ },
16373
+ {
16374
+ type: "event",
16375
+ anonymous: false,
16376
+ inputs: [
16377
+ {
16378
+ name: "contractURI",
16379
+ internalType: "string",
16380
+ type: "string",
16381
+ indexed: false
16382
+ },
16383
+ {
16384
+ name: "baseURI",
16385
+ internalType: "string",
16386
+ type: "string",
16387
+ indexed: false
16388
+ }
16389
+ ],
16390
+ name: "URIsUpdated"
16391
+ },
16392
+ {
16393
+ type: "event",
16394
+ anonymous: false,
16395
+ inputs: [
16396
+ {
16397
+ name: "implementation",
16398
+ internalType: "address",
16399
+ type: "address",
16400
+ indexed: true
16401
+ }
16402
+ ],
16403
+ name: "Upgraded"
16404
+ },
16405
+ {
16406
+ type: "error",
16407
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
16408
+ name: "AddressEmptyCode"
16409
+ },
16410
+ {
16411
+ type: "error",
16412
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
16413
+ name: "AddressInsufficientBalance"
16414
+ },
16415
+ {
16416
+ type: "error",
16417
+ inputs: [
16418
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
16419
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
16420
+ ],
16421
+ name: "ArrayLengthMismatch"
16422
+ },
16423
+ {
16424
+ type: "error",
16425
+ inputs: [
16426
+ { name: "operator", internalType: "address", type: "address" },
16427
+ { name: "user", internalType: "address", type: "address" }
16428
+ ],
16429
+ name: "Burn_NotOwnerOrApproved"
16430
+ },
16431
+ {
16432
+ type: "error",
16433
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
16434
+ name: "CallFailed"
16435
+ },
16436
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
16437
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
16438
+ {
16439
+ type: "error",
16440
+ inputs: [
16441
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16442
+ { name: "quantity", internalType: "uint256", type: "uint256" },
16443
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
16444
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
16445
+ ],
16446
+ name: "CannotMintMoreTokens"
16447
+ },
16448
+ {
16449
+ type: "error",
16450
+ inputs: [
16451
+ { name: "proposedAddress", internalType: "address", type: "address" }
16452
+ ],
16453
+ name: "Config_TransferHookNotSupported"
16454
+ },
16455
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
16456
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
16457
+ {
16458
+ type: "error",
16459
+ inputs: [
16460
+ { name: "balance", internalType: "uint256", type: "uint256" },
16461
+ { name: "needed", internalType: "uint256", type: "uint256" }
16462
+ ],
16463
+ name: "Create2InsufficientBalance"
16464
+ },
16465
+ { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
16466
+ { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
16467
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
16468
+ {
16469
+ type: "error",
16470
+ inputs: [
16471
+ { name: "implementation", internalType: "address", type: "address" }
16472
+ ],
16473
+ name: "ERC1967InvalidImplementation"
16474
+ },
16475
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
16476
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
16477
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
16478
+ {
16479
+ type: "error",
16480
+ inputs: [
16481
+ { name: "recipient", internalType: "address", type: "address" },
16482
+ { name: "amount", internalType: "uint256", type: "uint256" }
16483
+ ],
16484
+ name: "ETHWithdrawFailed"
16485
+ },
16486
+ { type: "error", inputs: [], name: "FailedInnerCall" },
16487
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
16488
+ {
16489
+ type: "error",
16490
+ inputs: [
16491
+ { name: "amount", internalType: "uint256", type: "uint256" },
16492
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
16493
+ ],
16494
+ name: "FundsWithdrawInsolvent"
16495
+ },
16496
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
16497
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
16498
+ { type: "error", inputs: [], name: "InvalidInitialization" },
16499
+ {
16500
+ type: "error",
16501
+ inputs: [
16502
+ { name: "mintTo", internalType: "address", type: "address" },
16503
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
16504
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
16505
+ ],
16506
+ name: "InvalidMerkleProof"
16507
+ },
16508
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
16509
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
16510
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
16511
+ { type: "error", inputs: [], name: "InvalidRecipient" },
16512
+ { type: "error", inputs: [], name: "InvalidSignature" },
16513
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
16514
+ {
16515
+ type: "error",
16516
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
16517
+ name: "InvalidSigner"
16518
+ },
16519
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
16520
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
16521
+ { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
16522
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
16523
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
16524
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
16525
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
16526
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
16527
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
16528
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
16529
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
16530
+ { type: "error", inputs: [], name: "NoTokensTransferred" },
16531
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
16532
+ { type: "error", inputs: [], name: "NonEthRedemption" },
16533
+ {
16534
+ type: "error",
16535
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
16536
+ name: "NotARedeemHandler"
16537
+ },
16538
+ { type: "error", inputs: [], name: "NotInitializing" },
16539
+ { type: "error", inputs: [], name: "NotSelfCall" },
16540
+ { type: "error", inputs: [], name: "NotZoraSparks1155" },
16541
+ { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
16542
+ {
16543
+ type: "error",
16544
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
16545
+ name: "OwnableInvalidOwner"
16546
+ },
16547
+ {
16548
+ type: "error",
16549
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
16550
+ name: "OwnableUnauthorizedAccount"
16551
+ },
16552
+ { type: "error", inputs: [], name: "PremintDeleted" },
16553
+ { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
16554
+ {
16555
+ type: "error",
16556
+ inputs: [
16557
+ { name: "caller", internalType: "address", type: "address" },
16558
+ { name: "recipient", internalType: "address", type: "address" },
16559
+ { name: "amount", internalType: "uint256", type: "uint256" }
16560
+ ],
16561
+ name: "ProtocolRewardsWithdrawFailed"
16562
+ },
16563
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
16564
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
16565
+ {
16566
+ type: "error",
16567
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
16568
+ name: "SafeERC20FailedOperation"
16569
+ },
16570
+ { type: "error", inputs: [], name: "SaleEnded" },
16571
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
16572
+ {
16573
+ type: "error",
16574
+ inputs: [
16575
+ { name: "targetContract", internalType: "address", type: "address" }
16576
+ ],
16577
+ name: "Sale_CannotCallNonSalesContract"
16578
+ },
16579
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
16580
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
16581
+ {
16582
+ type: "error",
16583
+ inputs: [
16584
+ { name: "expected", internalType: "uint256", type: "uint256" },
16585
+ { name: "actual", internalType: "uint256", type: "uint256" }
16586
+ ],
16587
+ name: "TokenIdMismatch"
16588
+ },
16589
+ {
16590
+ type: "error",
16591
+ inputs: [
16592
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
16593
+ {
16594
+ name: "expectedTokenAddress",
16595
+ internalType: "address",
16596
+ type: "address"
16597
+ }
16598
+ ],
16599
+ name: "TokenMismatch"
16600
+ },
16601
+ { type: "error", inputs: [], name: "TokenNotMintable" },
16602
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
16603
+ {
16604
+ type: "error",
16605
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
16606
+ name: "UUPSUnsupportedProxiableUUID"
16607
+ },
16608
+ {
16609
+ type: "error",
16610
+ inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
16611
+ name: "UnknownUserAction"
16612
+ },
16613
+ {
16614
+ type: "error",
16615
+ inputs: [
16616
+ { name: "expected", internalType: "string", type: "string" },
16617
+ { name: "actual", internalType: "string", type: "string" }
16618
+ ],
16619
+ name: "UpgradeToMismatchedContractName"
16620
+ },
16621
+ {
16622
+ type: "error",
16623
+ inputs: [
16624
+ { name: "user", internalType: "address", type: "address" },
16625
+ { name: "limit", internalType: "uint256", type: "uint256" },
16626
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
16627
+ ],
16628
+ name: "UserExceedsMintLimit"
16629
+ },
16630
+ {
16631
+ type: "error",
16632
+ inputs: [
16633
+ { name: "user", internalType: "address", type: "address" },
16634
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16635
+ { name: "role", internalType: "uint256", type: "uint256" }
16636
+ ],
16637
+ name: "UserMissingRoleForToken"
16638
+ },
16639
+ { type: "error", inputs: [], name: "WrongValueSent" },
16640
+ {
16641
+ type: "error",
16642
+ inputs: [],
16643
+ name: "premintSignerContractFailedToRecoverSigner"
16644
+ },
16645
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
16646
+ ];
16647
+ var zoraMintsManagerImplAddress = {
16648
+ 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
16649
+ 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
16650
+ };
16651
+ var zoraMintsManagerImplConfig = {
16652
+ address: zoraMintsManagerImplAddress,
16653
+ abi: zoraMintsManagerImplABI
16654
+ };
16655
+ var zoraRouterABI = [
16656
+ {
16657
+ type: "constructor",
16658
+ inputs: [
16659
+ {
16660
+ name: "poolManager_",
16661
+ internalType: "contract IPoolManager",
16662
+ type: "address"
16663
+ },
16664
+ {
16665
+ name: "zoraLimitOrderBook_",
16666
+ internalType: "contract IZoraLimitOrderBook",
16667
+ type: "address"
16668
+ },
16669
+ {
16670
+ name: "swapRouter_",
16671
+ internalType: "contract ISwapRouter",
16672
+ type: "address"
16673
+ }
16674
+ ],
15460
16675
  stateMutability: "nonpayable"
15461
16676
  },
16677
+ { type: "receive", stateMutability: "payable" },
15462
16678
  {
15463
16679
  type: "function",
15464
16680
  inputs: [],
15465
- name: "owner",
15466
- outputs: [{ name: "", internalType: "address", type: "address" }],
16681
+ name: "getLimitOrderConfig",
16682
+ outputs: [
16683
+ {
16684
+ name: "",
16685
+ internalType: "struct LimitOrderConfig",
16686
+ type: "tuple",
16687
+ components: [
16688
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
16689
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
16690
+ ]
16691
+ }
16692
+ ],
15467
16693
  stateMutability: "view"
15468
16694
  },
15469
16695
  {
15470
16696
  type: "function",
15471
16697
  inputs: [],
15472
- name: "pendingOwner",
16698
+ name: "msgSender",
15473
16699
  outputs: [{ name: "", internalType: "address", type: "address" }],
15474
16700
  stateMutability: "view"
15475
16701
  },
15476
16702
  {
15477
16703
  type: "function",
15478
16704
  inputs: [],
15479
- name: "proxiableUUID",
15480
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15481
- stateMutability: "view"
15482
- },
15483
- {
15484
- type: "function",
15485
- inputs: [],
15486
- name: "renounceOwnership",
15487
- outputs: [],
15488
- stateMutability: "nonpayable"
15489
- },
15490
- {
15491
- type: "function",
15492
- inputs: [
15493
- { name: "tokenAddress", internalType: "address", type: "address" },
15494
- { name: "tokenId", internalType: "uint256", type: "uint256" }
16705
+ name: "poolManager",
16706
+ outputs: [
16707
+ { name: "", internalType: "contract IPoolManager", type: "address" }
15495
16708
  ],
15496
- name: "setDefaultMintable",
15497
- outputs: [],
15498
- stateMutability: "nonpayable"
16709
+ stateMutability: "view"
15499
16710
  },
15500
16711
  {
15501
16712
  type: "function",
15502
16713
  inputs: [
15503
- { name: "newContractURI", internalType: "string", type: "string" },
15504
- { name: "newBaseURI", internalType: "string", type: "string" },
15505
16714
  {
15506
- name: "tokenIdsToNotifyUpdate",
15507
- internalType: "uint256[]",
15508
- type: "uint256[]"
16715
+ name: "config",
16716
+ internalType: "struct LimitOrderConfig",
16717
+ type: "tuple",
16718
+ components: [
16719
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
16720
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
16721
+ ]
15509
16722
  }
15510
16723
  ],
15511
- name: "setMetadataURIs",
16724
+ name: "setLimitOrderConfig",
15512
16725
  outputs: [],
15513
16726
  stateMutability: "nonpayable"
15514
16727
  },
15515
16728
  {
15516
16729
  type: "function",
15517
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
15518
- name: "transferOwnership",
15519
- outputs: [],
15520
- stateMutability: "nonpayable"
16730
+ inputs: [],
16731
+ name: "swapRouter",
16732
+ outputs: [
16733
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
16734
+ ],
16735
+ stateMutability: "view"
15521
16736
  },
15522
16737
  {
15523
16738
  type: "function",
15524
16739
  inputs: [
15525
- { name: "newImplementation", internalType: "address", type: "address" },
15526
- { name: "data", internalType: "bytes", type: "bytes" }
16740
+ {
16741
+ name: "params",
16742
+ internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
16743
+ type: "tuple",
16744
+ components: [
16745
+ { name: "recipient", internalType: "address", type: "address" },
16746
+ {
16747
+ name: "limitOrderConfig",
16748
+ internalType: "struct LimitOrderConfig",
16749
+ type: "tuple",
16750
+ components: [
16751
+ {
16752
+ name: "multiples",
16753
+ internalType: "uint256[]",
16754
+ type: "uint256[]"
16755
+ },
16756
+ {
16757
+ name: "percentages",
16758
+ internalType: "uint256[]",
16759
+ type: "uint256[]"
16760
+ }
16761
+ ]
16762
+ },
16763
+ { name: "inputCurrency", internalType: "address", type: "address" },
16764
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
16765
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
16766
+ {
16767
+ name: "v4Route",
16768
+ internalType: "struct PoolKey[]",
16769
+ type: "tuple[]",
16770
+ components: [
16771
+ { name: "currency0", internalType: "Currency", type: "address" },
16772
+ { name: "currency1", internalType: "Currency", type: "address" },
16773
+ { name: "fee", internalType: "uint24", type: "uint24" },
16774
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
16775
+ {
16776
+ name: "hooks",
16777
+ internalType: "contract IHooks",
16778
+ type: "address"
16779
+ }
16780
+ ]
16781
+ },
16782
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
16783
+ ]
16784
+ }
16785
+ ],
16786
+ name: "swapWithLimitOrders",
16787
+ outputs: [
16788
+ { name: "delta", internalType: "BalanceDelta", type: "int256" },
16789
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
16790
+ { name: "ordersFilled", internalType: "uint256", type: "uint256" }
15527
16791
  ],
15528
- name: "upgradeToAndCall",
15529
- outputs: [],
15530
16792
  stateMutability: "payable"
15531
16793
  },
15532
16794
  {
15533
16795
  type: "function",
15534
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15535
- name: "uri",
15536
- outputs: [{ name: "", internalType: "string", type: "string" }],
15537
- stateMutability: "view"
16796
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
16797
+ name: "unlockCallback",
16798
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
16799
+ stateMutability: "nonpayable"
15538
16800
  },
15539
16801
  {
15540
16802
  type: "function",
15541
16803
  inputs: [],
15542
- name: "zoraSparks1155",
16804
+ name: "zoraLimitOrderBook",
15543
16805
  outputs: [
15544
- { name: "", internalType: "contract IZoraSparks1155", type: "address" }
16806
+ {
16807
+ name: "",
16808
+ internalType: "contract IZoraLimitOrderBook",
16809
+ type: "address"
16810
+ }
15545
16811
  ],
15546
16812
  stateMutability: "view"
15547
16813
  },
@@ -15550,63 +16816,57 @@ var zoraMintsManagerImplABI = [
15550
16816
  anonymous: false,
15551
16817
  inputs: [
15552
16818
  {
15553
- name: "tokenIds",
16819
+ name: "multiples",
15554
16820
  internalType: "uint256[]",
15555
16821
  type: "uint256[]",
15556
- indexed: true
16822
+ indexed: false
15557
16823
  },
15558
16824
  {
15559
- name: "quantities",
16825
+ name: "percentages",
15560
16826
  internalType: "uint256[]",
15561
16827
  type: "uint256[]",
15562
16828
  indexed: false
15563
- },
15564
- {
15565
- name: "zoraCreator1155Contract",
15566
- internalType: "address",
15567
- type: "address",
15568
- indexed: true
15569
- },
15570
- {
15571
- name: "zoraCreator1155TokenId",
15572
- internalType: "uint256",
15573
- type: "uint256",
15574
- indexed: true
15575
16829
  }
15576
16830
  ],
15577
- name: "Collected"
16831
+ name: "LimitOrderConfigUpdated"
15578
16832
  },
15579
16833
  {
15580
16834
  type: "event",
15581
16835
  anonymous: false,
15582
16836
  inputs: [
15583
16837
  {
15584
- name: "tokenAddress",
16838
+ name: "maker",
15585
16839
  internalType: "address",
15586
16840
  type: "address",
16841
+ indexed: true
16842
+ },
16843
+ {
16844
+ name: "orderIds",
16845
+ internalType: "bytes32[]",
16846
+ type: "bytes32[]",
15587
16847
  indexed: false
15588
16848
  },
15589
16849
  {
15590
- name: "tokenId",
16850
+ name: "totalOrderSize",
15591
16851
  internalType: "uint256",
15592
16852
  type: "uint256",
15593
16853
  indexed: false
15594
16854
  }
15595
16855
  ],
15596
- name: "DefaultMintableTokenSet"
16856
+ name: "LimitOrdersCreated"
15597
16857
  },
15598
16858
  {
15599
16859
  type: "event",
15600
16860
  anonymous: false,
15601
16861
  inputs: [
15602
16862
  {
15603
- name: "version",
15604
- internalType: "uint64",
15605
- type: "uint64",
16863
+ name: "ordersFilled",
16864
+ internalType: "uint256",
16865
+ type: "uint256",
15606
16866
  indexed: false
15607
16867
  }
15608
16868
  ],
15609
- name: "Initialized"
16869
+ name: "LimitOrdersFilled"
15610
16870
  },
15611
16871
  {
15612
16872
  type: "event",
@@ -15619,351 +16879,328 @@ var zoraMintsManagerImplABI = [
15619
16879
  indexed: true
15620
16880
  },
15621
16881
  {
15622
- name: "tokenContract",
16882
+ name: "recipient",
15623
16883
  internalType: "address",
15624
16884
  type: "address",
15625
16885
  indexed: true
15626
16886
  },
15627
16887
  {
15628
- name: "tokenId",
15629
- internalType: "uint256",
15630
- type: "uint256",
15631
- indexed: true
16888
+ name: "poolKey",
16889
+ internalType: "struct PoolKey",
16890
+ type: "tuple",
16891
+ components: [
16892
+ { name: "currency0", internalType: "Currency", type: "address" },
16893
+ { name: "currency1", internalType: "Currency", type: "address" },
16894
+ { name: "fee", internalType: "uint24", type: "uint24" },
16895
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
16896
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
16897
+ ],
16898
+ indexed: false
15632
16899
  },
15633
16900
  {
15634
- name: "quantity",
15635
- internalType: "uint256",
15636
- type: "uint256",
16901
+ name: "delta",
16902
+ internalType: "BalanceDelta",
16903
+ type: "int256",
15637
16904
  indexed: false
15638
16905
  },
15639
16906
  {
15640
- name: "comment",
15641
- internalType: "string",
15642
- type: "string",
16907
+ name: "tickBeforeSwap",
16908
+ internalType: "int24",
16909
+ type: "int24",
15643
16910
  indexed: false
15644
- }
15645
- ],
15646
- name: "MintComment"
15647
- },
15648
- {
15649
- type: "event",
15650
- anonymous: false,
15651
- inputs: [
15652
- {
15653
- name: "previousOwner",
15654
- internalType: "address",
15655
- type: "address",
15656
- indexed: true
15657
16911
  },
15658
16912
  {
15659
- name: "newOwner",
15660
- internalType: "address",
15661
- type: "address",
15662
- indexed: true
15663
- }
15664
- ],
15665
- name: "OwnershipTransferStarted"
15666
- },
15667
- {
15668
- type: "event",
15669
- anonymous: false,
15670
- inputs: [
15671
- {
15672
- name: "previousOwner",
15673
- internalType: "address",
15674
- type: "address",
15675
- indexed: true
16913
+ name: "tickAfterSwap",
16914
+ internalType: "int24",
16915
+ type: "int24",
16916
+ indexed: false
15676
16917
  },
15677
16918
  {
15678
- name: "newOwner",
15679
- internalType: "address",
15680
- type: "address",
15681
- indexed: true
15682
- }
15683
- ],
15684
- name: "OwnershipTransferred"
15685
- },
15686
- {
15687
- type: "event",
15688
- anonymous: false,
15689
- inputs: [
15690
- {
15691
- name: "contractURI",
15692
- internalType: "string",
15693
- type: "string",
16919
+ name: "orderIds",
16920
+ internalType: "bytes32[]",
16921
+ type: "bytes32[]",
15694
16922
  indexed: false
15695
16923
  },
15696
16924
  {
15697
- name: "baseURI",
15698
- internalType: "string",
15699
- type: "string",
16925
+ name: "ordersFilled",
16926
+ internalType: "uint256",
16927
+ type: "uint256",
15700
16928
  indexed: false
15701
16929
  }
15702
16930
  ],
15703
- name: "URIsUpdated"
16931
+ name: "SwapWithLimitOrdersExecuted"
15704
16932
  },
16933
+ { type: "error", inputs: [], name: "EmptyV4Route" },
15705
16934
  {
15706
- type: "event",
15707
- anonymous: false,
16935
+ type: "error",
15708
16936
  inputs: [
15709
- {
15710
- name: "implementation",
15711
- internalType: "address",
15712
- type: "address",
15713
- indexed: true
15714
- }
16937
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
16938
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
15715
16939
  ],
15716
- name: "Upgraded"
16940
+ name: "InsufficientInputCurrency"
16941
+ },
16942
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
16943
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
16944
+ { type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
16945
+ { type: "error", inputs: [], name: "InvalidMultiple" },
16946
+ { type: "error", inputs: [], name: "InvalidPercent" },
16947
+ { type: "error", inputs: [], name: "LengthMismatch" },
16948
+ { type: "error", inputs: [], name: "OnlyAuthority" },
16949
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
16950
+ { type: "error", inputs: [], name: "PercentOverflow" },
16951
+ {
16952
+ type: "error",
16953
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
16954
+ name: "SafeERC20FailedOperation"
16955
+ },
16956
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
16957
+ { type: "error", inputs: [], name: "ZeroSwapDelta" },
16958
+ { type: "error", inputs: [], name: "AddressZero" },
16959
+ { type: "error", inputs: [], name: "AlreadyOwner" },
16960
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
16961
+ {
16962
+ type: "error",
16963
+ inputs: [],
16964
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
15717
16965
  },
16966
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
15718
16967
  {
15719
16968
  type: "error",
15720
- inputs: [{ name: "target", internalType: "address", type: "address" }],
15721
- name: "AddressEmptyCode"
16969
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
16970
+ name: "ECDSAInvalidSignatureLength"
15722
16971
  },
15723
16972
  {
15724
16973
  type: "error",
15725
- inputs: [{ name: "account", internalType: "address", type: "address" }],
15726
- name: "AddressInsufficientBalance"
16974
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
16975
+ name: "ECDSAInvalidSignatureS"
15727
16976
  },
15728
16977
  {
15729
16978
  type: "error",
15730
16979
  inputs: [
15731
- { name: "lengthA", internalType: "uint256", type: "uint256" },
15732
- { name: "lengthB", internalType: "uint256", type: "uint256" }
16980
+ { name: "spender", internalType: "address", type: "address" },
16981
+ { name: "allowance", internalType: "uint256", type: "uint256" },
16982
+ { name: "needed", internalType: "uint256", type: "uint256" }
15733
16983
  ],
15734
- name: "ArrayLengthMismatch"
16984
+ name: "ERC20InsufficientAllowance"
15735
16985
  },
15736
16986
  {
15737
16987
  type: "error",
15738
16988
  inputs: [
15739
- { name: "operator", internalType: "address", type: "address" },
15740
- { name: "user", internalType: "address", type: "address" }
16989
+ { name: "sender", internalType: "address", type: "address" },
16990
+ { name: "balance", internalType: "uint256", type: "uint256" },
16991
+ { name: "needed", internalType: "uint256", type: "uint256" }
15741
16992
  ],
15742
- name: "Burn_NotOwnerOrApproved"
16993
+ name: "ERC20InsufficientBalance"
15743
16994
  },
15744
16995
  {
15745
16996
  type: "error",
15746
- inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
15747
- name: "CallFailed"
16997
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
16998
+ name: "ERC20InvalidApprover"
15748
16999
  },
15749
- { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
15750
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
15751
17000
  {
15752
17001
  type: "error",
15753
- inputs: [
15754
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15755
- { name: "quantity", internalType: "uint256", type: "uint256" },
15756
- { name: "totalMinted", internalType: "uint256", type: "uint256" },
15757
- { name: "maxSupply", internalType: "uint256", type: "uint256" }
15758
- ],
15759
- name: "CannotMintMoreTokens"
17002
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17003
+ name: "ERC20InvalidReceiver"
15760
17004
  },
15761
17005
  {
15762
17006
  type: "error",
15763
- inputs: [
15764
- { name: "proposedAddress", internalType: "address", type: "address" }
15765
- ],
15766
- name: "Config_TransferHookNotSupported"
17007
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
17008
+ name: "ERC20InvalidSender"
15767
17009
  },
15768
- { type: "error", inputs: [], name: "Create2EmptyBytecode" },
15769
- { type: "error", inputs: [], name: "Create2FailedDeployment" },
15770
17010
  {
15771
17011
  type: "error",
15772
- inputs: [
15773
- { name: "balance", internalType: "uint256", type: "uint256" },
15774
- { name: "needed", internalType: "uint256", type: "uint256" }
15775
- ],
15776
- name: "Create2InsufficientBalance"
17012
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
17013
+ name: "ERC20InvalidSpender"
15777
17014
  },
15778
- { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
15779
- { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
15780
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
17015
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
15781
17016
  {
15782
17017
  type: "error",
15783
- inputs: [
15784
- { name: "implementation", internalType: "address", type: "address" }
15785
- ],
15786
- name: "ERC1967InvalidImplementation"
17018
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17019
+ name: "ERC2612ExpiredSignature"
15787
17020
  },
15788
- { type: "error", inputs: [], name: "ERC1967NonPayable" },
15789
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15790
- { type: "error", inputs: [], name: "ETHTransferFailed" },
15791
17021
  {
15792
17022
  type: "error",
15793
17023
  inputs: [
15794
- { name: "recipient", internalType: "address", type: "address" },
15795
- { name: "amount", internalType: "uint256", type: "uint256" }
17024
+ { name: "signer", internalType: "address", type: "address" },
17025
+ { name: "owner", internalType: "address", type: "address" }
15796
17026
  ],
15797
- name: "ETHWithdrawFailed"
17027
+ name: "ERC2612InvalidSigner"
15798
17028
  },
15799
- { type: "error", inputs: [], name: "FailedInnerCall" },
15800
- { type: "error", inputs: [], name: "FirstMinterAddressZero" },
17029
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
17030
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
17031
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17032
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
17033
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
17034
+ { type: "error", inputs: [], name: "InsufficientFunds" },
17035
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
15801
17036
  {
15802
17037
  type: "error",
15803
17038
  inputs: [
15804
- { name: "amount", internalType: "uint256", type: "uint256" },
15805
- { name: "contractValue", internalType: "uint256", type: "uint256" }
17039
+ { name: "account", internalType: "address", type: "address" },
17040
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
15806
17041
  ],
15807
- name: "FundsWithdrawInsolvent"
17042
+ name: "InvalidAccountNonce"
15808
17043
  },
15809
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
15810
- { type: "error", inputs: [], name: "InvalidAdminAction" },
17044
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
15811
17045
  { type: "error", inputs: [], name: "InvalidInitialization" },
17046
+ { type: "error", inputs: [], name: "InvalidMarketType" },
17047
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
15812
17048
  {
15813
17049
  type: "error",
15814
17050
  inputs: [
15815
- { name: "mintTo", internalType: "address", type: "address" },
15816
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
15817
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
17051
+ { name: "tickLower", internalType: "int24", type: "int24" },
17052
+ { name: "tickUpper", internalType: "int24", type: "int24" }
15818
17053
  ],
15819
- name: "InvalidMerkleProof"
15820
- },
15821
- { type: "error", inputs: [], name: "InvalidMintSchedule" },
15822
- { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
15823
- { type: "error", inputs: [], name: "InvalidPremintVersion" },
15824
- { type: "error", inputs: [], name: "InvalidRecipient" },
15825
- { type: "error", inputs: [], name: "InvalidSignature" },
15826
- { type: "error", inputs: [], name: "InvalidSignatureVersion" },
15827
- {
15828
- type: "error",
15829
- inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
15830
- name: "InvalidSigner"
17054
+ name: "InvalidTickRangeMisordered"
15831
17055
  },
15832
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
15833
- { type: "error", inputs: [], name: "MintNotYetStarted" },
15834
- { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
15835
- { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
15836
- { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
15837
- { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
15838
- { type: "error", inputs: [], name: "Mint_UnknownCommand" },
15839
- { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
15840
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
15841
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
15842
- { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
15843
- { type: "error", inputs: [], name: "NoTokensTransferred" },
15844
- { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
15845
- { type: "error", inputs: [], name: "NonEthRedemption" },
17056
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
17057
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
17058
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
17059
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
15846
17060
  {
15847
17061
  type: "error",
15848
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
15849
- name: "NotARedeemHandler"
17062
+ inputs: [
17063
+ { name: "value", internalType: "uint256", type: "uint256" },
17064
+ { name: "limit", internalType: "uint256", type: "uint256" }
17065
+ ],
17066
+ name: "MaxShareToBeSoldExceeded"
15850
17067
  },
17068
+ { type: "error", inputs: [], name: "NameIsRequired" },
15851
17069
  { type: "error", inputs: [], name: "NotInitializing" },
15852
- { type: "error", inputs: [], name: "NotSelfCall" },
15853
- { type: "error", inputs: [], name: "NotZoraSparks1155" },
15854
- { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
15855
- {
15856
- type: "error",
15857
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
15858
- name: "OwnableInvalidOwner"
15859
- },
15860
- {
15861
- type: "error",
15862
- inputs: [{ name: "account", internalType: "address", type: "address" }],
15863
- name: "OwnableUnauthorizedAccount"
15864
- },
15865
- { type: "error", inputs: [], name: "PremintDeleted" },
15866
- { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
17070
+ { type: "error", inputs: [], name: "NotOwner" },
17071
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
17072
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
17073
+ { type: "error", inputs: [], name: "OnlyOwner" },
15867
17074
  {
15868
17075
  type: "error",
15869
17076
  inputs: [
15870
- { name: "caller", internalType: "address", type: "address" },
15871
- { name: "recipient", internalType: "address", type: "address" },
15872
- { name: "amount", internalType: "uint256", type: "uint256" }
17077
+ { name: "sender", internalType: "address", type: "address" },
17078
+ { name: "pool", internalType: "address", type: "address" }
15873
17079
  ],
15874
- name: "ProtocolRewardsWithdrawFailed"
17080
+ name: "OnlyPool"
15875
17081
  },
15876
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
15877
- { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
17082
+ { type: "error", inputs: [], name: "OnlyWeth" },
17083
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
17084
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
17085
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
17086
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
17087
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
17088
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17089
+ { type: "error", inputs: [], name: "HookNotImplemented" },
15878
17090
  {
15879
17091
  type: "error",
15880
- inputs: [{ name: "token", internalType: "address", type: "address" }],
15881
- name: "SafeERC20FailedOperation"
17092
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
17093
+ name: "InvalidCallbackId"
15882
17094
  },
15883
- { type: "error", inputs: [], name: "SaleEnded" },
15884
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
15885
17095
  {
15886
17096
  type: "error",
15887
- inputs: [
15888
- { name: "targetContract", internalType: "address", type: "address" }
15889
- ],
15890
- name: "Sale_CannotCallNonSalesContract"
17097
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
17098
+ name: "InvalidNewHook"
15891
17099
  },
15892
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15893
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
15894
17100
  {
15895
17101
  type: "error",
15896
17102
  inputs: [
15897
- { name: "expected", internalType: "uint256", type: "uint256" },
15898
- { name: "actual", internalType: "uint256", type: "uint256" }
17103
+ { name: "tickLower", internalType: "int24", type: "int24" },
17104
+ { name: "tickUpper", internalType: "int24", type: "int24" }
15899
17105
  ],
15900
- name: "TokenIdMismatch"
17106
+ name: "InvalidTickRangeMisordered"
15901
17107
  },
15902
17108
  {
15903
17109
  type: "error",
15904
17110
  inputs: [
15905
- { name: "storedTokenAddress", internalType: "address", type: "address" },
15906
17111
  {
15907
- name: "expectedTokenAddress",
15908
- internalType: "address",
15909
- type: "address"
17112
+ name: "key",
17113
+ internalType: "struct PoolKey",
17114
+ type: "tuple",
17115
+ components: [
17116
+ { name: "currency0", internalType: "Currency", type: "address" },
17117
+ { name: "currency1", internalType: "Currency", type: "address" },
17118
+ { name: "fee", internalType: "uint24", type: "uint24" },
17119
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
17120
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
17121
+ ]
15910
17122
  }
15911
17123
  ],
15912
- name: "TokenMismatch"
17124
+ name: "NoCoinForHook"
15913
17125
  },
15914
- { type: "error", inputs: [], name: "TokenNotMintable" },
15915
- { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
15916
17126
  {
15917
17127
  type: "error",
15918
- inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
15919
- name: "UUPSUnsupportedProxiableUUID"
17128
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
17129
+ name: "NotACoin"
15920
17130
  },
17131
+ { type: "error", inputs: [], name: "NotPoolManager" },
15921
17132
  {
15922
17133
  type: "error",
15923
- inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
15924
- name: "UnknownUserAction"
17134
+ inputs: [
17135
+ { name: "caller", internalType: "address", type: "address" },
17136
+ { name: "expectedCoin", internalType: "address", type: "address" }
17137
+ ],
17138
+ name: "OnlyCoin"
15925
17139
  },
17140
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17141
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
15926
17142
  {
15927
17143
  type: "error",
15928
- inputs: [
15929
- { name: "expected", internalType: "string", type: "string" },
15930
- { name: "actual", internalType: "string", type: "string" }
15931
- ],
15932
- name: "UpgradeToMismatchedContractName"
17144
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17145
+ name: "SafeERC20FailedOperation"
15933
17146
  },
15934
17147
  {
15935
17148
  type: "error",
15936
- inputs: [
15937
- { name: "user", internalType: "address", type: "address" },
15938
- { name: "limit", internalType: "uint256", type: "uint256" },
15939
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
15940
- ],
15941
- name: "UserExceedsMintLimit"
17149
+ inputs: [],
17150
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
15942
17151
  },
17152
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
15943
17153
  {
15944
17154
  type: "error",
15945
17155
  inputs: [
15946
- { name: "user", internalType: "address", type: "address" },
15947
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15948
- { name: "role", internalType: "uint256", type: "uint256" }
17156
+ { name: "oldHook", internalType: "address", type: "address" },
17157
+ { name: "newHook", internalType: "address", type: "address" }
15949
17158
  ],
15950
- name: "UserMissingRoleForToken"
17159
+ name: "UpgradePathNotRegistered"
15951
17160
  },
15952
- { type: "error", inputs: [], name: "WrongValueSent" },
15953
17161
  {
15954
17162
  type: "error",
15955
- inputs: [],
15956
- name: "premintSignerContractFailedToRecoverSigner"
17163
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
17164
+ name: "AccessManagedInvalidAuthority"
15957
17165
  },
15958
- { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
17166
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
17167
+ { type: "error", inputs: [], name: "AddressZero" },
17168
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
17169
+ { type: "error", inputs: [], name: "InsufficientBalance" },
17170
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
17171
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
17172
+ {
17173
+ type: "error",
17174
+ inputs: [
17175
+ { name: "startTick", internalType: "int24", type: "int24" },
17176
+ { name: "endTick", internalType: "int24", type: "int24" },
17177
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
17178
+ ],
17179
+ name: "InvalidFillWindow"
17180
+ },
17181
+ { type: "error", inputs: [], name: "InvalidOrder" },
17182
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
17183
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
17184
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
17185
+ { type: "error", inputs: [], name: "NotPoolManager" },
17186
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
17187
+ { type: "error", inputs: [], name: "OrderClosed" },
17188
+ { type: "error", inputs: [], name: "OrderNotMaker" },
17189
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17190
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
17191
+ { type: "error", inputs: [], name: "UnknownCallback" },
17192
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
17193
+ { type: "error", inputs: [], name: "ZeroMaker" },
17194
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
17195
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
17196
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
15959
17197
  ];
15960
- var zoraMintsManagerImplAddress = {
15961
- 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
15962
- 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
17198
+ var zoraRouterAddress = {
17199
+ 8453: "0xc5d3739fb77046c75f418b746296327A1a90cc55"
15963
17200
  };
15964
- var zoraMintsManagerImplConfig = {
15965
- address: zoraMintsManagerImplAddress,
15966
- abi: zoraMintsManagerImplABI
17201
+ var zoraRouterConfig = {
17202
+ address: zoraRouterAddress,
17203
+ abi: zoraRouterABI
15967
17204
  };
15968
17205
  var zoraSparks1155ABI = [
15969
17206
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
@@ -18006,7 +19243,7 @@ var zoraTimedSaleStrategyConfig = {
18006
19243
  abi: zoraTimedSaleStrategyABI
18007
19244
  };
18008
19245
 
18009
- // ../../node_modules/.pnpm/viem@2.37.9_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.11/node_modules/viem/_esm/errors/unit.js
19246
+ // ../../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
18010
19247
  var InvalidDecimalNumberError = class extends BaseError {
18011
19248
  constructor({ value }) {
18012
19249
  super(`Number \`${value}\` is not a valid decimal number.`, {
@@ -18015,7 +19252,7 @@ var InvalidDecimalNumberError = class extends BaseError {
18015
19252
  }
18016
19253
  };
18017
19254
 
18018
- // ../../node_modules/.pnpm/viem@2.37.9_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.11/node_modules/viem/_esm/utils/unit/parseUnits.js
19255
+ // ../../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
18019
19256
  function parseUnits(value, decimals) {
18020
19257
  if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
18021
19258
  throw new InvalidDecimalNumberError({ value });
@@ -18050,7 +19287,7 @@ function parseUnits(value, decimals) {
18050
19287
  return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
18051
19288
  }
18052
19289
 
18053
- // ../../node_modules/.pnpm/viem@2.37.9_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.11/node_modules/viem/_esm/utils/unit/parseEther.js
19290
+ // ../../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
18054
19291
  function parseEther(ether, unit = "wei") {
18055
19292
  return parseUnits(ether, etherUnits[unit]);
18056
19293
  }
@@ -18884,6 +20121,20 @@ var chainConfigs2 = {
18884
20121
  PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
18885
20122
  ZORA_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
18886
20123
  WETH: "0x4200000000000000000000000000000000000006"
20124
+ },
20125
+ NaN: {
20126
+ NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
20127
+ UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
20128
+ UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
20129
+ UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
20130
+ DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
20131
+ PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
20132
+ ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
20133
+ WETH: "0x4200000000000000000000000000000000000006",
20134
+ UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
20135
+ UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
20136
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
20137
+ UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
18887
20138
  }
18888
20139
  };
18889
20140
  var addresses2 = {
@@ -19025,9 +20276,6 @@ export {
19025
20276
  uniswapQuoterV2ABI,
19026
20277
  uniswapQuoterV2Address,
19027
20278
  uniswapQuoterV2Config,
19028
- uniswapUniversalRouterABI,
19029
- uniswapUniversalRouterAddress,
19030
- uniswapUniversalRouterConfig,
19031
20279
  uniswapV3SwapRouterABI,
19032
20280
  uniswapV3SwapRouterAddress,
19033
20281
  uniswapV3SwapRouterConfig,
@@ -19056,12 +20304,18 @@ export {
19056
20304
  zoraCreatorRedeemMinterFactoryABI,
19057
20305
  zoraCreatorRedeemMinterFactoryAddress,
19058
20306
  zoraCreatorRedeemMinterFactoryConfig,
20307
+ zoraLimitOrderBookABI,
20308
+ zoraLimitOrderBookAddress,
20309
+ zoraLimitOrderBookConfig,
19059
20310
  zoraMints1155ABI,
19060
20311
  zoraMints1155Address,
19061
20312
  zoraMints1155Config,
19062
20313
  zoraMintsManagerImplABI,
19063
20314
  zoraMintsManagerImplAddress,
19064
20315
  zoraMintsManagerImplConfig,
20316
+ zoraRouterABI,
20317
+ zoraRouterAddress,
20318
+ zoraRouterConfig,
19065
20319
  zoraSparks1155ABI,
19066
20320
  zoraSparks1155Address,
19067
20321
  zoraSparks1155Config,