@zoralabs/protocol-deployments 0.5.5 → 0.5.6-PRE.1

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
@@ -2224,6 +2224,9 @@ __export(index_exports, {
2224
2224
  commentsConfig: () => commentsConfig,
2225
2225
  contracts1155: () => __exports,
2226
2226
  decodeBuySupplyWithSwapRouterHookReturn: () => decodeBuySupplyWithSwapRouterHookReturn,
2227
+ devCoinFactoryABI: () => devCoinFactoryABI,
2228
+ devCoinFactoryAddress: () => devCoinFactoryAddress,
2229
+ devCoinFactoryConfig: () => devCoinFactoryConfig,
2227
2230
  emptyCommentIdentifier: () => emptyCommentIdentifier,
2228
2231
  encodeBuySupplyWithMultiHopSwapRouterHookCall: () => encodeBuySupplyWithMultiHopSwapRouterHookCall,
2229
2232
  encodeBuySupplyWithSingleHopSwapRouterHookCall: () => encodeBuySupplyWithSingleHopSwapRouterHookCall,
@@ -2370,8 +2373,8 @@ var buySupplyWithSwapRouterHookABI = [
2370
2373
  }
2371
2374
  ];
2372
2375
  var buySupplyWithSwapRouterHookAddress = {
2373
- 8453: "0x264b731e40691Da5B40aA63AC5c3B7F7DAafA721",
2374
- 84532: "0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8"
2376
+ 8453: "0x5Ee02936e2A92133aC66B5235cAf4ad59E25632d",
2377
+ 84532: "0xe7D871cD216f780b1B66e2652Dc5072ebB71C14F"
2375
2378
  };
2376
2379
  var buySupplyWithSwapRouterHookConfig = {
2377
2380
  address: buySupplyWithSwapRouterHookAddress,
@@ -4382,7 +4385,10 @@ var coinABI = [
4382
4385
  var coinFactoryABI = [
4383
4386
  {
4384
4387
  type: "constructor",
4385
- inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
4388
+ inputs: [
4389
+ { name: "_coinImpl", internalType: "address", type: "address" },
4390
+ { name: "_coinV4Impl", internalType: "address", type: "address" }
4391
+ ],
4386
4392
  stateMutability: "nonpayable"
4387
4393
  },
4388
4394
  {
@@ -4399,6 +4405,13 @@ var coinFactoryABI = [
4399
4405
  outputs: [{ name: "", internalType: "address", type: "address" }],
4400
4406
  stateMutability: "view"
4401
4407
  },
4408
+ {
4409
+ type: "function",
4410
+ inputs: [],
4411
+ name: "coinV4Impl",
4412
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4413
+ stateMutability: "view"
4414
+ },
4402
4415
  {
4403
4416
  type: "function",
4404
4417
  inputs: [],
@@ -4583,6 +4596,70 @@ var coinFactoryABI = [
4583
4596
  ],
4584
4597
  name: "CoinCreated"
4585
4598
  },
4599
+ {
4600
+ type: "event",
4601
+ anonymous: false,
4602
+ inputs: [
4603
+ {
4604
+ name: "caller",
4605
+ internalType: "address",
4606
+ type: "address",
4607
+ indexed: true
4608
+ },
4609
+ {
4610
+ name: "payoutRecipient",
4611
+ internalType: "address",
4612
+ type: "address",
4613
+ indexed: true
4614
+ },
4615
+ {
4616
+ name: "platformReferrer",
4617
+ internalType: "address",
4618
+ type: "address",
4619
+ indexed: true
4620
+ },
4621
+ {
4622
+ name: "currency",
4623
+ internalType: "address",
4624
+ type: "address",
4625
+ indexed: false
4626
+ },
4627
+ { name: "uri", internalType: "string", type: "string", indexed: false },
4628
+ { name: "name", internalType: "string", type: "string", indexed: false },
4629
+ {
4630
+ name: "symbol",
4631
+ internalType: "string",
4632
+ type: "string",
4633
+ indexed: false
4634
+ },
4635
+ {
4636
+ name: "coin",
4637
+ internalType: "address",
4638
+ type: "address",
4639
+ indexed: false
4640
+ },
4641
+ {
4642
+ name: "poolKey",
4643
+ internalType: "struct PoolKey",
4644
+ type: "tuple",
4645
+ components: [
4646
+ { name: "currency0", internalType: "Currency", type: "address" },
4647
+ { name: "currency1", internalType: "Currency", type: "address" },
4648
+ { name: "fee", internalType: "uint24", type: "uint24" },
4649
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
4650
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
4651
+ ],
4652
+ indexed: false
4653
+ },
4654
+ {
4655
+ name: "version",
4656
+ internalType: "string",
4657
+ type: "string",
4658
+ indexed: false
4659
+ }
4660
+ ],
4661
+ name: "CoinCreatedV4"
4662
+ },
4586
4663
  {
4587
4664
  type: "event",
4588
4665
  anonymous: false,
@@ -4652,6 +4729,7 @@ var coinFactoryABI = [
4652
4729
  { type: "error", inputs: [], name: "FailedInnerCall" },
4653
4730
  { type: "error", inputs: [], name: "InvalidHook" },
4654
4731
  { type: "error", inputs: [], name: "InvalidInitialization" },
4732
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
4655
4733
  { type: "error", inputs: [], name: "NotInitializing" },
4656
4734
  {
4657
4735
  type: "error",
@@ -6467,6 +6545,393 @@ var commentsConfig = {
6467
6545
  address: commentsAddress,
6468
6546
  abi: commentsABI
6469
6547
  };
6548
+ var devCoinFactoryABI = [
6549
+ {
6550
+ type: "constructor",
6551
+ inputs: [
6552
+ { name: "_coinImpl", internalType: "address", type: "address" },
6553
+ { name: "_coinV4Impl", internalType: "address", type: "address" }
6554
+ ],
6555
+ stateMutability: "nonpayable"
6556
+ },
6557
+ {
6558
+ type: "function",
6559
+ inputs: [],
6560
+ name: "UPGRADE_INTERFACE_VERSION",
6561
+ outputs: [{ name: "", internalType: "string", type: "string" }],
6562
+ stateMutability: "view"
6563
+ },
6564
+ {
6565
+ type: "function",
6566
+ inputs: [],
6567
+ name: "coinImpl",
6568
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6569
+ stateMutability: "view"
6570
+ },
6571
+ {
6572
+ type: "function",
6573
+ inputs: [],
6574
+ name: "coinV4Impl",
6575
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6576
+ stateMutability: "view"
6577
+ },
6578
+ {
6579
+ type: "function",
6580
+ inputs: [],
6581
+ name: "contractName",
6582
+ outputs: [{ name: "", internalType: "string", type: "string" }],
6583
+ stateMutability: "pure"
6584
+ },
6585
+ {
6586
+ type: "function",
6587
+ inputs: [],
6588
+ name: "contractVersion",
6589
+ outputs: [{ name: "", internalType: "string", type: "string" }],
6590
+ stateMutability: "pure"
6591
+ },
6592
+ {
6593
+ type: "function",
6594
+ inputs: [
6595
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6596
+ { name: "owners", internalType: "address[]", type: "address[]" },
6597
+ { name: "uri", internalType: "string", type: "string" },
6598
+ { name: "name", internalType: "string", type: "string" },
6599
+ { name: "symbol", internalType: "string", type: "string" },
6600
+ { name: "platformReferrer", internalType: "address", type: "address" },
6601
+ { name: "currency", internalType: "address", type: "address" },
6602
+ { name: "tickLower", internalType: "int24", type: "int24" },
6603
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
6604
+ ],
6605
+ name: "deploy",
6606
+ outputs: [
6607
+ { name: "", internalType: "address", type: "address" },
6608
+ { name: "", internalType: "uint256", type: "uint256" }
6609
+ ],
6610
+ stateMutability: "payable"
6611
+ },
6612
+ {
6613
+ type: "function",
6614
+ inputs: [
6615
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6616
+ { name: "owners", internalType: "address[]", type: "address[]" },
6617
+ { name: "uri", internalType: "string", type: "string" },
6618
+ { name: "name", internalType: "string", type: "string" },
6619
+ { name: "symbol", internalType: "string", type: "string" },
6620
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6621
+ { name: "platformReferrer", internalType: "address", type: "address" },
6622
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
6623
+ ],
6624
+ name: "deploy",
6625
+ outputs: [
6626
+ { name: "", internalType: "address", type: "address" },
6627
+ { name: "", internalType: "uint256", type: "uint256" }
6628
+ ],
6629
+ stateMutability: "payable"
6630
+ },
6631
+ {
6632
+ type: "function",
6633
+ inputs: [
6634
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6635
+ { name: "owners", internalType: "address[]", type: "address[]" },
6636
+ { name: "uri", internalType: "string", type: "string" },
6637
+ { name: "name", internalType: "string", type: "string" },
6638
+ { name: "symbol", internalType: "string", type: "string" },
6639
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6640
+ { name: "platformReferrer", internalType: "address", type: "address" },
6641
+ { name: "hook", internalType: "address", type: "address" },
6642
+ { name: "hookData", internalType: "bytes", type: "bytes" }
6643
+ ],
6644
+ name: "deployWithHook",
6645
+ outputs: [
6646
+ { name: "coin", internalType: "address", type: "address" },
6647
+ { name: "hookDataOut", internalType: "bytes", type: "bytes" }
6648
+ ],
6649
+ stateMutability: "payable"
6650
+ },
6651
+ {
6652
+ type: "function",
6653
+ inputs: [],
6654
+ name: "implementation",
6655
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6656
+ stateMutability: "view"
6657
+ },
6658
+ {
6659
+ type: "function",
6660
+ inputs: [
6661
+ { name: "initialOwner", internalType: "address", type: "address" }
6662
+ ],
6663
+ name: "initialize",
6664
+ outputs: [],
6665
+ stateMutability: "nonpayable"
6666
+ },
6667
+ {
6668
+ type: "function",
6669
+ inputs: [],
6670
+ name: "owner",
6671
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6672
+ stateMutability: "view"
6673
+ },
6674
+ {
6675
+ type: "function",
6676
+ inputs: [],
6677
+ name: "proxiableUUID",
6678
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
6679
+ stateMutability: "view"
6680
+ },
6681
+ {
6682
+ type: "function",
6683
+ inputs: [],
6684
+ name: "renounceOwnership",
6685
+ outputs: [],
6686
+ stateMutability: "nonpayable"
6687
+ },
6688
+ {
6689
+ type: "function",
6690
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
6691
+ name: "transferOwnership",
6692
+ outputs: [],
6693
+ stateMutability: "nonpayable"
6694
+ },
6695
+ {
6696
+ type: "function",
6697
+ inputs: [
6698
+ { name: "newImplementation", internalType: "address", type: "address" },
6699
+ { name: "data", internalType: "bytes", type: "bytes" }
6700
+ ],
6701
+ name: "upgradeToAndCall",
6702
+ outputs: [],
6703
+ stateMutability: "payable"
6704
+ },
6705
+ {
6706
+ type: "event",
6707
+ anonymous: false,
6708
+ inputs: [
6709
+ {
6710
+ name: "caller",
6711
+ internalType: "address",
6712
+ type: "address",
6713
+ indexed: true
6714
+ },
6715
+ {
6716
+ name: "payoutRecipient",
6717
+ internalType: "address",
6718
+ type: "address",
6719
+ indexed: true
6720
+ },
6721
+ {
6722
+ name: "platformReferrer",
6723
+ internalType: "address",
6724
+ type: "address",
6725
+ indexed: true
6726
+ },
6727
+ {
6728
+ name: "currency",
6729
+ internalType: "address",
6730
+ type: "address",
6731
+ indexed: false
6732
+ },
6733
+ { name: "uri", internalType: "string", type: "string", indexed: false },
6734
+ { name: "name", internalType: "string", type: "string", indexed: false },
6735
+ {
6736
+ name: "symbol",
6737
+ internalType: "string",
6738
+ type: "string",
6739
+ indexed: false
6740
+ },
6741
+ {
6742
+ name: "coin",
6743
+ internalType: "address",
6744
+ type: "address",
6745
+ indexed: false
6746
+ },
6747
+ {
6748
+ name: "pool",
6749
+ internalType: "address",
6750
+ type: "address",
6751
+ indexed: false
6752
+ },
6753
+ {
6754
+ name: "version",
6755
+ internalType: "string",
6756
+ type: "string",
6757
+ indexed: false
6758
+ }
6759
+ ],
6760
+ name: "CoinCreated"
6761
+ },
6762
+ {
6763
+ type: "event",
6764
+ anonymous: false,
6765
+ inputs: [
6766
+ {
6767
+ name: "caller",
6768
+ internalType: "address",
6769
+ type: "address",
6770
+ indexed: true
6771
+ },
6772
+ {
6773
+ name: "payoutRecipient",
6774
+ internalType: "address",
6775
+ type: "address",
6776
+ indexed: true
6777
+ },
6778
+ {
6779
+ name: "platformReferrer",
6780
+ internalType: "address",
6781
+ type: "address",
6782
+ indexed: true
6783
+ },
6784
+ {
6785
+ name: "currency",
6786
+ internalType: "address",
6787
+ type: "address",
6788
+ indexed: false
6789
+ },
6790
+ { name: "uri", internalType: "string", type: "string", indexed: false },
6791
+ { name: "name", internalType: "string", type: "string", indexed: false },
6792
+ {
6793
+ name: "symbol",
6794
+ internalType: "string",
6795
+ type: "string",
6796
+ indexed: false
6797
+ },
6798
+ {
6799
+ name: "coin",
6800
+ internalType: "address",
6801
+ type: "address",
6802
+ indexed: false
6803
+ },
6804
+ {
6805
+ name: "poolKey",
6806
+ internalType: "struct PoolKey",
6807
+ type: "tuple",
6808
+ components: [
6809
+ { name: "currency0", internalType: "Currency", type: "address" },
6810
+ { name: "currency1", internalType: "Currency", type: "address" },
6811
+ { name: "fee", internalType: "uint24", type: "uint24" },
6812
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
6813
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
6814
+ ],
6815
+ indexed: false
6816
+ },
6817
+ {
6818
+ name: "version",
6819
+ internalType: "string",
6820
+ type: "string",
6821
+ indexed: false
6822
+ }
6823
+ ],
6824
+ name: "CoinCreatedV4"
6825
+ },
6826
+ {
6827
+ type: "event",
6828
+ anonymous: false,
6829
+ inputs: [
6830
+ {
6831
+ name: "version",
6832
+ internalType: "uint64",
6833
+ type: "uint64",
6834
+ indexed: false
6835
+ }
6836
+ ],
6837
+ name: "Initialized"
6838
+ },
6839
+ {
6840
+ type: "event",
6841
+ anonymous: false,
6842
+ inputs: [
6843
+ {
6844
+ name: "previousOwner",
6845
+ internalType: "address",
6846
+ type: "address",
6847
+ indexed: true
6848
+ },
6849
+ {
6850
+ name: "newOwner",
6851
+ internalType: "address",
6852
+ type: "address",
6853
+ indexed: true
6854
+ }
6855
+ ],
6856
+ name: "OwnershipTransferred"
6857
+ },
6858
+ {
6859
+ type: "event",
6860
+ anonymous: false,
6861
+ inputs: [
6862
+ {
6863
+ name: "implementation",
6864
+ internalType: "address",
6865
+ type: "address",
6866
+ indexed: true
6867
+ }
6868
+ ],
6869
+ name: "Upgraded"
6870
+ },
6871
+ {
6872
+ type: "error",
6873
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
6874
+ name: "AddressEmptyCode"
6875
+ },
6876
+ {
6877
+ type: "error",
6878
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
6879
+ name: "AddressInsufficientBalance"
6880
+ },
6881
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
6882
+ {
6883
+ type: "error",
6884
+ inputs: [
6885
+ { name: "implementation", internalType: "address", type: "address" }
6886
+ ],
6887
+ name: "ERC1967InvalidImplementation"
6888
+ },
6889
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
6890
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
6891
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
6892
+ { type: "error", inputs: [], name: "FailedInnerCall" },
6893
+ { type: "error", inputs: [], name: "InvalidHook" },
6894
+ { type: "error", inputs: [], name: "InvalidInitialization" },
6895
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
6896
+ { type: "error", inputs: [], name: "NotInitializing" },
6897
+ {
6898
+ type: "error",
6899
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
6900
+ name: "OwnableInvalidOwner"
6901
+ },
6902
+ {
6903
+ type: "error",
6904
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
6905
+ name: "OwnableUnauthorizedAccount"
6906
+ },
6907
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
6908
+ {
6909
+ type: "error",
6910
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
6911
+ name: "SafeERC20FailedOperation"
6912
+ },
6913
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
6914
+ {
6915
+ type: "error",
6916
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
6917
+ name: "UUPSUnsupportedProxiableUUID"
6918
+ },
6919
+ {
6920
+ type: "error",
6921
+ inputs: [
6922
+ { name: "currentName", internalType: "string", type: "string" },
6923
+ { name: "newName", internalType: "string", type: "string" }
6924
+ ],
6925
+ name: "UpgradeToMismatchedContractName"
6926
+ }
6927
+ ];
6928
+ var devCoinFactoryAddress = {
6929
+ 8453: "0x8A7d3ae26c4De36A24BcC892953e6c3823bBFA85"
6930
+ };
6931
+ var devCoinFactoryConfig = {
6932
+ address: devCoinFactoryAddress,
6933
+ abi: devCoinFactoryABI
6934
+ };
6470
6935
  var erc20MinterABI = [
6471
6936
  {
6472
6937
  type: "function",
@@ -18488,7 +18953,11 @@ var chainConfigs2 = {
18488
18953
  DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
18489
18954
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
18490
18955
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
18491
- WETH: "0x4200000000000000000000000000000000000006"
18956
+ WETH: "0x4200000000000000000000000000000000000006",
18957
+ UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
18958
+ UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
18959
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
18960
+ UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
18492
18961
  },
18493
18962
  42161: {
18494
18963
  NONFUNGIBLE_POSITION_MANAGER: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
@@ -18511,7 +18980,11 @@ var chainConfigs2 = {
18511
18980
  DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
18512
18981
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
18513
18982
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
18514
- WETH: "0x4200000000000000000000000000000000000006"
18983
+ WETH: "0x4200000000000000000000000000000000000006",
18984
+ UNISWAP_V4_POOL_MANAGER: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
18985
+ UNISWAP_V4_POSITION_MANAGER: "0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80",
18986
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
18987
+ UNISWAP_UNIVERSAL_ROUTER: "0x492E6456D9528771018DeB9E87ef7750EF184104"
18515
18988
  },
18516
18989
  421614: {
18517
18990
  NONFUNGIBLE_POSITION_MANAGER: "0x6b2937Bde17889EDCf8fbD8dE31C3C2a70Bc4d65",
@@ -18640,6 +19113,9 @@ var addresses2 = {
18640
19113
  commentsConfig,
18641
19114
  contracts1155,
18642
19115
  decodeBuySupplyWithSwapRouterHookReturn,
19116
+ devCoinFactoryABI,
19117
+ devCoinFactoryAddress,
19118
+ devCoinFactoryConfig,
18643
19119
  emptyCommentIdentifier,
18644
19120
  encodeBuySupplyWithMultiHopSwapRouterHookCall,
18645
19121
  encodeBuySupplyWithSingleHopSwapRouterHookCall,