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