@zoralabs/coins 0.7.0 → 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.
- package/.env +1 -0
- package/.turbo/turbo-build.log +114 -109
- package/.turbo/turbo-update-contract-version.log +22 -0
- package/CHANGELOG.md +34 -0
- package/abis/BadImpl.json +15 -0
- package/abis/BalanceDeltaLibrary.json +15 -0
- package/abis/BaseCoin.json +1442 -0
- package/abis/BaseCoinDeployHook.json +78 -0
- package/abis/BaseHook.json +897 -0
- package/abis/BaseTest.json +13 -91
- package/abis/BeforeSwapDeltaLibrary.json +15 -0
- package/abis/BuySupplyWithSwapRouterHook.json +126 -0
- package/abis/Coin.json +48 -92
- package/abis/CoinConstants.json +65 -0
- package/abis/CoinTest.json +27 -91
- package/abis/CoinV4.json +1664 -0
- package/abis/CurrencyLibrary.json +25 -0
- package/abis/DeployHooks.json +9 -0
- package/abis/DopplerUniswapV3Test.json +20 -91
- package/abis/FactoryTest.json +13 -91
- package/abis/FakeHookNoInterface.json +21 -0
- package/abis/HookDeployer.json +68 -0
- package/abis/Hooks.json +28 -0
- package/abis/HooksTest.json +651 -0
- package/abis/IAllowanceTransfer.json +486 -0
- package/abis/ICoin.json +25 -1
- package/abis/ICoinDeployHook.json +31 -0
- package/abis/IContractMetadata.json +28 -0
- package/abis/IEIP712.json +15 -0
- package/abis/IEIP712_v4.json +15 -0
- package/abis/IERC20Minimal.json +172 -0
- package/abis/IERC6909Claims.json +288 -0
- package/abis/IERC721Permit_v4.json +88 -0
- package/abis/IExtsload.json +64 -0
- package/abis/IExttload.json +40 -0
- package/abis/IHasAfterCoinDeploy.json +31 -0
- package/abis/IHasContractName.json +15 -0
- package/abis/IHookDeployer.json +42 -0
- package/abis/IHooks.json +789 -0
- package/abis/IImmutableState.json +15 -0
- package/abis/IMulticall_v4.json +21 -0
- package/abis/INotifier.json +187 -0
- package/abis/IPermit2.json +865 -0
- package/abis/IPermit2Forwarder.json +138 -0
- package/abis/IPoolInitializer_v4.json +53 -0
- package/abis/IPoolManager.json +1286 -0
- package/abis/IPositionManager.json +712 -0
- package/abis/IProtocolFees.json +174 -0
- package/abis/ISignatureTransfer.json +394 -0
- package/abis/ISubscriber.json +89 -0
- package/abis/ISwapRouter.json +82 -0
- package/abis/IUnorderedNonce.json +44 -0
- package/abis/IV4Router.json +47 -0
- package/abis/IZoraFactory.json +144 -0
- package/abis/IZoraV4CoinHook.json +83 -0
- package/abis/ImmutableState.json +36 -0
- package/abis/LPFeeLibrary.json +65 -0
- package/abis/MultiOwnableTest.json +13 -91
- package/abis/Simulate.json +0 -91
- package/abis/UniV3BuySell.json +12 -0
- package/abis/UniV3Errors.json +32 -0
- package/abis/UpgradeFactoryImpl.json +9 -0
- package/abis/UpgradesTest.json +604 -0
- package/abis/ZoraFactoryImpl.json +111 -0
- package/abis/ZoraV4CoinHook.json +989 -0
- package/addresses/8453.json +2 -1
- package/addresses/84532.json +4 -3
- package/dist/index.cjs +125 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +120 -56
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +212 -464
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +122 -66
- package/package.json +4 -4
- package/script/CoinsDeployerBase.sol +32 -0
- package/script/DeployHooks.s.sol +22 -0
- package/script/Simulate.s.sol +3 -2
- package/script/UpgradeCoinImpl.sol +2 -2
- package/script/UpgradeFactoryImpl.s.sol +23 -0
- package/src/Coin.sol +35 -342
- package/src/ZoraFactoryImpl.sol +73 -45
- package/src/hooks/BaseCoinDeployHook.sol +62 -0
- package/src/hooks/BuySupplyWithSwapRouterHook.sol +78 -0
- package/src/interfaces/ICoin.sol +5 -1
- package/src/interfaces/ICoinDeployHook.sol +8 -0
- package/src/interfaces/ISwapRouter.sol +1 -35
- package/src/interfaces/IZoraFactory.sol +52 -0
- package/src/{utils → libs}/CoinConstants.sol +6 -6
- package/src/libs/CoinLegacy.sol +4 -4
- package/src/libs/CoinLegacyMarket.sol +182 -0
- package/src/libs/CoinSetupV3.sol +111 -0
- package/src/libs/UniV3BuySell.sol +449 -0
- package/src/libs/UniV3Errors.sol +11 -0
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/Coin.t.sol +35 -17
- package/test/CoinDopplerUniV3.t.sol +14 -17
- package/test/Factory.t.sol +4 -3
- package/test/Hooks.t.sol +274 -0
- package/test/Upgrades.t.sol +67 -0
- package/test/utils/BaseTest.sol +18 -3
- package/wagmi.config.ts +6 -9
- package/src/libs/CoinSetup.sol +0 -37
- /package/abis/{CoinSetup.json → CoinSetupV3.json} +0 -0
package/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALCHEMY_KEY=Ebx4-biYR4T-p-1BOId9DozVRrr3nHu4
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,109 +1,114 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
[33m
|
|
31
|
-
[32m✔[39m
|
|
32
|
-
[33m
|
|
33
|
-
[
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
src/
|
|
51
|
-
src/interfaces/
|
|
52
|
-
src/interfaces/
|
|
53
|
-
src/interfaces/
|
|
54
|
-
src/interfaces/
|
|
55
|
-
src/interfaces/
|
|
56
|
-
src/interfaces/
|
|
57
|
-
src/interfaces/
|
|
58
|
-
src/interfaces/
|
|
59
|
-
src/interfaces/
|
|
60
|
-
src/interfaces/
|
|
61
|
-
src/interfaces/
|
|
62
|
-
src/
|
|
63
|
-
src/
|
|
64
|
-
src/libs/
|
|
65
|
-
src/libs/
|
|
66
|
-
src/libs/
|
|
67
|
-
src/libs/
|
|
68
|
-
src/libs/MarketConstants.sol
|
|
69
|
-
src/
|
|
70
|
-
src/
|
|
71
|
-
src/
|
|
72
|
-
src/
|
|
73
|
-
src/
|
|
74
|
-
src/utils/
|
|
75
|
-
src/utils/uniswap/
|
|
76
|
-
src/utils/uniswap/
|
|
77
|
-
src/utils/uniswap/
|
|
78
|
-
src/utils/uniswap/
|
|
79
|
-
src/utils/uniswap/
|
|
80
|
-
src/utils/uniswap/
|
|
81
|
-
src/utils/uniswap/
|
|
82
|
-
src/utils/uniswap/
|
|
83
|
-
src/
|
|
84
|
-
src/
|
|
85
|
-
|
|
86
|
-
test/
|
|
87
|
-
test/
|
|
88
|
-
test/
|
|
89
|
-
test/
|
|
90
|
-
test/
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
script/
|
|
95
|
-
script/
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
+
[1m[33mWarning[0m[1m:[0m 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 [33msuccessful with warnings[0m:
|
|
17
|
+
[1;33mWarning (2072)[0m[1;37m: Unused local variable.[0m
|
|
18
|
+
[34m-->[0m script/Simulate.s.sol:45:10:
|
|
19
|
+
[34m |[0m
|
|
20
|
+
[34m45 |[0m ([33maddress coinAddress[0m, uint256 coinsPurchased) = factory.deploy{value: orderSize}(
|
|
21
|
+
[34m |[0m [1;33m^^^^^^^^^^^^^^^^^^^[0m
|
|
22
|
+
|
|
23
|
+
[1;33mWarning (2072)[0m[1;37m: Unused local variable.[0m
|
|
24
|
+
[34m-->[0m script/Simulate.s.sol:45:31:
|
|
25
|
+
[34m |[0m
|
|
26
|
+
[34m45 |[0m (address coinAddress, [33muint256 coinsPurchased[0m) = factory.deploy{value: orderSize}(
|
|
27
|
+
[34m |[0m [1;33m^^^^^^^^^^^^^^^^^^^^^^[0m
|
|
28
|
+
|
|
29
|
+
[?25l[1G[33m⠋[39m Validating plugins[1G[2K[1G[32m✔[39m Validating plugins
|
|
30
|
+
[?25h[?25l[1G[33m⠙[39m Resolving contracts[1G[2K[1G[32m✔[39m Resolving contracts
|
|
31
|
+
[?25h[?25l[1G[33m⠹[39m Running plugins[1G[2K[1G[32m✔[39m Running plugins
|
|
32
|
+
[?25h[?25l[1G[33m⠸[39m Writing to [90mpackage/wagmiGenerated.ts[39m[?25l[1G[2K[1G[33m⠼[39m Writing to [90mpackage/wagmiGenerated.ts[39m[1G[2K[1G[32m✔[39m Writing to [90mpackage/wagmiGenerated.ts[39m
|
|
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.sol[2K[1G[90msrc/Coin.sol[39m 141ms (unchanged)
|
|
46
|
+
src/hooks/BaseCoinDeployHook.sol[2K[1G[90msrc/hooks/BaseCoinDeployHook.sol[39m 17ms (unchanged)
|
|
47
|
+
src/hooks/BuySupplyWithSwapRouterHook.sol[2K[1G[90msrc/hooks/BuySupplyWithSwapRouterHook.sol[39m 36ms (unchanged)
|
|
48
|
+
src/interfaces/IAirlock.sol[2K[1G[90msrc/interfaces/IAirlock.sol[39m 3ms (unchanged)
|
|
49
|
+
src/interfaces/ICoin.sol[2K[1G[90msrc/interfaces/ICoin.sol[39m 8ms (unchanged)
|
|
50
|
+
src/interfaces/ICoinComments.sol[2K[1G[90msrc/interfaces/ICoinComments.sol[39m 1ms (unchanged)
|
|
51
|
+
src/interfaces/ICoinDeployHook.sol[2K[1G[90msrc/interfaces/ICoinDeployHook.sol[39m 1ms (unchanged)
|
|
52
|
+
src/interfaces/IDopplerErrors.sol[2K[1G[90msrc/interfaces/IDopplerErrors.sol[39m 1ms (unchanged)
|
|
53
|
+
src/interfaces/IERC7572.sol[2K[1G[90msrc/interfaces/IERC7572.sol[39m 1ms (unchanged)
|
|
54
|
+
src/interfaces/INonfungiblePositionManager.sol[2K[1G[90msrc/interfaces/INonfungiblePositionManager.sol[39m 5ms (unchanged)
|
|
55
|
+
src/interfaces/IProtocolRewards.sol[2K[1G[90msrc/interfaces/IProtocolRewards.sol[39m 2ms (unchanged)
|
|
56
|
+
src/interfaces/ISwapRouter.sol[2K[1G[90msrc/interfaces/ISwapRouter.sol[39m 0ms (unchanged)
|
|
57
|
+
src/interfaces/IUniswapV3Factory.sol[2K[1G[90msrc/interfaces/IUniswapV3Factory.sol[39m 3ms (unchanged)
|
|
58
|
+
src/interfaces/IUniswapV3Pool.sol[2K[1G[90msrc/interfaces/IUniswapV3Pool.sol[39m 3ms (unchanged)
|
|
59
|
+
src/interfaces/IUniswapV3SwapCallback.sol[2K[1G[90msrc/interfaces/IUniswapV3SwapCallback.sol[39m 0ms (unchanged)
|
|
60
|
+
src/interfaces/IWETH.sol[2K[1G[90msrc/interfaces/IWETH.sol[39m 2ms (unchanged)
|
|
61
|
+
src/interfaces/IZoraFactory.sol[2K[1G[90msrc/interfaces/IZoraFactory.sol[39m 3ms (unchanged)
|
|
62
|
+
src/libs/CoinConfigurationVersions.sol[2K[1G[90msrc/libs/CoinConfigurationVersions.sol[39m 1ms (unchanged)
|
|
63
|
+
src/libs/CoinConstants.sol[2K[1G[90msrc/libs/CoinConstants.sol[39m 2ms (unchanged)
|
|
64
|
+
src/libs/CoinDopplerUniV3.sol[2K[1G[90msrc/libs/CoinDopplerUniV3.sol[39m 87ms (unchanged)
|
|
65
|
+
src/libs/CoinLegacy.sol[2K[1G[90msrc/libs/CoinLegacy.sol[39m 18ms (unchanged)
|
|
66
|
+
src/libs/CoinLegacyMarket.sol[2K[1G[90msrc/libs/CoinLegacyMarket.sol[39m 49ms (unchanged)
|
|
67
|
+
src/libs/CoinSetupV3.sol[2K[1G[90msrc/libs/CoinSetupV3.sol[39m 27ms (unchanged)
|
|
68
|
+
src/libs/MarketConstants.sol[2K[1G[90msrc/libs/MarketConstants.sol[39m 0ms (unchanged)
|
|
69
|
+
src/libs/UniV3BuySell.sol[2K[1G[90msrc/libs/UniV3BuySell.sol[39m 156ms (unchanged)
|
|
70
|
+
src/libs/UniV3Errors.sol[2K[1G[90msrc/libs/UniV3Errors.sol[39m 1ms (unchanged)
|
|
71
|
+
src/proxy/ZoraFactory.sol[2K[1G[90msrc/proxy/ZoraFactory.sol[39m 5ms (unchanged)
|
|
72
|
+
src/types/LpPosition.sol[2K[1G[90msrc/types/LpPosition.sol[39m 1ms (unchanged)
|
|
73
|
+
src/types/PoolState.sol[2K[1G[90msrc/types/PoolState.sol[39m 1ms (unchanged)
|
|
74
|
+
src/utils/MultiOwnable.sol[2K[1G[90msrc/utils/MultiOwnable.sol[39m 26ms (unchanged)
|
|
75
|
+
src/utils/uniswap/BitMath.sol[2K[1G[90msrc/utils/uniswap/BitMath.sol[39m 5ms (unchanged)
|
|
76
|
+
src/utils/uniswap/CustomRevert.sol[2K[1G[90msrc/utils/uniswap/CustomRevert.sol[39m 18ms (unchanged)
|
|
77
|
+
src/utils/uniswap/FixedPoint96.sol[2K[1G[90msrc/utils/uniswap/FixedPoint96.sol[39m 1ms (unchanged)
|
|
78
|
+
src/utils/uniswap/FullMath.sol[2K[1G[90msrc/utils/uniswap/FullMath.sol[39m 14ms (unchanged)
|
|
79
|
+
src/utils/uniswap/LiquidityAmounts.sol[2K[1G[90msrc/utils/uniswap/LiquidityAmounts.sol[39m 26ms (unchanged)
|
|
80
|
+
src/utils/uniswap/SafeCast.sol[2K[1G[90msrc/utils/uniswap/SafeCast.sol[39m 20ms (unchanged)
|
|
81
|
+
src/utils/uniswap/SqrtPriceMath.sol[2K[1G[90msrc/utils/uniswap/SqrtPriceMath.sol[39m 40ms (unchanged)
|
|
82
|
+
src/utils/uniswap/TickMath.sol[2K[1G[90msrc/utils/uniswap/TickMath.sol[39m 37ms (unchanged)
|
|
83
|
+
src/utils/uniswap/UnsafeMath.sol[2K[1G[90msrc/utils/uniswap/UnsafeMath.sol[39m 2ms (unchanged)
|
|
84
|
+
src/version/ContractVersionBase.sol[2K[1G[90msrc/version/ContractVersionBase.sol[39m 1ms (unchanged)
|
|
85
|
+
src/ZoraFactoryImpl.sol[2K[1G[90msrc/ZoraFactoryImpl.sol[39m 54ms (unchanged)
|
|
86
|
+
test/Coin.t.sol[2K[1G[90mtest/Coin.t.sol[39m 188ms (unchanged)
|
|
87
|
+
test/CoinDopplerUniV3.t.sol[2K[1G[90mtest/CoinDopplerUniV3.t.sol[39m 135ms (unchanged)
|
|
88
|
+
test/Factory.t.sol[2K[1G[90mtest/Factory.t.sol[39m 87ms (unchanged)
|
|
89
|
+
test/Hooks.t.sol[2K[1G[90mtest/Hooks.t.sol[39m 55ms (unchanged)
|
|
90
|
+
test/MultiOwnable.t.sol[2K[1G[90mtest/MultiOwnable.t.sol[39m 46ms (unchanged)
|
|
91
|
+
test/Upgrades.t.sol[2K[1G[90mtest/Upgrades.t.sol[39m 11ms (unchanged)
|
|
92
|
+
test/utils/BaseTest.sol[2K[1G[90mtest/utils/BaseTest.sol[39m 53ms (unchanged)
|
|
93
|
+
test/utils/ProtocolRewards.sol[2K[1G[90mtest/utils/ProtocolRewards.sol[39m 171ms (unchanged)
|
|
94
|
+
script/CoinsDeployerBase.sol[2K[1G[90mscript/CoinsDeployerBase.sol[39m 45ms (unchanged)
|
|
95
|
+
script/Deploy.s.sol[2K[1G[90mscript/Deploy.s.sol[39m 3ms (unchanged)
|
|
96
|
+
script/DeployHooks.s.sol[2K[1G[90mscript/DeployHooks.s.sol[39m 2ms (unchanged)
|
|
97
|
+
script/GenerateDeterministicParams.s.sol[2K[1G[90mscript/GenerateDeterministicParams.s.sol[39m 7ms (unchanged)
|
|
98
|
+
script/Simulate.s.sol[2K[1G[90mscript/Simulate.s.sol[39m 7ms (unchanged)
|
|
99
|
+
script/UpgradeCoinImpl.sol[2K[1G[90mscript/UpgradeCoinImpl.sol[39m 3ms (unchanged)
|
|
100
|
+
script/UpgradeFactoryImpl.s.sol[2K[1G[90mscript/UpgradeFactoryImpl.s.sol[39m 2ms (unchanged)
|
|
101
|
+
[34mCLI[39m Building entry: package/index.ts
|
|
102
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
103
|
+
[34mCLI[39m tsup v8.4.0
|
|
104
|
+
[34mCLI[39m Using tsup config: /Users/danovedzora/source/zora-protocol/packages/coins/tsup.config.ts
|
|
105
|
+
[34mCLI[39m Target: es2021
|
|
106
|
+
[34mCLI[39m Cleaning output folder
|
|
107
|
+
[34mCJS[39m Build start
|
|
108
|
+
[34mESM[39m Build start
|
|
109
|
+
[32mESM[39m [1mdist/index.js [22m[32m39.96 KB[39m
|
|
110
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m72.99 KB[39m
|
|
111
|
+
[32mESM[39m ⚡️ Build success in 9ms
|
|
112
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m41.12 KB[39m
|
|
113
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m73.11 KB[39m
|
|
114
|
+
[32mCJS[39m ⚡️ 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,39 @@
|
|
|
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
|
+
|
|
31
|
+
## 0.7.1
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- 265dcbeb: Fixed factory address for wagmi
|
|
36
|
+
|
|
3
37
|
## 0.7.0
|
|
4
38
|
|
|
5
39
|
### Minor Changes
|