@zoralabs/protocol-deployments 0.6.4 → 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
@@ -279,18 +279,7 @@ var buySupplyWithSwapRouterHookABI = [
279
279
  ],
280
280
  name: "BuyInitialSupply"
281
281
  },
282
- {
283
- type: "error",
284
- inputs: [{ name: "target", internalType: "address", type: "address" }],
285
- name: "AddressEmptyCode"
286
- },
287
- {
288
- type: "error",
289
- inputs: [{ name: "account", internalType: "address", type: "address" }],
290
- name: "AddressInsufficientBalance"
291
- },
292
282
  { type: "error", inputs: [], name: "AddressZero" },
293
- { type: "error", inputs: [], name: "FailedInnerCall" },
294
283
  { type: "error", inputs: [], name: "HookNotImplemented" },
295
284
  {
296
285
  type: "error",
@@ -308,7 +297,6 @@ var buySupplyWithSwapRouterHookABI = [
308
297
  inputs: [{ name: "token", internalType: "address", type: "address" }],
309
298
  name: "SafeERC20FailedOperation"
310
299
  },
311
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
312
300
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
313
301
  ];
314
302
  var buySupplyWithSwapRouterHookAddress = {
@@ -2975,7 +2963,6 @@ var coinFactoryABI = [
2975
2963
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
2976
2964
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
2977
2965
  { type: "error", inputs: [], name: "Deprecated" },
2978
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
2979
2966
  {
2980
2967
  type: "error",
2981
2968
  inputs: [
@@ -2985,7 +2972,16 @@ var coinFactoryABI = [
2985
2972
  },
2986
2973
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
2987
2974
  { type: "error", inputs: [], name: "EthTransferInvalid" },
2988
- { 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
+ },
2989
2985
  { type: "error", inputs: [], name: "InvalidConfig" },
2990
2986
  { type: "error", inputs: [], name: "InvalidHook" },
2991
2987
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -3035,18 +3031,7 @@ var coinFactoryABI = [
3035
3031
  },
3036
3032
  { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
3037
3033
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
3038
- {
3039
- type: "error",
3040
- inputs: [{ name: "target", internalType: "address", type: "address" }],
3041
- name: "AddressEmptyCode"
3042
- },
3043
- {
3044
- type: "error",
3045
- inputs: [{ name: "account", internalType: "address", type: "address" }],
3046
- name: "AddressInsufficientBalance"
3047
- },
3048
3034
  { type: "error", inputs: [], name: "AddressZero" },
3049
- { type: "error", inputs: [], name: "FailedInnerCall" },
3050
3035
  { type: "error", inputs: [], name: "HookNotImplemented" },
3051
3036
  {
3052
3037
  type: "error",
@@ -3064,7 +3049,6 @@ var coinFactoryABI = [
3064
3049
  inputs: [{ name: "token", internalType: "address", type: "address" }],
3065
3050
  name: "SafeERC20FailedOperation"
3066
3051
  },
3067
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
3068
3052
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
3069
3053
  { type: "error", inputs: [], name: "AddressZero" },
3070
3054
  { type: "error", inputs: [], name: "AlreadyOwner" },
@@ -3193,7 +3177,118 @@ var coinFactoryABI = [
3193
3177
  { type: "error", inputs: [], name: "OnlyWeth" },
3194
3178
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
3195
3179
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
3196
- { 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" }
3197
3292
  ];
3198
3293
  var coinFactoryAddress = {
3199
3294
  8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
@@ -9696,39 +9791,6 @@ var uniswapQuoterV2Config = {
9696
9791
  address: uniswapQuoterV2Address,
9697
9792
  abi: uniswapQuoterV2ABI
9698
9793
  };
9699
- var uniswapUniversalRouterABI = [
9700
- {
9701
- type: "function",
9702
- inputs: [
9703
- { name: "commands", internalType: "bytes", type: "bytes" },
9704
- { name: "inputs", internalType: "bytes[]", type: "bytes[]" },
9705
- { name: "deadline", internalType: "uint256", type: "uint256" }
9706
- ],
9707
- name: "execute",
9708
- outputs: [],
9709
- stateMutability: "payable"
9710
- },
9711
- { type: "error", inputs: [], name: "ETHNotAccepted" },
9712
- {
9713
- type: "error",
9714
- inputs: [
9715
- { name: "commandIndex", internalType: "uint256", type: "uint256" },
9716
- { name: "message", internalType: "bytes", type: "bytes" }
9717
- ],
9718
- name: "ExecutionFailed"
9719
- },
9720
- { type: "error", inputs: [], name: "InvalidEthSender" },
9721
- { type: "error", inputs: [], name: "LengthMismatch" },
9722
- { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
9723
- ];
9724
- var uniswapUniversalRouterAddress = {
9725
- 8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
9726
- 84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
9727
- };
9728
- var uniswapUniversalRouterConfig = {
9729
- address: uniswapUniversalRouterAddress,
9730
- abi: uniswapUniversalRouterABI
9731
- };
9732
9794
  var uniswapV3SwapRouterABI = [
9733
9795
  {
9734
9796
  type: "function",
@@ -14299,43 +14361,22 @@ var zoraCreatorRedeemMinterFactoryConfig = {
14299
14361
  address: zoraCreatorRedeemMinterFactoryAddress,
14300
14362
  abi: zoraCreatorRedeemMinterFactoryABI
14301
14363
  };
14302
- var zoraMints1155ABI = [
14303
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
14304
- {
14305
- type: "function",
14306
- inputs: [],
14307
- name: "ETH_ADDRESS",
14308
- outputs: [{ name: "", internalType: "address", type: "address" }],
14309
- stateMutability: "view"
14310
- },
14311
- {
14312
- type: "function",
14313
- inputs: [],
14314
- name: "MINIMUM_ERC20_PRICE",
14315
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14316
- stateMutability: "view"
14317
- },
14318
- {
14319
- type: "function",
14320
- inputs: [],
14321
- name: "MINIMUM_ETH_PRICE",
14322
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14323
- stateMutability: "view"
14324
- },
14364
+ var zoraLimitOrderBookABI = [
14325
14365
  {
14326
- type: "function",
14327
- inputs: [],
14328
- name: "NAME",
14329
- outputs: [{ name: "", internalType: "string", type: "string" }],
14330
- stateMutability: "view"
14331
- },
14332
- {
14333
- type: "function",
14334
- inputs: [],
14335
- name: "VERSION",
14336
- outputs: [{ name: "", internalType: "string", type: "string" }],
14337
- 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"
14338
14378
  },
14379
+ { type: "receive", stateMutability: "payable" },
14339
14380
  {
14340
14381
  type: "function",
14341
14382
  inputs: [],
@@ -14346,677 +14387,473 @@ var zoraMints1155ABI = [
14346
14387
  {
14347
14388
  type: "function",
14348
14389
  inputs: [
14349
- { name: "account", internalType: "address", type: "address" },
14350
- { name: "id", internalType: "uint256", type: "uint256" }
14390
+ { name: "maker", internalType: "address", type: "address" },
14391
+ { name: "coin", internalType: "address", type: "address" }
14351
14392
  ],
14352
14393
  name: "balanceOf",
14353
14394
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14354
14395
  stateMutability: "view"
14355
14396
  },
14356
- {
14357
- type: "function",
14358
- inputs: [{ name: "account", internalType: "address", type: "address" }],
14359
- name: "balanceOfAccount",
14360
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14361
- stateMutability: "view"
14362
- },
14363
14397
  {
14364
14398
  type: "function",
14365
14399
  inputs: [
14366
- { name: "accounts", internalType: "address[]", type: "address[]" },
14367
- { 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" }
14368
14416
  ],
14369
- name: "balanceOfBatch",
14370
- outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
14371
- stateMutability: "view"
14372
- },
14373
- {
14374
- type: "function",
14375
- inputs: [],
14376
- name: "contractURI",
14377
- outputs: [{ name: "", internalType: "string", type: "string" }],
14378
- stateMutability: "view"
14417
+ name: "create",
14418
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
14419
+ stateMutability: "payable"
14379
14420
  },
14380
14421
  {
14381
14422
  type: "function",
14382
14423
  inputs: [
14383
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14384
14424
  {
14385
- name: "tokenConfig",
14386
- internalType: "struct TokenConfig",
14425
+ name: "key",
14426
+ internalType: "struct PoolKey",
14387
14427
  type: "tuple",
14388
14428
  components: [
14389
- { name: "price", internalType: "uint256", type: "uint256" },
14390
- { name: "tokenAddress", internalType: "address", type: "address" },
14391
- { 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" }
14392
14434
  ]
14393
- }
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" }
14394
14441
  ],
14395
- name: "createToken",
14442
+ name: "fill",
14396
14443
  outputs: [],
14397
14444
  stateMutability: "nonpayable"
14398
14445
  },
14399
14446
  {
14400
14447
  type: "function",
14401
- inputs: [],
14402
- name: "eip712Domain",
14403
- outputs: [
14404
- { name: "fields", internalType: "bytes1", type: "bytes1" },
14405
- { name: "name", internalType: "string", type: "string" },
14406
- { name: "version", internalType: "string", type: "string" },
14407
- { name: "chainId", internalType: "uint256", type: "uint256" },
14408
- { name: "verifyingContract", internalType: "address", type: "address" },
14409
- { name: "salt", internalType: "bytes32", type: "bytes32" },
14410
- { 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" }
14411
14475
  ],
14412
- stateMutability: "view"
14476
+ name: "fill",
14477
+ outputs: [],
14478
+ stateMutability: "nonpayable"
14413
14479
  },
14414
14480
  {
14415
14481
  type: "function",
14416
14482
  inputs: [],
14417
- name: "getManager",
14418
- outputs: [{ name: "", internalType: "address", type: "address" }],
14483
+ name: "getMaxFillCount",
14484
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14419
14485
  stateMutability: "view"
14420
14486
  },
14421
14487
  {
14422
14488
  type: "function",
14423
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14424
- name: "getTokenConfig",
14489
+ inputs: [],
14490
+ name: "poolManager",
14425
14491
  outputs: [
14426
- {
14427
- name: "",
14428
- internalType: "struct TokenConfig",
14429
- type: "tuple",
14430
- components: [
14431
- { name: "price", internalType: "uint256", type: "uint256" },
14432
- { name: "tokenAddress", internalType: "address", type: "address" },
14433
- { name: "redeemHandler", internalType: "address", type: "address" }
14434
- ]
14435
- }
14492
+ { name: "", internalType: "contract IPoolManager", type: "address" }
14436
14493
  ],
14437
14494
  stateMutability: "view"
14438
14495
  },
14439
14496
  {
14440
14497
  type: "function",
14441
14498
  inputs: [
14442
- {
14443
- name: "permit",
14444
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14445
- type: "tuple",
14446
- components: [
14447
- { name: "owner", internalType: "address", type: "address" },
14448
- { name: "to", internalType: "address", type: "address" },
14449
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14450
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14451
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14452
- { name: "deadline", internalType: "uint256", type: "uint256" },
14453
- { name: "nonce", internalType: "uint256", type: "uint256" }
14454
- ]
14455
- }
14456
- ],
14457
- name: "hashPermitBatch",
14458
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
14459
- stateMutability: "view"
14460
- },
14461
- {
14462
- type: "function",
14463
- inputs: [
14464
- {
14465
- name: "permit",
14466
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14467
- type: "tuple",
14468
- components: [
14469
- { name: "owner", internalType: "address", type: "address" },
14470
- { name: "to", internalType: "address", type: "address" },
14471
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14472
- { name: "quantity", internalType: "uint256", type: "uint256" },
14473
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14474
- { name: "deadline", internalType: "uint256", type: "uint256" },
14475
- { name: "nonce", internalType: "uint256", type: "uint256" }
14476
- ]
14477
- }
14478
- ],
14479
- name: "hashPermitSingle",
14480
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
14481
- stateMutability: "view"
14482
- },
14483
- {
14484
- type: "function",
14485
- inputs: [
14486
- { name: "account", internalType: "address", type: "address" },
14487
- { name: "operator", internalType: "address", type: "address" }
14499
+ { name: "newAuthority", internalType: "address", type: "address" }
14488
14500
  ],
14489
- name: "isApprovedForAll",
14490
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14491
- stateMutability: "view"
14492
- },
14493
- {
14494
- type: "function",
14495
- inputs: [],
14496
- name: "isConsumingScheduledOp",
14497
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
14498
- stateMutability: "view"
14501
+ name: "setAuthority",
14502
+ outputs: [],
14503
+ stateMutability: "nonpayable"
14499
14504
  },
14500
14505
  {
14501
14506
  type: "function",
14502
14507
  inputs: [
14503
- {
14504
- name: "permit",
14505
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14506
- type: "tuple",
14507
- components: [
14508
- { name: "owner", internalType: "address", type: "address" },
14509
- { name: "to", internalType: "address", type: "address" },
14510
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14511
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14512
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14513
- { name: "deadline", internalType: "uint256", type: "uint256" },
14514
- { name: "nonce", internalType: "uint256", type: "uint256" }
14515
- ]
14516
- },
14517
- { name: "signature", internalType: "bytes", type: "bytes" }
14508
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" }
14518
14509
  ],
14519
- name: "isValidSignatureTransferBatch",
14520
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14521
- stateMutability: "view"
14510
+ name: "setMaxFillCount",
14511
+ outputs: [],
14512
+ stateMutability: "nonpayable"
14522
14513
  },
14523
14514
  {
14524
14515
  type: "function",
14525
- inputs: [
14526
- {
14527
- name: "permit",
14528
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14529
- type: "tuple",
14530
- components: [
14531
- { name: "owner", internalType: "address", type: "address" },
14532
- { name: "to", internalType: "address", type: "address" },
14533
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14534
- { name: "quantity", internalType: "uint256", type: "uint256" },
14535
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14536
- { name: "deadline", internalType: "uint256", type: "uint256" },
14537
- { name: "nonce", internalType: "uint256", type: "uint256" }
14538
- ]
14539
- },
14540
- { name: "signature", internalType: "bytes", type: "bytes" }
14541
- ],
14542
- name: "isValidSignatureTransferSingle",
14543
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14544
- stateMutability: "view"
14516
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
14517
+ name: "unlockCallback",
14518
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
14519
+ stateMutability: "nonpayable"
14545
14520
  },
14546
14521
  {
14547
14522
  type: "function",
14548
14523
  inputs: [
14549
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14550
- { name: "tokenAddress", internalType: "address", type: "address" },
14551
- { name: "quantity", internalType: "uint256", type: "uint256" },
14552
- { name: "recipient", internalType: "address", type: "address" },
14553
- { name: "data", internalType: "bytes", type: "bytes" }
14524
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
14525
+ { name: "recipient", internalType: "address", type: "address" }
14554
14526
  ],
14555
- name: "mintTokenWithERC20",
14527
+ name: "withdraw",
14556
14528
  outputs: [],
14557
14529
  stateMutability: "nonpayable"
14558
14530
  },
14559
14531
  {
14560
14532
  type: "function",
14561
14533
  inputs: [
14562
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14563
- { name: "quantity", internalType: "uint256", type: "uint256" },
14564
- { name: "recipient", internalType: "address", type: "address" },
14565
- { 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" }
14566
14537
  ],
14567
- name: "mintTokenWithEth",
14538
+ name: "withdraw",
14568
14539
  outputs: [],
14569
- stateMutability: "payable"
14540
+ stateMutability: "nonpayable"
14570
14541
  },
14571
14542
  {
14572
14543
  type: "function",
14573
14544
  inputs: [],
14574
- name: "name",
14575
- outputs: [{ name: "", internalType: "string", type: "string" }],
14576
- stateMutability: "pure"
14577
- },
14578
- {
14579
- type: "function",
14580
- inputs: [
14581
- { name: "owner", internalType: "address", type: "address" },
14582
- { name: "nonce", internalType: "uint256", type: "uint256" }
14545
+ name: "zoraCoinVersionLookup",
14546
+ outputs: [
14547
+ {
14548
+ name: "",
14549
+ internalType: "contract IDeployedCoinVersionLookup",
14550
+ type: "address"
14551
+ }
14583
14552
  ],
14584
- name: "nonceUsed",
14585
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14586
14553
  stateMutability: "view"
14587
14554
  },
14588
14555
  {
14589
14556
  type: "function",
14590
- inputs: [
14591
- { name: "newContractURI", internalType: "string", type: "string" },
14592
- { name: "newBaseURI", internalType: "string", type: "string" }
14557
+ inputs: [],
14558
+ name: "zoraHookRegistry",
14559
+ outputs: [
14560
+ { name: "", internalType: "contract IZoraHookRegistry", type: "address" }
14593
14561
  ],
14594
- name: "notifyURIsUpdated",
14595
- outputs: [],
14596
- stateMutability: "nonpayable"
14562
+ stateMutability: "view"
14597
14563
  },
14598
14564
  {
14599
- type: "function",
14565
+ type: "event",
14566
+ anonymous: false,
14600
14567
  inputs: [
14601
- { name: "newUri", internalType: "string", type: "string" },
14602
- { name: "tokenId", internalType: "uint256", type: "uint256" }
14568
+ {
14569
+ name: "authority",
14570
+ internalType: "address",
14571
+ type: "address",
14572
+ indexed: false
14573
+ }
14603
14574
  ],
14604
- name: "notifyUpdatedTokenURI",
14605
- outputs: [],
14606
- stateMutability: "nonpayable"
14575
+ name: "AuthorityUpdated"
14607
14576
  },
14608
14577
  {
14609
- type: "function",
14578
+ type: "event",
14579
+ anonymous: false,
14610
14580
  inputs: [
14611
14581
  {
14612
- name: "permit",
14613
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14614
- type: "tuple",
14615
- components: [
14616
- { name: "owner", internalType: "address", type: "address" },
14617
- { name: "to", internalType: "address", type: "address" },
14618
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14619
- { name: "quantity", internalType: "uint256", type: "uint256" },
14620
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14621
- { name: "deadline", internalType: "uint256", type: "uint256" },
14622
- { name: "nonce", internalType: "uint256", type: "uint256" }
14623
- ]
14582
+ name: "maker",
14583
+ internalType: "address",
14584
+ type: "address",
14585
+ indexed: true
14624
14586
  },
14625
- { name: "signature", internalType: "bytes", type: "bytes" }
14626
- ],
14627
- name: "permitSafeTransfer",
14628
- outputs: [],
14629
- stateMutability: "nonpayable"
14630
- },
14631
- {
14632
- type: "function",
14633
- inputs: [
14587
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14634
14588
  {
14635
- name: "permit",
14636
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14637
- type: "tuple",
14638
- components: [
14639
- { name: "owner", internalType: "address", type: "address" },
14640
- { name: "to", internalType: "address", type: "address" },
14641
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14642
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14643
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14644
- { name: "deadline", internalType: "uint256", type: "uint256" },
14645
- { name: "nonce", internalType: "uint256", type: "uint256" }
14646
- ]
14589
+ name: "poolKeyHash",
14590
+ internalType: "bytes32",
14591
+ type: "bytes32",
14592
+ indexed: false
14647
14593
  },
14648
- { name: "signature", internalType: "bytes", type: "bytes" }
14649
- ],
14650
- name: "permitSafeTransferBatch",
14651
- outputs: [],
14652
- stateMutability: "nonpayable"
14653
- },
14654
- {
14655
- type: "function",
14656
- inputs: [
14657
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14658
- { name: "quantity", internalType: "uint256", type: "uint256" },
14659
- { name: "recipient", internalType: "address", type: "address" }
14660
- ],
14661
- name: "redeem",
14662
- outputs: [
14663
14594
  {
14664
- name: "",
14665
- internalType: "struct Redemption",
14666
- type: "tuple",
14667
- components: [
14668
- { name: "tokenAddress", internalType: "address", type: "address" },
14669
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
14670
- ]
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
14671
14612
  }
14672
14613
  ],
14673
- stateMutability: "nonpayable"
14614
+ name: "LimitOrderCreated"
14674
14615
  },
14675
14616
  {
14676
- type: "function",
14617
+ type: "event",
14618
+ anonymous: false,
14677
14619
  inputs: [
14678
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14679
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14680
- { name: "recipient", internalType: "address", type: "address" }
14681
- ],
14682
- name: "redeemBatch",
14683
- outputs: [
14684
14620
  {
14685
- name: "redemptions",
14686
- internalType: "struct Redemption[]",
14687
- type: "tuple[]",
14688
- components: [
14689
- { name: "tokenAddress", internalType: "address", type: "address" },
14690
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
14691
- ]
14692
- }
14693
- ],
14694
- stateMutability: "nonpayable"
14695
- },
14696
- {
14697
- type: "function",
14698
- inputs: [
14699
- { name: "from", internalType: "address", type: "address" },
14700
- { name: "to", internalType: "address", type: "address" },
14701
- { name: "ids", internalType: "uint256[]", type: "uint256[]" },
14702
- { name: "values", internalType: "uint256[]", type: "uint256[]" },
14703
- { name: "data", internalType: "bytes", type: "bytes" }
14704
- ],
14705
- name: "safeBatchTransferFrom",
14706
- outputs: [],
14707
- stateMutability: "nonpayable"
14708
- },
14709
- {
14710
- type: "function",
14711
- inputs: [
14712
- { name: "from", internalType: "address", type: "address" },
14713
- { name: "to", internalType: "address", type: "address" },
14714
- { name: "id", internalType: "uint256", type: "uint256" },
14715
- { name: "value", internalType: "uint256", type: "uint256" },
14716
- { name: "data", internalType: "bytes", type: "bytes" }
14717
- ],
14718
- name: "safeTransferFrom",
14719
- outputs: [],
14720
- stateMutability: "nonpayable"
14721
- },
14722
- {
14723
- type: "function",
14724
- inputs: [
14725
- { name: "operator", internalType: "address", type: "address" },
14726
- { name: "approved", internalType: "bool", type: "bool" }
14727
- ],
14728
- name: "setApprovalForAll",
14729
- outputs: [],
14730
- stateMutability: "nonpayable"
14731
- },
14732
- {
14733
- type: "function",
14734
- inputs: [
14735
- { name: "newAuthority", internalType: "address", type: "address" }
14736
- ],
14737
- name: "setAuthority",
14738
- outputs: [],
14739
- stateMutability: "nonpayable"
14740
- },
14741
- {
14742
- type: "function",
14743
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
14744
- name: "supportsInterface",
14745
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14746
- stateMutability: "view"
14747
- },
14748
- {
14749
- type: "function",
14750
- inputs: [],
14751
- name: "symbol",
14752
- outputs: [{ name: "", internalType: "string", type: "string" }],
14753
- stateMutability: "pure"
14754
- },
14755
- {
14756
- type: "function",
14757
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14758
- name: "tokenExists",
14759
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14760
- stateMutability: "view"
14761
- },
14762
- {
14763
- type: "function",
14764
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14765
- name: "tokenPrice",
14766
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14767
- stateMutability: "view"
14768
- },
14769
- {
14770
- type: "function",
14771
- inputs: [
14772
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14773
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14774
- { name: "call", internalType: "bytes", type: "bytes" }
14775
- ],
14776
- name: "transferBatchToManagerAndCall",
14777
- outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
14778
- stateMutability: "payable"
14779
- },
14780
- {
14781
- type: "function",
14782
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14783
- name: "uri",
14784
- outputs: [{ name: "", internalType: "string", type: "string" }],
14785
- stateMutability: "view"
14786
- },
14787
- {
14788
- type: "event",
14789
- anonymous: false,
14790
- inputs: [
14791
- {
14792
- name: "account",
14621
+ name: "maker",
14793
14622
  internalType: "address",
14794
14623
  type: "address",
14795
14624
  indexed: true
14796
14625
  },
14797
14626
  {
14798
- name: "operator",
14627
+ name: "coinIn",
14799
14628
  internalType: "address",
14800
14629
  type: "address",
14801
14630
  indexed: true
14802
14631
  },
14803
- { name: "approved", internalType: "bool", type: "bool", indexed: false }
14804
- ],
14805
- name: "ApprovalForAll"
14806
- },
14807
- {
14808
- type: "event",
14809
- anonymous: false,
14810
- inputs: [
14811
14632
  {
14812
- name: "authority",
14633
+ name: "coinOut",
14813
14634
  internalType: "address",
14814
14635
  type: "address",
14815
14636
  indexed: false
14816
- }
14817
- ],
14818
- name: "AuthorityUpdated"
14819
- },
14820
- { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
14821
- { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
14822
- {
14823
- type: "event",
14824
- anonymous: false,
14825
- inputs: [
14637
+ },
14826
14638
  {
14827
- name: "tokenId",
14828
- internalType: "uint256",
14829
- type: "uint256",
14830
- indexed: true
14639
+ name: "amountIn",
14640
+ internalType: "uint128",
14641
+ type: "uint128",
14642
+ indexed: false
14831
14643
  },
14832
14644
  {
14833
- name: "price",
14834
- internalType: "uint256",
14835
- type: "uint256",
14836
- indexed: true
14645
+ name: "amountOut",
14646
+ internalType: "uint128",
14647
+ type: "uint128",
14648
+ indexed: false
14837
14649
  },
14838
14650
  {
14839
- name: "tokenAddress",
14651
+ name: "fillReferral",
14840
14652
  internalType: "address",
14841
14653
  type: "address",
14842
- indexed: true
14843
- }
14844
- ],
14845
- name: "TokenCreated"
14846
- },
14847
- {
14848
- type: "event",
14849
- anonymous: false,
14850
- inputs: [
14654
+ indexed: false
14655
+ },
14851
14656
  {
14852
- name: "operator",
14853
- internalType: "address",
14854
- type: "address",
14855
- indexed: true
14657
+ name: "fillReferralAmount",
14658
+ internalType: "uint128",
14659
+ type: "uint128",
14660
+ indexed: false
14856
14661
  },
14857
- { name: "from", internalType: "address", type: "address", indexed: true },
14858
- { name: "to", internalType: "address", type: "address", indexed: true },
14859
14662
  {
14860
- name: "ids",
14861
- internalType: "uint256[]",
14862
- type: "uint256[]",
14663
+ name: "poolKeyHash",
14664
+ internalType: "bytes32",
14665
+ type: "bytes32",
14863
14666
  indexed: false
14864
14667
  },
14668
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
14865
14669
  {
14866
- name: "values",
14867
- internalType: "uint256[]",
14868
- type: "uint256[]",
14670
+ name: "orderId",
14671
+ internalType: "bytes32",
14672
+ type: "bytes32",
14869
14673
  indexed: false
14870
14674
  }
14871
14675
  ],
14872
- name: "TransferBatch"
14676
+ name: "LimitOrderFilled"
14873
14677
  },
14874
14678
  {
14875
14679
  type: "event",
14876
14680
  anonymous: false,
14877
14681
  inputs: [
14878
14682
  {
14879
- name: "operator",
14683
+ name: "maker",
14880
14684
  internalType: "address",
14881
14685
  type: "address",
14882
14686
  indexed: true
14883
14687
  },
14884
- { name: "from", internalType: "address", type: "address", indexed: true },
14885
- { name: "to", internalType: "address", type: "address", indexed: true },
14886
- { name: "id", internalType: "uint256", type: "uint256", indexed: false },
14688
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14887
14689
  {
14888
- name: "value",
14889
- internalType: "uint256",
14890
- 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",
14891
14718
  indexed: false
14892
14719
  }
14893
14720
  ],
14894
- name: "TransferSingle"
14895
- },
14896
- {
14897
- type: "event",
14898
- anonymous: false,
14899
- inputs: [
14900
- { name: "value", internalType: "string", type: "string", indexed: false },
14901
- { name: "id", internalType: "uint256", type: "uint256", indexed: true }
14902
- ],
14903
- name: "URI"
14721
+ name: "LimitOrderUpdated"
14904
14722
  },
14905
14723
  {
14906
14724
  type: "event",
14907
14725
  anonymous: false,
14908
14726
  inputs: [
14909
14727
  {
14910
- name: "contractURI",
14911
- internalType: "string",
14912
- type: "string",
14913
- indexed: false
14728
+ name: "maker",
14729
+ internalType: "address",
14730
+ type: "address",
14731
+ indexed: true
14914
14732
  },
14733
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14915
14734
  {
14916
- name: "baseURI",
14917
- internalType: "string",
14918
- type: "string",
14735
+ name: "balance",
14736
+ internalType: "uint128",
14737
+ type: "uint128",
14919
14738
  indexed: false
14920
14739
  }
14921
14740
  ],
14922
- name: "URIsUpdated"
14741
+ name: "MakerBalanceUpdated"
14923
14742
  },
14924
14743
  {
14925
14744
  type: "error",
14926
14745
  inputs: [{ name: "authority", internalType: "address", type: "address" }],
14927
14746
  name: "AccessManagedInvalidAuthority"
14928
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" },
14929
14782
  {
14930
14783
  type: "error",
14931
- inputs: [
14932
- { name: "caller", internalType: "address", type: "address" },
14933
- { name: "delay", internalType: "uint32", type: "uint32" }
14934
- ],
14935
- name: "AccessManagedRequiredDelay"
14936
- },
14937
- {
14938
- type: "error",
14939
- inputs: [{ name: "caller", internalType: "address", type: "address" }],
14940
- name: "AccessManagedUnauthorized"
14784
+ inputs: [],
14785
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
14941
14786
  },
14787
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
14942
14788
  {
14943
14789
  type: "error",
14944
- inputs: [{ name: "target", internalType: "address", type: "address" }],
14945
- name: "AddressEmptyCode"
14790
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
14791
+ name: "ECDSAInvalidSignatureLength"
14946
14792
  },
14947
14793
  {
14948
14794
  type: "error",
14949
- inputs: [{ name: "account", internalType: "address", type: "address" }],
14950
- name: "AddressInsufficientBalance"
14795
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
14796
+ name: "ECDSAInvalidSignatureS"
14951
14797
  },
14952
14798
  {
14953
14799
  type: "error",
14954
14800
  inputs: [
14955
- { name: "lengthA", internalType: "uint256", type: "uint256" },
14956
- { 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" }
14957
14804
  ],
14958
- name: "ArrayLengthMismatch"
14959
- },
14960
- {
14961
- type: "error",
14962
- inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
14963
- name: "CallFailed"
14805
+ name: "ERC20InsufficientAllowance"
14964
14806
  },
14965
14807
  {
14966
14808
  type: "error",
14967
14809
  inputs: [
14968
14810
  { name: "sender", internalType: "address", type: "address" },
14969
14811
  { name: "balance", internalType: "uint256", type: "uint256" },
14970
- { name: "needed", internalType: "uint256", type: "uint256" },
14971
- { name: "tokenId", internalType: "uint256", type: "uint256" }
14812
+ { name: "needed", internalType: "uint256", type: "uint256" }
14972
14813
  ],
14973
- name: "ERC1155InsufficientBalance"
14814
+ name: "ERC20InsufficientBalance"
14974
14815
  },
14975
14816
  {
14976
14817
  type: "error",
14977
14818
  inputs: [{ name: "approver", internalType: "address", type: "address" }],
14978
- name: "ERC1155InvalidApprover"
14819
+ name: "ERC20InvalidApprover"
14979
14820
  },
14980
14821
  {
14981
14822
  type: "error",
14982
- inputs: [
14983
- { name: "idsLength", internalType: "uint256", type: "uint256" },
14984
- { name: "valuesLength", internalType: "uint256", type: "uint256" }
14985
- ],
14986
- name: "ERC1155InvalidArrayLength"
14823
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
14824
+ name: "ERC20InvalidReceiver"
14987
14825
  },
14988
14826
  {
14989
14827
  type: "error",
14990
- inputs: [{ name: "operator", internalType: "address", type: "address" }],
14991
- name: "ERC1155InvalidOperator"
14828
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
14829
+ name: "ERC20InvalidSender"
14992
14830
  },
14993
14831
  {
14994
14832
  type: "error",
14995
- inputs: [{ name: "receiver", internalType: "address", type: "address" }],
14996
- name: "ERC1155InvalidReceiver"
14833
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
14834
+ name: "ERC20InvalidSpender"
14997
14835
  },
14836
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
14998
14837
  {
14999
14838
  type: "error",
15000
- inputs: [{ name: "sender", internalType: "address", type: "address" }],
15001
- name: "ERC1155InvalidSender"
14839
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
14840
+ name: "ERC2612ExpiredSignature"
15002
14841
  },
15003
14842
  {
15004
14843
  type: "error",
15005
14844
  inputs: [
15006
- { name: "operator", internalType: "address", type: "address" },
14845
+ { name: "signer", internalType: "address", type: "address" },
15007
14846
  { name: "owner", internalType: "address", type: "address" }
15008
14847
  ],
15009
- name: "ERC1155MissingApprovalForAll"
15010
- },
15011
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15012
- {
15013
- type: "error",
15014
- inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
15015
- name: "ERC2612ExpiredSignature"
14848
+ name: "ERC2612InvalidSigner"
15016
14849
  },
15017
- { type: "error", inputs: [], name: "ETHTransferFailed" },
15018
- { type: "error", inputs: [], name: "FailedInnerCall" },
15019
- { 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" },
15020
14857
  {
15021
14858
  type: "error",
15022
14859
  inputs: [
@@ -15025,522 +14862,1952 @@ var zoraMints1155ABI = [
15025
14862
  ],
15026
14863
  name: "InvalidAccountNonce"
15027
14864
  },
15028
- { type: "error", inputs: [], name: "InvalidRecipient" },
15029
- { type: "error", inputs: [], name: "InvalidShortString" },
15030
- { type: "error", inputs: [], name: "InvalidSignature" },
15031
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
15032
- { 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" },
15033
14869
  {
15034
14870
  type: "error",
15035
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
15036
- 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"
15037
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" },
15038
14895
  {
15039
14896
  type: "error",
15040
- inputs: [{ name: "token", internalType: "address", type: "address" }],
15041
- name: "SafeERC20FailedOperation"
14897
+ inputs: [
14898
+ { name: "sender", internalType: "address", type: "address" },
14899
+ { name: "pool", internalType: "address", type: "address" }
14900
+ ],
14901
+ name: "OnlyPool"
15042
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" },
15043
14911
  {
15044
14912
  type: "error",
15045
- inputs: [{ name: "str", internalType: "string", type: "string" }],
15046
- 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"
15047
14928
  },
15048
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15049
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
15050
14929
  {
15051
14930
  type: "error",
15052
14931
  inputs: [
15053
- { name: "storedTokenAddress", internalType: "address", type: "address" },
15054
14932
  {
15055
- name: "expectedTokenAddress",
15056
- internalType: "address",
15057
- 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
+ ]
15058
14943
  }
15059
14944
  ],
15060
- name: "TokenMismatch"
14945
+ name: "NoCoinForHook"
15061
14946
  },
15062
- { 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
+ }
15063
14982
  ];
15064
- var zoraMints1155Address = {
15065
- 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
15066
- 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
14983
+ var zoraLimitOrderBookAddress = {
14984
+ 8453: "0xBF26D61054Ad1f0f7AcafF9b3A0627A37915D627"
15067
14985
  };
15068
- var zoraMints1155Config = {
15069
- address: zoraMints1155Address,
15070
- abi: zoraMints1155ABI
14986
+ var zoraLimitOrderBookConfig = {
14987
+ address: zoraLimitOrderBookAddress,
14988
+ abi: zoraLimitOrderBookABI
15071
14989
  };
15072
- var zoraMintsManagerImplABI = [
14990
+ var zoraMints1155ABI = [
14991
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
15073
14992
  {
15074
- type: "constructor",
15075
- inputs: [
15076
- {
15077
- name: "_premintExecutor",
15078
- internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
15079
- type: "address"
15080
- }
15081
- ],
15082
- stateMutability: "nonpayable"
14993
+ type: "function",
14994
+ inputs: [],
14995
+ name: "ETH_ADDRESS",
14996
+ outputs: [{ name: "", internalType: "address", type: "address" }],
14997
+ stateMutability: "view"
15083
14998
  },
15084
14999
  {
15085
15000
  type: "function",
15086
15001
  inputs: [],
15087
- 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",
15088
15017
  outputs: [{ name: "", internalType: "string", type: "string" }],
15089
15018
  stateMutability: "view"
15090
15019
  },
15091
15020
  {
15092
15021
  type: "function",
15093
15022
  inputs: [],
15094
- name: "acceptOwnership",
15095
- outputs: [],
15096
- 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"
15097
15033
  },
15098
15034
  {
15099
15035
  type: "function",
15100
15036
  inputs: [
15101
- { name: "callFrom", internalType: "address", type: "address" },
15102
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15103
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15104
- { name: "call", internalType: "bytes", type: "bytes" }
15105
- ],
15106
- name: "callWithTransferTokens",
15107
- outputs: [
15108
- { name: "success", internalType: "bool", type: "bool" },
15109
- { name: "result", internalType: "bytes", type: "bytes" }
15037
+ { name: "account", internalType: "address", type: "address" },
15038
+ { name: "id", internalType: "uint256", type: "uint256" }
15110
15039
  ],
15111
- 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"
15112
15050
  },
15113
15051
  {
15114
15052
  type: "function",
15115
15053
  inputs: [
15116
- { name: "caller", internalType: "address", type: "address" },
15117
- { name: "", internalType: "address", type: "address" },
15118
- { name: "", internalType: "bytes4", type: "bytes4" }
15054
+ { name: "accounts", internalType: "address[]", type: "address[]" },
15055
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
15119
15056
  ],
15120
- name: "canCall",
15121
- 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" }],
15122
15066
  stateMutability: "view"
15123
15067
  },
15124
15068
  {
15125
15069
  type: "function",
15126
15070
  inputs: [
15071
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15127
15072
  {
15128
- name: "zoraCreator1155Contract",
15129
- internalType: "contract IMintWithSparks",
15130
- type: "address"
15131
- },
15132
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
15133
- {
15134
- name: "zoraCreator1155TokenId",
15135
- internalType: "uint256",
15136
- type: "uint256"
15137
- },
15138
- {
15139
- name: "collectMintArguments",
15140
- internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
15073
+ name: "tokenConfig",
15074
+ internalType: "struct TokenConfig",
15141
15075
  type: "tuple",
15142
15076
  components: [
15143
- {
15144
- name: "mintRewardsRecipients",
15145
- internalType: "address[]",
15146
- type: "address[]"
15147
- },
15148
- { name: "minterArguments", internalType: "bytes", type: "bytes" },
15149
- { 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" }
15150
15080
  ]
15151
15081
  }
15152
15082
  ],
15153
- name: "collect",
15083
+ name: "createToken",
15154
15084
  outputs: [],
15155
- stateMutability: "payable"
15085
+ stateMutability: "nonpayable"
15156
15086
  },
15157
15087
  {
15158
15088
  type: "function",
15159
- inputs: [
15160
- {
15161
- name: "contractConfig",
15162
- internalType: "struct ContractWithAdditionalAdminsCreationConfig",
15163
- type: "tuple",
15164
- components: [
15165
- { name: "contractAdmin", internalType: "address", type: "address" },
15166
- { name: "contractURI", internalType: "string", type: "string" },
15167
- { name: "contractName", internalType: "string", type: "string" },
15168
- {
15169
- name: "additionalAdmins",
15170
- internalType: "address[]",
15171
- type: "address[]"
15172
- }
15173
- ]
15174
- },
15175
- { name: "tokenContract", internalType: "address", type: "address" },
15176
- {
15177
- name: "premintConfig",
15178
- internalType: "struct PremintConfigEncoded",
15179
- type: "tuple",
15180
- components: [
15181
- { name: "uid", internalType: "uint32", type: "uint32" },
15182
- { name: "version", internalType: "uint32", type: "uint32" },
15183
- { name: "deleted", internalType: "bool", type: "bool" },
15184
- { name: "tokenConfig", internalType: "bytes", type: "bytes" },
15185
- {
15186
- name: "premintConfigVersion",
15187
- internalType: "bytes32",
15188
- type: "bytes32"
15189
- }
15190
- ]
15191
- },
15192
- { name: "signature", internalType: "bytes", type: "bytes" },
15193
- {
15194
- name: "mintArguments",
15195
- internalType: "struct MintArguments",
15196
- type: "tuple",
15197
- components: [
15198
- { name: "mintRecipient", internalType: "address", type: "address" },
15199
- { name: "mintComment", internalType: "string", type: "string" },
15200
- {
15201
- name: "mintRewardsRecipients",
15202
- internalType: "address[]",
15203
- type: "address[]"
15204
- }
15205
- ]
15206
- },
15207
- { name: "firstMinter", internalType: "address", type: "address" },
15208
- { 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[]" }
15209
15099
  ],
15210
- 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",
15211
15113
  outputs: [
15212
15114
  {
15213
- name: "result",
15214
- internalType: "struct PremintResult",
15115
+ name: "",
15116
+ internalType: "struct TokenConfig",
15215
15117
  type: "tuple",
15216
15118
  components: [
15217
- { name: "contractAddress", internalType: "address", type: "address" },
15218
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15219
- { 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" }
15220
15122
  ]
15221
15123
  }
15222
15124
  ],
15223
- stateMutability: "payable"
15125
+ stateMutability: "view"
15224
15126
  },
15225
15127
  {
15226
15128
  type: "function",
15227
15129
  inputs: [
15228
15130
  {
15229
- name: "contractConfig",
15230
- internalType: "struct ContractCreationConfig",
15231
- type: "tuple",
15232
- components: [
15233
- { name: "contractAdmin", internalType: "address", type: "address" },
15234
- { name: "contractURI", internalType: "string", type: "string" },
15235
- { name: "contractName", internalType: "string", type: "string" }
15236
- ]
15237
- },
15238
- {
15239
- name: "premintConfig",
15240
- internalType: "struct PremintConfigV2",
15241
- type: "tuple",
15242
- components: [
15243
- {
15244
- name: "tokenConfig",
15245
- internalType: "struct TokenCreationConfigV2",
15246
- type: "tuple",
15247
- components: [
15248
- { name: "tokenURI", internalType: "string", type: "string" },
15249
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
15250
- {
15251
- name: "maxTokensPerAddress",
15252
- internalType: "uint64",
15253
- type: "uint64"
15254
- },
15255
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
15256
- { name: "mintStart", internalType: "uint64", type: "uint64" },
15257
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
15258
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
15259
- {
15260
- name: "payoutRecipient",
15261
- internalType: "address",
15262
- type: "address"
15263
- },
15264
- {
15265
- name: "fixedPriceMinter",
15266
- internalType: "address",
15267
- type: "address"
15268
- },
15269
- {
15270
- name: "createReferral",
15271
- internalType: "address",
15272
- type: "address"
15273
- }
15274
- ]
15275
- },
15276
- { name: "uid", internalType: "uint32", type: "uint32" },
15277
- { name: "version", internalType: "uint32", type: "uint32" },
15278
- { name: "deleted", internalType: "bool", type: "bool" }
15279
- ]
15280
- },
15281
- { name: "signature", internalType: "bytes", type: "bytes" },
15282
- {
15283
- name: "mintArguments",
15284
- internalType: "struct MintArguments",
15131
+ name: "permit",
15132
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15285
15133
  type: "tuple",
15286
15134
  components: [
15287
- { name: "mintRecipient", internalType: "address", type: "address" },
15288
- { name: "mintComment", internalType: "string", type: "string" },
15289
- {
15290
- name: "mintRewardsRecipients",
15291
- internalType: "address[]",
15292
- type: "address[]"
15293
- }
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" }
15294
15142
  ]
15295
- },
15296
- { name: "signerContract", internalType: "address", type: "address" }
15143
+ }
15297
15144
  ],
15298
- name: "collectPremintV2",
15299
- outputs: [
15145
+ name: "hashPermitBatch",
15146
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15147
+ stateMutability: "view"
15148
+ },
15149
+ {
15150
+ type: "function",
15151
+ inputs: [
15300
15152
  {
15301
- name: "result",
15302
- internalType: "struct PremintResult",
15153
+ name: "permit",
15154
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
15303
15155
  type: "tuple",
15304
15156
  components: [
15305
- { name: "contractAddress", internalType: "address", type: "address" },
15157
+ { name: "owner", internalType: "address", type: "address" },
15158
+ { name: "to", internalType: "address", type: "address" },
15306
15159
  { name: "tokenId", internalType: "uint256", type: "uint256" },
15307
- { 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" }
15308
15164
  ]
15309
15165
  }
15310
15166
  ],
15311
- stateMutability: "payable"
15312
- },
15313
- {
15314
- type: "function",
15315
- inputs: [],
15316
- name: "contractName",
15317
- outputs: [{ name: "", internalType: "string", type: "string" }],
15318
- stateMutability: "pure"
15167
+ name: "hashPermitSingle",
15168
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15169
+ stateMutability: "view"
15319
15170
  },
15320
15171
  {
15321
15172
  type: "function",
15322
- inputs: [],
15323
- name: "contractURI",
15324
- 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" }],
15325
15179
  stateMutability: "view"
15326
15180
  },
15327
15181
  {
15328
15182
  type: "function",
15329
15183
  inputs: [],
15330
- name: "contractVersion",
15331
- outputs: [{ name: "", internalType: "string", type: "string" }],
15332
- stateMutability: "pure"
15184
+ name: "isConsumingScheduledOp",
15185
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15186
+ stateMutability: "view"
15333
15187
  },
15334
15188
  {
15335
15189
  type: "function",
15336
15190
  inputs: [
15337
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15338
15191
  {
15339
- name: "tokenConfig",
15340
- internalType: "struct TokenConfig",
15192
+ name: "permit",
15193
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15341
15194
  type: "tuple",
15342
15195
  components: [
15343
- { name: "price", internalType: "uint256", type: "uint256" },
15344
- { name: "tokenAddress", internalType: "address", type: "address" },
15345
- { 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" }
15346
15203
  ]
15347
15204
  },
15348
- { name: "defaultMintable", internalType: "bool", type: "bool" }
15349
- ],
15350
- name: "createToken",
15351
- outputs: [],
15352
- stateMutability: "nonpayable"
15353
- },
15354
- {
15355
- type: "function",
15356
- inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
15357
- name: "decodeMintRecipientAndComment",
15358
- outputs: [
15359
- { name: "mintTo", internalType: "address", type: "address" },
15360
- { name: "mintComment", internalType: "string", type: "string" }
15205
+ { name: "signature", internalType: "bytes", type: "bytes" }
15361
15206
  ],
15362
- stateMutability: "pure"
15207
+ name: "isValidSignatureTransferBatch",
15208
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15209
+ stateMutability: "view"
15363
15210
  },
15364
15211
  {
15365
15212
  type: "function",
15366
- inputs: [],
15367
- name: "getEthPrice",
15368
- 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" }],
15369
15232
  stateMutability: "view"
15370
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
+ },
15371
15259
  {
15372
15260
  type: "function",
15373
15261
  inputs: [],
15374
- name: "implementation",
15375
- 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" }],
15376
15274
  stateMutability: "view"
15377
15275
  },
15378
15276
  {
15379
15277
  type: "function",
15380
15278
  inputs: [
15381
- { name: "defaultOwner", internalType: "address", type: "address" },
15382
- { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
15383
- { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
15384
- { 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: [
15385
15299
  {
15386
- name: "initialEthTokenPrice",
15387
- internalType: "uint256",
15388
- 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
+ ]
15389
15312
  },
15390
- { name: "newBaseURI", internalType: "string", type: "string" },
15391
- { name: "newContractURI", internalType: "string", type: "string" }
15313
+ { name: "signature", internalType: "bytes", type: "bytes" }
15392
15314
  ],
15393
- name: "initialize",
15394
- outputs: [
15315
+ name: "permitSafeTransfer",
15316
+ outputs: [],
15317
+ stateMutability: "nonpayable"
15318
+ },
15319
+ {
15320
+ type: "function",
15321
+ inputs: [
15395
15322
  {
15396
- name: "mints",
15397
- internalType: "contract IZoraSparks1155",
15398
- type: "address"
15399
- }
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" }
15400
15337
  ],
15338
+ name: "permitSafeTransferBatch",
15339
+ outputs: [],
15401
15340
  stateMutability: "nonpayable"
15402
15341
  },
15403
15342
  {
15404
15343
  type: "function",
15405
15344
  inputs: [
15406
- { name: "tokenAddress", internalType: "address", type: "address" },
15345
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15407
15346
  { name: "quantity", internalType: "uint256", type: "uint256" },
15408
15347
  { name: "recipient", internalType: "address", type: "address" }
15409
15348
  ],
15410
- name: "mintWithERC20",
15349
+ name: "redeem",
15411
15350
  outputs: [
15412
- { 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
+ }
15413
15360
  ],
15414
15361
  stateMutability: "nonpayable"
15415
15362
  },
15416
15363
  {
15417
15364
  type: "function",
15418
15365
  inputs: [
15419
- { name: "quantity", internalType: "uint256", type: "uint256" },
15366
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15367
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15420
15368
  { name: "recipient", internalType: "address", type: "address" }
15421
15369
  ],
15422
- name: "mintWithEth",
15370
+ name: "redeemBatch",
15423
15371
  outputs: [
15424
- { 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
+ }
15425
15381
  ],
15426
- stateMutability: "payable"
15427
- },
15428
- {
15429
- type: "function",
15430
- inputs: [],
15431
- name: "mintableEthToken",
15432
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15433
- stateMutability: "view"
15382
+ stateMutability: "nonpayable"
15434
15383
  },
15435
15384
  {
15436
15385
  type: "function",
15437
15386
  inputs: [
15438
- { name: "", internalType: "address", type: "address" },
15439
15387
  { name: "from", internalType: "address", type: "address" },
15388
+ { name: "to", internalType: "address", type: "address" },
15440
15389
  { name: "ids", internalType: "uint256[]", type: "uint256[]" },
15441
15390
  { name: "values", internalType: "uint256[]", type: "uint256[]" },
15442
15391
  { name: "data", internalType: "bytes", type: "bytes" }
15443
15392
  ],
15444
- name: "onERC1155BatchReceived",
15445
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15393
+ name: "safeBatchTransferFrom",
15394
+ outputs: [],
15446
15395
  stateMutability: "nonpayable"
15447
15396
  },
15448
15397
  {
15449
15398
  type: "function",
15450
15399
  inputs: [
15451
- { name: "", internalType: "address", type: "address" },
15452
15400
  { name: "from", internalType: "address", type: "address" },
15401
+ { name: "to", internalType: "address", type: "address" },
15453
15402
  { name: "id", internalType: "uint256", type: "uint256" },
15454
15403
  { name: "value", internalType: "uint256", type: "uint256" },
15455
15404
  { name: "data", internalType: "bytes", type: "bytes" }
15456
15405
  ],
15457
- name: "onERC1155Received",
15458
- 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
+ ],
15459
16675
  stateMutability: "nonpayable"
15460
16676
  },
16677
+ { type: "receive", stateMutability: "payable" },
15461
16678
  {
15462
16679
  type: "function",
15463
16680
  inputs: [],
15464
- name: "owner",
15465
- 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
+ ],
15466
16693
  stateMutability: "view"
15467
16694
  },
15468
16695
  {
15469
16696
  type: "function",
15470
16697
  inputs: [],
15471
- name: "pendingOwner",
16698
+ name: "msgSender",
15472
16699
  outputs: [{ name: "", internalType: "address", type: "address" }],
15473
16700
  stateMutability: "view"
15474
16701
  },
15475
16702
  {
15476
16703
  type: "function",
15477
16704
  inputs: [],
15478
- name: "proxiableUUID",
15479
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15480
- stateMutability: "view"
15481
- },
15482
- {
15483
- type: "function",
15484
- inputs: [],
15485
- name: "renounceOwnership",
15486
- outputs: [],
15487
- stateMutability: "nonpayable"
15488
- },
15489
- {
15490
- type: "function",
15491
- inputs: [
15492
- { name: "tokenAddress", internalType: "address", type: "address" },
15493
- { name: "tokenId", internalType: "uint256", type: "uint256" }
16705
+ name: "poolManager",
16706
+ outputs: [
16707
+ { name: "", internalType: "contract IPoolManager", type: "address" }
15494
16708
  ],
15495
- name: "setDefaultMintable",
15496
- outputs: [],
15497
- stateMutability: "nonpayable"
16709
+ stateMutability: "view"
15498
16710
  },
15499
16711
  {
15500
16712
  type: "function",
15501
16713
  inputs: [
15502
- { name: "newContractURI", internalType: "string", type: "string" },
15503
- { name: "newBaseURI", internalType: "string", type: "string" },
15504
16714
  {
15505
- name: "tokenIdsToNotifyUpdate",
15506
- internalType: "uint256[]",
15507
- 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
+ ]
15508
16722
  }
15509
16723
  ],
15510
- name: "setMetadataURIs",
16724
+ name: "setLimitOrderConfig",
15511
16725
  outputs: [],
15512
16726
  stateMutability: "nonpayable"
15513
16727
  },
15514
16728
  {
15515
16729
  type: "function",
15516
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
15517
- name: "transferOwnership",
15518
- outputs: [],
15519
- stateMutability: "nonpayable"
16730
+ inputs: [],
16731
+ name: "swapRouter",
16732
+ outputs: [
16733
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
16734
+ ],
16735
+ stateMutability: "view"
15520
16736
  },
15521
16737
  {
15522
16738
  type: "function",
15523
16739
  inputs: [
15524
- { name: "newImplementation", internalType: "address", type: "address" },
15525
- { 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" }
15526
16791
  ],
15527
- name: "upgradeToAndCall",
15528
- outputs: [],
15529
16792
  stateMutability: "payable"
15530
16793
  },
15531
16794
  {
15532
16795
  type: "function",
15533
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15534
- name: "uri",
15535
- outputs: [{ name: "", internalType: "string", type: "string" }],
15536
- stateMutability: "view"
16796
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
16797
+ name: "unlockCallback",
16798
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
16799
+ stateMutability: "nonpayable"
15537
16800
  },
15538
16801
  {
15539
16802
  type: "function",
15540
16803
  inputs: [],
15541
- name: "zoraSparks1155",
16804
+ name: "zoraLimitOrderBook",
15542
16805
  outputs: [
15543
- { name: "", internalType: "contract IZoraSparks1155", type: "address" }
16806
+ {
16807
+ name: "",
16808
+ internalType: "contract IZoraLimitOrderBook",
16809
+ type: "address"
16810
+ }
15544
16811
  ],
15545
16812
  stateMutability: "view"
15546
16813
  },
@@ -15549,63 +16816,57 @@ var zoraMintsManagerImplABI = [
15549
16816
  anonymous: false,
15550
16817
  inputs: [
15551
16818
  {
15552
- name: "tokenIds",
16819
+ name: "multiples",
15553
16820
  internalType: "uint256[]",
15554
16821
  type: "uint256[]",
15555
- indexed: true
16822
+ indexed: false
15556
16823
  },
15557
16824
  {
15558
- name: "quantities",
16825
+ name: "percentages",
15559
16826
  internalType: "uint256[]",
15560
16827
  type: "uint256[]",
15561
16828
  indexed: false
15562
- },
15563
- {
15564
- name: "zoraCreator1155Contract",
15565
- internalType: "address",
15566
- type: "address",
15567
- indexed: true
15568
- },
15569
- {
15570
- name: "zoraCreator1155TokenId",
15571
- internalType: "uint256",
15572
- type: "uint256",
15573
- indexed: true
15574
16829
  }
15575
16830
  ],
15576
- name: "Collected"
16831
+ name: "LimitOrderConfigUpdated"
15577
16832
  },
15578
16833
  {
15579
16834
  type: "event",
15580
16835
  anonymous: false,
15581
16836
  inputs: [
15582
16837
  {
15583
- name: "tokenAddress",
16838
+ name: "maker",
15584
16839
  internalType: "address",
15585
16840
  type: "address",
16841
+ indexed: true
16842
+ },
16843
+ {
16844
+ name: "orderIds",
16845
+ internalType: "bytes32[]",
16846
+ type: "bytes32[]",
15586
16847
  indexed: false
15587
16848
  },
15588
16849
  {
15589
- name: "tokenId",
16850
+ name: "totalOrderSize",
15590
16851
  internalType: "uint256",
15591
16852
  type: "uint256",
15592
16853
  indexed: false
15593
16854
  }
15594
16855
  ],
15595
- name: "DefaultMintableTokenSet"
16856
+ name: "LimitOrdersCreated"
15596
16857
  },
15597
16858
  {
15598
16859
  type: "event",
15599
16860
  anonymous: false,
15600
16861
  inputs: [
15601
16862
  {
15602
- name: "version",
15603
- internalType: "uint64",
15604
- type: "uint64",
16863
+ name: "ordersFilled",
16864
+ internalType: "uint256",
16865
+ type: "uint256",
15605
16866
  indexed: false
15606
16867
  }
15607
16868
  ],
15608
- name: "Initialized"
16869
+ name: "LimitOrdersFilled"
15609
16870
  },
15610
16871
  {
15611
16872
  type: "event",
@@ -15618,351 +16879,328 @@ var zoraMintsManagerImplABI = [
15618
16879
  indexed: true
15619
16880
  },
15620
16881
  {
15621
- name: "tokenContract",
16882
+ name: "recipient",
15622
16883
  internalType: "address",
15623
16884
  type: "address",
15624
16885
  indexed: true
15625
16886
  },
15626
16887
  {
15627
- name: "tokenId",
15628
- internalType: "uint256",
15629
- type: "uint256",
15630
- 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
15631
16899
  },
15632
16900
  {
15633
- name: "quantity",
15634
- internalType: "uint256",
15635
- type: "uint256",
16901
+ name: "delta",
16902
+ internalType: "BalanceDelta",
16903
+ type: "int256",
15636
16904
  indexed: false
15637
16905
  },
15638
16906
  {
15639
- name: "comment",
15640
- internalType: "string",
15641
- type: "string",
16907
+ name: "tickBeforeSwap",
16908
+ internalType: "int24",
16909
+ type: "int24",
15642
16910
  indexed: false
15643
- }
15644
- ],
15645
- name: "MintComment"
15646
- },
15647
- {
15648
- type: "event",
15649
- anonymous: false,
15650
- inputs: [
15651
- {
15652
- name: "previousOwner",
15653
- internalType: "address",
15654
- type: "address",
15655
- indexed: true
15656
16911
  },
15657
16912
  {
15658
- name: "newOwner",
15659
- internalType: "address",
15660
- type: "address",
15661
- indexed: true
15662
- }
15663
- ],
15664
- name: "OwnershipTransferStarted"
15665
- },
15666
- {
15667
- type: "event",
15668
- anonymous: false,
15669
- inputs: [
15670
- {
15671
- name: "previousOwner",
15672
- internalType: "address",
15673
- type: "address",
15674
- indexed: true
16913
+ name: "tickAfterSwap",
16914
+ internalType: "int24",
16915
+ type: "int24",
16916
+ indexed: false
15675
16917
  },
15676
16918
  {
15677
- name: "newOwner",
15678
- internalType: "address",
15679
- type: "address",
15680
- indexed: true
15681
- }
15682
- ],
15683
- name: "OwnershipTransferred"
15684
- },
15685
- {
15686
- type: "event",
15687
- anonymous: false,
15688
- inputs: [
15689
- {
15690
- name: "contractURI",
15691
- internalType: "string",
15692
- type: "string",
16919
+ name: "orderIds",
16920
+ internalType: "bytes32[]",
16921
+ type: "bytes32[]",
15693
16922
  indexed: false
15694
16923
  },
15695
16924
  {
15696
- name: "baseURI",
15697
- internalType: "string",
15698
- type: "string",
16925
+ name: "ordersFilled",
16926
+ internalType: "uint256",
16927
+ type: "uint256",
15699
16928
  indexed: false
15700
16929
  }
15701
16930
  ],
15702
- name: "URIsUpdated"
16931
+ name: "SwapWithLimitOrdersExecuted"
15703
16932
  },
16933
+ { type: "error", inputs: [], name: "EmptyV4Route" },
15704
16934
  {
15705
- type: "event",
15706
- anonymous: false,
16935
+ type: "error",
15707
16936
  inputs: [
15708
- {
15709
- name: "implementation",
15710
- internalType: "address",
15711
- type: "address",
15712
- indexed: true
15713
- }
16937
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
16938
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
15714
16939
  ],
15715
- 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"
15716
16965
  },
16966
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
15717
16967
  {
15718
16968
  type: "error",
15719
- inputs: [{ name: "target", internalType: "address", type: "address" }],
15720
- name: "AddressEmptyCode"
16969
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
16970
+ name: "ECDSAInvalidSignatureLength"
15721
16971
  },
15722
16972
  {
15723
16973
  type: "error",
15724
- inputs: [{ name: "account", internalType: "address", type: "address" }],
15725
- name: "AddressInsufficientBalance"
16974
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
16975
+ name: "ECDSAInvalidSignatureS"
15726
16976
  },
15727
16977
  {
15728
16978
  type: "error",
15729
16979
  inputs: [
15730
- { name: "lengthA", internalType: "uint256", type: "uint256" },
15731
- { 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" }
15732
16983
  ],
15733
- name: "ArrayLengthMismatch"
16984
+ name: "ERC20InsufficientAllowance"
15734
16985
  },
15735
16986
  {
15736
16987
  type: "error",
15737
16988
  inputs: [
15738
- { name: "operator", internalType: "address", type: "address" },
15739
- { 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" }
15740
16992
  ],
15741
- name: "Burn_NotOwnerOrApproved"
16993
+ name: "ERC20InsufficientBalance"
15742
16994
  },
15743
16995
  {
15744
16996
  type: "error",
15745
- inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
15746
- name: "CallFailed"
16997
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
16998
+ name: "ERC20InvalidApprover"
15747
16999
  },
15748
- { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
15749
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
15750
17000
  {
15751
17001
  type: "error",
15752
- inputs: [
15753
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15754
- { name: "quantity", internalType: "uint256", type: "uint256" },
15755
- { name: "totalMinted", internalType: "uint256", type: "uint256" },
15756
- { name: "maxSupply", internalType: "uint256", type: "uint256" }
15757
- ],
15758
- name: "CannotMintMoreTokens"
17002
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17003
+ name: "ERC20InvalidReceiver"
15759
17004
  },
15760
17005
  {
15761
17006
  type: "error",
15762
- inputs: [
15763
- { name: "proposedAddress", internalType: "address", type: "address" }
15764
- ],
15765
- name: "Config_TransferHookNotSupported"
17007
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
17008
+ name: "ERC20InvalidSender"
15766
17009
  },
15767
- { type: "error", inputs: [], name: "Create2EmptyBytecode" },
15768
- { type: "error", inputs: [], name: "Create2FailedDeployment" },
15769
17010
  {
15770
17011
  type: "error",
15771
- inputs: [
15772
- { name: "balance", internalType: "uint256", type: "uint256" },
15773
- { name: "needed", internalType: "uint256", type: "uint256" }
15774
- ],
15775
- name: "Create2InsufficientBalance"
17012
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
17013
+ name: "ERC20InvalidSpender"
15776
17014
  },
15777
- { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
15778
- { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
15779
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
17015
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
15780
17016
  {
15781
17017
  type: "error",
15782
- inputs: [
15783
- { name: "implementation", internalType: "address", type: "address" }
15784
- ],
15785
- name: "ERC1967InvalidImplementation"
17018
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17019
+ name: "ERC2612ExpiredSignature"
15786
17020
  },
15787
- { type: "error", inputs: [], name: "ERC1967NonPayable" },
15788
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15789
- { type: "error", inputs: [], name: "ETHTransferFailed" },
15790
17021
  {
15791
17022
  type: "error",
15792
17023
  inputs: [
15793
- { name: "recipient", internalType: "address", type: "address" },
15794
- { name: "amount", internalType: "uint256", type: "uint256" }
17024
+ { name: "signer", internalType: "address", type: "address" },
17025
+ { name: "owner", internalType: "address", type: "address" }
15795
17026
  ],
15796
- name: "ETHWithdrawFailed"
17027
+ name: "ERC2612InvalidSigner"
15797
17028
  },
15798
- { type: "error", inputs: [], name: "FailedInnerCall" },
15799
- { 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" },
15800
17036
  {
15801
17037
  type: "error",
15802
17038
  inputs: [
15803
- { name: "amount", internalType: "uint256", type: "uint256" },
15804
- { name: "contractValue", internalType: "uint256", type: "uint256" }
17039
+ { name: "account", internalType: "address", type: "address" },
17040
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
15805
17041
  ],
15806
- name: "FundsWithdrawInsolvent"
17042
+ name: "InvalidAccountNonce"
15807
17043
  },
15808
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
15809
- { type: "error", inputs: [], name: "InvalidAdminAction" },
17044
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
15810
17045
  { type: "error", inputs: [], name: "InvalidInitialization" },
17046
+ { type: "error", inputs: [], name: "InvalidMarketType" },
17047
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
15811
17048
  {
15812
17049
  type: "error",
15813
17050
  inputs: [
15814
- { name: "mintTo", internalType: "address", type: "address" },
15815
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
15816
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
17051
+ { name: "tickLower", internalType: "int24", type: "int24" },
17052
+ { name: "tickUpper", internalType: "int24", type: "int24" }
15817
17053
  ],
15818
- name: "InvalidMerkleProof"
15819
- },
15820
- { type: "error", inputs: [], name: "InvalidMintSchedule" },
15821
- { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
15822
- { type: "error", inputs: [], name: "InvalidPremintVersion" },
15823
- { type: "error", inputs: [], name: "InvalidRecipient" },
15824
- { type: "error", inputs: [], name: "InvalidSignature" },
15825
- { type: "error", inputs: [], name: "InvalidSignatureVersion" },
15826
- {
15827
- type: "error",
15828
- inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
15829
- name: "InvalidSigner"
17054
+ name: "InvalidTickRangeMisordered"
15830
17055
  },
15831
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
15832
- { type: "error", inputs: [], name: "MintNotYetStarted" },
15833
- { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
15834
- { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
15835
- { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
15836
- { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
15837
- { type: "error", inputs: [], name: "Mint_UnknownCommand" },
15838
- { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
15839
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
15840
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
15841
- { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
15842
- { type: "error", inputs: [], name: "NoTokensTransferred" },
15843
- { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
15844
- { 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" },
15845
17060
  {
15846
17061
  type: "error",
15847
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
15848
- name: "NotARedeemHandler"
17062
+ inputs: [
17063
+ { name: "value", internalType: "uint256", type: "uint256" },
17064
+ { name: "limit", internalType: "uint256", type: "uint256" }
17065
+ ],
17066
+ name: "MaxShareToBeSoldExceeded"
15849
17067
  },
17068
+ { type: "error", inputs: [], name: "NameIsRequired" },
15850
17069
  { type: "error", inputs: [], name: "NotInitializing" },
15851
- { type: "error", inputs: [], name: "NotSelfCall" },
15852
- { type: "error", inputs: [], name: "NotZoraSparks1155" },
15853
- { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
15854
- {
15855
- type: "error",
15856
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
15857
- name: "OwnableInvalidOwner"
15858
- },
15859
- {
15860
- type: "error",
15861
- inputs: [{ name: "account", internalType: "address", type: "address" }],
15862
- name: "OwnableUnauthorizedAccount"
15863
- },
15864
- { type: "error", inputs: [], name: "PremintDeleted" },
15865
- { 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" },
15866
17074
  {
15867
17075
  type: "error",
15868
17076
  inputs: [
15869
- { name: "caller", internalType: "address", type: "address" },
15870
- { name: "recipient", internalType: "address", type: "address" },
15871
- { name: "amount", internalType: "uint256", type: "uint256" }
17077
+ { name: "sender", internalType: "address", type: "address" },
17078
+ { name: "pool", internalType: "address", type: "address" }
15872
17079
  ],
15873
- name: "ProtocolRewardsWithdrawFailed"
17080
+ name: "OnlyPool"
15874
17081
  },
15875
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
15876
- { 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" },
15877
17090
  {
15878
17091
  type: "error",
15879
- inputs: [{ name: "token", internalType: "address", type: "address" }],
15880
- name: "SafeERC20FailedOperation"
17092
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
17093
+ name: "InvalidCallbackId"
15881
17094
  },
15882
- { type: "error", inputs: [], name: "SaleEnded" },
15883
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
15884
17095
  {
15885
17096
  type: "error",
15886
- inputs: [
15887
- { name: "targetContract", internalType: "address", type: "address" }
15888
- ],
15889
- name: "Sale_CannotCallNonSalesContract"
17097
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
17098
+ name: "InvalidNewHook"
15890
17099
  },
15891
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15892
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
15893
17100
  {
15894
17101
  type: "error",
15895
17102
  inputs: [
15896
- { name: "expected", internalType: "uint256", type: "uint256" },
15897
- { name: "actual", internalType: "uint256", type: "uint256" }
17103
+ { name: "tickLower", internalType: "int24", type: "int24" },
17104
+ { name: "tickUpper", internalType: "int24", type: "int24" }
15898
17105
  ],
15899
- name: "TokenIdMismatch"
17106
+ name: "InvalidTickRangeMisordered"
15900
17107
  },
15901
17108
  {
15902
17109
  type: "error",
15903
17110
  inputs: [
15904
- { name: "storedTokenAddress", internalType: "address", type: "address" },
15905
17111
  {
15906
- name: "expectedTokenAddress",
15907
- internalType: "address",
15908
- 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
+ ]
15909
17122
  }
15910
17123
  ],
15911
- name: "TokenMismatch"
17124
+ name: "NoCoinForHook"
15912
17125
  },
15913
- { type: "error", inputs: [], name: "TokenNotMintable" },
15914
- { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
15915
17126
  {
15916
17127
  type: "error",
15917
- inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
15918
- name: "UUPSUnsupportedProxiableUUID"
17128
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
17129
+ name: "NotACoin"
15919
17130
  },
17131
+ { type: "error", inputs: [], name: "NotPoolManager" },
15920
17132
  {
15921
17133
  type: "error",
15922
- inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
15923
- name: "UnknownUserAction"
17134
+ inputs: [
17135
+ { name: "caller", internalType: "address", type: "address" },
17136
+ { name: "expectedCoin", internalType: "address", type: "address" }
17137
+ ],
17138
+ name: "OnlyCoin"
15924
17139
  },
17140
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17141
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
15925
17142
  {
15926
17143
  type: "error",
15927
- inputs: [
15928
- { name: "expected", internalType: "string", type: "string" },
15929
- { name: "actual", internalType: "string", type: "string" }
15930
- ],
15931
- name: "UpgradeToMismatchedContractName"
17144
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17145
+ name: "SafeERC20FailedOperation"
15932
17146
  },
15933
17147
  {
15934
17148
  type: "error",
15935
- inputs: [
15936
- { name: "user", internalType: "address", type: "address" },
15937
- { name: "limit", internalType: "uint256", type: "uint256" },
15938
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
15939
- ],
15940
- name: "UserExceedsMintLimit"
17149
+ inputs: [],
17150
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
15941
17151
  },
17152
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
15942
17153
  {
15943
17154
  type: "error",
15944
17155
  inputs: [
15945
- { name: "user", internalType: "address", type: "address" },
15946
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15947
- { name: "role", internalType: "uint256", type: "uint256" }
17156
+ { name: "oldHook", internalType: "address", type: "address" },
17157
+ { name: "newHook", internalType: "address", type: "address" }
15948
17158
  ],
15949
- name: "UserMissingRoleForToken"
17159
+ name: "UpgradePathNotRegistered"
15950
17160
  },
15951
- { type: "error", inputs: [], name: "WrongValueSent" },
15952
17161
  {
15953
17162
  type: "error",
15954
- inputs: [],
15955
- name: "premintSignerContractFailedToRecoverSigner"
17163
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
17164
+ name: "AccessManagedInvalidAuthority"
15956
17165
  },
15957
- { 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" }
15958
17197
  ];
15959
- var zoraMintsManagerImplAddress = {
15960
- 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
15961
- 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
17198
+ var zoraRouterAddress = {
17199
+ 8453: "0xc5d3739fb77046c75f418b746296327A1a90cc55"
15962
17200
  };
15963
- var zoraMintsManagerImplConfig = {
15964
- address: zoraMintsManagerImplAddress,
15965
- abi: zoraMintsManagerImplABI
17201
+ var zoraRouterConfig = {
17202
+ address: zoraRouterAddress,
17203
+ abi: zoraRouterABI
15966
17204
  };
15967
17205
  var zoraSparks1155ABI = [
15968
17206
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
@@ -18883,6 +20121,20 @@ var chainConfigs2 = {
18883
20121
  PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
18884
20122
  ZORA_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
18885
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"
18886
20138
  }
18887
20139
  };
18888
20140
  var addresses2 = {
@@ -19024,9 +20276,6 @@ export {
19024
20276
  uniswapQuoterV2ABI,
19025
20277
  uniswapQuoterV2Address,
19026
20278
  uniswapQuoterV2Config,
19027
- uniswapUniversalRouterABI,
19028
- uniswapUniversalRouterAddress,
19029
- uniswapUniversalRouterConfig,
19030
20279
  uniswapV3SwapRouterABI,
19031
20280
  uniswapV3SwapRouterAddress,
19032
20281
  uniswapV3SwapRouterConfig,
@@ -19055,12 +20304,18 @@ export {
19055
20304
  zoraCreatorRedeemMinterFactoryABI,
19056
20305
  zoraCreatorRedeemMinterFactoryAddress,
19057
20306
  zoraCreatorRedeemMinterFactoryConfig,
20307
+ zoraLimitOrderBookABI,
20308
+ zoraLimitOrderBookAddress,
20309
+ zoraLimitOrderBookConfig,
19058
20310
  zoraMints1155ABI,
19059
20311
  zoraMints1155Address,
19060
20312
  zoraMints1155Config,
19061
20313
  zoraMintsManagerImplABI,
19062
20314
  zoraMintsManagerImplAddress,
19063
20315
  zoraMintsManagerImplConfig,
20316
+ zoraRouterABI,
20317
+ zoraRouterAddress,
20318
+ zoraRouterConfig,
19064
20319
  zoraSparks1155ABI,
19065
20320
  zoraSparks1155Address,
19066
20321
  zoraSparks1155Config,