@zoralabs/protocol-deployments 0.6.5-PRE.2 → 0.6.5

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