@zoralabs/coins 0.7.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/.turbo/turbo-build.log +106 -84
  2. package/CHANGELOG.md +68 -0
  3. package/abis/BadImpl.json +15 -0
  4. package/abis/BalanceDeltaLibrary.json +15 -0
  5. package/abis/BaseCoin.json +1350 -0
  6. package/abis/BaseCoinDeployHook.json +78 -0
  7. package/abis/BaseHook.json +897 -0
  8. package/abis/BaseTest.json +60 -91
  9. package/abis/BeforeSwapDeltaLibrary.json +15 -0
  10. package/abis/BuySupplyWithSwapRouterHook.json +126 -0
  11. package/abis/Coin.json +214 -150
  12. package/abis/CoinConstants.json +65 -0
  13. package/abis/CoinDopplerMultiCurve.json +38 -0
  14. package/abis/CoinRewardsV4.json +54 -0
  15. package/abis/CoinTest.json +66 -111
  16. package/abis/CoinUniV4Test.json +1053 -0
  17. package/abis/CoinV4.json +1687 -0
  18. package/abis/CurrencyLibrary.json +25 -0
  19. package/abis/DeployHooks.json +9 -0
  20. package/abis/DeployScript.json +47 -0
  21. package/abis/DeployedCoinVersionLookup.json +21 -0
  22. package/abis/DeployedCoinVersionLookupTest.json +716 -0
  23. package/abis/DifferentNamespaceVersionLookup.json +39 -0
  24. package/abis/DopplerUniswapV3Test.json +62 -184
  25. package/abis/ERC20.json +310 -0
  26. package/abis/FactoryTest.json +98 -98
  27. package/abis/FakeHookNoInterface.json +21 -0
  28. package/abis/FeeEstimatorHook.json +1528 -0
  29. package/abis/Hooks.json +28 -0
  30. package/abis/HooksDeployment.json +23 -0
  31. package/abis/HooksTest.json +698 -0
  32. package/abis/IAllowanceTransfer.json +486 -0
  33. package/abis/ICoin.json +62 -69
  34. package/abis/ICoinDeployHook.json +31 -0
  35. package/abis/ICoinV3.json +879 -0
  36. package/abis/ICoinV4.json +915 -0
  37. package/abis/IContractMetadata.json +28 -0
  38. package/abis/IDeployedCoinVersionLookup.json +21 -0
  39. package/abis/IEIP712.json +15 -0
  40. package/abis/IEIP712_v4.json +15 -0
  41. package/abis/IERC20Minimal.json +172 -0
  42. package/abis/IERC6909Claims.json +288 -0
  43. package/abis/IERC721.json +36 -36
  44. package/abis/IERC721Permit_v4.json +88 -0
  45. package/abis/IExtsload.json +64 -0
  46. package/abis/IExttload.json +40 -0
  47. package/abis/IHasAfterCoinDeploy.json +31 -0
  48. package/abis/IHasContractName.json +15 -0
  49. package/abis/IHasPoolKey.json +42 -0
  50. package/abis/IHasRewardsRecipients.json +54 -0
  51. package/abis/IHasSwapPath.json +60 -0
  52. package/abis/IHooks.json +789 -0
  53. package/abis/IImmutableState.json +15 -0
  54. package/abis/IMsgSender.json +15 -0
  55. package/abis/IMulticall_v4.json +21 -0
  56. package/abis/INotifier.json +187 -0
  57. package/abis/IPermit2.json +865 -0
  58. package/abis/IPermit2Forwarder.json +138 -0
  59. package/abis/IPoolConfigEncoding.json +46 -0
  60. package/abis/IPoolInitializer_v4.json +53 -0
  61. package/abis/IPoolManager.json +1286 -0
  62. package/abis/IPositionManager.json +712 -0
  63. package/abis/IProtocolFees.json +174 -0
  64. package/abis/ISignatureTransfer.json +394 -0
  65. package/abis/ISubscriber.json +89 -0
  66. package/abis/ISwapPathRouter.json +92 -0
  67. package/abis/ISwapRouter.json +82 -0
  68. package/abis/IUniversalRouter.json +61 -0
  69. package/abis/IUnlockCallback.json +21 -0
  70. package/abis/IUnorderedNonce.json +44 -0
  71. package/abis/IV4Quoter.json +310 -0
  72. package/abis/IV4Router.json +47 -0
  73. package/abis/IZoraFactory.json +328 -4
  74. package/abis/IZoraV4CoinHook.json +427 -0
  75. package/abis/ImmutableState.json +36 -0
  76. package/abis/LPFeeLibrary.json +65 -0
  77. package/abis/MockERC20.json +21 -0
  78. package/abis/MultiOwnableTest.json +60 -91
  79. package/abis/{CoinConfigurationVersions.json → Position.json} +1 -1
  80. package/abis/PrintUpgradeCommand.json +9 -0
  81. package/abis/ProxyShim.json +24 -0
  82. package/abis/Simulate.json +0 -91
  83. package/abis/StateLibrary.json +80 -0
  84. package/abis/TestDeployedCoinVersionLookupImplementation.json +39 -0
  85. package/abis/TestV4Swap.json +9 -0
  86. package/abis/{CoinSetup.json → UniV3BuySell.json} +5 -0
  87. package/abis/UniV3Errors.json +32 -0
  88. package/abis/UpgradeCoinImpl.json +47 -0
  89. package/abis/UpgradeFactoryImpl.json +9 -0
  90. package/abis/UpgradesTest.json +671 -0
  91. package/abis/Vm.json +1482 -111
  92. package/abis/VmSafe.json +856 -32
  93. package/abis/ZoraFactoryImpl.json +450 -1
  94. package/abis/ZoraV4CoinHook.json +1439 -0
  95. package/addresses/8453.json +8 -3
  96. package/addresses/84532.json +8 -3
  97. package/dist/index.cjs +1998 -184
  98. package/dist/index.cjs.map +1 -1
  99. package/dist/index.js +1989 -178
  100. package/dist/index.js.map +1 -1
  101. package/dist/wagmiGenerated.d.ts +2852 -688
  102. package/dist/wagmiGenerated.d.ts.map +1 -1
  103. package/package/wagmiGenerated.ts +1992 -173
  104. package/package.json +7 -2
  105. package/remappings.txt +6 -1
  106. package/script/CoinsDeployerBase.sol +105 -10
  107. package/script/DeployDevFactory.s.sol +21 -0
  108. package/script/DeployHooks.s.sol +22 -0
  109. package/script/PrintUpgradeCommand.s.sol +13 -0
  110. package/script/Simulate.s.sol +4 -12
  111. package/script/TestBackingCoinSwap.s.sol +146 -0
  112. package/script/TestV4Swap.s.sol +136 -0
  113. package/script/UpgradeCoinImpl.sol +2 -2
  114. package/script/UpgradeFactoryImpl.s.sol +23 -0
  115. package/src/BaseCoin.sol +176 -0
  116. package/src/Coin.sol +93 -515
  117. package/src/CoinV4.sol +121 -0
  118. package/src/ZoraFactoryImpl.sol +257 -57
  119. package/src/hooks/ZoraV4CoinHook.sol +195 -0
  120. package/src/hooks/deployment/BaseCoinDeployHook.sol +62 -0
  121. package/src/hooks/deployment/BuySupplyWithSwapRouterHook.sol +80 -0
  122. package/src/interfaces/ICoin.sol +35 -39
  123. package/src/interfaces/ICoinDeployHook.sol +8 -0
  124. package/src/interfaces/ICoinV3.sol +71 -0
  125. package/src/interfaces/ICoinV4.sol +69 -0
  126. package/src/interfaces/IDeployedCoinVersionLookup.sol +11 -0
  127. package/src/interfaces/IMsgSender.sol +9 -0
  128. package/src/interfaces/IPoolConfigEncoding.sol +14 -0
  129. package/src/interfaces/ISwapPathRouter.sol +14 -0
  130. package/src/interfaces/ISwapRouter.sol +1 -35
  131. package/src/interfaces/IZoraFactory.sol +97 -7
  132. package/src/interfaces/IZoraV4CoinHook.sol +116 -0
  133. package/src/libs/CoinCommon.sol +15 -0
  134. package/src/libs/CoinConfigurationVersions.sol +116 -1
  135. package/src/{utils → libs}/CoinConstants.sol +11 -6
  136. package/src/libs/CoinDopplerMultiCurve.sol +134 -0
  137. package/src/libs/CoinDopplerUniV3.sol +19 -171
  138. package/src/libs/CoinRewards.sol +195 -0
  139. package/src/libs/CoinRewardsV4.sol +180 -0
  140. package/src/libs/CoinSetup.sol +40 -20
  141. package/src/libs/CoinSetupV3.sol +50 -0
  142. package/src/libs/DopplerMath.sol +156 -0
  143. package/src/libs/HooksDeployment.sol +84 -0
  144. package/src/libs/MarketConstants.sol +4 -0
  145. package/src/libs/PoolStateReader.sol +22 -0
  146. package/src/libs/UniV3BuySell.sol +231 -0
  147. package/src/libs/UniV3Errors.sol +11 -0
  148. package/src/libs/UniV4SwapHelper.sol +65 -0
  149. package/src/libs/UniV4SwapToCurrency.sol +109 -0
  150. package/src/libs/V4Liquidity.sol +129 -0
  151. package/src/types/PoolConfiguration.sol +15 -0
  152. package/src/utils/DeployedCoinVersionLookup.sol +52 -0
  153. package/src/version/ContractVersionBase.sol +1 -1
  154. package/test/Coin.t.sol +94 -101
  155. package/test/CoinDopplerUniV3.t.sol +35 -184
  156. package/test/CoinUniV4.t.sol +752 -0
  157. package/test/DeploymentHooks.t.sol +270 -0
  158. package/test/Factory.t.sol +84 -50
  159. package/test/MultiOwnable.t.sol +6 -3
  160. package/test/Upgrades.t.sol +68 -0
  161. package/test/mocks/MockERC20.sol +12 -0
  162. package/test/utils/BaseTest.sol +124 -59
  163. package/test/utils/DeployedCoinVersionLookup.t.sol +127 -0
  164. package/test/utils/FeeEstimatorHook.sol +84 -0
  165. package/test/utils/ProxyShim.sol +17 -0
  166. package/wagmi.config.ts +10 -9
  167. package/src/libs/CoinLegacy.sol +0 -48
package/dist/index.js CHANGED
@@ -1,76 +1,83 @@
1
1
  // package/wagmiGenerated.ts
2
- var coinABI = [
2
+ var buySupplyWithSwapRouterHookABI = [
3
3
  {
4
4
  type: "constructor",
5
5
  inputs: [
6
6
  {
7
- name: "_protocolRewardRecipient",
8
- internalType: "address",
7
+ name: "_factory",
8
+ internalType: "contract IZoraFactory",
9
9
  type: "address"
10
10
  },
11
- { name: "_protocolRewards", internalType: "address", type: "address" },
12
- { name: "_weth", internalType: "address", type: "address" },
13
- { name: "_v3Factory", internalType: "address", type: "address" },
14
- { name: "_swapRouter", internalType: "address", type: "address" },
15
- { name: "_airlock", internalType: "address", type: "address" }
11
+ { name: "_swapRouter", internalType: "address", type: "address" }
16
12
  ],
17
13
  stateMutability: "nonpayable"
18
14
  },
19
- { type: "receive", stateMutability: "payable" },
20
- {
21
- type: "function",
22
- inputs: [],
23
- name: "DOMAIN_SEPARATOR",
24
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
25
- stateMutability: "view"
26
- },
27
15
  {
28
16
  type: "function",
29
- inputs: [],
30
- name: "MAX_TOTAL_SUPPLY",
31
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
32
- stateMutability: "view"
17
+ inputs: [
18
+ { name: "sender", internalType: "address", type: "address" },
19
+ { name: "coin", internalType: "contract ICoin", type: "address" },
20
+ { name: "hookData", internalType: "bytes", type: "bytes" }
21
+ ],
22
+ name: "afterCoinDeploy",
23
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
24
+ stateMutability: "payable"
33
25
  },
34
26
  {
35
27
  type: "function",
36
28
  inputs: [],
37
- name: "MIN_ORDER_SIZE",
38
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
29
+ name: "factory",
30
+ outputs: [
31
+ { name: "", internalType: "contract IZoraFactory", type: "address" }
32
+ ],
39
33
  stateMutability: "view"
40
34
  },
41
35
  {
42
36
  type: "function",
43
- inputs: [],
44
- name: "PLATFORM_REFERRER_FEE_BPS",
45
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
46
- stateMutability: "view"
37
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
38
+ name: "supportsInterface",
39
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
40
+ stateMutability: "pure"
47
41
  },
42
+ { type: "error", inputs: [], name: "AddressZero" },
48
43
  {
49
- type: "function",
50
- inputs: [],
51
- name: "PROTOCOL_FEE_BPS",
52
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
53
- stateMutability: "view"
44
+ type: "error",
45
+ inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
46
+ name: "CoinBalanceNot0"
54
47
  },
48
+ { type: "error", inputs: [], name: "Erc20NotReceived" },
49
+ { type: "error", inputs: [], name: "HookNotImplemented" },
50
+ { type: "error", inputs: [], name: "InvalidSwapRouterCall" },
51
+ { type: "error", inputs: [], name: "NotFactory" },
55
52
  {
56
- type: "function",
57
- inputs: [],
58
- name: "TOKEN_CREATOR_FEE_BPS",
59
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
60
- stateMutability: "view"
61
- },
53
+ type: "error",
54
+ inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
55
+ name: "SwapReverted"
56
+ }
57
+ ];
58
+ var coinABI = [
62
59
  {
63
- type: "function",
64
- inputs: [],
65
- name: "TOTAL_FEE_BPS",
66
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
67
- stateMutability: "view"
60
+ type: "constructor",
61
+ inputs: [
62
+ {
63
+ name: "protocolRewardRecipient_",
64
+ internalType: "address",
65
+ type: "address"
66
+ },
67
+ { name: "protocolRewards_", internalType: "address", type: "address" },
68
+ { name: "weth_", internalType: "address", type: "address" },
69
+ { name: "v3Factory_", internalType: "address", type: "address" },
70
+ { name: "swapRouter_", internalType: "address", type: "address" },
71
+ { name: "airlock_", internalType: "address", type: "address" }
72
+ ],
73
+ stateMutability: "nonpayable"
68
74
  },
75
+ { type: "receive", stateMutability: "payable" },
69
76
  {
70
77
  type: "function",
71
78
  inputs: [],
72
- name: "TRADE_REFERRER_FEE_BPS",
73
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
79
+ name: "DOMAIN_SEPARATOR",
80
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
74
81
  stateMutability: "view"
75
82
  },
76
83
  {
@@ -188,6 +195,13 @@ var coinABI = [
188
195
  outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
189
196
  stateMutability: "view"
190
197
  },
198
+ {
199
+ type: "function",
200
+ inputs: [],
201
+ name: "dopplerFeeRecipient",
202
+ outputs: [{ name: "", internalType: "address", type: "address" }],
203
+ stateMutability: "view"
204
+ },
191
205
  {
192
206
  type: "function",
193
207
  inputs: [],
@@ -203,6 +217,37 @@ var coinABI = [
203
217
  ],
204
218
  stateMutability: "view"
205
219
  },
220
+ {
221
+ type: "function",
222
+ inputs: [],
223
+ name: "getPoolConfiguration",
224
+ outputs: [
225
+ {
226
+ name: "",
227
+ internalType: "struct PoolConfiguration",
228
+ type: "tuple",
229
+ components: [
230
+ { name: "version", internalType: "uint8", type: "uint8" },
231
+ { name: "numPositions", internalType: "uint16", type: "uint16" },
232
+ { name: "fee", internalType: "uint24", type: "uint24" },
233
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
234
+ {
235
+ name: "numDiscoveryPositions",
236
+ internalType: "uint16[]",
237
+ type: "uint16[]"
238
+ },
239
+ { name: "tickLower", internalType: "int24[]", type: "int24[]" },
240
+ { name: "tickUpper", internalType: "int24[]", type: "int24[]" },
241
+ {
242
+ name: "maxDiscoverySupplyShare",
243
+ internalType: "uint256[]",
244
+ type: "uint256[]"
245
+ }
246
+ ]
247
+ }
248
+ ],
249
+ stateMutability: "view"
250
+ },
206
251
  {
207
252
  type: "function",
208
253
  inputs: [
@@ -211,8 +256,42 @@ var coinABI = [
211
256
  { name: "tokenURI_", internalType: "string", type: "string" },
212
257
  { name: "name_", internalType: "string", type: "string" },
213
258
  { name: "symbol_", internalType: "string", type: "string" },
214
- { name: "poolConfig_", internalType: "bytes", type: "bytes" },
215
- { name: "platformReferrer_", internalType: "address", type: "address" }
259
+ { name: "platformReferrer_", internalType: "address", type: "address" },
260
+ { name: "currency_", internalType: "address", type: "address" },
261
+ { name: "poolAddress_", internalType: "address", type: "address" },
262
+ {
263
+ name: "poolConfiguration_",
264
+ internalType: "struct PoolConfiguration",
265
+ type: "tuple",
266
+ components: [
267
+ { name: "version", internalType: "uint8", type: "uint8" },
268
+ { name: "numPositions", internalType: "uint16", type: "uint16" },
269
+ { name: "fee", internalType: "uint24", type: "uint24" },
270
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
271
+ {
272
+ name: "numDiscoveryPositions",
273
+ internalType: "uint16[]",
274
+ type: "uint16[]"
275
+ },
276
+ { name: "tickLower", internalType: "int24[]", type: "int24[]" },
277
+ { name: "tickUpper", internalType: "int24[]", type: "int24[]" },
278
+ {
279
+ name: "maxDiscoverySupplyShare",
280
+ internalType: "uint256[]",
281
+ type: "uint256[]"
282
+ }
283
+ ]
284
+ },
285
+ {
286
+ name: "positions_",
287
+ internalType: "struct LpPosition[]",
288
+ type: "tuple[]",
289
+ components: [
290
+ { name: "tickLower", internalType: "int24", type: "int24" },
291
+ { name: "tickUpper", internalType: "int24", type: "int24" },
292
+ { name: "liquidity", internalType: "uint128", type: "uint128" }
293
+ ]
294
+ }
216
295
  ],
217
296
  name: "initialize",
218
297
  outputs: [],
@@ -225,6 +304,20 @@ var coinABI = [
225
304
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
226
305
  stateMutability: "view"
227
306
  },
307
+ {
308
+ type: "function",
309
+ inputs: [],
310
+ name: "market",
311
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
312
+ stateMutability: "view"
313
+ },
314
+ {
315
+ type: "function",
316
+ inputs: [],
317
+ name: "marketVersion",
318
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
319
+ stateMutability: "view"
320
+ },
228
321
  {
229
322
  type: "function",
230
323
  inputs: [],
@@ -288,35 +381,20 @@ var coinABI = [
288
381
  name: "poolConfiguration",
289
382
  outputs: [
290
383
  { name: "version", internalType: "uint8", type: "uint8" },
291
- { name: "tickLower", internalType: "int24", type: "int24" },
292
- { name: "tickUpper", internalType: "int24", type: "int24" },
293
384
  { name: "numPositions", internalType: "uint16", type: "uint16" },
294
- {
295
- name: "maxDiscoverySupplyShare",
296
- internalType: "uint256",
297
- type: "uint256"
298
- }
385
+ { name: "fee", internalType: "uint24", type: "uint24" },
386
+ { name: "tickSpacing", internalType: "int24", type: "int24" }
299
387
  ],
300
388
  stateMutability: "view"
301
389
  },
302
390
  {
303
391
  type: "function",
304
- inputs: [],
305
- name: "poolState",
392
+ inputs: [{ name: "", internalType: "uint256", type: "uint256" }],
393
+ name: "positions",
306
394
  outputs: [
307
- { name: "asset", internalType: "address", type: "address" },
308
- { name: "numeraire", internalType: "address", type: "address" },
309
395
  { name: "tickLower", internalType: "int24", type: "int24" },
310
396
  { name: "tickUpper", internalType: "int24", type: "int24" },
311
- { name: "numPositions", internalType: "uint16", type: "uint16" },
312
- { name: "isInitialized", internalType: "bool", type: "bool" },
313
- { name: "isExited", internalType: "bool", type: "bool" },
314
- { name: "maxShareToBeSold", internalType: "uint256", type: "uint256" },
315
- {
316
- name: "totalTokensOnBondingCurve",
317
- internalType: "uint256",
318
- type: "uint256"
319
- }
397
+ { name: "liquidity", internalType: "uint128", type: "uint128" }
320
398
  ],
321
399
  stateMutability: "view"
322
400
  },
@@ -870,6 +948,7 @@ var coinABI = [
870
948
  name: "AddressInsufficientBalance"
871
949
  },
872
950
  { type: "error", inputs: [], name: "AddressZero" },
951
+ { type: "error", inputs: [], name: "AddressZero" },
873
952
  { type: "error", inputs: [], name: "AlreadyOwner" },
874
953
  { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
875
954
  {
@@ -985,7 +1064,14 @@ var coinABI = [
985
1064
  { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
986
1065
  { type: "error", inputs: [], name: "OneOwnerRequired" },
987
1066
  { type: "error", inputs: [], name: "OnlyOwner" },
988
- { type: "error", inputs: [], name: "OnlyPool" },
1067
+ {
1068
+ type: "error",
1069
+ inputs: [
1070
+ { name: "sender", internalType: "address", type: "address" },
1071
+ { name: "pool", internalType: "address", type: "address" }
1072
+ ],
1073
+ name: "OnlyPool"
1074
+ },
989
1075
  { type: "error", inputs: [], name: "OnlyWeth" },
990
1076
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
991
1077
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
@@ -997,157 +1083,1728 @@ var coinABI = [
997
1083
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
998
1084
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
999
1085
  ];
1000
- var iUniswapV3PoolABI = [
1001
- {
1002
- type: "function",
1003
- inputs: [
1004
- { name: "tickLower", internalType: "int24", type: "int24" },
1005
- { name: "tickUpper", internalType: "int24", type: "int24" },
1006
- { name: "amount", internalType: "uint128", type: "uint128" }
1007
- ],
1008
- name: "burn",
1009
- outputs: [
1010
- { name: "amount0", internalType: "uint256", type: "uint256" },
1011
- { name: "amount1", internalType: "uint256", type: "uint256" }
1012
- ],
1013
- stateMutability: "nonpayable"
1014
- },
1086
+ var coinV4ABI = [
1015
1087
  {
1016
- type: "function",
1088
+ type: "constructor",
1017
1089
  inputs: [
1018
- { name: "recipient", internalType: "address", type: "address" },
1019
- { name: "tickLower", internalType: "int24", type: "int24" },
1020
- { name: "tickUpper", internalType: "int24", type: "int24" },
1021
- { name: "amount0Requested", internalType: "uint128", type: "uint128" },
1022
- { name: "amount1Requested", internalType: "uint128", type: "uint128" }
1023
- ],
1024
- name: "collect",
1025
- outputs: [
1026
- { name: "amount0", internalType: "uint128", type: "uint128" },
1027
- { name: "amount1", internalType: "uint128", type: "uint128" }
1090
+ {
1091
+ name: "protocolRewardRecipient_",
1092
+ internalType: "address",
1093
+ type: "address"
1094
+ },
1095
+ { name: "protocolRewards_", internalType: "address", type: "address" },
1096
+ {
1097
+ name: "poolManager_",
1098
+ internalType: "contract IPoolManager",
1099
+ type: "address"
1100
+ },
1101
+ { name: "airlock_", internalType: "address", type: "address" },
1102
+ { name: "hooks_", internalType: "contract IHooks", type: "address" }
1028
1103
  ],
1029
1104
  stateMutability: "nonpayable"
1030
1105
  },
1031
1106
  {
1032
1107
  type: "function",
1033
1108
  inputs: [],
1034
- name: "feeGrowthGlobal0X128",
1035
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1109
+ name: "DOMAIN_SEPARATOR",
1110
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1036
1111
  stateMutability: "view"
1037
1112
  },
1038
1113
  {
1039
1114
  type: "function",
1040
- inputs: [],
1041
- name: "feeGrowthGlobal1X128",
1042
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1043
- stateMutability: "view"
1115
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1116
+ name: "addOwner",
1117
+ outputs: [],
1118
+ stateMutability: "nonpayable"
1044
1119
  },
1045
1120
  {
1046
1121
  type: "function",
1047
1122
  inputs: [
1048
- { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" }
1123
+ { name: "accounts", internalType: "address[]", type: "address[]" }
1049
1124
  ],
1050
- name: "initialize",
1125
+ name: "addOwners",
1051
1126
  outputs: [],
1052
1127
  stateMutability: "nonpayable"
1053
1128
  },
1054
1129
  {
1055
1130
  type: "function",
1056
- inputs: [
1057
- { name: "recipient", internalType: "address", type: "address" },
1058
- { name: "tickLower", internalType: "int24", type: "int24" },
1059
- { name: "tickUpper", internalType: "int24", type: "int24" },
1060
- { name: "amount", internalType: "uint128", type: "uint128" },
1061
- { name: "data", internalType: "bytes", type: "bytes" }
1062
- ],
1063
- name: "mint",
1064
- outputs: [
1065
- { name: "amount0", internalType: "uint256", type: "uint256" },
1066
- { name: "amount1", internalType: "uint256", type: "uint256" }
1067
- ],
1068
- stateMutability: "nonpayable"
1131
+ inputs: [],
1132
+ name: "airlock",
1133
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1134
+ stateMutability: "view"
1069
1135
  },
1070
1136
  {
1071
1137
  type: "function",
1072
- inputs: [],
1073
- name: "slot0",
1074
- outputs: [
1075
- {
1076
- name: "slot0",
1077
- internalType: "struct IUniswapV3Pool.Slot0",
1078
- type: "tuple",
1079
- components: [
1080
- { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
1081
- { name: "tick", internalType: "int24", type: "int24" },
1082
- { name: "observationIndex", internalType: "uint16", type: "uint16" },
1083
- {
1084
- name: "observationCardinality",
1085
- internalType: "uint16",
1086
- type: "uint16"
1087
- },
1088
- {
1089
- name: "observationCardinalityNext",
1090
- internalType: "uint16",
1091
- type: "uint16"
1092
- },
1093
- { name: "feeProtocol", internalType: "uint8", type: "uint8" },
1094
- { name: "unlocked", internalType: "bool", type: "bool" }
1095
- ]
1096
- }
1138
+ inputs: [
1139
+ { name: "owner", internalType: "address", type: "address" },
1140
+ { name: "spender", internalType: "address", type: "address" }
1097
1141
  ],
1142
+ name: "allowance",
1143
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1098
1144
  stateMutability: "view"
1099
1145
  },
1100
1146
  {
1101
1147
  type: "function",
1102
1148
  inputs: [
1103
- { name: "recipient", internalType: "address", type: "address" },
1104
- { name: "zeroForOne", internalType: "bool", type: "bool" },
1105
- { name: "amountSpecified", internalType: "int256", type: "int256" },
1106
- { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
1107
- { name: "data", internalType: "bytes", type: "bytes" }
1108
- ],
1109
- name: "swap",
1110
- outputs: [
1111
- { name: "amount0", internalType: "int256", type: "int256" },
1112
- { name: "amount1", internalType: "int256", type: "int256" }
1149
+ { name: "spender", internalType: "address", type: "address" },
1150
+ { name: "value", internalType: "uint256", type: "uint256" }
1113
1151
  ],
1152
+ name: "approve",
1153
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1114
1154
  stateMutability: "nonpayable"
1115
1155
  },
1116
1156
  {
1117
1157
  type: "function",
1118
- inputs: [],
1119
- name: "token0",
1120
- outputs: [{ name: "", internalType: "address", type: "address" }],
1121
- stateMutability: "nonpayable"
1158
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1159
+ name: "balanceOf",
1160
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1161
+ stateMutability: "view"
1122
1162
  },
1123
1163
  {
1124
1164
  type: "function",
1125
- inputs: [],
1126
- name: "token1",
1127
- outputs: [{ name: "", internalType: "address", type: "address" }],
1128
- stateMutability: "nonpayable"
1129
- }
1130
- ];
1131
- var zoraFactoryImplABI = [
1132
- {
1133
- type: "constructor",
1134
- inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
1165
+ inputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
1166
+ name: "burn",
1167
+ outputs: [],
1135
1168
  stateMutability: "nonpayable"
1136
1169
  },
1137
1170
  {
1138
1171
  type: "function",
1139
1172
  inputs: [],
1140
- name: "UPGRADE_INTERFACE_VERSION",
1173
+ name: "contractURI",
1141
1174
  outputs: [{ name: "", internalType: "string", type: "string" }],
1142
1175
  stateMutability: "view"
1143
1176
  },
1144
1177
  {
1145
1178
  type: "function",
1146
1179
  inputs: [],
1147
- name: "coinImpl",
1180
+ name: "contractVersion",
1181
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1182
+ stateMutability: "pure"
1183
+ },
1184
+ {
1185
+ type: "function",
1186
+ inputs: [],
1187
+ name: "currency",
1188
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1189
+ stateMutability: "view"
1190
+ },
1191
+ {
1192
+ type: "function",
1193
+ inputs: [],
1194
+ name: "decimals",
1195
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
1196
+ stateMutability: "view"
1197
+ },
1198
+ {
1199
+ type: "function",
1200
+ inputs: [],
1201
+ name: "dopplerFeeRecipient",
1202
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1203
+ stateMutability: "view"
1204
+ },
1205
+ {
1206
+ type: "function",
1207
+ inputs: [],
1208
+ name: "eip712Domain",
1209
+ outputs: [
1210
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
1211
+ { name: "name", internalType: "string", type: "string" },
1212
+ { name: "version", internalType: "string", type: "string" },
1213
+ { name: "chainId", internalType: "uint256", type: "uint256" },
1214
+ { name: "verifyingContract", internalType: "address", type: "address" },
1215
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1216
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
1217
+ ],
1218
+ stateMutability: "view"
1219
+ },
1220
+ {
1221
+ type: "function",
1222
+ inputs: [
1223
+ {
1224
+ name: "coinVersionLookup",
1225
+ internalType: "contract IDeployedCoinVersionLookup",
1226
+ type: "address"
1227
+ }
1228
+ ],
1229
+ name: "getPayoutSwapPath",
1230
+ outputs: [
1231
+ {
1232
+ name: "payoutSwapPath",
1233
+ internalType: "struct IHasSwapPath.PayoutSwapPath",
1234
+ type: "tuple",
1235
+ components: [
1236
+ {
1237
+ name: "path",
1238
+ internalType: "struct PathKey[]",
1239
+ type: "tuple[]",
1240
+ components: [
1241
+ {
1242
+ name: "intermediateCurrency",
1243
+ internalType: "Currency",
1244
+ type: "address"
1245
+ },
1246
+ { name: "fee", internalType: "uint24", type: "uint24" },
1247
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1248
+ {
1249
+ name: "hooks",
1250
+ internalType: "contract IHooks",
1251
+ type: "address"
1252
+ },
1253
+ { name: "hookData", internalType: "bytes", type: "bytes" }
1254
+ ]
1255
+ },
1256
+ { name: "currencyIn", internalType: "Currency", type: "address" }
1257
+ ]
1258
+ }
1259
+ ],
1260
+ stateMutability: "view"
1261
+ },
1262
+ {
1263
+ type: "function",
1264
+ inputs: [],
1265
+ name: "getPoolConfiguration",
1266
+ outputs: [
1267
+ {
1268
+ name: "",
1269
+ internalType: "struct PoolConfiguration",
1270
+ type: "tuple",
1271
+ components: [
1272
+ { name: "version", internalType: "uint8", type: "uint8" },
1273
+ { name: "numPositions", internalType: "uint16", type: "uint16" },
1274
+ { name: "fee", internalType: "uint24", type: "uint24" },
1275
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1276
+ {
1277
+ name: "numDiscoveryPositions",
1278
+ internalType: "uint16[]",
1279
+ type: "uint16[]"
1280
+ },
1281
+ { name: "tickLower", internalType: "int24[]", type: "int24[]" },
1282
+ { name: "tickUpper", internalType: "int24[]", type: "int24[]" },
1283
+ {
1284
+ name: "maxDiscoverySupplyShare",
1285
+ internalType: "uint256[]",
1286
+ type: "uint256[]"
1287
+ }
1288
+ ]
1289
+ }
1290
+ ],
1291
+ stateMutability: "view"
1292
+ },
1293
+ {
1294
+ type: "function",
1295
+ inputs: [],
1296
+ name: "getPoolKey",
1297
+ outputs: [
1298
+ {
1299
+ name: "",
1300
+ internalType: "struct PoolKey",
1301
+ type: "tuple",
1302
+ components: [
1303
+ { name: "currency0", internalType: "Currency", type: "address" },
1304
+ { name: "currency1", internalType: "Currency", type: "address" },
1305
+ { name: "fee", internalType: "uint24", type: "uint24" },
1306
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1307
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
1308
+ ]
1309
+ }
1310
+ ],
1311
+ stateMutability: "view"
1312
+ },
1313
+ {
1314
+ type: "function",
1315
+ inputs: [],
1316
+ name: "hooks",
1317
+ outputs: [{ name: "", internalType: "contract IHooks", type: "address" }],
1318
+ stateMutability: "view"
1319
+ },
1320
+ {
1321
+ type: "function",
1322
+ inputs: [
1323
+ { name: "payoutRecipient_", internalType: "address", type: "address" },
1324
+ { name: "owners_", internalType: "address[]", type: "address[]" },
1325
+ { name: "tokenURI_", internalType: "string", type: "string" },
1326
+ { name: "name_", internalType: "string", type: "string" },
1327
+ { name: "symbol_", internalType: "string", type: "string" },
1328
+ { name: "platformReferrer_", internalType: "address", type: "address" },
1329
+ { name: "currency_", internalType: "address", type: "address" },
1330
+ {
1331
+ name: "poolKey_",
1332
+ internalType: "struct PoolKey",
1333
+ type: "tuple",
1334
+ components: [
1335
+ { name: "currency0", internalType: "Currency", type: "address" },
1336
+ { name: "currency1", internalType: "Currency", type: "address" },
1337
+ { name: "fee", internalType: "uint24", type: "uint24" },
1338
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1339
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
1340
+ ]
1341
+ },
1342
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
1343
+ {
1344
+ name: "poolConfiguration_",
1345
+ internalType: "struct PoolConfiguration",
1346
+ type: "tuple",
1347
+ components: [
1348
+ { name: "version", internalType: "uint8", type: "uint8" },
1349
+ { name: "numPositions", internalType: "uint16", type: "uint16" },
1350
+ { name: "fee", internalType: "uint24", type: "uint24" },
1351
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
1352
+ {
1353
+ name: "numDiscoveryPositions",
1354
+ internalType: "uint16[]",
1355
+ type: "uint16[]"
1356
+ },
1357
+ { name: "tickLower", internalType: "int24[]", type: "int24[]" },
1358
+ { name: "tickUpper", internalType: "int24[]", type: "int24[]" },
1359
+ {
1360
+ name: "maxDiscoverySupplyShare",
1361
+ internalType: "uint256[]",
1362
+ type: "uint256[]"
1363
+ }
1364
+ ]
1365
+ }
1366
+ ],
1367
+ name: "initialize",
1368
+ outputs: [],
1369
+ stateMutability: "nonpayable"
1370
+ },
1371
+ {
1372
+ type: "function",
1373
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1374
+ name: "isOwner",
1375
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1376
+ stateMutability: "view"
1377
+ },
1378
+ {
1379
+ type: "function",
1380
+ inputs: [],
1381
+ name: "name",
1382
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1383
+ stateMutability: "view"
1384
+ },
1385
+ {
1386
+ type: "function",
1387
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
1388
+ name: "nonces",
1389
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1390
+ stateMutability: "view"
1391
+ },
1392
+ {
1393
+ type: "function",
1394
+ inputs: [],
1395
+ name: "owners",
1396
+ outputs: [{ name: "", internalType: "address[]", type: "address[]" }],
1397
+ stateMutability: "view"
1398
+ },
1399
+ {
1400
+ type: "function",
1401
+ inputs: [],
1402
+ name: "payoutRecipient",
1403
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1404
+ stateMutability: "view"
1405
+ },
1406
+ {
1407
+ type: "function",
1408
+ inputs: [
1409
+ { name: "owner", internalType: "address", type: "address" },
1410
+ { name: "spender", internalType: "address", type: "address" },
1411
+ { name: "value", internalType: "uint256", type: "uint256" },
1412
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1413
+ { name: "v", internalType: "uint8", type: "uint8" },
1414
+ { name: "r", internalType: "bytes32", type: "bytes32" },
1415
+ { name: "s", internalType: "bytes32", type: "bytes32" }
1416
+ ],
1417
+ name: "permit",
1418
+ outputs: [],
1419
+ stateMutability: "nonpayable"
1420
+ },
1421
+ {
1422
+ type: "function",
1423
+ inputs: [],
1424
+ name: "platformReferrer",
1425
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1426
+ stateMutability: "view"
1427
+ },
1428
+ {
1429
+ type: "function",
1430
+ inputs: [],
1431
+ name: "poolManager",
1432
+ outputs: [
1433
+ { name: "", internalType: "contract IPoolManager", type: "address" }
1434
+ ],
1435
+ stateMutability: "view"
1436
+ },
1437
+ {
1438
+ type: "function",
1439
+ inputs: [],
1440
+ name: "protocolRewardRecipient",
1441
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1442
+ stateMutability: "view"
1443
+ },
1444
+ {
1445
+ type: "function",
1446
+ inputs: [],
1447
+ name: "protocolRewards",
1448
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1449
+ stateMutability: "view"
1450
+ },
1451
+ {
1452
+ type: "function",
1453
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
1454
+ name: "removeOwner",
1455
+ outputs: [],
1456
+ stateMutability: "nonpayable"
1457
+ },
1458
+ {
1459
+ type: "function",
1460
+ inputs: [
1461
+ { name: "accounts", internalType: "address[]", type: "address[]" }
1462
+ ],
1463
+ name: "removeOwners",
1464
+ outputs: [],
1465
+ stateMutability: "nonpayable"
1466
+ },
1467
+ {
1468
+ type: "function",
1469
+ inputs: [],
1470
+ name: "revokeOwnership",
1471
+ outputs: [],
1472
+ stateMutability: "nonpayable"
1473
+ },
1474
+ {
1475
+ type: "function",
1476
+ inputs: [{ name: "newURI", internalType: "string", type: "string" }],
1477
+ name: "setContractURI",
1478
+ outputs: [],
1479
+ stateMutability: "nonpayable"
1480
+ },
1481
+ {
1482
+ type: "function",
1483
+ inputs: [
1484
+ { name: "newPayoutRecipient", internalType: "address", type: "address" }
1485
+ ],
1486
+ name: "setPayoutRecipient",
1487
+ outputs: [],
1488
+ stateMutability: "nonpayable"
1489
+ },
1490
+ {
1491
+ type: "function",
1492
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1493
+ name: "supportsInterface",
1494
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1495
+ stateMutability: "pure"
1496
+ },
1497
+ {
1498
+ type: "function",
1499
+ inputs: [],
1500
+ name: "symbol",
1501
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1502
+ stateMutability: "view"
1503
+ },
1504
+ {
1505
+ type: "function",
1506
+ inputs: [],
1507
+ name: "tokenURI",
1508
+ outputs: [{ name: "", internalType: "string", type: "string" }],
1509
+ stateMutability: "view"
1510
+ },
1511
+ {
1512
+ type: "function",
1513
+ inputs: [],
1514
+ name: "totalSupply",
1515
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1516
+ stateMutability: "view"
1517
+ },
1518
+ {
1519
+ type: "function",
1520
+ inputs: [
1521
+ { name: "to", internalType: "address", type: "address" },
1522
+ { name: "value", internalType: "uint256", type: "uint256" }
1523
+ ],
1524
+ name: "transfer",
1525
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1526
+ stateMutability: "nonpayable"
1527
+ },
1528
+ {
1529
+ type: "function",
1530
+ inputs: [
1531
+ { name: "from", internalType: "address", type: "address" },
1532
+ { name: "to", internalType: "address", type: "address" },
1533
+ { name: "value", internalType: "uint256", type: "uint256" }
1534
+ ],
1535
+ name: "transferFrom",
1536
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1537
+ stateMutability: "nonpayable"
1538
+ },
1539
+ {
1540
+ type: "event",
1541
+ anonymous: false,
1542
+ inputs: [
1543
+ {
1544
+ name: "owner",
1545
+ internalType: "address",
1546
+ type: "address",
1547
+ indexed: true
1548
+ },
1549
+ {
1550
+ name: "spender",
1551
+ internalType: "address",
1552
+ type: "address",
1553
+ indexed: true
1554
+ },
1555
+ {
1556
+ name: "value",
1557
+ internalType: "uint256",
1558
+ type: "uint256",
1559
+ indexed: false
1560
+ }
1561
+ ],
1562
+ name: "Approval"
1563
+ },
1564
+ {
1565
+ type: "event",
1566
+ anonymous: false,
1567
+ inputs: [
1568
+ {
1569
+ name: "buyer",
1570
+ internalType: "address",
1571
+ type: "address",
1572
+ indexed: true
1573
+ },
1574
+ {
1575
+ name: "recipient",
1576
+ internalType: "address",
1577
+ type: "address",
1578
+ indexed: true
1579
+ },
1580
+ {
1581
+ name: "tradeReferrer",
1582
+ internalType: "address",
1583
+ type: "address",
1584
+ indexed: true
1585
+ },
1586
+ {
1587
+ name: "coinsPurchased",
1588
+ internalType: "uint256",
1589
+ type: "uint256",
1590
+ indexed: false
1591
+ },
1592
+ {
1593
+ name: "currency",
1594
+ internalType: "address",
1595
+ type: "address",
1596
+ indexed: false
1597
+ },
1598
+ {
1599
+ name: "amountFee",
1600
+ internalType: "uint256",
1601
+ type: "uint256",
1602
+ indexed: false
1603
+ },
1604
+ {
1605
+ name: "amountSold",
1606
+ internalType: "uint256",
1607
+ type: "uint256",
1608
+ indexed: false
1609
+ }
1610
+ ],
1611
+ name: "CoinBuy"
1612
+ },
1613
+ {
1614
+ type: "event",
1615
+ anonymous: false,
1616
+ inputs: [
1617
+ {
1618
+ name: "payoutRecipient",
1619
+ internalType: "address",
1620
+ type: "address",
1621
+ indexed: true
1622
+ },
1623
+ {
1624
+ name: "platformReferrer",
1625
+ internalType: "address",
1626
+ type: "address",
1627
+ indexed: true
1628
+ },
1629
+ {
1630
+ name: "protocolRewardRecipient",
1631
+ internalType: "address",
1632
+ type: "address",
1633
+ indexed: false
1634
+ },
1635
+ {
1636
+ name: "currency",
1637
+ internalType: "address",
1638
+ type: "address",
1639
+ indexed: false
1640
+ },
1641
+ {
1642
+ name: "marketRewards",
1643
+ internalType: "struct ICoin.MarketRewards",
1644
+ type: "tuple",
1645
+ components: [
1646
+ {
1647
+ name: "totalAmountCurrency",
1648
+ internalType: "uint256",
1649
+ type: "uint256"
1650
+ },
1651
+ { name: "totalAmountCoin", internalType: "uint256", type: "uint256" },
1652
+ {
1653
+ name: "creatorPayoutAmountCurrency",
1654
+ internalType: "uint256",
1655
+ type: "uint256"
1656
+ },
1657
+ {
1658
+ name: "creatorPayoutAmountCoin",
1659
+ internalType: "uint256",
1660
+ type: "uint256"
1661
+ },
1662
+ {
1663
+ name: "platformReferrerAmountCurrency",
1664
+ internalType: "uint256",
1665
+ type: "uint256"
1666
+ },
1667
+ {
1668
+ name: "platformReferrerAmountCoin",
1669
+ internalType: "uint256",
1670
+ type: "uint256"
1671
+ },
1672
+ {
1673
+ name: "protocolAmountCurrency",
1674
+ internalType: "uint256",
1675
+ type: "uint256"
1676
+ },
1677
+ {
1678
+ name: "protocolAmountCoin",
1679
+ internalType: "uint256",
1680
+ type: "uint256"
1681
+ }
1682
+ ],
1683
+ indexed: false
1684
+ }
1685
+ ],
1686
+ name: "CoinMarketRewards"
1687
+ },
1688
+ {
1689
+ type: "event",
1690
+ anonymous: false,
1691
+ inputs: [
1692
+ {
1693
+ name: "caller",
1694
+ internalType: "address",
1695
+ type: "address",
1696
+ indexed: true
1697
+ },
1698
+ {
1699
+ name: "prevRecipient",
1700
+ internalType: "address",
1701
+ type: "address",
1702
+ indexed: true
1703
+ },
1704
+ {
1705
+ name: "newRecipient",
1706
+ internalType: "address",
1707
+ type: "address",
1708
+ indexed: true
1709
+ }
1710
+ ],
1711
+ name: "CoinPayoutRecipientUpdated"
1712
+ },
1713
+ {
1714
+ type: "event",
1715
+ anonymous: false,
1716
+ inputs: [
1717
+ {
1718
+ name: "seller",
1719
+ internalType: "address",
1720
+ type: "address",
1721
+ indexed: true
1722
+ },
1723
+ {
1724
+ name: "recipient",
1725
+ internalType: "address",
1726
+ type: "address",
1727
+ indexed: true
1728
+ },
1729
+ {
1730
+ name: "tradeReferrer",
1731
+ internalType: "address",
1732
+ type: "address",
1733
+ indexed: true
1734
+ },
1735
+ {
1736
+ name: "coinsSold",
1737
+ internalType: "uint256",
1738
+ type: "uint256",
1739
+ indexed: false
1740
+ },
1741
+ {
1742
+ name: "currency",
1743
+ internalType: "address",
1744
+ type: "address",
1745
+ indexed: false
1746
+ },
1747
+ {
1748
+ name: "amountFee",
1749
+ internalType: "uint256",
1750
+ type: "uint256",
1751
+ indexed: false
1752
+ },
1753
+ {
1754
+ name: "amountPurchased",
1755
+ internalType: "uint256",
1756
+ type: "uint256",
1757
+ indexed: false
1758
+ }
1759
+ ],
1760
+ name: "CoinSell"
1761
+ },
1762
+ {
1763
+ type: "event",
1764
+ anonymous: false,
1765
+ inputs: [
1766
+ {
1767
+ name: "payoutRecipient",
1768
+ internalType: "address",
1769
+ type: "address",
1770
+ indexed: true
1771
+ },
1772
+ {
1773
+ name: "platformReferrer",
1774
+ internalType: "address",
1775
+ type: "address",
1776
+ indexed: true
1777
+ },
1778
+ {
1779
+ name: "tradeReferrer",
1780
+ internalType: "address",
1781
+ type: "address",
1782
+ indexed: true
1783
+ },
1784
+ {
1785
+ name: "protocolRewardRecipient",
1786
+ internalType: "address",
1787
+ type: "address",
1788
+ indexed: false
1789
+ },
1790
+ {
1791
+ name: "creatorReward",
1792
+ internalType: "uint256",
1793
+ type: "uint256",
1794
+ indexed: false
1795
+ },
1796
+ {
1797
+ name: "platformReferrerReward",
1798
+ internalType: "uint256",
1799
+ type: "uint256",
1800
+ indexed: false
1801
+ },
1802
+ {
1803
+ name: "traderReferrerReward",
1804
+ internalType: "uint256",
1805
+ type: "uint256",
1806
+ indexed: false
1807
+ },
1808
+ {
1809
+ name: "protocolReward",
1810
+ internalType: "uint256",
1811
+ type: "uint256",
1812
+ indexed: false
1813
+ },
1814
+ {
1815
+ name: "currency",
1816
+ internalType: "address",
1817
+ type: "address",
1818
+ indexed: false
1819
+ }
1820
+ ],
1821
+ name: "CoinTradeRewards"
1822
+ },
1823
+ {
1824
+ type: "event",
1825
+ anonymous: false,
1826
+ inputs: [
1827
+ {
1828
+ name: "sender",
1829
+ internalType: "address",
1830
+ type: "address",
1831
+ indexed: true
1832
+ },
1833
+ {
1834
+ name: "recipient",
1835
+ internalType: "address",
1836
+ type: "address",
1837
+ indexed: true
1838
+ },
1839
+ {
1840
+ name: "amount",
1841
+ internalType: "uint256",
1842
+ type: "uint256",
1843
+ indexed: false
1844
+ },
1845
+ {
1846
+ name: "senderBalance",
1847
+ internalType: "uint256",
1848
+ type: "uint256",
1849
+ indexed: false
1850
+ },
1851
+ {
1852
+ name: "recipientBalance",
1853
+ internalType: "uint256",
1854
+ type: "uint256",
1855
+ indexed: false
1856
+ }
1857
+ ],
1858
+ name: "CoinTransfer"
1859
+ },
1860
+ {
1861
+ type: "event",
1862
+ anonymous: false,
1863
+ inputs: [
1864
+ {
1865
+ name: "caller",
1866
+ internalType: "address",
1867
+ type: "address",
1868
+ indexed: true
1869
+ },
1870
+ {
1871
+ name: "newURI",
1872
+ internalType: "string",
1873
+ type: "string",
1874
+ indexed: false
1875
+ },
1876
+ { name: "name", internalType: "string", type: "string", indexed: false }
1877
+ ],
1878
+ name: "ContractMetadataUpdated"
1879
+ },
1880
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
1881
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
1882
+ {
1883
+ type: "event",
1884
+ anonymous: false,
1885
+ inputs: [
1886
+ {
1887
+ name: "version",
1888
+ internalType: "uint64",
1889
+ type: "uint64",
1890
+ indexed: false
1891
+ }
1892
+ ],
1893
+ name: "Initialized"
1894
+ },
1895
+ {
1896
+ type: "event",
1897
+ anonymous: false,
1898
+ inputs: [
1899
+ {
1900
+ name: "caller",
1901
+ internalType: "address",
1902
+ type: "address",
1903
+ indexed: true
1904
+ },
1905
+ {
1906
+ name: "prevOwner",
1907
+ internalType: "address",
1908
+ type: "address",
1909
+ indexed: true
1910
+ },
1911
+ {
1912
+ name: "newOwner",
1913
+ internalType: "address",
1914
+ type: "address",
1915
+ indexed: true
1916
+ }
1917
+ ],
1918
+ name: "OwnerUpdated"
1919
+ },
1920
+ {
1921
+ type: "event",
1922
+ anonymous: false,
1923
+ inputs: [
1924
+ { name: "from", internalType: "address", type: "address", indexed: true },
1925
+ { name: "to", internalType: "address", type: "address", indexed: true },
1926
+ {
1927
+ name: "value",
1928
+ internalType: "uint256",
1929
+ type: "uint256",
1930
+ indexed: false
1931
+ }
1932
+ ],
1933
+ name: "Transfer"
1934
+ },
1935
+ { type: "error", inputs: [], name: "AddressZero" },
1936
+ { type: "error", inputs: [], name: "AlreadyOwner" },
1937
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
1938
+ {
1939
+ type: "error",
1940
+ inputs: [],
1941
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
1942
+ },
1943
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
1944
+ {
1945
+ type: "error",
1946
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
1947
+ name: "ECDSAInvalidSignatureLength"
1948
+ },
1949
+ {
1950
+ type: "error",
1951
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
1952
+ name: "ECDSAInvalidSignatureS"
1953
+ },
1954
+ {
1955
+ type: "error",
1956
+ inputs: [
1957
+ { name: "spender", internalType: "address", type: "address" },
1958
+ { name: "allowance", internalType: "uint256", type: "uint256" },
1959
+ { name: "needed", internalType: "uint256", type: "uint256" }
1960
+ ],
1961
+ name: "ERC20InsufficientAllowance"
1962
+ },
1963
+ {
1964
+ type: "error",
1965
+ inputs: [
1966
+ { name: "sender", internalType: "address", type: "address" },
1967
+ { name: "balance", internalType: "uint256", type: "uint256" },
1968
+ { name: "needed", internalType: "uint256", type: "uint256" }
1969
+ ],
1970
+ name: "ERC20InsufficientBalance"
1971
+ },
1972
+ {
1973
+ type: "error",
1974
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
1975
+ name: "ERC20InvalidApprover"
1976
+ },
1977
+ {
1978
+ type: "error",
1979
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
1980
+ name: "ERC20InvalidReceiver"
1981
+ },
1982
+ {
1983
+ type: "error",
1984
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
1985
+ name: "ERC20InvalidSender"
1986
+ },
1987
+ {
1988
+ type: "error",
1989
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
1990
+ name: "ERC20InvalidSpender"
1991
+ },
1992
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
1993
+ {
1994
+ type: "error",
1995
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
1996
+ name: "ERC2612ExpiredSignature"
1997
+ },
1998
+ {
1999
+ type: "error",
2000
+ inputs: [
2001
+ { name: "signer", internalType: "address", type: "address" },
2002
+ { name: "owner", internalType: "address", type: "address" }
2003
+ ],
2004
+ name: "ERC2612InvalidSigner"
2005
+ },
2006
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
2007
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
2008
+ { type: "error", inputs: [], name: "EthTransferFailed" },
2009
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
2010
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
2011
+ { type: "error", inputs: [], name: "InsufficientFunds" },
2012
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
2013
+ {
2014
+ type: "error",
2015
+ inputs: [
2016
+ { name: "account", internalType: "address", type: "address" },
2017
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
2018
+ ],
2019
+ name: "InvalidAccountNonce"
2020
+ },
2021
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
2022
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2023
+ { type: "error", inputs: [], name: "InvalidMarketType" },
2024
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
2025
+ {
2026
+ type: "error",
2027
+ inputs: [
2028
+ { name: "tickLower", internalType: "int24", type: "int24" },
2029
+ { name: "tickUpper", internalType: "int24", type: "int24" }
2030
+ ],
2031
+ name: "InvalidTickRangeMisordered"
2032
+ },
2033
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
2034
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
2035
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
2036
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
2037
+ {
2038
+ type: "error",
2039
+ inputs: [
2040
+ { name: "value", internalType: "uint256", type: "uint256" },
2041
+ { name: "limit", internalType: "uint256", type: "uint256" }
2042
+ ],
2043
+ name: "MaxShareToBeSoldExceeded"
2044
+ },
2045
+ { type: "error", inputs: [], name: "NotInitializing" },
2046
+ { type: "error", inputs: [], name: "NotOwner" },
2047
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
2048
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
2049
+ { type: "error", inputs: [], name: "OnlyOwner" },
2050
+ {
2051
+ type: "error",
2052
+ inputs: [
2053
+ { name: "sender", internalType: "address", type: "address" },
2054
+ { name: "pool", internalType: "address", type: "address" }
2055
+ ],
2056
+ name: "OnlyPool"
2057
+ },
2058
+ { type: "error", inputs: [], name: "OnlyWeth" },
2059
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
2060
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2061
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
2062
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
2063
+ ];
2064
+ var iPermit2ABI = [
2065
+ {
2066
+ type: "function",
2067
+ inputs: [],
2068
+ name: "DOMAIN_SEPARATOR",
2069
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2070
+ stateMutability: "view"
2071
+ },
2072
+ {
2073
+ type: "function",
2074
+ inputs: [
2075
+ { name: "user", internalType: "address", type: "address" },
2076
+ { name: "token", internalType: "address", type: "address" },
2077
+ { name: "spender", internalType: "address", type: "address" }
2078
+ ],
2079
+ name: "allowance",
2080
+ outputs: [
2081
+ { name: "amount", internalType: "uint160", type: "uint160" },
2082
+ { name: "expiration", internalType: "uint48", type: "uint48" },
2083
+ { name: "nonce", internalType: "uint48", type: "uint48" }
2084
+ ],
2085
+ stateMutability: "view"
2086
+ },
2087
+ {
2088
+ type: "function",
2089
+ inputs: [
2090
+ { name: "token", internalType: "address", type: "address" },
2091
+ { name: "spender", internalType: "address", type: "address" },
2092
+ { name: "amount", internalType: "uint160", type: "uint160" },
2093
+ { name: "expiration", internalType: "uint48", type: "uint48" }
2094
+ ],
2095
+ name: "approve",
2096
+ outputs: [],
2097
+ stateMutability: "nonpayable"
2098
+ },
2099
+ {
2100
+ type: "function",
2101
+ inputs: [
2102
+ { name: "token", internalType: "address", type: "address" },
2103
+ { name: "spender", internalType: "address", type: "address" },
2104
+ { name: "newNonce", internalType: "uint48", type: "uint48" }
2105
+ ],
2106
+ name: "invalidateNonces",
2107
+ outputs: [],
2108
+ stateMutability: "nonpayable"
2109
+ },
2110
+ {
2111
+ type: "function",
2112
+ inputs: [
2113
+ { name: "wordPos", internalType: "uint256", type: "uint256" },
2114
+ { name: "mask", internalType: "uint256", type: "uint256" }
2115
+ ],
2116
+ name: "invalidateUnorderedNonces",
2117
+ outputs: [],
2118
+ stateMutability: "nonpayable"
2119
+ },
2120
+ {
2121
+ type: "function",
2122
+ inputs: [
2123
+ {
2124
+ name: "approvals",
2125
+ internalType: "struct IAllowanceTransfer.TokenSpenderPair[]",
2126
+ type: "tuple[]",
2127
+ components: [
2128
+ { name: "token", internalType: "address", type: "address" },
2129
+ { name: "spender", internalType: "address", type: "address" }
2130
+ ]
2131
+ }
2132
+ ],
2133
+ name: "lockdown",
2134
+ outputs: [],
2135
+ stateMutability: "nonpayable"
2136
+ },
2137
+ {
2138
+ type: "function",
2139
+ inputs: [
2140
+ { name: "", internalType: "address", type: "address" },
2141
+ { name: "", internalType: "uint256", type: "uint256" }
2142
+ ],
2143
+ name: "nonceBitmap",
2144
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2145
+ stateMutability: "view"
2146
+ },
2147
+ {
2148
+ type: "function",
2149
+ inputs: [
2150
+ { name: "owner", internalType: "address", type: "address" },
2151
+ {
2152
+ name: "permitBatch",
2153
+ internalType: "struct IAllowanceTransfer.PermitBatch",
2154
+ type: "tuple",
2155
+ components: [
2156
+ {
2157
+ name: "details",
2158
+ internalType: "struct IAllowanceTransfer.PermitDetails[]",
2159
+ type: "tuple[]",
2160
+ components: [
2161
+ { name: "token", internalType: "address", type: "address" },
2162
+ { name: "amount", internalType: "uint160", type: "uint160" },
2163
+ { name: "expiration", internalType: "uint48", type: "uint48" },
2164
+ { name: "nonce", internalType: "uint48", type: "uint48" }
2165
+ ]
2166
+ },
2167
+ { name: "spender", internalType: "address", type: "address" },
2168
+ { name: "sigDeadline", internalType: "uint256", type: "uint256" }
2169
+ ]
2170
+ },
2171
+ { name: "signature", internalType: "bytes", type: "bytes" }
2172
+ ],
2173
+ name: "permit",
2174
+ outputs: [],
2175
+ stateMutability: "nonpayable"
2176
+ },
2177
+ {
2178
+ type: "function",
2179
+ inputs: [
2180
+ { name: "owner", internalType: "address", type: "address" },
2181
+ {
2182
+ name: "permitSingle",
2183
+ internalType: "struct IAllowanceTransfer.PermitSingle",
2184
+ type: "tuple",
2185
+ components: [
2186
+ {
2187
+ name: "details",
2188
+ internalType: "struct IAllowanceTransfer.PermitDetails",
2189
+ type: "tuple",
2190
+ components: [
2191
+ { name: "token", internalType: "address", type: "address" },
2192
+ { name: "amount", internalType: "uint160", type: "uint160" },
2193
+ { name: "expiration", internalType: "uint48", type: "uint48" },
2194
+ { name: "nonce", internalType: "uint48", type: "uint48" }
2195
+ ]
2196
+ },
2197
+ { name: "spender", internalType: "address", type: "address" },
2198
+ { name: "sigDeadline", internalType: "uint256", type: "uint256" }
2199
+ ]
2200
+ },
2201
+ { name: "signature", internalType: "bytes", type: "bytes" }
2202
+ ],
2203
+ name: "permit",
2204
+ outputs: [],
2205
+ stateMutability: "nonpayable"
2206
+ },
2207
+ {
2208
+ type: "function",
2209
+ inputs: [
2210
+ {
2211
+ name: "permit",
2212
+ internalType: "struct ISignatureTransfer.PermitTransferFrom",
2213
+ type: "tuple",
2214
+ components: [
2215
+ {
2216
+ name: "permitted",
2217
+ internalType: "struct ISignatureTransfer.TokenPermissions",
2218
+ type: "tuple",
2219
+ components: [
2220
+ { name: "token", internalType: "address", type: "address" },
2221
+ { name: "amount", internalType: "uint256", type: "uint256" }
2222
+ ]
2223
+ },
2224
+ { name: "nonce", internalType: "uint256", type: "uint256" },
2225
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2226
+ ]
2227
+ },
2228
+ {
2229
+ name: "transferDetails",
2230
+ internalType: "struct ISignatureTransfer.SignatureTransferDetails",
2231
+ type: "tuple",
2232
+ components: [
2233
+ { name: "to", internalType: "address", type: "address" },
2234
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
2235
+ ]
2236
+ },
2237
+ { name: "owner", internalType: "address", type: "address" },
2238
+ { name: "signature", internalType: "bytes", type: "bytes" }
2239
+ ],
2240
+ name: "permitTransferFrom",
2241
+ outputs: [],
2242
+ stateMutability: "nonpayable"
2243
+ },
2244
+ {
2245
+ type: "function",
2246
+ inputs: [
2247
+ {
2248
+ name: "permit",
2249
+ internalType: "struct ISignatureTransfer.PermitBatchTransferFrom",
2250
+ type: "tuple",
2251
+ components: [
2252
+ {
2253
+ name: "permitted",
2254
+ internalType: "struct ISignatureTransfer.TokenPermissions[]",
2255
+ type: "tuple[]",
2256
+ components: [
2257
+ { name: "token", internalType: "address", type: "address" },
2258
+ { name: "amount", internalType: "uint256", type: "uint256" }
2259
+ ]
2260
+ },
2261
+ { name: "nonce", internalType: "uint256", type: "uint256" },
2262
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2263
+ ]
2264
+ },
2265
+ {
2266
+ name: "transferDetails",
2267
+ internalType: "struct ISignatureTransfer.SignatureTransferDetails[]",
2268
+ type: "tuple[]",
2269
+ components: [
2270
+ { name: "to", internalType: "address", type: "address" },
2271
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
2272
+ ]
2273
+ },
2274
+ { name: "owner", internalType: "address", type: "address" },
2275
+ { name: "signature", internalType: "bytes", type: "bytes" }
2276
+ ],
2277
+ name: "permitTransferFrom",
2278
+ outputs: [],
2279
+ stateMutability: "nonpayable"
2280
+ },
2281
+ {
2282
+ type: "function",
2283
+ inputs: [
2284
+ {
2285
+ name: "permit",
2286
+ internalType: "struct ISignatureTransfer.PermitTransferFrom",
2287
+ type: "tuple",
2288
+ components: [
2289
+ {
2290
+ name: "permitted",
2291
+ internalType: "struct ISignatureTransfer.TokenPermissions",
2292
+ type: "tuple",
2293
+ components: [
2294
+ { name: "token", internalType: "address", type: "address" },
2295
+ { name: "amount", internalType: "uint256", type: "uint256" }
2296
+ ]
2297
+ },
2298
+ { name: "nonce", internalType: "uint256", type: "uint256" },
2299
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2300
+ ]
2301
+ },
2302
+ {
2303
+ name: "transferDetails",
2304
+ internalType: "struct ISignatureTransfer.SignatureTransferDetails",
2305
+ type: "tuple",
2306
+ components: [
2307
+ { name: "to", internalType: "address", type: "address" },
2308
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
2309
+ ]
2310
+ },
2311
+ { name: "owner", internalType: "address", type: "address" },
2312
+ { name: "witness", internalType: "bytes32", type: "bytes32" },
2313
+ { name: "witnessTypeString", internalType: "string", type: "string" },
2314
+ { name: "signature", internalType: "bytes", type: "bytes" }
2315
+ ],
2316
+ name: "permitWitnessTransferFrom",
2317
+ outputs: [],
2318
+ stateMutability: "nonpayable"
2319
+ },
2320
+ {
2321
+ type: "function",
2322
+ inputs: [
2323
+ {
2324
+ name: "permit",
2325
+ internalType: "struct ISignatureTransfer.PermitBatchTransferFrom",
2326
+ type: "tuple",
2327
+ components: [
2328
+ {
2329
+ name: "permitted",
2330
+ internalType: "struct ISignatureTransfer.TokenPermissions[]",
2331
+ type: "tuple[]",
2332
+ components: [
2333
+ { name: "token", internalType: "address", type: "address" },
2334
+ { name: "amount", internalType: "uint256", type: "uint256" }
2335
+ ]
2336
+ },
2337
+ { name: "nonce", internalType: "uint256", type: "uint256" },
2338
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2339
+ ]
2340
+ },
2341
+ {
2342
+ name: "transferDetails",
2343
+ internalType: "struct ISignatureTransfer.SignatureTransferDetails[]",
2344
+ type: "tuple[]",
2345
+ components: [
2346
+ { name: "to", internalType: "address", type: "address" },
2347
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
2348
+ ]
2349
+ },
2350
+ { name: "owner", internalType: "address", type: "address" },
2351
+ { name: "witness", internalType: "bytes32", type: "bytes32" },
2352
+ { name: "witnessTypeString", internalType: "string", type: "string" },
2353
+ { name: "signature", internalType: "bytes", type: "bytes" }
2354
+ ],
2355
+ name: "permitWitnessTransferFrom",
2356
+ outputs: [],
2357
+ stateMutability: "nonpayable"
2358
+ },
2359
+ {
2360
+ type: "function",
2361
+ inputs: [
2362
+ {
2363
+ name: "transferDetails",
2364
+ internalType: "struct IAllowanceTransfer.AllowanceTransferDetails[]",
2365
+ type: "tuple[]",
2366
+ components: [
2367
+ { name: "from", internalType: "address", type: "address" },
2368
+ { name: "to", internalType: "address", type: "address" },
2369
+ { name: "amount", internalType: "uint160", type: "uint160" },
2370
+ { name: "token", internalType: "address", type: "address" }
2371
+ ]
2372
+ }
2373
+ ],
2374
+ name: "transferFrom",
2375
+ outputs: [],
2376
+ stateMutability: "nonpayable"
2377
+ },
2378
+ {
2379
+ type: "function",
2380
+ inputs: [
2381
+ { name: "from", internalType: "address", type: "address" },
2382
+ { name: "to", internalType: "address", type: "address" },
2383
+ { name: "amount", internalType: "uint160", type: "uint160" },
2384
+ { name: "token", internalType: "address", type: "address" }
2385
+ ],
2386
+ name: "transferFrom",
2387
+ outputs: [],
2388
+ stateMutability: "nonpayable"
2389
+ },
2390
+ {
2391
+ type: "event",
2392
+ anonymous: false,
2393
+ inputs: [
2394
+ {
2395
+ name: "owner",
2396
+ internalType: "address",
2397
+ type: "address",
2398
+ indexed: true
2399
+ },
2400
+ {
2401
+ name: "token",
2402
+ internalType: "address",
2403
+ type: "address",
2404
+ indexed: true
2405
+ },
2406
+ {
2407
+ name: "spender",
2408
+ internalType: "address",
2409
+ type: "address",
2410
+ indexed: true
2411
+ },
2412
+ {
2413
+ name: "amount",
2414
+ internalType: "uint160",
2415
+ type: "uint160",
2416
+ indexed: false
2417
+ },
2418
+ {
2419
+ name: "expiration",
2420
+ internalType: "uint48",
2421
+ type: "uint48",
2422
+ indexed: false
2423
+ }
2424
+ ],
2425
+ name: "Approval"
2426
+ },
2427
+ {
2428
+ type: "event",
2429
+ anonymous: false,
2430
+ inputs: [
2431
+ {
2432
+ name: "owner",
2433
+ internalType: "address",
2434
+ type: "address",
2435
+ indexed: true
2436
+ },
2437
+ {
2438
+ name: "token",
2439
+ internalType: "address",
2440
+ type: "address",
2441
+ indexed: false
2442
+ },
2443
+ {
2444
+ name: "spender",
2445
+ internalType: "address",
2446
+ type: "address",
2447
+ indexed: false
2448
+ }
2449
+ ],
2450
+ name: "Lockdown"
2451
+ },
2452
+ {
2453
+ type: "event",
2454
+ anonymous: false,
2455
+ inputs: [
2456
+ {
2457
+ name: "owner",
2458
+ internalType: "address",
2459
+ type: "address",
2460
+ indexed: true
2461
+ },
2462
+ {
2463
+ name: "token",
2464
+ internalType: "address",
2465
+ type: "address",
2466
+ indexed: true
2467
+ },
2468
+ {
2469
+ name: "spender",
2470
+ internalType: "address",
2471
+ type: "address",
2472
+ indexed: true
2473
+ },
2474
+ {
2475
+ name: "newNonce",
2476
+ internalType: "uint48",
2477
+ type: "uint48",
2478
+ indexed: false
2479
+ },
2480
+ {
2481
+ name: "oldNonce",
2482
+ internalType: "uint48",
2483
+ type: "uint48",
2484
+ indexed: false
2485
+ }
2486
+ ],
2487
+ name: "NonceInvalidation"
2488
+ },
2489
+ {
2490
+ type: "event",
2491
+ anonymous: false,
2492
+ inputs: [
2493
+ {
2494
+ name: "owner",
2495
+ internalType: "address",
2496
+ type: "address",
2497
+ indexed: true
2498
+ },
2499
+ {
2500
+ name: "token",
2501
+ internalType: "address",
2502
+ type: "address",
2503
+ indexed: true
2504
+ },
2505
+ {
2506
+ name: "spender",
2507
+ internalType: "address",
2508
+ type: "address",
2509
+ indexed: true
2510
+ },
2511
+ {
2512
+ name: "amount",
2513
+ internalType: "uint160",
2514
+ type: "uint160",
2515
+ indexed: false
2516
+ },
2517
+ {
2518
+ name: "expiration",
2519
+ internalType: "uint48",
2520
+ type: "uint48",
2521
+ indexed: false
2522
+ },
2523
+ { name: "nonce", internalType: "uint48", type: "uint48", indexed: false }
2524
+ ],
2525
+ name: "Permit"
2526
+ },
2527
+ {
2528
+ type: "event",
2529
+ anonymous: false,
2530
+ inputs: [
2531
+ {
2532
+ name: "owner",
2533
+ internalType: "address",
2534
+ type: "address",
2535
+ indexed: true
2536
+ },
2537
+ {
2538
+ name: "word",
2539
+ internalType: "uint256",
2540
+ type: "uint256",
2541
+ indexed: false
2542
+ },
2543
+ {
2544
+ name: "mask",
2545
+ internalType: "uint256",
2546
+ type: "uint256",
2547
+ indexed: false
2548
+ }
2549
+ ],
2550
+ name: "UnorderedNonceInvalidation"
2551
+ },
2552
+ {
2553
+ type: "error",
2554
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
2555
+ name: "AllowanceExpired"
2556
+ },
2557
+ { type: "error", inputs: [], name: "ExcessiveInvalidation" },
2558
+ {
2559
+ type: "error",
2560
+ inputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
2561
+ name: "InsufficientAllowance"
2562
+ },
2563
+ {
2564
+ type: "error",
2565
+ inputs: [{ name: "maxAmount", internalType: "uint256", type: "uint256" }],
2566
+ name: "InvalidAmount"
2567
+ },
2568
+ { type: "error", inputs: [], name: "LengthMismatch" }
2569
+ ];
2570
+ var iPoolConfigEncodingABI = [
2571
+ {
2572
+ type: "function",
2573
+ inputs: [
2574
+ { name: "version", internalType: "uint8", type: "uint8" },
2575
+ { name: "currency", internalType: "address", type: "address" },
2576
+ { name: "tickLower", internalType: "int24[]", type: "int24[]" },
2577
+ { name: "tickUpper", internalType: "int24[]", type: "int24[]" },
2578
+ {
2579
+ name: "numDiscoveryPositions",
2580
+ internalType: "uint16[]",
2581
+ type: "uint16[]"
2582
+ },
2583
+ {
2584
+ name: "maxDiscoverySupplyShare",
2585
+ internalType: "uint256[]",
2586
+ type: "uint256[]"
2587
+ }
2588
+ ],
2589
+ name: "encodeMultiCurvePoolConfig",
2590
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
2591
+ stateMutability: "pure"
2592
+ }
2593
+ ];
2594
+ var iUniswapV3PoolABI = [
2595
+ {
2596
+ type: "function",
2597
+ inputs: [
2598
+ { name: "tickLower", internalType: "int24", type: "int24" },
2599
+ { name: "tickUpper", internalType: "int24", type: "int24" },
2600
+ { name: "amount", internalType: "uint128", type: "uint128" }
2601
+ ],
2602
+ name: "burn",
2603
+ outputs: [
2604
+ { name: "amount0", internalType: "uint256", type: "uint256" },
2605
+ { name: "amount1", internalType: "uint256", type: "uint256" }
2606
+ ],
2607
+ stateMutability: "nonpayable"
2608
+ },
2609
+ {
2610
+ type: "function",
2611
+ inputs: [
2612
+ { name: "recipient", internalType: "address", type: "address" },
2613
+ { name: "tickLower", internalType: "int24", type: "int24" },
2614
+ { name: "tickUpper", internalType: "int24", type: "int24" },
2615
+ { name: "amount0Requested", internalType: "uint128", type: "uint128" },
2616
+ { name: "amount1Requested", internalType: "uint128", type: "uint128" }
2617
+ ],
2618
+ name: "collect",
2619
+ outputs: [
2620
+ { name: "amount0", internalType: "uint128", type: "uint128" },
2621
+ { name: "amount1", internalType: "uint128", type: "uint128" }
2622
+ ],
2623
+ stateMutability: "nonpayable"
2624
+ },
2625
+ {
2626
+ type: "function",
2627
+ inputs: [],
2628
+ name: "feeGrowthGlobal0X128",
2629
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2630
+ stateMutability: "view"
2631
+ },
2632
+ {
2633
+ type: "function",
2634
+ inputs: [],
2635
+ name: "feeGrowthGlobal1X128",
2636
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2637
+ stateMutability: "view"
2638
+ },
2639
+ {
2640
+ type: "function",
2641
+ inputs: [
2642
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" }
2643
+ ],
2644
+ name: "initialize",
2645
+ outputs: [],
2646
+ stateMutability: "nonpayable"
2647
+ },
2648
+ {
2649
+ type: "function",
2650
+ inputs: [
2651
+ { name: "recipient", internalType: "address", type: "address" },
2652
+ { name: "tickLower", internalType: "int24", type: "int24" },
2653
+ { name: "tickUpper", internalType: "int24", type: "int24" },
2654
+ { name: "amount", internalType: "uint128", type: "uint128" },
2655
+ { name: "data", internalType: "bytes", type: "bytes" }
2656
+ ],
2657
+ name: "mint",
2658
+ outputs: [
2659
+ { name: "amount0", internalType: "uint256", type: "uint256" },
2660
+ { name: "amount1", internalType: "uint256", type: "uint256" }
2661
+ ],
2662
+ stateMutability: "nonpayable"
2663
+ },
2664
+ {
2665
+ type: "function",
2666
+ inputs: [],
2667
+ name: "slot0",
2668
+ outputs: [
2669
+ {
2670
+ name: "slot0",
2671
+ internalType: "struct IUniswapV3Pool.Slot0",
2672
+ type: "tuple",
2673
+ components: [
2674
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" },
2675
+ { name: "tick", internalType: "int24", type: "int24" },
2676
+ { name: "observationIndex", internalType: "uint16", type: "uint16" },
2677
+ {
2678
+ name: "observationCardinality",
2679
+ internalType: "uint16",
2680
+ type: "uint16"
2681
+ },
2682
+ {
2683
+ name: "observationCardinalityNext",
2684
+ internalType: "uint16",
2685
+ type: "uint16"
2686
+ },
2687
+ { name: "feeProtocol", internalType: "uint8", type: "uint8" },
2688
+ { name: "unlocked", internalType: "bool", type: "bool" }
2689
+ ]
2690
+ }
2691
+ ],
2692
+ stateMutability: "view"
2693
+ },
2694
+ {
2695
+ type: "function",
2696
+ inputs: [
2697
+ { name: "recipient", internalType: "address", type: "address" },
2698
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
2699
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
2700
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
2701
+ { name: "data", internalType: "bytes", type: "bytes" }
2702
+ ],
2703
+ name: "swap",
2704
+ outputs: [
2705
+ { name: "amount0", internalType: "int256", type: "int256" },
2706
+ { name: "amount1", internalType: "int256", type: "int256" }
2707
+ ],
2708
+ stateMutability: "nonpayable"
2709
+ },
2710
+ {
2711
+ type: "function",
2712
+ inputs: [],
2713
+ name: "token0",
2714
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2715
+ stateMutability: "nonpayable"
2716
+ },
2717
+ {
2718
+ type: "function",
2719
+ inputs: [],
2720
+ name: "token1",
2721
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2722
+ stateMutability: "nonpayable"
2723
+ }
2724
+ ];
2725
+ var iUniversalRouterABI = [
2726
+ {
2727
+ type: "function",
2728
+ inputs: [
2729
+ { name: "commands", internalType: "bytes", type: "bytes" },
2730
+ { name: "inputs", internalType: "bytes[]", type: "bytes[]" },
2731
+ { name: "deadline", internalType: "uint256", type: "uint256" }
2732
+ ],
2733
+ name: "execute",
2734
+ outputs: [],
2735
+ stateMutability: "payable"
2736
+ },
2737
+ { type: "error", inputs: [], name: "ETHNotAccepted" },
2738
+ {
2739
+ type: "error",
2740
+ inputs: [
2741
+ { name: "commandIndex", internalType: "uint256", type: "uint256" },
2742
+ { name: "message", internalType: "bytes", type: "bytes" }
2743
+ ],
2744
+ name: "ExecutionFailed"
2745
+ },
2746
+ { type: "error", inputs: [], name: "InvalidEthSender" },
2747
+ { type: "error", inputs: [], name: "LengthMismatch" },
2748
+ { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
2749
+ ];
2750
+ var zoraFactoryImplABI = [
2751
+ {
2752
+ type: "constructor",
2753
+ inputs: [
2754
+ { name: "_coinImpl", internalType: "address", type: "address" },
2755
+ { name: "_coinV4Impl", internalType: "address", type: "address" }
2756
+ ],
2757
+ stateMutability: "nonpayable"
2758
+ },
2759
+ {
2760
+ type: "function",
2761
+ inputs: [],
2762
+ name: "UPGRADE_INTERFACE_VERSION",
2763
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2764
+ stateMutability: "view"
2765
+ },
2766
+ {
2767
+ type: "function",
2768
+ inputs: [
2769
+ { name: "msgSender", internalType: "address", type: "address" },
2770
+ { name: "name", internalType: "string", type: "string" },
2771
+ { name: "symbol", internalType: "string", type: "string" },
2772
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
2773
+ { name: "platformReferrer", internalType: "address", type: "address" },
2774
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
2775
+ ],
2776
+ name: "coinAddress",
2777
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2778
+ stateMutability: "view"
2779
+ },
2780
+ {
2781
+ type: "function",
2782
+ inputs: [],
2783
+ name: "coinImpl",
2784
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2785
+ stateMutability: "view"
2786
+ },
2787
+ {
2788
+ type: "function",
2789
+ inputs: [],
2790
+ name: "coinV4Impl",
1148
2791
  outputs: [{ name: "", internalType: "address", type: "address" }],
1149
2792
  stateMutability: "view"
1150
2793
  },
2794
+ {
2795
+ type: "function",
2796
+ inputs: [],
2797
+ name: "contractName",
2798
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2799
+ stateMutability: "pure"
2800
+ },
2801
+ {
2802
+ type: "function",
2803
+ inputs: [],
2804
+ name: "contractVersion",
2805
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2806
+ stateMutability: "pure"
2807
+ },
1151
2808
  {
1152
2809
  type: "function",
1153
2810
  inputs: [
@@ -1158,7 +2815,7 @@ var zoraFactoryImplABI = [
1158
2815
  { name: "symbol", internalType: "string", type: "string" },
1159
2816
  { name: "platformReferrer", internalType: "address", type: "address" },
1160
2817
  { name: "currency", internalType: "address", type: "address" },
1161
- { name: "tickLower", internalType: "int24", type: "int24" },
2818
+ { name: "", internalType: "int24", type: "int24" },
1162
2819
  { name: "orderSize", internalType: "uint256", type: "uint256" }
1163
2820
  ],
1164
2821
  name: "deploy",
@@ -1168,6 +2825,27 @@ var zoraFactoryImplABI = [
1168
2825
  ],
1169
2826
  stateMutability: "payable"
1170
2827
  },
2828
+ {
2829
+ type: "function",
2830
+ inputs: [
2831
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2832
+ { name: "owners", internalType: "address[]", type: "address[]" },
2833
+ { name: "uri", internalType: "string", type: "string" },
2834
+ { name: "name", internalType: "string", type: "string" },
2835
+ { name: "symbol", internalType: "string", type: "string" },
2836
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
2837
+ { name: "platformReferrer", internalType: "address", type: "address" },
2838
+ { name: "postDeployHook", internalType: "address", type: "address" },
2839
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
2840
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
2841
+ ],
2842
+ name: "deploy",
2843
+ outputs: [
2844
+ { name: "coin", internalType: "address", type: "address" },
2845
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
2846
+ ],
2847
+ stateMutability: "payable"
2848
+ },
1171
2849
  {
1172
2850
  type: "function",
1173
2851
  inputs: [
@@ -1187,6 +2865,33 @@ var zoraFactoryImplABI = [
1187
2865
  ],
1188
2866
  stateMutability: "payable"
1189
2867
  },
2868
+ {
2869
+ type: "function",
2870
+ inputs: [
2871
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2872
+ { name: "owners", internalType: "address[]", type: "address[]" },
2873
+ { name: "uri", internalType: "string", type: "string" },
2874
+ { name: "name", internalType: "string", type: "string" },
2875
+ { name: "symbol", internalType: "string", type: "string" },
2876
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
2877
+ { name: "platformReferrer", internalType: "address", type: "address" },
2878
+ { name: "hook", internalType: "address", type: "address" },
2879
+ { name: "hookData", internalType: "bytes", type: "bytes" }
2880
+ ],
2881
+ name: "deployWithHook",
2882
+ outputs: [
2883
+ { name: "coin", internalType: "address", type: "address" },
2884
+ { name: "hookDataOut", internalType: "bytes", type: "bytes" }
2885
+ ],
2886
+ stateMutability: "payable"
2887
+ },
2888
+ {
2889
+ type: "function",
2890
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
2891
+ name: "getVersionForDeployedCoin",
2892
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
2893
+ stateMutability: "view"
2894
+ },
1190
2895
  {
1191
2896
  type: "function",
1192
2897
  inputs: [],
@@ -1298,6 +3003,76 @@ var zoraFactoryImplABI = [
1298
3003
  ],
1299
3004
  name: "CoinCreated"
1300
3005
  },
3006
+ {
3007
+ type: "event",
3008
+ anonymous: false,
3009
+ inputs: [
3010
+ {
3011
+ name: "caller",
3012
+ internalType: "address",
3013
+ type: "address",
3014
+ indexed: true
3015
+ },
3016
+ {
3017
+ name: "payoutRecipient",
3018
+ internalType: "address",
3019
+ type: "address",
3020
+ indexed: true
3021
+ },
3022
+ {
3023
+ name: "platformReferrer",
3024
+ internalType: "address",
3025
+ type: "address",
3026
+ indexed: true
3027
+ },
3028
+ {
3029
+ name: "currency",
3030
+ internalType: "address",
3031
+ type: "address",
3032
+ indexed: false
3033
+ },
3034
+ { name: "uri", internalType: "string", type: "string", indexed: false },
3035
+ { name: "name", internalType: "string", type: "string", indexed: false },
3036
+ {
3037
+ name: "symbol",
3038
+ internalType: "string",
3039
+ type: "string",
3040
+ indexed: false
3041
+ },
3042
+ {
3043
+ name: "coin",
3044
+ internalType: "address",
3045
+ type: "address",
3046
+ indexed: false
3047
+ },
3048
+ {
3049
+ name: "poolKey",
3050
+ internalType: "struct PoolKey",
3051
+ type: "tuple",
3052
+ components: [
3053
+ { name: "currency0", internalType: "Currency", type: "address" },
3054
+ { name: "currency1", internalType: "Currency", type: "address" },
3055
+ { name: "fee", internalType: "uint24", type: "uint24" },
3056
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3057
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3058
+ ],
3059
+ indexed: false
3060
+ },
3061
+ {
3062
+ name: "poolKeyHash",
3063
+ internalType: "bytes32",
3064
+ type: "bytes32",
3065
+ indexed: false
3066
+ },
3067
+ {
3068
+ name: "version",
3069
+ internalType: "string",
3070
+ type: "string",
3071
+ indexed: false
3072
+ }
3073
+ ],
3074
+ name: "CoinCreatedV4"
3075
+ },
1301
3076
  {
1302
3077
  type: "event",
1303
3078
  anonymous: false,
@@ -1353,6 +3128,10 @@ var zoraFactoryImplABI = [
1353
3128
  inputs: [{ name: "account", internalType: "address", type: "address" }],
1354
3129
  name: "AddressInsufficientBalance"
1355
3130
  },
3131
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
3132
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
3133
+ { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
3134
+ { type: "error", inputs: [], name: "Deprecated" },
1356
3135
  { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
1357
3136
  {
1358
3137
  type: "error",
@@ -1365,8 +3144,35 @@ var zoraFactoryImplABI = [
1365
3144
  { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
1366
3145
  { type: "error", inputs: [], name: "EthTransferInvalid" },
1367
3146
  { type: "error", inputs: [], name: "FailedInnerCall" },
3147
+ { type: "error", inputs: [], name: "InvalidHook" },
1368
3148
  { type: "error", inputs: [], name: "InvalidInitialization" },
3149
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
3150
+ {
3151
+ type: "error",
3152
+ inputs: [
3153
+ { name: "tickLower", internalType: "int24", type: "int24" },
3154
+ { name: "tickUpper", internalType: "int24", type: "int24" }
3155
+ ],
3156
+ name: "InvalidTickRangeMisordered"
3157
+ },
3158
+ {
3159
+ type: "error",
3160
+ inputs: [
3161
+ { name: "tickLower", internalType: "int24", type: "int24" },
3162
+ { name: "tickUpper", internalType: "int24", type: "int24" }
3163
+ ],
3164
+ name: "InvalidTickRangeMisordered"
3165
+ },
3166
+ {
3167
+ type: "error",
3168
+ inputs: [
3169
+ { name: "value", internalType: "uint256", type: "uint256" },
3170
+ { name: "limit", internalType: "uint256", type: "uint256" }
3171
+ ],
3172
+ name: "MaxShareToBeSoldExceeded"
3173
+ },
1369
3174
  { type: "error", inputs: [], name: "NotInitializing" },
3175
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
1370
3176
  {
1371
3177
  type: "error",
1372
3178
  inputs: [{ name: "owner", internalType: "address", type: "address" }],
@@ -1388,21 +3194,26 @@ var zoraFactoryImplABI = [
1388
3194
  type: "error",
1389
3195
  inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1390
3196
  name: "UUPSUnsupportedProxiableUUID"
1391
- }
3197
+ },
3198
+ {
3199
+ type: "error",
3200
+ inputs: [
3201
+ { name: "currentName", internalType: "string", type: "string" },
3202
+ { name: "newName", internalType: "string", type: "string" }
3203
+ ],
3204
+ name: "UpgradeToMismatchedContractName"
3205
+ },
3206
+ { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
3207
+ { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" }
1392
3208
  ];
1393
- var zoraFactoryImplAddress = {
1394
- 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
1395
- 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3"
1396
- };
1397
- var zoraFactoryImplConfig = {
1398
- address: zoraFactoryImplAddress,
1399
- abi: zoraFactoryImplABI
1400
- };
1401
3209
  export {
3210
+ buySupplyWithSwapRouterHookABI,
1402
3211
  coinABI,
3212
+ coinV4ABI,
3213
+ iPermit2ABI,
3214
+ iPoolConfigEncodingABI,
1403
3215
  iUniswapV3PoolABI,
1404
- zoraFactoryImplABI,
1405
- zoraFactoryImplAddress,
1406
- zoraFactoryImplConfig
3216
+ iUniversalRouterABI,
3217
+ zoraFactoryImplABI
1407
3218
  };
1408
3219
  //# sourceMappingURL=index.js.map