diff --git a/.gas-snapshot b/.gas-snapshot new file mode 100644 index 0000000..0f0fbdf --- /dev/null +++ b/.gas-snapshot @@ -0,0 +1,136 @@ +CoreTest:testFail_createRoleFromNonGovernor() (gas: 49863) +CoreTest:testFail_disableWhitelistFromNonGovernor() (gas: 49750) +CoreTest:testFail_pauseFromNonPauser() (gas: 49816) +CoreTest:testFail_registerVaultFromNonGovernor() (gas: 51252) +CoreTest:testFail_removeVaultFromNonGovernor() (gas: 51317) +CoreTest:testFail_setFeeToFromNonGovernor() (gas: 22676) +CoreTest:testFail_setProtocolFeeFromNonGovernor() (gas: 49881) +CoreTest:test_createRole() (gas: 46206) +CoreTest:test_disableWhitelist() (gas: 36589) +CoreTest:test_initParams() (gas: 55697) +CoreTest:test_isWhitelisted() (gas: 132290) +CoreTest:test_pause() (gas: 50271) +CoreTest:test_registerVaults() (gas: 99835) +CoreTest:test_removeVaults() (gas: 78360) +CoreTest:test_revokeLastGovernorRevert() (gas: 44742) +CoreTest:test_revokeSecondLastGovernor() (gas: 93204) +CoreTest:test_setBadFeeTo() (gas: 23095) +CoreTest:test_setBadProtocolFee() (gas: 22961) +CoreTest:test_setFeeTo() (gas: 31056) +CoreTest:test_setProtocolFee() (gas: 47432) +CoreTest:test_unpause() (gas: 47184) +CoreTest:test_whitelistAll() (gas: 190101) +MasterChefV2VaultTest:test_25PercentDecreaseInPrice() (gas: 1237452) +MasterChefV2VaultTest:test_300PercentIncreaseInPrice() (gas: 1237271) +MasterChefV2VaultTest:test_50PercentDecreaseInPrice() (gas: 1237471) +MasterChefV2VaultTest:test_50PercentIncreaseInPrice() (gas: 1237339) +MasterChefV2VaultTest:test_600PercentIncreaseInPrice() (gas: 1237092) +MasterChefV2VaultTest:test_95PercentDecreaseInPrice() (gas: 1233715) +MasterChefV2VaultTest:test_advanceWithNoToken0Deposits() (gas: 355228) +MasterChefV2VaultTest:test_advanceWithNoToken1Deposits() (gas: 357298) +MasterChefV2VaultTest:test_canRescueTokens() (gas: 370927) +MasterChefV2VaultTest:test_claimTwiceInOneEpochRevert() (gas: 492456) +MasterChefV2VaultTest:test_claimZeroAmountRevert() (gas: 44629) +MasterChefV2VaultTest:test_collectProtocolFeeAfterProfit() (gas: 1194668) +MasterChefV2VaultTest:test_depositAcrossMultipleEpochs() (gas: 421295) +MasterChefV2VaultTest:test_depositNonNativeToken0WithValueRevert() (gas: 46500) +MasterChefV2VaultTest:test_depositToken0() (gas: 182348) +MasterChefV2VaultTest:test_depositToken1() (gas: 180376) +MasterChefV2VaultTest:test_depositTwiceInOneEpoch() (gas: 229636) +MasterChefV2VaultTest:test_depositZeroAmountRevert() (gas: 54523) +MasterChefV2VaultTest:test_initParams() (gas: 29138) +MasterChefV2VaultTest:test_nextEpochWithBadReservesRevert() (gas: 239218) +MasterChefV2VaultTest:test_paused() (gas: 62686) +MasterChefV2VaultTest:test_simpleClaim() (gas: 494791) +MasterChefV2VaultTest:test_simpleWithdraw() (gas: 468540) +MasterChefV2VaultTest:test_withdrawAcrossMultipleEpochs() (gas: 583625) +MasterChefV2VaultTest:test_withdrawTooMuch() (gas: 349963) +MasterChefV2VaultTest:test_withdrawTwiceInOneEpoch() (gas: 486297) +MasterChefV2VaultTest:test_withdrawZeroAmountRevert() (gas: 36081) +MasterChefVaultTest:test_25PercentDecreaseInPrice() (gas: 1232704) +MasterChefVaultTest:test_300PercentIncreaseInPrice() (gas: 1229368) +MasterChefVaultTest:test_50PercentDecreaseInPrice() (gas: 1232740) +MasterChefVaultTest:test_50PercentIncreaseInPrice() (gas: 1233894) +MasterChefVaultTest:test_600PercentIncreaseInPrice() (gas: 1227797) +MasterChefVaultTest:test_95PercentDecreaseInPrice() (gas: 1228983) +MasterChefVaultTest:test_advanceWithNoToken0Deposits() (gas: 355206) +MasterChefVaultTest:test_advanceWithNoToken1Deposits() (gas: 357188) +MasterChefVaultTest:test_canRescueTokens() (gas: 370944) +MasterChefVaultTest:test_claimTwiceInOneEpochRevert() (gas: 492438) +MasterChefVaultTest:test_claimZeroAmountRevert() (gas: 44519) +MasterChefVaultTest:test_collectProtocolFeeAfterProfit() (gas: 1189987) +MasterChefVaultTest:test_depositAcrossMultipleEpochs() (gas: 421186) +MasterChefVaultTest:test_depositNonNativeToken0WithValueRevert() (gas: 46522) +MasterChefVaultTest:test_depositToken0() (gas: 182348) +MasterChefVaultTest:test_depositToken1() (gas: 180398) +MasterChefVaultTest:test_depositTwiceInOneEpoch() (gas: 229654) +MasterChefVaultTest:test_depositZeroAmountRevert() (gas: 54523) +MasterChefVaultTest:test_initParams() (gas: 29160) +MasterChefVaultTest:test_nextEpochWithBadReservesRevert() (gas: 239240) +MasterChefVaultTest:test_paused() (gas: 62708) +MasterChefVaultTest:test_simpleClaim() (gas: 494756) +MasterChefVaultTest:test_simpleWithdraw() (gas: 468523) +MasterChefVaultTest:test_withdrawAcrossMultipleEpochs() (gas: 583590) +MasterChefVaultTest:test_withdrawTooMuch() (gas: 349941) +MasterChefVaultTest:test_withdrawTwiceInOneEpoch() (gas: 486262) +MasterChefVaultTest:test_withdrawZeroAmountRevert() (gas: 36081) +NativeVaultTest:test_advanceWithNoToken0Deposits() (gas: 337463) +NativeVaultTest:test_advanceWithNoToken1Deposits() (gas: 353591) +NativeVaultTest:test_canRescueTokens() (gas: 367774) +NativeVaultTest:test_claimTwiceInOneEpochRevert() (gas: 464891) +NativeVaultTest:test_claimZeroAmountRevert() (gas: 44673) +NativeVaultTest:test_collectProtocolFeeAfterProfit() (gas: 1002354) +NativeVaultTest:test_depositAcrossMultipleEpochs() (gas: 438678) +NativeVaultTest:test_depositNonNativeToken0WithValueRevert() (gas: 14973) +NativeVaultTest:test_depositToken0() (gas: 199080) +NativeVaultTest:test_depositToken1() (gas: 180393) +NativeVaultTest:test_depositTwiceInOneEpoch() (gas: 244910) +NativeVaultTest:test_depositZeroAmountRevert() (gas: 45222) +NativeVaultTest:test_initParams() (gas: 29137) +NativeVaultTest:test_nextEpochWithBadReservesRevert() (gas: 239234) +NativeVaultTest:test_paused() (gas: 62530) +NativeVaultTest:test_simpleClaim() (gas: 465584) +NativeVaultTest:test_simpleWithdraw() (gas: 458600) +NativeVaultTest:test_withdrawAcrossMultipleEpochs() (gas: 559280) +NativeVaultTest:test_withdrawTooMuch() (gas: 346172) +NativeVaultTest:test_withdrawTwiceInOneEpoch() (gas: 464612) +NativeVaultTest:test_withdrawZeroAmountRevert() (gas: 36015) +RiftTokenTest:test_StrangerCannotAcceptOwnership() (gas: 46372) +RiftTokenTest:test_acceptOwership() (gas: 86324) +RiftTokenTest:test_canBurnOwnTokens() (gas: 118866) +RiftTokenTest:test_canMintAsMinter() (gas: 147279) +RiftTokenTest:test_cannotBurnMoreThanBalance() (gas: 18128) +RiftTokenTest:test_cannotMintWithoutPermissions() (gas: 77415) +RiftTokenTest:test_initialParams() (gas: 28845) +RiftTokenTest:test_ownerCanAddMinter() (gas: 49214) +RiftTokenTest:test_ownerCanRevokeMinter() (gas: 39552) +RiftTokenTest:test_strangerCannotTransferOwnership() (gas: 18624) +RiftTokenTest:test_transferOwnership() (gas: 56313) +UniswapVaultTest:test_25PercentDecreaseInPrice() (gas: 984097) +UniswapVaultTest:test_300PercentIncreaseInPrice() (gas: 983692) +UniswapVaultTest:test_50PercentDecreaseInPrice() (gas: 984107) +UniswapVaultTest:test_50PercentIncreaseInPrice() (gas: 983724) +UniswapVaultTest:test_600PercentIncreaseInPrice() (gas: 982122) +UniswapVaultTest:test_95PercentDecreaseInPrice() (gas: 983325) +UniswapVaultTest:test_advanceWithNoToken0Deposits() (gas: 337529) +UniswapVaultTest:test_advanceWithNoToken1Deposits() (gas: 339462) +UniswapVaultTest:test_canRescueTokens() (gas: 370654) +UniswapVaultTest:test_claimTwiceInOneEpochRevert() (gas: 475546) +UniswapVaultTest:test_claimZeroAmountRevert() (gas: 44563) +UniswapVaultTest:test_collectProtocolFeeAfterProfit() (gas: 1002014) +UniswapVaultTest:test_depositAcrossMultipleEpochs() (gas: 403254) +UniswapVaultTest:test_depositNonNativeToken0WithValueRevert() (gas: 46388) +UniswapVaultTest:test_depositToken0() (gas: 182208) +UniswapVaultTest:test_depositToken1() (gas: 180371) +UniswapVaultTest:test_depositTwiceInOneEpoch() (gas: 229378) +UniswapVaultTest:test_depositZeroAmountRevert() (gas: 54412) +UniswapVaultTest:test_initParams() (gas: 29137) +UniswapVaultTest:test_nextEpochWithBadReservesRevert() (gas: 239306) +UniswapVaultTest:test_paused() (gas: 62530) +UniswapVaultTest:test_simpleClaim() (gas: 477827) +UniswapVaultTest:test_simpleWithdraw() (gas: 451365) +UniswapVaultTest:test_thoroughBalanceCheck() (gas: 1079067) +UniswapVaultTest:test_withdrawAcrossMultipleEpochs() (gas: 564001) +UniswapVaultTest:test_withdrawTooMuch() (gas: 331976) +UniswapVaultTest:test_withdrawTwiceInOneEpoch() (gas: 469281) +UniswapVaultTest:test_withdrawZeroAmountRevert() (gas: 36059)