Skip to content

Commit

Permalink
add snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
androolloyd committed Oct 18, 2023
1 parent ce55a0f commit af5353e
Showing 1 changed file with 73 additions and 53 deletions.
126 changes: 73 additions & 53 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,66 +1,86 @@
EnforcerTest:testCollateralEnforcer() (gas: 950836)
EnforcerTest:testFailCollateralEnforcerDifferentCollateral() (gas: 832965)
EnforcerTest:testFailRateEnforcerMaxCarryRate() (gas: 788105)
EnforcerTest:testFailRateEnforcerMaxRate() (gas: 788077)
EnforcerTest:testFailRateEnforcerMaxRateAndMaxCarryRate() (gas: 787942)
EnforcerTest:testRateEnforcerBasic() (gas: 908012)
EnforcerTest:testTermEnforcerBasic() (gas: 980340)
TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecall() (gas: 969012)
TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLender() (gas: 859410)
TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLiquidation() (gas: 906274)
TestCustodian:testCannotLazyMintTwice() (gas: 76591)
TestCustodian:testCannotMintInvalidLoanInvalidCustodian() (gas: 66811)
TestCustodian:testCannotMintInvalidLoanValidCustodian() (gas: 72394)
TestCustodian:testCustodySelector() (gas: 2790258)
EnforcerTest:testCollateralEnforcer() (gas: 952711)
EnforcerTest:testFailCollateralEnforcerDifferentCollateral() (gas: 833351)
EnforcerTest:testFailRateEnforcerMaxCarryRate() (gas: 788492)
EnforcerTest:testFailRateEnforcerMaxRate() (gas: 788464)
EnforcerTest:testFailRateEnforcerMaxRateAndMaxCarryRate() (gas: 788329)
EnforcerTest:testRateEnforcerBasic() (gas: 909887)
EnforcerTest:testTermEnforcerBasic() (gas: 982214)
TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecall() (gas: 964044)
TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLender() (gas: 857161)
TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLiquidation() (gas: 893410)
TestCustodian:testCannotLazyMintTwice() (gas: 76641)
TestCustodian:testCannotMintInvalidLoanInvalidCustodian() (gas: 66839)
TestCustodian:testCannotMintInvalidLoanValidCustodian() (gas: 72378)
TestCustodian:testCustodySelector() (gas: 2822520)
TestCustodian:testDefaultCustodySelectorRevert() (gas: 11673)
TestCustodian:testGenerateOrderInvalidHandlerExecution() (gas: 147388)
TestCustodian:testGenerateOrderRepay() (gas: 189283)
TestCustodian:testGenerateOrderRepayAsRepayApprovedBorrower() (gas: 214857)
TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNative() (gas: 1130044)
TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNativeHandlerAuthorized() (gas: 1029768)
TestCustodian:testGenerateOrderRepayERC1155WithRevert() (gas: 530761)
TestCustodian:testGenerateOrderRepayInvalidHookAddress() (gas: 104841)
TestCustodian:testGenerateOrderRepayInvalidHookReturnType() (gas: 99244)
TestCustodian:testGenerateOrderRepayNotBorrower() (gas: 110879)
TestCustodian:testGenerateOrderSettlement() (gas: 164511)
TestCustodian:testGenerateOrderSettlementHandlerAuthorized() (gas: 173617)
TestCustodian:testGenerateOrderSettlementNoActiveLoan() (gas: 107403)
TestCustodian:testGenerateOrderSettlementUnauthorized() (gas: 108744)
TestCustodian:testGetBorrower() (gas: 76099)
TestCustodian:testGenerateOrderInvalidHandlerExecution() (gas: 139369)
TestCustodian:testGenerateOrderRepay() (gas: 179721)
TestCustodian:testGenerateOrderRepayAsRepayApprovedBorrower() (gas: 205339)
TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNative() (gas: 1113500)
TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNativeHandlerAuthorized() (gas: 1027370)
TestCustodian:testGenerateOrderRepayERC1155WithRevert() (gas: 523917)
TestCustodian:testGenerateOrderRepayInvalidHookAddress() (gas: 96726)
TestCustodian:testGenerateOrderRepayInvalidHookReturnType() (gas: 91130)
TestCustodian:testGenerateOrderRepayNotBorrower() (gas: 102852)
TestCustodian:testGenerateOrderSettlement() (gas: 161004)
TestCustodian:testGenerateOrderSettlementHandlerAuthorized() (gas: 170134)
TestCustodian:testGenerateOrderSettlementNoActiveLoan() (gas: 162510)
TestCustodian:testGenerateOrderSettlementUnauthorized() (gas: 100769)
TestCustodian:testGetBorrower() (gas: 76159)
TestCustodian:testInvalidAction() (gas: 124400)
TestCustodian:testInvalidActionRepayInActiveLoan() (gas: 124410)
TestCustodian:testInvalidActionSettleActiveLoan() (gas: 124413)
TestCustodian:testName() (gas: 7098)
TestCustodian:testNonPayableFunctions() (gas: 247767)
TestCustodian:testNonPayableFunctions() (gas: 247795)
TestCustodian:testOnlySeaport() (gas: 17931)
TestCustodian:testPayableFunctions() (gas: 43468)
TestCustodian:testPreviewOrderNoActiveLoan() (gas: 104915)
TestCustodian:testPreviewOrderRepay() (gas: 243798)
TestCustodian:testPreviewOrderSettlement() (gas: 195979)
TestCustodian:testPreviewOrderSettlementInvalidFufliller() (gas: 106672)
TestCustodian:testPreviewOrderSettlementInvalidRepayer() (gas: 112759)
TestCustodian:testRatifyOrder() (gas: 195401)
TestCustodian:testSafeTransferReceive() (gas: 159065)
TestCustodian:testPreviewOrderNoActiveLoan() (gas: 105228)
TestCustodian:testPreviewOrderRepay() (gas: 230713)
TestCustodian:testPreviewOrderSettlement() (gas: 192940)
TestCustodian:testPreviewOrderSettlementInvalidFufliller() (gas: 107146)
TestCustodian:testPreviewOrderSettlementInvalidRepayer() (gas: 113233)
TestCustodian:testRatifyOrder() (gas: 185906)
TestCustodian:testSafeTransferReceive() (gas: 159087)
TestCustodian:testSeaportMetadata() (gas: 8501)
TestCustodian:testSetRepayApproval() (gas: 37907)
TestCustodian:testSupportsInterface() (gas: 9428)
TestCustodian:testSymbol() (gas: 7105)
TestCustodian:testTokenURI() (gas: 64811)
TestCustodian:testSupportsInterface() (gas: 9406)
TestCustodian:testSymbol() (gas: 7127)
TestCustodian:testTokenURI() (gas: 64839)
TestCustodian:testTokenURIInvalidLoan() (gas: 13196)
TestExoticLoans:testSwap() (gas: 1353956)
TestExoticLoans:testSwap() (gas: 1356857)
TestLoanCombinations:testLoan20For721SimpleInterestDutchFixedRepay() (gas: 164)
TestLoanCombinations:testLoan20for20SimpleInterestDutchFixedRepay() (gas: 539940)
TestLoanCombinations:testLoan721for20SimpleInterestDutchFixedRepay() (gas: 756253)
TestLoanCombinations:testLoanAstariaSettlementRepay() (gas: 575128)
TestLoanCombinations:testLoanSimpleInterestEnglishFixed() (gas: 747899)
TestLoanManager:testGenerateOrder() (gas: 1005642)
TestLoanManager:testGenerateOrderNotSeaport() (gas: 13074)
TestLoanCombinations:testLoan20for20SimpleInterestDutchFixedRepay() (gas: 542275)
TestLoanCombinations:testLoan721for20SimpleInterestDutchFixedRepay() (gas: 747965)
TestLoanCombinations:testLoanAstariaSettlementRepay() (gas: 577463)
TestLoanCombinations:testLoanSimpleInterestEnglishFixed() (gas: 739552)
TestLoanManager:testCannotSettleInvalidLoan() (gas: 72860)
TestLoanManager:testCannotSettleUnlessValidCustodian() (gas: 68984)
TestLoanManager:testCaveatEnforcerInvalidOrigination() (gas: 1306498)
TestLoanManager:testDefaultFeeRake() (gas: 403106)
TestLoanManager:testGenerateOrder() (gas: 1003397)
TestLoanManager:testGenerateOrderInvalidAction() (gas: 864365)
TestLoanManager:testGenerateOrderNotSeaport() (gas: 13089)
TestLoanManager:testInitializedFlagSetProperly() (gas: 65061)
TestLoanManager:testInvalidDebt() (gas: 25968)
TestLoanManager:testInvalidMaximumSpentEmpty() (gas: 36066)
TestLoanManager:testIssued() (gas: 67018)
TestLoanManager:testName() (gas: 7206)
TestLoanManager:testNonDefaultCustodianCustodyCallFails() (gas: 23909)
TestLoanManager:testNonDefaultCustodianCustodyCallSuccess() (gas: 25415)
TestLoanManager:testOverrideFeeRake() (gas: 404444)
TestLoanManager:testPreviewOrderInvalidAction() (gas: 864492)
TestLoanManager:testSupportsInterface() (gas: 9579)
TestLoanManager:testSymbol() (gas: 7148)
TestNewLoan:testBuyNowPayLater() (gas: 1148671)
TestNewLoan:testNewLoanERC721CollateralDefaultTerms2():((uint256,address,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256)[],(address,bytes,address,bytes,address,bytes))) (gas: 979121)
TestNewLoan:testNewLoanERC721CollateralDefaultTermsRefinance() (gas: 639892)
TestNewLoan:testNewLoanERC721CollateralLessDebtThanOffered():((uint256,address,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256)[],(address,bytes,address,bytes,address,bytes))) (gas: 979455)
TestNewLoan:testSettleLoan() (gas: 1233583)
TestRepayLoan:testRepayLoan() (gas: 694754)
TestLoanManager:testSymbol() (gas: 7257)
TestLoanManager:testTokenURI() (gas: 64958)
TestLoanManager:testTokenURIInvalidLoan() (gas: 13265)
TestLoanManager:testTransferFromFailFromSeaport() (gas: 82235)
TestNewLoan:testBuyNowPayLater() (gas: 1149851)
TestNewLoan:testNewLoanERC721CollateralDefaultTerms2():((uint256,address,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256)[],(address,bytes,address,bytes,address,bytes))) (gas: 981209)
TestNewLoan:testNewLoanERC721CollateralDefaultTermsRefinance() (gas: 635641)
TestNewLoan:testNewLoanERC721CollateralLessDebtThanOffered():((uint256,address,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256)[],(address,bytes,address,bytes,address,bytes))) (gas: 981521)
TestNewLoan:testNewLoanRefinanceNew() (gas: 695966)
TestNewLoan:testSettleLoan() (gas: 1222369)
TestRepayLoan:testRepayLoan() (gas: 682950)
TestStarLiteUtils:testEncodeReceivedWithRecipient() (gas: 17955)
TestStarLiteUtils:testSpentToReceived() (gas: 17708)
TestStarLiteUtils:testValidateSaltOpt(address,bytes32) (runs: 256, μ: 26479, ~: 26479)
Expand Down

0 comments on commit af5353e

Please sign in to comment.