@zoralabs/protocol-deployments 0.6.4 → 0.6.5-PRE.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,479 @@ 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: "currentTick",
16851
+ internalType: "int24",
16852
+ type: "int24",
16853
+ indexed: false
16854
+ },
16855
+ {
16856
+ name: "orderSize",
16857
+ internalType: "uint128",
16858
+ type: "uint128",
16859
+ indexed: false
16860
+ },
16861
+ {
16862
+ name: "orderId",
16863
+ internalType: "bytes32",
16864
+ type: "bytes32",
16865
+ indexed: false
16916
16866
  }
16917
16867
  ],
16918
- stateMutability: "nonpayable"
16868
+ name: "LimitOrderCreated"
16919
16869
  },
16920
16870
  {
16921
- type: "function",
16871
+ type: "event",
16872
+ anonymous: false,
16922
16873
  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
16874
  {
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",
16875
+ name: "maker",
17038
16876
  internalType: "address",
17039
16877
  type: "address",
17040
16878
  indexed: true
17041
16879
  },
17042
16880
  {
17043
- name: "operator",
16881
+ name: "coinIn",
17044
16882
  internalType: "address",
17045
16883
  type: "address",
17046
16884
  indexed: true
17047
16885
  },
17048
- { name: "approved", internalType: "bool", type: "bool", indexed: false }
17049
- ],
17050
- name: "ApprovalForAll"
17051
- },
17052
- {
17053
- type: "event",
17054
- anonymous: false,
17055
- inputs: [
17056
16886
  {
17057
- name: "authority",
16887
+ name: "coinOut",
17058
16888
  internalType: "address",
17059
16889
  type: "address",
17060
16890
  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: [
16891
+ },
17071
16892
  {
17072
- name: "tokenId",
17073
- internalType: "uint256",
17074
- type: "uint256",
17075
- indexed: true
16893
+ name: "amountIn",
16894
+ internalType: "uint128",
16895
+ type: "uint128",
16896
+ indexed: false
17076
16897
  },
17077
16898
  {
17078
- name: "price",
17079
- internalType: "uint256",
17080
- type: "uint256",
17081
- indexed: true
16899
+ name: "amountOut",
16900
+ internalType: "uint128",
16901
+ type: "uint128",
16902
+ indexed: false
17082
16903
  },
17083
16904
  {
17084
- name: "tokenAddress",
16905
+ name: "fillReferral",
17085
16906
  internalType: "address",
17086
16907
  type: "address",
17087
- indexed: true
17088
- }
17089
- ],
17090
- name: "TokenCreated"
17091
- },
17092
- {
17093
- type: "event",
17094
- anonymous: false,
17095
- inputs: [
16908
+ indexed: false
16909
+ },
17096
16910
  {
17097
- name: "operator",
17098
- internalType: "address",
17099
- type: "address",
17100
- indexed: true
16911
+ name: "fillReferralAmount",
16912
+ internalType: "uint128",
16913
+ type: "uint128",
16914
+ indexed: false
17101
16915
  },
17102
- { name: "from", internalType: "address", type: "address", indexed: true },
17103
- { name: "to", internalType: "address", type: "address", indexed: true },
17104
16916
  {
17105
- name: "ids",
17106
- internalType: "uint256[]",
17107
- type: "uint256[]",
16917
+ name: "poolKeyHash",
16918
+ internalType: "bytes32",
16919
+ type: "bytes32",
17108
16920
  indexed: false
17109
16921
  },
16922
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
17110
16923
  {
17111
- name: "values",
17112
- internalType: "uint256[]",
17113
- type: "uint256[]",
16924
+ name: "orderId",
16925
+ internalType: "bytes32",
16926
+ type: "bytes32",
17114
16927
  indexed: false
17115
16928
  }
17116
16929
  ],
17117
- name: "TransferBatch"
16930
+ name: "LimitOrderFilled"
17118
16931
  },
17119
16932
  {
17120
16933
  type: "event",
17121
16934
  anonymous: false,
17122
16935
  inputs: [
17123
16936
  {
17124
- name: "operator",
16937
+ name: "maker",
17125
16938
  internalType: "address",
17126
16939
  type: "address",
17127
16940
  indexed: true
17128
16941
  },
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 },
16942
+ { name: "coin", internalType: "address", type: "address", indexed: true },
17132
16943
  {
17133
- name: "value",
17134
- internalType: "uint256",
17135
- type: "uint256",
16944
+ name: "poolKeyHash",
16945
+ internalType: "bytes32",
16946
+ type: "bytes32",
16947
+ indexed: false
16948
+ },
16949
+ {
16950
+ name: "isCurrency0",
16951
+ internalType: "bool",
16952
+ type: "bool",
16953
+ indexed: false
16954
+ },
16955
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
16956
+ {
16957
+ name: "orderSize",
16958
+ internalType: "uint128",
16959
+ type: "uint128",
16960
+ indexed: false
16961
+ },
16962
+ {
16963
+ name: "orderId",
16964
+ internalType: "bytes32",
16965
+ type: "bytes32",
16966
+ indexed: false
16967
+ },
16968
+ {
16969
+ name: "isCancelled",
16970
+ internalType: "bool",
16971
+ type: "bool",
17136
16972
  indexed: false
17137
16973
  }
17138
16974
  ],
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"
16975
+ name: "LimitOrderUpdated"
17149
16976
  },
17150
16977
  {
17151
16978
  type: "event",
17152
16979
  anonymous: false,
17153
16980
  inputs: [
17154
16981
  {
17155
- name: "contractURI",
17156
- internalType: "string",
17157
- type: "string",
17158
- indexed: false
16982
+ name: "maker",
16983
+ internalType: "address",
16984
+ type: "address",
16985
+ indexed: true
17159
16986
  },
16987
+ { name: "coin", internalType: "address", type: "address", indexed: true },
17160
16988
  {
17161
- name: "baseURI",
17162
- internalType: "string",
17163
- type: "string",
16989
+ name: "balance",
16990
+ internalType: "uint128",
16991
+ type: "uint128",
17164
16992
  indexed: false
17165
16993
  }
17166
16994
  ],
17167
- name: "URIsUpdated"
16995
+ name: "MakerBalanceUpdated"
17168
16996
  },
17169
16997
  {
17170
16998
  type: "error",
17171
16999
  inputs: [{ name: "authority", internalType: "address", type: "address" }],
17172
17000
  name: "AccessManagedInvalidAuthority"
17173
17001
  },
17002
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
17003
+ { type: "error", inputs: [], name: "AddressZero" },
17004
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
17005
+ { type: "error", inputs: [], name: "InsufficientBalance" },
17006
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
17007
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
17008
+ {
17009
+ type: "error",
17010
+ inputs: [
17011
+ { name: "startTick", internalType: "int24", type: "int24" },
17012
+ { name: "endTick", internalType: "int24", type: "int24" },
17013
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
17014
+ ],
17015
+ name: "InvalidFillWindow"
17016
+ },
17017
+ { type: "error", inputs: [], name: "InvalidOrder" },
17018
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
17019
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
17020
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
17021
+ { type: "error", inputs: [], name: "NotPoolManager" },
17022
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
17023
+ { type: "error", inputs: [], name: "OrderClosed" },
17024
+ { type: "error", inputs: [], name: "OrderNotMaker" },
17025
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17026
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
17027
+ { type: "error", inputs: [], name: "UnknownCallback" },
17028
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
17029
+ { type: "error", inputs: [], name: "ZeroMaker" },
17030
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
17031
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
17032
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
17033
+ { type: "error", inputs: [], name: "AddressZero" },
17034
+ { type: "error", inputs: [], name: "AlreadyOwner" },
17035
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
17174
17036
  {
17175
17037
  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"
17038
+ inputs: [],
17039
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
17186
17040
  },
17041
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
17187
17042
  {
17188
17043
  type: "error",
17189
- inputs: [{ name: "target", internalType: "address", type: "address" }],
17190
- name: "AddressEmptyCode"
17044
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
17045
+ name: "ECDSAInvalidSignatureLength"
17191
17046
  },
17192
17047
  {
17193
17048
  type: "error",
17194
- inputs: [{ name: "account", internalType: "address", type: "address" }],
17195
- name: "AddressInsufficientBalance"
17049
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
17050
+ name: "ECDSAInvalidSignatureS"
17196
17051
  },
17197
17052
  {
17198
17053
  type: "error",
17199
17054
  inputs: [
17200
- { name: "lengthA", internalType: "uint256", type: "uint256" },
17201
- { name: "lengthB", internalType: "uint256", type: "uint256" }
17055
+ { name: "spender", internalType: "address", type: "address" },
17056
+ { name: "allowance", internalType: "uint256", type: "uint256" },
17057
+ { name: "needed", internalType: "uint256", type: "uint256" }
17202
17058
  ],
17203
- name: "ArrayLengthMismatch"
17204
- },
17205
- {
17206
- type: "error",
17207
- inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
17208
- name: "CallFailed"
17059
+ name: "ERC20InsufficientAllowance"
17209
17060
  },
17210
17061
  {
17211
17062
  type: "error",
17212
17063
  inputs: [
17213
17064
  { name: "sender", internalType: "address", type: "address" },
17214
17065
  { name: "balance", internalType: "uint256", type: "uint256" },
17215
- { name: "needed", internalType: "uint256", type: "uint256" },
17216
- { name: "tokenId", internalType: "uint256", type: "uint256" }
17066
+ { name: "needed", internalType: "uint256", type: "uint256" }
17217
17067
  ],
17218
- name: "ERC1155InsufficientBalance"
17068
+ name: "ERC20InsufficientBalance"
17219
17069
  },
17220
17070
  {
17221
17071
  type: "error",
17222
17072
  inputs: [{ name: "approver", internalType: "address", type: "address" }],
17223
- name: "ERC1155InvalidApprover"
17073
+ name: "ERC20InvalidApprover"
17224
17074
  },
17225
17075
  {
17226
17076
  type: "error",
17227
- inputs: [
17228
- { name: "idsLength", internalType: "uint256", type: "uint256" },
17229
- { name: "valuesLength", internalType: "uint256", type: "uint256" }
17230
- ],
17231
- name: "ERC1155InvalidArrayLength"
17077
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17078
+ name: "ERC20InvalidReceiver"
17232
17079
  },
17233
17080
  {
17234
17081
  type: "error",
17235
- inputs: [{ name: "operator", internalType: "address", type: "address" }],
17236
- name: "ERC1155InvalidOperator"
17082
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
17083
+ name: "ERC20InvalidSender"
17237
17084
  },
17238
17085
  {
17239
17086
  type: "error",
17240
- inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17241
- name: "ERC1155InvalidReceiver"
17087
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
17088
+ name: "ERC20InvalidSpender"
17242
17089
  },
17090
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
17243
17091
  {
17244
17092
  type: "error",
17245
- inputs: [{ name: "sender", internalType: "address", type: "address" }],
17246
- name: "ERC1155InvalidSender"
17093
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17094
+ name: "ERC2612ExpiredSignature"
17247
17095
  },
17248
17096
  {
17249
17097
  type: "error",
17250
17098
  inputs: [
17251
- { name: "operator", internalType: "address", type: "address" },
17099
+ { name: "signer", internalType: "address", type: "address" },
17252
17100
  { name: "owner", internalType: "address", type: "address" }
17253
17101
  ],
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"
17102
+ name: "ERC2612InvalidSigner"
17261
17103
  },
17262
- { type: "error", inputs: [], name: "ETHTransferFailed" },
17263
- { type: "error", inputs: [], name: "FailedInnerCall" },
17264
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
17104
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
17105
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
17106
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17107
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
17108
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
17109
+ { type: "error", inputs: [], name: "InsufficientFunds" },
17110
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
17265
17111
  {
17266
17112
  type: "error",
17267
17113
  inputs: [
@@ -17270,297 +17116,201 @@ var zoraMints1155ABI = [
17270
17116
  ],
17271
17117
  name: "InvalidAccountNonce"
17272
17118
  },
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" },
17119
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
17120
+ { type: "error", inputs: [], name: "InvalidInitialization" },
17121
+ { type: "error", inputs: [], name: "InvalidMarketType" },
17122
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
17278
17123
  {
17279
17124
  type: "error",
17280
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
17281
- name: "NotARedeemHandler"
17125
+ inputs: [
17126
+ { name: "tickLower", internalType: "int24", type: "int24" },
17127
+ { name: "tickUpper", internalType: "int24", type: "int24" }
17128
+ ],
17129
+ name: "InvalidTickRangeMisordered"
17282
17130
  },
17131
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
17132
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
17133
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
17134
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
17283
17135
  {
17284
17136
  type: "error",
17285
- inputs: [{ name: "token", internalType: "address", type: "address" }],
17286
- name: "SafeERC20FailedOperation"
17137
+ inputs: [
17138
+ { name: "value", internalType: "uint256", type: "uint256" },
17139
+ { name: "limit", internalType: "uint256", type: "uint256" }
17140
+ ],
17141
+ name: "MaxShareToBeSoldExceeded"
17287
17142
  },
17143
+ { type: "error", inputs: [], name: "NameIsRequired" },
17144
+ { type: "error", inputs: [], name: "NotInitializing" },
17145
+ { type: "error", inputs: [], name: "NotOwner" },
17146
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
17147
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
17148
+ { type: "error", inputs: [], name: "OnlyOwner" },
17288
17149
  {
17289
17150
  type: "error",
17290
- inputs: [{ name: "str", internalType: "string", type: "string" }],
17291
- name: "StringTooLong"
17151
+ inputs: [
17152
+ { name: "sender", internalType: "address", type: "address" },
17153
+ { name: "pool", internalType: "address", type: "address" }
17154
+ ],
17155
+ name: "OnlyPool"
17156
+ },
17157
+ { type: "error", inputs: [], name: "OnlyWeth" },
17158
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
17159
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
17160
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
17161
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
17162
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
17163
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17164
+ { type: "error", inputs: [], name: "HookNotImplemented" },
17165
+ {
17166
+ type: "error",
17167
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
17168
+ name: "InvalidCallbackId"
17169
+ },
17170
+ {
17171
+ type: "error",
17172
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
17173
+ name: "InvalidNewHook"
17174
+ },
17175
+ {
17176
+ type: "error",
17177
+ inputs: [
17178
+ { name: "tickLower", internalType: "int24", type: "int24" },
17179
+ { name: "tickUpper", internalType: "int24", type: "int24" }
17180
+ ],
17181
+ name: "InvalidTickRangeMisordered"
17292
17182
  },
17293
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
17294
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
17295
17183
  {
17296
17184
  type: "error",
17297
17185
  inputs: [
17298
- { name: "storedTokenAddress", internalType: "address", type: "address" },
17299
17186
  {
17300
- name: "expectedTokenAddress",
17301
- internalType: "address",
17302
- type: "address"
17187
+ name: "key",
17188
+ internalType: "struct PoolKey",
17189
+ type: "tuple",
17190
+ components: [
17191
+ { name: "currency0", internalType: "Currency", type: "address" },
17192
+ { name: "currency1", internalType: "Currency", type: "address" },
17193
+ { name: "fee", internalType: "uint24", type: "uint24" },
17194
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
17195
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
17196
+ ]
17303
17197
  }
17304
17198
  ],
17305
- name: "TokenMismatch"
17199
+ name: "NoCoinForHook"
17306
17200
  },
17307
- { type: "error", inputs: [], name: "TokenNotMintable" }
17201
+ {
17202
+ type: "error",
17203
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
17204
+ name: "NotACoin"
17205
+ },
17206
+ { type: "error", inputs: [], name: "NotPoolManager" },
17207
+ {
17208
+ type: "error",
17209
+ inputs: [
17210
+ { name: "caller", internalType: "address", type: "address" },
17211
+ { name: "expectedCoin", internalType: "address", type: "address" }
17212
+ ],
17213
+ name: "OnlyCoin"
17214
+ },
17215
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17216
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
17217
+ {
17218
+ type: "error",
17219
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17220
+ name: "SafeERC20FailedOperation"
17221
+ },
17222
+ {
17223
+ type: "error",
17224
+ inputs: [],
17225
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
17226
+ },
17227
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
17228
+ {
17229
+ type: "error",
17230
+ inputs: [
17231
+ { name: "oldHook", internalType: "address", type: "address" },
17232
+ { name: "newHook", internalType: "address", type: "address" }
17233
+ ],
17234
+ name: "UpgradePathNotRegistered"
17235
+ }
17308
17236
  ];
17309
- var zoraMints1155Address = {
17310
- 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
17311
- 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
17237
+ var zoraLimitOrderBookAddress = {
17238
+ 8453: "0xBF26D61054Ad1f0f7AcafF9b3A0627A37915D627"
17312
17239
  };
17313
- var zoraMints1155Config = {
17314
- address: zoraMints1155Address,
17315
- abi: zoraMints1155ABI
17240
+ var zoraLimitOrderBookConfig = {
17241
+ address: zoraLimitOrderBookAddress,
17242
+ abi: zoraLimitOrderBookABI
17316
17243
  };
17317
- var zoraMintsManagerImplABI = [
17244
+ var zoraMints1155ABI = [
17245
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
17318
17246
  {
17319
- type: "constructor",
17320
- inputs: [
17321
- {
17322
- name: "_premintExecutor",
17323
- internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
17324
- type: "address"
17325
- }
17326
- ],
17327
- stateMutability: "nonpayable"
17247
+ type: "function",
17248
+ inputs: [],
17249
+ name: "ETH_ADDRESS",
17250
+ outputs: [{ name: "", internalType: "address", type: "address" }],
17251
+ stateMutability: "view"
17328
17252
  },
17329
17253
  {
17330
17254
  type: "function",
17331
17255
  inputs: [],
17332
- name: "UPGRADE_INTERFACE_VERSION",
17256
+ name: "MINIMUM_ERC20_PRICE",
17257
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17258
+ stateMutability: "view"
17259
+ },
17260
+ {
17261
+ type: "function",
17262
+ inputs: [],
17263
+ name: "MINIMUM_ETH_PRICE",
17264
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17265
+ stateMutability: "view"
17266
+ },
17267
+ {
17268
+ type: "function",
17269
+ inputs: [],
17270
+ name: "NAME",
17333
17271
  outputs: [{ name: "", internalType: "string", type: "string" }],
17334
17272
  stateMutability: "view"
17335
17273
  },
17336
17274
  {
17337
17275
  type: "function",
17338
17276
  inputs: [],
17339
- name: "acceptOwnership",
17340
- outputs: [],
17341
- stateMutability: "nonpayable"
17277
+ name: "VERSION",
17278
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17279
+ stateMutability: "view"
17342
17280
  },
17343
17281
  {
17344
17282
  type: "function",
17345
- 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" }
17355
- ],
17356
- stateMutability: "payable"
17283
+ inputs: [],
17284
+ name: "authority",
17285
+ outputs: [{ name: "", internalType: "address", type: "address" }],
17286
+ stateMutability: "view"
17357
17287
  },
17358
17288
  {
17359
17289
  type: "function",
17360
17290
  inputs: [
17361
- { name: "caller", internalType: "address", type: "address" },
17362
- { name: "", internalType: "address", type: "address" },
17363
- { name: "", internalType: "bytes4", type: "bytes4" }
17291
+ { name: "account", internalType: "address", type: "address" },
17292
+ { name: "id", internalType: "uint256", type: "uint256" }
17364
17293
  ],
17365
- name: "canCall",
17366
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
17294
+ name: "balanceOf",
17295
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17367
17296
  stateMutability: "view"
17368
17297
  },
17369
17298
  {
17370
17299
  type: "function",
17371
- inputs: [
17372
- {
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",
17386
- type: "tuple",
17387
- 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" }
17395
- ]
17396
- }
17397
- ],
17398
- name: "collect",
17399
- outputs: [],
17400
- stateMutability: "payable"
17300
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
17301
+ name: "balanceOfAccount",
17302
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17303
+ stateMutability: "view"
17401
17304
  },
17402
17305
  {
17403
17306
  type: "function",
17404
17307
  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" }
17454
- ],
17455
- name: "collectPremint",
17456
- outputs: [
17457
- {
17458
- name: "result",
17459
- internalType: "struct PremintResult",
17460
- type: "tuple",
17461
- components: [
17462
- { name: "contractAddress", internalType: "address", type: "address" },
17463
- { name: "tokenId", internalType: "uint256", type: "uint256" },
17464
- { name: "createdNewContract", internalType: "bool", type: "bool" }
17465
- ]
17466
- }
17467
- ],
17468
- stateMutability: "payable"
17469
- },
17470
- {
17471
- type: "function",
17472
- inputs: [
17473
- {
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",
17530
- type: "tuple",
17531
- 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
- }
17539
- ]
17540
- },
17541
- { name: "signerContract", internalType: "address", type: "address" }
17542
- ],
17543
- name: "collectPremintV2",
17544
- outputs: [
17545
- {
17546
- name: "result",
17547
- internalType: "struct PremintResult",
17548
- type: "tuple",
17549
- components: [
17550
- { name: "contractAddress", internalType: "address", type: "address" },
17551
- { name: "tokenId", internalType: "uint256", type: "uint256" },
17552
- { name: "createdNewContract", internalType: "bool", type: "bool" }
17553
- ]
17554
- }
17308
+ { name: "accounts", internalType: "address[]", type: "address[]" },
17309
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
17555
17310
  ],
17556
- stateMutability: "payable"
17557
- },
17558
- {
17559
- type: "function",
17560
- inputs: [],
17561
- name: "contractName",
17562
- outputs: [{ name: "", internalType: "string", type: "string" }],
17563
- stateMutability: "pure"
17311
+ name: "balanceOfBatch",
17312
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
17313
+ stateMutability: "view"
17564
17314
  },
17565
17315
  {
17566
17316
  type: "function",
@@ -17569,13 +17319,6 @@ var zoraMintsManagerImplABI = [
17569
17319
  outputs: [{ name: "", internalType: "string", type: "string" }],
17570
17320
  stateMutability: "view"
17571
17321
  },
17572
- {
17573
- type: "function",
17574
- inputs: [],
17575
- name: "contractVersion",
17576
- outputs: [{ name: "", internalType: "string", type: "string" }],
17577
- stateMutability: "pure"
17578
- },
17579
17322
  {
17580
17323
  type: "function",
17581
17324
  inputs: [
@@ -17589,8 +17332,7 @@ var zoraMintsManagerImplABI = [
17589
17332
  { name: "tokenAddress", internalType: "address", type: "address" },
17590
17333
  { name: "redeemHandler", internalType: "address", type: "address" }
17591
17334
  ]
17592
- },
17593
- { name: "defaultMintable", internalType: "bool", type: "bool" }
17335
+ }
17594
17336
  ],
17595
17337
  name: "createToken",
17596
17338
  outputs: [],
@@ -17598,194 +17340,1725 @@ var zoraMintsManagerImplABI = [
17598
17340
  },
17599
17341
  {
17600
17342
  type: "function",
17601
- inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
17602
- name: "decodeMintRecipientAndComment",
17343
+ inputs: [],
17344
+ name: "eip712Domain",
17603
17345
  outputs: [
17604
- { name: "mintTo", internalType: "address", type: "address" },
17605
- { name: "mintComment", internalType: "string", type: "string" }
17346
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
17347
+ { name: "name", internalType: "string", type: "string" },
17348
+ { name: "version", internalType: "string", type: "string" },
17349
+ { name: "chainId", internalType: "uint256", type: "uint256" },
17350
+ { name: "verifyingContract", internalType: "address", type: "address" },
17351
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
17352
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
17606
17353
  ],
17607
- stateMutability: "pure"
17608
- },
17609
- {
17610
- type: "function",
17611
- inputs: [],
17612
- name: "getEthPrice",
17613
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17614
17354
  stateMutability: "view"
17615
17355
  },
17616
17356
  {
17617
17357
  type: "function",
17618
17358
  inputs: [],
17619
- name: "implementation",
17359
+ name: "getManager",
17620
17360
  outputs: [{ name: "", internalType: "address", type: "address" }],
17621
17361
  stateMutability: "view"
17622
17362
  },
17623
17363
  {
17624
17364
  type: "function",
17625
- 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" },
17630
- {
17631
- name: "initialEthTokenPrice",
17632
- internalType: "uint256",
17633
- type: "uint256"
17634
- },
17635
- { name: "newBaseURI", internalType: "string", type: "string" },
17636
- { name: "newContractURI", internalType: "string", type: "string" }
17637
- ],
17638
- name: "initialize",
17365
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17366
+ name: "getTokenConfig",
17639
17367
  outputs: [
17640
17368
  {
17641
- name: "mints",
17642
- internalType: "contract IZoraSparks1155",
17643
- type: "address"
17369
+ name: "",
17370
+ internalType: "struct TokenConfig",
17371
+ type: "tuple",
17372
+ components: [
17373
+ { name: "price", internalType: "uint256", type: "uint256" },
17374
+ { name: "tokenAddress", internalType: "address", type: "address" },
17375
+ { name: "redeemHandler", internalType: "address", type: "address" }
17376
+ ]
17644
17377
  }
17645
17378
  ],
17646
- stateMutability: "nonpayable"
17379
+ stateMutability: "view"
17647
17380
  },
17648
17381
  {
17649
17382
  type: "function",
17650
17383
  inputs: [
17651
- { name: "tokenAddress", internalType: "address", type: "address" },
17652
- { name: "quantity", internalType: "uint256", type: "uint256" },
17653
- { name: "recipient", internalType: "address", type: "address" }
17654
- ],
17655
- name: "mintWithERC20",
17656
- outputs: [
17657
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
17384
+ {
17385
+ name: "permit",
17386
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
17387
+ type: "tuple",
17388
+ components: [
17389
+ { name: "owner", internalType: "address", type: "address" },
17390
+ { name: "to", internalType: "address", type: "address" },
17391
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17392
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17393
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17394
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17395
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17396
+ ]
17397
+ }
17658
17398
  ],
17659
- stateMutability: "nonpayable"
17399
+ name: "hashPermitBatch",
17400
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
17401
+ stateMutability: "view"
17660
17402
  },
17661
17403
  {
17662
17404
  type: "function",
17663
17405
  inputs: [
17664
- { name: "quantity", internalType: "uint256", type: "uint256" },
17665
- { name: "recipient", internalType: "address", type: "address" }
17666
- ],
17667
- name: "mintWithEth",
17668
- outputs: [
17669
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
17670
- ],
17671
- stateMutability: "payable"
17406
+ {
17407
+ name: "permit",
17408
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
17409
+ type: "tuple",
17410
+ components: [
17411
+ { name: "owner", internalType: "address", type: "address" },
17412
+ { name: "to", internalType: "address", type: "address" },
17413
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17414
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17415
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17416
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17417
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17418
+ ]
17419
+ }
17420
+ ],
17421
+ name: "hashPermitSingle",
17422
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
17423
+ stateMutability: "view"
17424
+ },
17425
+ {
17426
+ type: "function",
17427
+ inputs: [
17428
+ { name: "account", internalType: "address", type: "address" },
17429
+ { name: "operator", internalType: "address", type: "address" }
17430
+ ],
17431
+ name: "isApprovedForAll",
17432
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17433
+ stateMutability: "view"
17672
17434
  },
17673
17435
  {
17674
17436
  type: "function",
17675
17437
  inputs: [],
17676
- name: "mintableEthToken",
17677
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17438
+ name: "isConsumingScheduledOp",
17439
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
17678
17440
  stateMutability: "view"
17679
17441
  },
17680
17442
  {
17681
17443
  type: "function",
17682
17444
  inputs: [
17683
- { name: "", internalType: "address", type: "address" },
17445
+ {
17446
+ name: "permit",
17447
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
17448
+ type: "tuple",
17449
+ components: [
17450
+ { name: "owner", internalType: "address", type: "address" },
17451
+ { name: "to", internalType: "address", type: "address" },
17452
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17453
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17454
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17455
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17456
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17457
+ ]
17458
+ },
17459
+ { name: "signature", internalType: "bytes", type: "bytes" }
17460
+ ],
17461
+ name: "isValidSignatureTransferBatch",
17462
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17463
+ stateMutability: "view"
17464
+ },
17465
+ {
17466
+ type: "function",
17467
+ inputs: [
17468
+ {
17469
+ name: "permit",
17470
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
17471
+ type: "tuple",
17472
+ components: [
17473
+ { name: "owner", internalType: "address", type: "address" },
17474
+ { name: "to", internalType: "address", type: "address" },
17475
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17476
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17477
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17478
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17479
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17480
+ ]
17481
+ },
17482
+ { name: "signature", internalType: "bytes", type: "bytes" }
17483
+ ],
17484
+ name: "isValidSignatureTransferSingle",
17485
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17486
+ stateMutability: "view"
17487
+ },
17488
+ {
17489
+ type: "function",
17490
+ inputs: [
17491
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17492
+ { name: "tokenAddress", internalType: "address", type: "address" },
17493
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17494
+ { name: "recipient", internalType: "address", type: "address" },
17495
+ { name: "data", internalType: "bytes", type: "bytes" }
17496
+ ],
17497
+ name: "mintTokenWithERC20",
17498
+ outputs: [],
17499
+ stateMutability: "nonpayable"
17500
+ },
17501
+ {
17502
+ type: "function",
17503
+ inputs: [
17504
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17505
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17506
+ { name: "recipient", internalType: "address", type: "address" },
17507
+ { name: "data", internalType: "bytes", type: "bytes" }
17508
+ ],
17509
+ name: "mintTokenWithEth",
17510
+ outputs: [],
17511
+ stateMutability: "payable"
17512
+ },
17513
+ {
17514
+ type: "function",
17515
+ inputs: [],
17516
+ name: "name",
17517
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17518
+ stateMutability: "pure"
17519
+ },
17520
+ {
17521
+ type: "function",
17522
+ inputs: [
17523
+ { name: "owner", internalType: "address", type: "address" },
17524
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17525
+ ],
17526
+ name: "nonceUsed",
17527
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17528
+ stateMutability: "view"
17529
+ },
17530
+ {
17531
+ type: "function",
17532
+ inputs: [
17533
+ { name: "newContractURI", internalType: "string", type: "string" },
17534
+ { name: "newBaseURI", internalType: "string", type: "string" }
17535
+ ],
17536
+ name: "notifyURIsUpdated",
17537
+ outputs: [],
17538
+ stateMutability: "nonpayable"
17539
+ },
17540
+ {
17541
+ type: "function",
17542
+ inputs: [
17543
+ { name: "newUri", internalType: "string", type: "string" },
17544
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
17545
+ ],
17546
+ name: "notifyUpdatedTokenURI",
17547
+ outputs: [],
17548
+ stateMutability: "nonpayable"
17549
+ },
17550
+ {
17551
+ type: "function",
17552
+ inputs: [
17553
+ {
17554
+ name: "permit",
17555
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
17556
+ type: "tuple",
17557
+ components: [
17558
+ { name: "owner", internalType: "address", type: "address" },
17559
+ { name: "to", internalType: "address", type: "address" },
17560
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17561
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17562
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17563
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17564
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17565
+ ]
17566
+ },
17567
+ { name: "signature", internalType: "bytes", type: "bytes" }
17568
+ ],
17569
+ name: "permitSafeTransfer",
17570
+ outputs: [],
17571
+ stateMutability: "nonpayable"
17572
+ },
17573
+ {
17574
+ type: "function",
17575
+ inputs: [
17576
+ {
17577
+ name: "permit",
17578
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
17579
+ type: "tuple",
17580
+ components: [
17581
+ { name: "owner", internalType: "address", type: "address" },
17582
+ { name: "to", internalType: "address", type: "address" },
17583
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17584
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17585
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
17586
+ { name: "deadline", internalType: "uint256", type: "uint256" },
17587
+ { name: "nonce", internalType: "uint256", type: "uint256" }
17588
+ ]
17589
+ },
17590
+ { name: "signature", internalType: "bytes", type: "bytes" }
17591
+ ],
17592
+ name: "permitSafeTransferBatch",
17593
+ outputs: [],
17594
+ stateMutability: "nonpayable"
17595
+ },
17596
+ {
17597
+ type: "function",
17598
+ inputs: [
17599
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
17600
+ { name: "quantity", internalType: "uint256", type: "uint256" },
17601
+ { name: "recipient", internalType: "address", type: "address" }
17602
+ ],
17603
+ name: "redeem",
17604
+ outputs: [
17605
+ {
17606
+ name: "",
17607
+ internalType: "struct Redemption",
17608
+ type: "tuple",
17609
+ components: [
17610
+ { name: "tokenAddress", internalType: "address", type: "address" },
17611
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
17612
+ ]
17613
+ }
17614
+ ],
17615
+ stateMutability: "nonpayable"
17616
+ },
17617
+ {
17618
+ type: "function",
17619
+ inputs: [
17620
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17621
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17622
+ { name: "recipient", internalType: "address", type: "address" }
17623
+ ],
17624
+ name: "redeemBatch",
17625
+ outputs: [
17626
+ {
17627
+ name: "redemptions",
17628
+ internalType: "struct Redemption[]",
17629
+ type: "tuple[]",
17630
+ components: [
17631
+ { name: "tokenAddress", internalType: "address", type: "address" },
17632
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
17633
+ ]
17634
+ }
17635
+ ],
17636
+ stateMutability: "nonpayable"
17637
+ },
17638
+ {
17639
+ type: "function",
17640
+ inputs: [
17684
17641
  { name: "from", internalType: "address", type: "address" },
17642
+ { name: "to", internalType: "address", type: "address" },
17685
17643
  { name: "ids", internalType: "uint256[]", type: "uint256[]" },
17686
17644
  { name: "values", internalType: "uint256[]", type: "uint256[]" },
17687
17645
  { name: "data", internalType: "bytes", type: "bytes" }
17688
17646
  ],
17689
- name: "onERC1155BatchReceived",
17690
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
17647
+ name: "safeBatchTransferFrom",
17648
+ outputs: [],
17691
17649
  stateMutability: "nonpayable"
17692
17650
  },
17693
17651
  {
17694
17652
  type: "function",
17695
17653
  inputs: [
17696
- { name: "", internalType: "address", type: "address" },
17697
17654
  { name: "from", internalType: "address", type: "address" },
17655
+ { name: "to", internalType: "address", type: "address" },
17698
17656
  { name: "id", internalType: "uint256", type: "uint256" },
17699
17657
  { name: "value", internalType: "uint256", type: "uint256" },
17700
17658
  { name: "data", internalType: "bytes", type: "bytes" }
17701
17659
  ],
17702
- name: "onERC1155Received",
17703
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
17660
+ name: "safeTransferFrom",
17661
+ outputs: [],
17704
17662
  stateMutability: "nonpayable"
17705
17663
  },
17706
17664
  {
17707
17665
  type: "function",
17708
- inputs: [],
17709
- name: "owner",
17710
- outputs: [{ name: "", internalType: "address", type: "address" }],
17711
- stateMutability: "view"
17666
+ inputs: [
17667
+ { name: "operator", internalType: "address", type: "address" },
17668
+ { name: "approved", internalType: "bool", type: "bool" }
17669
+ ],
17670
+ name: "setApprovalForAll",
17671
+ outputs: [],
17672
+ stateMutability: "nonpayable"
17712
17673
  },
17713
17674
  {
17714
17675
  type: "function",
17715
- inputs: [],
17716
- name: "pendingOwner",
17717
- outputs: [{ name: "", internalType: "address", type: "address" }],
17718
- stateMutability: "view"
17676
+ inputs: [
17677
+ { name: "newAuthority", internalType: "address", type: "address" }
17678
+ ],
17679
+ name: "setAuthority",
17680
+ outputs: [],
17681
+ stateMutability: "nonpayable"
17682
+ },
17683
+ {
17684
+ type: "function",
17685
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
17686
+ name: "supportsInterface",
17687
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17688
+ stateMutability: "view"
17689
+ },
17690
+ {
17691
+ type: "function",
17692
+ inputs: [],
17693
+ name: "symbol",
17694
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17695
+ stateMutability: "pure"
17696
+ },
17697
+ {
17698
+ type: "function",
17699
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17700
+ name: "tokenExists",
17701
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
17702
+ stateMutability: "view"
17703
+ },
17704
+ {
17705
+ type: "function",
17706
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17707
+ name: "tokenPrice",
17708
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
17709
+ stateMutability: "view"
17710
+ },
17711
+ {
17712
+ type: "function",
17713
+ inputs: [
17714
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
17715
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
17716
+ { name: "call", internalType: "bytes", type: "bytes" }
17717
+ ],
17718
+ name: "transferBatchToManagerAndCall",
17719
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
17720
+ stateMutability: "payable"
17721
+ },
17722
+ {
17723
+ type: "function",
17724
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17725
+ name: "uri",
17726
+ outputs: [{ name: "", internalType: "string", type: "string" }],
17727
+ stateMutability: "view"
17728
+ },
17729
+ {
17730
+ type: "event",
17731
+ anonymous: false,
17732
+ inputs: [
17733
+ {
17734
+ name: "account",
17735
+ internalType: "address",
17736
+ type: "address",
17737
+ indexed: true
17738
+ },
17739
+ {
17740
+ name: "operator",
17741
+ internalType: "address",
17742
+ type: "address",
17743
+ indexed: true
17744
+ },
17745
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
17746
+ ],
17747
+ name: "ApprovalForAll"
17748
+ },
17749
+ {
17750
+ type: "event",
17751
+ anonymous: false,
17752
+ inputs: [
17753
+ {
17754
+ name: "authority",
17755
+ internalType: "address",
17756
+ type: "address",
17757
+ indexed: false
17758
+ }
17759
+ ],
17760
+ name: "AuthorityUpdated"
17761
+ },
17762
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
17763
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
17764
+ {
17765
+ type: "event",
17766
+ anonymous: false,
17767
+ inputs: [
17768
+ {
17769
+ name: "tokenId",
17770
+ internalType: "uint256",
17771
+ type: "uint256",
17772
+ indexed: true
17773
+ },
17774
+ {
17775
+ name: "price",
17776
+ internalType: "uint256",
17777
+ type: "uint256",
17778
+ indexed: true
17779
+ },
17780
+ {
17781
+ name: "tokenAddress",
17782
+ internalType: "address",
17783
+ type: "address",
17784
+ indexed: true
17785
+ }
17786
+ ],
17787
+ name: "TokenCreated"
17788
+ },
17789
+ {
17790
+ type: "event",
17791
+ anonymous: false,
17792
+ inputs: [
17793
+ {
17794
+ name: "operator",
17795
+ internalType: "address",
17796
+ type: "address",
17797
+ indexed: true
17798
+ },
17799
+ { name: "from", internalType: "address", type: "address", indexed: true },
17800
+ { name: "to", internalType: "address", type: "address", indexed: true },
17801
+ {
17802
+ name: "ids",
17803
+ internalType: "uint256[]",
17804
+ type: "uint256[]",
17805
+ indexed: false
17806
+ },
17807
+ {
17808
+ name: "values",
17809
+ internalType: "uint256[]",
17810
+ type: "uint256[]",
17811
+ indexed: false
17812
+ }
17813
+ ],
17814
+ name: "TransferBatch"
17815
+ },
17816
+ {
17817
+ type: "event",
17818
+ anonymous: false,
17819
+ inputs: [
17820
+ {
17821
+ name: "operator",
17822
+ internalType: "address",
17823
+ type: "address",
17824
+ indexed: true
17825
+ },
17826
+ { name: "from", internalType: "address", type: "address", indexed: true },
17827
+ { name: "to", internalType: "address", type: "address", indexed: true },
17828
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
17829
+ {
17830
+ name: "value",
17831
+ internalType: "uint256",
17832
+ type: "uint256",
17833
+ indexed: false
17834
+ }
17835
+ ],
17836
+ name: "TransferSingle"
17837
+ },
17838
+ {
17839
+ type: "event",
17840
+ anonymous: false,
17841
+ inputs: [
17842
+ { name: "value", internalType: "string", type: "string", indexed: false },
17843
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
17844
+ ],
17845
+ name: "URI"
17846
+ },
17847
+ {
17848
+ type: "event",
17849
+ anonymous: false,
17850
+ inputs: [
17851
+ {
17852
+ name: "contractURI",
17853
+ internalType: "string",
17854
+ type: "string",
17855
+ indexed: false
17856
+ },
17857
+ {
17858
+ name: "baseURI",
17859
+ internalType: "string",
17860
+ type: "string",
17861
+ indexed: false
17862
+ }
17863
+ ],
17864
+ name: "URIsUpdated"
17865
+ },
17866
+ {
17867
+ type: "error",
17868
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
17869
+ name: "AccessManagedInvalidAuthority"
17870
+ },
17871
+ {
17872
+ type: "error",
17873
+ inputs: [
17874
+ { name: "caller", internalType: "address", type: "address" },
17875
+ { name: "delay", internalType: "uint32", type: "uint32" }
17876
+ ],
17877
+ name: "AccessManagedRequiredDelay"
17878
+ },
17879
+ {
17880
+ type: "error",
17881
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
17882
+ name: "AccessManagedUnauthorized"
17883
+ },
17884
+ {
17885
+ type: "error",
17886
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
17887
+ name: "AddressEmptyCode"
17888
+ },
17889
+ {
17890
+ type: "error",
17891
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
17892
+ name: "AddressInsufficientBalance"
17893
+ },
17894
+ {
17895
+ type: "error",
17896
+ inputs: [
17897
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
17898
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
17899
+ ],
17900
+ name: "ArrayLengthMismatch"
17901
+ },
17902
+ {
17903
+ type: "error",
17904
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
17905
+ name: "CallFailed"
17906
+ },
17907
+ {
17908
+ type: "error",
17909
+ inputs: [
17910
+ { name: "sender", internalType: "address", type: "address" },
17911
+ { name: "balance", internalType: "uint256", type: "uint256" },
17912
+ { name: "needed", internalType: "uint256", type: "uint256" },
17913
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
17914
+ ],
17915
+ name: "ERC1155InsufficientBalance"
17916
+ },
17917
+ {
17918
+ type: "error",
17919
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
17920
+ name: "ERC1155InvalidApprover"
17921
+ },
17922
+ {
17923
+ type: "error",
17924
+ inputs: [
17925
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
17926
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
17927
+ ],
17928
+ name: "ERC1155InvalidArrayLength"
17929
+ },
17930
+ {
17931
+ type: "error",
17932
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
17933
+ name: "ERC1155InvalidOperator"
17934
+ },
17935
+ {
17936
+ type: "error",
17937
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17938
+ name: "ERC1155InvalidReceiver"
17939
+ },
17940
+ {
17941
+ type: "error",
17942
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
17943
+ name: "ERC1155InvalidSender"
17944
+ },
17945
+ {
17946
+ type: "error",
17947
+ inputs: [
17948
+ { name: "operator", internalType: "address", type: "address" },
17949
+ { name: "owner", internalType: "address", type: "address" }
17950
+ ],
17951
+ name: "ERC1155MissingApprovalForAll"
17952
+ },
17953
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
17954
+ {
17955
+ type: "error",
17956
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17957
+ name: "ERC2612ExpiredSignature"
17958
+ },
17959
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
17960
+ { type: "error", inputs: [], name: "FailedInnerCall" },
17961
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
17962
+ {
17963
+ type: "error",
17964
+ inputs: [
17965
+ { name: "account", internalType: "address", type: "address" },
17966
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
17967
+ ],
17968
+ name: "InvalidAccountNonce"
17969
+ },
17970
+ { type: "error", inputs: [], name: "InvalidRecipient" },
17971
+ { type: "error", inputs: [], name: "InvalidShortString" },
17972
+ { type: "error", inputs: [], name: "InvalidSignature" },
17973
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
17974
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
17975
+ {
17976
+ type: "error",
17977
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
17978
+ name: "NotARedeemHandler"
17979
+ },
17980
+ {
17981
+ type: "error",
17982
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17983
+ name: "SafeERC20FailedOperation"
17984
+ },
17985
+ {
17986
+ type: "error",
17987
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
17988
+ name: "StringTooLong"
17989
+ },
17990
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
17991
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
17992
+ {
17993
+ type: "error",
17994
+ inputs: [
17995
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
17996
+ {
17997
+ name: "expectedTokenAddress",
17998
+ internalType: "address",
17999
+ type: "address"
18000
+ }
18001
+ ],
18002
+ name: "TokenMismatch"
18003
+ },
18004
+ { type: "error", inputs: [], name: "TokenNotMintable" }
18005
+ ];
18006
+ var zoraMints1155Address = {
18007
+ 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
18008
+ 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
18009
+ };
18010
+ var zoraMints1155Config = {
18011
+ address: zoraMints1155Address,
18012
+ abi: zoraMints1155ABI
18013
+ };
18014
+ var zoraMintsManagerImplABI = [
18015
+ {
18016
+ type: "constructor",
18017
+ inputs: [
18018
+ {
18019
+ name: "_premintExecutor",
18020
+ internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
18021
+ type: "address"
18022
+ }
18023
+ ],
18024
+ stateMutability: "nonpayable"
18025
+ },
18026
+ {
18027
+ type: "function",
18028
+ inputs: [],
18029
+ name: "UPGRADE_INTERFACE_VERSION",
18030
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18031
+ stateMutability: "view"
18032
+ },
18033
+ {
18034
+ type: "function",
18035
+ inputs: [],
18036
+ name: "acceptOwnership",
18037
+ outputs: [],
18038
+ stateMutability: "nonpayable"
18039
+ },
18040
+ {
18041
+ type: "function",
18042
+ inputs: [
18043
+ { name: "callFrom", internalType: "address", type: "address" },
18044
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
18045
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
18046
+ { name: "call", internalType: "bytes", type: "bytes" }
18047
+ ],
18048
+ name: "callWithTransferTokens",
18049
+ outputs: [
18050
+ { name: "success", internalType: "bool", type: "bool" },
18051
+ { name: "result", internalType: "bytes", type: "bytes" }
18052
+ ],
18053
+ stateMutability: "payable"
18054
+ },
18055
+ {
18056
+ type: "function",
18057
+ inputs: [
18058
+ { name: "caller", internalType: "address", type: "address" },
18059
+ { name: "", internalType: "address", type: "address" },
18060
+ { name: "", internalType: "bytes4", type: "bytes4" }
18061
+ ],
18062
+ name: "canCall",
18063
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
18064
+ stateMutability: "view"
18065
+ },
18066
+ {
18067
+ type: "function",
18068
+ inputs: [
18069
+ {
18070
+ name: "zoraCreator1155Contract",
18071
+ internalType: "contract IMintWithSparks",
18072
+ type: "address"
18073
+ },
18074
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
18075
+ {
18076
+ name: "zoraCreator1155TokenId",
18077
+ internalType: "uint256",
18078
+ type: "uint256"
18079
+ },
18080
+ {
18081
+ name: "collectMintArguments",
18082
+ internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
18083
+ type: "tuple",
18084
+ components: [
18085
+ {
18086
+ name: "mintRewardsRecipients",
18087
+ internalType: "address[]",
18088
+ type: "address[]"
18089
+ },
18090
+ { name: "minterArguments", internalType: "bytes", type: "bytes" },
18091
+ { name: "mintComment", internalType: "string", type: "string" }
18092
+ ]
18093
+ }
18094
+ ],
18095
+ name: "collect",
18096
+ outputs: [],
18097
+ stateMutability: "payable"
18098
+ },
18099
+ {
18100
+ type: "function",
18101
+ inputs: [
18102
+ {
18103
+ name: "contractConfig",
18104
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
18105
+ type: "tuple",
18106
+ components: [
18107
+ { name: "contractAdmin", internalType: "address", type: "address" },
18108
+ { name: "contractURI", internalType: "string", type: "string" },
18109
+ { name: "contractName", internalType: "string", type: "string" },
18110
+ {
18111
+ name: "additionalAdmins",
18112
+ internalType: "address[]",
18113
+ type: "address[]"
18114
+ }
18115
+ ]
18116
+ },
18117
+ { name: "tokenContract", internalType: "address", type: "address" },
18118
+ {
18119
+ name: "premintConfig",
18120
+ internalType: "struct PremintConfigEncoded",
18121
+ type: "tuple",
18122
+ components: [
18123
+ { name: "uid", internalType: "uint32", type: "uint32" },
18124
+ { name: "version", internalType: "uint32", type: "uint32" },
18125
+ { name: "deleted", internalType: "bool", type: "bool" },
18126
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
18127
+ {
18128
+ name: "premintConfigVersion",
18129
+ internalType: "bytes32",
18130
+ type: "bytes32"
18131
+ }
18132
+ ]
18133
+ },
18134
+ { name: "signature", internalType: "bytes", type: "bytes" },
18135
+ {
18136
+ name: "mintArguments",
18137
+ internalType: "struct MintArguments",
18138
+ type: "tuple",
18139
+ components: [
18140
+ { name: "mintRecipient", internalType: "address", type: "address" },
18141
+ { name: "mintComment", internalType: "string", type: "string" },
18142
+ {
18143
+ name: "mintRewardsRecipients",
18144
+ internalType: "address[]",
18145
+ type: "address[]"
18146
+ }
18147
+ ]
18148
+ },
18149
+ { name: "firstMinter", internalType: "address", type: "address" },
18150
+ { name: "signerContract", internalType: "address", type: "address" }
18151
+ ],
18152
+ name: "collectPremint",
18153
+ outputs: [
18154
+ {
18155
+ name: "result",
18156
+ internalType: "struct PremintResult",
18157
+ type: "tuple",
18158
+ components: [
18159
+ { name: "contractAddress", internalType: "address", type: "address" },
18160
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18161
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
18162
+ ]
18163
+ }
18164
+ ],
18165
+ stateMutability: "payable"
18166
+ },
18167
+ {
18168
+ type: "function",
18169
+ inputs: [
18170
+ {
18171
+ name: "contractConfig",
18172
+ internalType: "struct ContractCreationConfig",
18173
+ type: "tuple",
18174
+ components: [
18175
+ { name: "contractAdmin", internalType: "address", type: "address" },
18176
+ { name: "contractURI", internalType: "string", type: "string" },
18177
+ { name: "contractName", internalType: "string", type: "string" }
18178
+ ]
18179
+ },
18180
+ {
18181
+ name: "premintConfig",
18182
+ internalType: "struct PremintConfigV2",
18183
+ type: "tuple",
18184
+ components: [
18185
+ {
18186
+ name: "tokenConfig",
18187
+ internalType: "struct TokenCreationConfigV2",
18188
+ type: "tuple",
18189
+ components: [
18190
+ { name: "tokenURI", internalType: "string", type: "string" },
18191
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
18192
+ {
18193
+ name: "maxTokensPerAddress",
18194
+ internalType: "uint64",
18195
+ type: "uint64"
18196
+ },
18197
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
18198
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
18199
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
18200
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
18201
+ {
18202
+ name: "payoutRecipient",
18203
+ internalType: "address",
18204
+ type: "address"
18205
+ },
18206
+ {
18207
+ name: "fixedPriceMinter",
18208
+ internalType: "address",
18209
+ type: "address"
18210
+ },
18211
+ {
18212
+ name: "createReferral",
18213
+ internalType: "address",
18214
+ type: "address"
18215
+ }
18216
+ ]
18217
+ },
18218
+ { name: "uid", internalType: "uint32", type: "uint32" },
18219
+ { name: "version", internalType: "uint32", type: "uint32" },
18220
+ { name: "deleted", internalType: "bool", type: "bool" }
18221
+ ]
18222
+ },
18223
+ { name: "signature", internalType: "bytes", type: "bytes" },
18224
+ {
18225
+ name: "mintArguments",
18226
+ internalType: "struct MintArguments",
18227
+ type: "tuple",
18228
+ components: [
18229
+ { name: "mintRecipient", internalType: "address", type: "address" },
18230
+ { name: "mintComment", internalType: "string", type: "string" },
18231
+ {
18232
+ name: "mintRewardsRecipients",
18233
+ internalType: "address[]",
18234
+ type: "address[]"
18235
+ }
18236
+ ]
18237
+ },
18238
+ { name: "signerContract", internalType: "address", type: "address" }
18239
+ ],
18240
+ name: "collectPremintV2",
18241
+ outputs: [
18242
+ {
18243
+ name: "result",
18244
+ internalType: "struct PremintResult",
18245
+ type: "tuple",
18246
+ components: [
18247
+ { name: "contractAddress", internalType: "address", type: "address" },
18248
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18249
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
18250
+ ]
18251
+ }
18252
+ ],
18253
+ stateMutability: "payable"
18254
+ },
18255
+ {
18256
+ type: "function",
18257
+ inputs: [],
18258
+ name: "contractName",
18259
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18260
+ stateMutability: "pure"
18261
+ },
18262
+ {
18263
+ type: "function",
18264
+ inputs: [],
18265
+ name: "contractURI",
18266
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18267
+ stateMutability: "view"
18268
+ },
18269
+ {
18270
+ type: "function",
18271
+ inputs: [],
18272
+ name: "contractVersion",
18273
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18274
+ stateMutability: "pure"
18275
+ },
18276
+ {
18277
+ type: "function",
18278
+ inputs: [
18279
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18280
+ {
18281
+ name: "tokenConfig",
18282
+ internalType: "struct TokenConfig",
18283
+ type: "tuple",
18284
+ components: [
18285
+ { name: "price", internalType: "uint256", type: "uint256" },
18286
+ { name: "tokenAddress", internalType: "address", type: "address" },
18287
+ { name: "redeemHandler", internalType: "address", type: "address" }
18288
+ ]
18289
+ },
18290
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
18291
+ ],
18292
+ name: "createToken",
18293
+ outputs: [],
18294
+ stateMutability: "nonpayable"
18295
+ },
18296
+ {
18297
+ type: "function",
18298
+ inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
18299
+ name: "decodeMintRecipientAndComment",
18300
+ outputs: [
18301
+ { name: "mintTo", internalType: "address", type: "address" },
18302
+ { name: "mintComment", internalType: "string", type: "string" }
18303
+ ],
18304
+ stateMutability: "pure"
18305
+ },
18306
+ {
18307
+ type: "function",
18308
+ inputs: [],
18309
+ name: "getEthPrice",
18310
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
18311
+ stateMutability: "view"
18312
+ },
18313
+ {
18314
+ type: "function",
18315
+ inputs: [],
18316
+ name: "implementation",
18317
+ outputs: [{ name: "", internalType: "address", type: "address" }],
18318
+ stateMutability: "view"
18319
+ },
18320
+ {
18321
+ type: "function",
18322
+ inputs: [
18323
+ { name: "defaultOwner", internalType: "address", type: "address" },
18324
+ { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
18325
+ { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
18326
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
18327
+ {
18328
+ name: "initialEthTokenPrice",
18329
+ internalType: "uint256",
18330
+ type: "uint256"
18331
+ },
18332
+ { name: "newBaseURI", internalType: "string", type: "string" },
18333
+ { name: "newContractURI", internalType: "string", type: "string" }
18334
+ ],
18335
+ name: "initialize",
18336
+ outputs: [
18337
+ {
18338
+ name: "mints",
18339
+ internalType: "contract IZoraSparks1155",
18340
+ type: "address"
18341
+ }
18342
+ ],
18343
+ stateMutability: "nonpayable"
18344
+ },
18345
+ {
18346
+ type: "function",
18347
+ inputs: [
18348
+ { name: "tokenAddress", internalType: "address", type: "address" },
18349
+ { name: "quantity", internalType: "uint256", type: "uint256" },
18350
+ { name: "recipient", internalType: "address", type: "address" }
18351
+ ],
18352
+ name: "mintWithERC20",
18353
+ outputs: [
18354
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
18355
+ ],
18356
+ stateMutability: "nonpayable"
18357
+ },
18358
+ {
18359
+ type: "function",
18360
+ inputs: [
18361
+ { name: "quantity", internalType: "uint256", type: "uint256" },
18362
+ { name: "recipient", internalType: "address", type: "address" }
18363
+ ],
18364
+ name: "mintWithEth",
18365
+ outputs: [
18366
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
18367
+ ],
18368
+ stateMutability: "payable"
18369
+ },
18370
+ {
18371
+ type: "function",
18372
+ inputs: [],
18373
+ name: "mintableEthToken",
18374
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
18375
+ stateMutability: "view"
18376
+ },
18377
+ {
18378
+ type: "function",
18379
+ inputs: [
18380
+ { name: "", internalType: "address", type: "address" },
18381
+ { name: "from", internalType: "address", type: "address" },
18382
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
18383
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
18384
+ { name: "data", internalType: "bytes", type: "bytes" }
18385
+ ],
18386
+ name: "onERC1155BatchReceived",
18387
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
18388
+ stateMutability: "nonpayable"
18389
+ },
18390
+ {
18391
+ type: "function",
18392
+ inputs: [
18393
+ { name: "", internalType: "address", type: "address" },
18394
+ { name: "from", internalType: "address", type: "address" },
18395
+ { name: "id", internalType: "uint256", type: "uint256" },
18396
+ { name: "value", internalType: "uint256", type: "uint256" },
18397
+ { name: "data", internalType: "bytes", type: "bytes" }
18398
+ ],
18399
+ name: "onERC1155Received",
18400
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
18401
+ stateMutability: "nonpayable"
18402
+ },
18403
+ {
18404
+ type: "function",
18405
+ inputs: [],
18406
+ name: "owner",
18407
+ outputs: [{ name: "", internalType: "address", type: "address" }],
18408
+ stateMutability: "view"
18409
+ },
18410
+ {
18411
+ type: "function",
18412
+ inputs: [],
18413
+ name: "pendingOwner",
18414
+ outputs: [{ name: "", internalType: "address", type: "address" }],
18415
+ stateMutability: "view"
18416
+ },
18417
+ {
18418
+ type: "function",
18419
+ inputs: [],
18420
+ name: "proxiableUUID",
18421
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
18422
+ stateMutability: "view"
18423
+ },
18424
+ {
18425
+ type: "function",
18426
+ inputs: [],
18427
+ name: "renounceOwnership",
18428
+ outputs: [],
18429
+ stateMutability: "nonpayable"
18430
+ },
18431
+ {
18432
+ type: "function",
18433
+ inputs: [
18434
+ { name: "tokenAddress", internalType: "address", type: "address" },
18435
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
18436
+ ],
18437
+ name: "setDefaultMintable",
18438
+ outputs: [],
18439
+ stateMutability: "nonpayable"
18440
+ },
18441
+ {
18442
+ type: "function",
18443
+ inputs: [
18444
+ { name: "newContractURI", internalType: "string", type: "string" },
18445
+ { name: "newBaseURI", internalType: "string", type: "string" },
18446
+ {
18447
+ name: "tokenIdsToNotifyUpdate",
18448
+ internalType: "uint256[]",
18449
+ type: "uint256[]"
18450
+ }
18451
+ ],
18452
+ name: "setMetadataURIs",
18453
+ outputs: [],
18454
+ stateMutability: "nonpayable"
18455
+ },
18456
+ {
18457
+ type: "function",
18458
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
18459
+ name: "transferOwnership",
18460
+ outputs: [],
18461
+ stateMutability: "nonpayable"
18462
+ },
18463
+ {
18464
+ type: "function",
18465
+ inputs: [
18466
+ { name: "newImplementation", internalType: "address", type: "address" },
18467
+ { name: "data", internalType: "bytes", type: "bytes" }
18468
+ ],
18469
+ name: "upgradeToAndCall",
18470
+ outputs: [],
18471
+ stateMutability: "payable"
18472
+ },
18473
+ {
18474
+ type: "function",
18475
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
18476
+ name: "uri",
18477
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18478
+ stateMutability: "view"
18479
+ },
18480
+ {
18481
+ type: "function",
18482
+ inputs: [],
18483
+ name: "zoraSparks1155",
18484
+ outputs: [
18485
+ { name: "", internalType: "contract IZoraSparks1155", type: "address" }
18486
+ ],
18487
+ stateMutability: "view"
18488
+ },
18489
+ {
18490
+ type: "event",
18491
+ anonymous: false,
18492
+ inputs: [
18493
+ {
18494
+ name: "tokenIds",
18495
+ internalType: "uint256[]",
18496
+ type: "uint256[]",
18497
+ indexed: true
18498
+ },
18499
+ {
18500
+ name: "quantities",
18501
+ internalType: "uint256[]",
18502
+ type: "uint256[]",
18503
+ indexed: false
18504
+ },
18505
+ {
18506
+ name: "zoraCreator1155Contract",
18507
+ internalType: "address",
18508
+ type: "address",
18509
+ indexed: true
18510
+ },
18511
+ {
18512
+ name: "zoraCreator1155TokenId",
18513
+ internalType: "uint256",
18514
+ type: "uint256",
18515
+ indexed: true
18516
+ }
18517
+ ],
18518
+ name: "Collected"
18519
+ },
18520
+ {
18521
+ type: "event",
18522
+ anonymous: false,
18523
+ inputs: [
18524
+ {
18525
+ name: "tokenAddress",
18526
+ internalType: "address",
18527
+ type: "address",
18528
+ indexed: false
18529
+ },
18530
+ {
18531
+ name: "tokenId",
18532
+ internalType: "uint256",
18533
+ type: "uint256",
18534
+ indexed: false
18535
+ }
18536
+ ],
18537
+ name: "DefaultMintableTokenSet"
18538
+ },
18539
+ {
18540
+ type: "event",
18541
+ anonymous: false,
18542
+ inputs: [
18543
+ {
18544
+ name: "version",
18545
+ internalType: "uint64",
18546
+ type: "uint64",
18547
+ indexed: false
18548
+ }
18549
+ ],
18550
+ name: "Initialized"
18551
+ },
18552
+ {
18553
+ type: "event",
18554
+ anonymous: false,
18555
+ inputs: [
18556
+ {
18557
+ name: "sender",
18558
+ internalType: "address",
18559
+ type: "address",
18560
+ indexed: true
18561
+ },
18562
+ {
18563
+ name: "tokenContract",
18564
+ internalType: "address",
18565
+ type: "address",
18566
+ indexed: true
18567
+ },
18568
+ {
18569
+ name: "tokenId",
18570
+ internalType: "uint256",
18571
+ type: "uint256",
18572
+ indexed: true
18573
+ },
18574
+ {
18575
+ name: "quantity",
18576
+ internalType: "uint256",
18577
+ type: "uint256",
18578
+ indexed: false
18579
+ },
18580
+ {
18581
+ name: "comment",
18582
+ internalType: "string",
18583
+ type: "string",
18584
+ indexed: false
18585
+ }
18586
+ ],
18587
+ name: "MintComment"
18588
+ },
18589
+ {
18590
+ type: "event",
18591
+ anonymous: false,
18592
+ inputs: [
18593
+ {
18594
+ name: "previousOwner",
18595
+ internalType: "address",
18596
+ type: "address",
18597
+ indexed: true
18598
+ },
18599
+ {
18600
+ name: "newOwner",
18601
+ internalType: "address",
18602
+ type: "address",
18603
+ indexed: true
18604
+ }
18605
+ ],
18606
+ name: "OwnershipTransferStarted"
18607
+ },
18608
+ {
18609
+ type: "event",
18610
+ anonymous: false,
18611
+ inputs: [
18612
+ {
18613
+ name: "previousOwner",
18614
+ internalType: "address",
18615
+ type: "address",
18616
+ indexed: true
18617
+ },
18618
+ {
18619
+ name: "newOwner",
18620
+ internalType: "address",
18621
+ type: "address",
18622
+ indexed: true
18623
+ }
18624
+ ],
18625
+ name: "OwnershipTransferred"
18626
+ },
18627
+ {
18628
+ type: "event",
18629
+ anonymous: false,
18630
+ inputs: [
18631
+ {
18632
+ name: "contractURI",
18633
+ internalType: "string",
18634
+ type: "string",
18635
+ indexed: false
18636
+ },
18637
+ {
18638
+ name: "baseURI",
18639
+ internalType: "string",
18640
+ type: "string",
18641
+ indexed: false
18642
+ }
18643
+ ],
18644
+ name: "URIsUpdated"
18645
+ },
18646
+ {
18647
+ type: "event",
18648
+ anonymous: false,
18649
+ inputs: [
18650
+ {
18651
+ name: "implementation",
18652
+ internalType: "address",
18653
+ type: "address",
18654
+ indexed: true
18655
+ }
18656
+ ],
18657
+ name: "Upgraded"
18658
+ },
18659
+ {
18660
+ type: "error",
18661
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
18662
+ name: "AddressEmptyCode"
18663
+ },
18664
+ {
18665
+ type: "error",
18666
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
18667
+ name: "AddressInsufficientBalance"
18668
+ },
18669
+ {
18670
+ type: "error",
18671
+ inputs: [
18672
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
18673
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
18674
+ ],
18675
+ name: "ArrayLengthMismatch"
18676
+ },
18677
+ {
18678
+ type: "error",
18679
+ inputs: [
18680
+ { name: "operator", internalType: "address", type: "address" },
18681
+ { name: "user", internalType: "address", type: "address" }
18682
+ ],
18683
+ name: "Burn_NotOwnerOrApproved"
18684
+ },
18685
+ {
18686
+ type: "error",
18687
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
18688
+ name: "CallFailed"
18689
+ },
18690
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
18691
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
18692
+ {
18693
+ type: "error",
18694
+ inputs: [
18695
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18696
+ { name: "quantity", internalType: "uint256", type: "uint256" },
18697
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
18698
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
18699
+ ],
18700
+ name: "CannotMintMoreTokens"
18701
+ },
18702
+ {
18703
+ type: "error",
18704
+ inputs: [
18705
+ { name: "proposedAddress", internalType: "address", type: "address" }
18706
+ ],
18707
+ name: "Config_TransferHookNotSupported"
18708
+ },
18709
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
18710
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
18711
+ {
18712
+ type: "error",
18713
+ inputs: [
18714
+ { name: "balance", internalType: "uint256", type: "uint256" },
18715
+ { name: "needed", internalType: "uint256", type: "uint256" }
18716
+ ],
18717
+ name: "Create2InsufficientBalance"
18718
+ },
18719
+ { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
18720
+ { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
18721
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
18722
+ {
18723
+ type: "error",
18724
+ inputs: [
18725
+ { name: "implementation", internalType: "address", type: "address" }
18726
+ ],
18727
+ name: "ERC1967InvalidImplementation"
18728
+ },
18729
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
18730
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
18731
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
18732
+ {
18733
+ type: "error",
18734
+ inputs: [
18735
+ { name: "recipient", internalType: "address", type: "address" },
18736
+ { name: "amount", internalType: "uint256", type: "uint256" }
18737
+ ],
18738
+ name: "ETHWithdrawFailed"
18739
+ },
18740
+ { type: "error", inputs: [], name: "FailedInnerCall" },
18741
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
18742
+ {
18743
+ type: "error",
18744
+ inputs: [
18745
+ { name: "amount", internalType: "uint256", type: "uint256" },
18746
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
18747
+ ],
18748
+ name: "FundsWithdrawInsolvent"
18749
+ },
18750
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
18751
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
18752
+ { type: "error", inputs: [], name: "InvalidInitialization" },
18753
+ {
18754
+ type: "error",
18755
+ inputs: [
18756
+ { name: "mintTo", internalType: "address", type: "address" },
18757
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
18758
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
18759
+ ],
18760
+ name: "InvalidMerkleProof"
18761
+ },
18762
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
18763
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
18764
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
18765
+ { type: "error", inputs: [], name: "InvalidRecipient" },
18766
+ { type: "error", inputs: [], name: "InvalidSignature" },
18767
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
18768
+ {
18769
+ type: "error",
18770
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
18771
+ name: "InvalidSigner"
18772
+ },
18773
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
18774
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
18775
+ { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
18776
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
18777
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
18778
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
18779
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
18780
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
18781
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
18782
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
18783
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
18784
+ { type: "error", inputs: [], name: "NoTokensTransferred" },
18785
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
18786
+ { type: "error", inputs: [], name: "NonEthRedemption" },
18787
+ {
18788
+ type: "error",
18789
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
18790
+ name: "NotARedeemHandler"
18791
+ },
18792
+ { type: "error", inputs: [], name: "NotInitializing" },
18793
+ { type: "error", inputs: [], name: "NotSelfCall" },
18794
+ { type: "error", inputs: [], name: "NotZoraSparks1155" },
18795
+ { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
18796
+ {
18797
+ type: "error",
18798
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
18799
+ name: "OwnableInvalidOwner"
18800
+ },
18801
+ {
18802
+ type: "error",
18803
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
18804
+ name: "OwnableUnauthorizedAccount"
18805
+ },
18806
+ { type: "error", inputs: [], name: "PremintDeleted" },
18807
+ { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
18808
+ {
18809
+ type: "error",
18810
+ inputs: [
18811
+ { name: "caller", internalType: "address", type: "address" },
18812
+ { name: "recipient", internalType: "address", type: "address" },
18813
+ { name: "amount", internalType: "uint256", type: "uint256" }
18814
+ ],
18815
+ name: "ProtocolRewardsWithdrawFailed"
18816
+ },
18817
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
18818
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
18819
+ {
18820
+ type: "error",
18821
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
18822
+ name: "SafeERC20FailedOperation"
18823
+ },
18824
+ { type: "error", inputs: [], name: "SaleEnded" },
18825
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
18826
+ {
18827
+ type: "error",
18828
+ inputs: [
18829
+ { name: "targetContract", internalType: "address", type: "address" }
18830
+ ],
18831
+ name: "Sale_CannotCallNonSalesContract"
18832
+ },
18833
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
18834
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
18835
+ {
18836
+ type: "error",
18837
+ inputs: [
18838
+ { name: "expected", internalType: "uint256", type: "uint256" },
18839
+ { name: "actual", internalType: "uint256", type: "uint256" }
18840
+ ],
18841
+ name: "TokenIdMismatch"
18842
+ },
18843
+ {
18844
+ type: "error",
18845
+ inputs: [
18846
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
18847
+ {
18848
+ name: "expectedTokenAddress",
18849
+ internalType: "address",
18850
+ type: "address"
18851
+ }
18852
+ ],
18853
+ name: "TokenMismatch"
18854
+ },
18855
+ { type: "error", inputs: [], name: "TokenNotMintable" },
18856
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
18857
+ {
18858
+ type: "error",
18859
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
18860
+ name: "UUPSUnsupportedProxiableUUID"
18861
+ },
18862
+ {
18863
+ type: "error",
18864
+ inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
18865
+ name: "UnknownUserAction"
18866
+ },
18867
+ {
18868
+ type: "error",
18869
+ inputs: [
18870
+ { name: "expected", internalType: "string", type: "string" },
18871
+ { name: "actual", internalType: "string", type: "string" }
18872
+ ],
18873
+ name: "UpgradeToMismatchedContractName"
18874
+ },
18875
+ {
18876
+ type: "error",
18877
+ inputs: [
18878
+ { name: "user", internalType: "address", type: "address" },
18879
+ { name: "limit", internalType: "uint256", type: "uint256" },
18880
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
18881
+ ],
18882
+ name: "UserExceedsMintLimit"
18883
+ },
18884
+ {
18885
+ type: "error",
18886
+ inputs: [
18887
+ { name: "user", internalType: "address", type: "address" },
18888
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
18889
+ { name: "role", internalType: "uint256", type: "uint256" }
18890
+ ],
18891
+ name: "UserMissingRoleForToken"
18892
+ },
18893
+ { type: "error", inputs: [], name: "WrongValueSent" },
18894
+ {
18895
+ type: "error",
18896
+ inputs: [],
18897
+ name: "premintSignerContractFailedToRecoverSigner"
18898
+ },
18899
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
18900
+ ];
18901
+ var zoraMintsManagerImplAddress = {
18902
+ 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
18903
+ 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
18904
+ };
18905
+ var zoraMintsManagerImplConfig = {
18906
+ address: zoraMintsManagerImplAddress,
18907
+ abi: zoraMintsManagerImplABI
18908
+ };
18909
+ var zoraRouterABI = [
18910
+ {
18911
+ type: "constructor",
18912
+ inputs: [
18913
+ {
18914
+ name: "poolManager_",
18915
+ internalType: "contract IPoolManager",
18916
+ type: "address"
18917
+ },
18918
+ {
18919
+ name: "zoraLimitOrderBook_",
18920
+ internalType: "contract IZoraLimitOrderBook",
18921
+ type: "address"
18922
+ },
18923
+ {
18924
+ name: "swapRouter_",
18925
+ internalType: "contract ISwapRouter",
18926
+ type: "address"
18927
+ },
18928
+ { name: "permit2_", internalType: "address", type: "address" }
18929
+ ],
18930
+ stateMutability: "nonpayable"
17719
18931
  },
18932
+ { type: "receive", stateMutability: "payable" },
17720
18933
  {
17721
18934
  type: "function",
17722
18935
  inputs: [],
17723
- name: "proxiableUUID",
17724
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
18936
+ name: "getLimitOrderConfig",
18937
+ outputs: [
18938
+ {
18939
+ name: "",
18940
+ internalType: "struct LimitOrderConfig",
18941
+ type: "tuple",
18942
+ components: [
18943
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
18944
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
18945
+ ]
18946
+ }
18947
+ ],
17725
18948
  stateMutability: "view"
17726
18949
  },
17727
18950
  {
17728
18951
  type: "function",
17729
18952
  inputs: [],
17730
- name: "renounceOwnership",
17731
- outputs: [],
17732
- stateMutability: "nonpayable"
18953
+ name: "msgSender",
18954
+ outputs: [{ name: "", internalType: "address", type: "address" }],
18955
+ stateMutability: "view"
17733
18956
  },
17734
18957
  {
17735
18958
  type: "function",
17736
- inputs: [
17737
- { name: "tokenAddress", internalType: "address", type: "address" },
17738
- { name: "tokenId", internalType: "uint256", type: "uint256" }
18959
+ inputs: [],
18960
+ name: "poolManager",
18961
+ outputs: [
18962
+ { name: "", internalType: "contract IPoolManager", type: "address" }
17739
18963
  ],
17740
- name: "setDefaultMintable",
17741
- outputs: [],
17742
- stateMutability: "nonpayable"
18964
+ stateMutability: "view"
17743
18965
  },
17744
18966
  {
17745
18967
  type: "function",
17746
18968
  inputs: [
17747
- { name: "newContractURI", internalType: "string", type: "string" },
17748
- { name: "newBaseURI", internalType: "string", type: "string" },
17749
18969
  {
17750
- name: "tokenIdsToNotifyUpdate",
17751
- internalType: "uint256[]",
17752
- type: "uint256[]"
18970
+ name: "config",
18971
+ internalType: "struct LimitOrderConfig",
18972
+ type: "tuple",
18973
+ components: [
18974
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
18975
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
18976
+ ]
17753
18977
  }
17754
18978
  ],
17755
- name: "setMetadataURIs",
18979
+ name: "setLimitOrderConfig",
17756
18980
  outputs: [],
17757
18981
  stateMutability: "nonpayable"
17758
18982
  },
17759
18983
  {
17760
18984
  type: "function",
17761
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
17762
- name: "transferOwnership",
17763
- outputs: [],
17764
- stateMutability: "nonpayable"
18985
+ inputs: [],
18986
+ name: "swapRouter",
18987
+ outputs: [
18988
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
18989
+ ],
18990
+ stateMutability: "view"
17765
18991
  },
17766
18992
  {
17767
18993
  type: "function",
17768
18994
  inputs: [
17769
- { name: "newImplementation", internalType: "address", type: "address" },
17770
- { name: "data", internalType: "bytes", type: "bytes" }
18995
+ {
18996
+ name: "params",
18997
+ internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
18998
+ type: "tuple",
18999
+ components: [
19000
+ { name: "recipient", internalType: "address", type: "address" },
19001
+ {
19002
+ name: "limitOrderConfig",
19003
+ internalType: "struct LimitOrderConfig",
19004
+ type: "tuple",
19005
+ components: [
19006
+ {
19007
+ name: "multiples",
19008
+ internalType: "uint256[]",
19009
+ type: "uint256[]"
19010
+ },
19011
+ {
19012
+ name: "percentages",
19013
+ internalType: "uint256[]",
19014
+ type: "uint256[]"
19015
+ }
19016
+ ]
19017
+ },
19018
+ { name: "inputCurrency", internalType: "address", type: "address" },
19019
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
19020
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
19021
+ {
19022
+ name: "v4Route",
19023
+ internalType: "struct PoolKey[]",
19024
+ type: "tuple[]",
19025
+ components: [
19026
+ { name: "currency0", internalType: "Currency", type: "address" },
19027
+ { name: "currency1", internalType: "Currency", type: "address" },
19028
+ { name: "fee", internalType: "uint24", type: "uint24" },
19029
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
19030
+ {
19031
+ name: "hooks",
19032
+ internalType: "contract IHooks",
19033
+ type: "address"
19034
+ }
19035
+ ]
19036
+ },
19037
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
19038
+ ]
19039
+ }
17771
19040
  ],
17772
- name: "upgradeToAndCall",
17773
- outputs: [],
19041
+ name: "swapWithLimitOrders",
19042
+ outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
17774
19043
  stateMutability: "payable"
17775
19044
  },
17776
19045
  {
17777
19046
  type: "function",
17778
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
17779
- name: "uri",
17780
- outputs: [{ name: "", internalType: "string", type: "string" }],
17781
- stateMutability: "view"
19047
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
19048
+ name: "unlockCallback",
19049
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
19050
+ stateMutability: "nonpayable"
17782
19051
  },
17783
19052
  {
17784
19053
  type: "function",
17785
19054
  inputs: [],
17786
- name: "zoraSparks1155",
19055
+ name: "zoraLimitOrderBook",
17787
19056
  outputs: [
17788
- { name: "", internalType: "contract IZoraSparks1155", type: "address" }
19057
+ {
19058
+ name: "",
19059
+ internalType: "contract IZoraLimitOrderBook",
19060
+ type: "address"
19061
+ }
17789
19062
  ],
17790
19063
  stateMutability: "view"
17791
19064
  },
@@ -17794,63 +19067,19 @@ var zoraMintsManagerImplABI = [
17794
19067
  anonymous: false,
17795
19068
  inputs: [
17796
19069
  {
17797
- name: "tokenIds",
19070
+ name: "multiples",
17798
19071
  internalType: "uint256[]",
17799
19072
  type: "uint256[]",
17800
- indexed: true
19073
+ indexed: false
17801
19074
  },
17802
19075
  {
17803
- name: "quantities",
19076
+ name: "percentages",
17804
19077
  internalType: "uint256[]",
17805
19078
  type: "uint256[]",
17806
19079
  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
- }
17820
- ],
17821
- name: "Collected"
17822
- },
17823
- {
17824
- type: "event",
17825
- anonymous: false,
17826
- inputs: [
17827
- {
17828
- name: "tokenAddress",
17829
- internalType: "address",
17830
- type: "address",
17831
- indexed: false
17832
- },
17833
- {
17834
- name: "tokenId",
17835
- internalType: "uint256",
17836
- type: "uint256",
17837
- indexed: false
17838
- }
17839
- ],
17840
- name: "DefaultMintableTokenSet"
17841
- },
17842
- {
17843
- type: "event",
17844
- anonymous: false,
17845
- inputs: [
17846
- {
17847
- name: "version",
17848
- internalType: "uint64",
17849
- type: "uint64",
17850
- indexed: false
17851
19080
  }
17852
19081
  ],
17853
- name: "Initialized"
19082
+ name: "LimitOrderConfigUpdated"
17854
19083
  },
17855
19084
  {
17856
19085
  type: "event",
@@ -17863,351 +19092,329 @@ var zoraMintsManagerImplABI = [
17863
19092
  indexed: true
17864
19093
  },
17865
19094
  {
17866
- name: "tokenContract",
19095
+ name: "recipient",
17867
19096
  internalType: "address",
17868
19097
  type: "address",
17869
19098
  indexed: true
17870
19099
  },
17871
19100
  {
17872
- name: "tokenId",
17873
- internalType: "uint256",
17874
- type: "uint256",
17875
- indexed: true
19101
+ name: "poolKey",
19102
+ internalType: "struct PoolKey",
19103
+ type: "tuple",
19104
+ components: [
19105
+ { name: "currency0", internalType: "Currency", type: "address" },
19106
+ { name: "currency1", internalType: "Currency", type: "address" },
19107
+ { name: "fee", internalType: "uint24", type: "uint24" },
19108
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
19109
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
19110
+ ],
19111
+ indexed: false
17876
19112
  },
17877
19113
  {
17878
- name: "quantity",
17879
- internalType: "uint256",
17880
- type: "uint256",
19114
+ name: "delta",
19115
+ internalType: "BalanceDelta",
19116
+ type: "int256",
17881
19117
  indexed: false
17882
19118
  },
17883
19119
  {
17884
- name: "comment",
17885
- internalType: "string",
17886
- type: "string",
19120
+ name: "tickBeforeSwap",
19121
+ internalType: "int24",
19122
+ type: "int24",
17887
19123
  indexed: false
17888
- }
17889
- ],
17890
- name: "MintComment"
17891
- },
17892
- {
17893
- type: "event",
17894
- anonymous: false,
17895
- inputs: [
19124
+ },
17896
19125
  {
17897
- name: "previousOwner",
17898
- internalType: "address",
17899
- type: "address",
17900
- indexed: true
19126
+ name: "tickAfterSwap",
19127
+ internalType: "int24",
19128
+ type: "int24",
19129
+ indexed: false
17901
19130
  },
17902
19131
  {
17903
- name: "newOwner",
17904
- internalType: "address",
17905
- type: "address",
17906
- indexed: true
19132
+ name: "orders",
19133
+ internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
19134
+ type: "tuple[]",
19135
+ components: [
19136
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
19137
+ { name: "multiple", internalType: "uint256", type: "uint256" },
19138
+ { name: "percentage", internalType: "uint256", type: "uint256" }
19139
+ ],
19140
+ indexed: false
17907
19141
  }
17908
19142
  ],
17909
- name: "OwnershipTransferStarted"
19143
+ name: "SwapWithLimitOrdersExecuted"
17910
19144
  },
19145
+ { type: "error", inputs: [], name: "EmptyV4Route" },
19146
+ { type: "error", inputs: [], name: "FromAddressIsNotOwner" },
17911
19147
  {
17912
- type: "event",
17913
- anonymous: false,
19148
+ type: "error",
17914
19149
  inputs: [
17915
- {
17916
- name: "previousOwner",
17917
- internalType: "address",
17918
- type: "address",
17919
- indexed: true
17920
- },
17921
- {
17922
- name: "newOwner",
17923
- internalType: "address",
17924
- type: "address",
17925
- indexed: true
17926
- }
19150
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
19151
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
17927
19152
  ],
17928
- name: "OwnershipTransferred"
19153
+ name: "InsufficientInputCurrency"
17929
19154
  },
19155
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
19156
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
19157
+ { type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
19158
+ { type: "error", inputs: [], name: "InvalidMultiple" },
19159
+ { type: "error", inputs: [], name: "InvalidPercent" },
19160
+ { type: "error", inputs: [], name: "LengthMismatch" },
19161
+ { type: "error", inputs: [], name: "OnlyAuthority" },
19162
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
19163
+ { type: "error", inputs: [], name: "PercentOverflow" },
17930
19164
  {
17931
- type: "event",
17932
- anonymous: false,
17933
- inputs: [
17934
- {
17935
- name: "contractURI",
17936
- internalType: "string",
17937
- type: "string",
17938
- indexed: false
17939
- },
17940
- {
17941
- name: "baseURI",
17942
- internalType: "string",
17943
- type: "string",
17944
- indexed: false
17945
- }
17946
- ],
17947
- name: "URIsUpdated"
19165
+ type: "error",
19166
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
19167
+ name: "SafeERC20FailedOperation"
17948
19168
  },
19169
+ { type: "error", inputs: [], name: "UnsafeCast" },
19170
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
19171
+ { type: "error", inputs: [], name: "ZeroSwapDelta" },
19172
+ { type: "error", inputs: [], name: "AddressZero" },
19173
+ { type: "error", inputs: [], name: "AlreadyOwner" },
19174
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
17949
19175
  {
17950
- type: "event",
17951
- anonymous: false,
17952
- inputs: [
17953
- {
17954
- name: "implementation",
17955
- internalType: "address",
17956
- type: "address",
17957
- indexed: true
17958
- }
17959
- ],
17960
- name: "Upgraded"
19176
+ type: "error",
19177
+ inputs: [],
19178
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
17961
19179
  },
19180
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
17962
19181
  {
17963
19182
  type: "error",
17964
- inputs: [{ name: "target", internalType: "address", type: "address" }],
17965
- name: "AddressEmptyCode"
19183
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
19184
+ name: "ECDSAInvalidSignatureLength"
17966
19185
  },
17967
19186
  {
17968
19187
  type: "error",
17969
- inputs: [{ name: "account", internalType: "address", type: "address" }],
17970
- name: "AddressInsufficientBalance"
19188
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
19189
+ name: "ECDSAInvalidSignatureS"
17971
19190
  },
17972
19191
  {
17973
19192
  type: "error",
17974
19193
  inputs: [
17975
- { name: "lengthA", internalType: "uint256", type: "uint256" },
17976
- { name: "lengthB", internalType: "uint256", type: "uint256" }
19194
+ { name: "spender", internalType: "address", type: "address" },
19195
+ { name: "allowance", internalType: "uint256", type: "uint256" },
19196
+ { name: "needed", internalType: "uint256", type: "uint256" }
17977
19197
  ],
17978
- name: "ArrayLengthMismatch"
19198
+ name: "ERC20InsufficientAllowance"
17979
19199
  },
17980
19200
  {
17981
19201
  type: "error",
17982
19202
  inputs: [
17983
- { name: "operator", internalType: "address", type: "address" },
17984
- { name: "user", internalType: "address", type: "address" }
19203
+ { name: "sender", internalType: "address", type: "address" },
19204
+ { name: "balance", internalType: "uint256", type: "uint256" },
19205
+ { name: "needed", internalType: "uint256", type: "uint256" }
17985
19206
  ],
17986
- name: "Burn_NotOwnerOrApproved"
19207
+ name: "ERC20InsufficientBalance"
17987
19208
  },
17988
19209
  {
17989
19210
  type: "error",
17990
- inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
17991
- name: "CallFailed"
19211
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
19212
+ name: "ERC20InvalidApprover"
17992
19213
  },
17993
- { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
17994
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
17995
19214
  {
17996
19215
  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"
19216
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
19217
+ name: "ERC20InvalidReceiver"
18004
19218
  },
18005
19219
  {
18006
19220
  type: "error",
18007
- inputs: [
18008
- { name: "proposedAddress", internalType: "address", type: "address" }
18009
- ],
18010
- name: "Config_TransferHookNotSupported"
19221
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
19222
+ name: "ERC20InvalidSender"
18011
19223
  },
18012
- { type: "error", inputs: [], name: "Create2EmptyBytecode" },
18013
- { type: "error", inputs: [], name: "Create2FailedDeployment" },
18014
19224
  {
18015
19225
  type: "error",
18016
- inputs: [
18017
- { name: "balance", internalType: "uint256", type: "uint256" },
18018
- { name: "needed", internalType: "uint256", type: "uint256" }
18019
- ],
18020
- name: "Create2InsufficientBalance"
19226
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
19227
+ name: "ERC20InvalidSpender"
18021
19228
  },
18022
- { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
18023
- { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
18024
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
19229
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
18025
19230
  {
18026
19231
  type: "error",
18027
- inputs: [
18028
- { name: "implementation", internalType: "address", type: "address" }
18029
- ],
18030
- name: "ERC1967InvalidImplementation"
19232
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
19233
+ name: "ERC2612ExpiredSignature"
18031
19234
  },
18032
- { type: "error", inputs: [], name: "ERC1967NonPayable" },
18033
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
18034
- { type: "error", inputs: [], name: "ETHTransferFailed" },
18035
19235
  {
18036
19236
  type: "error",
18037
19237
  inputs: [
18038
- { name: "recipient", internalType: "address", type: "address" },
18039
- { name: "amount", internalType: "uint256", type: "uint256" }
19238
+ { name: "signer", internalType: "address", type: "address" },
19239
+ { name: "owner", internalType: "address", type: "address" }
18040
19240
  ],
18041
- name: "ETHWithdrawFailed"
19241
+ name: "ERC2612InvalidSigner"
18042
19242
  },
18043
- { type: "error", inputs: [], name: "FailedInnerCall" },
18044
- { type: "error", inputs: [], name: "FirstMinterAddressZero" },
19243
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
19244
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
19245
+ { type: "error", inputs: [], name: "EthTransferFailed" },
19246
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
19247
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
19248
+ { type: "error", inputs: [], name: "InsufficientFunds" },
19249
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
18045
19250
  {
18046
19251
  type: "error",
18047
19252
  inputs: [
18048
- { name: "amount", internalType: "uint256", type: "uint256" },
18049
- { name: "contractValue", internalType: "uint256", type: "uint256" }
19253
+ { name: "account", internalType: "address", type: "address" },
19254
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
18050
19255
  ],
18051
- name: "FundsWithdrawInsolvent"
19256
+ name: "InvalidAccountNonce"
18052
19257
  },
18053
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
18054
- { type: "error", inputs: [], name: "InvalidAdminAction" },
19258
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
18055
19259
  { type: "error", inputs: [], name: "InvalidInitialization" },
19260
+ { type: "error", inputs: [], name: "InvalidMarketType" },
19261
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
18056
19262
  {
18057
19263
  type: "error",
18058
19264
  inputs: [
18059
- { name: "mintTo", internalType: "address", type: "address" },
18060
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
18061
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
19265
+ { name: "tickLower", internalType: "int24", type: "int24" },
19266
+ { name: "tickUpper", internalType: "int24", type: "int24" }
18062
19267
  ],
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"
19268
+ name: "InvalidTickRangeMisordered"
18075
19269
  },
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" },
19270
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
19271
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
19272
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
19273
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
18090
19274
  {
18091
19275
  type: "error",
18092
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
18093
- name: "NotARedeemHandler"
19276
+ inputs: [
19277
+ { name: "value", internalType: "uint256", type: "uint256" },
19278
+ { name: "limit", internalType: "uint256", type: "uint256" }
19279
+ ],
19280
+ name: "MaxShareToBeSoldExceeded"
18094
19281
  },
19282
+ { type: "error", inputs: [], name: "NameIsRequired" },
18095
19283
  { 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" },
19284
+ { type: "error", inputs: [], name: "NotOwner" },
19285
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
19286
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
19287
+ { type: "error", inputs: [], name: "OnlyOwner" },
18111
19288
  {
18112
19289
  type: "error",
18113
19290
  inputs: [
18114
- { name: "caller", internalType: "address", type: "address" },
18115
- { name: "recipient", internalType: "address", type: "address" },
18116
- { name: "amount", internalType: "uint256", type: "uint256" }
19291
+ { name: "sender", internalType: "address", type: "address" },
19292
+ { name: "pool", internalType: "address", type: "address" }
18117
19293
  ],
18118
- name: "ProtocolRewardsWithdrawFailed"
19294
+ name: "OnlyPool"
18119
19295
  },
18120
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
18121
- { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
19296
+ { type: "error", inputs: [], name: "OnlyWeth" },
19297
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
19298
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
19299
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
19300
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
19301
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
19302
+ { type: "error", inputs: [], name: "EthTransferFailed" },
19303
+ { type: "error", inputs: [], name: "HookNotImplemented" },
18122
19304
  {
18123
19305
  type: "error",
18124
- inputs: [{ name: "token", internalType: "address", type: "address" }],
18125
- name: "SafeERC20FailedOperation"
19306
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
19307
+ name: "InvalidCallbackId"
18126
19308
  },
18127
- { type: "error", inputs: [], name: "SaleEnded" },
18128
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
18129
19309
  {
18130
19310
  type: "error",
18131
- inputs: [
18132
- { name: "targetContract", internalType: "address", type: "address" }
18133
- ],
18134
- name: "Sale_CannotCallNonSalesContract"
19311
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
19312
+ name: "InvalidNewHook"
18135
19313
  },
18136
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
18137
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
18138
19314
  {
18139
19315
  type: "error",
18140
19316
  inputs: [
18141
- { name: "expected", internalType: "uint256", type: "uint256" },
18142
- { name: "actual", internalType: "uint256", type: "uint256" }
19317
+ { name: "tickLower", internalType: "int24", type: "int24" },
19318
+ { name: "tickUpper", internalType: "int24", type: "int24" }
18143
19319
  ],
18144
- name: "TokenIdMismatch"
19320
+ name: "InvalidTickRangeMisordered"
18145
19321
  },
18146
19322
  {
18147
19323
  type: "error",
18148
19324
  inputs: [
18149
- { name: "storedTokenAddress", internalType: "address", type: "address" },
18150
19325
  {
18151
- name: "expectedTokenAddress",
18152
- internalType: "address",
18153
- type: "address"
19326
+ name: "key",
19327
+ internalType: "struct PoolKey",
19328
+ type: "tuple",
19329
+ components: [
19330
+ { name: "currency0", internalType: "Currency", type: "address" },
19331
+ { name: "currency1", internalType: "Currency", type: "address" },
19332
+ { name: "fee", internalType: "uint24", type: "uint24" },
19333
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
19334
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
19335
+ ]
18154
19336
  }
18155
19337
  ],
18156
- name: "TokenMismatch"
19338
+ name: "NoCoinForHook"
18157
19339
  },
18158
- { type: "error", inputs: [], name: "TokenNotMintable" },
18159
- { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
18160
19340
  {
18161
19341
  type: "error",
18162
- inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
18163
- name: "UUPSUnsupportedProxiableUUID"
19342
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
19343
+ name: "NotACoin"
18164
19344
  },
19345
+ { type: "error", inputs: [], name: "NotPoolManager" },
18165
19346
  {
18166
19347
  type: "error",
18167
- inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
18168
- name: "UnknownUserAction"
19348
+ inputs: [
19349
+ { name: "caller", internalType: "address", type: "address" },
19350
+ { name: "expectedCoin", internalType: "address", type: "address" }
19351
+ ],
19352
+ name: "OnlyCoin"
18169
19353
  },
19354
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
19355
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
18170
19356
  {
18171
19357
  type: "error",
18172
- inputs: [
18173
- { name: "expected", internalType: "string", type: "string" },
18174
- { name: "actual", internalType: "string", type: "string" }
18175
- ],
18176
- name: "UpgradeToMismatchedContractName"
19358
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
19359
+ name: "SafeERC20FailedOperation"
18177
19360
  },
18178
19361
  {
18179
19362
  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"
19363
+ inputs: [],
19364
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
18186
19365
  },
19366
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
18187
19367
  {
18188
19368
  type: "error",
18189
19369
  inputs: [
18190
- { name: "user", internalType: "address", type: "address" },
18191
- { name: "tokenId", internalType: "uint256", type: "uint256" },
18192
- { name: "role", internalType: "uint256", type: "uint256" }
19370
+ { name: "oldHook", internalType: "address", type: "address" },
19371
+ { name: "newHook", internalType: "address", type: "address" }
18193
19372
  ],
18194
- name: "UserMissingRoleForToken"
19373
+ name: "UpgradePathNotRegistered"
18195
19374
  },
18196
- { type: "error", inputs: [], name: "WrongValueSent" },
18197
19375
  {
18198
19376
  type: "error",
18199
- inputs: [],
18200
- name: "premintSignerContractFailedToRecoverSigner"
19377
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
19378
+ name: "AccessManagedInvalidAuthority"
18201
19379
  },
18202
- { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
19380
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
19381
+ { type: "error", inputs: [], name: "AddressZero" },
19382
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
19383
+ { type: "error", inputs: [], name: "InsufficientBalance" },
19384
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
19385
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
19386
+ {
19387
+ type: "error",
19388
+ inputs: [
19389
+ { name: "startTick", internalType: "int24", type: "int24" },
19390
+ { name: "endTick", internalType: "int24", type: "int24" },
19391
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
19392
+ ],
19393
+ name: "InvalidFillWindow"
19394
+ },
19395
+ { type: "error", inputs: [], name: "InvalidOrder" },
19396
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
19397
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
19398
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
19399
+ { type: "error", inputs: [], name: "NotPoolManager" },
19400
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
19401
+ { type: "error", inputs: [], name: "OrderClosed" },
19402
+ { type: "error", inputs: [], name: "OrderNotMaker" },
19403
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
19404
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
19405
+ { type: "error", inputs: [], name: "UnknownCallback" },
19406
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
19407
+ { type: "error", inputs: [], name: "ZeroMaker" },
19408
+ { type: "error", inputs: [], name: "ZeroMakerOrders" },
19409
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
19410
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
18203
19411
  ];
18204
- var zoraMintsManagerImplAddress = {
18205
- 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
18206
- 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
19412
+ var zoraRouterAddress = {
19413
+ 8453: "0xD17924a5f6B4845D214719aB6035a2ED64Ba23d9"
18207
19414
  };
18208
- var zoraMintsManagerImplConfig = {
18209
- address: zoraMintsManagerImplAddress,
18210
- abi: zoraMintsManagerImplABI
19415
+ var zoraRouterConfig = {
19416
+ address: zoraRouterAddress,
19417
+ abi: zoraRouterABI
18211
19418
  };
18212
19419
  var zoraSparks1155ABI = [
18213
19420
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
@@ -21137,6 +22344,20 @@ var chainConfigs2 = {
21137
22344
  PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
21138
22345
  ZORA_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
21139
22346
  WETH: "0x4200000000000000000000000000000000000006"
22347
+ },
22348
+ NaN: {
22349
+ NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
22350
+ UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
22351
+ UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
22352
+ UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
22353
+ DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
22354
+ PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
22355
+ ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
22356
+ WETH: "0x4200000000000000000000000000000000000006",
22357
+ UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
22358
+ UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
22359
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
22360
+ UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
21140
22361
  }
21141
22362
  };
21142
22363
  var addresses2 = {
@@ -21279,9 +22500,6 @@ var addresses2 = {
21279
22500
  uniswapQuoterV2ABI,
21280
22501
  uniswapQuoterV2Address,
21281
22502
  uniswapQuoterV2Config,
21282
- uniswapUniversalRouterABI,
21283
- uniswapUniversalRouterAddress,
21284
- uniswapUniversalRouterConfig,
21285
22503
  uniswapV3SwapRouterABI,
21286
22504
  uniswapV3SwapRouterAddress,
21287
22505
  uniswapV3SwapRouterConfig,
@@ -21310,12 +22528,18 @@ var addresses2 = {
21310
22528
  zoraCreatorRedeemMinterFactoryABI,
21311
22529
  zoraCreatorRedeemMinterFactoryAddress,
21312
22530
  zoraCreatorRedeemMinterFactoryConfig,
22531
+ zoraLimitOrderBookABI,
22532
+ zoraLimitOrderBookAddress,
22533
+ zoraLimitOrderBookConfig,
21313
22534
  zoraMints1155ABI,
21314
22535
  zoraMints1155Address,
21315
22536
  zoraMints1155Config,
21316
22537
  zoraMintsManagerImplABI,
21317
22538
  zoraMintsManagerImplAddress,
21318
22539
  zoraMintsManagerImplConfig,
22540
+ zoraRouterABI,
22541
+ zoraRouterAddress,
22542
+ zoraRouterConfig,
21319
22543
  zoraSparks1155ABI,
21320
22544
  zoraSparks1155Address,
21321
22545
  zoraSparks1155Config,