generated from foundry-rs/forge-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gas-snapshot
81 lines (81 loc) · 5.17 KB
/
.gas-snapshot
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
TestAdmin:testCannotLetNonAdminWithdrawProtocolFees() (gas: 12981)
TestAdmin:testItCannotLetNonAdminSetFee() (gas: 13065)
TestAdmin:testItCannotSetFeeHigherThanThreshold() (gas: 10656)
TestAdmin:testItEmitsSetFeeEvent() (gas: 34962)
TestAdmin:testItSetsFee() (gas: 32049)
TestBuyOption:testItCannotBuyIfAuctionHasNotStarted() (gas: 26993)
TestBuyOption:testItCannotBuyIfVaultHasAlreadyBeenExercised() (gas: 154178)
TestBuyOption:testItCannotBuyIfVaultIsWithdrawing() (gas: 32585)
TestBuyOption:testItCannotBuyOptionIfValueIsGreaterThanPremium() (gas: 26471)
TestBuyOption:testItCannotBuyOptionTwice() (gas: 120100)
TestBuyOption:testItCreditsPremiumToBeneficiary() (gas: 139611)
TestBuyOption:testItEmitsBoughtOptionEvent() (gas: 114745)
TestBuyOption:testItIncrementsVaultOwnersUncollectedPremiums() (gas: 112586)
TestBuyOption:testItMintsOptionERC721ToBuyer() (gas: 109105)
TestBuyOption:testItOnlyBuysValidFromValidVaultId() (gas: 17312)
TestBuyOption:testItSendsPremiumETHToContract() (gas: 108324)
TestBuyOption:testItSetsStrikeTo0AfterAuctionEnd() (gas: 97424)
TestBuyOption:testItSetsStrikeToCurrentDutchAuctionPrice() (gas: 116389)
TestBuyOption:testItSetsStrikeToCurrentDutchAuctionPriceAfterElapsedTime() (gas: 122259)
TestBuyOption:testItSetsStrikeToReserveIfDutchAuctionStrikeIsSmaller() (gas: 270326)
TestBuyOption:testItUpdatesExpiration() (gas: 116434)
TestCreateVault:testItCannotCreateVaultWith0ERC20Tokens() (gas: 16308)
TestCreateVault:testItCannotCreateVaultWithCallyNFTAsAsset() (gas: 36708)
TestCreateVault:testItCannotCreateVaultWithInvalidDurationDays() (gas: 13571)
TestCreateVault:testItCannotCreateVaultWithInvalidPremium() (gas: 11333)
TestCreateVault:testItCannotCreateVaultWithInvalidReserveStrike() (gas: 13542)
TestCreateVault:testItCannotCreateVaultWithInvalidStrike() (gas: 11385)
TestCreateVault:testItCannotCreateVaultWithNonContractTokenAddress() (gas: 14087)
TestCreateVault:testItCreatesMultipleVaults() (gas: 420298)
TestCreateVault:testItCreatesVaultDetails() (gas: 163950)
TestCreateVault:testItEmitsNewVaultEvent() (gas: 139674)
TestCreateVault:testItIncrementsVaultId() (gas: 135848)
TestCreateVault:testItIncrementsVaultIdMultipleTimes() (gas: 307323)
TestCreateVault:testItMintsVaultERC721ToCreator() (gas: 135975)
TestCreateVault:testItSendsERC20ForCollateral() (gas: 165046)
TestCreateVault:testItSendsERC721ForCollateral() (gas: 137387)
TestExercise:testCannotExerciseExpiredOption() (gas: 26686)
TestExercise:testCannotExerciseInvalidOptionId() (gas: 19485)
TestExercise:testCannotExerciseOptionTwice() (gas: 90368)
TestExercise:testCannotExerciseOptionYouDontOwn() (gas: 24793)
TestExercise:testItCreditsStrikeToBeneficiary() (gas: 130309)
TestExercise:testItEmitsExercisedEvent() (gas: 83988)
TestExercise:testItIncrementsEthBalanceOfVaultOwner() (gas: 84218)
TestExercise:testItShouldBurnOptionERC721() (gas: 85956)
TestExercise:testItShouldMarkVaultAsExercised() (gas: 87663)
TestExercise:testItShouldTransferERC20ToOptionOwner() (gas: 239123)
TestExercise:testItShouldTransferERC721ToOptionOwner() (gas: 87223)
TestFees:testItDoesNotIncrementUnclaimedFeesIfFeeRateIs0() (gas: 86114)
TestFees:testItEmitsEventWhenWithdrawingFees() (gas: 16676)
TestFees:testItIncrementsProtocolUnclaimedFees() (gas: 324107)
TestFees:testItWithdrawsProtocolFees() (gas: 115270)
TestGetDutchAuctionStrike:testItReturnsMidStrike() (gas: 8814)
TestGetDutchAuctionStrike:testItReturnsReserveStrikeIfAuctionHasEnded() (gas: 6463)
TestGetDutchAuctionStrike:testItReturnsStartingStrike() (gas: 8686)
TestGetDutchAuctionStrike:testItReturnsZeroAfterEnd() (gas: 6576)
TestGetDutchAuctionStrike:testItReturnsZeroAtEnd() (gas: 6481)
TestHarvest:testItEmitsHarvestedEvent() (gas: 19588)
TestHarvest:testItResetsOwnersETHBalance() (gas: 15366)
TestHarvest:testItReturnsAmount() (gas: 15334)
TestHarvest:testItSendsETHBalanceToOwner() (gas: 15429)
TestInitiateWithdraw:testCannotInitiateWithdrawalForInvalidVaultId() (gas: 10656)
TestInitiateWithdraw:testItCannotWithdrawVaultYouDontOwn() (gas: 15336)
TestInitiateWithdraw:testItEmitsInitiateWithdrawalEvent() (gas: 21290)
TestInitiateWithdraw:testItMarksVaultAsWithdrawing() (gas: 26904)
TestVaultBeneficiary:testCannotSetBeneficiaryIfNotVaultOwner() (gas: 15479)
TestVaultBeneficiary:testCannotSetBeneficiaryIfNotVaultTokenType() (gas: 8661)
TestVaultBeneficiary:testItEmitsEventOnNewBeneficiary() (gas: 41297)
TestVaultBeneficiary:testItResetsBeneficiaryOnTransfer() (gas: 35227)
TestVaultBeneficiary:testItSetsVaultBeneficiary() (gas: 35604)
TestVaultBeneficiary:testItSetsVaultBeneficiaryAsVaultOwnerIfNotSet() (gas: 15945)
TestWithdraw:testCannotInitiateWithdrawalForInvalidVaultId() (gas: 15690)
TestWithdraw:testItBurnsOptionERC721() (gas: 81842)
TestWithdraw:testItBurnsVaultERC721() (gas: 81912)
TestWithdraw:testItCannotWithdrawIfOptionIsExercised() (gas: 154390)
TestWithdraw:testItCannotWithdrawIfVaultIsNotInWithdrawableState() (gas: 20343)
TestWithdraw:testItCannotWithdrawTwice() (gas: 82494)
TestWithdraw:testItCannotWithdrawVaultYouDontOwn() (gas: 20404)
TestWithdraw:testItCannotWithdrawWhileOptionIsActive() (gas: 124604)
TestWithdraw:testItEmitsWithdrawalEvent() (gas: 79875)
TestWithdraw:testItTransfersERC20BackToOwner() (gas: 132892)
TestWithdraw:testItTransfersERC721BackToOwner() (gas: 85547)