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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2207,9 +2207,6 @@ __export(index_exports, {
2207
2207
  uniswapQuoterV2ABI: () => uniswapQuoterV2ABI,
2208
2208
  uniswapQuoterV2Address: () => uniswapQuoterV2Address,
2209
2209
  uniswapQuoterV2Config: () => uniswapQuoterV2Config,
2210
- uniswapUniversalRouterABI: () => uniswapUniversalRouterABI,
2211
- uniswapUniversalRouterAddress: () => uniswapUniversalRouterAddress,
2212
- uniswapUniversalRouterConfig: () => uniswapUniversalRouterConfig,
2213
2210
  uniswapV3SwapRouterABI: () => uniswapV3SwapRouterABI,
2214
2211
  uniswapV3SwapRouterAddress: () => uniswapV3SwapRouterAddress,
2215
2212
  uniswapV3SwapRouterConfig: () => uniswapV3SwapRouterConfig,
@@ -2238,12 +2235,18 @@ __export(index_exports, {
2238
2235
  zoraCreatorRedeemMinterFactoryABI: () => zoraCreatorRedeemMinterFactoryABI,
2239
2236
  zoraCreatorRedeemMinterFactoryAddress: () => zoraCreatorRedeemMinterFactoryAddress,
2240
2237
  zoraCreatorRedeemMinterFactoryConfig: () => zoraCreatorRedeemMinterFactoryConfig,
2238
+ zoraLimitOrderBookABI: () => zoraLimitOrderBookABI,
2239
+ zoraLimitOrderBookAddress: () => zoraLimitOrderBookAddress,
2240
+ zoraLimitOrderBookConfig: () => zoraLimitOrderBookConfig,
2241
2241
  zoraMints1155ABI: () => zoraMints1155ABI,
2242
2242
  zoraMints1155Address: () => zoraMints1155Address,
2243
2243
  zoraMints1155Config: () => zoraMints1155Config,
2244
2244
  zoraMintsManagerImplABI: () => zoraMintsManagerImplABI,
2245
2245
  zoraMintsManagerImplAddress: () => zoraMintsManagerImplAddress,
2246
2246
  zoraMintsManagerImplConfig: () => zoraMintsManagerImplConfig,
2247
+ zoraRouterABI: () => zoraRouterABI,
2248
+ zoraRouterAddress: () => zoraRouterAddress,
2249
+ zoraRouterConfig: () => zoraRouterConfig,
2247
2250
  zoraSparks1155ABI: () => zoraSparks1155ABI,
2248
2251
  zoraSparks1155Address: () => zoraSparks1155Address,
2249
2252
  zoraSparks1155Config: () => zoraSparks1155Config,
@@ -2524,18 +2527,7 @@ var buySupplyWithSwapRouterHookABI = [
2524
2527
  ],
2525
2528
  name: "BuyInitialSupply"
2526
2529
  },
2527
- {
2528
- type: "error",
2529
- inputs: [{ name: "target", internalType: "address", type: "address" }],
2530
- name: "AddressEmptyCode"
2531
- },
2532
- {
2533
- type: "error",
2534
- inputs: [{ name: "account", internalType: "address", type: "address" }],
2535
- name: "AddressInsufficientBalance"
2536
- },
2537
2530
  { type: "error", inputs: [], name: "AddressZero" },
2538
- { type: "error", inputs: [], name: "FailedInnerCall" },
2539
2531
  { type: "error", inputs: [], name: "HookNotImplemented" },
2540
2532
  {
2541
2533
  type: "error",
@@ -2553,7 +2545,6 @@ var buySupplyWithSwapRouterHookABI = [
2553
2545
  inputs: [{ name: "token", internalType: "address", type: "address" }],
2554
2546
  name: "SafeERC20FailedOperation"
2555
2547
  },
2556
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
2557
2548
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
2558
2549
  ];
2559
2550
  var buySupplyWithSwapRouterHookAddress = {
@@ -5220,7 +5211,6 @@ var coinFactoryABI = [
5220
5211
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
5221
5212
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
5222
5213
  { type: "error", inputs: [], name: "Deprecated" },
5223
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
5224
5214
  {
5225
5215
  type: "error",
5226
5216
  inputs: [
@@ -5230,7 +5220,16 @@ var coinFactoryABI = [
5230
5220
  },
5231
5221
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
5232
5222
  { type: "error", inputs: [], name: "EthTransferInvalid" },
5233
- { type: "error", inputs: [], name: "FailedInnerCall" },
5223
+ { type: "error", inputs: [], name: "FailedCall" },
5224
+ { type: "error", inputs: [], name: "FailedDeployment" },
5225
+ {
5226
+ type: "error",
5227
+ inputs: [
5228
+ { name: "balance", internalType: "uint256", type: "uint256" },
5229
+ { name: "needed", internalType: "uint256", type: "uint256" }
5230
+ ],
5231
+ name: "InsufficientBalance"
5232
+ },
5234
5233
  { type: "error", inputs: [], name: "InvalidConfig" },
5235
5234
  { type: "error", inputs: [], name: "InvalidHook" },
5236
5235
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -5280,18 +5279,7 @@ var coinFactoryABI = [
5280
5279
  },
5281
5280
  { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
5282
5281
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
5283
- {
5284
- type: "error",
5285
- inputs: [{ name: "target", internalType: "address", type: "address" }],
5286
- name: "AddressEmptyCode"
5287
- },
5288
- {
5289
- type: "error",
5290
- inputs: [{ name: "account", internalType: "address", type: "address" }],
5291
- name: "AddressInsufficientBalance"
5292
- },
5293
5282
  { type: "error", inputs: [], name: "AddressZero" },
5294
- { type: "error", inputs: [], name: "FailedInnerCall" },
5295
5283
  { type: "error", inputs: [], name: "HookNotImplemented" },
5296
5284
  {
5297
5285
  type: "error",
@@ -5309,7 +5297,6 @@ var coinFactoryABI = [
5309
5297
  inputs: [{ name: "token", internalType: "address", type: "address" }],
5310
5298
  name: "SafeERC20FailedOperation"
5311
5299
  },
5312
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
5313
5300
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
5314
5301
  { type: "error", inputs: [], name: "AddressZero" },
5315
5302
  { type: "error", inputs: [], name: "AlreadyOwner" },
@@ -5438,7 +5425,118 @@ var coinFactoryABI = [
5438
5425
  { type: "error", inputs: [], name: "OnlyWeth" },
5439
5426
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
5440
5427
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
5441
- { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
5428
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
5429
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
5430
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
5431
+ { type: "error", inputs: [], name: "EthTransferFailed" },
5432
+ { type: "error", inputs: [], name: "HookNotImplemented" },
5433
+ {
5434
+ type: "error",
5435
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
5436
+ name: "InvalidCallbackId"
5437
+ },
5438
+ {
5439
+ type: "error",
5440
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
5441
+ name: "InvalidNewHook"
5442
+ },
5443
+ {
5444
+ type: "error",
5445
+ inputs: [
5446
+ { name: "tickLower", internalType: "int24", type: "int24" },
5447
+ { name: "tickUpper", internalType: "int24", type: "int24" }
5448
+ ],
5449
+ name: "InvalidTickRangeMisordered"
5450
+ },
5451
+ {
5452
+ type: "error",
5453
+ inputs: [
5454
+ {
5455
+ name: "key",
5456
+ internalType: "struct PoolKey",
5457
+ type: "tuple",
5458
+ components: [
5459
+ { name: "currency0", internalType: "Currency", type: "address" },
5460
+ { name: "currency1", internalType: "Currency", type: "address" },
5461
+ { name: "fee", internalType: "uint24", type: "uint24" },
5462
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5463
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5464
+ ]
5465
+ }
5466
+ ],
5467
+ name: "NoCoinForHook"
5468
+ },
5469
+ {
5470
+ type: "error",
5471
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
5472
+ name: "NotACoin"
5473
+ },
5474
+ { type: "error", inputs: [], name: "NotPoolManager" },
5475
+ {
5476
+ type: "error",
5477
+ inputs: [
5478
+ { name: "caller", internalType: "address", type: "address" },
5479
+ { name: "expectedCoin", internalType: "address", type: "address" }
5480
+ ],
5481
+ name: "OnlyCoin"
5482
+ },
5483
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
5484
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
5485
+ {
5486
+ type: "error",
5487
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
5488
+ name: "SafeERC20FailedOperation"
5489
+ },
5490
+ {
5491
+ type: "error",
5492
+ inputs: [],
5493
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
5494
+ },
5495
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
5496
+ {
5497
+ type: "error",
5498
+ inputs: [
5499
+ { name: "oldHook", internalType: "address", type: "address" },
5500
+ { name: "newHook", internalType: "address", type: "address" }
5501
+ ],
5502
+ name: "UpgradePathNotRegistered"
5503
+ },
5504
+ {
5505
+ type: "error",
5506
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
5507
+ name: "AccessManagedInvalidAuthority"
5508
+ },
5509
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
5510
+ { type: "error", inputs: [], name: "AddressZero" },
5511
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
5512
+ { type: "error", inputs: [], name: "InsufficientBalance" },
5513
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
5514
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
5515
+ {
5516
+ type: "error",
5517
+ inputs: [
5518
+ { name: "startTick", internalType: "int24", type: "int24" },
5519
+ { name: "endTick", internalType: "int24", type: "int24" },
5520
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
5521
+ ],
5522
+ name: "InvalidFillWindow"
5523
+ },
5524
+ { type: "error", inputs: [], name: "InvalidOrder" },
5525
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
5526
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
5527
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
5528
+ { type: "error", inputs: [], name: "NotPoolManager" },
5529
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
5530
+ { type: "error", inputs: [], name: "OrderClosed" },
5531
+ { type: "error", inputs: [], name: "OrderNotMaker" },
5532
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
5533
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
5534
+ { type: "error", inputs: [], name: "UnknownCallback" },
5535
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
5536
+ { type: "error", inputs: [], name: "ZeroMaker" },
5537
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
5538
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
5539
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
5442
5540
  ];
5443
5541
  var coinFactoryAddress = {
5444
5542
  8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
@@ -11941,39 +12039,6 @@ var uniswapQuoterV2Config = {
11941
12039
  address: uniswapQuoterV2Address,
11942
12040
  abi: uniswapQuoterV2ABI
11943
12041
  };
11944
- var uniswapUniversalRouterABI = [
11945
- {
11946
- type: "function",
11947
- inputs: [
11948
- { name: "commands", internalType: "bytes", type: "bytes" },
11949
- { name: "inputs", internalType: "bytes[]", type: "bytes[]" },
11950
- { name: "deadline", internalType: "uint256", type: "uint256" }
11951
- ],
11952
- name: "execute",
11953
- outputs: [],
11954
- stateMutability: "payable"
11955
- },
11956
- { type: "error", inputs: [], name: "ETHNotAccepted" },
11957
- {
11958
- type: "error",
11959
- inputs: [
11960
- { name: "commandIndex", internalType: "uint256", type: "uint256" },
11961
- { name: "message", internalType: "bytes", type: "bytes" }
11962
- ],
11963
- name: "ExecutionFailed"
11964
- },
11965
- { type: "error", inputs: [], name: "InvalidEthSender" },
11966
- { type: "error", inputs: [], name: "LengthMismatch" },
11967
- { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
11968
- ];
11969
- var uniswapUniversalRouterAddress = {
11970
- 8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
11971
- 84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
11972
- };
11973
- var uniswapUniversalRouterConfig = {
11974
- address: uniswapUniversalRouterAddress,
11975
- abi: uniswapUniversalRouterABI
11976
- };
11977
12042
  var uniswapV3SwapRouterABI = [
11978
12043
  {
11979
12044
  type: "function",
@@ -16544,43 +16609,22 @@ var zoraCreatorRedeemMinterFactoryConfig = {
16544
16609
  address: zoraCreatorRedeemMinterFactoryAddress,
16545
16610
  abi: zoraCreatorRedeemMinterFactoryABI
16546
16611
  };
16547
- var zoraMints1155ABI = [
16548
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
16549
- {
16550
- type: "function",
16551
- inputs: [],
16552
- name: "ETH_ADDRESS",
16553
- outputs: [{ name: "", internalType: "address", type: "address" }],
16554
- stateMutability: "view"
16555
- },
16556
- {
16557
- type: "function",
16558
- inputs: [],
16559
- name: "MINIMUM_ERC20_PRICE",
16560
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16561
- stateMutability: "view"
16562
- },
16563
- {
16564
- type: "function",
16565
- inputs: [],
16566
- name: "MINIMUM_ETH_PRICE",
16567
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16568
- stateMutability: "view"
16569
- },
16612
+ var zoraLimitOrderBookABI = [
16570
16613
  {
16571
- type: "function",
16572
- inputs: [],
16573
- name: "NAME",
16574
- outputs: [{ name: "", internalType: "string", type: "string" }],
16575
- stateMutability: "view"
16576
- },
16577
- {
16578
- type: "function",
16579
- inputs: [],
16580
- name: "VERSION",
16581
- outputs: [{ name: "", internalType: "string", type: "string" }],
16582
- stateMutability: "view"
16614
+ type: "constructor",
16615
+ inputs: [
16616
+ { name: "poolManager_", internalType: "address", type: "address" },
16617
+ {
16618
+ name: "zoraCoinVersionLookup_",
16619
+ internalType: "address",
16620
+ type: "address"
16621
+ },
16622
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" },
16623
+ { name: "authority_", internalType: "address", type: "address" }
16624
+ ],
16625
+ stateMutability: "nonpayable"
16583
16626
  },
16627
+ { type: "receive", stateMutability: "payable" },
16584
16628
  {
16585
16629
  type: "function",
16586
16630
  inputs: [],
@@ -16591,677 +16635,473 @@ var zoraMints1155ABI = [
16591
16635
  {
16592
16636
  type: "function",
16593
16637
  inputs: [
16594
- { name: "account", internalType: "address", type: "address" },
16595
- { name: "id", internalType: "uint256", type: "uint256" }
16638
+ { name: "maker", internalType: "address", type: "address" },
16639
+ { name: "coin", internalType: "address", type: "address" }
16596
16640
  ],
16597
16641
  name: "balanceOf",
16598
16642
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16599
16643
  stateMutability: "view"
16600
16644
  },
16601
- {
16602
- type: "function",
16603
- inputs: [{ name: "account", internalType: "address", type: "address" }],
16604
- name: "balanceOfAccount",
16605
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16606
- stateMutability: "view"
16607
- },
16608
16645
  {
16609
16646
  type: "function",
16610
16647
  inputs: [
16611
- { name: "accounts", internalType: "address[]", type: "address[]" },
16612
- { name: "ids", internalType: "uint256[]", type: "uint256[]" }
16648
+ {
16649
+ name: "key",
16650
+ internalType: "struct PoolKey",
16651
+ type: "tuple",
16652
+ components: [
16653
+ { name: "currency0", internalType: "Currency", type: "address" },
16654
+ { name: "currency1", internalType: "Currency", type: "address" },
16655
+ { name: "fee", internalType: "uint24", type: "uint24" },
16656
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
16657
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
16658
+ ]
16659
+ },
16660
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
16661
+ { name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
16662
+ { name: "orderTicks", internalType: "int24[]", type: "int24[]" },
16663
+ { name: "maker", internalType: "address", type: "address" }
16613
16664
  ],
16614
- name: "balanceOfBatch",
16615
- outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
16616
- stateMutability: "view"
16617
- },
16618
- {
16619
- type: "function",
16620
- inputs: [],
16621
- name: "contractURI",
16622
- outputs: [{ name: "", internalType: "string", type: "string" }],
16623
- stateMutability: "view"
16665
+ name: "create",
16666
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
16667
+ stateMutability: "payable"
16624
16668
  },
16625
16669
  {
16626
16670
  type: "function",
16627
16671
  inputs: [
16628
- { name: "tokenId", internalType: "uint256", type: "uint256" },
16629
16672
  {
16630
- name: "tokenConfig",
16631
- internalType: "struct TokenConfig",
16673
+ name: "key",
16674
+ internalType: "struct PoolKey",
16632
16675
  type: "tuple",
16633
16676
  components: [
16634
- { name: "price", internalType: "uint256", type: "uint256" },
16635
- { name: "tokenAddress", internalType: "address", type: "address" },
16636
- { name: "redeemHandler", internalType: "address", type: "address" }
16677
+ { name: "currency0", internalType: "Currency", type: "address" },
16678
+ { name: "currency1", internalType: "Currency", type: "address" },
16679
+ { name: "fee", internalType: "uint24", type: "uint24" },
16680
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
16681
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
16637
16682
  ]
16638
- }
16683
+ },
16684
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
16685
+ { name: "startTick", internalType: "int24", type: "int24" },
16686
+ { name: "endTick", internalType: "int24", type: "int24" },
16687
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" },
16688
+ { name: "fillReferral", internalType: "address", type: "address" }
16639
16689
  ],
16640
- name: "createToken",
16690
+ name: "fill",
16641
16691
  outputs: [],
16642
16692
  stateMutability: "nonpayable"
16643
16693
  },
16644
16694
  {
16645
16695
  type: "function",
16646
- inputs: [],
16647
- name: "eip712Domain",
16648
- outputs: [
16649
- { name: "fields", internalType: "bytes1", type: "bytes1" },
16650
- { name: "name", internalType: "string", type: "string" },
16651
- { name: "version", internalType: "string", type: "string" },
16652
- { name: "chainId", internalType: "uint256", type: "uint256" },
16653
- { name: "verifyingContract", internalType: "address", type: "address" },
16654
- { name: "salt", internalType: "bytes32", type: "bytes32" },
16655
- { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
16696
+ inputs: [
16697
+ {
16698
+ name: "batches",
16699
+ internalType: "struct IZoraLimitOrderBook.OrderBatch[]",
16700
+ type: "tuple[]",
16701
+ components: [
16702
+ {
16703
+ name: "key",
16704
+ internalType: "struct PoolKey",
16705
+ type: "tuple",
16706
+ components: [
16707
+ { name: "currency0", internalType: "Currency", type: "address" },
16708
+ { name: "currency1", internalType: "Currency", type: "address" },
16709
+ { name: "fee", internalType: "uint24", type: "uint24" },
16710
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
16711
+ {
16712
+ name: "hooks",
16713
+ internalType: "contract IHooks",
16714
+ type: "address"
16715
+ }
16716
+ ]
16717
+ },
16718
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
16719
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
16720
+ ]
16721
+ },
16722
+ { name: "fillReferral", internalType: "address", type: "address" }
16656
16723
  ],
16657
- stateMutability: "view"
16724
+ name: "fill",
16725
+ outputs: [],
16726
+ stateMutability: "nonpayable"
16658
16727
  },
16659
16728
  {
16660
16729
  type: "function",
16661
16730
  inputs: [],
16662
- name: "getManager",
16663
- outputs: [{ name: "", internalType: "address", type: "address" }],
16731
+ name: "getMaxFillCount",
16732
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16664
16733
  stateMutability: "view"
16665
16734
  },
16666
16735
  {
16667
16736
  type: "function",
16668
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
16669
- name: "getTokenConfig",
16737
+ inputs: [],
16738
+ name: "poolManager",
16670
16739
  outputs: [
16671
- {
16672
- name: "",
16673
- internalType: "struct TokenConfig",
16674
- type: "tuple",
16675
- components: [
16676
- { name: "price", internalType: "uint256", type: "uint256" },
16677
- { name: "tokenAddress", internalType: "address", type: "address" },
16678
- { name: "redeemHandler", internalType: "address", type: "address" }
16679
- ]
16680
- }
16740
+ { name: "", internalType: "contract IPoolManager", type: "address" }
16681
16741
  ],
16682
16742
  stateMutability: "view"
16683
16743
  },
16684
16744
  {
16685
16745
  type: "function",
16686
16746
  inputs: [
16687
- {
16688
- name: "permit",
16689
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
16690
- type: "tuple",
16691
- components: [
16692
- { name: "owner", internalType: "address", type: "address" },
16693
- { name: "to", internalType: "address", type: "address" },
16694
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
16695
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
16696
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
16697
- { name: "deadline", internalType: "uint256", type: "uint256" },
16698
- { name: "nonce", internalType: "uint256", type: "uint256" }
16699
- ]
16700
- }
16701
- ],
16702
- name: "hashPermitBatch",
16703
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
16704
- stateMutability: "view"
16705
- },
16706
- {
16707
- type: "function",
16708
- inputs: [
16709
- {
16710
- name: "permit",
16711
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
16712
- type: "tuple",
16713
- components: [
16714
- { name: "owner", internalType: "address", type: "address" },
16715
- { name: "to", internalType: "address", type: "address" },
16716
- { name: "tokenId", internalType: "uint256", type: "uint256" },
16717
- { name: "quantity", internalType: "uint256", type: "uint256" },
16718
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
16719
- { name: "deadline", internalType: "uint256", type: "uint256" },
16720
- { name: "nonce", internalType: "uint256", type: "uint256" }
16721
- ]
16722
- }
16723
- ],
16724
- name: "hashPermitSingle",
16725
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
16726
- stateMutability: "view"
16727
- },
16728
- {
16729
- type: "function",
16730
- inputs: [
16731
- { name: "account", internalType: "address", type: "address" },
16732
- { name: "operator", internalType: "address", type: "address" }
16747
+ { name: "newAuthority", internalType: "address", type: "address" }
16733
16748
  ],
16734
- name: "isApprovedForAll",
16735
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
16736
- stateMutability: "view"
16737
- },
16738
- {
16739
- type: "function",
16740
- inputs: [],
16741
- name: "isConsumingScheduledOp",
16742
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
16743
- stateMutability: "view"
16749
+ name: "setAuthority",
16750
+ outputs: [],
16751
+ stateMutability: "nonpayable"
16744
16752
  },
16745
16753
  {
16746
16754
  type: "function",
16747
16755
  inputs: [
16748
- {
16749
- name: "permit",
16750
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
16751
- type: "tuple",
16752
- components: [
16753
- { name: "owner", internalType: "address", type: "address" },
16754
- { name: "to", internalType: "address", type: "address" },
16755
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
16756
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
16757
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
16758
- { name: "deadline", internalType: "uint256", type: "uint256" },
16759
- { name: "nonce", internalType: "uint256", type: "uint256" }
16760
- ]
16761
- },
16762
- { name: "signature", internalType: "bytes", type: "bytes" }
16756
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" }
16763
16757
  ],
16764
- name: "isValidSignatureTransferBatch",
16765
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
16766
- stateMutability: "view"
16758
+ name: "setMaxFillCount",
16759
+ outputs: [],
16760
+ stateMutability: "nonpayable"
16767
16761
  },
16768
16762
  {
16769
16763
  type: "function",
16770
- inputs: [
16771
- {
16772
- name: "permit",
16773
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
16774
- type: "tuple",
16775
- components: [
16776
- { name: "owner", internalType: "address", type: "address" },
16777
- { name: "to", internalType: "address", type: "address" },
16778
- { name: "tokenId", internalType: "uint256", type: "uint256" },
16779
- { name: "quantity", internalType: "uint256", type: "uint256" },
16780
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
16781
- { name: "deadline", internalType: "uint256", type: "uint256" },
16782
- { name: "nonce", internalType: "uint256", type: "uint256" }
16783
- ]
16784
- },
16785
- { name: "signature", internalType: "bytes", type: "bytes" }
16786
- ],
16787
- name: "isValidSignatureTransferSingle",
16788
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
16789
- stateMutability: "view"
16764
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
16765
+ name: "unlockCallback",
16766
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
16767
+ stateMutability: "nonpayable"
16790
16768
  },
16791
16769
  {
16792
16770
  type: "function",
16793
16771
  inputs: [
16794
- { name: "tokenId", internalType: "uint256", type: "uint256" },
16795
- { name: "tokenAddress", internalType: "address", type: "address" },
16796
- { name: "quantity", internalType: "uint256", type: "uint256" },
16797
- { name: "recipient", internalType: "address", type: "address" },
16798
- { name: "data", internalType: "bytes", type: "bytes" }
16772
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
16773
+ { name: "recipient", internalType: "address", type: "address" }
16799
16774
  ],
16800
- name: "mintTokenWithERC20",
16775
+ name: "withdraw",
16801
16776
  outputs: [],
16802
16777
  stateMutability: "nonpayable"
16803
16778
  },
16804
16779
  {
16805
16780
  type: "function",
16806
16781
  inputs: [
16807
- { name: "tokenId", internalType: "uint256", type: "uint256" },
16808
- { name: "quantity", internalType: "uint256", type: "uint256" },
16809
- { name: "recipient", internalType: "address", type: "address" },
16810
- { name: "data", internalType: "bytes", type: "bytes" }
16782
+ { name: "coin", internalType: "address", type: "address" },
16783
+ { name: "amount", internalType: "uint256", type: "uint256" },
16784
+ { name: "recipient", internalType: "address", type: "address" }
16811
16785
  ],
16812
- name: "mintTokenWithEth",
16786
+ name: "withdraw",
16813
16787
  outputs: [],
16814
- stateMutability: "payable"
16788
+ stateMutability: "nonpayable"
16815
16789
  },
16816
16790
  {
16817
16791
  type: "function",
16818
16792
  inputs: [],
16819
- name: "name",
16820
- outputs: [{ name: "", internalType: "string", type: "string" }],
16821
- stateMutability: "pure"
16822
- },
16823
- {
16824
- type: "function",
16825
- inputs: [
16826
- { name: "owner", internalType: "address", type: "address" },
16827
- { name: "nonce", internalType: "uint256", type: "uint256" }
16793
+ name: "zoraCoinVersionLookup",
16794
+ outputs: [
16795
+ {
16796
+ name: "",
16797
+ internalType: "contract IDeployedCoinVersionLookup",
16798
+ type: "address"
16799
+ }
16828
16800
  ],
16829
- name: "nonceUsed",
16830
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
16831
16801
  stateMutability: "view"
16832
16802
  },
16833
16803
  {
16834
16804
  type: "function",
16835
- inputs: [
16836
- { name: "newContractURI", internalType: "string", type: "string" },
16837
- { name: "newBaseURI", internalType: "string", type: "string" }
16805
+ inputs: [],
16806
+ name: "zoraHookRegistry",
16807
+ outputs: [
16808
+ { name: "", internalType: "contract IZoraHookRegistry", type: "address" }
16838
16809
  ],
16839
- name: "notifyURIsUpdated",
16840
- outputs: [],
16841
- stateMutability: "nonpayable"
16810
+ stateMutability: "view"
16842
16811
  },
16843
16812
  {
16844
- type: "function",
16813
+ type: "event",
16814
+ anonymous: false,
16845
16815
  inputs: [
16846
- { name: "newUri", internalType: "string", type: "string" },
16847
- { name: "tokenId", internalType: "uint256", type: "uint256" }
16816
+ {
16817
+ name: "authority",
16818
+ internalType: "address",
16819
+ type: "address",
16820
+ indexed: false
16821
+ }
16848
16822
  ],
16849
- name: "notifyUpdatedTokenURI",
16850
- outputs: [],
16851
- stateMutability: "nonpayable"
16823
+ name: "AuthorityUpdated"
16852
16824
  },
16853
16825
  {
16854
- type: "function",
16826
+ type: "event",
16827
+ anonymous: false,
16855
16828
  inputs: [
16856
16829
  {
16857
- name: "permit",
16858
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
16859
- type: "tuple",
16860
- components: [
16861
- { name: "owner", internalType: "address", type: "address" },
16862
- { name: "to", internalType: "address", type: "address" },
16863
- { name: "tokenId", internalType: "uint256", type: "uint256" },
16864
- { name: "quantity", internalType: "uint256", type: "uint256" },
16865
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
16866
- { name: "deadline", internalType: "uint256", type: "uint256" },
16867
- { name: "nonce", internalType: "uint256", type: "uint256" }
16868
- ]
16830
+ name: "maker",
16831
+ internalType: "address",
16832
+ type: "address",
16833
+ indexed: true
16869
16834
  },
16870
- { name: "signature", internalType: "bytes", type: "bytes" }
16871
- ],
16872
- name: "permitSafeTransfer",
16873
- outputs: [],
16874
- stateMutability: "nonpayable"
16875
- },
16876
- {
16877
- type: "function",
16878
- inputs: [
16835
+ { name: "coin", internalType: "address", type: "address", indexed: true },
16879
16836
  {
16880
- name: "permit",
16881
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
16882
- type: "tuple",
16883
- components: [
16884
- { name: "owner", internalType: "address", type: "address" },
16885
- { name: "to", internalType: "address", type: "address" },
16886
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
16887
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
16888
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
16889
- { name: "deadline", internalType: "uint256", type: "uint256" },
16890
- { name: "nonce", internalType: "uint256", type: "uint256" }
16891
- ]
16837
+ name: "poolKeyHash",
16838
+ internalType: "bytes32",
16839
+ type: "bytes32",
16840
+ indexed: false
16892
16841
  },
16893
- { name: "signature", internalType: "bytes", type: "bytes" }
16894
- ],
16895
- name: "permitSafeTransferBatch",
16896
- outputs: [],
16897
- stateMutability: "nonpayable"
16898
- },
16899
- {
16900
- type: "function",
16901
- inputs: [
16902
- { name: "tokenId", internalType: "uint256", type: "uint256" },
16903
- { name: "quantity", internalType: "uint256", type: "uint256" },
16904
- { name: "recipient", internalType: "address", type: "address" }
16905
- ],
16906
- name: "redeem",
16907
- outputs: [
16908
16842
  {
16909
- name: "",
16910
- internalType: "struct Redemption",
16911
- type: "tuple",
16912
- components: [
16913
- { name: "tokenAddress", internalType: "address", type: "address" },
16914
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
16915
- ]
16843
+ name: "isCurrency0",
16844
+ internalType: "bool",
16845
+ type: "bool",
16846
+ indexed: false
16847
+ },
16848
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
16849
+ {
16850
+ name: "orderSize",
16851
+ internalType: "uint128",
16852
+ type: "uint128",
16853
+ indexed: false
16854
+ },
16855
+ {
16856
+ name: "orderId",
16857
+ internalType: "bytes32",
16858
+ type: "bytes32",
16859
+ indexed: false
16916
16860
  }
16917
16861
  ],
16918
- stateMutability: "nonpayable"
16862
+ name: "LimitOrderCreated"
16919
16863
  },
16920
16864
  {
16921
- type: "function",
16865
+ type: "event",
16866
+ anonymous: false,
16922
16867
  inputs: [
16923
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
16924
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
16925
- { name: "recipient", internalType: "address", type: "address" }
16926
- ],
16927
- name: "redeemBatch",
16928
- outputs: [
16929
16868
  {
16930
- name: "redemptions",
16931
- internalType: "struct Redemption[]",
16932
- type: "tuple[]",
16933
- components: [
16934
- { name: "tokenAddress", internalType: "address", type: "address" },
16935
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
16936
- ]
16937
- }
16938
- ],
16939
- stateMutability: "nonpayable"
16940
- },
16941
- {
16942
- type: "function",
16943
- inputs: [
16944
- { name: "from", internalType: "address", type: "address" },
16945
- { name: "to", internalType: "address", type: "address" },
16946
- { name: "ids", internalType: "uint256[]", type: "uint256[]" },
16947
- { name: "values", internalType: "uint256[]", type: "uint256[]" },
16948
- { name: "data", internalType: "bytes", type: "bytes" }
16949
- ],
16950
- name: "safeBatchTransferFrom",
16951
- outputs: [],
16952
- stateMutability: "nonpayable"
16953
- },
16954
- {
16955
- type: "function",
16956
- inputs: [
16957
- { name: "from", internalType: "address", type: "address" },
16958
- { name: "to", internalType: "address", type: "address" },
16959
- { name: "id", internalType: "uint256", type: "uint256" },
16960
- { name: "value", internalType: "uint256", type: "uint256" },
16961
- { name: "data", internalType: "bytes", type: "bytes" }
16962
- ],
16963
- name: "safeTransferFrom",
16964
- outputs: [],
16965
- stateMutability: "nonpayable"
16966
- },
16967
- {
16968
- type: "function",
16969
- inputs: [
16970
- { name: "operator", internalType: "address", type: "address" },
16971
- { name: "approved", internalType: "bool", type: "bool" }
16972
- ],
16973
- name: "setApprovalForAll",
16974
- outputs: [],
16975
- stateMutability: "nonpayable"
16976
- },
16977
- {
16978
- type: "function",
16979
- inputs: [
16980
- { name: "newAuthority", internalType: "address", type: "address" }
16981
- ],
16982
- name: "setAuthority",
16983
- outputs: [],
16984
- stateMutability: "nonpayable"
16985
- },
16986
- {
16987
- type: "function",
16988
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
16989
- name: "supportsInterface",
16990
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
16991
- stateMutability: "view"
16992
- },
16993
- {
16994
- type: "function",
16995
- inputs: [],
16996
- name: "symbol",
16997
- outputs: [{ name: "", internalType: "string", type: "string" }],
16998
- stateMutability: "pure"
16999
- },
17000
- {
17001
- type: "function",
17002
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17003
- name: "tokenExists",
17004
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
17005
- stateMutability: "view"
17006
- },
17007
- {
17008
- type: "function",
17009
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17010
- name: "tokenPrice",
17011
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17012
- stateMutability: "view"
17013
- },
17014
- {
17015
- type: "function",
17016
- inputs: [
17017
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17018
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17019
- { name: "call", internalType: "bytes", type: "bytes" }
17020
- ],
17021
- name: "transferBatchToManagerAndCall",
17022
- outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
17023
- stateMutability: "payable"
17024
- },
17025
- {
17026
- type: "function",
17027
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17028
- name: "uri",
17029
- outputs: [{ name: "", internalType: "string", type: "string" }],
17030
- stateMutability: "view"
17031
- },
17032
- {
17033
- type: "event",
17034
- anonymous: false,
17035
- inputs: [
17036
- {
17037
- name: "account",
16869
+ name: "maker",
17038
16870
  internalType: "address",
17039
16871
  type: "address",
17040
16872
  indexed: true
17041
16873
  },
17042
16874
  {
17043
- name: "operator",
16875
+ name: "coinIn",
17044
16876
  internalType: "address",
17045
16877
  type: "address",
17046
16878
  indexed: true
17047
16879
  },
17048
- { name: "approved", internalType: "bool", type: "bool", indexed: false }
17049
- ],
17050
- name: "ApprovalForAll"
17051
- },
17052
- {
17053
- type: "event",
17054
- anonymous: false,
17055
- inputs: [
17056
16880
  {
17057
- name: "authority",
16881
+ name: "coinOut",
17058
16882
  internalType: "address",
17059
16883
  type: "address",
17060
16884
  indexed: false
17061
- }
17062
- ],
17063
- name: "AuthorityUpdated"
17064
- },
17065
- { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
17066
- { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
17067
- {
17068
- type: "event",
17069
- anonymous: false,
17070
- inputs: [
16885
+ },
17071
16886
  {
17072
- name: "tokenId",
17073
- internalType: "uint256",
17074
- type: "uint256",
17075
- indexed: true
16887
+ name: "amountIn",
16888
+ internalType: "uint128",
16889
+ type: "uint128",
16890
+ indexed: false
17076
16891
  },
17077
16892
  {
17078
- name: "price",
17079
- internalType: "uint256",
17080
- type: "uint256",
17081
- indexed: true
16893
+ name: "amountOut",
16894
+ internalType: "uint128",
16895
+ type: "uint128",
16896
+ indexed: false
17082
16897
  },
17083
16898
  {
17084
- name: "tokenAddress",
16899
+ name: "fillReferral",
17085
16900
  internalType: "address",
17086
16901
  type: "address",
17087
- indexed: true
17088
- }
17089
- ],
17090
- name: "TokenCreated"
17091
- },
17092
- {
17093
- type: "event",
17094
- anonymous: false,
17095
- inputs: [
16902
+ indexed: false
16903
+ },
17096
16904
  {
17097
- name: "operator",
17098
- internalType: "address",
17099
- type: "address",
17100
- indexed: true
16905
+ name: "fillReferralAmount",
16906
+ internalType: "uint128",
16907
+ type: "uint128",
16908
+ indexed: false
17101
16909
  },
17102
- { name: "from", internalType: "address", type: "address", indexed: true },
17103
- { name: "to", internalType: "address", type: "address", indexed: true },
17104
16910
  {
17105
- name: "ids",
17106
- internalType: "uint256[]",
17107
- type: "uint256[]",
16911
+ name: "poolKeyHash",
16912
+ internalType: "bytes32",
16913
+ type: "bytes32",
17108
16914
  indexed: false
17109
16915
  },
16916
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
17110
16917
  {
17111
- name: "values",
17112
- internalType: "uint256[]",
17113
- type: "uint256[]",
16918
+ name: "orderId",
16919
+ internalType: "bytes32",
16920
+ type: "bytes32",
17114
16921
  indexed: false
17115
16922
  }
17116
16923
  ],
17117
- name: "TransferBatch"
16924
+ name: "LimitOrderFilled"
17118
16925
  },
17119
16926
  {
17120
16927
  type: "event",
17121
16928
  anonymous: false,
17122
16929
  inputs: [
17123
16930
  {
17124
- name: "operator",
16931
+ name: "maker",
17125
16932
  internalType: "address",
17126
16933
  type: "address",
17127
16934
  indexed: true
17128
16935
  },
17129
- { name: "from", internalType: "address", type: "address", indexed: true },
17130
- { name: "to", internalType: "address", type: "address", indexed: true },
17131
- { name: "id", internalType: "uint256", type: "uint256", indexed: false },
16936
+ { name: "coin", internalType: "address", type: "address", indexed: true },
17132
16937
  {
17133
- name: "value",
17134
- internalType: "uint256",
17135
- type: "uint256",
16938
+ name: "poolKeyHash",
16939
+ internalType: "bytes32",
16940
+ type: "bytes32",
16941
+ indexed: false
16942
+ },
16943
+ {
16944
+ name: "isCurrency0",
16945
+ internalType: "bool",
16946
+ type: "bool",
16947
+ indexed: false
16948
+ },
16949
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
16950
+ {
16951
+ name: "orderSize",
16952
+ internalType: "uint128",
16953
+ type: "uint128",
16954
+ indexed: false
16955
+ },
16956
+ {
16957
+ name: "orderId",
16958
+ internalType: "bytes32",
16959
+ type: "bytes32",
16960
+ indexed: false
16961
+ },
16962
+ {
16963
+ name: "isCancelled",
16964
+ internalType: "bool",
16965
+ type: "bool",
17136
16966
  indexed: false
17137
16967
  }
17138
16968
  ],
17139
- name: "TransferSingle"
17140
- },
17141
- {
17142
- type: "event",
17143
- anonymous: false,
17144
- inputs: [
17145
- { name: "value", internalType: "string", type: "string", indexed: false },
17146
- { name: "id", internalType: "uint256", type: "uint256", indexed: true }
17147
- ],
17148
- name: "URI"
16969
+ name: "LimitOrderUpdated"
17149
16970
  },
17150
16971
  {
17151
16972
  type: "event",
17152
16973
  anonymous: false,
17153
16974
  inputs: [
17154
16975
  {
17155
- name: "contractURI",
17156
- internalType: "string",
17157
- type: "string",
17158
- indexed: false
16976
+ name: "maker",
16977
+ internalType: "address",
16978
+ type: "address",
16979
+ indexed: true
17159
16980
  },
16981
+ { name: "coin", internalType: "address", type: "address", indexed: true },
17160
16982
  {
17161
- name: "baseURI",
17162
- internalType: "string",
17163
- type: "string",
16983
+ name: "balance",
16984
+ internalType: "uint128",
16985
+ type: "uint128",
17164
16986
  indexed: false
17165
16987
  }
17166
16988
  ],
17167
- name: "URIsUpdated"
16989
+ name: "MakerBalanceUpdated"
17168
16990
  },
17169
16991
  {
17170
16992
  type: "error",
17171
16993
  inputs: [{ name: "authority", internalType: "address", type: "address" }],
17172
16994
  name: "AccessManagedInvalidAuthority"
17173
16995
  },
16996
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
16997
+ { type: "error", inputs: [], name: "AddressZero" },
16998
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
16999
+ { type: "error", inputs: [], name: "InsufficientBalance" },
17000
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
17001
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
17002
+ {
17003
+ type: "error",
17004
+ inputs: [
17005
+ { name: "startTick", internalType: "int24", type: "int24" },
17006
+ { name: "endTick", internalType: "int24", type: "int24" },
17007
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
17008
+ ],
17009
+ name: "InvalidFillWindow"
17010
+ },
17011
+ { type: "error", inputs: [], name: "InvalidOrder" },
17012
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
17013
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
17014
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
17015
+ { type: "error", inputs: [], name: "NotPoolManager" },
17016
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
17017
+ { type: "error", inputs: [], name: "OrderClosed" },
17018
+ { type: "error", inputs: [], name: "OrderNotMaker" },
17019
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17020
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
17021
+ { type: "error", inputs: [], name: "UnknownCallback" },
17022
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
17023
+ { type: "error", inputs: [], name: "ZeroMaker" },
17024
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
17025
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
17026
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
17027
+ { type: "error", inputs: [], name: "AddressZero" },
17028
+ { type: "error", inputs: [], name: "AlreadyOwner" },
17029
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
17174
17030
  {
17175
17031
  type: "error",
17176
- inputs: [
17177
- { name: "caller", internalType: "address", type: "address" },
17178
- { name: "delay", internalType: "uint32", type: "uint32" }
17179
- ],
17180
- name: "AccessManagedRequiredDelay"
17181
- },
17182
- {
17183
- type: "error",
17184
- inputs: [{ name: "caller", internalType: "address", type: "address" }],
17185
- name: "AccessManagedUnauthorized"
17032
+ inputs: [],
17033
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
17186
17034
  },
17035
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
17187
17036
  {
17188
17037
  type: "error",
17189
- inputs: [{ name: "target", internalType: "address", type: "address" }],
17190
- name: "AddressEmptyCode"
17038
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
17039
+ name: "ECDSAInvalidSignatureLength"
17191
17040
  },
17192
17041
  {
17193
17042
  type: "error",
17194
- inputs: [{ name: "account", internalType: "address", type: "address" }],
17195
- name: "AddressInsufficientBalance"
17043
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
17044
+ name: "ECDSAInvalidSignatureS"
17196
17045
  },
17197
17046
  {
17198
17047
  type: "error",
17199
17048
  inputs: [
17200
- { name: "lengthA", internalType: "uint256", type: "uint256" },
17201
- { name: "lengthB", internalType: "uint256", type: "uint256" }
17049
+ { name: "spender", internalType: "address", type: "address" },
17050
+ { name: "allowance", internalType: "uint256", type: "uint256" },
17051
+ { name: "needed", internalType: "uint256", type: "uint256" }
17202
17052
  ],
17203
- name: "ArrayLengthMismatch"
17204
- },
17205
- {
17206
- type: "error",
17207
- inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
17208
- name: "CallFailed"
17053
+ name: "ERC20InsufficientAllowance"
17209
17054
  },
17210
17055
  {
17211
17056
  type: "error",
17212
17057
  inputs: [
17213
17058
  { name: "sender", internalType: "address", type: "address" },
17214
17059
  { name: "balance", internalType: "uint256", type: "uint256" },
17215
- { name: "needed", internalType: "uint256", type: "uint256" },
17216
- { name: "tokenId", internalType: "uint256", type: "uint256" }
17060
+ { name: "needed", internalType: "uint256", type: "uint256" }
17217
17061
  ],
17218
- name: "ERC1155InsufficientBalance"
17062
+ name: "ERC20InsufficientBalance"
17219
17063
  },
17220
17064
  {
17221
17065
  type: "error",
17222
17066
  inputs: [{ name: "approver", internalType: "address", type: "address" }],
17223
- name: "ERC1155InvalidApprover"
17067
+ name: "ERC20InvalidApprover"
17224
17068
  },
17225
17069
  {
17226
17070
  type: "error",
17227
- inputs: [
17228
- { name: "idsLength", internalType: "uint256", type: "uint256" },
17229
- { name: "valuesLength", internalType: "uint256", type: "uint256" }
17230
- ],
17231
- name: "ERC1155InvalidArrayLength"
17071
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17072
+ name: "ERC20InvalidReceiver"
17232
17073
  },
17233
17074
  {
17234
17075
  type: "error",
17235
- inputs: [{ name: "operator", internalType: "address", type: "address" }],
17236
- name: "ERC1155InvalidOperator"
17076
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
17077
+ name: "ERC20InvalidSender"
17237
17078
  },
17238
17079
  {
17239
17080
  type: "error",
17240
- inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17241
- name: "ERC1155InvalidReceiver"
17081
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
17082
+ name: "ERC20InvalidSpender"
17242
17083
  },
17084
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
17243
17085
  {
17244
17086
  type: "error",
17245
- inputs: [{ name: "sender", internalType: "address", type: "address" }],
17246
- name: "ERC1155InvalidSender"
17087
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17088
+ name: "ERC2612ExpiredSignature"
17247
17089
  },
17248
17090
  {
17249
17091
  type: "error",
17250
17092
  inputs: [
17251
- { name: "operator", internalType: "address", type: "address" },
17093
+ { name: "signer", internalType: "address", type: "address" },
17252
17094
  { name: "owner", internalType: "address", type: "address" }
17253
17095
  ],
17254
- name: "ERC1155MissingApprovalForAll"
17255
- },
17256
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
17257
- {
17258
- type: "error",
17259
- inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17260
- name: "ERC2612ExpiredSignature"
17096
+ name: "ERC2612InvalidSigner"
17261
17097
  },
17262
- { type: "error", inputs: [], name: "ETHTransferFailed" },
17263
- { type: "error", inputs: [], name: "FailedInnerCall" },
17264
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
17098
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
17099
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
17100
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17101
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
17102
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
17103
+ { type: "error", inputs: [], name: "InsufficientFunds" },
17104
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
17265
17105
  {
17266
17106
  type: "error",
17267
17107
  inputs: [
@@ -17270,522 +17110,1952 @@ var zoraMints1155ABI = [
17270
17110
  ],
17271
17111
  name: "InvalidAccountNonce"
17272
17112
  },
17273
- { type: "error", inputs: [], name: "InvalidRecipient" },
17274
- { type: "error", inputs: [], name: "InvalidShortString" },
17275
- { type: "error", inputs: [], name: "InvalidSignature" },
17276
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
17277
- { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
17113
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
17114
+ { type: "error", inputs: [], name: "InvalidInitialization" },
17115
+ { type: "error", inputs: [], name: "InvalidMarketType" },
17116
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
17278
17117
  {
17279
17118
  type: "error",
17280
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
17281
- name: "NotARedeemHandler"
17119
+ inputs: [
17120
+ { name: "tickLower", internalType: "int24", type: "int24" },
17121
+ { name: "tickUpper", internalType: "int24", type: "int24" }
17122
+ ],
17123
+ name: "InvalidTickRangeMisordered"
17124
+ },
17125
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
17126
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
17127
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
17128
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
17129
+ {
17130
+ type: "error",
17131
+ inputs: [
17132
+ { name: "value", internalType: "uint256", type: "uint256" },
17133
+ { name: "limit", internalType: "uint256", type: "uint256" }
17134
+ ],
17135
+ name: "MaxShareToBeSoldExceeded"
17282
17136
  },
17137
+ { type: "error", inputs: [], name: "NameIsRequired" },
17138
+ { type: "error", inputs: [], name: "NotInitializing" },
17139
+ { type: "error", inputs: [], name: "NotOwner" },
17140
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
17141
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
17142
+ { type: "error", inputs: [], name: "OnlyOwner" },
17283
17143
  {
17284
17144
  type: "error",
17285
- inputs: [{ name: "token", internalType: "address", type: "address" }],
17286
- name: "SafeERC20FailedOperation"
17145
+ inputs: [
17146
+ { name: "sender", internalType: "address", type: "address" },
17147
+ { name: "pool", internalType: "address", type: "address" }
17148
+ ],
17149
+ name: "OnlyPool"
17287
17150
  },
17151
+ { type: "error", inputs: [], name: "OnlyWeth" },
17152
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
17153
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
17154
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
17155
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
17156
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
17157
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17158
+ { type: "error", inputs: [], name: "HookNotImplemented" },
17288
17159
  {
17289
17160
  type: "error",
17290
- inputs: [{ name: "str", internalType: "string", type: "string" }],
17291
- name: "StringTooLong"
17161
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
17162
+ name: "InvalidCallbackId"
17163
+ },
17164
+ {
17165
+ type: "error",
17166
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
17167
+ name: "InvalidNewHook"
17168
+ },
17169
+ {
17170
+ type: "error",
17171
+ inputs: [
17172
+ { name: "tickLower", internalType: "int24", type: "int24" },
17173
+ { name: "tickUpper", internalType: "int24", type: "int24" }
17174
+ ],
17175
+ name: "InvalidTickRangeMisordered"
17292
17176
  },
17293
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
17294
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
17295
17177
  {
17296
17178
  type: "error",
17297
17179
  inputs: [
17298
- { name: "storedTokenAddress", internalType: "address", type: "address" },
17299
17180
  {
17300
- name: "expectedTokenAddress",
17301
- internalType: "address",
17302
- type: "address"
17181
+ name: "key",
17182
+ internalType: "struct PoolKey",
17183
+ type: "tuple",
17184
+ components: [
17185
+ { name: "currency0", internalType: "Currency", type: "address" },
17186
+ { name: "currency1", internalType: "Currency", type: "address" },
17187
+ { name: "fee", internalType: "uint24", type: "uint24" },
17188
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
17189
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
17190
+ ]
17303
17191
  }
17304
17192
  ],
17305
- name: "TokenMismatch"
17193
+ name: "NoCoinForHook"
17306
17194
  },
17307
- { type: "error", inputs: [], name: "TokenNotMintable" }
17195
+ {
17196
+ type: "error",
17197
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
17198
+ name: "NotACoin"
17199
+ },
17200
+ { type: "error", inputs: [], name: "NotPoolManager" },
17201
+ {
17202
+ type: "error",
17203
+ inputs: [
17204
+ { name: "caller", internalType: "address", type: "address" },
17205
+ { name: "expectedCoin", internalType: "address", type: "address" }
17206
+ ],
17207
+ name: "OnlyCoin"
17208
+ },
17209
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17210
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
17211
+ {
17212
+ type: "error",
17213
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17214
+ name: "SafeERC20FailedOperation"
17215
+ },
17216
+ {
17217
+ type: "error",
17218
+ inputs: [],
17219
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
17220
+ },
17221
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
17222
+ {
17223
+ type: "error",
17224
+ inputs: [
17225
+ { name: "oldHook", internalType: "address", type: "address" },
17226
+ { name: "newHook", internalType: "address", type: "address" }
17227
+ ],
17228
+ name: "UpgradePathNotRegistered"
17229
+ }
17308
17230
  ];
17309
- var zoraMints1155Address = {
17310
- 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
17311
- 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
17231
+ var zoraLimitOrderBookAddress = {
17232
+ 8453: "0xBF26D61054Ad1f0f7AcafF9b3A0627A37915D627"
17312
17233
  };
17313
- var zoraMints1155Config = {
17314
- address: zoraMints1155Address,
17315
- abi: zoraMints1155ABI
17234
+ var zoraLimitOrderBookConfig = {
17235
+ address: zoraLimitOrderBookAddress,
17236
+ abi: zoraLimitOrderBookABI
17316
17237
  };
17317
- var zoraMintsManagerImplABI = [
17238
+ var zoraMints1155ABI = [
17239
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
17318
17240
  {
17319
- type: "constructor",
17320
- inputs: [
17321
- {
17322
- name: "_premintExecutor",
17323
- internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
17324
- type: "address"
17325
- }
17326
- ],
17327
- stateMutability: "nonpayable"
17241
+ type: "function",
17242
+ inputs: [],
17243
+ name: "ETH_ADDRESS",
17244
+ outputs: [{ name: "", internalType: "address", type: "address" }],
17245
+ stateMutability: "view"
17328
17246
  },
17329
17247
  {
17330
17248
  type: "function",
17331
17249
  inputs: [],
17332
- name: "UPGRADE_INTERFACE_VERSION",
17250
+ name: "MINIMUM_ERC20_PRICE",
17251
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17252
+ stateMutability: "view"
17253
+ },
17254
+ {
17255
+ type: "function",
17256
+ inputs: [],
17257
+ name: "MINIMUM_ETH_PRICE",
17258
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17259
+ stateMutability: "view"
17260
+ },
17261
+ {
17262
+ type: "function",
17263
+ inputs: [],
17264
+ name: "NAME",
17333
17265
  outputs: [{ name: "", internalType: "string", type: "string" }],
17334
17266
  stateMutability: "view"
17335
17267
  },
17336
17268
  {
17337
17269
  type: "function",
17338
17270
  inputs: [],
17339
- name: "acceptOwnership",
17340
- outputs: [],
17341
- stateMutability: "nonpayable"
17271
+ name: "VERSION",
17272
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17273
+ stateMutability: "view"
17274
+ },
17275
+ {
17276
+ type: "function",
17277
+ inputs: [],
17278
+ name: "authority",
17279
+ outputs: [{ name: "", internalType: "address", type: "address" }],
17280
+ stateMutability: "view"
17342
17281
  },
17343
17282
  {
17344
17283
  type: "function",
17345
17284
  inputs: [
17346
- { name: "callFrom", internalType: "address", type: "address" },
17347
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17348
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17349
- { name: "call", internalType: "bytes", type: "bytes" }
17350
- ],
17351
- name: "callWithTransferTokens",
17352
- outputs: [
17353
- { name: "success", internalType: "bool", type: "bool" },
17354
- { name: "result", internalType: "bytes", type: "bytes" }
17285
+ { name: "account", internalType: "address", type: "address" },
17286
+ { name: "id", internalType: "uint256", type: "uint256" }
17355
17287
  ],
17356
- stateMutability: "payable"
17288
+ name: "balanceOf",
17289
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17290
+ stateMutability: "view"
17291
+ },
17292
+ {
17293
+ type: "function",
17294
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
17295
+ name: "balanceOfAccount",
17296
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17297
+ stateMutability: "view"
17357
17298
  },
17358
17299
  {
17359
17300
  type: "function",
17360
17301
  inputs: [
17361
- { name: "caller", internalType: "address", type: "address" },
17362
- { name: "", internalType: "address", type: "address" },
17363
- { name: "", internalType: "bytes4", type: "bytes4" }
17302
+ { name: "accounts", internalType: "address[]", type: "address[]" },
17303
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
17364
17304
  ],
17365
- name: "canCall",
17366
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
17305
+ name: "balanceOfBatch",
17306
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
17307
+ stateMutability: "view"
17308
+ },
17309
+ {
17310
+ type: "function",
17311
+ inputs: [],
17312
+ name: "contractURI",
17313
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17367
17314
  stateMutability: "view"
17368
17315
  },
17369
17316
  {
17370
17317
  type: "function",
17371
17318
  inputs: [
17319
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17372
17320
  {
17373
- name: "zoraCreator1155Contract",
17374
- internalType: "contract IMintWithSparks",
17375
- type: "address"
17376
- },
17377
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
17378
- {
17379
- name: "zoraCreator1155TokenId",
17380
- internalType: "uint256",
17381
- type: "uint256"
17382
- },
17383
- {
17384
- name: "collectMintArguments",
17385
- internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
17321
+ name: "tokenConfig",
17322
+ internalType: "struct TokenConfig",
17386
17323
  type: "tuple",
17387
17324
  components: [
17388
- {
17389
- name: "mintRewardsRecipients",
17390
- internalType: "address[]",
17391
- type: "address[]"
17392
- },
17393
- { name: "minterArguments", internalType: "bytes", type: "bytes" },
17394
- { name: "mintComment", internalType: "string", type: "string" }
17325
+ { name: "price", internalType: "uint256", type: "uint256" },
17326
+ { name: "tokenAddress", internalType: "address", type: "address" },
17327
+ { name: "redeemHandler", internalType: "address", type: "address" }
17395
17328
  ]
17396
17329
  }
17397
17330
  ],
17398
- name: "collect",
17331
+ name: "createToken",
17399
17332
  outputs: [],
17400
- stateMutability: "payable"
17333
+ stateMutability: "nonpayable"
17401
17334
  },
17402
17335
  {
17403
17336
  type: "function",
17404
- inputs: [
17405
- {
17406
- name: "contractConfig",
17407
- internalType: "struct ContractWithAdditionalAdminsCreationConfig",
17408
- type: "tuple",
17409
- components: [
17410
- { name: "contractAdmin", internalType: "address", type: "address" },
17411
- { name: "contractURI", internalType: "string", type: "string" },
17412
- { name: "contractName", internalType: "string", type: "string" },
17413
- {
17414
- name: "additionalAdmins",
17415
- internalType: "address[]",
17416
- type: "address[]"
17417
- }
17418
- ]
17419
- },
17420
- { name: "tokenContract", internalType: "address", type: "address" },
17421
- {
17422
- name: "premintConfig",
17423
- internalType: "struct PremintConfigEncoded",
17424
- type: "tuple",
17425
- components: [
17426
- { name: "uid", internalType: "uint32", type: "uint32" },
17427
- { name: "version", internalType: "uint32", type: "uint32" },
17428
- { name: "deleted", internalType: "bool", type: "bool" },
17429
- { name: "tokenConfig", internalType: "bytes", type: "bytes" },
17430
- {
17431
- name: "premintConfigVersion",
17432
- internalType: "bytes32",
17433
- type: "bytes32"
17434
- }
17435
- ]
17436
- },
17437
- { name: "signature", internalType: "bytes", type: "bytes" },
17438
- {
17439
- name: "mintArguments",
17440
- internalType: "struct MintArguments",
17441
- type: "tuple",
17442
- components: [
17443
- { name: "mintRecipient", internalType: "address", type: "address" },
17444
- { name: "mintComment", internalType: "string", type: "string" },
17445
- {
17446
- name: "mintRewardsRecipients",
17447
- internalType: "address[]",
17448
- type: "address[]"
17449
- }
17450
- ]
17451
- },
17452
- { name: "firstMinter", internalType: "address", type: "address" },
17453
- { name: "signerContract", internalType: "address", type: "address" }
17337
+ inputs: [],
17338
+ name: "eip712Domain",
17339
+ outputs: [
17340
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
17341
+ { name: "name", internalType: "string", type: "string" },
17342
+ { name: "version", internalType: "string", type: "string" },
17343
+ { name: "chainId", internalType: "uint256", type: "uint256" },
17344
+ { name: "verifyingContract", internalType: "address", type: "address" },
17345
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
17346
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
17454
17347
  ],
17455
- name: "collectPremint",
17348
+ stateMutability: "view"
17349
+ },
17350
+ {
17351
+ type: "function",
17352
+ inputs: [],
17353
+ name: "getManager",
17354
+ outputs: [{ name: "", internalType: "address", type: "address" }],
17355
+ stateMutability: "view"
17356
+ },
17357
+ {
17358
+ type: "function",
17359
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17360
+ name: "getTokenConfig",
17456
17361
  outputs: [
17457
17362
  {
17458
- name: "result",
17459
- internalType: "struct PremintResult",
17363
+ name: "",
17364
+ internalType: "struct TokenConfig",
17460
17365
  type: "tuple",
17461
17366
  components: [
17462
- { name: "contractAddress", internalType: "address", type: "address" },
17463
- { name: "tokenId", internalType: "uint256", type: "uint256" },
17464
- { name: "createdNewContract", internalType: "bool", type: "bool" }
17367
+ { name: "price", internalType: "uint256", type: "uint256" },
17368
+ { name: "tokenAddress", internalType: "address", type: "address" },
17369
+ { name: "redeemHandler", internalType: "address", type: "address" }
17465
17370
  ]
17466
17371
  }
17467
17372
  ],
17468
- stateMutability: "payable"
17373
+ stateMutability: "view"
17469
17374
  },
17470
17375
  {
17471
17376
  type: "function",
17472
17377
  inputs: [
17473
17378
  {
17474
- name: "contractConfig",
17475
- internalType: "struct ContractCreationConfig",
17476
- type: "tuple",
17477
- components: [
17478
- { name: "contractAdmin", internalType: "address", type: "address" },
17479
- { name: "contractURI", internalType: "string", type: "string" },
17480
- { name: "contractName", internalType: "string", type: "string" }
17481
- ]
17482
- },
17483
- {
17484
- name: "premintConfig",
17485
- internalType: "struct PremintConfigV2",
17486
- type: "tuple",
17487
- components: [
17488
- {
17489
- name: "tokenConfig",
17490
- internalType: "struct TokenCreationConfigV2",
17491
- type: "tuple",
17492
- components: [
17493
- { name: "tokenURI", internalType: "string", type: "string" },
17494
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
17495
- {
17496
- name: "maxTokensPerAddress",
17497
- internalType: "uint64",
17498
- type: "uint64"
17499
- },
17500
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
17501
- { name: "mintStart", internalType: "uint64", type: "uint64" },
17502
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
17503
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
17504
- {
17505
- name: "payoutRecipient",
17506
- internalType: "address",
17507
- type: "address"
17508
- },
17509
- {
17510
- name: "fixedPriceMinter",
17511
- internalType: "address",
17512
- type: "address"
17513
- },
17514
- {
17515
- name: "createReferral",
17516
- internalType: "address",
17517
- type: "address"
17518
- }
17519
- ]
17520
- },
17521
- { name: "uid", internalType: "uint32", type: "uint32" },
17522
- { name: "version", internalType: "uint32", type: "uint32" },
17523
- { name: "deleted", internalType: "bool", type: "bool" }
17524
- ]
17525
- },
17526
- { name: "signature", internalType: "bytes", type: "bytes" },
17527
- {
17528
- name: "mintArguments",
17529
- internalType: "struct MintArguments",
17379
+ name: "permit",
17380
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
17530
17381
  type: "tuple",
17531
17382
  components: [
17532
- { name: "mintRecipient", internalType: "address", type: "address" },
17533
- { name: "mintComment", internalType: "string", type: "string" },
17534
- {
17535
- name: "mintRewardsRecipients",
17536
- internalType: "address[]",
17537
- type: "address[]"
17538
- }
17383
+ { name: "owner", internalType: "address", type: "address" },
17384
+ { name: "to", internalType: "address", type: "address" },
17385
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17386
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17387
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17388
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17389
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17539
17390
  ]
17540
- },
17541
- { name: "signerContract", internalType: "address", type: "address" }
17391
+ }
17542
17392
  ],
17543
- name: "collectPremintV2",
17544
- outputs: [
17393
+ name: "hashPermitBatch",
17394
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
17395
+ stateMutability: "view"
17396
+ },
17397
+ {
17398
+ type: "function",
17399
+ inputs: [
17545
17400
  {
17546
- name: "result",
17547
- internalType: "struct PremintResult",
17401
+ name: "permit",
17402
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
17548
17403
  type: "tuple",
17549
17404
  components: [
17550
- { name: "contractAddress", internalType: "address", type: "address" },
17405
+ { name: "owner", internalType: "address", type: "address" },
17406
+ { name: "to", internalType: "address", type: "address" },
17551
17407
  { name: "tokenId", internalType: "uint256", type: "uint256" },
17552
- { name: "createdNewContract", internalType: "bool", type: "bool" }
17408
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17409
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17410
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17411
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17553
17412
  ]
17554
17413
  }
17555
17414
  ],
17556
- stateMutability: "payable"
17557
- },
17558
- {
17559
- type: "function",
17560
- inputs: [],
17561
- name: "contractName",
17562
- outputs: [{ name: "", internalType: "string", type: "string" }],
17563
- stateMutability: "pure"
17415
+ name: "hashPermitSingle",
17416
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
17417
+ stateMutability: "view"
17564
17418
  },
17565
17419
  {
17566
17420
  type: "function",
17567
- inputs: [],
17568
- name: "contractURI",
17569
- outputs: [{ name: "", internalType: "string", type: "string" }],
17421
+ inputs: [
17422
+ { name: "account", internalType: "address", type: "address" },
17423
+ { name: "operator", internalType: "address", type: "address" }
17424
+ ],
17425
+ name: "isApprovedForAll",
17426
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17570
17427
  stateMutability: "view"
17571
17428
  },
17572
17429
  {
17573
17430
  type: "function",
17574
17431
  inputs: [],
17575
- name: "contractVersion",
17576
- outputs: [{ name: "", internalType: "string", type: "string" }],
17577
- stateMutability: "pure"
17432
+ name: "isConsumingScheduledOp",
17433
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
17434
+ stateMutability: "view"
17578
17435
  },
17579
17436
  {
17580
17437
  type: "function",
17581
17438
  inputs: [
17582
- { name: "tokenId", internalType: "uint256", type: "uint256" },
17583
17439
  {
17584
- name: "tokenConfig",
17585
- internalType: "struct TokenConfig",
17440
+ name: "permit",
17441
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
17586
17442
  type: "tuple",
17587
17443
  components: [
17588
- { name: "price", internalType: "uint256", type: "uint256" },
17589
- { name: "tokenAddress", internalType: "address", type: "address" },
17590
- { name: "redeemHandler", internalType: "address", type: "address" }
17444
+ { name: "owner", internalType: "address", type: "address" },
17445
+ { name: "to", internalType: "address", type: "address" },
17446
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17447
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17448
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17449
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17450
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17591
17451
  ]
17592
17452
  },
17593
- { name: "defaultMintable", internalType: "bool", type: "bool" }
17594
- ],
17595
- name: "createToken",
17596
- outputs: [],
17597
- stateMutability: "nonpayable"
17598
- },
17599
- {
17600
- type: "function",
17601
- inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
17602
- name: "decodeMintRecipientAndComment",
17603
- outputs: [
17604
- { name: "mintTo", internalType: "address", type: "address" },
17605
- { name: "mintComment", internalType: "string", type: "string" }
17453
+ { name: "signature", internalType: "bytes", type: "bytes" }
17606
17454
  ],
17607
- stateMutability: "pure"
17455
+ name: "isValidSignatureTransferBatch",
17456
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17457
+ stateMutability: "view"
17608
17458
  },
17609
17459
  {
17610
17460
  type: "function",
17611
- inputs: [],
17612
- name: "getEthPrice",
17613
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17461
+ inputs: [
17462
+ {
17463
+ name: "permit",
17464
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
17465
+ type: "tuple",
17466
+ components: [
17467
+ { name: "owner", internalType: "address", type: "address" },
17468
+ { name: "to", internalType: "address", type: "address" },
17469
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17470
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17471
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17472
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17473
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17474
+ ]
17475
+ },
17476
+ { name: "signature", internalType: "bytes", type: "bytes" }
17477
+ ],
17478
+ name: "isValidSignatureTransferSingle",
17479
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17614
17480
  stateMutability: "view"
17615
17481
  },
17482
+ {
17483
+ type: "function",
17484
+ inputs: [
17485
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17486
+ { name: "tokenAddress", internalType: "address", type: "address" },
17487
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17488
+ { name: "recipient", internalType: "address", type: "address" },
17489
+ { name: "data", internalType: "bytes", type: "bytes" }
17490
+ ],
17491
+ name: "mintTokenWithERC20",
17492
+ outputs: [],
17493
+ stateMutability: "nonpayable"
17494
+ },
17495
+ {
17496
+ type: "function",
17497
+ inputs: [
17498
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17499
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17500
+ { name: "recipient", internalType: "address", type: "address" },
17501
+ { name: "data", internalType: "bytes", type: "bytes" }
17502
+ ],
17503
+ name: "mintTokenWithEth",
17504
+ outputs: [],
17505
+ stateMutability: "payable"
17506
+ },
17616
17507
  {
17617
17508
  type: "function",
17618
17509
  inputs: [],
17619
- name: "implementation",
17620
- outputs: [{ name: "", internalType: "address", type: "address" }],
17510
+ name: "name",
17511
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17512
+ stateMutability: "pure"
17513
+ },
17514
+ {
17515
+ type: "function",
17516
+ inputs: [
17517
+ { name: "owner", internalType: "address", type: "address" },
17518
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17519
+ ],
17520
+ name: "nonceUsed",
17521
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17621
17522
  stateMutability: "view"
17622
17523
  },
17623
17524
  {
17624
17525
  type: "function",
17625
17526
  inputs: [
17626
- { name: "defaultOwner", internalType: "address", type: "address" },
17627
- { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
17628
- { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
17629
- { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
17527
+ { name: "newContractURI", internalType: "string", type: "string" },
17528
+ { name: "newBaseURI", internalType: "string", type: "string" }
17529
+ ],
17530
+ name: "notifyURIsUpdated",
17531
+ outputs: [],
17532
+ stateMutability: "nonpayable"
17533
+ },
17534
+ {
17535
+ type: "function",
17536
+ inputs: [
17537
+ { name: "newUri", internalType: "string", type: "string" },
17538
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
17539
+ ],
17540
+ name: "notifyUpdatedTokenURI",
17541
+ outputs: [],
17542
+ stateMutability: "nonpayable"
17543
+ },
17544
+ {
17545
+ type: "function",
17546
+ inputs: [
17630
17547
  {
17631
- name: "initialEthTokenPrice",
17632
- internalType: "uint256",
17633
- type: "uint256"
17548
+ name: "permit",
17549
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
17550
+ type: "tuple",
17551
+ components: [
17552
+ { name: "owner", internalType: "address", type: "address" },
17553
+ { name: "to", internalType: "address", type: "address" },
17554
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17555
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17556
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17557
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17558
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17559
+ ]
17634
17560
  },
17635
- { name: "newBaseURI", internalType: "string", type: "string" },
17636
- { name: "newContractURI", internalType: "string", type: "string" }
17561
+ { name: "signature", internalType: "bytes", type: "bytes" }
17637
17562
  ],
17638
- name: "initialize",
17639
- outputs: [
17563
+ name: "permitSafeTransfer",
17564
+ outputs: [],
17565
+ stateMutability: "nonpayable"
17566
+ },
17567
+ {
17568
+ type: "function",
17569
+ inputs: [
17640
17570
  {
17641
- name: "mints",
17642
- internalType: "contract IZoraSparks1155",
17643
- type: "address"
17644
- }
17571
+ name: "permit",
17572
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
17573
+ type: "tuple",
17574
+ components: [
17575
+ { name: "owner", internalType: "address", type: "address" },
17576
+ { name: "to", internalType: "address", type: "address" },
17577
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17578
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17579
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17580
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17581
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17582
+ ]
17583
+ },
17584
+ { name: "signature", internalType: "bytes", type: "bytes" }
17645
17585
  ],
17586
+ name: "permitSafeTransferBatch",
17587
+ outputs: [],
17646
17588
  stateMutability: "nonpayable"
17647
17589
  },
17648
17590
  {
17649
17591
  type: "function",
17650
17592
  inputs: [
17651
- { name: "tokenAddress", internalType: "address", type: "address" },
17593
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17652
17594
  { name: "quantity", internalType: "uint256", type: "uint256" },
17653
17595
  { name: "recipient", internalType: "address", type: "address" }
17654
17596
  ],
17655
- name: "mintWithERC20",
17597
+ name: "redeem",
17656
17598
  outputs: [
17657
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
17599
+ {
17600
+ name: "",
17601
+ internalType: "struct Redemption",
17602
+ type: "tuple",
17603
+ components: [
17604
+ { name: "tokenAddress", internalType: "address", type: "address" },
17605
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
17606
+ ]
17607
+ }
17658
17608
  ],
17659
17609
  stateMutability: "nonpayable"
17660
17610
  },
17661
17611
  {
17662
17612
  type: "function",
17663
17613
  inputs: [
17664
- { name: "quantity", internalType: "uint256", type: "uint256" },
17614
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17615
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17665
17616
  { name: "recipient", internalType: "address", type: "address" }
17666
17617
  ],
17667
- name: "mintWithEth",
17618
+ name: "redeemBatch",
17668
17619
  outputs: [
17669
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
17620
+ {
17621
+ name: "redemptions",
17622
+ internalType: "struct Redemption[]",
17623
+ type: "tuple[]",
17624
+ components: [
17625
+ { name: "tokenAddress", internalType: "address", type: "address" },
17626
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
17627
+ ]
17628
+ }
17670
17629
  ],
17671
- stateMutability: "payable"
17672
- },
17673
- {
17674
- type: "function",
17675
- inputs: [],
17676
- name: "mintableEthToken",
17677
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17678
- stateMutability: "view"
17630
+ stateMutability: "nonpayable"
17679
17631
  },
17680
17632
  {
17681
17633
  type: "function",
17682
17634
  inputs: [
17683
- { name: "", internalType: "address", type: "address" },
17684
17635
  { name: "from", internalType: "address", type: "address" },
17636
+ { name: "to", internalType: "address", type: "address" },
17685
17637
  { name: "ids", internalType: "uint256[]", type: "uint256[]" },
17686
17638
  { name: "values", internalType: "uint256[]", type: "uint256[]" },
17687
17639
  { name: "data", internalType: "bytes", type: "bytes" }
17688
17640
  ],
17689
- name: "onERC1155BatchReceived",
17690
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
17641
+ name: "safeBatchTransferFrom",
17642
+ outputs: [],
17691
17643
  stateMutability: "nonpayable"
17692
17644
  },
17693
17645
  {
17694
17646
  type: "function",
17695
17647
  inputs: [
17696
- { name: "", internalType: "address", type: "address" },
17697
17648
  { name: "from", internalType: "address", type: "address" },
17649
+ { name: "to", internalType: "address", type: "address" },
17698
17650
  { name: "id", internalType: "uint256", type: "uint256" },
17699
17651
  { name: "value", internalType: "uint256", type: "uint256" },
17700
17652
  { name: "data", internalType: "bytes", type: "bytes" }
17701
17653
  ],
17702
- name: "onERC1155Received",
17703
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
17654
+ name: "safeTransferFrom",
17655
+ outputs: [],
17656
+ stateMutability: "nonpayable"
17657
+ },
17658
+ {
17659
+ type: "function",
17660
+ inputs: [
17661
+ { name: "operator", internalType: "address", type: "address" },
17662
+ { name: "approved", internalType: "bool", type: "bool" }
17663
+ ],
17664
+ name: "setApprovalForAll",
17665
+ outputs: [],
17666
+ stateMutability: "nonpayable"
17667
+ },
17668
+ {
17669
+ type: "function",
17670
+ inputs: [
17671
+ { name: "newAuthority", internalType: "address", type: "address" }
17672
+ ],
17673
+ name: "setAuthority",
17674
+ outputs: [],
17675
+ stateMutability: "nonpayable"
17676
+ },
17677
+ {
17678
+ type: "function",
17679
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
17680
+ name: "supportsInterface",
17681
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17682
+ stateMutability: "view"
17683
+ },
17684
+ {
17685
+ type: "function",
17686
+ inputs: [],
17687
+ name: "symbol",
17688
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17689
+ stateMutability: "pure"
17690
+ },
17691
+ {
17692
+ type: "function",
17693
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17694
+ name: "tokenExists",
17695
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17696
+ stateMutability: "view"
17697
+ },
17698
+ {
17699
+ type: "function",
17700
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17701
+ name: "tokenPrice",
17702
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17703
+ stateMutability: "view"
17704
+ },
17705
+ {
17706
+ type: "function",
17707
+ inputs: [
17708
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17709
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17710
+ { name: "call", internalType: "bytes", type: "bytes" }
17711
+ ],
17712
+ name: "transferBatchToManagerAndCall",
17713
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
17714
+ stateMutability: "payable"
17715
+ },
17716
+ {
17717
+ type: "function",
17718
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17719
+ name: "uri",
17720
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17721
+ stateMutability: "view"
17722
+ },
17723
+ {
17724
+ type: "event",
17725
+ anonymous: false,
17726
+ inputs: [
17727
+ {
17728
+ name: "account",
17729
+ internalType: "address",
17730
+ type: "address",
17731
+ indexed: true
17732
+ },
17733
+ {
17734
+ name: "operator",
17735
+ internalType: "address",
17736
+ type: "address",
17737
+ indexed: true
17738
+ },
17739
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
17740
+ ],
17741
+ name: "ApprovalForAll"
17742
+ },
17743
+ {
17744
+ type: "event",
17745
+ anonymous: false,
17746
+ inputs: [
17747
+ {
17748
+ name: "authority",
17749
+ internalType: "address",
17750
+ type: "address",
17751
+ indexed: false
17752
+ }
17753
+ ],
17754
+ name: "AuthorityUpdated"
17755
+ },
17756
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
17757
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
17758
+ {
17759
+ type: "event",
17760
+ anonymous: false,
17761
+ inputs: [
17762
+ {
17763
+ name: "tokenId",
17764
+ internalType: "uint256",
17765
+ type: "uint256",
17766
+ indexed: true
17767
+ },
17768
+ {
17769
+ name: "price",
17770
+ internalType: "uint256",
17771
+ type: "uint256",
17772
+ indexed: true
17773
+ },
17774
+ {
17775
+ name: "tokenAddress",
17776
+ internalType: "address",
17777
+ type: "address",
17778
+ indexed: true
17779
+ }
17780
+ ],
17781
+ name: "TokenCreated"
17782
+ },
17783
+ {
17784
+ type: "event",
17785
+ anonymous: false,
17786
+ inputs: [
17787
+ {
17788
+ name: "operator",
17789
+ internalType: "address",
17790
+ type: "address",
17791
+ indexed: true
17792
+ },
17793
+ { name: "from", internalType: "address", type: "address", indexed: true },
17794
+ { name: "to", internalType: "address", type: "address", indexed: true },
17795
+ {
17796
+ name: "ids",
17797
+ internalType: "uint256[]",
17798
+ type: "uint256[]",
17799
+ indexed: false
17800
+ },
17801
+ {
17802
+ name: "values",
17803
+ internalType: "uint256[]",
17804
+ type: "uint256[]",
17805
+ indexed: false
17806
+ }
17807
+ ],
17808
+ name: "TransferBatch"
17809
+ },
17810
+ {
17811
+ type: "event",
17812
+ anonymous: false,
17813
+ inputs: [
17814
+ {
17815
+ name: "operator",
17816
+ internalType: "address",
17817
+ type: "address",
17818
+ indexed: true
17819
+ },
17820
+ { name: "from", internalType: "address", type: "address", indexed: true },
17821
+ { name: "to", internalType: "address", type: "address", indexed: true },
17822
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
17823
+ {
17824
+ name: "value",
17825
+ internalType: "uint256",
17826
+ type: "uint256",
17827
+ indexed: false
17828
+ }
17829
+ ],
17830
+ name: "TransferSingle"
17831
+ },
17832
+ {
17833
+ type: "event",
17834
+ anonymous: false,
17835
+ inputs: [
17836
+ { name: "value", internalType: "string", type: "string", indexed: false },
17837
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
17838
+ ],
17839
+ name: "URI"
17840
+ },
17841
+ {
17842
+ type: "event",
17843
+ anonymous: false,
17844
+ inputs: [
17845
+ {
17846
+ name: "contractURI",
17847
+ internalType: "string",
17848
+ type: "string",
17849
+ indexed: false
17850
+ },
17851
+ {
17852
+ name: "baseURI",
17853
+ internalType: "string",
17854
+ type: "string",
17855
+ indexed: false
17856
+ }
17857
+ ],
17858
+ name: "URIsUpdated"
17859
+ },
17860
+ {
17861
+ type: "error",
17862
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
17863
+ name: "AccessManagedInvalidAuthority"
17864
+ },
17865
+ {
17866
+ type: "error",
17867
+ inputs: [
17868
+ { name: "caller", internalType: "address", type: "address" },
17869
+ { name: "delay", internalType: "uint32", type: "uint32" }
17870
+ ],
17871
+ name: "AccessManagedRequiredDelay"
17872
+ },
17873
+ {
17874
+ type: "error",
17875
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
17876
+ name: "AccessManagedUnauthorized"
17877
+ },
17878
+ {
17879
+ type: "error",
17880
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
17881
+ name: "AddressEmptyCode"
17882
+ },
17883
+ {
17884
+ type: "error",
17885
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
17886
+ name: "AddressInsufficientBalance"
17887
+ },
17888
+ {
17889
+ type: "error",
17890
+ inputs: [
17891
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
17892
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
17893
+ ],
17894
+ name: "ArrayLengthMismatch"
17895
+ },
17896
+ {
17897
+ type: "error",
17898
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
17899
+ name: "CallFailed"
17900
+ },
17901
+ {
17902
+ type: "error",
17903
+ inputs: [
17904
+ { name: "sender", internalType: "address", type: "address" },
17905
+ { name: "balance", internalType: "uint256", type: "uint256" },
17906
+ { name: "needed", internalType: "uint256", type: "uint256" },
17907
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
17908
+ ],
17909
+ name: "ERC1155InsufficientBalance"
17910
+ },
17911
+ {
17912
+ type: "error",
17913
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
17914
+ name: "ERC1155InvalidApprover"
17915
+ },
17916
+ {
17917
+ type: "error",
17918
+ inputs: [
17919
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
17920
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
17921
+ ],
17922
+ name: "ERC1155InvalidArrayLength"
17923
+ },
17924
+ {
17925
+ type: "error",
17926
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
17927
+ name: "ERC1155InvalidOperator"
17928
+ },
17929
+ {
17930
+ type: "error",
17931
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17932
+ name: "ERC1155InvalidReceiver"
17933
+ },
17934
+ {
17935
+ type: "error",
17936
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
17937
+ name: "ERC1155InvalidSender"
17938
+ },
17939
+ {
17940
+ type: "error",
17941
+ inputs: [
17942
+ { name: "operator", internalType: "address", type: "address" },
17943
+ { name: "owner", internalType: "address", type: "address" }
17944
+ ],
17945
+ name: "ERC1155MissingApprovalForAll"
17946
+ },
17947
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
17948
+ {
17949
+ type: "error",
17950
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17951
+ name: "ERC2612ExpiredSignature"
17952
+ },
17953
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
17954
+ { type: "error", inputs: [], name: "FailedInnerCall" },
17955
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
17956
+ {
17957
+ type: "error",
17958
+ inputs: [
17959
+ { name: "account", internalType: "address", type: "address" },
17960
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
17961
+ ],
17962
+ name: "InvalidAccountNonce"
17963
+ },
17964
+ { type: "error", inputs: [], name: "InvalidRecipient" },
17965
+ { type: "error", inputs: [], name: "InvalidShortString" },
17966
+ { type: "error", inputs: [], name: "InvalidSignature" },
17967
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
17968
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
17969
+ {
17970
+ type: "error",
17971
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
17972
+ name: "NotARedeemHandler"
17973
+ },
17974
+ {
17975
+ type: "error",
17976
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17977
+ name: "SafeERC20FailedOperation"
17978
+ },
17979
+ {
17980
+ type: "error",
17981
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
17982
+ name: "StringTooLong"
17983
+ },
17984
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
17985
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
17986
+ {
17987
+ type: "error",
17988
+ inputs: [
17989
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
17990
+ {
17991
+ name: "expectedTokenAddress",
17992
+ internalType: "address",
17993
+ type: "address"
17994
+ }
17995
+ ],
17996
+ name: "TokenMismatch"
17997
+ },
17998
+ { type: "error", inputs: [], name: "TokenNotMintable" }
17999
+ ];
18000
+ var zoraMints1155Address = {
18001
+ 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
18002
+ 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
18003
+ };
18004
+ var zoraMints1155Config = {
18005
+ address: zoraMints1155Address,
18006
+ abi: zoraMints1155ABI
18007
+ };
18008
+ var zoraMintsManagerImplABI = [
18009
+ {
18010
+ type: "constructor",
18011
+ inputs: [
18012
+ {
18013
+ name: "_premintExecutor",
18014
+ internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
18015
+ type: "address"
18016
+ }
18017
+ ],
18018
+ stateMutability: "nonpayable"
18019
+ },
18020
+ {
18021
+ type: "function",
18022
+ inputs: [],
18023
+ name: "UPGRADE_INTERFACE_VERSION",
18024
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18025
+ stateMutability: "view"
18026
+ },
18027
+ {
18028
+ type: "function",
18029
+ inputs: [],
18030
+ name: "acceptOwnership",
18031
+ outputs: [],
18032
+ stateMutability: "nonpayable"
18033
+ },
18034
+ {
18035
+ type: "function",
18036
+ inputs: [
18037
+ { name: "callFrom", internalType: "address", type: "address" },
18038
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
18039
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
18040
+ { name: "call", internalType: "bytes", type: "bytes" }
18041
+ ],
18042
+ name: "callWithTransferTokens",
18043
+ outputs: [
18044
+ { name: "success", internalType: "bool", type: "bool" },
18045
+ { name: "result", internalType: "bytes", type: "bytes" }
18046
+ ],
18047
+ stateMutability: "payable"
18048
+ },
18049
+ {
18050
+ type: "function",
18051
+ inputs: [
18052
+ { name: "caller", internalType: "address", type: "address" },
18053
+ { name: "", internalType: "address", type: "address" },
18054
+ { name: "", internalType: "bytes4", type: "bytes4" }
18055
+ ],
18056
+ name: "canCall",
18057
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
18058
+ stateMutability: "view"
18059
+ },
18060
+ {
18061
+ type: "function",
18062
+ inputs: [
18063
+ {
18064
+ name: "zoraCreator1155Contract",
18065
+ internalType: "contract IMintWithSparks",
18066
+ type: "address"
18067
+ },
18068
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
18069
+ {
18070
+ name: "zoraCreator1155TokenId",
18071
+ internalType: "uint256",
18072
+ type: "uint256"
18073
+ },
18074
+ {
18075
+ name: "collectMintArguments",
18076
+ internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
18077
+ type: "tuple",
18078
+ components: [
18079
+ {
18080
+ name: "mintRewardsRecipients",
18081
+ internalType: "address[]",
18082
+ type: "address[]"
18083
+ },
18084
+ { name: "minterArguments", internalType: "bytes", type: "bytes" },
18085
+ { name: "mintComment", internalType: "string", type: "string" }
18086
+ ]
18087
+ }
18088
+ ],
18089
+ name: "collect",
18090
+ outputs: [],
18091
+ stateMutability: "payable"
18092
+ },
18093
+ {
18094
+ type: "function",
18095
+ inputs: [
18096
+ {
18097
+ name: "contractConfig",
18098
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
18099
+ type: "tuple",
18100
+ components: [
18101
+ { name: "contractAdmin", internalType: "address", type: "address" },
18102
+ { name: "contractURI", internalType: "string", type: "string" },
18103
+ { name: "contractName", internalType: "string", type: "string" },
18104
+ {
18105
+ name: "additionalAdmins",
18106
+ internalType: "address[]",
18107
+ type: "address[]"
18108
+ }
18109
+ ]
18110
+ },
18111
+ { name: "tokenContract", internalType: "address", type: "address" },
18112
+ {
18113
+ name: "premintConfig",
18114
+ internalType: "struct PremintConfigEncoded",
18115
+ type: "tuple",
18116
+ components: [
18117
+ { name: "uid", internalType: "uint32", type: "uint32" },
18118
+ { name: "version", internalType: "uint32", type: "uint32" },
18119
+ { name: "deleted", internalType: "bool", type: "bool" },
18120
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
18121
+ {
18122
+ name: "premintConfigVersion",
18123
+ internalType: "bytes32",
18124
+ type: "bytes32"
18125
+ }
18126
+ ]
18127
+ },
18128
+ { name: "signature", internalType: "bytes", type: "bytes" },
18129
+ {
18130
+ name: "mintArguments",
18131
+ internalType: "struct MintArguments",
18132
+ type: "tuple",
18133
+ components: [
18134
+ { name: "mintRecipient", internalType: "address", type: "address" },
18135
+ { name: "mintComment", internalType: "string", type: "string" },
18136
+ {
18137
+ name: "mintRewardsRecipients",
18138
+ internalType: "address[]",
18139
+ type: "address[]"
18140
+ }
18141
+ ]
18142
+ },
18143
+ { name: "firstMinter", internalType: "address", type: "address" },
18144
+ { name: "signerContract", internalType: "address", type: "address" }
18145
+ ],
18146
+ name: "collectPremint",
18147
+ outputs: [
18148
+ {
18149
+ name: "result",
18150
+ internalType: "struct PremintResult",
18151
+ type: "tuple",
18152
+ components: [
18153
+ { name: "contractAddress", internalType: "address", type: "address" },
18154
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18155
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
18156
+ ]
18157
+ }
18158
+ ],
18159
+ stateMutability: "payable"
18160
+ },
18161
+ {
18162
+ type: "function",
18163
+ inputs: [
18164
+ {
18165
+ name: "contractConfig",
18166
+ internalType: "struct ContractCreationConfig",
18167
+ type: "tuple",
18168
+ components: [
18169
+ { name: "contractAdmin", internalType: "address", type: "address" },
18170
+ { name: "contractURI", internalType: "string", type: "string" },
18171
+ { name: "contractName", internalType: "string", type: "string" }
18172
+ ]
18173
+ },
18174
+ {
18175
+ name: "premintConfig",
18176
+ internalType: "struct PremintConfigV2",
18177
+ type: "tuple",
18178
+ components: [
18179
+ {
18180
+ name: "tokenConfig",
18181
+ internalType: "struct TokenCreationConfigV2",
18182
+ type: "tuple",
18183
+ components: [
18184
+ { name: "tokenURI", internalType: "string", type: "string" },
18185
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
18186
+ {
18187
+ name: "maxTokensPerAddress",
18188
+ internalType: "uint64",
18189
+ type: "uint64"
18190
+ },
18191
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
18192
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
18193
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
18194
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
18195
+ {
18196
+ name: "payoutRecipient",
18197
+ internalType: "address",
18198
+ type: "address"
18199
+ },
18200
+ {
18201
+ name: "fixedPriceMinter",
18202
+ internalType: "address",
18203
+ type: "address"
18204
+ },
18205
+ {
18206
+ name: "createReferral",
18207
+ internalType: "address",
18208
+ type: "address"
18209
+ }
18210
+ ]
18211
+ },
18212
+ { name: "uid", internalType: "uint32", type: "uint32" },
18213
+ { name: "version", internalType: "uint32", type: "uint32" },
18214
+ { name: "deleted", internalType: "bool", type: "bool" }
18215
+ ]
18216
+ },
18217
+ { name: "signature", internalType: "bytes", type: "bytes" },
18218
+ {
18219
+ name: "mintArguments",
18220
+ internalType: "struct MintArguments",
18221
+ type: "tuple",
18222
+ components: [
18223
+ { name: "mintRecipient", internalType: "address", type: "address" },
18224
+ { name: "mintComment", internalType: "string", type: "string" },
18225
+ {
18226
+ name: "mintRewardsRecipients",
18227
+ internalType: "address[]",
18228
+ type: "address[]"
18229
+ }
18230
+ ]
18231
+ },
18232
+ { name: "signerContract", internalType: "address", type: "address" }
18233
+ ],
18234
+ name: "collectPremintV2",
18235
+ outputs: [
18236
+ {
18237
+ name: "result",
18238
+ internalType: "struct PremintResult",
18239
+ type: "tuple",
18240
+ components: [
18241
+ { name: "contractAddress", internalType: "address", type: "address" },
18242
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18243
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
18244
+ ]
18245
+ }
18246
+ ],
18247
+ stateMutability: "payable"
18248
+ },
18249
+ {
18250
+ type: "function",
18251
+ inputs: [],
18252
+ name: "contractName",
18253
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18254
+ stateMutability: "pure"
18255
+ },
18256
+ {
18257
+ type: "function",
18258
+ inputs: [],
18259
+ name: "contractURI",
18260
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18261
+ stateMutability: "view"
18262
+ },
18263
+ {
18264
+ type: "function",
18265
+ inputs: [],
18266
+ name: "contractVersion",
18267
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18268
+ stateMutability: "pure"
18269
+ },
18270
+ {
18271
+ type: "function",
18272
+ inputs: [
18273
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18274
+ {
18275
+ name: "tokenConfig",
18276
+ internalType: "struct TokenConfig",
18277
+ type: "tuple",
18278
+ components: [
18279
+ { name: "price", internalType: "uint256", type: "uint256" },
18280
+ { name: "tokenAddress", internalType: "address", type: "address" },
18281
+ { name: "redeemHandler", internalType: "address", type: "address" }
18282
+ ]
18283
+ },
18284
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
18285
+ ],
18286
+ name: "createToken",
18287
+ outputs: [],
18288
+ stateMutability: "nonpayable"
18289
+ },
18290
+ {
18291
+ type: "function",
18292
+ inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
18293
+ name: "decodeMintRecipientAndComment",
18294
+ outputs: [
18295
+ { name: "mintTo", internalType: "address", type: "address" },
18296
+ { name: "mintComment", internalType: "string", type: "string" }
18297
+ ],
18298
+ stateMutability: "pure"
18299
+ },
18300
+ {
18301
+ type: "function",
18302
+ inputs: [],
18303
+ name: "getEthPrice",
18304
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
18305
+ stateMutability: "view"
18306
+ },
18307
+ {
18308
+ type: "function",
18309
+ inputs: [],
18310
+ name: "implementation",
18311
+ outputs: [{ name: "", internalType: "address", type: "address" }],
18312
+ stateMutability: "view"
18313
+ },
18314
+ {
18315
+ type: "function",
18316
+ inputs: [
18317
+ { name: "defaultOwner", internalType: "address", type: "address" },
18318
+ { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
18319
+ { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
18320
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
18321
+ {
18322
+ name: "initialEthTokenPrice",
18323
+ internalType: "uint256",
18324
+ type: "uint256"
18325
+ },
18326
+ { name: "newBaseURI", internalType: "string", type: "string" },
18327
+ { name: "newContractURI", internalType: "string", type: "string" }
18328
+ ],
18329
+ name: "initialize",
18330
+ outputs: [
18331
+ {
18332
+ name: "mints",
18333
+ internalType: "contract IZoraSparks1155",
18334
+ type: "address"
18335
+ }
18336
+ ],
18337
+ stateMutability: "nonpayable"
18338
+ },
18339
+ {
18340
+ type: "function",
18341
+ inputs: [
18342
+ { name: "tokenAddress", internalType: "address", type: "address" },
18343
+ { name: "quantity", internalType: "uint256", type: "uint256" },
18344
+ { name: "recipient", internalType: "address", type: "address" }
18345
+ ],
18346
+ name: "mintWithERC20",
18347
+ outputs: [
18348
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
18349
+ ],
18350
+ stateMutability: "nonpayable"
18351
+ },
18352
+ {
18353
+ type: "function",
18354
+ inputs: [
18355
+ { name: "quantity", internalType: "uint256", type: "uint256" },
18356
+ { name: "recipient", internalType: "address", type: "address" }
18357
+ ],
18358
+ name: "mintWithEth",
18359
+ outputs: [
18360
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
18361
+ ],
18362
+ stateMutability: "payable"
18363
+ },
18364
+ {
18365
+ type: "function",
18366
+ inputs: [],
18367
+ name: "mintableEthToken",
18368
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
18369
+ stateMutability: "view"
18370
+ },
18371
+ {
18372
+ type: "function",
18373
+ inputs: [
18374
+ { name: "", internalType: "address", type: "address" },
18375
+ { name: "from", internalType: "address", type: "address" },
18376
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
18377
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
18378
+ { name: "data", internalType: "bytes", type: "bytes" }
18379
+ ],
18380
+ name: "onERC1155BatchReceived",
18381
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
18382
+ stateMutability: "nonpayable"
18383
+ },
18384
+ {
18385
+ type: "function",
18386
+ inputs: [
18387
+ { name: "", internalType: "address", type: "address" },
18388
+ { name: "from", internalType: "address", type: "address" },
18389
+ { name: "id", internalType: "uint256", type: "uint256" },
18390
+ { name: "value", internalType: "uint256", type: "uint256" },
18391
+ { name: "data", internalType: "bytes", type: "bytes" }
18392
+ ],
18393
+ name: "onERC1155Received",
18394
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
18395
+ stateMutability: "nonpayable"
18396
+ },
18397
+ {
18398
+ type: "function",
18399
+ inputs: [],
18400
+ name: "owner",
18401
+ outputs: [{ name: "", internalType: "address", type: "address" }],
18402
+ stateMutability: "view"
18403
+ },
18404
+ {
18405
+ type: "function",
18406
+ inputs: [],
18407
+ name: "pendingOwner",
18408
+ outputs: [{ name: "", internalType: "address", type: "address" }],
18409
+ stateMutability: "view"
18410
+ },
18411
+ {
18412
+ type: "function",
18413
+ inputs: [],
18414
+ name: "proxiableUUID",
18415
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
18416
+ stateMutability: "view"
18417
+ },
18418
+ {
18419
+ type: "function",
18420
+ inputs: [],
18421
+ name: "renounceOwnership",
18422
+ outputs: [],
18423
+ stateMutability: "nonpayable"
18424
+ },
18425
+ {
18426
+ type: "function",
18427
+ inputs: [
18428
+ { name: "tokenAddress", internalType: "address", type: "address" },
18429
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
18430
+ ],
18431
+ name: "setDefaultMintable",
18432
+ outputs: [],
18433
+ stateMutability: "nonpayable"
18434
+ },
18435
+ {
18436
+ type: "function",
18437
+ inputs: [
18438
+ { name: "newContractURI", internalType: "string", type: "string" },
18439
+ { name: "newBaseURI", internalType: "string", type: "string" },
18440
+ {
18441
+ name: "tokenIdsToNotifyUpdate",
18442
+ internalType: "uint256[]",
18443
+ type: "uint256[]"
18444
+ }
18445
+ ],
18446
+ name: "setMetadataURIs",
18447
+ outputs: [],
18448
+ stateMutability: "nonpayable"
18449
+ },
18450
+ {
18451
+ type: "function",
18452
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
18453
+ name: "transferOwnership",
18454
+ outputs: [],
18455
+ stateMutability: "nonpayable"
18456
+ },
18457
+ {
18458
+ type: "function",
18459
+ inputs: [
18460
+ { name: "newImplementation", internalType: "address", type: "address" },
18461
+ { name: "data", internalType: "bytes", type: "bytes" }
18462
+ ],
18463
+ name: "upgradeToAndCall",
18464
+ outputs: [],
18465
+ stateMutability: "payable"
18466
+ },
18467
+ {
18468
+ type: "function",
18469
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
18470
+ name: "uri",
18471
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18472
+ stateMutability: "view"
18473
+ },
18474
+ {
18475
+ type: "function",
18476
+ inputs: [],
18477
+ name: "zoraSparks1155",
18478
+ outputs: [
18479
+ { name: "", internalType: "contract IZoraSparks1155", type: "address" }
18480
+ ],
18481
+ stateMutability: "view"
18482
+ },
18483
+ {
18484
+ type: "event",
18485
+ anonymous: false,
18486
+ inputs: [
18487
+ {
18488
+ name: "tokenIds",
18489
+ internalType: "uint256[]",
18490
+ type: "uint256[]",
18491
+ indexed: true
18492
+ },
18493
+ {
18494
+ name: "quantities",
18495
+ internalType: "uint256[]",
18496
+ type: "uint256[]",
18497
+ indexed: false
18498
+ },
18499
+ {
18500
+ name: "zoraCreator1155Contract",
18501
+ internalType: "address",
18502
+ type: "address",
18503
+ indexed: true
18504
+ },
18505
+ {
18506
+ name: "zoraCreator1155TokenId",
18507
+ internalType: "uint256",
18508
+ type: "uint256",
18509
+ indexed: true
18510
+ }
18511
+ ],
18512
+ name: "Collected"
18513
+ },
18514
+ {
18515
+ type: "event",
18516
+ anonymous: false,
18517
+ inputs: [
18518
+ {
18519
+ name: "tokenAddress",
18520
+ internalType: "address",
18521
+ type: "address",
18522
+ indexed: false
18523
+ },
18524
+ {
18525
+ name: "tokenId",
18526
+ internalType: "uint256",
18527
+ type: "uint256",
18528
+ indexed: false
18529
+ }
18530
+ ],
18531
+ name: "DefaultMintableTokenSet"
18532
+ },
18533
+ {
18534
+ type: "event",
18535
+ anonymous: false,
18536
+ inputs: [
18537
+ {
18538
+ name: "version",
18539
+ internalType: "uint64",
18540
+ type: "uint64",
18541
+ indexed: false
18542
+ }
18543
+ ],
18544
+ name: "Initialized"
18545
+ },
18546
+ {
18547
+ type: "event",
18548
+ anonymous: false,
18549
+ inputs: [
18550
+ {
18551
+ name: "sender",
18552
+ internalType: "address",
18553
+ type: "address",
18554
+ indexed: true
18555
+ },
18556
+ {
18557
+ name: "tokenContract",
18558
+ internalType: "address",
18559
+ type: "address",
18560
+ indexed: true
18561
+ },
18562
+ {
18563
+ name: "tokenId",
18564
+ internalType: "uint256",
18565
+ type: "uint256",
18566
+ indexed: true
18567
+ },
18568
+ {
18569
+ name: "quantity",
18570
+ internalType: "uint256",
18571
+ type: "uint256",
18572
+ indexed: false
18573
+ },
18574
+ {
18575
+ name: "comment",
18576
+ internalType: "string",
18577
+ type: "string",
18578
+ indexed: false
18579
+ }
18580
+ ],
18581
+ name: "MintComment"
18582
+ },
18583
+ {
18584
+ type: "event",
18585
+ anonymous: false,
18586
+ inputs: [
18587
+ {
18588
+ name: "previousOwner",
18589
+ internalType: "address",
18590
+ type: "address",
18591
+ indexed: true
18592
+ },
18593
+ {
18594
+ name: "newOwner",
18595
+ internalType: "address",
18596
+ type: "address",
18597
+ indexed: true
18598
+ }
18599
+ ],
18600
+ name: "OwnershipTransferStarted"
18601
+ },
18602
+ {
18603
+ type: "event",
18604
+ anonymous: false,
18605
+ inputs: [
18606
+ {
18607
+ name: "previousOwner",
18608
+ internalType: "address",
18609
+ type: "address",
18610
+ indexed: true
18611
+ },
18612
+ {
18613
+ name: "newOwner",
18614
+ internalType: "address",
18615
+ type: "address",
18616
+ indexed: true
18617
+ }
18618
+ ],
18619
+ name: "OwnershipTransferred"
18620
+ },
18621
+ {
18622
+ type: "event",
18623
+ anonymous: false,
18624
+ inputs: [
18625
+ {
18626
+ name: "contractURI",
18627
+ internalType: "string",
18628
+ type: "string",
18629
+ indexed: false
18630
+ },
18631
+ {
18632
+ name: "baseURI",
18633
+ internalType: "string",
18634
+ type: "string",
18635
+ indexed: false
18636
+ }
18637
+ ],
18638
+ name: "URIsUpdated"
18639
+ },
18640
+ {
18641
+ type: "event",
18642
+ anonymous: false,
18643
+ inputs: [
18644
+ {
18645
+ name: "implementation",
18646
+ internalType: "address",
18647
+ type: "address",
18648
+ indexed: true
18649
+ }
18650
+ ],
18651
+ name: "Upgraded"
18652
+ },
18653
+ {
18654
+ type: "error",
18655
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
18656
+ name: "AddressEmptyCode"
18657
+ },
18658
+ {
18659
+ type: "error",
18660
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
18661
+ name: "AddressInsufficientBalance"
18662
+ },
18663
+ {
18664
+ type: "error",
18665
+ inputs: [
18666
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
18667
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
18668
+ ],
18669
+ name: "ArrayLengthMismatch"
18670
+ },
18671
+ {
18672
+ type: "error",
18673
+ inputs: [
18674
+ { name: "operator", internalType: "address", type: "address" },
18675
+ { name: "user", internalType: "address", type: "address" }
18676
+ ],
18677
+ name: "Burn_NotOwnerOrApproved"
18678
+ },
18679
+ {
18680
+ type: "error",
18681
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
18682
+ name: "CallFailed"
18683
+ },
18684
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
18685
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
18686
+ {
18687
+ type: "error",
18688
+ inputs: [
18689
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18690
+ { name: "quantity", internalType: "uint256", type: "uint256" },
18691
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
18692
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
18693
+ ],
18694
+ name: "CannotMintMoreTokens"
18695
+ },
18696
+ {
18697
+ type: "error",
18698
+ inputs: [
18699
+ { name: "proposedAddress", internalType: "address", type: "address" }
18700
+ ],
18701
+ name: "Config_TransferHookNotSupported"
18702
+ },
18703
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
18704
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
18705
+ {
18706
+ type: "error",
18707
+ inputs: [
18708
+ { name: "balance", internalType: "uint256", type: "uint256" },
18709
+ { name: "needed", internalType: "uint256", type: "uint256" }
18710
+ ],
18711
+ name: "Create2InsufficientBalance"
18712
+ },
18713
+ { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
18714
+ { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
18715
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
18716
+ {
18717
+ type: "error",
18718
+ inputs: [
18719
+ { name: "implementation", internalType: "address", type: "address" }
18720
+ ],
18721
+ name: "ERC1967InvalidImplementation"
18722
+ },
18723
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
18724
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
18725
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
18726
+ {
18727
+ type: "error",
18728
+ inputs: [
18729
+ { name: "recipient", internalType: "address", type: "address" },
18730
+ { name: "amount", internalType: "uint256", type: "uint256" }
18731
+ ],
18732
+ name: "ETHWithdrawFailed"
18733
+ },
18734
+ { type: "error", inputs: [], name: "FailedInnerCall" },
18735
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
18736
+ {
18737
+ type: "error",
18738
+ inputs: [
18739
+ { name: "amount", internalType: "uint256", type: "uint256" },
18740
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
18741
+ ],
18742
+ name: "FundsWithdrawInsolvent"
18743
+ },
18744
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
18745
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
18746
+ { type: "error", inputs: [], name: "InvalidInitialization" },
18747
+ {
18748
+ type: "error",
18749
+ inputs: [
18750
+ { name: "mintTo", internalType: "address", type: "address" },
18751
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
18752
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
18753
+ ],
18754
+ name: "InvalidMerkleProof"
18755
+ },
18756
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
18757
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
18758
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
18759
+ { type: "error", inputs: [], name: "InvalidRecipient" },
18760
+ { type: "error", inputs: [], name: "InvalidSignature" },
18761
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
18762
+ {
18763
+ type: "error",
18764
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
18765
+ name: "InvalidSigner"
18766
+ },
18767
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
18768
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
18769
+ { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
18770
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
18771
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
18772
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
18773
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
18774
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
18775
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
18776
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
18777
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
18778
+ { type: "error", inputs: [], name: "NoTokensTransferred" },
18779
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
18780
+ { type: "error", inputs: [], name: "NonEthRedemption" },
18781
+ {
18782
+ type: "error",
18783
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
18784
+ name: "NotARedeemHandler"
18785
+ },
18786
+ { type: "error", inputs: [], name: "NotInitializing" },
18787
+ { type: "error", inputs: [], name: "NotSelfCall" },
18788
+ { type: "error", inputs: [], name: "NotZoraSparks1155" },
18789
+ { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
18790
+ {
18791
+ type: "error",
18792
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
18793
+ name: "OwnableInvalidOwner"
18794
+ },
18795
+ {
18796
+ type: "error",
18797
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
18798
+ name: "OwnableUnauthorizedAccount"
18799
+ },
18800
+ { type: "error", inputs: [], name: "PremintDeleted" },
18801
+ { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
18802
+ {
18803
+ type: "error",
18804
+ inputs: [
18805
+ { name: "caller", internalType: "address", type: "address" },
18806
+ { name: "recipient", internalType: "address", type: "address" },
18807
+ { name: "amount", internalType: "uint256", type: "uint256" }
18808
+ ],
18809
+ name: "ProtocolRewardsWithdrawFailed"
18810
+ },
18811
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
18812
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
18813
+ {
18814
+ type: "error",
18815
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
18816
+ name: "SafeERC20FailedOperation"
18817
+ },
18818
+ { type: "error", inputs: [], name: "SaleEnded" },
18819
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
18820
+ {
18821
+ type: "error",
18822
+ inputs: [
18823
+ { name: "targetContract", internalType: "address", type: "address" }
18824
+ ],
18825
+ name: "Sale_CannotCallNonSalesContract"
18826
+ },
18827
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
18828
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
18829
+ {
18830
+ type: "error",
18831
+ inputs: [
18832
+ { name: "expected", internalType: "uint256", type: "uint256" },
18833
+ { name: "actual", internalType: "uint256", type: "uint256" }
18834
+ ],
18835
+ name: "TokenIdMismatch"
18836
+ },
18837
+ {
18838
+ type: "error",
18839
+ inputs: [
18840
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
18841
+ {
18842
+ name: "expectedTokenAddress",
18843
+ internalType: "address",
18844
+ type: "address"
18845
+ }
18846
+ ],
18847
+ name: "TokenMismatch"
18848
+ },
18849
+ { type: "error", inputs: [], name: "TokenNotMintable" },
18850
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
18851
+ {
18852
+ type: "error",
18853
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
18854
+ name: "UUPSUnsupportedProxiableUUID"
18855
+ },
18856
+ {
18857
+ type: "error",
18858
+ inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
18859
+ name: "UnknownUserAction"
18860
+ },
18861
+ {
18862
+ type: "error",
18863
+ inputs: [
18864
+ { name: "expected", internalType: "string", type: "string" },
18865
+ { name: "actual", internalType: "string", type: "string" }
18866
+ ],
18867
+ name: "UpgradeToMismatchedContractName"
18868
+ },
18869
+ {
18870
+ type: "error",
18871
+ inputs: [
18872
+ { name: "user", internalType: "address", type: "address" },
18873
+ { name: "limit", internalType: "uint256", type: "uint256" },
18874
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
18875
+ ],
18876
+ name: "UserExceedsMintLimit"
18877
+ },
18878
+ {
18879
+ type: "error",
18880
+ inputs: [
18881
+ { name: "user", internalType: "address", type: "address" },
18882
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18883
+ { name: "role", internalType: "uint256", type: "uint256" }
18884
+ ],
18885
+ name: "UserMissingRoleForToken"
18886
+ },
18887
+ { type: "error", inputs: [], name: "WrongValueSent" },
18888
+ {
18889
+ type: "error",
18890
+ inputs: [],
18891
+ name: "premintSignerContractFailedToRecoverSigner"
18892
+ },
18893
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
18894
+ ];
18895
+ var zoraMintsManagerImplAddress = {
18896
+ 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
18897
+ 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
18898
+ };
18899
+ var zoraMintsManagerImplConfig = {
18900
+ address: zoraMintsManagerImplAddress,
18901
+ abi: zoraMintsManagerImplABI
18902
+ };
18903
+ var zoraRouterABI = [
18904
+ {
18905
+ type: "constructor",
18906
+ inputs: [
18907
+ {
18908
+ name: "poolManager_",
18909
+ internalType: "contract IPoolManager",
18910
+ type: "address"
18911
+ },
18912
+ {
18913
+ name: "zoraLimitOrderBook_",
18914
+ internalType: "contract IZoraLimitOrderBook",
18915
+ type: "address"
18916
+ },
18917
+ {
18918
+ name: "swapRouter_",
18919
+ internalType: "contract ISwapRouter",
18920
+ type: "address"
18921
+ }
18922
+ ],
17704
18923
  stateMutability: "nonpayable"
17705
18924
  },
18925
+ { type: "receive", stateMutability: "payable" },
17706
18926
  {
17707
18927
  type: "function",
17708
18928
  inputs: [],
17709
- name: "owner",
17710
- outputs: [{ name: "", internalType: "address", type: "address" }],
18929
+ name: "getLimitOrderConfig",
18930
+ outputs: [
18931
+ {
18932
+ name: "",
18933
+ internalType: "struct LimitOrderConfig",
18934
+ type: "tuple",
18935
+ components: [
18936
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
18937
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
18938
+ ]
18939
+ }
18940
+ ],
17711
18941
  stateMutability: "view"
17712
18942
  },
17713
18943
  {
17714
18944
  type: "function",
17715
18945
  inputs: [],
17716
- name: "pendingOwner",
18946
+ name: "msgSender",
17717
18947
  outputs: [{ name: "", internalType: "address", type: "address" }],
17718
18948
  stateMutability: "view"
17719
18949
  },
17720
18950
  {
17721
18951
  type: "function",
17722
18952
  inputs: [],
17723
- name: "proxiableUUID",
17724
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
17725
- stateMutability: "view"
17726
- },
17727
- {
17728
- type: "function",
17729
- inputs: [],
17730
- name: "renounceOwnership",
17731
- outputs: [],
17732
- stateMutability: "nonpayable"
17733
- },
17734
- {
17735
- type: "function",
17736
- inputs: [
17737
- { name: "tokenAddress", internalType: "address", type: "address" },
17738
- { name: "tokenId", internalType: "uint256", type: "uint256" }
18953
+ name: "poolManager",
18954
+ outputs: [
18955
+ { name: "", internalType: "contract IPoolManager", type: "address" }
17739
18956
  ],
17740
- name: "setDefaultMintable",
17741
- outputs: [],
17742
- stateMutability: "nonpayable"
18957
+ stateMutability: "view"
17743
18958
  },
17744
18959
  {
17745
18960
  type: "function",
17746
18961
  inputs: [
17747
- { name: "newContractURI", internalType: "string", type: "string" },
17748
- { name: "newBaseURI", internalType: "string", type: "string" },
17749
18962
  {
17750
- name: "tokenIdsToNotifyUpdate",
17751
- internalType: "uint256[]",
17752
- type: "uint256[]"
18963
+ name: "config",
18964
+ internalType: "struct LimitOrderConfig",
18965
+ type: "tuple",
18966
+ components: [
18967
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
18968
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
18969
+ ]
17753
18970
  }
17754
18971
  ],
17755
- name: "setMetadataURIs",
18972
+ name: "setLimitOrderConfig",
17756
18973
  outputs: [],
17757
18974
  stateMutability: "nonpayable"
17758
18975
  },
17759
18976
  {
17760
18977
  type: "function",
17761
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
17762
- name: "transferOwnership",
17763
- outputs: [],
17764
- stateMutability: "nonpayable"
18978
+ inputs: [],
18979
+ name: "swapRouter",
18980
+ outputs: [
18981
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
18982
+ ],
18983
+ stateMutability: "view"
17765
18984
  },
17766
18985
  {
17767
18986
  type: "function",
17768
18987
  inputs: [
17769
- { name: "newImplementation", internalType: "address", type: "address" },
17770
- { name: "data", internalType: "bytes", type: "bytes" }
18988
+ {
18989
+ name: "params",
18990
+ internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
18991
+ type: "tuple",
18992
+ components: [
18993
+ { name: "recipient", internalType: "address", type: "address" },
18994
+ {
18995
+ name: "limitOrderConfig",
18996
+ internalType: "struct LimitOrderConfig",
18997
+ type: "tuple",
18998
+ components: [
18999
+ {
19000
+ name: "multiples",
19001
+ internalType: "uint256[]",
19002
+ type: "uint256[]"
19003
+ },
19004
+ {
19005
+ name: "percentages",
19006
+ internalType: "uint256[]",
19007
+ type: "uint256[]"
19008
+ }
19009
+ ]
19010
+ },
19011
+ { name: "inputCurrency", internalType: "address", type: "address" },
19012
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
19013
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
19014
+ {
19015
+ name: "v4Route",
19016
+ internalType: "struct PoolKey[]",
19017
+ type: "tuple[]",
19018
+ components: [
19019
+ { name: "currency0", internalType: "Currency", type: "address" },
19020
+ { name: "currency1", internalType: "Currency", type: "address" },
19021
+ { name: "fee", internalType: "uint24", type: "uint24" },
19022
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
19023
+ {
19024
+ name: "hooks",
19025
+ internalType: "contract IHooks",
19026
+ type: "address"
19027
+ }
19028
+ ]
19029
+ },
19030
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
19031
+ ]
19032
+ }
19033
+ ],
19034
+ name: "swapWithLimitOrders",
19035
+ outputs: [
19036
+ { name: "delta", internalType: "BalanceDelta", type: "int256" },
19037
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
19038
+ { name: "ordersFilled", internalType: "uint256", type: "uint256" }
17771
19039
  ],
17772
- name: "upgradeToAndCall",
17773
- outputs: [],
17774
19040
  stateMutability: "payable"
17775
19041
  },
17776
19042
  {
17777
19043
  type: "function",
17778
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17779
- name: "uri",
17780
- outputs: [{ name: "", internalType: "string", type: "string" }],
17781
- stateMutability: "view"
19044
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
19045
+ name: "unlockCallback",
19046
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
19047
+ stateMutability: "nonpayable"
17782
19048
  },
17783
19049
  {
17784
19050
  type: "function",
17785
19051
  inputs: [],
17786
- name: "zoraSparks1155",
19052
+ name: "zoraLimitOrderBook",
17787
19053
  outputs: [
17788
- { name: "", internalType: "contract IZoraSparks1155", type: "address" }
19054
+ {
19055
+ name: "",
19056
+ internalType: "contract IZoraLimitOrderBook",
19057
+ type: "address"
19058
+ }
17789
19059
  ],
17790
19060
  stateMutability: "view"
17791
19061
  },
@@ -17794,63 +19064,57 @@ var zoraMintsManagerImplABI = [
17794
19064
  anonymous: false,
17795
19065
  inputs: [
17796
19066
  {
17797
- name: "tokenIds",
19067
+ name: "multiples",
17798
19068
  internalType: "uint256[]",
17799
19069
  type: "uint256[]",
17800
- indexed: true
19070
+ indexed: false
17801
19071
  },
17802
19072
  {
17803
- name: "quantities",
19073
+ name: "percentages",
17804
19074
  internalType: "uint256[]",
17805
19075
  type: "uint256[]",
17806
19076
  indexed: false
17807
- },
17808
- {
17809
- name: "zoraCreator1155Contract",
17810
- internalType: "address",
17811
- type: "address",
17812
- indexed: true
17813
- },
17814
- {
17815
- name: "zoraCreator1155TokenId",
17816
- internalType: "uint256",
17817
- type: "uint256",
17818
- indexed: true
17819
19077
  }
17820
19078
  ],
17821
- name: "Collected"
19079
+ name: "LimitOrderConfigUpdated"
17822
19080
  },
17823
19081
  {
17824
19082
  type: "event",
17825
19083
  anonymous: false,
17826
19084
  inputs: [
17827
19085
  {
17828
- name: "tokenAddress",
19086
+ name: "maker",
17829
19087
  internalType: "address",
17830
19088
  type: "address",
19089
+ indexed: true
19090
+ },
19091
+ {
19092
+ name: "orderIds",
19093
+ internalType: "bytes32[]",
19094
+ type: "bytes32[]",
17831
19095
  indexed: false
17832
19096
  },
17833
19097
  {
17834
- name: "tokenId",
19098
+ name: "totalOrderSize",
17835
19099
  internalType: "uint256",
17836
19100
  type: "uint256",
17837
19101
  indexed: false
17838
19102
  }
17839
19103
  ],
17840
- name: "DefaultMintableTokenSet"
19104
+ name: "LimitOrdersCreated"
17841
19105
  },
17842
19106
  {
17843
19107
  type: "event",
17844
19108
  anonymous: false,
17845
19109
  inputs: [
17846
19110
  {
17847
- name: "version",
17848
- internalType: "uint64",
17849
- type: "uint64",
19111
+ name: "ordersFilled",
19112
+ internalType: "uint256",
19113
+ type: "uint256",
17850
19114
  indexed: false
17851
19115
  }
17852
19116
  ],
17853
- name: "Initialized"
19117
+ name: "LimitOrdersFilled"
17854
19118
  },
17855
19119
  {
17856
19120
  type: "event",
@@ -17863,351 +19127,328 @@ var zoraMintsManagerImplABI = [
17863
19127
  indexed: true
17864
19128
  },
17865
19129
  {
17866
- name: "tokenContract",
19130
+ name: "recipient",
17867
19131
  internalType: "address",
17868
19132
  type: "address",
17869
19133
  indexed: true
17870
19134
  },
17871
19135
  {
17872
- name: "tokenId",
17873
- internalType: "uint256",
17874
- type: "uint256",
17875
- indexed: true
19136
+ name: "poolKey",
19137
+ internalType: "struct PoolKey",
19138
+ type: "tuple",
19139
+ components: [
19140
+ { name: "currency0", internalType: "Currency", type: "address" },
19141
+ { name: "currency1", internalType: "Currency", type: "address" },
19142
+ { name: "fee", internalType: "uint24", type: "uint24" },
19143
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
19144
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
19145
+ ],
19146
+ indexed: false
17876
19147
  },
17877
19148
  {
17878
- name: "quantity",
17879
- internalType: "uint256",
17880
- type: "uint256",
19149
+ name: "delta",
19150
+ internalType: "BalanceDelta",
19151
+ type: "int256",
17881
19152
  indexed: false
17882
19153
  },
17883
19154
  {
17884
- name: "comment",
17885
- internalType: "string",
17886
- type: "string",
19155
+ name: "tickBeforeSwap",
19156
+ internalType: "int24",
19157
+ type: "int24",
17887
19158
  indexed: false
17888
- }
17889
- ],
17890
- name: "MintComment"
17891
- },
17892
- {
17893
- type: "event",
17894
- anonymous: false,
17895
- inputs: [
17896
- {
17897
- name: "previousOwner",
17898
- internalType: "address",
17899
- type: "address",
17900
- indexed: true
17901
19159
  },
17902
19160
  {
17903
- name: "newOwner",
17904
- internalType: "address",
17905
- type: "address",
17906
- indexed: true
17907
- }
17908
- ],
17909
- name: "OwnershipTransferStarted"
17910
- },
17911
- {
17912
- type: "event",
17913
- anonymous: false,
17914
- inputs: [
17915
- {
17916
- name: "previousOwner",
17917
- internalType: "address",
17918
- type: "address",
17919
- indexed: true
19161
+ name: "tickAfterSwap",
19162
+ internalType: "int24",
19163
+ type: "int24",
19164
+ indexed: false
17920
19165
  },
17921
19166
  {
17922
- name: "newOwner",
17923
- internalType: "address",
17924
- type: "address",
17925
- indexed: true
17926
- }
17927
- ],
17928
- name: "OwnershipTransferred"
17929
- },
17930
- {
17931
- type: "event",
17932
- anonymous: false,
17933
- inputs: [
17934
- {
17935
- name: "contractURI",
17936
- internalType: "string",
17937
- type: "string",
19167
+ name: "orderIds",
19168
+ internalType: "bytes32[]",
19169
+ type: "bytes32[]",
17938
19170
  indexed: false
17939
19171
  },
17940
19172
  {
17941
- name: "baseURI",
17942
- internalType: "string",
17943
- type: "string",
19173
+ name: "ordersFilled",
19174
+ internalType: "uint256",
19175
+ type: "uint256",
17944
19176
  indexed: false
17945
19177
  }
17946
19178
  ],
17947
- name: "URIsUpdated"
19179
+ name: "SwapWithLimitOrdersExecuted"
17948
19180
  },
19181
+ { type: "error", inputs: [], name: "EmptyV4Route" },
17949
19182
  {
17950
- type: "event",
17951
- anonymous: false,
19183
+ type: "error",
17952
19184
  inputs: [
17953
- {
17954
- name: "implementation",
17955
- internalType: "address",
17956
- type: "address",
17957
- indexed: true
17958
- }
19185
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
19186
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
17959
19187
  ],
17960
- name: "Upgraded"
19188
+ name: "InsufficientInputCurrency"
19189
+ },
19190
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
19191
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
19192
+ { type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
19193
+ { type: "error", inputs: [], name: "InvalidMultiple" },
19194
+ { type: "error", inputs: [], name: "InvalidPercent" },
19195
+ { type: "error", inputs: [], name: "LengthMismatch" },
19196
+ { type: "error", inputs: [], name: "OnlyAuthority" },
19197
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
19198
+ { type: "error", inputs: [], name: "PercentOverflow" },
19199
+ {
19200
+ type: "error",
19201
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
19202
+ name: "SafeERC20FailedOperation"
19203
+ },
19204
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
19205
+ { type: "error", inputs: [], name: "ZeroSwapDelta" },
19206
+ { type: "error", inputs: [], name: "AddressZero" },
19207
+ { type: "error", inputs: [], name: "AlreadyOwner" },
19208
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
19209
+ {
19210
+ type: "error",
19211
+ inputs: [],
19212
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
17961
19213
  },
19214
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
17962
19215
  {
17963
19216
  type: "error",
17964
- inputs: [{ name: "target", internalType: "address", type: "address" }],
17965
- name: "AddressEmptyCode"
19217
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
19218
+ name: "ECDSAInvalidSignatureLength"
17966
19219
  },
17967
19220
  {
17968
19221
  type: "error",
17969
- inputs: [{ name: "account", internalType: "address", type: "address" }],
17970
- name: "AddressInsufficientBalance"
19222
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
19223
+ name: "ECDSAInvalidSignatureS"
17971
19224
  },
17972
19225
  {
17973
19226
  type: "error",
17974
19227
  inputs: [
17975
- { name: "lengthA", internalType: "uint256", type: "uint256" },
17976
- { name: "lengthB", internalType: "uint256", type: "uint256" }
19228
+ { name: "spender", internalType: "address", type: "address" },
19229
+ { name: "allowance", internalType: "uint256", type: "uint256" },
19230
+ { name: "needed", internalType: "uint256", type: "uint256" }
17977
19231
  ],
17978
- name: "ArrayLengthMismatch"
19232
+ name: "ERC20InsufficientAllowance"
17979
19233
  },
17980
19234
  {
17981
19235
  type: "error",
17982
19236
  inputs: [
17983
- { name: "operator", internalType: "address", type: "address" },
17984
- { name: "user", internalType: "address", type: "address" }
19237
+ { name: "sender", internalType: "address", type: "address" },
19238
+ { name: "balance", internalType: "uint256", type: "uint256" },
19239
+ { name: "needed", internalType: "uint256", type: "uint256" }
17985
19240
  ],
17986
- name: "Burn_NotOwnerOrApproved"
19241
+ name: "ERC20InsufficientBalance"
17987
19242
  },
17988
19243
  {
17989
19244
  type: "error",
17990
- inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
17991
- name: "CallFailed"
19245
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
19246
+ name: "ERC20InvalidApprover"
17992
19247
  },
17993
- { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
17994
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
17995
19248
  {
17996
19249
  type: "error",
17997
- inputs: [
17998
- { name: "tokenId", internalType: "uint256", type: "uint256" },
17999
- { name: "quantity", internalType: "uint256", type: "uint256" },
18000
- { name: "totalMinted", internalType: "uint256", type: "uint256" },
18001
- { name: "maxSupply", internalType: "uint256", type: "uint256" }
18002
- ],
18003
- name: "CannotMintMoreTokens"
19250
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
19251
+ name: "ERC20InvalidReceiver"
18004
19252
  },
18005
19253
  {
18006
19254
  type: "error",
18007
- inputs: [
18008
- { name: "proposedAddress", internalType: "address", type: "address" }
18009
- ],
18010
- name: "Config_TransferHookNotSupported"
19255
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
19256
+ name: "ERC20InvalidSender"
18011
19257
  },
18012
- { type: "error", inputs: [], name: "Create2EmptyBytecode" },
18013
- { type: "error", inputs: [], name: "Create2FailedDeployment" },
18014
19258
  {
18015
19259
  type: "error",
18016
- inputs: [
18017
- { name: "balance", internalType: "uint256", type: "uint256" },
18018
- { name: "needed", internalType: "uint256", type: "uint256" }
18019
- ],
18020
- name: "Create2InsufficientBalance"
19260
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
19261
+ name: "ERC20InvalidSpender"
18021
19262
  },
18022
- { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
18023
- { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
18024
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
19263
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
18025
19264
  {
18026
19265
  type: "error",
18027
- inputs: [
18028
- { name: "implementation", internalType: "address", type: "address" }
18029
- ],
18030
- name: "ERC1967InvalidImplementation"
19266
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
19267
+ name: "ERC2612ExpiredSignature"
18031
19268
  },
18032
- { type: "error", inputs: [], name: "ERC1967NonPayable" },
18033
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
18034
- { type: "error", inputs: [], name: "ETHTransferFailed" },
18035
19269
  {
18036
19270
  type: "error",
18037
19271
  inputs: [
18038
- { name: "recipient", internalType: "address", type: "address" },
18039
- { name: "amount", internalType: "uint256", type: "uint256" }
19272
+ { name: "signer", internalType: "address", type: "address" },
19273
+ { name: "owner", internalType: "address", type: "address" }
18040
19274
  ],
18041
- name: "ETHWithdrawFailed"
19275
+ name: "ERC2612InvalidSigner"
18042
19276
  },
18043
- { type: "error", inputs: [], name: "FailedInnerCall" },
18044
- { type: "error", inputs: [], name: "FirstMinterAddressZero" },
19277
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
19278
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
19279
+ { type: "error", inputs: [], name: "EthTransferFailed" },
19280
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
19281
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
19282
+ { type: "error", inputs: [], name: "InsufficientFunds" },
19283
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
18045
19284
  {
18046
19285
  type: "error",
18047
19286
  inputs: [
18048
- { name: "amount", internalType: "uint256", type: "uint256" },
18049
- { name: "contractValue", internalType: "uint256", type: "uint256" }
19287
+ { name: "account", internalType: "address", type: "address" },
19288
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
18050
19289
  ],
18051
- name: "FundsWithdrawInsolvent"
19290
+ name: "InvalidAccountNonce"
18052
19291
  },
18053
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
18054
- { type: "error", inputs: [], name: "InvalidAdminAction" },
19292
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
18055
19293
  { type: "error", inputs: [], name: "InvalidInitialization" },
19294
+ { type: "error", inputs: [], name: "InvalidMarketType" },
19295
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
18056
19296
  {
18057
19297
  type: "error",
18058
19298
  inputs: [
18059
- { name: "mintTo", internalType: "address", type: "address" },
18060
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
18061
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
19299
+ { name: "tickLower", internalType: "int24", type: "int24" },
19300
+ { name: "tickUpper", internalType: "int24", type: "int24" }
18062
19301
  ],
18063
- name: "InvalidMerkleProof"
18064
- },
18065
- { type: "error", inputs: [], name: "InvalidMintSchedule" },
18066
- { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
18067
- { type: "error", inputs: [], name: "InvalidPremintVersion" },
18068
- { type: "error", inputs: [], name: "InvalidRecipient" },
18069
- { type: "error", inputs: [], name: "InvalidSignature" },
18070
- { type: "error", inputs: [], name: "InvalidSignatureVersion" },
18071
- {
18072
- type: "error",
18073
- inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
18074
- name: "InvalidSigner"
19302
+ name: "InvalidTickRangeMisordered"
18075
19303
  },
18076
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
18077
- { type: "error", inputs: [], name: "MintNotYetStarted" },
18078
- { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
18079
- { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
18080
- { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
18081
- { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
18082
- { type: "error", inputs: [], name: "Mint_UnknownCommand" },
18083
- { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
18084
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
18085
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
18086
- { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
18087
- { type: "error", inputs: [], name: "NoTokensTransferred" },
18088
- { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
18089
- { type: "error", inputs: [], name: "NonEthRedemption" },
19304
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
19305
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
19306
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
19307
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
18090
19308
  {
18091
19309
  type: "error",
18092
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
18093
- name: "NotARedeemHandler"
19310
+ inputs: [
19311
+ { name: "value", internalType: "uint256", type: "uint256" },
19312
+ { name: "limit", internalType: "uint256", type: "uint256" }
19313
+ ],
19314
+ name: "MaxShareToBeSoldExceeded"
18094
19315
  },
19316
+ { type: "error", inputs: [], name: "NameIsRequired" },
18095
19317
  { type: "error", inputs: [], name: "NotInitializing" },
18096
- { type: "error", inputs: [], name: "NotSelfCall" },
18097
- { type: "error", inputs: [], name: "NotZoraSparks1155" },
18098
- { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
18099
- {
18100
- type: "error",
18101
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
18102
- name: "OwnableInvalidOwner"
18103
- },
18104
- {
18105
- type: "error",
18106
- inputs: [{ name: "account", internalType: "address", type: "address" }],
18107
- name: "OwnableUnauthorizedAccount"
18108
- },
18109
- { type: "error", inputs: [], name: "PremintDeleted" },
18110
- { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
19318
+ { type: "error", inputs: [], name: "NotOwner" },
19319
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
19320
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
19321
+ { type: "error", inputs: [], name: "OnlyOwner" },
18111
19322
  {
18112
19323
  type: "error",
18113
19324
  inputs: [
18114
- { name: "caller", internalType: "address", type: "address" },
18115
- { name: "recipient", internalType: "address", type: "address" },
18116
- { name: "amount", internalType: "uint256", type: "uint256" }
19325
+ { name: "sender", internalType: "address", type: "address" },
19326
+ { name: "pool", internalType: "address", type: "address" }
18117
19327
  ],
18118
- name: "ProtocolRewardsWithdrawFailed"
19328
+ name: "OnlyPool"
18119
19329
  },
18120
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
18121
- { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
19330
+ { type: "error", inputs: [], name: "OnlyWeth" },
19331
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
19332
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
19333
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
19334
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
19335
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
19336
+ { type: "error", inputs: [], name: "EthTransferFailed" },
19337
+ { type: "error", inputs: [], name: "HookNotImplemented" },
18122
19338
  {
18123
19339
  type: "error",
18124
- inputs: [{ name: "token", internalType: "address", type: "address" }],
18125
- name: "SafeERC20FailedOperation"
19340
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
19341
+ name: "InvalidCallbackId"
18126
19342
  },
18127
- { type: "error", inputs: [], name: "SaleEnded" },
18128
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
18129
19343
  {
18130
19344
  type: "error",
18131
- inputs: [
18132
- { name: "targetContract", internalType: "address", type: "address" }
18133
- ],
18134
- name: "Sale_CannotCallNonSalesContract"
19345
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
19346
+ name: "InvalidNewHook"
18135
19347
  },
18136
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
18137
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
18138
19348
  {
18139
19349
  type: "error",
18140
19350
  inputs: [
18141
- { name: "expected", internalType: "uint256", type: "uint256" },
18142
- { name: "actual", internalType: "uint256", type: "uint256" }
19351
+ { name: "tickLower", internalType: "int24", type: "int24" },
19352
+ { name: "tickUpper", internalType: "int24", type: "int24" }
18143
19353
  ],
18144
- name: "TokenIdMismatch"
19354
+ name: "InvalidTickRangeMisordered"
18145
19355
  },
18146
19356
  {
18147
19357
  type: "error",
18148
19358
  inputs: [
18149
- { name: "storedTokenAddress", internalType: "address", type: "address" },
18150
19359
  {
18151
- name: "expectedTokenAddress",
18152
- internalType: "address",
18153
- type: "address"
19360
+ name: "key",
19361
+ internalType: "struct PoolKey",
19362
+ type: "tuple",
19363
+ components: [
19364
+ { name: "currency0", internalType: "Currency", type: "address" },
19365
+ { name: "currency1", internalType: "Currency", type: "address" },
19366
+ { name: "fee", internalType: "uint24", type: "uint24" },
19367
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
19368
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
19369
+ ]
18154
19370
  }
18155
19371
  ],
18156
- name: "TokenMismatch"
19372
+ name: "NoCoinForHook"
18157
19373
  },
18158
- { type: "error", inputs: [], name: "TokenNotMintable" },
18159
- { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
18160
19374
  {
18161
19375
  type: "error",
18162
- inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
18163
- name: "UUPSUnsupportedProxiableUUID"
19376
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
19377
+ name: "NotACoin"
18164
19378
  },
19379
+ { type: "error", inputs: [], name: "NotPoolManager" },
18165
19380
  {
18166
19381
  type: "error",
18167
- inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
18168
- name: "UnknownUserAction"
19382
+ inputs: [
19383
+ { name: "caller", internalType: "address", type: "address" },
19384
+ { name: "expectedCoin", internalType: "address", type: "address" }
19385
+ ],
19386
+ name: "OnlyCoin"
18169
19387
  },
19388
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
19389
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
18170
19390
  {
18171
19391
  type: "error",
18172
- inputs: [
18173
- { name: "expected", internalType: "string", type: "string" },
18174
- { name: "actual", internalType: "string", type: "string" }
18175
- ],
18176
- name: "UpgradeToMismatchedContractName"
19392
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
19393
+ name: "SafeERC20FailedOperation"
18177
19394
  },
18178
19395
  {
18179
19396
  type: "error",
18180
- inputs: [
18181
- { name: "user", internalType: "address", type: "address" },
18182
- { name: "limit", internalType: "uint256", type: "uint256" },
18183
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
18184
- ],
18185
- name: "UserExceedsMintLimit"
19397
+ inputs: [],
19398
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
18186
19399
  },
19400
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
18187
19401
  {
18188
19402
  type: "error",
18189
19403
  inputs: [
18190
- { name: "user", internalType: "address", type: "address" },
18191
- { name: "tokenId", internalType: "uint256", type: "uint256" },
18192
- { name: "role", internalType: "uint256", type: "uint256" }
19404
+ { name: "oldHook", internalType: "address", type: "address" },
19405
+ { name: "newHook", internalType: "address", type: "address" }
18193
19406
  ],
18194
- name: "UserMissingRoleForToken"
19407
+ name: "UpgradePathNotRegistered"
18195
19408
  },
18196
- { type: "error", inputs: [], name: "WrongValueSent" },
18197
19409
  {
18198
19410
  type: "error",
18199
- inputs: [],
18200
- name: "premintSignerContractFailedToRecoverSigner"
19411
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
19412
+ name: "AccessManagedInvalidAuthority"
18201
19413
  },
18202
- { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
19414
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
19415
+ { type: "error", inputs: [], name: "AddressZero" },
19416
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
19417
+ { type: "error", inputs: [], name: "InsufficientBalance" },
19418
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
19419
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
19420
+ {
19421
+ type: "error",
19422
+ inputs: [
19423
+ { name: "startTick", internalType: "int24", type: "int24" },
19424
+ { name: "endTick", internalType: "int24", type: "int24" },
19425
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
19426
+ ],
19427
+ name: "InvalidFillWindow"
19428
+ },
19429
+ { type: "error", inputs: [], name: "InvalidOrder" },
19430
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
19431
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
19432
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
19433
+ { type: "error", inputs: [], name: "NotPoolManager" },
19434
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
19435
+ { type: "error", inputs: [], name: "OrderClosed" },
19436
+ { type: "error", inputs: [], name: "OrderNotMaker" },
19437
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
19438
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
19439
+ { type: "error", inputs: [], name: "UnknownCallback" },
19440
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
19441
+ { type: "error", inputs: [], name: "ZeroMaker" },
19442
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
19443
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
19444
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
18203
19445
  ];
18204
- var zoraMintsManagerImplAddress = {
18205
- 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
18206
- 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
19446
+ var zoraRouterAddress = {
19447
+ 8453: "0xc5d3739fb77046c75f418b746296327A1a90cc55"
18207
19448
  };
18208
- var zoraMintsManagerImplConfig = {
18209
- address: zoraMintsManagerImplAddress,
18210
- abi: zoraMintsManagerImplABI
19449
+ var zoraRouterConfig = {
19450
+ address: zoraRouterAddress,
19451
+ abi: zoraRouterABI
18211
19452
  };
18212
19453
  var zoraSparks1155ABI = [
18213
19454
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
@@ -21137,6 +22378,20 @@ var chainConfigs2 = {
21137
22378
  PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
21138
22379
  ZORA_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
21139
22380
  WETH: "0x4200000000000000000000000000000000000006"
22381
+ },
22382
+ NaN: {
22383
+ NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
22384
+ UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
22385
+ UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
22386
+ UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
22387
+ DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
22388
+ PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
22389
+ ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
22390
+ WETH: "0x4200000000000000000000000000000000000006",
22391
+ UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
22392
+ UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
22393
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
22394
+ UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
21140
22395
  }
21141
22396
  };
21142
22397
  var addresses2 = {
@@ -21279,9 +22534,6 @@ var addresses2 = {
21279
22534
  uniswapQuoterV2ABI,
21280
22535
  uniswapQuoterV2Address,
21281
22536
  uniswapQuoterV2Config,
21282
- uniswapUniversalRouterABI,
21283
- uniswapUniversalRouterAddress,
21284
- uniswapUniversalRouterConfig,
21285
22537
  uniswapV3SwapRouterABI,
21286
22538
  uniswapV3SwapRouterAddress,
21287
22539
  uniswapV3SwapRouterConfig,
@@ -21310,12 +22562,18 @@ var addresses2 = {
21310
22562
  zoraCreatorRedeemMinterFactoryABI,
21311
22563
  zoraCreatorRedeemMinterFactoryAddress,
21312
22564
  zoraCreatorRedeemMinterFactoryConfig,
22565
+ zoraLimitOrderBookABI,
22566
+ zoraLimitOrderBookAddress,
22567
+ zoraLimitOrderBookConfig,
21313
22568
  zoraMints1155ABI,
21314
22569
  zoraMints1155Address,
21315
22570
  zoraMints1155Config,
21316
22571
  zoraMintsManagerImplABI,
21317
22572
  zoraMintsManagerImplAddress,
21318
22573
  zoraMintsManagerImplConfig,
22574
+ zoraRouterABI,
22575
+ zoraRouterAddress,
22576
+ zoraRouterConfig,
21319
22577
  zoraSparks1155ABI,
21320
22578
  zoraSparks1155Address,
21321
22579
  zoraSparks1155Config,