@zoralabs/coins 0.7.1 → 0.9.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 (104) hide show
  1. package/.env +1 -0
  2. package/.turbo/turbo-build.log +114 -109
  3. package/.turbo/turbo-update-contract-version.log +22 -0
  4. package/CHANGELOG.md +28 -0
  5. package/abis/BadImpl.json +15 -0
  6. package/abis/BalanceDeltaLibrary.json +15 -0
  7. package/abis/BaseCoin.json +1442 -0
  8. package/abis/BaseCoinDeployHook.json +78 -0
  9. package/abis/BaseHook.json +897 -0
  10. package/abis/BaseTest.json +13 -91
  11. package/abis/BeforeSwapDeltaLibrary.json +15 -0
  12. package/abis/BuySupplyWithSwapRouterHook.json +126 -0
  13. package/abis/Coin.json +48 -92
  14. package/abis/CoinConstants.json +65 -0
  15. package/abis/CoinTest.json +13 -91
  16. package/abis/CoinV4.json +1664 -0
  17. package/abis/CurrencyLibrary.json +25 -0
  18. package/abis/DeployHooks.json +9 -0
  19. package/abis/DopplerUniswapV3Test.json +13 -91
  20. package/abis/FactoryTest.json +13 -91
  21. package/abis/FakeHookNoInterface.json +21 -0
  22. package/abis/HookDeployer.json +68 -0
  23. package/abis/Hooks.json +28 -0
  24. package/abis/HooksTest.json +651 -0
  25. package/abis/IAllowanceTransfer.json +486 -0
  26. package/abis/ICoin.json +25 -1
  27. package/abis/ICoinDeployHook.json +31 -0
  28. package/abis/IContractMetadata.json +28 -0
  29. package/abis/IEIP712.json +15 -0
  30. package/abis/IEIP712_v4.json +15 -0
  31. package/abis/IERC20Minimal.json +172 -0
  32. package/abis/IERC6909Claims.json +288 -0
  33. package/abis/IERC721Permit_v4.json +88 -0
  34. package/abis/IExtsload.json +64 -0
  35. package/abis/IExttload.json +40 -0
  36. package/abis/IHasAfterCoinDeploy.json +31 -0
  37. package/abis/IHasContractName.json +15 -0
  38. package/abis/IHookDeployer.json +42 -0
  39. package/abis/IHooks.json +789 -0
  40. package/abis/IImmutableState.json +15 -0
  41. package/abis/IMulticall_v4.json +21 -0
  42. package/abis/INotifier.json +187 -0
  43. package/abis/IPermit2.json +865 -0
  44. package/abis/IPermit2Forwarder.json +138 -0
  45. package/abis/IPoolInitializer_v4.json +53 -0
  46. package/abis/IPoolManager.json +1286 -0
  47. package/abis/IPositionManager.json +712 -0
  48. package/abis/IProtocolFees.json +174 -0
  49. package/abis/ISignatureTransfer.json +394 -0
  50. package/abis/ISubscriber.json +89 -0
  51. package/abis/ISwapRouter.json +82 -0
  52. package/abis/IUnorderedNonce.json +44 -0
  53. package/abis/IV4Router.json +47 -0
  54. package/abis/IZoraFactory.json +144 -0
  55. package/abis/IZoraV4CoinHook.json +83 -0
  56. package/abis/ImmutableState.json +36 -0
  57. package/abis/LPFeeLibrary.json +65 -0
  58. package/abis/MultiOwnableTest.json +13 -91
  59. package/abis/Simulate.json +0 -91
  60. package/abis/UniV3BuySell.json +12 -0
  61. package/abis/UniV3Errors.json +32 -0
  62. package/abis/UpgradeFactoryImpl.json +9 -0
  63. package/abis/UpgradesTest.json +604 -0
  64. package/abis/ZoraFactoryImpl.json +111 -0
  65. package/abis/ZoraV4CoinHook.json +989 -0
  66. package/addresses/8453.json +2 -1
  67. package/addresses/84532.json +4 -3
  68. package/dist/index.cjs +125 -62
  69. package/dist/index.cjs.map +1 -1
  70. package/dist/index.js +120 -56
  71. package/dist/index.js.map +1 -1
  72. package/dist/wagmiGenerated.d.ts +212 -464
  73. package/dist/wagmiGenerated.d.ts.map +1 -1
  74. package/package/wagmiGenerated.ts +122 -66
  75. package/package.json +4 -4
  76. package/script/CoinsDeployerBase.sol +32 -0
  77. package/script/DeployHooks.s.sol +22 -0
  78. package/script/Simulate.s.sol +3 -2
  79. package/script/UpgradeCoinImpl.sol +2 -2
  80. package/script/UpgradeFactoryImpl.s.sol +23 -0
  81. package/src/Coin.sol +35 -342
  82. package/src/ZoraFactoryImpl.sol +73 -45
  83. package/src/hooks/BaseCoinDeployHook.sol +62 -0
  84. package/src/hooks/BuySupplyWithSwapRouterHook.sol +78 -0
  85. package/src/interfaces/ICoin.sol +5 -1
  86. package/src/interfaces/ICoinDeployHook.sol +8 -0
  87. package/src/interfaces/ISwapRouter.sol +1 -35
  88. package/src/interfaces/IZoraFactory.sol +52 -0
  89. package/src/{utils → libs}/CoinConstants.sol +6 -6
  90. package/src/libs/CoinLegacy.sol +4 -4
  91. package/src/libs/CoinLegacyMarket.sol +182 -0
  92. package/src/libs/CoinSetupV3.sol +111 -0
  93. package/src/libs/UniV3BuySell.sol +449 -0
  94. package/src/libs/UniV3Errors.sol +11 -0
  95. package/src/version/ContractVersionBase.sol +1 -1
  96. package/test/Coin.t.sol +20 -17
  97. package/test/CoinDopplerUniV3.t.sol +7 -17
  98. package/test/Factory.t.sol +4 -3
  99. package/test/Hooks.t.sol +274 -0
  100. package/test/Upgrades.t.sol +67 -0
  101. package/test/utils/BaseTest.sol +18 -3
  102. package/wagmi.config.ts +6 -9
  103. package/src/libs/CoinSetup.sol +0 -37
  104. /package/abis/{CoinSetup.json → CoinSetupV3.json} +0 -0
package/.env ADDED
@@ -0,0 +1 @@
1
+ ALCHEMY_KEY=Ebx4-biYR4T-p-1BOId9DozVRrr3nHu4
@@ -1,109 +1,114 @@
1
-
2
- > @zoralabs/coins@0.7.1 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
3
- > pnpm run wagmi:generate && pnpm run copy-abis && pnpm run prettier:write && tsup
4
-
5
-
6
- > @zoralabs/coins@0.7.1 wagmi:generate /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
7
- > FOUNDRY_PROFILE=dev forge build && wagmi generate && pnpm exec rename-generated-abi-casing ./package/wagmiGenerated.ts
8
-
9
- Compiling 113 files with Solc 0.8.28
10
- Solc 0.8.28 finished in 124.27s
11
- Compiler run successful with warnings:
12
- Warning (2072): Unused local variable.
13
- --> script/Simulate.s.sol:44:10:
14
- |
15
- 44 | (address coinAddress, uint256 coinsPurchased) = factory.deploy{value: orderSize}(
16
- | ^^^^^^^^^^^^^^^^^^^
17
-
18
- Warning (2072): Unused local variable.
19
- --> script/Simulate.s.sol:44:31:
20
- |
21
- 44 | (address coinAddress, uint256 coinsPurchased) = factory.deploy{value: orderSize}(
22
- | ^^^^^^^^^^^^^^^^^^^^^^
23
-
24
- Warning (2072): Unused local variable.
25
- --> script/UpgradeCoinImpl.sol:14:9:
26
- |
27
- 14 | DeterministicDeployerAndCaller deployer = createOrGetDeployerAndCaller();
28
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29
-
30
- - Validating plugins
31
- ✔ Validating plugins
32
- - Resolving contracts
33
- ✔ Resolving contracts
34
- - Running plugins
35
- ✔ Running plugins
36
- - Writing to package/wagmiGenerated.ts
37
- ✔ Writing to package/wagmiGenerated.ts
38
- 🔄 Processing 1 file(s) to replace 'Abi' with 'ABI'...
39
- 📝 Processing ./package/wagmiGenerated.ts...
40
- ✅ Updated ./package/wagmiGenerated.ts (4 replacements)
41
- ✨ All files processed successfully!
42
-
43
- > @zoralabs/coins@0.7.1 copy-abis /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
44
- > pnpm exec bundle-abis
45
-
46
-
47
- > @zoralabs/coins@0.7.1 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
48
- > prettier --write 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'
49
-
50
- src/Coin.sol 1754ms (unchanged)
51
- src/interfaces/IAirlock.sol 14ms (unchanged)
52
- src/interfaces/ICoin.sol 56ms (unchanged)
53
- src/interfaces/ICoinComments.sol 3ms (unchanged)
54
- src/interfaces/IDopplerErrors.sol 6ms (unchanged)
55
- src/interfaces/IERC7572.sol 2ms (unchanged)
56
- src/interfaces/INonfungiblePositionManager.sol 21ms (unchanged)
57
- src/interfaces/IProtocolRewards.sol 9ms (unchanged)
58
- src/interfaces/ISwapRouter.sol 12ms (unchanged)
59
- src/interfaces/IUniswapV3Factory.sol 12ms (unchanged)
60
- src/interfaces/IUniswapV3Pool.sol 13ms (unchanged)
61
- src/interfaces/IUniswapV3SwapCallback.sol 2ms (unchanged)
62
- src/interfaces/IWETH.sol 5ms (unchanged)
63
- src/interfaces/IZoraFactory.sol 9ms (unchanged)
64
- src/libs/CoinConfigurationVersions.sol 4ms (unchanged)
65
- src/libs/CoinDopplerUniV3.sol 333ms (unchanged)
66
- src/libs/CoinLegacy.sol 81ms (unchanged)
67
- src/libs/CoinSetup.sol 48ms (unchanged)
68
- src/libs/MarketConstants.sol 4ms (unchanged)
69
- src/proxy/ZoraFactory.sol 17ms (unchanged)
70
- src/types/LpPosition.sol 1ms (unchanged)
71
- src/types/PoolState.sol 2ms (unchanged)
72
- src/utils/CoinConstants.sol 6ms (unchanged)
73
- src/utils/MultiOwnable.sol 152ms (unchanged)
74
- src/utils/uniswap/BitMath.sol 39ms (unchanged)
75
- src/utils/uniswap/CustomRevert.sol 94ms (unchanged)
76
- src/utils/uniswap/FixedPoint96.sol 3ms (unchanged)
77
- src/utils/uniswap/FullMath.sol 76ms (unchanged)
78
- src/utils/uniswap/LiquidityAmounts.sol 163ms (unchanged)
79
- src/utils/uniswap/SafeCast.sol 34ms (unchanged)
80
- src/utils/uniswap/SqrtPriceMath.sol 147ms (unchanged)
81
- src/utils/uniswap/TickMath.sol 160ms (unchanged)
82
- src/utils/uniswap/UnsafeMath.sol 5ms (unchanged)
83
- src/version/ContractVersionBase.sol 2ms (unchanged)
84
- src/ZoraFactoryImpl.sol 205ms (unchanged)
85
- test/Coin.t.sol 684ms (unchanged)
86
- test/CoinDopplerUniV3.t.sol 523ms (unchanged)
87
- test/Factory.t.sol 504ms (unchanged)
88
- test/MultiOwnable.t.sol 242ms (unchanged)
89
- test/utils/BaseTest.sol 170ms (unchanged)
90
- test/utils/ProtocolRewards.sol 690ms (unchanged)
91
- script/CoinsDeployerBase.sol 106ms (unchanged)
92
- script/Deploy.s.sol 9ms (unchanged)
93
- script/GenerateDeterministicParams.s.sol 40ms (unchanged)
94
- script/Simulate.s.sol 41ms (unchanged)
95
- script/UpgradeCoinImpl.sol 12ms (unchanged)
96
- CLI Building entry: package/index.ts
97
- CLI Using tsconfig: tsconfig.json
98
- CLI tsup v7.3.0
99
- CLI Using tsup config: /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins/tsup.config.ts
100
- CLI Target: es2021
101
- CLI Cleaning output folder
102
- CJS Build start
103
- ESM Build start
104
- CJS dist/index.cjs 38.93 KB
105
- CJS dist/index.cjs.map 69.39 KB
106
- CJS ⚡️ Build success in 45ms
107
- ESM dist/index.js 37.72 KB
108
- ESM dist/index.js.map 69.26 KB
109
- ESM ⚡️ Build success in 47ms
1
+
2
+ 
3
+ > @zoralabs/coins@0.9.0 build /Users/danovedzora/source/zora-protocol/packages/coins
4
+ > pnpm run wagmi:generate && pnpm run copy-abis && pnpm run prettier:write && tsup
5
+
6
+
7
+ > @zoralabs/coins@0.9.0 wagmi:generate /Users/danovedzora/source/zora-protocol/packages/coins
8
+ > FOUNDRY_PROFILE=dev forge build && wagmi generate && pnpm exec rename-generated-abi-casing ./package/wagmiGenerated.ts
9
+
10
+ Warning: This is a nightly build of Foundry. It is recommended to use the latest stable version. Visit https://book.getfoundry.sh/announcements for more information.
11
+ To mute this warning set `FOUNDRY_DISABLE_NIGHTLY_WARNING` in your environment.
12
+
13
+
14
+
15
+
16
+ Compiler run successful with warnings:
17
+ Warning (2072): Unused local variable.
18
+ --> script/Simulate.s.sol:45:10:
19
+  |
20
+ 45 | (address coinAddress, uint256 coinsPurchased) = factory.deploy{value: orderSize}(
21
+  | ^^^^^^^^^^^^^^^^^^^
22
+
23
+ Warning (2072): Unused local variable.
24
+ --> script/Simulate.s.sol:45:31:
25
+  |
26
+ 45 | (address coinAddress, uint256 coinsPurchased) = factory.deploy{value: orderSize}(
27
+  | ^^^^^^^^^^^^^^^^^^^^^^
28
+
29
+ [?25l⠋ Validating plugins✔ Validating plugins
30
+ [?25h[?25l⠙ Resolving contracts✔ Resolving contracts
31
+ [?25h[?25l⠹ Running plugins✔ Running plugins
32
+ [?25h[?25l⠸ Writing to package/wagmiGenerated.ts[?25l⠼ Writing to package/wagmiGenerated.ts✔ Writing to package/wagmiGenerated.ts
33
+ [?25h🔄 Processing 1 file(s) to replace 'Abi' with 'ABI'...
34
+ 📝 Processing ./package/wagmiGenerated.ts...
35
+ Updated ./package/wagmiGenerated.ts (4 replacements)
36
+ All files processed successfully!
37
+
38
+ > @zoralabs/coins@0.9.0 copy-abis /Users/danovedzora/source/zora-protocol/packages/coins
39
+ > pnpm exec bundle-abis
40
+
41
+
42
+ > @zoralabs/coins@0.9.0 prettier:write /Users/danovedzora/source/zora-protocol/packages/coins
43
+ > prettier --write 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'
44
+
45
+ src/Coin.solsrc/Coin.sol 141ms (unchanged)
46
+ src/hooks/BaseCoinDeployHook.solsrc/hooks/BaseCoinDeployHook.sol 17ms (unchanged)
47
+ src/hooks/BuySupplyWithSwapRouterHook.solsrc/hooks/BuySupplyWithSwapRouterHook.sol 36ms (unchanged)
48
+ src/interfaces/IAirlock.solsrc/interfaces/IAirlock.sol 3ms (unchanged)
49
+ src/interfaces/ICoin.solsrc/interfaces/ICoin.sol 8ms (unchanged)
50
+ src/interfaces/ICoinComments.solsrc/interfaces/ICoinComments.sol 1ms (unchanged)
51
+ src/interfaces/ICoinDeployHook.solsrc/interfaces/ICoinDeployHook.sol 1ms (unchanged)
52
+ src/interfaces/IDopplerErrors.solsrc/interfaces/IDopplerErrors.sol 1ms (unchanged)
53
+ src/interfaces/IERC7572.solsrc/interfaces/IERC7572.sol 1ms (unchanged)
54
+ src/interfaces/INonfungiblePositionManager.solsrc/interfaces/INonfungiblePositionManager.sol 5ms (unchanged)
55
+ src/interfaces/IProtocolRewards.solsrc/interfaces/IProtocolRewards.sol 2ms (unchanged)
56
+ src/interfaces/ISwapRouter.solsrc/interfaces/ISwapRouter.sol 0ms (unchanged)
57
+ src/interfaces/IUniswapV3Factory.solsrc/interfaces/IUniswapV3Factory.sol 3ms (unchanged)
58
+ src/interfaces/IUniswapV3Pool.solsrc/interfaces/IUniswapV3Pool.sol 3ms (unchanged)
59
+ src/interfaces/IUniswapV3SwapCallback.solsrc/interfaces/IUniswapV3SwapCallback.sol 0ms (unchanged)
60
+ src/interfaces/IWETH.solsrc/interfaces/IWETH.sol 2ms (unchanged)
61
+ src/interfaces/IZoraFactory.solsrc/interfaces/IZoraFactory.sol 3ms (unchanged)
62
+ src/libs/CoinConfigurationVersions.solsrc/libs/CoinConfigurationVersions.sol 1ms (unchanged)
63
+ src/libs/CoinConstants.solsrc/libs/CoinConstants.sol 2ms (unchanged)
64
+ src/libs/CoinDopplerUniV3.solsrc/libs/CoinDopplerUniV3.sol 87ms (unchanged)
65
+ src/libs/CoinLegacy.solsrc/libs/CoinLegacy.sol 18ms (unchanged)
66
+ src/libs/CoinLegacyMarket.solsrc/libs/CoinLegacyMarket.sol 49ms (unchanged)
67
+ src/libs/CoinSetupV3.solsrc/libs/CoinSetupV3.sol 27ms (unchanged)
68
+ src/libs/MarketConstants.solsrc/libs/MarketConstants.sol 0ms (unchanged)
69
+ src/libs/UniV3BuySell.solsrc/libs/UniV3BuySell.sol 156ms (unchanged)
70
+ src/libs/UniV3Errors.solsrc/libs/UniV3Errors.sol 1ms (unchanged)
71
+ src/proxy/ZoraFactory.solsrc/proxy/ZoraFactory.sol 5ms (unchanged)
72
+ src/types/LpPosition.solsrc/types/LpPosition.sol 1ms (unchanged)
73
+ src/types/PoolState.solsrc/types/PoolState.sol 1ms (unchanged)
74
+ src/utils/MultiOwnable.solsrc/utils/MultiOwnable.sol 26ms (unchanged)
75
+ src/utils/uniswap/BitMath.solsrc/utils/uniswap/BitMath.sol 5ms (unchanged)
76
+ src/utils/uniswap/CustomRevert.solsrc/utils/uniswap/CustomRevert.sol 18ms (unchanged)
77
+ src/utils/uniswap/FixedPoint96.solsrc/utils/uniswap/FixedPoint96.sol 1ms (unchanged)
78
+ src/utils/uniswap/FullMath.solsrc/utils/uniswap/FullMath.sol 14ms (unchanged)
79
+ src/utils/uniswap/LiquidityAmounts.solsrc/utils/uniswap/LiquidityAmounts.sol 26ms (unchanged)
80
+ src/utils/uniswap/SafeCast.solsrc/utils/uniswap/SafeCast.sol 20ms (unchanged)
81
+ src/utils/uniswap/SqrtPriceMath.solsrc/utils/uniswap/SqrtPriceMath.sol 40ms (unchanged)
82
+ src/utils/uniswap/TickMath.solsrc/utils/uniswap/TickMath.sol 37ms (unchanged)
83
+ src/utils/uniswap/UnsafeMath.solsrc/utils/uniswap/UnsafeMath.sol 2ms (unchanged)
84
+ src/version/ContractVersionBase.solsrc/version/ContractVersionBase.sol 1ms (unchanged)
85
+ src/ZoraFactoryImpl.solsrc/ZoraFactoryImpl.sol 54ms (unchanged)
86
+ test/Coin.t.soltest/Coin.t.sol 188ms (unchanged)
87
+ test/CoinDopplerUniV3.t.soltest/CoinDopplerUniV3.t.sol 135ms (unchanged)
88
+ test/Factory.t.soltest/Factory.t.sol 87ms (unchanged)
89
+ test/Hooks.t.soltest/Hooks.t.sol 55ms (unchanged)
90
+ test/MultiOwnable.t.soltest/MultiOwnable.t.sol 46ms (unchanged)
91
+ test/Upgrades.t.soltest/Upgrades.t.sol 11ms (unchanged)
92
+ test/utils/BaseTest.soltest/utils/BaseTest.sol 53ms (unchanged)
93
+ test/utils/ProtocolRewards.soltest/utils/ProtocolRewards.sol 171ms (unchanged)
94
+ script/CoinsDeployerBase.solscript/CoinsDeployerBase.sol 45ms (unchanged)
95
+ script/Deploy.s.solscript/Deploy.s.sol 3ms (unchanged)
96
+ script/DeployHooks.s.solscript/DeployHooks.s.sol 2ms (unchanged)
97
+ script/GenerateDeterministicParams.s.solscript/GenerateDeterministicParams.s.sol 7ms (unchanged)
98
+ script/Simulate.s.solscript/Simulate.s.sol 7ms (unchanged)
99
+ script/UpgradeCoinImpl.solscript/UpgradeCoinImpl.sol 3ms (unchanged)
100
+ script/UpgradeFactoryImpl.s.solscript/UpgradeFactoryImpl.s.sol 2ms (unchanged)
101
+ CLI Building entry: package/index.ts
102
+ CLI Using tsconfig: tsconfig.json
103
+ CLI tsup v8.4.0
104
+ CLI Using tsup config: /Users/danovedzora/source/zora-protocol/packages/coins/tsup.config.ts
105
+ CLI Target: es2021
106
+ CLI Cleaning output folder
107
+ CJS Build start
108
+ ESM Build start
109
+ ESM dist/index.js 39.96 KB
110
+ ESM dist/index.js.map 72.99 KB
111
+ ESM ⚡️ Build success in 9ms
112
+ CJS dist/index.cjs 41.12 KB
113
+ CJS dist/index.cjs.map 73.11 KB
114
+ CJS ⚡️ Build success in 10ms
@@ -0,0 +1,22 @@
1
+
2
+ 
3
+ > @zoralabs/coins@0.8.0 update-contract-version /Users/danovedzora/source/zora-protocol/packages/coins
4
+ > pnpm exec update-contract-version
5
+
6
+ updating contract version to 0.8.0
7
+ generated contract version code: // This file is automatically generated by code; do not manually update
8
+ // SPDX-License-Identifier: MIT
9
+ pragma solidity ^0.8.23;
10
+
11
+ import {IVersionedContract} from "@zoralabs/shared-contracts/interfaces/IVersionedContract.sol";
12
+
13
+ /// @title ContractVersionBase
14
+ /// @notice Base contract for versioning contracts
15
+ contract ContractVersionBase is IVersionedContract {
16
+ /// @notice The version of the contract
17
+ function contractVersion() external pure override returns (string memory) {
18
+ return "0.8.0";
19
+ }
20
+ }
21
+
22
+ writing file to /Users/danovedzora/source/zora-protocol/packages/coins/src/version/ContractVersionBase.sol
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @zoralabs/coins
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9ed0ce76: - Publishing new coins hooks in `@zoralabs/protocol-deployments`
8
+ - In coins, pulling ISwapRouter from `@zoralabs/shared-contracts`, and updated the shared interface to match the full interface of the ISwapRouter. This new interface is published in `@zoralabs/protocol-deployments`.
9
+ - Removed publishing of the factory addresses directly in the wagmi config of the coins package, as that's inconsistent with the rest of the packages.
10
+ - Updated the `@zoralabs/coins-sdk` to use `@zoralabs/protocol-deployments` for abis and addresses, which significantly reduces the dependency tree of it and has it follow the patterns of the other sdk packages.
11
+ - 9ed0ce76: added deployWithHook to the coin factory
12
+
13
+ ### Patch Changes
14
+
15
+ - 9ed0ce76: Refactored some reusable code into helper functions for the Coin factory
16
+
17
+ ## 0.8.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 9ed0ce76: - Publishing new coins hooks in `@zoralabs/protocol-deployments`
22
+ - In coins, pulling ISwapRouter from `@zoralabs/shared-contracts`, and updated the shared interface to match the full interface of the ISwapRouter. This new interface is published in `@zoralabs/protocol-deployments`.
23
+ - Removed publishing of the factory addresses directly in the wagmi config of the coins package, as that's inconsistent with the rest of the packages.
24
+ - Updated the `@zoralabs/coins-sdk` to use `@zoralabs/protocol-deployments` for abis and addresses, which significantly reduces the dependency tree of it and has it follow the patterns of the other sdk packages.
25
+ - 9ed0ce76: added deployWithHook to the coin factory
26
+
27
+ ### Patch Changes
28
+
29
+ - 9ed0ce76: Refactored some reusable code into helper functions for the Coin factory
30
+
3
31
  ## 0.7.1
4
32
 
5
33
  ### Patch Changes
@@ -0,0 +1,15 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "contractName",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "string",
10
+ "internalType": "string"
11
+ }
12
+ ],
13
+ "stateMutability": "pure"
14
+ }
15
+ ]
@@ -0,0 +1,15 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "ZERO_DELTA",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "int256",
10
+ "internalType": "BalanceDelta"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ }
15
+ ]