@zoralabs/protocol-deployments 0.6.1 → 0.6.3

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
@@ -3514,7 +3514,6 @@ var callerAndCommenterABI = [
3514
3514
  { type: "error", inputs: [], name: "NotInitializing" },
3515
3515
  { type: "error", inputs: [], name: "NotSmartWallet" },
3516
3516
  { type: "error", inputs: [], name: "NotSmartWalletOwner" },
3517
- { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
3518
3517
  { type: "error", inputs: [], name: "OnlySparksContract" },
3519
3518
  { type: "error", inputs: [], name: "TransferFailed" },
3520
3519
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
@@ -3549,23 +3548,6 @@ var callerAndCommenterConfig = {
3549
3548
  abi: callerAndCommenterABI
3550
3549
  };
3551
3550
  var coinABI = [
3552
- {
3553
- type: "constructor",
3554
- inputs: [
3555
- {
3556
- name: "protocolRewardRecipient_",
3557
- internalType: "address",
3558
- type: "address"
3559
- },
3560
- { name: "protocolRewards_", internalType: "address", type: "address" },
3561
- { name: "weth_", internalType: "address", type: "address" },
3562
- { name: "v3Factory_", internalType: "address", type: "address" },
3563
- { name: "swapRouter_", internalType: "address", type: "address" },
3564
- { name: "airlock_", internalType: "address", type: "address" }
3565
- ],
3566
- stateMutability: "nonpayable"
3567
- },
3568
- { type: "receive", stateMutability: "payable" },
3569
3551
  {
3570
3552
  type: "function",
3571
3553
  inputs: [],
@@ -3573,13 +3555,6 @@ var coinABI = [
3573
3555
  outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
3574
3556
  stateMutability: "view"
3575
3557
  },
3576
- {
3577
- type: "function",
3578
- inputs: [],
3579
- name: "WETH",
3580
- outputs: [{ name: "", internalType: "address", type: "address" }],
3581
- stateMutability: "view"
3582
- },
3583
3558
  {
3584
3559
  type: "function",
3585
3560
  inputs: [{ name: "account", internalType: "address", type: "address" }],
@@ -3639,26 +3614,12 @@ var coinABI = [
3639
3614
  },
3640
3615
  {
3641
3616
  type: "function",
3642
- inputs: [
3643
- { name: "recipient", internalType: "address", type: "address" },
3644
- { name: "orderSize", internalType: "uint256", type: "uint256" },
3645
- { name: "minAmountOut", internalType: "uint256", type: "uint256" },
3646
- { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
3647
- { name: "tradeReferrer", internalType: "address", type: "address" }
3648
- ],
3649
- name: "buy",
3617
+ inputs: [],
3618
+ name: "coinType",
3650
3619
  outputs: [
3651
- { name: "", internalType: "uint256", type: "uint256" },
3652
- { name: "", internalType: "uint256", type: "uint256" }
3620
+ { name: "", internalType: "enum IHasCoinType.CoinType", type: "uint8" }
3653
3621
  ],
3654
- stateMutability: "payable"
3655
- },
3656
- {
3657
- type: "function",
3658
- inputs: [{ name: "pushEthRewards", internalType: "bool", type: "bool" }],
3659
- name: "claimSecondaryRewards",
3660
- outputs: [],
3661
- stateMutability: "nonpayable"
3622
+ stateMutability: "view"
3662
3623
  },
3663
3624
  {
3664
3625
  type: "function",
@@ -3710,6 +3671,48 @@ var coinABI = [
3710
3671
  ],
3711
3672
  stateMutability: "view"
3712
3673
  },
3674
+ {
3675
+ type: "function",
3676
+ inputs: [
3677
+ {
3678
+ name: "coinVersionLookup",
3679
+ internalType: "contract IDeployedCoinVersionLookup",
3680
+ type: "address"
3681
+ }
3682
+ ],
3683
+ name: "getPayoutSwapPath",
3684
+ outputs: [
3685
+ {
3686
+ name: "payoutSwapPath",
3687
+ internalType: "struct IHasSwapPath.PayoutSwapPath",
3688
+ type: "tuple",
3689
+ components: [
3690
+ {
3691
+ name: "path",
3692
+ internalType: "struct PathKey[]",
3693
+ type: "tuple[]",
3694
+ components: [
3695
+ {
3696
+ name: "intermediateCurrency",
3697
+ internalType: "Currency",
3698
+ type: "address"
3699
+ },
3700
+ { name: "fee", internalType: "uint24", type: "uint24" },
3701
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3702
+ {
3703
+ name: "hooks",
3704
+ internalType: "contract IHooks",
3705
+ type: "address"
3706
+ },
3707
+ { name: "hookData", internalType: "bytes", type: "bytes" }
3708
+ ]
3709
+ },
3710
+ { name: "currencyIn", internalType: "Currency", type: "address" }
3711
+ ]
3712
+ }
3713
+ ],
3714
+ stateMutability: "view"
3715
+ },
3713
3716
  {
3714
3717
  type: "function",
3715
3718
  inputs: [],
@@ -3741,6 +3744,33 @@ var coinABI = [
3741
3744
  ],
3742
3745
  stateMutability: "view"
3743
3746
  },
3747
+ {
3748
+ type: "function",
3749
+ inputs: [],
3750
+ name: "getPoolKey",
3751
+ outputs: [
3752
+ {
3753
+ name: "",
3754
+ internalType: "struct PoolKey",
3755
+ type: "tuple",
3756
+ components: [
3757
+ { name: "currency0", internalType: "Currency", type: "address" },
3758
+ { name: "currency1", internalType: "Currency", type: "address" },
3759
+ { name: "fee", internalType: "uint24", type: "uint24" },
3760
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3761
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3762
+ ]
3763
+ }
3764
+ ],
3765
+ stateMutability: "view"
3766
+ },
3767
+ {
3768
+ type: "function",
3769
+ inputs: [],
3770
+ name: "hooks",
3771
+ outputs: [{ name: "", internalType: "contract IHooks", type: "address" }],
3772
+ stateMutability: "view"
3773
+ },
3744
3774
  {
3745
3775
  type: "function",
3746
3776
  inputs: [
@@ -3751,7 +3781,19 @@ var coinABI = [
3751
3781
  { name: "symbol_", internalType: "string", type: "string" },
3752
3782
  { name: "platformReferrer_", internalType: "address", type: "address" },
3753
3783
  { name: "currency_", internalType: "address", type: "address" },
3754
- { name: "poolAddress_", internalType: "address", type: "address" },
3784
+ {
3785
+ name: "poolKey_",
3786
+ internalType: "struct PoolKey",
3787
+ type: "tuple",
3788
+ components: [
3789
+ { name: "currency0", internalType: "Currency", type: "address" },
3790
+ { name: "currency1", internalType: "Currency", type: "address" },
3791
+ { name: "fee", internalType: "uint24", type: "uint24" },
3792
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3793
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3794
+ ]
3795
+ },
3796
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
3755
3797
  {
3756
3798
  name: "poolConfiguration_",
3757
3799
  internalType: "struct PoolConfiguration",
@@ -3774,16 +3816,6 @@ var coinABI = [
3774
3816
  type: "uint256[]"
3775
3817
  }
3776
3818
  ]
3777
- },
3778
- {
3779
- name: "positions_",
3780
- internalType: "struct LpPosition[]",
3781
- type: "tuple[]",
3782
- components: [
3783
- { name: "tickLower", internalType: "int24", type: "int24" },
3784
- { name: "tickUpper", internalType: "int24", type: "int24" },
3785
- { name: "liquidity", internalType: "uint128", type: "uint128" }
3786
- ]
3787
3819
  }
3788
3820
  ],
3789
3821
  name: "initialize",
@@ -3799,17 +3831,26 @@ var coinABI = [
3799
3831
  },
3800
3832
  {
3801
3833
  type: "function",
3802
- inputs: [],
3803
- name: "market",
3804
- outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
3805
- stateMutability: "view"
3806
- },
3807
- {
3808
- type: "function",
3809
- inputs: [],
3810
- name: "marketVersion",
3811
- outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
3812
- stateMutability: "view"
3834
+ inputs: [
3835
+ { name: "newHook", internalType: "address", type: "address" },
3836
+ { name: "additionalData", internalType: "bytes", type: "bytes" }
3837
+ ],
3838
+ name: "migrateLiquidity",
3839
+ outputs: [
3840
+ {
3841
+ name: "newPoolKey",
3842
+ internalType: "struct PoolKey",
3843
+ type: "tuple",
3844
+ components: [
3845
+ { name: "currency0", internalType: "Currency", type: "address" },
3846
+ { name: "currency1", internalType: "Currency", type: "address" },
3847
+ { name: "fee", internalType: "uint24", type: "uint24" },
3848
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3849
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3850
+ ]
3851
+ }
3852
+ ],
3853
+ stateMutability: "nonpayable"
3813
3854
  },
3814
3855
  {
3815
3856
  type: "function",
@@ -3864,30 +3905,9 @@ var coinABI = [
3864
3905
  {
3865
3906
  type: "function",
3866
3907
  inputs: [],
3867
- name: "poolAddress",
3868
- outputs: [{ name: "", internalType: "address", type: "address" }],
3869
- stateMutability: "view"
3870
- },
3871
- {
3872
- type: "function",
3873
- inputs: [],
3874
- name: "poolConfiguration",
3875
- outputs: [
3876
- { name: "version", internalType: "uint8", type: "uint8" },
3877
- { name: "numPositions", internalType: "uint16", type: "uint16" },
3878
- { name: "fee", internalType: "uint24", type: "uint24" },
3879
- { name: "tickSpacing", internalType: "int24", type: "int24" }
3880
- ],
3881
- stateMutability: "view"
3882
- },
3883
- {
3884
- type: "function",
3885
- inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3886
- name: "positions",
3908
+ name: "poolManager",
3887
3909
  outputs: [
3888
- { name: "tickLower", internalType: "int24", type: "int24" },
3889
- { name: "tickUpper", internalType: "int24", type: "int24" },
3890
- { name: "liquidity", internalType: "uint128", type: "uint128" }
3910
+ { name: "", internalType: "contract IPoolManager", type: "address" }
3891
3911
  ],
3892
3912
  stateMutability: "view"
3893
3913
  },
@@ -3928,22 +3948,6 @@ var coinABI = [
3928
3948
  outputs: [],
3929
3949
  stateMutability: "nonpayable"
3930
3950
  },
3931
- {
3932
- type: "function",
3933
- inputs: [
3934
- { name: "recipient", internalType: "address", type: "address" },
3935
- { name: "orderSize", internalType: "uint256", type: "uint256" },
3936
- { name: "minAmountOut", internalType: "uint256", type: "uint256" },
3937
- { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
3938
- { name: "tradeReferrer", internalType: "address", type: "address" }
3939
- ],
3940
- name: "sell",
3941
- outputs: [
3942
- { name: "", internalType: "uint256", type: "uint256" },
3943
- { name: "", internalType: "uint256", type: "uint256" }
3944
- ],
3945
- stateMutability: "nonpayable"
3946
- },
3947
3951
  {
3948
3952
  type: "function",
3949
3953
  inputs: [{ name: "newURI", internalType: "string", type: "string" }],
@@ -3975,13 +3979,6 @@ var coinABI = [
3975
3979
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
3976
3980
  name: "supportsInterface",
3977
3981
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
3978
- stateMutability: "pure"
3979
- },
3980
- {
3981
- type: "function",
3982
- inputs: [],
3983
- name: "swapRouter",
3984
- outputs: [{ name: "", internalType: "address", type: "address" }],
3985
3982
  stateMutability: "view"
3986
3983
  },
3987
3984
  {
@@ -4005,6 +4002,13 @@ var coinABI = [
4005
4002
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4006
4003
  stateMutability: "view"
4007
4004
  },
4005
+ {
4006
+ type: "function",
4007
+ inputs: [],
4008
+ name: "totalSupplyForPositions",
4009
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
4010
+ stateMutability: "view"
4011
+ },
4008
4012
  {
4009
4013
  type: "function",
4010
4014
  inputs: [
@@ -4026,24 +4030,6 @@ var coinABI = [
4026
4030
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
4027
4031
  stateMutability: "nonpayable"
4028
4032
  },
4029
- {
4030
- type: "function",
4031
- inputs: [
4032
- { name: "amount0Owed", internalType: "uint256", type: "uint256" },
4033
- { name: "amount1Owed", internalType: "uint256", type: "uint256" },
4034
- { name: "", internalType: "bytes", type: "bytes" }
4035
- ],
4036
- name: "uniswapV3MintCallback",
4037
- outputs: [],
4038
- stateMutability: "nonpayable"
4039
- },
4040
- {
4041
- type: "function",
4042
- inputs: [],
4043
- name: "v3Factory",
4044
- outputs: [{ name: "", internalType: "address", type: "address" }],
4045
- stateMutability: "view"
4046
- },
4047
4033
  {
4048
4034
  type: "event",
4049
4035
  anonymous: false,
@@ -4400,6 +4386,51 @@ var coinABI = [
4400
4386
  ],
4401
4387
  name: "Initialized"
4402
4388
  },
4389
+ {
4390
+ type: "event",
4391
+ anonymous: false,
4392
+ inputs: [
4393
+ {
4394
+ name: "fromPoolKey",
4395
+ internalType: "struct PoolKey",
4396
+ type: "tuple",
4397
+ components: [
4398
+ { name: "currency0", internalType: "Currency", type: "address" },
4399
+ { name: "currency1", internalType: "Currency", type: "address" },
4400
+ { name: "fee", internalType: "uint24", type: "uint24" },
4401
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
4402
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
4403
+ ],
4404
+ indexed: false
4405
+ },
4406
+ {
4407
+ name: "fromPoolKeyHash",
4408
+ internalType: "bytes32",
4409
+ type: "bytes32",
4410
+ indexed: false
4411
+ },
4412
+ {
4413
+ name: "toPoolKey",
4414
+ internalType: "struct PoolKey",
4415
+ type: "tuple",
4416
+ components: [
4417
+ { name: "currency0", internalType: "Currency", type: "address" },
4418
+ { name: "currency1", internalType: "Currency", type: "address" },
4419
+ { name: "fee", internalType: "uint24", type: "uint24" },
4420
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
4421
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
4422
+ ],
4423
+ indexed: false
4424
+ },
4425
+ {
4426
+ name: "toPoolKeyHash",
4427
+ internalType: "bytes32",
4428
+ type: "bytes32",
4429
+ indexed: false
4430
+ }
4431
+ ],
4432
+ name: "LiquidityMigrated"
4433
+ },
4403
4434
  {
4404
4435
  type: "event",
4405
4436
  anonymous: false,
@@ -4465,17 +4496,6 @@ var coinABI = [
4465
4496
  ],
4466
4497
  name: "Transfer"
4467
4498
  },
4468
- {
4469
- type: "error",
4470
- inputs: [{ name: "target", internalType: "address", type: "address" }],
4471
- name: "AddressEmptyCode"
4472
- },
4473
- {
4474
- type: "error",
4475
- inputs: [{ name: "account", internalType: "address", type: "address" }],
4476
- name: "AddressInsufficientBalance"
4477
- },
4478
- { type: "error", inputs: [], name: "AddressZero" },
4479
4499
  { type: "error", inputs: [], name: "AddressZero" },
4480
4500
  { type: "error", inputs: [], name: "AlreadyOwner" },
4481
4501
  { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
@@ -4551,7 +4571,6 @@ var coinABI = [
4551
4571
  { type: "error", inputs: [], name: "EthAmountTooSmall" },
4552
4572
  { type: "error", inputs: [], name: "EthTransferFailed" },
4553
4573
  { type: "error", inputs: [], name: "EthTransferInvalid" },
4554
- { type: "error", inputs: [], name: "FailedInnerCall" },
4555
4574
  { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
4556
4575
  { type: "error", inputs: [], name: "InsufficientFunds" },
4557
4576
  { type: "error", inputs: [], name: "InsufficientLiquidity" },
@@ -4603,12 +4622,6 @@ var coinABI = [
4603
4622
  },
4604
4623
  { type: "error", inputs: [], name: "OnlyWeth" },
4605
4624
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
4606
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
4607
- {
4608
- type: "error",
4609
- inputs: [{ name: "token", internalType: "address", type: "address" }],
4610
- name: "SafeERC20FailedOperation"
4611
- },
4612
4625
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
4613
4626
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
4614
4627
  ];
@@ -4616,11 +4629,10 @@ var coinFactoryABI = [
4616
4629
  {
4617
4630
  type: "constructor",
4618
4631
  inputs: [
4619
- { name: "_coinImpl", internalType: "address", type: "address" },
4620
- { name: "_coinV4Impl", internalType: "address", type: "address" },
4621
- { name: "_creatorCoinImpl", internalType: "address", type: "address" },
4622
- { name: "_contentCoinHook", internalType: "address", type: "address" },
4623
- { name: "_creatorCoinHook", internalType: "address", type: "address" }
4632
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
4633
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
4634
+ { name: "hook_", internalType: "address", type: "address" },
4635
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
4624
4636
  ],
4625
4637
  stateMutability: "nonpayable"
4626
4638
  },
@@ -4631,6 +4643,13 @@ var coinFactoryABI = [
4631
4643
  outputs: [{ name: "", internalType: "string", type: "string" }],
4632
4644
  stateMutability: "view"
4633
4645
  },
4646
+ {
4647
+ type: "function",
4648
+ inputs: [],
4649
+ name: "acceptOwnership",
4650
+ outputs: [],
4651
+ stateMutability: "nonpayable"
4652
+ },
4634
4653
  {
4635
4654
  type: "function",
4636
4655
  inputs: [
@@ -4640,15 +4659,8 @@ var coinFactoryABI = [
4640
4659
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
4641
4660
  { name: "platformReferrer", internalType: "address", type: "address" },
4642
4661
  { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
4643
- ],
4644
- name: "coinAddress",
4645
- outputs: [{ name: "", internalType: "address", type: "address" }],
4646
- stateMutability: "view"
4647
- },
4648
- {
4649
- type: "function",
4650
- inputs: [],
4651
- name: "coinImpl",
4662
+ ],
4663
+ name: "coinAddress",
4652
4664
  outputs: [{ name: "", internalType: "address", type: "address" }],
4653
4665
  stateMutability: "view"
4654
4666
  },
@@ -4705,7 +4717,7 @@ var coinFactoryABI = [
4705
4717
  { name: "platformReferrer", internalType: "address", type: "address" },
4706
4718
  { name: "currency", internalType: "address", type: "address" },
4707
4719
  { name: "", internalType: "int24", type: "int24" },
4708
- { name: "orderSize", internalType: "uint256", type: "uint256" }
4720
+ { name: "", internalType: "uint256", type: "uint256" }
4709
4721
  ],
4710
4722
  name: "deploy",
4711
4723
  outputs: [
@@ -4745,7 +4757,7 @@ var coinFactoryABI = [
4745
4757
  { name: "symbol", internalType: "string", type: "string" },
4746
4758
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
4747
4759
  { name: "platformReferrer", internalType: "address", type: "address" },
4748
- { name: "orderSize", internalType: "uint256", type: "uint256" }
4760
+ { name: "", internalType: "uint256", type: "uint256" }
4749
4761
  ],
4750
4762
  name: "deploy",
4751
4763
  outputs: [
@@ -4780,7 +4792,28 @@ var coinFactoryABI = [
4780
4792
  { name: "symbol", internalType: "string", type: "string" },
4781
4793
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
4782
4794
  { name: "platformReferrer", internalType: "address", type: "address" },
4783
- { name: "hook", internalType: "address", type: "address" },
4795
+ { name: "postDeployHook", internalType: "address", type: "address" },
4796
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
4797
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
4798
+ ],
4799
+ name: "deployCreatorCoin",
4800
+ outputs: [
4801
+ { name: "coin", internalType: "address", type: "address" },
4802
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
4803
+ ],
4804
+ stateMutability: "payable"
4805
+ },
4806
+ {
4807
+ type: "function",
4808
+ inputs: [
4809
+ { name: "payoutRecipient", internalType: "address", type: "address" },
4810
+ { name: "owners", internalType: "address[]", type: "address[]" },
4811
+ { name: "uri", internalType: "string", type: "string" },
4812
+ { name: "name", internalType: "string", type: "string" },
4813
+ { name: "symbol", internalType: "string", type: "string" },
4814
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
4815
+ { name: "platformReferrer", internalType: "address", type: "address" },
4816
+ { name: "deployHook", internalType: "address", type: "address" },
4784
4817
  { name: "hookData", internalType: "bytes", type: "bytes" }
4785
4818
  ],
4786
4819
  name: "deployWithHook",
@@ -4797,6 +4830,13 @@ var coinFactoryABI = [
4797
4830
  outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
4798
4831
  stateMutability: "view"
4799
4832
  },
4833
+ {
4834
+ type: "function",
4835
+ inputs: [],
4836
+ name: "hook",
4837
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4838
+ stateMutability: "view"
4839
+ },
4800
4840
  {
4801
4841
  type: "function",
4802
4842
  inputs: [],
@@ -4820,6 +4860,13 @@ var coinFactoryABI = [
4820
4860
  outputs: [{ name: "", internalType: "address", type: "address" }],
4821
4861
  stateMutability: "view"
4822
4862
  },
4863
+ {
4864
+ type: "function",
4865
+ inputs: [],
4866
+ name: "pendingOwner",
4867
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4868
+ stateMutability: "view"
4869
+ },
4823
4870
  {
4824
4871
  type: "function",
4825
4872
  inputs: [],
@@ -4851,6 +4898,13 @@ var coinFactoryABI = [
4851
4898
  outputs: [],
4852
4899
  stateMutability: "payable"
4853
4900
  },
4901
+ {
4902
+ type: "function",
4903
+ inputs: [],
4904
+ name: "zoraHookRegistry",
4905
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4906
+ stateMutability: "view"
4907
+ },
4854
4908
  {
4855
4909
  type: "event",
4856
4910
  anonymous: false,
@@ -5061,6 +5115,25 @@ var coinFactoryABI = [
5061
5115
  ],
5062
5116
  name: "Initialized"
5063
5117
  },
5118
+ {
5119
+ type: "event",
5120
+ anonymous: false,
5121
+ inputs: [
5122
+ {
5123
+ name: "previousOwner",
5124
+ internalType: "address",
5125
+ type: "address",
5126
+ indexed: true
5127
+ },
5128
+ {
5129
+ name: "newOwner",
5130
+ internalType: "address",
5131
+ type: "address",
5132
+ indexed: true
5133
+ }
5134
+ ],
5135
+ name: "OwnershipTransferStarted"
5136
+ },
5064
5137
  {
5065
5138
  type: "event",
5066
5139
  anonymous: false,
@@ -5098,13 +5171,7 @@ var coinFactoryABI = [
5098
5171
  inputs: [{ name: "target", internalType: "address", type: "address" }],
5099
5172
  name: "AddressEmptyCode"
5100
5173
  },
5101
- {
5102
- type: "error",
5103
- inputs: [{ name: "account", internalType: "address", type: "address" }],
5104
- name: "AddressInsufficientBalance"
5105
- },
5106
5174
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
5107
- { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
5108
5175
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
5109
5176
  { type: "error", inputs: [], name: "Deprecated" },
5110
5177
  { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
@@ -5116,7 +5183,6 @@ var coinFactoryABI = [
5116
5183
  name: "ERC1967InvalidImplementation"
5117
5184
  },
5118
5185
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
5119
- { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
5120
5186
  { type: "error", inputs: [], name: "EthTransferInvalid" },
5121
5187
  { type: "error", inputs: [], name: "FailedInnerCall" },
5122
5188
  { type: "error", inputs: [], name: "InvalidConfig" },
@@ -5131,14 +5197,6 @@ var coinFactoryABI = [
5131
5197
  ],
5132
5198
  name: "InvalidTickRangeMisordered"
5133
5199
  },
5134
- {
5135
- type: "error",
5136
- inputs: [
5137
- { name: "tickLower", internalType: "int24", type: "int24" },
5138
- { name: "tickUpper", internalType: "int24", type: "int24" }
5139
- ],
5140
- name: "InvalidTickRangeMisordered"
5141
- },
5142
5200
  {
5143
5201
  type: "error",
5144
5202
  inputs: [
@@ -5160,11 +5218,6 @@ var coinFactoryABI = [
5160
5218
  name: "OwnableUnauthorizedAccount"
5161
5219
  },
5162
5220
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
5163
- {
5164
- type: "error",
5165
- inputs: [{ name: "token", internalType: "address", type: "address" }],
5166
- name: "SafeERC20FailedOperation"
5167
- },
5168
5221
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
5169
5222
  {
5170
5223
  type: "error",
@@ -5273,6 +5326,22 @@ var coinV4ABI = [
5273
5326
  outputs: [],
5274
5327
  stateMutability: "nonpayable"
5275
5328
  },
5329
+ {
5330
+ type: "function",
5331
+ inputs: [],
5332
+ name: "claimVesting",
5333
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5334
+ stateMutability: "nonpayable"
5335
+ },
5336
+ {
5337
+ type: "function",
5338
+ inputs: [],
5339
+ name: "coinType",
5340
+ outputs: [
5341
+ { name: "", internalType: "enum IHasCoinType.CoinType", type: "uint8" }
5342
+ ],
5343
+ stateMutability: "pure"
5344
+ },
5276
5345
  {
5277
5346
  type: "function",
5278
5347
  inputs: [],
@@ -5323,6 +5392,13 @@ var coinV4ABI = [
5323
5392
  ],
5324
5393
  stateMutability: "view"
5325
5394
  },
5395
+ {
5396
+ type: "function",
5397
+ inputs: [],
5398
+ name: "getClaimableAmount",
5399
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5400
+ stateMutability: "view"
5401
+ },
5326
5402
  {
5327
5403
  type: "function",
5328
5404
  inputs: [
@@ -5631,7 +5707,7 @@ var coinV4ABI = [
5631
5707
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
5632
5708
  name: "supportsInterface",
5633
5709
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
5634
- stateMutability: "pure"
5710
+ stateMutability: "view"
5635
5711
  },
5636
5712
  {
5637
5713
  type: "function",
@@ -5647,6 +5723,13 @@ var coinV4ABI = [
5647
5723
  outputs: [{ name: "", internalType: "string", type: "string" }],
5648
5724
  stateMutability: "view"
5649
5725
  },
5726
+ {
5727
+ type: "function",
5728
+ inputs: [],
5729
+ name: "totalClaimed",
5730
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5731
+ stateMutability: "view"
5732
+ },
5650
5733
  {
5651
5734
  type: "function",
5652
5735
  inputs: [],
@@ -5654,6 +5737,13 @@ var coinV4ABI = [
5654
5737
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5655
5738
  stateMutability: "view"
5656
5739
  },
5740
+ {
5741
+ type: "function",
5742
+ inputs: [],
5743
+ name: "totalSupplyForPositions",
5744
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5745
+ stateMutability: "pure"
5746
+ },
5657
5747
  {
5658
5748
  type: "function",
5659
5749
  inputs: [
@@ -5675,6 +5765,20 @@ var coinV4ABI = [
5675
5765
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
5676
5766
  stateMutability: "nonpayable"
5677
5767
  },
5768
+ {
5769
+ type: "function",
5770
+ inputs: [],
5771
+ name: "vestingEndTime",
5772
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5773
+ stateMutability: "view"
5774
+ },
5775
+ {
5776
+ type: "function",
5777
+ inputs: [],
5778
+ name: "vestingStartTime",
5779
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
5780
+ stateMutability: "view"
5781
+ },
5678
5782
  {
5679
5783
  type: "event",
5680
5784
  anonymous: false,
@@ -6017,6 +6121,43 @@ var coinV4ABI = [
6017
6121
  name: "ContractMetadataUpdated"
6018
6122
  },
6019
6123
  { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
6124
+ {
6125
+ type: "event",
6126
+ anonymous: false,
6127
+ inputs: [
6128
+ {
6129
+ name: "recipient",
6130
+ internalType: "address",
6131
+ type: "address",
6132
+ indexed: true
6133
+ },
6134
+ {
6135
+ name: "claimAmount",
6136
+ internalType: "uint256",
6137
+ type: "uint256",
6138
+ indexed: false
6139
+ },
6140
+ {
6141
+ name: "totalClaimed",
6142
+ internalType: "uint256",
6143
+ type: "uint256",
6144
+ indexed: false
6145
+ },
6146
+ {
6147
+ name: "vestingStartTime",
6148
+ internalType: "uint256",
6149
+ type: "uint256",
6150
+ indexed: false
6151
+ },
6152
+ {
6153
+ name: "vestingEndTime",
6154
+ internalType: "uint256",
6155
+ type: "uint256",
6156
+ indexed: false
6157
+ }
6158
+ ],
6159
+ name: "CreatorVestingClaimed"
6160
+ },
6020
6161
  { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
6021
6162
  {
6022
6163
  type: "event",
@@ -6227,6 +6368,7 @@ var coinV4ABI = [
6227
6368
  ],
6228
6369
  name: "InvalidAccountNonce"
6229
6370
  },
6371
+ { type: "error", inputs: [], name: "InvalidCurrency" },
6230
6372
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
6231
6373
  { type: "error", inputs: [], name: "InvalidInitialization" },
6232
6374
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -6267,7 +6409,6 @@ var coinV4ABI = [
6267
6409
  },
6268
6410
  { type: "error", inputs: [], name: "OnlyWeth" },
6269
6411
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
6270
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
6271
6412
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
6272
6413
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
6273
6414
  ];
@@ -8012,7 +8153,6 @@ var commentsABI = [
8012
8153
  { type: "error", inputs: [], name: "NotInitializing" },
8013
8154
  { type: "error", inputs: [], name: "NotSmartWallet" },
8014
8155
  { type: "error", inputs: [], name: "NotSmartWalletOwner" },
8015
- { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
8016
8156
  { type: "error", inputs: [], name: "OnlySparksContract" },
8017
8157
  { type: "error", inputs: [], name: "TransferFailed" },
8018
8158
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
@@ -8143,11 +8283,10 @@ var devCoinFactoryABI = [
8143
8283
  {
8144
8284
  type: "constructor",
8145
8285
  inputs: [
8146
- { name: "_coinImpl", internalType: "address", type: "address" },
8147
- { name: "_coinV4Impl", internalType: "address", type: "address" },
8148
- { name: "_creatorCoinImpl", internalType: "address", type: "address" },
8149
- { name: "_contentCoinHook", internalType: "address", type: "address" },
8150
- { name: "_creatorCoinHook", internalType: "address", type: "address" }
8286
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
8287
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
8288
+ { name: "hook_", internalType: "address", type: "address" },
8289
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
8151
8290
  ],
8152
8291
  stateMutability: "nonpayable"
8153
8292
  },
@@ -8158,6 +8297,13 @@ var devCoinFactoryABI = [
8158
8297
  outputs: [{ name: "", internalType: "string", type: "string" }],
8159
8298
  stateMutability: "view"
8160
8299
  },
8300
+ {
8301
+ type: "function",
8302
+ inputs: [],
8303
+ name: "acceptOwnership",
8304
+ outputs: [],
8305
+ stateMutability: "nonpayable"
8306
+ },
8161
8307
  {
8162
8308
  type: "function",
8163
8309
  inputs: [
@@ -8172,13 +8318,6 @@ var devCoinFactoryABI = [
8172
8318
  outputs: [{ name: "", internalType: "address", type: "address" }],
8173
8319
  stateMutability: "view"
8174
8320
  },
8175
- {
8176
- type: "function",
8177
- inputs: [],
8178
- name: "coinImpl",
8179
- outputs: [{ name: "", internalType: "address", type: "address" }],
8180
- stateMutability: "view"
8181
- },
8182
8321
  {
8183
8322
  type: "function",
8184
8323
  inputs: [],
@@ -8232,7 +8371,7 @@ var devCoinFactoryABI = [
8232
8371
  { name: "platformReferrer", internalType: "address", type: "address" },
8233
8372
  { name: "currency", internalType: "address", type: "address" },
8234
8373
  { name: "", internalType: "int24", type: "int24" },
8235
- { name: "orderSize", internalType: "uint256", type: "uint256" }
8374
+ { name: "", internalType: "uint256", type: "uint256" }
8236
8375
  ],
8237
8376
  name: "deploy",
8238
8377
  outputs: [
@@ -8272,7 +8411,7 @@ var devCoinFactoryABI = [
8272
8411
  { name: "symbol", internalType: "string", type: "string" },
8273
8412
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
8274
8413
  { name: "platformReferrer", internalType: "address", type: "address" },
8275
- { name: "orderSize", internalType: "uint256", type: "uint256" }
8414
+ { name: "", internalType: "uint256", type: "uint256" }
8276
8415
  ],
8277
8416
  name: "deploy",
8278
8417
  outputs: [
@@ -8307,7 +8446,28 @@ var devCoinFactoryABI = [
8307
8446
  { name: "symbol", internalType: "string", type: "string" },
8308
8447
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
8309
8448
  { name: "platformReferrer", internalType: "address", type: "address" },
8310
- { name: "hook", internalType: "address", type: "address" },
8449
+ { name: "postDeployHook", internalType: "address", type: "address" },
8450
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
8451
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
8452
+ ],
8453
+ name: "deployCreatorCoin",
8454
+ outputs: [
8455
+ { name: "coin", internalType: "address", type: "address" },
8456
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
8457
+ ],
8458
+ stateMutability: "payable"
8459
+ },
8460
+ {
8461
+ type: "function",
8462
+ inputs: [
8463
+ { name: "payoutRecipient", internalType: "address", type: "address" },
8464
+ { name: "owners", internalType: "address[]", type: "address[]" },
8465
+ { name: "uri", internalType: "string", type: "string" },
8466
+ { name: "name", internalType: "string", type: "string" },
8467
+ { name: "symbol", internalType: "string", type: "string" },
8468
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
8469
+ { name: "platformReferrer", internalType: "address", type: "address" },
8470
+ { name: "deployHook", internalType: "address", type: "address" },
8311
8471
  { name: "hookData", internalType: "bytes", type: "bytes" }
8312
8472
  ],
8313
8473
  name: "deployWithHook",
@@ -8324,6 +8484,13 @@ var devCoinFactoryABI = [
8324
8484
  outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
8325
8485
  stateMutability: "view"
8326
8486
  },
8487
+ {
8488
+ type: "function",
8489
+ inputs: [],
8490
+ name: "hook",
8491
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8492
+ stateMutability: "view"
8493
+ },
8327
8494
  {
8328
8495
  type: "function",
8329
8496
  inputs: [],
@@ -8347,6 +8514,13 @@ var devCoinFactoryABI = [
8347
8514
  outputs: [{ name: "", internalType: "address", type: "address" }],
8348
8515
  stateMutability: "view"
8349
8516
  },
8517
+ {
8518
+ type: "function",
8519
+ inputs: [],
8520
+ name: "pendingOwner",
8521
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8522
+ stateMutability: "view"
8523
+ },
8350
8524
  {
8351
8525
  type: "function",
8352
8526
  inputs: [],
@@ -8378,6 +8552,13 @@ var devCoinFactoryABI = [
8378
8552
  outputs: [],
8379
8553
  stateMutability: "payable"
8380
8554
  },
8555
+ {
8556
+ type: "function",
8557
+ inputs: [],
8558
+ name: "zoraHookRegistry",
8559
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8560
+ stateMutability: "view"
8561
+ },
8381
8562
  {
8382
8563
  type: "event",
8383
8564
  anonymous: false,
@@ -8588,6 +8769,25 @@ var devCoinFactoryABI = [
8588
8769
  ],
8589
8770
  name: "Initialized"
8590
8771
  },
8772
+ {
8773
+ type: "event",
8774
+ anonymous: false,
8775
+ inputs: [
8776
+ {
8777
+ name: "previousOwner",
8778
+ internalType: "address",
8779
+ type: "address",
8780
+ indexed: true
8781
+ },
8782
+ {
8783
+ name: "newOwner",
8784
+ internalType: "address",
8785
+ type: "address",
8786
+ indexed: true
8787
+ }
8788
+ ],
8789
+ name: "OwnershipTransferStarted"
8790
+ },
8591
8791
  {
8592
8792
  type: "event",
8593
8793
  anonymous: false,
@@ -8625,13 +8825,7 @@ var devCoinFactoryABI = [
8625
8825
  inputs: [{ name: "target", internalType: "address", type: "address" }],
8626
8826
  name: "AddressEmptyCode"
8627
8827
  },
8628
- {
8629
- type: "error",
8630
- inputs: [{ name: "account", internalType: "address", type: "address" }],
8631
- name: "AddressInsufficientBalance"
8632
- },
8633
8828
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
8634
- { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
8635
8829
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
8636
8830
  { type: "error", inputs: [], name: "Deprecated" },
8637
8831
  { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
@@ -8643,7 +8837,6 @@ var devCoinFactoryABI = [
8643
8837
  name: "ERC1967InvalidImplementation"
8644
8838
  },
8645
8839
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
8646
- { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
8647
8840
  { type: "error", inputs: [], name: "EthTransferInvalid" },
8648
8841
  { type: "error", inputs: [], name: "FailedInnerCall" },
8649
8842
  { type: "error", inputs: [], name: "InvalidConfig" },
@@ -8658,14 +8851,6 @@ var devCoinFactoryABI = [
8658
8851
  ],
8659
8852
  name: "InvalidTickRangeMisordered"
8660
8853
  },
8661
- {
8662
- type: "error",
8663
- inputs: [
8664
- { name: "tickLower", internalType: "int24", type: "int24" },
8665
- { name: "tickUpper", internalType: "int24", type: "int24" }
8666
- ],
8667
- name: "InvalidTickRangeMisordered"
8668
- },
8669
8854
  {
8670
8855
  type: "error",
8671
8856
  inputs: [
@@ -8687,11 +8872,6 @@ var devCoinFactoryABI = [
8687
8872
  name: "OwnableUnauthorizedAccount"
8688
8873
  },
8689
8874
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
8690
- {
8691
- type: "error",
8692
- inputs: [{ name: "token", internalType: "address", type: "address" }],
8693
- name: "SafeERC20FailedOperation"
8694
- },
8695
8875
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
8696
8876
  {
8697
8877
  type: "error",