@zoralabs/coins 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +73 -76
- package/CHANGELOG.md +6 -0
- package/foundry.toml +1 -3
- package/package.json +3 -3
- package/src/BaseCoin.sol +2 -1
- package/src/hooks/ContentCoinHook.sol +2 -2
- package/src/libs/CoinRewardsV4.sol +1 -1
- package/src/libs/MarketConstants.sol +0 -4
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/CoinUniV4.t.sol +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @zoralabs/coins@2.1.
|
|
2
|
+
> @zoralabs/coins@2.1.1 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
3
3
|
> pnpm run wagmi:generate && pnpm run copy-abis && pnpm run prettier:write && tsup
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @zoralabs/coins@2.1.
|
|
6
|
+
> @zoralabs/coins@2.1.1 wagmi:generate /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
7
7
|
> FOUNDRY_PROFILE=dev forge build && wagmi generate && pnpm exec rename-generated-abi-casing ./package/wagmiGenerated.ts
|
|
8
8
|
|
|
9
9
|
Compiling 236 files with Solc 0.8.28
|
|
10
|
-
Solc 0.8.28 finished in
|
|
10
|
+
Solc 0.8.28 finished in 192.36s
|
|
11
11
|
Compiler run successful with warnings:
|
|
12
|
-
Warning (3420): Source file does not specify required compiler version! Consider adding "pragma solidity ^0.8.28;"
|
|
13
|
-
--> src/BaseCoin.sol
|
|
14
|
-
|
|
15
12
|
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
|
16
13
|
--> src/ZoraFactoryImpl.sol:214:9:
|
|
17
14
|
|
|
|
@@ -79,112 +76,112 @@ Warning (2072): Unused local variable.
|
|
|
79
76
|
✅ Updated ./package/wagmiGenerated.ts (10 replacements)
|
|
80
77
|
✨ All files processed successfully!
|
|
81
78
|
|
|
82
|
-
> @zoralabs/coins@2.1.
|
|
79
|
+
> @zoralabs/coins@2.1.1 copy-abis /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
83
80
|
> pnpm exec bundle-abis
|
|
84
81
|
|
|
85
82
|
|
|
86
|
-
> @zoralabs/coins@2.1.
|
|
83
|
+
> @zoralabs/coins@2.1.1 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
87
84
|
> prettier --write 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'
|
|
88
85
|
|
|
89
|
-
src/BaseCoin.sol
|
|
90
|
-
src/ContentCoin.sol
|
|
91
|
-
src/CreatorCoin.sol
|
|
92
|
-
src/deployment/CoinsDeployerBase.sol
|
|
86
|
+
src/BaseCoin.sol 461ms (unchanged)
|
|
87
|
+
src/ContentCoin.sol 26ms (unchanged)
|
|
88
|
+
src/CreatorCoin.sol 57ms (unchanged)
|
|
89
|
+
src/deployment/CoinsDeployerBase.sol 214ms (unchanged)
|
|
93
90
|
src/hooks/BaseZoraV4CoinHook.sol 180ms (unchanged)
|
|
94
|
-
src/hooks/ContentCoinHook.sol
|
|
91
|
+
src/hooks/ContentCoinHook.sol 9ms (unchanged)
|
|
95
92
|
src/hooks/CreatorCoinHook.sol 7ms (unchanged)
|
|
96
|
-
src/hooks/deployment/BaseCoinDeployHook.sol
|
|
97
|
-
src/hooks/deployment/BuySupplyWithSwapRouterHook.sol
|
|
98
|
-
src/hooks/HookUpgradeGate.sol
|
|
93
|
+
src/hooks/deployment/BaseCoinDeployHook.sol 16ms (unchanged)
|
|
94
|
+
src/hooks/deployment/BuySupplyWithSwapRouterHook.sol 121ms (unchanged)
|
|
95
|
+
src/hooks/HookUpgradeGate.sol 28ms (unchanged)
|
|
99
96
|
src/interfaces/IAirlock.sol 1ms (unchanged)
|
|
100
|
-
src/interfaces/ICoin.sol
|
|
101
|
-
src/interfaces/ICoinComments.sol
|
|
97
|
+
src/interfaces/ICoin.sol 16ms (unchanged)
|
|
98
|
+
src/interfaces/ICoinComments.sol 2ms (unchanged)
|
|
102
99
|
src/interfaces/ICoinDeployHook.sol 1ms (unchanged)
|
|
103
|
-
src/interfaces/ICoinV3.sol
|
|
104
|
-
src/interfaces/ICreatorCoin.sol
|
|
105
|
-
src/interfaces/ICreatorCoinHook.sol
|
|
106
|
-
src/interfaces/IDeployedCoinVersionLookup.sol
|
|
100
|
+
src/interfaces/ICoinV3.sol 4ms (unchanged)
|
|
101
|
+
src/interfaces/ICreatorCoin.sol 1ms (unchanged)
|
|
102
|
+
src/interfaces/ICreatorCoinHook.sol 1ms (unchanged)
|
|
103
|
+
src/interfaces/IDeployedCoinVersionLookup.sol 0ms (unchanged)
|
|
107
104
|
src/interfaces/IDopplerErrors.sol 1ms (unchanged)
|
|
108
105
|
src/interfaces/IERC7572.sol 0ms (unchanged)
|
|
109
106
|
src/interfaces/IHasRewardsRecipients.sol 1ms (unchanged)
|
|
110
107
|
src/interfaces/IHooksUpgradeGate.sol 1ms (unchanged)
|
|
111
108
|
src/interfaces/IMsgSender.sol 1ms (unchanged)
|
|
112
|
-
src/interfaces/INonfungiblePositionManager.sol
|
|
109
|
+
src/interfaces/INonfungiblePositionManager.sol 5ms (unchanged)
|
|
113
110
|
src/interfaces/IPoolConfigEncoding.sol 2ms (unchanged)
|
|
114
|
-
src/interfaces/IProtocolRewards.sol
|
|
115
|
-
src/interfaces/ISwapPathRouter.sol
|
|
111
|
+
src/interfaces/IProtocolRewards.sol 3ms (unchanged)
|
|
112
|
+
src/interfaces/ISwapPathRouter.sol 2ms (unchanged)
|
|
116
113
|
src/interfaces/ISwapRouter.sol 1ms (unchanged)
|
|
117
|
-
src/interfaces/IUniswapV3Factory.sol
|
|
114
|
+
src/interfaces/IUniswapV3Factory.sol 4ms (unchanged)
|
|
118
115
|
src/interfaces/IUniswapV3Pool.sol 3ms (unchanged)
|
|
119
116
|
src/interfaces/IUniswapV3SwapCallback.sol 1ms (unchanged)
|
|
120
117
|
src/interfaces/IUpgradeableV4Hook.sol 2ms (unchanged)
|
|
121
118
|
src/interfaces/IWETH.sol 1ms (unchanged)
|
|
122
|
-
src/interfaces/IZoraFactory.sol
|
|
123
|
-
src/interfaces/IZoraV4CoinHook.sol
|
|
119
|
+
src/interfaces/IZoraFactory.sol 11ms (unchanged)
|
|
120
|
+
src/interfaces/IZoraV4CoinHook.sol 10ms (unchanged)
|
|
124
121
|
src/libs/CoinCommon.sol 4ms (unchanged)
|
|
125
|
-
src/libs/CoinConfigurationVersions.sol
|
|
126
|
-
src/libs/CoinConstants.sol
|
|
127
|
-
src/libs/CoinDopplerMultiCurve.sol
|
|
128
|
-
src/libs/CoinRewardsV4.sol
|
|
129
|
-
src/libs/CoinSetup.sol
|
|
122
|
+
src/libs/CoinConfigurationVersions.sol 47ms (unchanged)
|
|
123
|
+
src/libs/CoinConstants.sol 6ms (unchanged)
|
|
124
|
+
src/libs/CoinDopplerMultiCurve.sol 102ms (unchanged)
|
|
125
|
+
src/libs/CoinRewardsV4.sol 90ms (unchanged)
|
|
126
|
+
src/libs/CoinSetup.sol 30ms (unchanged)
|
|
130
127
|
src/libs/CreatorCoinConstants.sol 2ms (unchanged)
|
|
131
|
-
src/libs/CreatorCoinRewards.sol
|
|
132
|
-
src/libs/DopplerMath.sol
|
|
133
|
-
src/libs/HooksDeployment.sol
|
|
134
|
-
src/libs/MarketConstants.sol
|
|
128
|
+
src/libs/CreatorCoinRewards.sol 20ms (unchanged)
|
|
129
|
+
src/libs/DopplerMath.sol 86ms (unchanged)
|
|
130
|
+
src/libs/HooksDeployment.sol 80ms (unchanged)
|
|
131
|
+
src/libs/MarketConstants.sol 3ms (unchanged)
|
|
135
132
|
src/libs/PoolStateReader.sol 6ms (unchanged)
|
|
136
|
-
src/libs/UniV4SwapHelper.sol
|
|
137
|
-
src/libs/UniV4SwapToCurrency.sol
|
|
138
|
-
src/libs/V4Liquidity.sol
|
|
133
|
+
src/libs/UniV4SwapHelper.sol 28ms (unchanged)
|
|
134
|
+
src/libs/UniV4SwapToCurrency.sol 49ms (unchanged)
|
|
135
|
+
src/libs/V4Liquidity.sol 133ms (unchanged)
|
|
139
136
|
src/proxy/ZoraFactory.sol 5ms (unchanged)
|
|
140
137
|
src/types/LpPosition.sol 1ms (unchanged)
|
|
141
|
-
src/types/PoolConfiguration.sol
|
|
142
|
-
src/types/PoolState.sol
|
|
138
|
+
src/types/PoolConfiguration.sol 1ms (unchanged)
|
|
139
|
+
src/types/PoolState.sol 2ms (unchanged)
|
|
143
140
|
src/utils/AutoSwapper.sol 20ms (unchanged)
|
|
144
|
-
src/utils/DeployedCoinVersionLookup.sol
|
|
145
|
-
src/utils/MultiOwnable.sol
|
|
141
|
+
src/utils/DeployedCoinVersionLookup.sol 5ms (unchanged)
|
|
142
|
+
src/utils/MultiOwnable.sol 46ms (unchanged)
|
|
146
143
|
src/utils/uniswap/BitMath.sol 10ms (unchanged)
|
|
147
144
|
src/utils/uniswap/BytesLib.sol 17ms (unchanged)
|
|
148
145
|
src/utils/uniswap/CustomRevert.sol 41ms (unchanged)
|
|
149
146
|
src/utils/uniswap/FixedPoint96.sol 1ms (unchanged)
|
|
150
|
-
src/utils/uniswap/FullMath.sol
|
|
151
|
-
src/utils/uniswap/LiquidityAmounts.sol
|
|
147
|
+
src/utils/uniswap/FullMath.sol 21ms (unchanged)
|
|
148
|
+
src/utils/uniswap/LiquidityAmounts.sol 47ms (unchanged)
|
|
152
149
|
src/utils/uniswap/Path.sol 5ms (unchanged)
|
|
153
|
-
src/utils/uniswap/SafeCast.sol
|
|
154
|
-
src/utils/uniswap/SqrtPriceMath.sol
|
|
155
|
-
src/utils/uniswap/TickMath.sol
|
|
156
|
-
src/utils/uniswap/UnsafeMath.sol
|
|
150
|
+
src/utils/uniswap/SafeCast.sol 12ms (unchanged)
|
|
151
|
+
src/utils/uniswap/SqrtPriceMath.sol 65ms (unchanged)
|
|
152
|
+
src/utils/uniswap/TickMath.sol 63ms (unchanged)
|
|
153
|
+
src/utils/uniswap/UnsafeMath.sol 3ms (unchanged)
|
|
157
154
|
src/version/ContractVersionBase.sol 1ms (unchanged)
|
|
158
155
|
src/ZoraFactoryImpl.sol 106ms (unchanged)
|
|
159
|
-
test/AutoSwapper.t.sol
|
|
160
|
-
test/Coin.t.sol
|
|
161
|
-
test/CoinUniV4.t.sol
|
|
162
|
-
test/CreatorCoin.t.sol
|
|
163
|
-
test/DeploymentHooks.t.sol
|
|
164
|
-
test/Factory.t.sol
|
|
165
|
-
test/HooksDeployment.t.sol
|
|
166
|
-
test/LiquidityMigration.t.sol
|
|
167
|
-
test/mocks/MockERC20.sol
|
|
168
|
-
test/MultiOwnable.t.sol
|
|
169
|
-
test/Upgrades.t.sol
|
|
170
|
-
test/utils/BaseTest.sol
|
|
156
|
+
test/AutoSwapper.t.sol 35ms (unchanged)
|
|
157
|
+
test/Coin.t.sol 114ms (unchanged)
|
|
158
|
+
test/CoinUniV4.t.sol 355ms (unchanged)
|
|
159
|
+
test/CreatorCoin.t.sol 137ms (unchanged)
|
|
160
|
+
test/DeploymentHooks.t.sol 70ms (unchanged)
|
|
161
|
+
test/Factory.t.sol 80ms (unchanged)
|
|
162
|
+
test/HooksDeployment.t.sol 31ms (unchanged)
|
|
163
|
+
test/LiquidityMigration.t.sol 162ms (unchanged)
|
|
164
|
+
test/mocks/MockERC20.sol 3ms (unchanged)
|
|
165
|
+
test/MultiOwnable.t.sol 83ms (unchanged)
|
|
166
|
+
test/Upgrades.t.sol 110ms (unchanged)
|
|
167
|
+
test/utils/BaseTest.sol 163ms (unchanged)
|
|
171
168
|
test/utils/ContractAddresses.sol 2ms (unchanged)
|
|
172
|
-
test/utils/DeployedCoinVersionLookup.t.sol
|
|
169
|
+
test/utils/DeployedCoinVersionLookup.t.sol 44ms (unchanged)
|
|
173
170
|
test/utils/FeeEstimatorHook.sol 26ms (unchanged)
|
|
174
|
-
test/utils/ProtocolRewards.sol
|
|
175
|
-
test/utils/ProxyShim.sol
|
|
176
|
-
script/Deploy.s.sol
|
|
171
|
+
test/utils/ProtocolRewards.sol 304ms (unchanged)
|
|
172
|
+
test/utils/ProxyShim.sol 4ms (unchanged)
|
|
173
|
+
script/Deploy.s.sol 4ms (unchanged)
|
|
177
174
|
script/DeployAutoSwapper.s.sol 13ms (unchanged)
|
|
178
|
-
script/DeployDevFactory.s.sol
|
|
179
|
-
script/DeployPostDeploymentHooks.s.sol
|
|
180
|
-
script/DeployUpgradeGate.s.sol
|
|
181
|
-
script/GenerateDeterministicParams.s.sol
|
|
182
|
-
script/PrintRegisterUpgradePath.s.sol
|
|
183
|
-
script/PrintUpgradeCommand.s.sol
|
|
184
|
-
script/TestBackingCoinSwap.s.sol
|
|
175
|
+
script/DeployDevFactory.s.sol 4ms (unchanged)
|
|
176
|
+
script/DeployPostDeploymentHooks.s.sol 3ms (unchanged)
|
|
177
|
+
script/DeployUpgradeGate.s.sol 4ms (unchanged)
|
|
178
|
+
script/GenerateDeterministicParams.s.sol 14ms (unchanged)
|
|
179
|
+
script/PrintRegisterUpgradePath.s.sol 10ms (unchanged)
|
|
180
|
+
script/PrintUpgradeCommand.s.sol 1ms (unchanged)
|
|
181
|
+
script/TestBackingCoinSwap.s.sol 32ms (unchanged)
|
|
185
182
|
script/TestV4Swap.s.sol 30ms (unchanged)
|
|
186
183
|
script/UpgradeCoinImpl.sol 5ms (unchanged)
|
|
187
|
-
script/UpgradeFactoryImpl.s.sol
|
|
184
|
+
script/UpgradeFactoryImpl.s.sol 6ms (unchanged)
|
|
188
185
|
script/UpgradeHooks.s.sol 6ms (unchanged)
|
|
189
186
|
[34mCLI[39m Building entry: package/index.ts
|
|
190
187
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
@@ -196,7 +193,7 @@ script/UpgradeHooks.s.sol 6ms (unchanged)
|
|
|
196
193
|
[34mESM[39m Build start
|
|
197
194
|
[32mESM[39m [1mdist/index.js [22m[32m128.58 KB[39m
|
|
198
195
|
[32mESM[39m [1mdist/index.js.map [22m[32m229.86 KB[39m
|
|
199
|
-
[32mESM[39m ⚡️ Build success in
|
|
196
|
+
[32mESM[39m ⚡️ Build success in 42ms
|
|
200
197
|
[32mCJS[39m [1mdist/index.cjs [22m[32m130.00 KB[39m
|
|
201
198
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m230.01 KB[39m
|
|
202
|
-
[32mCJS[39m ⚡️ Build success in
|
|
199
|
+
[32mCJS[39m ⚡️ Build success in 43ms
|
package/CHANGELOG.md
CHANGED
package/foundry.toml
CHANGED
|
@@ -19,6 +19,4 @@ fs_permissions = [
|
|
|
19
19
|
runs = 100
|
|
20
20
|
|
|
21
21
|
[rpc_endpoints]
|
|
22
|
-
base = "https://base
|
|
23
|
-
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
|
|
24
|
-
zora = "https://rpc.zora.energy"
|
|
22
|
+
base = "https://base.gateway.tenderly.co/${TENDERLY_KEY}"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/coins",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"typescript": "^5.2.2",
|
|
37
37
|
"viem": "^2.21.18",
|
|
38
38
|
"@zoralabs/tsconfig": "^0.0.1",
|
|
39
|
-
"@zoralabs/shared-
|
|
40
|
-
"@zoralabs/shared-
|
|
39
|
+
"@zoralabs/shared-contracts": "^0.0.5",
|
|
40
|
+
"@zoralabs/shared-scripts": "^0.0.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "pnpm run wagmi:generate && pnpm run copy-abis && pnpm run prettier:write && tsup",
|
package/src/BaseCoin.sol
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
5
|
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
6
|
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
-
// Full license terms available at: https://docs.zora.co/coins/
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
8
|
+
pragma solidity ^0.8.23;
|
|
8
9
|
|
|
9
10
|
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
|
10
11
|
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
|
|
@@ -9,7 +9,7 @@ pragma solidity ^0.8.28;
|
|
|
9
9
|
|
|
10
10
|
import {IPoolManager, IDeployedCoinVersionLookup, IHasRewardsRecipients, Currency, BaseZoraV4CoinHook} from "./BaseZoraV4CoinHook.sol";
|
|
11
11
|
import {CoinRewardsV4} from "../libs/CoinRewardsV4.sol";
|
|
12
|
-
import {
|
|
12
|
+
import {CoinConstants} from "../libs/CoinConstants.sol";
|
|
13
13
|
import {IHooksUpgradeGate} from "../interfaces/IHooksUpgradeGate.sol";
|
|
14
14
|
|
|
15
15
|
contract ContentCoinHook is BaseZoraV4CoinHook {
|
|
@@ -18,7 +18,7 @@ contract ContentCoinHook is BaseZoraV4CoinHook {
|
|
|
18
18
|
IDeployedCoinVersionLookup coinVersionLookup_,
|
|
19
19
|
address[] memory trustedMessageSenders_,
|
|
20
20
|
IHooksUpgradeGate upgradeGate
|
|
21
|
-
) BaseZoraV4CoinHook(poolManager_, coinVersionLookup_, trustedMessageSenders_, upgradeGate,
|
|
21
|
+
) BaseZoraV4CoinHook(poolManager_, coinVersionLookup_, trustedMessageSenders_, upgradeGate, CoinConstants.POOL_LAUNCH_SUPPLY) {}
|
|
22
22
|
|
|
23
23
|
/// @dev Override for market reward distribution
|
|
24
24
|
function _distributeMarketRewards(Currency currency, uint128 fees, IHasRewardsRecipients coin, address tradeReferrer) internal override {
|
|
@@ -53,7 +53,7 @@ library CoinRewardsV4 {
|
|
|
53
53
|
uint256 public constant LP_REWARD_BPS = 3333;
|
|
54
54
|
|
|
55
55
|
function getTradeReferral(bytes calldata hookData) internal pure returns (address) {
|
|
56
|
-
return hookData.length >=
|
|
56
|
+
return hookData.length >= 20 ? abi.decode(hookData, (address)) : address(0);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/// @dev Converts collected fees from LP positions into target payout currency, and transfers to hook contract, so
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
pragma solidity ^0.8.23;
|
|
3
3
|
|
|
4
4
|
library MarketConstants {
|
|
5
|
-
/// @notice The number of coins allocated to the liquidity pool
|
|
6
|
-
/// @dev 990 million coins
|
|
7
|
-
uint256 internal constant POOL_LAUNCH_SUPPLY = 990_000_000e18;
|
|
8
|
-
|
|
9
5
|
/// @dev Constant used to increase precision during calculations
|
|
10
6
|
uint256 constant WAD = 1e18;
|
|
11
7
|
|
|
@@ -9,6 +9,6 @@ import {IVersionedContract} from "@zoralabs/shared-contracts/interfaces/IVersion
|
|
|
9
9
|
contract ContractVersionBase is IVersionedContract {
|
|
10
10
|
/// @notice The version of the contract
|
|
11
11
|
function contractVersion() external pure override returns (string memory) {
|
|
12
|
-
return "2.1.
|
|
12
|
+
return "2.1.1";
|
|
13
13
|
}
|
|
14
14
|
}
|
package/test/CoinUniV4.t.sol
CHANGED
|
@@ -57,7 +57,7 @@ contract CoinUniV4Test is BaseTest {
|
|
|
57
57
|
/// and then reverting the state after the swap
|
|
58
58
|
function _estimateLpFees(bytes memory commands, bytes[] memory inputs) internal returns (FeeEstimatorHook.FeeEstimatorState memory feeState) {
|
|
59
59
|
uint256 snapshot = vm.snapshot();
|
|
60
|
-
_deployFeeEstimatorHook(
|
|
60
|
+
_deployFeeEstimatorHook(CoinConstants.POOL_LAUNCH_SUPPLY, address(contentCoinHook));
|
|
61
61
|
|
|
62
62
|
// Execute the swap
|
|
63
63
|
uint256 deadline = block.timestamp + 20;
|
|
@@ -74,7 +74,7 @@ contract CoinUniV4Test is BaseTest {
|
|
|
74
74
|
bytes[] memory inputs
|
|
75
75
|
) internal returns (BalanceDelta delta, SwapParams memory swapParams, uint160 sqrtPriceX96) {
|
|
76
76
|
uint256 snapshot = vm.snapshot();
|
|
77
|
-
_deployFeeEstimatorHook(
|
|
77
|
+
_deployFeeEstimatorHook(CoinConstants.POOL_LAUNCH_SUPPLY, address(contentCoinHook));
|
|
78
78
|
|
|
79
79
|
// Execute the swap
|
|
80
80
|
uint256 deadline = block.timestamp + 20;
|