@zoralabs/coins 2.3.0 → 2.3.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$colon$js.log +116 -97
- package/CHANGELOG.md +7 -1
- package/README.md +1 -0
- package/abis/AddressConstants.json +7 -0
- package/abis/BaseTest.json +62 -0
- package/abis/BuySupplyWithV4SwapHook.json +429 -0
- package/abis/IUniswapV4Router04.json +484 -0
- package/abis/MockAirlock.json +39 -0
- package/abis/SimpleERC20.json +326 -0
- package/addresses/8453.json +7 -9
- package/audits/report-cantinacode-zora-1021.pdf +0 -0
- package/dist/index.cjs +140 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +139 -18
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +205 -28
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +139 -18
- package/package.json +1 -1
- package/script/DeployPostDeploymentHooks.s.sol +1 -3
- package/src/deployment/CoinsDeployerBase.sol +9 -8
- package/src/hooks/deployment/BuySupplyWithV4SwapHook.sol +310 -0
- package/src/utils/AutoSwapper.sol +1 -1
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/BuySupplyWithV4SwapHook.t.sol +509 -0
- package/test/Coin.t.sol +21 -9
- package/test/CoinUniV4.t.sol +1 -2
- package/test/ContentCoinRewards.t.sol +1 -3
- package/test/CreatorCoin.t.sol +1 -4
- package/test/CreatorCoinRewards.t.sol +1 -3
- package/test/Factory.t.sol +3 -3
- package/test/MultiOwnable.t.sol +4 -4
- package/test/Upgrades.t.sol +26 -17
- package/test/ZoraHookRegistry.t.sol +19 -9
- package/test/mocks/MockAirlock.sol +22 -0
- package/test/mocks/SimpleERC20.sol +8 -0
- package/test/utils/BaseTest.sol +155 -2
- package/test/utils/hookmate/README.md +50 -0
- package/test/utils/hookmate/artifacts/DeployHelper.sol +20 -0
- package/test/utils/hookmate/artifacts/Permit2.sol +16 -0
- package/test/utils/hookmate/artifacts/UniversalRouter.sol +29 -0
- package/test/utils/hookmate/artifacts/V4PoolManager.sol +17 -0
- package/test/utils/hookmate/artifacts/V4PositionManager.sol +23 -0
- package/test/utils/hookmate/artifacts/V4Quoter.sol +17 -0
- package/test/utils/hookmate/artifacts/V4Router.sol +18 -0
- package/test/utils/hookmate/constants/AddressConstants.sol +193 -0
- package/test/utils/hookmate/interfaces/router/IUniswapV4Router04.sol +173 -0
- package/test/utils/hookmate/interfaces/router/PathKey.sol +34 -0
- package/test/utils/hookmate/test/utils/SwapFeeEventAsserter.sol +24 -0
- package/wagmi.config.ts +1 -1
- package/src/utils/uniswap/BytesLib.sol +0 -35
- package/src/utils/uniswap/Path.sol +0 -31
- /package/abis/{VmContractHelper226.json → VmContractHelper239.json} +0 -0
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
> @zoralabs/coins@2.3.
|
|
2
|
+
> @zoralabs/coins@2.3.1 build:js /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.3.
|
|
6
|
+
> @zoralabs/coins@2.3.1 wagmi:generate /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
7
7
|
> pnpm run build:contracts:minimal && wagmi generate && pnpm exec rename-generated-abi-casing ./package/wagmiGenerated.ts
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> @zoralabs/coins@2.3.
|
|
10
|
+
> @zoralabs/coins@2.3.1 build:contracts:minimal /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
11
11
|
> forge build --skip test --skip script --no-metadata
|
|
12
12
|
|
|
13
|
-
Compiling
|
|
14
|
-
Solc 0.8.28 finished in
|
|
15
|
-
Compiler run successful
|
|
13
|
+
Compiling 224 files with Solc 0.8.28
|
|
14
|
+
Solc 0.8.28 finished in 97.96s
|
|
15
|
+
Compiler run successful with warnings:
|
|
16
|
+
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
|
17
|
+
--> test/utils/BaseTest.sol:440:36:
|
|
18
|
+
|
|
|
19
|
+
440 | function _deployHooksNonForked(address airlockAddress) internal {
|
|
20
|
+
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
21
|
+
|
|
16
22
|
[33m-[39m Validating plugins
|
|
17
23
|
[32m✔[39m Validating plugins
|
|
18
24
|
[33m-[39m Resolving contracts
|
|
@@ -26,116 +32,129 @@ Compiler run successful!
|
|
|
26
32
|
✅ Updated ./package/wagmiGenerated.ts (10 replacements)
|
|
27
33
|
✨ All files processed successfully!
|
|
28
34
|
|
|
29
|
-
> @zoralabs/coins@2.3.
|
|
35
|
+
> @zoralabs/coins@2.3.1 copy-abis /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
30
36
|
> pnpm exec bundle-abis
|
|
31
37
|
|
|
32
38
|
|
|
33
|
-
> @zoralabs/coins@2.3.
|
|
39
|
+
> @zoralabs/coins@2.3.1 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/coins
|
|
34
40
|
> prettier --write 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'
|
|
35
41
|
|
|
36
|
-
src/BaseCoin.sol
|
|
37
|
-
src/ContentCoin.sol
|
|
38
|
-
src/CreatorCoin.sol
|
|
39
|
-
src/deployment/CoinsDeployerBase.sol
|
|
40
|
-
src/hook-registry/ZoraHookRegistry.sol
|
|
41
|
-
src/hooks/deployment/BaseCoinDeployHook.sol
|
|
42
|
-
src/hooks/deployment/BuySupplyWithSwapRouterHook.sol
|
|
43
|
-
src/hooks/
|
|
44
|
-
src/hooks/
|
|
45
|
-
src/
|
|
46
|
-
src/interfaces/
|
|
47
|
-
src/interfaces/
|
|
48
|
-
src/interfaces/
|
|
49
|
-
src/interfaces/
|
|
42
|
+
src/BaseCoin.sol 772ms (unchanged)
|
|
43
|
+
src/ContentCoin.sol 61ms (unchanged)
|
|
44
|
+
src/CreatorCoin.sol 103ms (unchanged)
|
|
45
|
+
src/deployment/CoinsDeployerBase.sol 373ms (unchanged)
|
|
46
|
+
src/hook-registry/ZoraHookRegistry.sol 156ms (unchanged)
|
|
47
|
+
src/hooks/deployment/BaseCoinDeployHook.sol 40ms (unchanged)
|
|
48
|
+
src/hooks/deployment/BuySupplyWithSwapRouterHook.sol 293ms (unchanged)
|
|
49
|
+
src/hooks/deployment/BuySupplyWithV4SwapHook.sol 256ms (unchanged)
|
|
50
|
+
src/hooks/HookUpgradeGate.sol 32ms (unchanged)
|
|
51
|
+
src/hooks/ZoraV4CoinHook.sol 269ms (unchanged)
|
|
52
|
+
src/interfaces/IAirlock.sol 2ms (unchanged)
|
|
53
|
+
src/interfaces/ICoin.sol 27ms (unchanged)
|
|
54
|
+
src/interfaces/ICoinComments.sol 4ms (unchanged)
|
|
55
|
+
src/interfaces/ICoinDeployHook.sol 2ms (unchanged)
|
|
56
|
+
src/interfaces/ICoinV3.sol 5ms (unchanged)
|
|
50
57
|
src/interfaces/ICreatorCoin.sol 2ms (unchanged)
|
|
51
58
|
src/interfaces/ICreatorCoinHook.sol 1ms (unchanged)
|
|
52
59
|
src/interfaces/IDeployedCoinVersionLookup.sol 1ms (unchanged)
|
|
53
60
|
src/interfaces/IDopplerErrors.sol 1ms (unchanged)
|
|
54
61
|
src/interfaces/IERC7572.sol 1ms (unchanged)
|
|
55
|
-
src/interfaces/IHasRewardsRecipients.sol
|
|
62
|
+
src/interfaces/IHasRewardsRecipients.sol 1ms (unchanged)
|
|
56
63
|
src/interfaces/IHooksUpgradeGate.sol 3ms (unchanged)
|
|
57
64
|
src/interfaces/IMsgSender.sol 1ms (unchanged)
|
|
58
|
-
src/interfaces/INonfungiblePositionManager.sol
|
|
65
|
+
src/interfaces/INonfungiblePositionManager.sol 16ms (unchanged)
|
|
59
66
|
src/interfaces/IPoolConfigEncoding.sol 2ms (unchanged)
|
|
60
|
-
src/interfaces/IProtocolRewards.sol
|
|
61
|
-
src/interfaces/ISwapPathRouter.sol
|
|
67
|
+
src/interfaces/IProtocolRewards.sol 4ms (unchanged)
|
|
68
|
+
src/interfaces/ISwapPathRouter.sol 1ms (unchanged)
|
|
62
69
|
src/interfaces/ISwapRouter.sol 1ms (unchanged)
|
|
63
70
|
src/interfaces/IUniswapV3Factory.sol 9ms (unchanged)
|
|
64
|
-
src/interfaces/IUniswapV3Pool.sol
|
|
65
|
-
src/interfaces/IUniswapV3SwapCallback.sol
|
|
66
|
-
src/interfaces/IUpgradeableV4Hook.sol
|
|
67
|
-
src/interfaces/IWETH.sol
|
|
68
|
-
src/interfaces/IZoraFactory.sol
|
|
69
|
-
src/interfaces/IZoraHookRegistry.sol
|
|
70
|
-
src/interfaces/IZoraV4CoinHook.sol
|
|
71
|
-
src/libs/CoinCommon.sol
|
|
72
|
-
src/libs/CoinConfigurationVersions.sol
|
|
73
|
-
src/libs/CoinConstants.sol
|
|
74
|
-
src/libs/CoinDopplerMultiCurve.sol
|
|
75
|
-
src/libs/CoinRewardsV4.sol
|
|
76
|
-
src/libs/CoinSetup.sol
|
|
77
|
-
src/libs/DopplerMath.sol
|
|
78
|
-
src/libs/HooksDeployment.sol
|
|
71
|
+
src/interfaces/IUniswapV3Pool.sol 7ms (unchanged)
|
|
72
|
+
src/interfaces/IUniswapV3SwapCallback.sol 4ms (unchanged)
|
|
73
|
+
src/interfaces/IUpgradeableV4Hook.sol 6ms (unchanged)
|
|
74
|
+
src/interfaces/IWETH.sol 3ms (unchanged)
|
|
75
|
+
src/interfaces/IZoraFactory.sol 12ms (unchanged)
|
|
76
|
+
src/interfaces/IZoraHookRegistry.sol 7ms (unchanged)
|
|
77
|
+
src/interfaces/IZoraV4CoinHook.sol 6ms (unchanged)
|
|
78
|
+
src/libs/CoinCommon.sol 5ms (unchanged)
|
|
79
|
+
src/libs/CoinConfigurationVersions.sol 62ms (unchanged)
|
|
80
|
+
src/libs/CoinConstants.sol 8ms (unchanged)
|
|
81
|
+
src/libs/CoinDopplerMultiCurve.sol 167ms (unchanged)
|
|
82
|
+
src/libs/CoinRewardsV4.sol 228ms (unchanged)
|
|
83
|
+
src/libs/CoinSetup.sol 50ms (unchanged)
|
|
84
|
+
src/libs/DopplerMath.sol 159ms (unchanged)
|
|
85
|
+
src/libs/HooksDeployment.sol 129ms (unchanged)
|
|
79
86
|
src/libs/PoolStateReader.sol 5ms (unchanged)
|
|
80
|
-
src/libs/UniV4SwapHelper.sol
|
|
81
|
-
src/libs/UniV4SwapToCurrency.sol
|
|
82
|
-
src/libs/V4Liquidity.sol
|
|
83
|
-
src/proxy/ZoraFactory.sol
|
|
87
|
+
src/libs/UniV4SwapHelper.sol 49ms (unchanged)
|
|
88
|
+
src/libs/UniV4SwapToCurrency.sol 83ms (unchanged)
|
|
89
|
+
src/libs/V4Liquidity.sol 303ms (unchanged)
|
|
90
|
+
src/proxy/ZoraFactory.sol 9ms (unchanged)
|
|
84
91
|
src/types/LpPosition.sol 1ms (unchanged)
|
|
85
|
-
src/types/PoolConfiguration.sol
|
|
86
|
-
src/types/PoolState.sol
|
|
87
|
-
src/utils/AutoSwapper.sol
|
|
88
|
-
src/utils/DeployedCoinVersionLookup.sol
|
|
89
|
-
src/utils/MultiOwnable.sol
|
|
90
|
-
src/utils/uniswap/BitMath.sol
|
|
91
|
-
src/utils/uniswap/
|
|
92
|
-
src/utils/uniswap/CustomRevert.sol 55ms (unchanged)
|
|
92
|
+
src/types/PoolConfiguration.sol 1ms (unchanged)
|
|
93
|
+
src/types/PoolState.sol 4ms (unchanged)
|
|
94
|
+
src/utils/AutoSwapper.sol 33ms (unchanged)
|
|
95
|
+
src/utils/DeployedCoinVersionLookup.sol 7ms (unchanged)
|
|
96
|
+
src/utils/MultiOwnable.sol 72ms (unchanged)
|
|
97
|
+
src/utils/uniswap/BitMath.sol 9ms (unchanged)
|
|
98
|
+
src/utils/uniswap/CustomRevert.sol 54ms (unchanged)
|
|
93
99
|
src/utils/uniswap/FixedPoint96.sol 1ms (unchanged)
|
|
94
|
-
src/utils/uniswap/FullMath.sol
|
|
95
|
-
src/utils/uniswap/LiquidityAmounts.sol
|
|
96
|
-
src/utils/uniswap/
|
|
97
|
-
src/utils/uniswap/
|
|
98
|
-
src/utils/uniswap/
|
|
99
|
-
src/utils/uniswap/TickMath.sol 117ms (unchanged)
|
|
100
|
+
src/utils/uniswap/FullMath.sol 35ms (unchanged)
|
|
101
|
+
src/utils/uniswap/LiquidityAmounts.sol 83ms (unchanged)
|
|
102
|
+
src/utils/uniswap/SafeCast.sol 26ms (unchanged)
|
|
103
|
+
src/utils/uniswap/SqrtPriceMath.sol 115ms (unchanged)
|
|
104
|
+
src/utils/uniswap/TickMath.sol 118ms (unchanged)
|
|
100
105
|
src/utils/uniswap/UnsafeMath.sol 3ms (unchanged)
|
|
101
106
|
src/version/ContractVersionBase.sol 1ms (unchanged)
|
|
102
|
-
src/ZoraFactoryImpl.sol
|
|
103
|
-
test/AutoSwapper.t.sol
|
|
104
|
-
test/
|
|
105
|
-
test/
|
|
107
|
+
src/ZoraFactoryImpl.sol 213ms (unchanged)
|
|
108
|
+
test/AutoSwapper.t.sol 92ms (unchanged)
|
|
109
|
+
test/BuySupplyWithV4SwapHook.t.sol 254ms (unchanged)
|
|
110
|
+
test/Coin.t.sol 217ms (unchanged)
|
|
111
|
+
test/CoinRewardsV4.t.sol 16ms (unchanged)
|
|
106
112
|
test/CoinUniV4.t.sol 618ms (unchanged)
|
|
107
|
-
test/ContentCoinRewards.t.sol
|
|
108
|
-
test/CreatorCoin.t.sol
|
|
109
|
-
test/CreatorCoinRewards.t.sol
|
|
110
|
-
test/DeploymentHooks.t.sol
|
|
111
|
-
test/Factory.t.sol
|
|
112
|
-
test/HooksDeployment.t.sol
|
|
113
|
-
test/LiquidityMigration.t.sol
|
|
114
|
-
test/mocks/
|
|
115
|
-
test/
|
|
116
|
-
test/
|
|
117
|
-
test/
|
|
113
|
+
test/ContentCoinRewards.t.sol 219ms (unchanged)
|
|
114
|
+
test/CreatorCoin.t.sol 275ms (unchanged)
|
|
115
|
+
test/CreatorCoinRewards.t.sol 188ms (unchanged)
|
|
116
|
+
test/DeploymentHooks.t.sol 147ms (unchanged)
|
|
117
|
+
test/Factory.t.sol 148ms (unchanged)
|
|
118
|
+
test/HooksDeployment.t.sol 49ms (unchanged)
|
|
119
|
+
test/LiquidityMigration.t.sol 406ms (unchanged)
|
|
120
|
+
test/mocks/MockAirlock.sol 4ms (unchanged)
|
|
121
|
+
test/mocks/MockERC20.sol 3ms (unchanged)
|
|
122
|
+
test/mocks/SimpleERC20.sol 2ms (unchanged)
|
|
123
|
+
test/MultiOwnable.t.sol 140ms (unchanged)
|
|
124
|
+
test/Upgrades.t.sol 175ms (unchanged)
|
|
125
|
+
test/utils/BaseTest.sol 392ms (unchanged)
|
|
118
126
|
test/utils/ContractAddresses.sol 3ms (unchanged)
|
|
119
127
|
test/utils/DeployedCoinVersionLookup.t.sol 70ms (unchanged)
|
|
120
|
-
test/utils/FeeEstimatorHook.sol
|
|
121
|
-
test/utils/
|
|
122
|
-
test/utils/
|
|
128
|
+
test/utils/FeeEstimatorHook.sol 45ms (unchanged)
|
|
129
|
+
test/utils/hookmate/artifacts/DeployHelper.sol 12ms (unchanged)
|
|
130
|
+
test/utils/hookmate/artifacts/Permit2.sol 13ms (unchanged)
|
|
131
|
+
test/utils/hookmate/artifacts/UniversalRouter.sol 16ms (unchanged)
|
|
132
|
+
test/utils/hookmate/artifacts/V4PoolManager.sol 7ms (unchanged)
|
|
133
|
+
test/utils/hookmate/artifacts/V4PositionManager.sol 10ms (unchanged)
|
|
134
|
+
test/utils/hookmate/artifacts/V4Quoter.sol 7ms (unchanged)
|
|
135
|
+
test/utils/hookmate/artifacts/V4Router.sol 7ms (unchanged)
|
|
136
|
+
test/utils/hookmate/constants/AddressConstants.sol 69ms (unchanged)
|
|
137
|
+
test/utils/hookmate/interfaces/router/IUniswapV4Router04.sol 25ms (unchanged)
|
|
138
|
+
test/utils/hookmate/interfaces/router/PathKey.sol 17ms (unchanged)
|
|
139
|
+
test/utils/hookmate/test/utils/SwapFeeEventAsserter.sol 20ms (unchanged)
|
|
140
|
+
test/utils/ProtocolRewards.sol 451ms (unchanged)
|
|
141
|
+
test/utils/ProxyShim.sol 10ms (unchanged)
|
|
123
142
|
test/utils/RewardTestHelpers.sol 76ms (unchanged)
|
|
124
|
-
test/V4Liquidity.t.sol
|
|
125
|
-
test/ZoraHookRegistry.t.sol
|
|
126
|
-
script/Deploy.s.sol
|
|
127
|
-
script/DeployAutoSwapper.s.sol
|
|
128
|
-
script/DeployDevFactory.s.sol
|
|
129
|
-
script/DeployPostDeploymentHooks.s.sol
|
|
130
|
-
script/DeployUpgradeGate.s.sol
|
|
131
|
-
script/GenerateDeterministicParams.s.sol
|
|
132
|
-
script/PrintRegisterUpgradePath.s.sol
|
|
133
|
-
script/PrintUpgradeCommand.s.sol
|
|
134
|
-
script/TestBackingCoinSwap.s.sol
|
|
143
|
+
test/V4Liquidity.t.sol 116ms (unchanged)
|
|
144
|
+
test/ZoraHookRegistry.t.sol 223ms (unchanged)
|
|
145
|
+
script/Deploy.s.sol 15ms (unchanged)
|
|
146
|
+
script/DeployAutoSwapper.s.sol 13ms (unchanged)
|
|
147
|
+
script/DeployDevFactory.s.sol 6ms (unchanged)
|
|
148
|
+
script/DeployPostDeploymentHooks.s.sol 11ms (unchanged)
|
|
149
|
+
script/DeployUpgradeGate.s.sol 6ms (unchanged)
|
|
150
|
+
script/GenerateDeterministicParams.s.sol 27ms (unchanged)
|
|
151
|
+
script/PrintRegisterUpgradePath.s.sol 17ms (unchanged)
|
|
152
|
+
script/PrintUpgradeCommand.s.sol 5ms (unchanged)
|
|
153
|
+
script/TestBackingCoinSwap.s.sol 87ms (unchanged)
|
|
135
154
|
script/TestV4Swap.s.sol 67ms (unchanged)
|
|
136
|
-
script/UpgradeCoinImpl.sol
|
|
137
|
-
script/UpgradeFactoryImpl.s.sol
|
|
138
|
-
script/UpgradeHooks.s.sol
|
|
155
|
+
script/UpgradeCoinImpl.sol 8ms (unchanged)
|
|
156
|
+
script/UpgradeFactoryImpl.s.sol 10ms (unchanged)
|
|
157
|
+
script/UpgradeHooks.s.sol 8ms (unchanged)
|
|
139
158
|
[34mCLI[39m Building entry: package/index.ts
|
|
140
159
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
141
160
|
[34mCLI[39m tsup v8.4.0
|
|
@@ -144,9 +163,9 @@ script/UpgradeHooks.s.sol 6ms (unchanged)
|
|
|
144
163
|
[34mCLI[39m Cleaning output folder
|
|
145
164
|
[34mCJS[39m Build start
|
|
146
165
|
[34mESM[39m Build start
|
|
147
|
-
[
|
|
148
|
-
[
|
|
149
|
-
[
|
|
150
|
-
[
|
|
151
|
-
[
|
|
152
|
-
[
|
|
166
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m135.99 KB[39m
|
|
167
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m240.37 KB[39m
|
|
168
|
+
[32mCJS[39m ⚡️ Build success in 93ms
|
|
169
|
+
[32mESM[39m [1mdist/index.js [22m[32m134.57 KB[39m
|
|
170
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m240.22 KB[39m
|
|
171
|
+
[32mESM[39m ⚡️ Build success in 97ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @zoralabs/coins
|
|
2
2
|
|
|
3
|
+
## 2.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3c274d9d: Created a buy supply with v4 hook, for buying initial supply of a creator coin, supporting doing a v3 and v4 swap to buy the creator coin. updated the encoding function for buying initial supply to work with the v3 to v4 swap
|
|
8
|
+
|
|
3
9
|
## 2.3.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -25,7 +31,7 @@
|
|
|
25
31
|
|
|
26
32
|
- d3808d55: Adjust creator coin vesting duration to account for leap years
|
|
27
33
|
|
|
28
|
-
- Changed
|
|
34
|
+
- Changed CREATOR*VESTING_DURATION from 5 * 365 days to 5 \_ 365.25 days
|
|
29
35
|
- Addresses Cantina audit finding about 1.25 day shortfall in 5-year vesting period
|
|
30
36
|
|
|
31
37
|
- b571fe54: Consolidate and clarify coin constants
|
package/README.md
CHANGED
package/abis/BaseTest.json
CHANGED
|
@@ -115,6 +115,13 @@
|
|
|
115
115
|
"outputs": [],
|
|
116
116
|
"stateMutability": "nonpayable"
|
|
117
117
|
},
|
|
118
|
+
{
|
|
119
|
+
"type": "function",
|
|
120
|
+
"name": "setUpNonForked",
|
|
121
|
+
"inputs": [],
|
|
122
|
+
"outputs": [],
|
|
123
|
+
"stateMutability": "nonpayable"
|
|
124
|
+
},
|
|
118
125
|
{
|
|
119
126
|
"type": "function",
|
|
120
127
|
"name": "setUpWithBlockNumber",
|
|
@@ -242,6 +249,56 @@
|
|
|
242
249
|
],
|
|
243
250
|
"stateMutability": "view"
|
|
244
251
|
},
|
|
252
|
+
{
|
|
253
|
+
"type": "event",
|
|
254
|
+
"name": "SlotFound",
|
|
255
|
+
"inputs": [
|
|
256
|
+
{
|
|
257
|
+
"name": "who",
|
|
258
|
+
"type": "address",
|
|
259
|
+
"indexed": false,
|
|
260
|
+
"internalType": "address"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "fsig",
|
|
264
|
+
"type": "bytes4",
|
|
265
|
+
"indexed": false,
|
|
266
|
+
"internalType": "bytes4"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "keysHash",
|
|
270
|
+
"type": "bytes32",
|
|
271
|
+
"indexed": false,
|
|
272
|
+
"internalType": "bytes32"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "slot",
|
|
276
|
+
"type": "uint256",
|
|
277
|
+
"indexed": false,
|
|
278
|
+
"internalType": "uint256"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"anonymous": false
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "event",
|
|
285
|
+
"name": "WARNING_UninitedSlot",
|
|
286
|
+
"inputs": [
|
|
287
|
+
{
|
|
288
|
+
"name": "who",
|
|
289
|
+
"type": "address",
|
|
290
|
+
"indexed": false,
|
|
291
|
+
"internalType": "address"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "slot",
|
|
295
|
+
"type": "uint256",
|
|
296
|
+
"indexed": false,
|
|
297
|
+
"internalType": "uint256"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"anonymous": false
|
|
301
|
+
},
|
|
245
302
|
{
|
|
246
303
|
"type": "event",
|
|
247
304
|
"name": "log",
|
|
@@ -652,5 +709,10 @@
|
|
|
652
709
|
"internalType": "address"
|
|
653
710
|
}
|
|
654
711
|
]
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"type": "error",
|
|
715
|
+
"name": "UnsupportedChainId",
|
|
716
|
+
"inputs": []
|
|
655
717
|
}
|
|
656
718
|
]
|