@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.
@@ -1,14 +1,17 @@
1
1
 
2
- > @zoralabs/coins@1.1.1 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
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.1 wagmi:generate /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
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 219.49s
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.1 copy-abis /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
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.1 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
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 323ms (unchanged)
81
- src/Coin.sol 140ms (unchanged)
82
- src/CoinV4.sol 117ms (unchanged)
83
- src/CreatorCoin.sol 50ms (unchanged)
84
- src/deployment/CoinsDeployerBase.sol 196ms (unchanged)
85
- src/hooks/BaseZoraV4CoinHook.sol 179ms (unchanged)
86
- src/hooks/ContentCoinHook.sol 7ms
87
- src/hooks/CreatorCoinHook.sol 5ms (unchanged)
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 127ms (unchanged)
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 13ms (unchanged)
95
+ src/interfaces/ICoin.sol 9ms (unchanged)
93
96
  src/interfaces/ICoinComments.sol 1ms (unchanged)
94
- src/interfaces/ICoinDeployHook.sol 1ms (unchanged)
95
- src/interfaces/ICoinV3.sol 2ms (unchanged)
96
- src/interfaces/ICoinV4.sol 2ms (unchanged)
97
- src/interfaces/ICreatorCoin.sol 1ms (unchanged)
98
- src/interfaces/ICreatorCoinHook.sol 2ms (unchanged)
99
- src/interfaces/IDeployedCoinVersionLookup.sol 3ms (unchanged)
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 1ms (unchanged)
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 7ms (unchanged)
110
+ src/interfaces/IProtocolRewards.sol 4ms (unchanged)
108
111
  src/interfaces/ISwapPathRouter.sol 2ms (unchanged)
109
- src/interfaces/ISwapRouter.sol 1ms (unchanged)
110
- src/interfaces/IUniswapV3Factory.sol 3ms (unchanged)
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 1ms (unchanged)
113
- src/interfaces/IUpgradeableV4Hook.sol 4ms (unchanged)
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 6ms (unchanged)
119
+ src/interfaces/IZoraV4CoinHook.sol 8ms (unchanged)
117
120
  src/libs/CoinCommon.sol 4ms (unchanged)
118
- src/libs/CoinConfigurationVersions.sol 61ms (unchanged)
121
+ src/libs/CoinConfigurationVersions.sol 83ms (unchanged)
119
122
  src/libs/CoinConstants.sol 4ms (unchanged)
120
- src/libs/CoinDopplerMultiCurve.sol 106ms (unchanged)
123
+ src/libs/CoinDopplerMultiCurve.sol 105ms (unchanged)
121
124
  src/libs/CoinDopplerUniV3.sol 29ms (unchanged)
122
- src/libs/CoinRewards.sol 112ms (unchanged)
123
- src/libs/CoinRewardsV4.sol 98ms (unchanged)
124
- src/libs/CoinSetup.sol 19ms (unchanged)
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 77ms (unchanged)
129
- src/libs/HooksDeployment.sol 94ms (unchanged)
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 5ms (unchanged)
132
- src/libs/UniV3BuySell.sol 77ms (unchanged)
133
- src/libs/UniV3Errors.sol 1ms (unchanged)
134
- src/libs/UniV4SwapHelper.sol 24ms (unchanged)
135
- src/libs/UniV4SwapToCurrency.sol 50ms (unchanged)
136
- src/libs/V4Liquidity.sol 133ms (unchanged)
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 0ms (unchanged)
141
+ src/types/LpPosition.sol 1ms (unchanged)
139
142
  src/types/PoolConfiguration.sol 1ms (unchanged)
140
- src/types/PoolState.sol 1ms (unchanged)
141
- src/utils/AutoSwapper.sol 16ms (unchanged)
142
- src/utils/DeployedCoinVersionLookup.sol 7ms (unchanged)
143
- src/utils/MultiOwnable.sol 37ms (unchanged)
144
- src/utils/uniswap/BitMath.sol 10ms (unchanged)
145
- src/utils/uniswap/BytesLib.sol 11ms (unchanged)
146
- src/utils/uniswap/CustomRevert.sol 37ms (unchanged)
147
- src/utils/uniswap/FixedPoint96.sol 1ms (unchanged)
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 46ms (unchanged)
150
- src/utils/uniswap/Path.sol 8ms (unchanged)
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 58ms (unchanged)
153
- src/utils/uniswap/TickMath.sol 58ms (unchanged)
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 150ms (unchanged)
157
- test/AutoSwapper.t.sol 35ms (unchanged)
158
- test/Coin.t.sol 313ms (unchanged)
159
- test/CoinDopplerUniV3.t.sol 115ms (unchanged)
160
- test/CoinUniV4.t.sol 315ms (unchanged)
161
- test/CreatorCoin.t.sol 140ms (unchanged)
162
- test/DeploymentHooks.t.sol 126ms (unchanged)
163
- test/Factory.t.sol 162ms (unchanged)
164
- test/HooksDeployment.t.sol 26ms (unchanged)
165
- test/LiquidityMigration.t.sol 86ms (unchanged)
166
- test/mocks/MockERC20.sol 3ms (unchanged)
167
- test/MultiOwnable.t.sol 79ms (unchanged)
168
- test/Upgrades.t.sol 120ms (unchanged)
169
- test/utils/BaseTest.sol 167ms (unchanged)
170
- test/utils/ContractAddresses.sol 2ms (unchanged)
171
- test/utils/DeployedCoinVersionLookup.t.sol 40ms (unchanged)
172
- test/utils/FeeEstimatorHook.sol 24ms (unchanged)
173
- test/utils/ProtocolRewards.sol 287ms (unchanged)
174
- test/utils/ProxyShim.sol 3ms (unchanged)
175
- script/Deploy.s.sol 3ms (unchanged)
176
- script/DeployAutoSwapper.s.sol 9ms (unchanged)
177
- script/DeployDevFactory.s.sol 4ms (unchanged)
178
- script/DeployPostDeploymentHooks.s.sol 3ms (unchanged)
179
- script/DeployUpgradeGate.s.sol 5ms (unchanged)
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 10ms (unchanged)
184
+ script/PrintRegisterUpgradePath.s.sol 13ms (unchanged)
182
185
  script/PrintUpgradeCommand.s.sol 2ms (unchanged)
183
- script/Simulate.s.sol 10ms (unchanged)
184
- script/TestBackingCoinSwap.s.sol 34ms (unchanged)
185
- script/TestV4Swap.s.sol 28ms (unchanged)
186
- script/UpgradeCoinImpl.sol 7ms (unchanged)
187
- script/UpgradeFactoryImpl.s.sol 6ms (unchanged)
188
- script/UpgradeHooks.s.sol 3ms (unchanged)
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
  CLI Building entry: package/index.ts
190
193
  CLI Using tsconfig: tsconfig.json
191
194
  CLI tsup v8.4.0
@@ -194,9 +197,9 @@ script/UpgradeHooks.s.sol 3ms (unchanged)
194
197
  CLI Cleaning output folder
195
198
  CJS Build start
196
199
  ESM Build start
197
- ESM dist/index.js 128.93 KB
198
- ESM dist/index.js.map 231.01 KB
199
- ESM ⚡️ Build success in 42ms
200
200
  CJS dist/index.cjs 130.34 KB
201
201
  CJS dist/index.cjs.map 231.16 KB
202
202
  CJS ⚡️ Build success in 43ms
203
+ ESM dist/index.js 128.93 KB
204
+ ESM dist/index.js.map 231.01 KB
205
+ ESM ⚡️ Build success in 42ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zoralabs/coins
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 522a7c33: Update LICENSE for coins
8
+
3
9
  ## 1.1.1
4
10
 
5
11
  ### Patch Changes
package/LICENSE CHANGED
@@ -1,21 +1,90 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Zora Labs
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/coins",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/BaseCoin.sol CHANGED
@@ -1,5 +1,10 @@
1
- // SPDX-License-Identifier: MIT
2
- pragma solidity ^0.8.23;
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: MIT
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: MIT
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";
@@ -1,4 +1,10 @@
1
- // SPDX-License-Identifier: MIT
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";
@@ -1,4 +1,10 @@
1
- // SPDX-License-Identifier: MIT
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: MIT
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: MIT
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: MIT
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: MIT
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";
@@ -1,4 +1,10 @@
1
- // SPDX-License-Identifier: MIT
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: MIT
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: MIT
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: MIT
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";
@@ -1,4 +1,10 @@
1
- // SPDX-License-Identifier: MIT
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: MIT
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";
@@ -1,4 +1,10 @@
1
- // SPDX-License-Identifier: MIT
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: MIT
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: MIT
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";
@@ -1,4 +1,10 @@
1
- // SPDX-License-Identifier: BUSL-1.1
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: MIT
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: MIT
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: MIT
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: MIT
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";
@@ -1,4 +1,10 @@
1
- // SPDX-License-Identifier: MIT
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: MIT
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: MIT
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.1";
12
+ return "1.1.2";
13
13
  }
14
14
  }