@zoralabs/coins 1.1.1 → 1.1.2
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 +91 -88
- package/CHANGELOG.md +6 -0
- package/LICENSE +90 -21
- package/package.json +1 -1
- package/src/BaseCoin.sol +7 -2
- package/src/Coin.sol +7 -1
- package/src/CoinV4.sol +7 -1
- package/src/CreatorCoin.sol +7 -1
- package/src/ZoraFactoryImpl.sol +7 -1
- package/src/hooks/BaseZoraV4CoinHook.sol +7 -1
- package/src/hooks/ContentCoinHook.sol +7 -1
- package/src/hooks/CreatorCoinHook.sol +7 -1
- package/src/hooks/HookUpgradeGate.sol +7 -1
- package/src/libs/CoinCommon.sol +7 -1
- package/src/libs/CoinConfigurationVersions.sol +7 -1
- package/src/libs/CoinConstants.sol +7 -1
- package/src/libs/CoinDopplerMultiCurve.sol +7 -1
- package/src/libs/CoinRewards.sol +7 -1
- package/src/libs/CoinRewardsV4.sol +7 -1
- package/src/libs/CoinSetup.sol +7 -1
- package/src/libs/CreatorCoinConstants.sol +7 -1
- package/src/libs/CreatorCoinRewards.sol +7 -1
- package/src/libs/DopplerMath.sol +7 -1
- package/src/libs/HooksDeployment.sol +7 -1
- package/src/libs/PoolStateReader.sol +7 -1
- package/src/libs/UniV4SwapHelper.sol +7 -1
- package/src/libs/UniV4SwapToCurrency.sol +7 -1
- package/src/libs/V4Liquidity.sol +7 -1
- package/src/types/PoolConfiguration.sol +7 -1
- package/src/utils/AutoSwapper.sol +7 -1
- package/src/version/ContractVersionBase.sol +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
> @zoralabs/coins@1.1.
|
|
2
|
+
> @zoralabs/coins@1.1.2 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@1.1.
|
|
6
|
+
> @zoralabs/coins@1.1.2 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 244 files with Solc 0.8.28
|
|
10
|
-
Solc 0.8.28 finished in
|
|
10
|
+
Solc 0.8.28 finished in 253.65s
|
|
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
|
+
|
|
12
15
|
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
|
13
16
|
--> src/deployment/CoinsDeployerBase.sol:117:31:
|
|
14
17
|
|
|
|
@@ -70,122 +73,122 @@ Warning (2072): Unused local variable.
|
|
|
70
73
|
✅ Updated ./package/wagmiGenerated.ts (10 replacements)
|
|
71
74
|
✨ All files processed successfully!
|
|
72
75
|
|
|
73
|
-
> @zoralabs/coins@1.1.
|
|
76
|
+
> @zoralabs/coins@1.1.2 copy-abis /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
74
77
|
> pnpm exec bundle-abis
|
|
75
78
|
|
|
76
79
|
|
|
77
|
-
> @zoralabs/coins@1.1.
|
|
80
|
+
> @zoralabs/coins@1.1.2 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
78
81
|
> prettier --write 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'
|
|
79
82
|
|
|
80
|
-
src/BaseCoin.sol
|
|
81
|
-
src/Coin.sol
|
|
82
|
-
src/CoinV4.sol
|
|
83
|
-
src/CreatorCoin.sol
|
|
84
|
-
src/deployment/CoinsDeployerBase.sol
|
|
85
|
-
src/hooks/BaseZoraV4CoinHook.sol
|
|
86
|
-
src/hooks/ContentCoinHook.sol
|
|
87
|
-
src/hooks/CreatorCoinHook.sol
|
|
83
|
+
src/BaseCoin.sol 347ms (unchanged)
|
|
84
|
+
src/Coin.sol 156ms (unchanged)
|
|
85
|
+
src/CoinV4.sol 114ms (unchanged)
|
|
86
|
+
src/CreatorCoin.sol 51ms (unchanged)
|
|
87
|
+
src/deployment/CoinsDeployerBase.sol 211ms (unchanged)
|
|
88
|
+
src/hooks/BaseZoraV4CoinHook.sol 181ms (unchanged)
|
|
89
|
+
src/hooks/ContentCoinHook.sol 8ms (unchanged)
|
|
90
|
+
src/hooks/CreatorCoinHook.sol 6ms (unchanged)
|
|
88
91
|
src/hooks/deployment/BaseCoinDeployHook.sol 13ms (unchanged)
|
|
89
|
-
src/hooks/deployment/BuySupplyWithSwapRouterHook.sol
|
|
92
|
+
src/hooks/deployment/BuySupplyWithSwapRouterHook.sol 131ms (unchanged)
|
|
90
93
|
src/hooks/HookUpgradeGate.sol 23ms (unchanged)
|
|
91
94
|
src/interfaces/IAirlock.sol 1ms (unchanged)
|
|
92
|
-
src/interfaces/ICoin.sol
|
|
95
|
+
src/interfaces/ICoin.sol 9ms (unchanged)
|
|
93
96
|
src/interfaces/ICoinComments.sol 1ms (unchanged)
|
|
94
|
-
src/interfaces/ICoinDeployHook.sol
|
|
95
|
-
src/interfaces/ICoinV3.sol
|
|
96
|
-
src/interfaces/ICoinV4.sol
|
|
97
|
-
src/interfaces/ICreatorCoin.sol
|
|
98
|
-
src/interfaces/ICreatorCoinHook.sol
|
|
99
|
-
src/interfaces/IDeployedCoinVersionLookup.sol
|
|
97
|
+
src/interfaces/ICoinDeployHook.sol 2ms (unchanged)
|
|
98
|
+
src/interfaces/ICoinV3.sol 4ms (unchanged)
|
|
99
|
+
src/interfaces/ICoinV4.sol 3ms (unchanged)
|
|
100
|
+
src/interfaces/ICreatorCoin.sol 2ms (unchanged)
|
|
101
|
+
src/interfaces/ICreatorCoinHook.sol 1ms (unchanged)
|
|
102
|
+
src/interfaces/IDeployedCoinVersionLookup.sol 1ms (unchanged)
|
|
100
103
|
src/interfaces/IDopplerErrors.sol 1ms (unchanged)
|
|
101
104
|
src/interfaces/IERC7572.sol 1ms (unchanged)
|
|
102
105
|
src/interfaces/IHasRewardsRecipients.sol 1ms (unchanged)
|
|
103
106
|
src/interfaces/IHooksUpgradeGate.sol 2ms (unchanged)
|
|
104
|
-
src/interfaces/IMsgSender.sol
|
|
107
|
+
src/interfaces/IMsgSender.sol 2ms (unchanged)
|
|
105
108
|
src/interfaces/INonfungiblePositionManager.sol 5ms (unchanged)
|
|
106
109
|
src/interfaces/IPoolConfigEncoding.sol 2ms (unchanged)
|
|
107
|
-
src/interfaces/IProtocolRewards.sol
|
|
110
|
+
src/interfaces/IProtocolRewards.sol 4ms (unchanged)
|
|
108
111
|
src/interfaces/ISwapPathRouter.sol 2ms (unchanged)
|
|
109
|
-
src/interfaces/ISwapRouter.sol
|
|
110
|
-
src/interfaces/IUniswapV3Factory.sol
|
|
112
|
+
src/interfaces/ISwapRouter.sol 0ms (unchanged)
|
|
113
|
+
src/interfaces/IUniswapV3Factory.sol 4ms (unchanged)
|
|
111
114
|
src/interfaces/IUniswapV3Pool.sol 4ms (unchanged)
|
|
112
|
-
src/interfaces/IUniswapV3SwapCallback.sol
|
|
113
|
-
src/interfaces/IUpgradeableV4Hook.sol
|
|
115
|
+
src/interfaces/IUniswapV3SwapCallback.sol 2ms (unchanged)
|
|
116
|
+
src/interfaces/IUpgradeableV4Hook.sol 2ms (unchanged)
|
|
114
117
|
src/interfaces/IWETH.sol 2ms (unchanged)
|
|
115
118
|
src/interfaces/IZoraFactory.sol 7ms (unchanged)
|
|
116
|
-
src/interfaces/IZoraV4CoinHook.sol
|
|
119
|
+
src/interfaces/IZoraV4CoinHook.sol 8ms (unchanged)
|
|
117
120
|
src/libs/CoinCommon.sol 4ms (unchanged)
|
|
118
|
-
src/libs/CoinConfigurationVersions.sol
|
|
121
|
+
src/libs/CoinConfigurationVersions.sol 83ms (unchanged)
|
|
119
122
|
src/libs/CoinConstants.sol 4ms (unchanged)
|
|
120
|
-
src/libs/CoinDopplerMultiCurve.sol
|
|
123
|
+
src/libs/CoinDopplerMultiCurve.sol 105ms (unchanged)
|
|
121
124
|
src/libs/CoinDopplerUniV3.sol 29ms (unchanged)
|
|
122
|
-
src/libs/CoinRewards.sol
|
|
123
|
-
src/libs/CoinRewardsV4.sol
|
|
124
|
-
src/libs/CoinSetup.sol
|
|
125
|
+
src/libs/CoinRewards.sol 118ms (unchanged)
|
|
126
|
+
src/libs/CoinRewardsV4.sol 99ms (unchanged)
|
|
127
|
+
src/libs/CoinSetup.sol 20ms (unchanged)
|
|
125
128
|
src/libs/CoinSetupV3.sol 17ms (unchanged)
|
|
126
129
|
src/libs/CreatorCoinConstants.sol 2ms (unchanged)
|
|
127
130
|
src/libs/CreatorCoinRewards.sol 11ms (unchanged)
|
|
128
|
-
src/libs/DopplerMath.sol
|
|
129
|
-
src/libs/HooksDeployment.sol
|
|
131
|
+
src/libs/DopplerMath.sol 81ms (unchanged)
|
|
132
|
+
src/libs/HooksDeployment.sol 95ms (unchanged)
|
|
130
133
|
src/libs/MarketConstants.sol 1ms (unchanged)
|
|
131
|
-
src/libs/PoolStateReader.sol
|
|
132
|
-
src/libs/UniV3BuySell.sol
|
|
133
|
-
src/libs/UniV3Errors.sol
|
|
134
|
-
src/libs/UniV4SwapHelper.sol
|
|
135
|
-
src/libs/UniV4SwapToCurrency.sol
|
|
136
|
-
src/libs/V4Liquidity.sol
|
|
134
|
+
src/libs/PoolStateReader.sol 6ms (unchanged)
|
|
135
|
+
src/libs/UniV3BuySell.sol 84ms (unchanged)
|
|
136
|
+
src/libs/UniV3Errors.sol 2ms (unchanged)
|
|
137
|
+
src/libs/UniV4SwapHelper.sol 28ms (unchanged)
|
|
138
|
+
src/libs/UniV4SwapToCurrency.sol 56ms (unchanged)
|
|
139
|
+
src/libs/V4Liquidity.sol 148ms (unchanged)
|
|
137
140
|
src/proxy/ZoraFactory.sol 6ms (unchanged)
|
|
138
|
-
src/types/LpPosition.sol
|
|
141
|
+
src/types/LpPosition.sol 1ms (unchanged)
|
|
139
142
|
src/types/PoolConfiguration.sol 1ms (unchanged)
|
|
140
|
-
src/types/PoolState.sol
|
|
141
|
-
src/utils/AutoSwapper.sol
|
|
142
|
-
src/utils/DeployedCoinVersionLookup.sol
|
|
143
|
-
src/utils/MultiOwnable.sol
|
|
144
|
-
src/utils/uniswap/BitMath.sol
|
|
145
|
-
src/utils/uniswap/BytesLib.sol
|
|
146
|
-
src/utils/uniswap/CustomRevert.sol
|
|
147
|
-
src/utils/uniswap/FixedPoint96.sol
|
|
143
|
+
src/types/PoolState.sol 2ms (unchanged)
|
|
144
|
+
src/utils/AutoSwapper.sol 17ms (unchanged)
|
|
145
|
+
src/utils/DeployedCoinVersionLookup.sol 9ms (unchanged)
|
|
146
|
+
src/utils/MultiOwnable.sol 41ms (unchanged)
|
|
147
|
+
src/utils/uniswap/BitMath.sol 12ms (unchanged)
|
|
148
|
+
src/utils/uniswap/BytesLib.sol 12ms (unchanged)
|
|
149
|
+
src/utils/uniswap/CustomRevert.sol 36ms (unchanged)
|
|
150
|
+
src/utils/uniswap/FixedPoint96.sol 2ms (unchanged)
|
|
148
151
|
src/utils/uniswap/FullMath.sol 21ms (unchanged)
|
|
149
|
-
src/utils/uniswap/LiquidityAmounts.sol
|
|
150
|
-
src/utils/uniswap/Path.sol
|
|
152
|
+
src/utils/uniswap/LiquidityAmounts.sol 43ms (unchanged)
|
|
153
|
+
src/utils/uniswap/Path.sol 5ms (unchanged)
|
|
151
154
|
src/utils/uniswap/SafeCast.sol 11ms (unchanged)
|
|
152
|
-
src/utils/uniswap/SqrtPriceMath.sol
|
|
153
|
-
src/utils/uniswap/TickMath.sol
|
|
155
|
+
src/utils/uniswap/SqrtPriceMath.sol 66ms (unchanged)
|
|
156
|
+
src/utils/uniswap/TickMath.sol 67ms (unchanged)
|
|
154
157
|
src/utils/uniswap/UnsafeMath.sol 2ms (unchanged)
|
|
155
158
|
src/version/ContractVersionBase.sol 1ms (unchanged)
|
|
156
|
-
src/ZoraFactoryImpl.sol
|
|
157
|
-
test/AutoSwapper.t.sol
|
|
158
|
-
test/Coin.t.sol
|
|
159
|
-
test/CoinDopplerUniV3.t.sol
|
|
160
|
-
test/CoinUniV4.t.sol
|
|
161
|
-
test/CreatorCoin.t.sol
|
|
162
|
-
test/DeploymentHooks.t.sol
|
|
163
|
-
test/Factory.t.sol
|
|
164
|
-
test/HooksDeployment.t.sol
|
|
165
|
-
test/LiquidityMigration.t.sol
|
|
166
|
-
test/mocks/MockERC20.sol
|
|
167
|
-
test/MultiOwnable.t.sol
|
|
168
|
-
test/Upgrades.t.sol
|
|
169
|
-
test/utils/BaseTest.sol
|
|
170
|
-
test/utils/ContractAddresses.sol
|
|
171
|
-
test/utils/DeployedCoinVersionLookup.t.sol
|
|
172
|
-
test/utils/FeeEstimatorHook.sol
|
|
173
|
-
test/utils/ProtocolRewards.sol
|
|
174
|
-
test/utils/ProxyShim.sol
|
|
175
|
-
script/Deploy.s.sol
|
|
176
|
-
script/DeployAutoSwapper.s.sol
|
|
177
|
-
script/DeployDevFactory.s.sol
|
|
178
|
-
script/DeployPostDeploymentHooks.s.sol
|
|
179
|
-
script/DeployUpgradeGate.s.sol
|
|
159
|
+
src/ZoraFactoryImpl.sol 162ms (unchanged)
|
|
160
|
+
test/AutoSwapper.t.sol 36ms (unchanged)
|
|
161
|
+
test/Coin.t.sol 327ms (unchanged)
|
|
162
|
+
test/CoinDopplerUniV3.t.sol 122ms (unchanged)
|
|
163
|
+
test/CoinUniV4.t.sol 334ms (unchanged)
|
|
164
|
+
test/CreatorCoin.t.sol 149ms (unchanged)
|
|
165
|
+
test/DeploymentHooks.t.sol 102ms (unchanged)
|
|
166
|
+
test/Factory.t.sol 179ms (unchanged)
|
|
167
|
+
test/HooksDeployment.t.sol 28ms (unchanged)
|
|
168
|
+
test/LiquidityMigration.t.sol 91ms (unchanged)
|
|
169
|
+
test/mocks/MockERC20.sol 4ms (unchanged)
|
|
170
|
+
test/MultiOwnable.t.sol 82ms (unchanged)
|
|
171
|
+
test/Upgrades.t.sol 127ms (unchanged)
|
|
172
|
+
test/utils/BaseTest.sol 172ms (unchanged)
|
|
173
|
+
test/utils/ContractAddresses.sol 4ms (unchanged)
|
|
174
|
+
test/utils/DeployedCoinVersionLookup.t.sol 41ms (unchanged)
|
|
175
|
+
test/utils/FeeEstimatorHook.sol 27ms (unchanged)
|
|
176
|
+
test/utils/ProtocolRewards.sol 323ms (unchanged)
|
|
177
|
+
test/utils/ProxyShim.sol 6ms (unchanged)
|
|
178
|
+
script/Deploy.s.sol 4ms (unchanged)
|
|
179
|
+
script/DeployAutoSwapper.s.sol 8ms (unchanged)
|
|
180
|
+
script/DeployDevFactory.s.sol 5ms (unchanged)
|
|
181
|
+
script/DeployPostDeploymentHooks.s.sol 4ms (unchanged)
|
|
182
|
+
script/DeployUpgradeGate.s.sol 6ms (unchanged)
|
|
180
183
|
script/GenerateDeterministicParams.s.sol 14ms (unchanged)
|
|
181
|
-
script/PrintRegisterUpgradePath.s.sol
|
|
184
|
+
script/PrintRegisterUpgradePath.s.sol 13ms (unchanged)
|
|
182
185
|
script/PrintUpgradeCommand.s.sol 2ms (unchanged)
|
|
183
|
-
script/Simulate.s.sol
|
|
184
|
-
script/TestBackingCoinSwap.s.sol
|
|
185
|
-
script/TestV4Swap.s.sol
|
|
186
|
-
script/UpgradeCoinImpl.sol
|
|
187
|
-
script/UpgradeFactoryImpl.s.sol
|
|
188
|
-
script/UpgradeHooks.s.sol
|
|
186
|
+
script/Simulate.s.sol 12ms (unchanged)
|
|
187
|
+
script/TestBackingCoinSwap.s.sol 38ms (unchanged)
|
|
188
|
+
script/TestV4Swap.s.sol 35ms (unchanged)
|
|
189
|
+
script/UpgradeCoinImpl.sol 5ms (unchanged)
|
|
190
|
+
script/UpgradeFactoryImpl.s.sol 8ms (unchanged)
|
|
191
|
+
script/UpgradeHooks.s.sol 4ms (unchanged)
|
|
189
192
|
[34mCLI[39m Building entry: package/index.ts
|
|
190
193
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
191
194
|
[34mCLI[39m tsup v8.4.0
|
|
@@ -194,9 +197,9 @@ script/UpgradeHooks.s.sol 3ms (unchanged)
|
|
|
194
197
|
[34mCLI[39m Cleaning output folder
|
|
195
198
|
[34mCJS[39m Build start
|
|
196
199
|
[34mESM[39m Build start
|
|
197
|
-
[32mESM[39m [1mdist/index.js [22m[32m128.93 KB[39m
|
|
198
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m231.01 KB[39m
|
|
199
|
-
[32mESM[39m ⚡️ Build success in 42ms
|
|
200
200
|
[32mCJS[39m [1mdist/index.cjs [22m[32m130.34 KB[39m
|
|
201
201
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m231.16 KB[39m
|
|
202
202
|
[32mCJS[39m ⚡️ Build success in 43ms
|
|
203
|
+
[32mESM[39m [1mdist/index.js [22m[32m128.93 KB[39m
|
|
204
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m231.01 KB[39m
|
|
205
|
+
[32mESM[39m ⚡️ Build success in 42ms
|
package/CHANGELOG.md
CHANGED
package/LICENSE
CHANGED
|
@@ -1,21 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
License
|
|
2
|
+
|
|
3
|
+
All source code specified as: SPDX-Identifier: ZORA-DELAYED-OSL-v1
|
|
4
|
+
follows this license.
|
|
5
|
+
|
|
6
|
+
Other licenses are specified on a file by file basis
|
|
7
|
+
|
|
8
|
+
Definitions:
|
|
9
|
+
"Licensed Work" means the software, code, or content distributed under this License,
|
|
10
|
+
including any copies or derivative works thereof.
|
|
11
|
+
|
|
12
|
+
"Licensor" means Zora Labs, Inc., a Delaware corporation.
|
|
13
|
+
|
|
14
|
+
"Commercial Purpose" means any use that generates, or is intended to generate, revenue,
|
|
15
|
+
monetary value, or other commercial benefit, whether through fees, subscriptions, token
|
|
16
|
+
issuance, staking incentives, or other monetization mechanisms.
|
|
17
|
+
|
|
18
|
+
"Competitive Product" means a Product provided for Commercial Purposes, and provides
|
|
19
|
+
functionality substantially similar to or substitutable for, in whole or in part, the
|
|
20
|
+
Licensed Work, and that is made available to third parties directly or indirectly,
|
|
21
|
+
whether operated independently or as part of a broader offering.
|
|
22
|
+
|
|
23
|
+
"Product" means any software application, protocol, service, or system that (i) makes
|
|
24
|
+
the Licensed Work (or any derivative work thereof) available for third-party
|
|
25
|
+
interaction, directly or indirectly, including but not limited to through interfaces,
|
|
26
|
+
middleware, aggregators, composable integrations, or smart contract deployment; (ii)
|
|
27
|
+
uses the Licensed Work (or any derivative work thereof) in a production environment or
|
|
28
|
+
mainnet context; (iii) integrates or incorporates the Licensed Work as part of a
|
|
29
|
+
broader software or financial service offering; or (iv) is operated for a Commercial
|
|
30
|
+
Purpose, whether or not publicly accessible.
|
|
31
|
+
|
|
32
|
+
"Open Date" means the earlier of: (i) the third anniversary of the first public
|
|
33
|
+
distribution of the Licensed Work, and (ii) the date specified by the Licensor as the
|
|
34
|
+
official date the Licensed Work shall become available under the MIT License.
|
|
35
|
+
|
|
36
|
+
Terms:
|
|
37
|
+
|
|
38
|
+
The Licensor hereby grants you a non-exclusive, non-transferable, worldwide,
|
|
39
|
+
royalty-free license to (i) use, copy, modify, and create derivative works of the
|
|
40
|
+
Licensed Work; (ii) distribute the Licensed Work (or any derivative works thereof), in
|
|
41
|
+
each of (i) and (ii), solely for purposes other than (a) Commercial Purposes, or (b) as
|
|
42
|
+
a Competitive Product. You are not granted rights to, and you may not exploit, the
|
|
43
|
+
Licensed Work for Commercial Purposes or as a Competitive Product. For the avoidance of
|
|
44
|
+
doubt, deploying modified versions of the Licensed Work that preserve the core
|
|
45
|
+
functionality or interface of the Licensed Work shall be considered a derivative work
|
|
46
|
+
and subject to this License. This License governs your use even if you receive the
|
|
47
|
+
Licensed Work from a third party, whether in its original form or in a derivative or
|
|
48
|
+
modified form.
|
|
49
|
+
|
|
50
|
+
You must retain, in all copies and substantial portions of the Licensed Work and in all
|
|
51
|
+
derivative works, (i) all copyright notices, author credits, and licensing notices
|
|
52
|
+
included by the Licensor, and (ii) a notice stating, "This software includes original
|
|
53
|
+
work licensed under the Delayed Open Source License by Zora Labs, Inc."
|
|
54
|
+
|
|
55
|
+
Your rights under this License terminate immediately for all versions of the Licensed
|
|
56
|
+
Work if you violate its terms.
|
|
57
|
+
|
|
58
|
+
THE LICENSED WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
59
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR
|
|
60
|
+
A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
61
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
62
|
+
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE LICENSED
|
|
63
|
+
WORK OR THE USE OR OTHER DEALINGS IN THE LICENSED WORK.
|
|
64
|
+
|
|
65
|
+
Effective on the Open Date, the Licensed Work becomes available under the MIT License
|
|
66
|
+
(attached hereto as Appendix A).
|
|
67
|
+
|
|
68
|
+
Contact:
|
|
69
|
+
|
|
70
|
+
To request written consent for unlicensed uses, please contact: support@zora.co
|
|
71
|
+
|
|
72
|
+
Appendix A – MIT License
|
|
73
|
+
|
|
74
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
|
75
|
+
software and associated documentation files (the "Software"), to deal in the Software
|
|
76
|
+
without restriction, including without limitation the rights to use, copy, modify,
|
|
77
|
+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
|
|
78
|
+
permit persons to whom the Software is furnished to do so, subject to the following
|
|
79
|
+
conditions:
|
|
80
|
+
|
|
81
|
+
The above copyright notice and this permission notice shall be included in all copies
|
|
82
|
+
or substantial portions of the Software.
|
|
83
|
+
|
|
84
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
85
|
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
86
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
87
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
88
|
+
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
|
89
|
+
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
90
|
+
|
package/package.json
CHANGED
package/src/BaseCoin.sol
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
2
|
-
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/licensepragma solidity ^0.8.23;
|
|
3
8
|
|
|
4
9
|
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
|
5
10
|
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
|
package/src/Coin.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
package/src/CoinV4.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {IPoolManager, PoolKey, Currency, IHooks} from "@uniswap/v4-core/src/interfaces/IPoolManager.sol";
|
package/src/CreatorCoin.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.28;
|
|
3
9
|
|
|
4
10
|
import {ICreatorCoin} from "./interfaces/ICreatorCoin.sol";
|
package/src/ZoraFactoryImpl.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {Clones} from "@openzeppelin/contracts/proxy/Clones.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {BaseHook} from "@uniswap/v4-periphery/src/utils/BaseHook.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.28;
|
|
3
9
|
|
|
4
10
|
import {IPoolManager, IDeployedCoinVersionLookup, IHasRewardsRecipients, Currency, BaseZoraV4CoinHook} from "./BaseZoraV4CoinHook.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.28;
|
|
3
9
|
|
|
4
10
|
import {CreatorCoinConstants} from "../libs/CreatorCoinConstants.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {IHooksUpgradeGate} from "../interfaces/IHooksUpgradeGate.sol";
|
package/src/libs/CoinCommon.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {PoolKey} from "@uniswap/v4-core/src/types/PoolKey.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {CoinConstants} from "./CoinConstants.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
library CoinConstants {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {PoolConfiguration} from "../interfaces/ICoin.sol";
|
package/src/libs/CoinRewards.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.28;
|
|
3
9
|
|
|
4
10
|
import {PoolKey} from "@uniswap/v4-core/src/types/PoolKey.sol";
|
package/src/libs/CoinSetup.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {PoolConfigurationV4} from "../interfaces/ICoin.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
library CreatorCoinConstants {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.28;
|
|
3
9
|
|
|
4
10
|
import {ICreatorCoinHook} from "../interfaces/ICreatorCoinHook.sol";
|
package/src/libs/DopplerMath.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.24;
|
|
3
9
|
|
|
4
10
|
import {IDopplerErrors} from "../interfaces/IDopplerErrors.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {Hooks} from "@uniswap/v4-core/src/libraries/Hooks.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {StateLibrary} from "@uniswap/v4-core/src/libraries/StateLibrary.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {PoolKey} from "@uniswap/v4-core/src/types/PoolKey.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {Currency} from "@uniswap/v4-core/src/types/Currency.sol";
|
package/src/libs/V4Liquidity.sol
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
import {TickMath} from "@uniswap/v4-core/src/libraries/TickMath.sol";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.23;
|
|
3
9
|
|
|
4
10
|
/// @notice The configuration of the pool
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
// SPDX-License-Identifier:
|
|
1
|
+
// SPDX-License-Identifier: ZORA-DELAYED-OSL-v1
|
|
2
|
+
// This software is licensed under the Zora Delayed Open Source License.
|
|
3
|
+
// Under this license, you may use, copy, modify, and distribute this software for
|
|
4
|
+
// non-commercial purposes only. Commercial use and competitive products are prohibited
|
|
5
|
+
// until the "Open Date" (3 years from first public distribution or earlier at Zora's discretion),
|
|
6
|
+
// at which point this software automatically becomes available under the MIT License.
|
|
7
|
+
// Full license terms available at: https://docs.zora.co/coins/license
|
|
2
8
|
pragma solidity ^0.8.28;
|
|
3
9
|
|
|
4
10
|
import {ISwapRouter} from "@zoralabs/shared-contracts/interfaces/uniswap/ISwapRouter.sol";
|
|
@@ -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 "1.1.
|
|
12
|
+
return "1.1.2";
|
|
13
13
|
}
|
|
14
14
|
}
|