@zoralabs/coins 2.4.0 → 2.4.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.
Files changed (120) hide show
  1. package/.turbo/turbo-build$colon$js.log +116 -124
  2. package/CHANGELOG.md +6 -0
  3. package/abis/Address.json +0 -16
  4. package/abis/BuySupplyWithSwapRouterHook.json +0 -27
  5. package/abis/BuySupplyWithV4SwapHook.json +0 -32
  6. package/abis/Clones.json +1 -1
  7. package/abis/CoinDopplerMultiCurve.json +109 -0
  8. package/abis/Create2.json +0 -21
  9. package/abis/ERC1967Proxy.json +1 -1
  10. package/abis/ERC1967Utils.json +0 -45
  11. package/abis/{UpgradeCoinImpl.json → Errors.json} +14 -10
  12. package/abis/{MockERC20.json → IERC1363.json} +134 -104
  13. package/abis/IERC1967.json +47 -0
  14. package/abis/IERC20.json +0 -36
  15. package/abis/IProtocolRewards.json +0 -258
  16. package/abis/{Script.json → ISupportsLimitOrderFill.json} +2 -2
  17. package/abis/IZoraLimitOrderBookCoinsInterface.json +67 -0
  18. package/abis/IZoraV4CoinHook.json +10 -0
  19. package/abis/ProxyShim.json +15 -16
  20. package/abis/SafeCast.json +51 -0
  21. package/abis/{AddressConstants.json → SafeCast160.json} +1 -1
  22. package/abis/Strings.json +10 -0
  23. package/abis/UUPSUpgradeable.json +1 -1
  24. package/abis/V3ToV4SwapLib.json +28 -0
  25. package/abis/ZoraFactory.json +1 -1
  26. package/abis/ZoraFactoryImpl.json +22 -6
  27. package/abis/ZoraV4CoinHook.json +20 -48
  28. package/dist/index.cjs +950 -43
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.js +948 -41
  31. package/dist/index.js.map +1 -1
  32. package/dist/wagmiGenerated.d.ts +1459 -76
  33. package/dist/wagmiGenerated.d.ts.map +1 -1
  34. package/package/wagmiGenerated.ts +951 -44
  35. package/package.json +9 -9
  36. package/remappings.txt +2 -1
  37. package/src/ZoraFactoryImpl.sol +8 -0
  38. package/src/deployment/ForkedCoinsAddresses.sol +54 -0
  39. package/src/hooks/ZoraV4CoinHook.sol +74 -20
  40. package/src/hooks/deployment/BuySupplyWithV4SwapHook.sol +20 -142
  41. package/src/interfaces/ISupportsLimitOrderFill.sol +11 -0
  42. package/src/interfaces/IZoraLimitOrderBookCoinsInterface.sol +21 -0
  43. package/src/interfaces/IZoraV4CoinHook.sol +6 -0
  44. package/src/libs/CoinConstants.sol +6 -0
  45. package/src/libs/CoinDopplerMultiCurve.sol +1 -1
  46. package/src/libs/CoinRewardsV4.sol +0 -1
  47. package/src/libs/HooksDeployment.sol +20 -8
  48. package/src/libs/UniV4SwapHelper.sol +35 -0
  49. package/src/libs/V3ToV4SwapLib.sol +261 -0
  50. package/src/version/ContractVersionBase.sol +1 -1
  51. package/test/BuySupplyWithV4SwapHook.t.sol +4 -3
  52. package/test/Coin.t.sol +7 -1
  53. package/test/CoinUniV4.t.sol +2 -1
  54. package/test/ContentCoinRewards.t.sol +5 -1
  55. package/test/CreatorCoin.t.sol +3 -1
  56. package/test/CreatorCoinRewards.t.sol +3 -1
  57. package/test/Factory.t.sol +20 -7
  58. package/test/HooksDeployment.t.sol +16 -3
  59. package/test/LiquidityMigration.t.sol +52 -44
  60. package/test/MultiOwnable.t.sol +2 -1
  61. package/test/Upgrades.t.sol +110 -81
  62. package/test/V4Liquidity.t.sol +1 -1
  63. package/test/mocks/MockSwapRouter.sol +33 -0
  64. package/test/mocks/MockZoraLimitOrderBook.sol +14 -0
  65. package/test/utils/BaseTest.sol +14 -448
  66. package/test/utils/FeeEstimatorHook.sol +6 -2
  67. package/test/utils/V4TestSetup.sol +595 -0
  68. package/wagmi.config.ts +1 -1
  69. package/abis/BaseTest.json +0 -718
  70. package/abis/DeterministicDeployerAndCaller.json +0 -315
  71. package/abis/DeterministicUUPSProxyDeployer.json +0 -167
  72. package/abis/EIP712.json +0 -67
  73. package/abis/ERC20.json +0 -310
  74. package/abis/FeeEstimatorHook.json +0 -1938
  75. package/abis/IERC721.json +0 -287
  76. package/abis/IERC721Enumerable.json +0 -343
  77. package/abis/IERC721Metadata.json +0 -332
  78. package/abis/IERC721TokenReceiver.json +0 -36
  79. package/abis/IImmutableCreate2Factory.json +0 -93
  80. package/abis/IMulticall3.json +0 -440
  81. package/abis/ISafe.json +0 -15
  82. package/abis/ISymbol.json +0 -15
  83. package/abis/IUniswapV4Router04.json +0 -484
  84. package/abis/IUniversalRouter.json +0 -61
  85. package/abis/IV4Quoter.json +0 -310
  86. package/abis/ImmutableCreate2FactoryUtils.json +0 -15
  87. package/abis/LibString.json +0 -7
  88. package/abis/Math.json +0 -7
  89. package/abis/MockAirlock.json +0 -39
  90. package/abis/MockERC721.json +0 -350
  91. package/abis/ProtocolRewards.json +0 -494
  92. package/abis/ShortStrings.json +0 -18
  93. package/abis/SimpleERC20.json +0 -326
  94. package/abis/StdAssertions.json +0 -379
  95. package/abis/StdInvariant.json +0 -180
  96. package/abis/Test.json +0 -570
  97. package/abis/VmContractHelper235.json +0 -233
  98. package/abis/VmContractHelper242.json +0 -233
  99. package/abis/stdError.json +0 -119
  100. package/abis/stdStorageSafe.json +0 -52
  101. package/addresses/8453.json +0 -13
  102. package/addresses/84532.json +0 -10
  103. package/deterministicConfig/deployerAndCaller.json +0 -5
  104. package/deterministicConfig/zoraFactory.json +0 -8
  105. package/script/Deploy.s.sol +0 -23
  106. package/script/DeployAutoSwapper.s.sol +0 -30
  107. package/script/DeployDevFactory.s.sol +0 -21
  108. package/script/DeployPostDeploymentHooks.s.sol +0 -20
  109. package/script/DeployTrustedMsgSenderLookup.s.sol +0 -20
  110. package/script/DeployUpgradeGate.s.sol +0 -21
  111. package/script/GenerateDeterministicParams.s.sol +0 -43
  112. package/script/PrintRegisterUpgradePath.s.sol +0 -28
  113. package/script/PrintUpgradeCommand.s.sol +0 -13
  114. package/script/TestBackingCoinSwap.s.sol +0 -144
  115. package/script/TestV4Swap.s.sol +0 -133
  116. package/script/UpgradeCoinImpl.sol +0 -23
  117. package/script/UpgradeFactoryImpl.s.sol +0 -28
  118. package/script/UpgradeHooks.s.sol +0 -23
  119. package/src/deployment/CoinsDeployerBase.sol +0 -297
  120. /package/{test → src}/utils/ProxyShim.sol +0 -0
package/dist/index.cjs CHANGED
@@ -28,8 +28,8 @@ __export(index_exports, {
28
28
  iPermit2ABI: () => iPermit2ABI,
29
29
  iPoolConfigEncodingABI: () => iPoolConfigEncodingABI,
30
30
  iUniswapV3PoolABI: () => iUniswapV3PoolABI,
31
- iUniversalRouterABI: () => iUniversalRouterABI,
32
- zoraFactoryImplABI: () => zoraFactoryImplABI
31
+ zoraFactoryImplABI: () => zoraFactoryImplABI,
32
+ zoraV4CoinHookABI: () => zoraV4CoinHookABI
33
33
  });
34
34
  module.exports = __toCommonJS(index_exports);
35
35
 
@@ -1379,18 +1379,7 @@ var buySupplyWithV4SwapHookABI = [
1379
1379
  ],
1380
1380
  name: "BuyInitialSupply"
1381
1381
  },
1382
- {
1383
- type: "error",
1384
- inputs: [{ name: "target", internalType: "address", type: "address" }],
1385
- name: "AddressEmptyCode"
1386
- },
1387
- {
1388
- type: "error",
1389
- inputs: [{ name: "account", internalType: "address", type: "address" }],
1390
- name: "AddressInsufficientBalance"
1391
- },
1392
1382
  { type: "error", inputs: [], name: "AddressZero" },
1393
- { type: "error", inputs: [], name: "FailedInnerCall" },
1394
1383
  { type: "error", inputs: [], name: "HookNotImplemented" },
1395
1384
  {
1396
1385
  type: "error",
@@ -1408,7 +1397,6 @@ var buySupplyWithV4SwapHookABI = [
1408
1397
  inputs: [{ name: "token", internalType: "address", type: "address" }],
1409
1398
  name: "SafeERC20FailedOperation"
1410
1399
  },
1411
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
1412
1400
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
1413
1401
  ];
1414
1402
  var contentCoinABI = [
@@ -4337,31 +4325,6 @@ var iUniswapV3PoolABI = [
4337
4325
  stateMutability: "nonpayable"
4338
4326
  }
4339
4327
  ];
4340
- var iUniversalRouterABI = [
4341
- {
4342
- type: "function",
4343
- inputs: [
4344
- { name: "commands", internalType: "bytes", type: "bytes" },
4345
- { name: "inputs", internalType: "bytes[]", type: "bytes[]" },
4346
- { name: "deadline", internalType: "uint256", type: "uint256" }
4347
- ],
4348
- name: "execute",
4349
- outputs: [],
4350
- stateMutability: "payable"
4351
- },
4352
- { type: "error", inputs: [], name: "ETHNotAccepted" },
4353
- {
4354
- type: "error",
4355
- inputs: [
4356
- { name: "commandIndex", internalType: "uint256", type: "uint256" },
4357
- { name: "message", internalType: "bytes", type: "bytes" }
4358
- ],
4359
- name: "ExecutionFailed"
4360
- },
4361
- { type: "error", inputs: [], name: "InvalidEthSender" },
4362
- { type: "error", inputs: [], name: "LengthMismatch" },
4363
- { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
4364
- ];
4365
4328
  var zoraFactoryImplABI = [
4366
4329
  {
4367
4330
  type: "constructor",
@@ -4911,7 +4874,6 @@ var zoraFactoryImplABI = [
4911
4874
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
4912
4875
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
4913
4876
  { type: "error", inputs: [], name: "Deprecated" },
4914
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
4915
4877
  {
4916
4878
  type: "error",
4917
4879
  inputs: [
@@ -4921,7 +4883,16 @@ var zoraFactoryImplABI = [
4921
4883
  },
4922
4884
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
4923
4885
  { type: "error", inputs: [], name: "EthTransferInvalid" },
4924
- { type: "error", inputs: [], name: "FailedInnerCall" },
4886
+ { type: "error", inputs: [], name: "FailedCall" },
4887
+ { type: "error", inputs: [], name: "FailedDeployment" },
4888
+ {
4889
+ type: "error",
4890
+ inputs: [
4891
+ { name: "balance", internalType: "uint256", type: "uint256" },
4892
+ { name: "needed", internalType: "uint256", type: "uint256" }
4893
+ ],
4894
+ name: "InsufficientBalance"
4895
+ },
4925
4896
  { type: "error", inputs: [], name: "InvalidConfig" },
4926
4897
  { type: "error", inputs: [], name: "InvalidHook" },
4927
4898
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -4972,6 +4943,942 @@ var zoraFactoryImplABI = [
4972
4943
  { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
4973
4944
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" }
4974
4945
  ];
4946
+ var zoraV4CoinHookABI = [
4947
+ {
4948
+ type: "constructor",
4949
+ inputs: [
4950
+ {
4951
+ name: "poolManager_",
4952
+ internalType: "contract IPoolManager",
4953
+ type: "address"
4954
+ },
4955
+ {
4956
+ name: "coinVersionLookup_",
4957
+ internalType: "contract IDeployedCoinVersionLookup",
4958
+ type: "address"
4959
+ },
4960
+ {
4961
+ name: "trustedMsgSenderLookup_",
4962
+ internalType: "contract ITrustedMsgSenderProviderLookup",
4963
+ type: "address"
4964
+ },
4965
+ {
4966
+ name: "upgradeGate_",
4967
+ internalType: "contract IHooksUpgradeGate",
4968
+ type: "address"
4969
+ },
4970
+ {
4971
+ name: "zoraLimitOrderBook_",
4972
+ internalType: "contract IZoraLimitOrderBookCoinsInterface",
4973
+ type: "address"
4974
+ },
4975
+ {
4976
+ name: "zoraHookRegistry_",
4977
+ internalType: "contract IZoraHookRegistry",
4978
+ type: "address"
4979
+ }
4980
+ ],
4981
+ stateMutability: "nonpayable"
4982
+ },
4983
+ { type: "receive", stateMutability: "payable" },
4984
+ {
4985
+ type: "function",
4986
+ inputs: [
4987
+ { name: "sender", internalType: "address", type: "address" },
4988
+ {
4989
+ name: "key",
4990
+ internalType: "struct PoolKey",
4991
+ type: "tuple",
4992
+ components: [
4993
+ { name: "currency0", internalType: "Currency", type: "address" },
4994
+ { name: "currency1", internalType: "Currency", type: "address" },
4995
+ { name: "fee", internalType: "uint24", type: "uint24" },
4996
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
4997
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
4998
+ ]
4999
+ },
5000
+ {
5001
+ name: "params",
5002
+ internalType: "struct ModifyLiquidityParams",
5003
+ type: "tuple",
5004
+ components: [
5005
+ { name: "tickLower", internalType: "int24", type: "int24" },
5006
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5007
+ { name: "liquidityDelta", internalType: "int256", type: "int256" },
5008
+ { name: "salt", internalType: "bytes32", type: "bytes32" }
5009
+ ]
5010
+ },
5011
+ { name: "delta", internalType: "BalanceDelta", type: "int256" },
5012
+ { name: "feesAccrued", internalType: "BalanceDelta", type: "int256" },
5013
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5014
+ ],
5015
+ name: "afterAddLiquidity",
5016
+ outputs: [
5017
+ { name: "", internalType: "bytes4", type: "bytes4" },
5018
+ { name: "", internalType: "BalanceDelta", type: "int256" }
5019
+ ],
5020
+ stateMutability: "nonpayable"
5021
+ },
5022
+ {
5023
+ type: "function",
5024
+ inputs: [
5025
+ { name: "sender", internalType: "address", type: "address" },
5026
+ {
5027
+ name: "key",
5028
+ internalType: "struct PoolKey",
5029
+ type: "tuple",
5030
+ components: [
5031
+ { name: "currency0", internalType: "Currency", type: "address" },
5032
+ { name: "currency1", internalType: "Currency", type: "address" },
5033
+ { name: "fee", internalType: "uint24", type: "uint24" },
5034
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5035
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5036
+ ]
5037
+ },
5038
+ { name: "amount0", internalType: "uint256", type: "uint256" },
5039
+ { name: "amount1", internalType: "uint256", type: "uint256" },
5040
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5041
+ ],
5042
+ name: "afterDonate",
5043
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
5044
+ stateMutability: "nonpayable"
5045
+ },
5046
+ {
5047
+ type: "function",
5048
+ inputs: [
5049
+ { name: "sender", internalType: "address", type: "address" },
5050
+ {
5051
+ name: "key",
5052
+ internalType: "struct PoolKey",
5053
+ type: "tuple",
5054
+ components: [
5055
+ { name: "currency0", internalType: "Currency", type: "address" },
5056
+ { name: "currency1", internalType: "Currency", type: "address" },
5057
+ { name: "fee", internalType: "uint24", type: "uint24" },
5058
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5059
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5060
+ ]
5061
+ },
5062
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
5063
+ { name: "tick", internalType: "int24", type: "int24" }
5064
+ ],
5065
+ name: "afterInitialize",
5066
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
5067
+ stateMutability: "nonpayable"
5068
+ },
5069
+ {
5070
+ type: "function",
5071
+ inputs: [
5072
+ { name: "sender", internalType: "address", type: "address" },
5073
+ {
5074
+ name: "key",
5075
+ internalType: "struct PoolKey",
5076
+ type: "tuple",
5077
+ components: [
5078
+ { name: "currency0", internalType: "Currency", type: "address" },
5079
+ { name: "currency1", internalType: "Currency", type: "address" },
5080
+ { name: "fee", internalType: "uint24", type: "uint24" },
5081
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5082
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5083
+ ]
5084
+ },
5085
+ {
5086
+ name: "params",
5087
+ internalType: "struct ModifyLiquidityParams",
5088
+ type: "tuple",
5089
+ components: [
5090
+ { name: "tickLower", internalType: "int24", type: "int24" },
5091
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5092
+ { name: "liquidityDelta", internalType: "int256", type: "int256" },
5093
+ { name: "salt", internalType: "bytes32", type: "bytes32" }
5094
+ ]
5095
+ },
5096
+ { name: "delta", internalType: "BalanceDelta", type: "int256" },
5097
+ { name: "feesAccrued", internalType: "BalanceDelta", type: "int256" },
5098
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5099
+ ],
5100
+ name: "afterRemoveLiquidity",
5101
+ outputs: [
5102
+ { name: "", internalType: "bytes4", type: "bytes4" },
5103
+ { name: "", internalType: "BalanceDelta", type: "int256" }
5104
+ ],
5105
+ stateMutability: "nonpayable"
5106
+ },
5107
+ {
5108
+ type: "function",
5109
+ inputs: [
5110
+ { name: "sender", internalType: "address", type: "address" },
5111
+ {
5112
+ name: "key",
5113
+ internalType: "struct PoolKey",
5114
+ type: "tuple",
5115
+ components: [
5116
+ { name: "currency0", internalType: "Currency", type: "address" },
5117
+ { name: "currency1", internalType: "Currency", type: "address" },
5118
+ { name: "fee", internalType: "uint24", type: "uint24" },
5119
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5120
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5121
+ ]
5122
+ },
5123
+ {
5124
+ name: "params",
5125
+ internalType: "struct SwapParams",
5126
+ type: "tuple",
5127
+ components: [
5128
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
5129
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
5130
+ {
5131
+ name: "sqrtPriceLimitX96",
5132
+ internalType: "uint160",
5133
+ type: "uint160"
5134
+ }
5135
+ ]
5136
+ },
5137
+ { name: "delta", internalType: "BalanceDelta", type: "int256" },
5138
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5139
+ ],
5140
+ name: "afterSwap",
5141
+ outputs: [
5142
+ { name: "", internalType: "bytes4", type: "bytes4" },
5143
+ { name: "", internalType: "int128", type: "int128" }
5144
+ ],
5145
+ stateMutability: "nonpayable"
5146
+ },
5147
+ {
5148
+ type: "function",
5149
+ inputs: [
5150
+ { name: "sender", internalType: "address", type: "address" },
5151
+ {
5152
+ name: "key",
5153
+ internalType: "struct PoolKey",
5154
+ type: "tuple",
5155
+ components: [
5156
+ { name: "currency0", internalType: "Currency", type: "address" },
5157
+ { name: "currency1", internalType: "Currency", type: "address" },
5158
+ { name: "fee", internalType: "uint24", type: "uint24" },
5159
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5160
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5161
+ ]
5162
+ },
5163
+ {
5164
+ name: "params",
5165
+ internalType: "struct ModifyLiquidityParams",
5166
+ type: "tuple",
5167
+ components: [
5168
+ { name: "tickLower", internalType: "int24", type: "int24" },
5169
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5170
+ { name: "liquidityDelta", internalType: "int256", type: "int256" },
5171
+ { name: "salt", internalType: "bytes32", type: "bytes32" }
5172
+ ]
5173
+ },
5174
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5175
+ ],
5176
+ name: "beforeAddLiquidity",
5177
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
5178
+ stateMutability: "nonpayable"
5179
+ },
5180
+ {
5181
+ type: "function",
5182
+ inputs: [
5183
+ { name: "sender", internalType: "address", type: "address" },
5184
+ {
5185
+ name: "key",
5186
+ internalType: "struct PoolKey",
5187
+ type: "tuple",
5188
+ components: [
5189
+ { name: "currency0", internalType: "Currency", type: "address" },
5190
+ { name: "currency1", internalType: "Currency", type: "address" },
5191
+ { name: "fee", internalType: "uint24", type: "uint24" },
5192
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5193
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5194
+ ]
5195
+ },
5196
+ { name: "amount0", internalType: "uint256", type: "uint256" },
5197
+ { name: "amount1", internalType: "uint256", type: "uint256" },
5198
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5199
+ ],
5200
+ name: "beforeDonate",
5201
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
5202
+ stateMutability: "nonpayable"
5203
+ },
5204
+ {
5205
+ type: "function",
5206
+ inputs: [
5207
+ { name: "sender", internalType: "address", type: "address" },
5208
+ {
5209
+ name: "key",
5210
+ internalType: "struct PoolKey",
5211
+ type: "tuple",
5212
+ components: [
5213
+ { name: "currency0", internalType: "Currency", type: "address" },
5214
+ { name: "currency1", internalType: "Currency", type: "address" },
5215
+ { name: "fee", internalType: "uint24", type: "uint24" },
5216
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5217
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5218
+ ]
5219
+ },
5220
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" }
5221
+ ],
5222
+ name: "beforeInitialize",
5223
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
5224
+ stateMutability: "nonpayable"
5225
+ },
5226
+ {
5227
+ type: "function",
5228
+ inputs: [
5229
+ { name: "sender", internalType: "address", type: "address" },
5230
+ {
5231
+ name: "key",
5232
+ internalType: "struct PoolKey",
5233
+ type: "tuple",
5234
+ components: [
5235
+ { name: "currency0", internalType: "Currency", type: "address" },
5236
+ { name: "currency1", internalType: "Currency", type: "address" },
5237
+ { name: "fee", internalType: "uint24", type: "uint24" },
5238
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5239
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5240
+ ]
5241
+ },
5242
+ {
5243
+ name: "params",
5244
+ internalType: "struct ModifyLiquidityParams",
5245
+ type: "tuple",
5246
+ components: [
5247
+ { name: "tickLower", internalType: "int24", type: "int24" },
5248
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5249
+ { name: "liquidityDelta", internalType: "int256", type: "int256" },
5250
+ { name: "salt", internalType: "bytes32", type: "bytes32" }
5251
+ ]
5252
+ },
5253
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5254
+ ],
5255
+ name: "beforeRemoveLiquidity",
5256
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
5257
+ stateMutability: "nonpayable"
5258
+ },
5259
+ {
5260
+ type: "function",
5261
+ inputs: [
5262
+ { name: "sender", internalType: "address", type: "address" },
5263
+ {
5264
+ name: "key",
5265
+ internalType: "struct PoolKey",
5266
+ type: "tuple",
5267
+ components: [
5268
+ { name: "currency0", internalType: "Currency", type: "address" },
5269
+ { name: "currency1", internalType: "Currency", type: "address" },
5270
+ { name: "fee", internalType: "uint24", type: "uint24" },
5271
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5272
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5273
+ ]
5274
+ },
5275
+ {
5276
+ name: "params",
5277
+ internalType: "struct SwapParams",
5278
+ type: "tuple",
5279
+ components: [
5280
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
5281
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
5282
+ {
5283
+ name: "sqrtPriceLimitX96",
5284
+ internalType: "uint160",
5285
+ type: "uint160"
5286
+ }
5287
+ ]
5288
+ },
5289
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5290
+ ],
5291
+ name: "beforeSwap",
5292
+ outputs: [
5293
+ { name: "", internalType: "bytes4", type: "bytes4" },
5294
+ { name: "", internalType: "BeforeSwapDelta", type: "int256" },
5295
+ { name: "", internalType: "uint24", type: "uint24" }
5296
+ ],
5297
+ stateMutability: "nonpayable"
5298
+ },
5299
+ {
5300
+ type: "function",
5301
+ inputs: [],
5302
+ name: "contractVersion",
5303
+ outputs: [{ name: "", internalType: "string", type: "string" }],
5304
+ stateMutability: "pure"
5305
+ },
5306
+ {
5307
+ type: "function",
5308
+ inputs: [],
5309
+ name: "getHookPermissions",
5310
+ outputs: [
5311
+ {
5312
+ name: "",
5313
+ internalType: "struct Hooks.Permissions",
5314
+ type: "tuple",
5315
+ components: [
5316
+ { name: "beforeInitialize", internalType: "bool", type: "bool" },
5317
+ { name: "afterInitialize", internalType: "bool", type: "bool" },
5318
+ { name: "beforeAddLiquidity", internalType: "bool", type: "bool" },
5319
+ { name: "afterAddLiquidity", internalType: "bool", type: "bool" },
5320
+ { name: "beforeRemoveLiquidity", internalType: "bool", type: "bool" },
5321
+ { name: "afterRemoveLiquidity", internalType: "bool", type: "bool" },
5322
+ { name: "beforeSwap", internalType: "bool", type: "bool" },
5323
+ { name: "afterSwap", internalType: "bool", type: "bool" },
5324
+ { name: "beforeDonate", internalType: "bool", type: "bool" },
5325
+ { name: "afterDonate", internalType: "bool", type: "bool" },
5326
+ { name: "beforeSwapReturnDelta", internalType: "bool", type: "bool" },
5327
+ { name: "afterSwapReturnDelta", internalType: "bool", type: "bool" },
5328
+ {
5329
+ name: "afterAddLiquidityReturnDelta",
5330
+ internalType: "bool",
5331
+ type: "bool"
5332
+ },
5333
+ {
5334
+ name: "afterRemoveLiquidityReturnDelta",
5335
+ internalType: "bool",
5336
+ type: "bool"
5337
+ }
5338
+ ]
5339
+ }
5340
+ ],
5341
+ stateMutability: "pure"
5342
+ },
5343
+ {
5344
+ type: "function",
5345
+ inputs: [
5346
+ {
5347
+ name: "key",
5348
+ internalType: "struct PoolKey",
5349
+ type: "tuple",
5350
+ components: [
5351
+ { name: "currency0", internalType: "Currency", type: "address" },
5352
+ { name: "currency1", internalType: "Currency", type: "address" },
5353
+ { name: "fee", internalType: "uint24", type: "uint24" },
5354
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5355
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5356
+ ]
5357
+ }
5358
+ ],
5359
+ name: "getPoolCoin",
5360
+ outputs: [
5361
+ {
5362
+ name: "",
5363
+ internalType: "struct IZoraV4CoinHook.PoolCoin",
5364
+ type: "tuple",
5365
+ components: [
5366
+ { name: "coin", internalType: "address", type: "address" },
5367
+ {
5368
+ name: "positions",
5369
+ internalType: "struct LpPosition[]",
5370
+ type: "tuple[]",
5371
+ components: [
5372
+ { name: "tickLower", internalType: "int24", type: "int24" },
5373
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5374
+ { name: "liquidity", internalType: "uint128", type: "uint128" }
5375
+ ]
5376
+ }
5377
+ ]
5378
+ }
5379
+ ],
5380
+ stateMutability: "view"
5381
+ },
5382
+ {
5383
+ type: "function",
5384
+ inputs: [{ name: "poolKeyHash", internalType: "bytes32", type: "bytes32" }],
5385
+ name: "getPoolCoinByHash",
5386
+ outputs: [
5387
+ {
5388
+ name: "",
5389
+ internalType: "struct IZoraV4CoinHook.PoolCoin",
5390
+ type: "tuple",
5391
+ components: [
5392
+ { name: "coin", internalType: "address", type: "address" },
5393
+ {
5394
+ name: "positions",
5395
+ internalType: "struct LpPosition[]",
5396
+ type: "tuple[]",
5397
+ components: [
5398
+ { name: "tickLower", internalType: "int24", type: "int24" },
5399
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5400
+ { name: "liquidity", internalType: "uint128", type: "uint128" }
5401
+ ]
5402
+ }
5403
+ ]
5404
+ }
5405
+ ],
5406
+ stateMutability: "view"
5407
+ },
5408
+ {
5409
+ type: "function",
5410
+ inputs: [],
5411
+ name: "getTrustedMsgSenderLookup",
5412
+ outputs: [
5413
+ {
5414
+ name: "",
5415
+ internalType: "contract ITrustedMsgSenderProviderLookup",
5416
+ type: "address"
5417
+ }
5418
+ ],
5419
+ stateMutability: "view"
5420
+ },
5421
+ {
5422
+ type: "function",
5423
+ inputs: [
5424
+ {
5425
+ name: "poolKey",
5426
+ internalType: "struct PoolKey",
5427
+ type: "tuple",
5428
+ components: [
5429
+ { name: "currency0", internalType: "Currency", type: "address" },
5430
+ { name: "currency1", internalType: "Currency", type: "address" },
5431
+ { name: "fee", internalType: "uint24", type: "uint24" },
5432
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5433
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5434
+ ]
5435
+ },
5436
+ { name: "coin", internalType: "address", type: "address" },
5437
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
5438
+ {
5439
+ name: "migratedLiquidity",
5440
+ internalType: "struct BurnedPosition[]",
5441
+ type: "tuple[]",
5442
+ components: [
5443
+ { name: "tickLower", internalType: "int24", type: "int24" },
5444
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5445
+ { name: "amount0Received", internalType: "uint128", type: "uint128" },
5446
+ { name: "amount1Received", internalType: "uint128", type: "uint128" }
5447
+ ]
5448
+ },
5449
+ { name: "additionalData", internalType: "bytes", type: "bytes" }
5450
+ ],
5451
+ name: "initializeFromMigration",
5452
+ outputs: [],
5453
+ stateMutability: "nonpayable"
5454
+ },
5455
+ {
5456
+ type: "function",
5457
+ inputs: [
5458
+ {
5459
+ name: "poolKey",
5460
+ internalType: "struct PoolKey",
5461
+ type: "tuple",
5462
+ components: [
5463
+ { name: "currency0", internalType: "Currency", type: "address" },
5464
+ { name: "currency1", internalType: "Currency", type: "address" },
5465
+ { name: "fee", internalType: "uint24", type: "uint24" },
5466
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5467
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5468
+ ]
5469
+ },
5470
+ { name: "coin", internalType: "address", type: "address" },
5471
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
5472
+ {
5473
+ name: "migratedLiquidity",
5474
+ internalType: "struct BurnedPosition[]",
5475
+ type: "tuple[]",
5476
+ components: [
5477
+ { name: "tickLower", internalType: "int24", type: "int24" },
5478
+ { name: "tickUpper", internalType: "int24", type: "int24" },
5479
+ { name: "amount0Received", internalType: "uint128", type: "uint128" },
5480
+ { name: "amount1Received", internalType: "uint128", type: "uint128" }
5481
+ ]
5482
+ },
5483
+ { name: "additionalData", internalType: "bytes", type: "bytes" }
5484
+ ],
5485
+ name: "initializeFromMigrationWithUpdateableFee",
5486
+ outputs: [
5487
+ { name: "fee", internalType: "uint24", type: "uint24" },
5488
+ { name: "tickSpacing", internalType: "int24", type: "int24" }
5489
+ ],
5490
+ stateMutability: "nonpayable"
5491
+ },
5492
+ {
5493
+ type: "function",
5494
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
5495
+ name: "isTrustedMessageSender",
5496
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5497
+ stateMutability: "view"
5498
+ },
5499
+ {
5500
+ type: "function",
5501
+ inputs: [
5502
+ { name: "newHook", internalType: "address", type: "address" },
5503
+ {
5504
+ name: "poolKey",
5505
+ internalType: "struct PoolKey",
5506
+ type: "tuple",
5507
+ components: [
5508
+ { name: "currency0", internalType: "Currency", type: "address" },
5509
+ { name: "currency1", internalType: "Currency", type: "address" },
5510
+ { name: "fee", internalType: "uint24", type: "uint24" },
5511
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5512
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5513
+ ]
5514
+ },
5515
+ { name: "additionalData", internalType: "bytes", type: "bytes" }
5516
+ ],
5517
+ name: "migrateLiquidity",
5518
+ outputs: [
5519
+ {
5520
+ name: "newPoolKey",
5521
+ internalType: "struct PoolKey",
5522
+ type: "tuple",
5523
+ components: [
5524
+ { name: "currency0", internalType: "Currency", type: "address" },
5525
+ { name: "currency1", internalType: "Currency", type: "address" },
5526
+ { name: "fee", internalType: "uint24", type: "uint24" },
5527
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5528
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5529
+ ]
5530
+ }
5531
+ ],
5532
+ stateMutability: "nonpayable"
5533
+ },
5534
+ {
5535
+ type: "function",
5536
+ inputs: [],
5537
+ name: "poolManager",
5538
+ outputs: [
5539
+ { name: "", internalType: "contract IPoolManager", type: "address" }
5540
+ ],
5541
+ stateMutability: "view"
5542
+ },
5543
+ {
5544
+ type: "function",
5545
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
5546
+ name: "supportsInterface",
5547
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5548
+ stateMutability: "view"
5549
+ },
5550
+ {
5551
+ type: "function",
5552
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
5553
+ name: "unlockCallback",
5554
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
5555
+ stateMutability: "nonpayable"
5556
+ },
5557
+ {
5558
+ type: "event",
5559
+ anonymous: false,
5560
+ inputs: [
5561
+ {
5562
+ name: "coin",
5563
+ internalType: "address",
5564
+ type: "address",
5565
+ indexed: false
5566
+ },
5567
+ {
5568
+ name: "currency",
5569
+ internalType: "address",
5570
+ type: "address",
5571
+ indexed: false
5572
+ },
5573
+ {
5574
+ name: "payoutRecipient",
5575
+ internalType: "address",
5576
+ type: "address",
5577
+ indexed: false
5578
+ },
5579
+ {
5580
+ name: "platformReferrer",
5581
+ internalType: "address",
5582
+ type: "address",
5583
+ indexed: false
5584
+ },
5585
+ {
5586
+ name: "tradeReferrer",
5587
+ internalType: "address",
5588
+ type: "address",
5589
+ indexed: false
5590
+ },
5591
+ {
5592
+ name: "protocolRewardRecipient",
5593
+ internalType: "address",
5594
+ type: "address",
5595
+ indexed: false
5596
+ },
5597
+ {
5598
+ name: "dopplerRecipient",
5599
+ internalType: "address",
5600
+ type: "address",
5601
+ indexed: false
5602
+ },
5603
+ {
5604
+ name: "marketRewards",
5605
+ internalType: "struct IZoraV4CoinHook.MarketRewardsV4",
5606
+ type: "tuple",
5607
+ components: [
5608
+ {
5609
+ name: "creatorPayoutAmountCurrency",
5610
+ internalType: "uint256",
5611
+ type: "uint256"
5612
+ },
5613
+ {
5614
+ name: "creatorPayoutAmountCoin",
5615
+ internalType: "uint256",
5616
+ type: "uint256"
5617
+ },
5618
+ {
5619
+ name: "platformReferrerAmountCurrency",
5620
+ internalType: "uint256",
5621
+ type: "uint256"
5622
+ },
5623
+ {
5624
+ name: "platformReferrerAmountCoin",
5625
+ internalType: "uint256",
5626
+ type: "uint256"
5627
+ },
5628
+ {
5629
+ name: "tradeReferrerAmountCurrency",
5630
+ internalType: "uint256",
5631
+ type: "uint256"
5632
+ },
5633
+ {
5634
+ name: "tradeReferrerAmountCoin",
5635
+ internalType: "uint256",
5636
+ type: "uint256"
5637
+ },
5638
+ {
5639
+ name: "protocolAmountCurrency",
5640
+ internalType: "uint256",
5641
+ type: "uint256"
5642
+ },
5643
+ {
5644
+ name: "protocolAmountCoin",
5645
+ internalType: "uint256",
5646
+ type: "uint256"
5647
+ },
5648
+ {
5649
+ name: "dopplerAmountCurrency",
5650
+ internalType: "uint256",
5651
+ type: "uint256"
5652
+ },
5653
+ {
5654
+ name: "dopplerAmountCoin",
5655
+ internalType: "uint256",
5656
+ type: "uint256"
5657
+ }
5658
+ ],
5659
+ indexed: false
5660
+ }
5661
+ ],
5662
+ name: "CoinMarketRewardsV4"
5663
+ },
5664
+ {
5665
+ type: "event",
5666
+ anonymous: false,
5667
+ inputs: [
5668
+ { name: "coin", internalType: "address", type: "address", indexed: true },
5669
+ {
5670
+ name: "currency",
5671
+ internalType: "address",
5672
+ type: "address",
5673
+ indexed: false
5674
+ },
5675
+ {
5676
+ name: "creator",
5677
+ internalType: "address",
5678
+ type: "address",
5679
+ indexed: false
5680
+ },
5681
+ {
5682
+ name: "protocol",
5683
+ internalType: "address",
5684
+ type: "address",
5685
+ indexed: false
5686
+ },
5687
+ {
5688
+ name: "creatorAmount",
5689
+ internalType: "uint256",
5690
+ type: "uint256",
5691
+ indexed: false
5692
+ },
5693
+ {
5694
+ name: "protocolAmount",
5695
+ internalType: "uint256",
5696
+ type: "uint256",
5697
+ indexed: false
5698
+ }
5699
+ ],
5700
+ name: "CreatorCoinRewards"
5701
+ },
5702
+ {
5703
+ type: "event",
5704
+ anonymous: false,
5705
+ inputs: [
5706
+ { name: "coin", internalType: "address", type: "address", indexed: true },
5707
+ {
5708
+ name: "currency",
5709
+ internalType: "address",
5710
+ type: "address",
5711
+ indexed: true
5712
+ },
5713
+ {
5714
+ name: "amountCurrency",
5715
+ internalType: "uint256",
5716
+ type: "uint256",
5717
+ indexed: false
5718
+ },
5719
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
5720
+ {
5721
+ name: "liquidity",
5722
+ internalType: "uint128",
5723
+ type: "uint128",
5724
+ indexed: false
5725
+ }
5726
+ ],
5727
+ name: "LpReward"
5728
+ },
5729
+ {
5730
+ type: "event",
5731
+ anonymous: false,
5732
+ inputs: [
5733
+ {
5734
+ name: "sender",
5735
+ internalType: "address",
5736
+ type: "address",
5737
+ indexed: true
5738
+ },
5739
+ {
5740
+ name: "swapSender",
5741
+ internalType: "address",
5742
+ type: "address",
5743
+ indexed: true
5744
+ },
5745
+ {
5746
+ name: "isTrustedSwapSenderAddress",
5747
+ internalType: "bool",
5748
+ type: "bool",
5749
+ indexed: false
5750
+ },
5751
+ {
5752
+ name: "key",
5753
+ internalType: "struct PoolKey",
5754
+ type: "tuple",
5755
+ components: [
5756
+ { name: "currency0", internalType: "Currency", type: "address" },
5757
+ { name: "currency1", internalType: "Currency", type: "address" },
5758
+ { name: "fee", internalType: "uint24", type: "uint24" },
5759
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5760
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5761
+ ],
5762
+ indexed: false
5763
+ },
5764
+ {
5765
+ name: "poolKeyHash",
5766
+ internalType: "bytes32",
5767
+ type: "bytes32",
5768
+ indexed: true
5769
+ },
5770
+ {
5771
+ name: "params",
5772
+ internalType: "struct SwapParams",
5773
+ type: "tuple",
5774
+ components: [
5775
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
5776
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
5777
+ {
5778
+ name: "sqrtPriceLimitX96",
5779
+ internalType: "uint160",
5780
+ type: "uint160"
5781
+ }
5782
+ ],
5783
+ indexed: false
5784
+ },
5785
+ {
5786
+ name: "amount0",
5787
+ internalType: "int128",
5788
+ type: "int128",
5789
+ indexed: false
5790
+ },
5791
+ {
5792
+ name: "amount1",
5793
+ internalType: "int128",
5794
+ type: "int128",
5795
+ indexed: false
5796
+ },
5797
+ { name: "isCoinBuy", internalType: "bool", type: "bool", indexed: false },
5798
+ {
5799
+ name: "hookData",
5800
+ internalType: "bytes",
5801
+ type: "bytes",
5802
+ indexed: false
5803
+ },
5804
+ {
5805
+ name: "sqrtPriceX96",
5806
+ internalType: "uint160",
5807
+ type: "uint160",
5808
+ indexed: false
5809
+ }
5810
+ ],
5811
+ name: "Swapped"
5812
+ },
5813
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
5814
+ { type: "error", inputs: [], name: "EthTransferFailed" },
5815
+ { type: "error", inputs: [], name: "HookNotImplemented" },
5816
+ {
5817
+ type: "error",
5818
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
5819
+ name: "InvalidCallbackId"
5820
+ },
5821
+ {
5822
+ type: "error",
5823
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
5824
+ name: "InvalidNewHook"
5825
+ },
5826
+ {
5827
+ type: "error",
5828
+ inputs: [
5829
+ {
5830
+ name: "key",
5831
+ internalType: "struct PoolKey",
5832
+ type: "tuple",
5833
+ components: [
5834
+ { name: "currency0", internalType: "Currency", type: "address" },
5835
+ { name: "currency1", internalType: "Currency", type: "address" },
5836
+ { name: "fee", internalType: "uint24", type: "uint24" },
5837
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
5838
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
5839
+ ]
5840
+ }
5841
+ ],
5842
+ name: "NoCoinForHook"
5843
+ },
5844
+ {
5845
+ type: "error",
5846
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
5847
+ name: "NotACoin"
5848
+ },
5849
+ { type: "error", inputs: [], name: "NotPoolManager" },
5850
+ {
5851
+ type: "error",
5852
+ inputs: [
5853
+ { name: "caller", internalType: "address", type: "address" },
5854
+ { name: "expectedCoin", internalType: "address", type: "address" }
5855
+ ],
5856
+ name: "OnlyCoin"
5857
+ },
5858
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
5859
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
5860
+ {
5861
+ type: "error",
5862
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
5863
+ name: "SafeERC20FailedOperation"
5864
+ },
5865
+ {
5866
+ type: "error",
5867
+ inputs: [],
5868
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
5869
+ },
5870
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
5871
+ {
5872
+ type: "error",
5873
+ inputs: [
5874
+ { name: "oldHook", internalType: "address", type: "address" },
5875
+ { name: "newHook", internalType: "address", type: "address" }
5876
+ ],
5877
+ name: "UpgradePathNotRegistered"
5878
+ },
5879
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
5880
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
5881
+ ];
4975
5882
  // Annotate the CommonJS export names for ESM import in node:
4976
5883
  0 && (module.exports = {
4977
5884
  autoSwapperABI,
@@ -4982,7 +5889,7 @@ var zoraFactoryImplABI = [
4982
5889
  iPermit2ABI,
4983
5890
  iPoolConfigEncodingABI,
4984
5891
  iUniswapV3PoolABI,
4985
- iUniversalRouterABI,
4986
- zoraFactoryImplABI
5892
+ zoraFactoryImplABI,
5893
+ zoraV4CoinHookABI
4987
5894
  });
4988
5895
  //# sourceMappingURL=index.cjs.map