-
Notifications
You must be signed in to change notification settings - Fork 5
/
fork-test-output.txt
392 lines (389 loc) · 64.5 KB
/
fork-test-output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
TestBalEth
join BAL:ETH 80/20 pool with BAL
✓ transfer BAL to contract
✓ add BAL to pool
✓ fails if incorrect minout passed
✓ fails if slippage not met (large deposit)
Full Deployment
Phase 1
DEPLOY-Phase 1
verifying config
✓ VoterProxy has correct config
Phase 2
DEPLOY-Phase 2
verifying config
✓ VotingProxy has correct config
✓ Aura Token has correct config
✓ Contracts have correct Aura balance
✓ Aura Minter has correct config
✓ Booster has correct config
✓ Booster Owner has correct config
✓ factories have correct config
✓ arbitrator vault has correct config
✓ CvxCrv has correct config
✓ CvxCrvBpt has correct config
✓ CvxCrvRewards has correct config
✓ InitialCvxCrvStaking has correct config
✓ CrvDepositor has correct config
✓ crvDepositorWrapper has correct config
✓ poolManagerProxy has correct config
✓ poolManagerSecondaryProxy has correct config
✓ poolManager has correct config
✓ Aura Locker has correct config
✓ Aura staking proxy has correct config
✓ Chef has correct config
✓ VestedEscrows have correct config
✓ Drops have correct config
✓ LbpBPT has correct config
✓ balLiquidityProvider has correct config
✓ penaltyForwarder has correct config
✓ extraRewardsDistributor has correct config
POST-Phase 2
✓ allows treasuryDAO to update weights gradually
✓ allows treasuryDAO to set swaps
TEST-Phase 2
✓ doesn't allow dao to set more than 10k votes on gaugeController
✓ allows dao to vote on gauge weights
✓ doesn't allow dao to set votes again so quickly on gaugeController
✓ allows dao to setVotes for Snapshot
✓ doesn't allow pools to be added or rewards earmarked
✓ doesn't add feeInfo to Booster
✓ executes some swaps
✓ allows AURA holders to stake in vlAURA
Phase 3
PRE-Phase 3
✓ allows treasuryDAO to withdraw LBP units
✓ treasuryDAO sends weth to liq provider
✓ treasuryDAO sends aura to liq provider
DEPLOY-Phase 3
verifying config
✓ creates the 8020 pool successfully
POST-Phase 3
✓ allows initial auraBAL rewards to be initialised
TEST-Phase 3
minting cvxCrv etc
✓ allows users to wrap crvBpt to cvxCrv
✓ allows users to wrap crv via the crvDepositorWrapper
✓ allows deposits to cvxCrv staking
✓ allows users to claim and lock from cvxCrv staking
✓ allows users to claim directly from cvxCrv staking with penalty
✓ allows anyone to forward the penalty
merkle drops
✓ doesn't allow just anyone to claim a merkle drop
✓ allows users to claim merkle drops
vesting
✓ allows users to claim vesting
chef
✓ allows users to deposit BPT for chef rewards
✓ allows users to claim said rewards
Phase 4
PRE-Phase 4
✓ only allows daoMultisig to set protect pool to false
✓ only allows daoMultisig to set Fee info (bbaUSD)
✓ only allows daoMultisig to set Fee info (native token)
DEPLOY-Phase 4
verifying config
✓ has correct config for feeCollector
✓ has correct config for claimZap
✓ adds the pools
✓ extraRewardsStash has correct config
TEST-Phase 4
stash tests
✓ extraRewardsStash actually processes reward tokens
✓ allows NEW rewards to be added to extraRewardsStash and claimed
claimZap tests
✓ set approval for deposits
✓ claim rewards from cvxCrvStaking
booster & deposits
✓ allow deposit into pool via Booster
✓ allows auraBPT deposits directly into the reward pool
✓ allows BPT deposits directly into the reward pool
✓ allows withdrawals directly from the pool 4626
✓ allows withdrawals directly from the pool normal
✓ allows earmarking of fees ($BAL)
✓ allows earmarking of fees ($bb-a-USD)
✓ allows earmarking of rewards
✓ pays out a premium to the caller
✓ allows users to earn $BAl and $AURA
✓ allows conversion of rewards via AuraStakingProxy
admin etc
✓ does not allow a duplicate pool to be added
✓ allows a pool to be shut down
✓ allows the fee rates to be set
✓ does not allow the system to be shut down
✓ does not allow a fee info to be added that has a gauge
✓ allows a fee to be disabled
boosterOwner
✓ does not allow boosterOwner to revert control
✓ allows boosterOwner owner to be changed
✓ allows boosterOwner to call all fns on booster
crv depositor
✓ allows BPT deposits
✓ pays out the incentives to the caller
aura locker
✓ allows users to lock aura
✓ allows users to delegate voting power
✓ allows users to re-delegate
✓ has votes after checkpoint
✓ allows users to claim rewards
Phase X
1 month later
✓ allows any penalty to be forwarded to aura lockers via ExtraRewardDistributor
3 months later
✓ allows users to unlock from auraLocker
✓ allows users to relock a week before finish
✓ allows users to be kicked for a fee from auraLocker
·------------------------------------------------------------------------------------|---------------------------|-------------|-----------------------------·
| Solc version: 0.6.12 · Optimizer enabled: true · Runs: 800 · Block limit: 30000000 gas │
·····················································································|···························|·············|······························
| Methods │
····························································|························|·············|·············|·············|···············|··············
| Contract · Method · Min · Max · Avg · # calls · usd (avg) │
····························································|························|·············|·············|·············|···············|··············
| @openzeppelin/contracts-0.6/token/ERC20/ERC20.sol:ERC20 · approve · 46064 · 75906 · 47437 · 26 · - │
····························································|························|·············|·············|·············|···············|··············
| @openzeppelin/contracts-0.6/token/ERC20/ERC20.sol:ERC20 · transfer · 34799 · 136167 · 54589 · 38 · - │
····························································|························|·············|·············|·············|···············|··············
| ArbitratorVault · setOperator · 26867 · 46212 · 36540 · 4 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraBalRewardPool · forwardPenalty · - · - · 56574 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraBalRewardPool · getReward · 109343 · 243255 · 176299 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraBalRewardPool · initialiseRewards · - · - · 94481 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraBalRewardPool · stake · - · - · 117164 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraClaimZap · claimRewards · - · - · 709554 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraClaimZap · setApprovals · 63877 · 123577 · 103677 · 3 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · addReward · - · - · 113543 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · checkpointEpoch · - · - · 52998 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · delegate · 116031 · 122758 · 119395 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · getReward · - · - · 108238 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · getReward · - · - · 68050 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · kickExpiredLocks · - · - · 132211 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · lock · 177773 · 211387 · 194580 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · processExpiredLocks · 99897 · 527211 · 313554 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · setApprovals · - · - · 55243 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraLocker · transferOwnership · - · - · 28620 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraMerkleDrop · claim · - · - · 193453 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraMerkleDrop · setRoot · - · - · 47203 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraPenaltyForwarder · forward · - · - · 186642 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraStakingProxy · applyPendingOwner · - · - · 26826 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraStakingProxy · distribute · 815368 · 889762 · 852565 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraStakingProxy · setApprovals · - · - · 93864 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraStakingProxy · setPendingOwner · - · - · 46104 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraToken · approve · 46292 · 46304 · 46296 · 14 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraToken · init · - · - · 104357 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraToken · transfer · 29696 · 51572 · 47124 · 12 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraVestedEscrow · claim · - · - · 84885 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| AuraVestedEscrow · fund · 91631 · 291503 · 146589 · 10 · - │
····························································|························|·············|·············|·············|···············|··············
| BalLiquidityProvider · provideLiquidity · - · - · 270410 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| BaseRewardPool · getReward · 371049 · 377925 · 374487 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| BaseRewardPool · withdraw · - · - · 97382 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| BaseRewardPool4626 · deposit · 489011 · 581866 · 535439 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| BaseRewardPool4626 · withdraw · - · - · 416888 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · deposit · - · - · 463358 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · earmarkFees · 608662 · 697251 · 652957 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · earmarkRewards · 486690 · 2080708 · 1137222 · 8 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setArbitrator · - · - · 47091 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setFactories · - · - · 92904 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setFeeManager · - · - · 27969 · 3 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setFees · 41735 · 63647 · 52691 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setOwner · 26936 · 28036 · 27486 · 4 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setPoolManager · - · - · 28013 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setRewardContracts · - · - · 70021 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setVote · - · - · 53152 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · setVoteDelegate · - · - · 27991 · 3 · - │
····························································|························|·············|·············|·············|···············|··············
| Booster · voteGaugeWeight · - · - · 416095 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · acceptOwnership · - · - · 32593 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · setArbitrator · - · - · 30264 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · setFactories · - · - · 33487 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · setFeeInfo · 90508 · 1085362 · 587935 · 4 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · setFeeManager · - · - · 33305 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · setVoteDelegate · - · - · 28264 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · transferOwnership · 29977 · 29989 · 29983 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| BoosterOwner · updateFeeInfo · 38031 · 38043 · 38035 · 3 · - │
····························································|························|·············|·············|·············|···············|··············
| ConvexMasterChef · add · - · - · 139817 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| ConvexMasterChef · claim · - · - · 128573 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| ConvexMasterChef · deposit · - · - · 95845 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| ConvexMasterChef · transferOwnership · - · - · 28756 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositor · deposit · 269154 · 451392 · 360273 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositor · deposit · 363209 · 654715 · 508962 · 4 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositor · depositFor · - · - · 429531 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositor · initialLock · - · - · 520523 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositor · lockCurve · - · - · 317206 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositor · setFeeManager · - · - · 26934 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositorWrapper · deposit · - · - · 487579 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| CrvDepositorWrapper · setApprovals · - · - · 108343 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| cvxCrvToken · approve · - · - · 46206 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| cvxCrvToken · setOperator · - · - · 26933 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| DepositToken · approve · - · - · 46194 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| ExtraRewardsDistributor · getReward · - · - · 103009 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| MockBalancerVault · joinPool · 276135 · 285487 · 280811 · 4 · - │
····························································|························|·············|·············|·············|···············|··············
| MockBalancerVault · swap · 109626 · 136257 · 119857 · 22 · - │
····························································|························|·············|·············|·············|···············|··············
| MockBalInvestor · addBalToPool · 185047 · 207482 · 200004 · 3 · - │
····························································|························|·············|·············|·············|···············|··············
| MockBalInvestor · approveToken · - · - · 80624 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| MockCurveGauge · add_reward · - · - · 76066 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| MockCurveGauge · deposit_reward_token · 162976 · 173481 · 168229 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| MockERC20 · approve · - · - · 46586 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| MockWalletChecker · approveWallet · - · - · 43852 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| PoolManagerProxy · setOperator · - · - · 28889 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| PoolManagerProxy · setOwner · - · - · 21806 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| PoolManagerSecondaryProxy · setOperator · - · - · 28867 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| PoolManagerSecondaryProxy · setOwner · - · - · 26869 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| PoolManagerV3 · addPool · 3303472 · 3348012 · 3341999 · 16 · - │
····························································|························|·············|·············|·············|···············|··············
| PoolManagerV3 · setProtectPool · - · - · 26590 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| PoolManagerV3 · shutdownPool · - · - · 94472 · 1 · - │
····························································|························|·············|·············|·············|···············|··············
| StashFactoryV2 · setImplementation · - · - · 53955 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| VoterProxy · setDepositor · - · - · 46011 · 2 · - │
····························································|························|·············|·············|·············|···············|··············
| Deployments · · % of limit · │
·····················································································|·············|·············|·············|···············|··············
| ArbitratorVault · - · - · 479279 · 1.6 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraBalRewardPool · - · - · 1283044 · 4.3 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraClaimZap · - · - · 1175795 · 3.9 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraLocker · - · - · 4663915 · 15.5 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraMerkleDrop · 1195095 · 1195107 · 1195103 · 4 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraMinter · - · - · 339767 · 1.1 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraPenaltyForwarder · - · - · 571667 · 1.9 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraStakingProxy · - · - · 1348401 · 4.5 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraToken · - · - · 1093839 · 3.6 % · - │
·····················································································|·············|·············|·············|···············|··············
| AuraVestedEscrow · 1095358 · 1115486 · 1107938 · 3.7 % · - │
·····················································································|·············|·············|·············|···············|··············
| BalLiquidityProvider · - · - · 1175378 · 3.9 % · - │
·····················································································|·············|·············|·············|···············|··············
| BaseRewardPool · - · - · 1584471 · 5.3 % · - │
·····················································································|·············|·············|·············|···············|··············
| Booster · - · - · 4015022 · 13.4 % · - │
·····················································································|·············|·············|·············|···············|··············
| BoosterOwner · - · - · 1523029 · 5.1 % · - │
·····················································································|·············|·············|·············|···············|··············
| ClaimFeesHelper · - · - · 385512 · 1.3 % · - │
·····················································································|·············|·············|·············|···············|··············
| ConvexMasterChef · - · - · 1573405 · 5.2 % · - │
·····················································································|·············|·············|·············|···············|··············
| CrvDepositor · - · - · 1435506 · 4.8 % · - │
·····················································································|·············|·············|·············|···············|··············
| CrvDepositorWrapper · - · - · 1045917 · 3.5 % · - │
·····················································································|·············|·············|·············|···············|··············
| cvxCrvToken · - · - · 944466 · 3.1 % · - │
·····················································································|·············|·············|·············|···············|··············
| ExtraRewardsDistributor · - · - · 1085404 · 3.6 % · - │
·····················································································|·············|·············|·············|···············|··············
| ExtraRewardStashV3 · - · - · 1049443 · 3.5 % · - │
·····················································································|·············|·············|·············|···············|··············
| MockBalInvestor · - · - · 903681 · 3 % · - │
·····················································································|·············|·············|·············|···············|··············
| MockERC20 · - · - · 756089 · 2.5 % · - │
·····················································································|·············|·············|·············|···············|··············
| MockFeeDistributor · - · - · 282700 · 0.9 % · - │
·····················································································|·············|·············|·············|···············|··············
| MockWalletChecker · - · - · 122593 · 0.4 % · - │
·····················································································|·············|·············|·············|···············|··············
| PoolManagerProxy · - · - · 488339 · 1.6 % · - │
·····················································································|·············|·············|·············|···············|··············
| PoolManagerSecondaryProxy · - · - · 826061 · 2.8 % · - │
·····················································································|·············|·············|·············|···············|··············
| PoolManagerV3 · - · - · 452599 · 1.5 % · - │
·····················································································|·············|·············|·············|···············|··············
| ProxyFactory · - · - · 106127 · 0.4 % · - │
·····················································································|·············|·············|·············|···············|··············
| RewardFactory · - · - · 3734040 · 12.4 % · - │
·····················································································|·············|·············|·············|···············|··············
| StashFactoryV2 · - · - · 586375 · 2 % · - │
·····················································································|·············|·············|·············|···············|··············
| TokenFactory · - · - · 1496902 · 5 % · - │
·------------------------------------------------------------------------------------|-------------|-------------|-------------|---------------|-------------·
99 passing (3m)