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

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