Maple Finance 백서

Maple Finance

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 26쪽

ed; 0 failed; 0 skipped; finished in 2.75ms (720.00µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetCanDeployFromTests \[PASS] test\_setCanDeployFrom\_notAuthorized() (gas: 24097) \[PASS] test\_setCanDeployFrom\_success\_governor() (gas: 51684) \[PASS] test\_setCanDeployFrom\_success\_operationalAdmin() (gas: 88617) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.16ms (598.67µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetValidInstanceOfTests \[PASS] test\_setValidInstanceOf\_notAuthorized() (gas: 58309) \[PASS] test\_setValidInstanceOf\_success\_governor() (gas: 44086) \[PASS] test\_setValidInstanceOf\_success\_operationalAdmin() (gas: 81113) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.92ms (575.80µs CPU time) Ran 5 tests for tests/GovernorTimelock/GovernorTimelockScenarios.t.sol:GovernorTimelockScenariosTests \[PASS] test\_deployment() (gas: 45190) \[PASS] test\_executeProposals\_revert\_unscheduledProposal() (gas: 98500) \[PASS] test\_proposeRoleUpdates\_unsuccessfulUnschedule() (gas: 109355) \[PASS] test\_setFunctionTimelockParameters\_respectsDelayOfFunction() (gas: 388223) \[PASS] test\_updateTimelockConfig\_success\_fullProposalCycle() (gas: 170017) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 4.67ms (2.83ms CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:SetPriceOracleTests \[PASS] test\_setPriceOracle() (gas: 55546) \[PASS] test\_setPriceOracle\_notGovernor() (gas: 22063) \[PASS] test\_setPriceOracle\_zeroAddressCheck() (gas: 46110) \[PASS] test\_setPriceOracle\_zeroTimeCheck() (gas: 24834) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 2.06ms (490.72µs CPU time) Ran 6 tests for tests/MapleGlobals.t.sol:GetLatestPriceTests \[PASS] test\_getLatestPrice() (gas: 79036) \[PASS] test\_getLatestPrice\_manualOverride() (gas: 98140) \[PASS] test\_getLatestPrice\_oracleNotSet() (gas: 21410) \[PASS] test\_getLatestPrice\_roundNotComplete() (gas: 30122) \[PASS] test\_getLatestPrice\_stalePrice() (gas: 96392) \[PASS] test\_getLatestPrice\_zeroPrice() (gas: 53879) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 3.38ms (1.28ms CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetContractPauseTests \[PASS] test\_setContractPause\_asGovernor() (gas: 43413) \[PASS] test\_setContractPause\_asSecurityAdmin() (gas: 45229) \[PASS] test\_setContractPause\_notAuthorized() (gas: 21664) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.30ms (506.49µs CPU time) Ran 5 tests for tests/MapleGlobals.t.sol:UnScheduleCallTests \[PASS] test\_unscheduleCall() (gas: 29441) \[PASS] test\_unscheduleCall\_asGovernor() (gas: 34316) \[PASS] test\_unscheduleCall\_asGovernor\_callDataMismatch() (gas: 32089) \[PASS] test\_unscheduleCall\_callDataMismatch() (gas: 27171) \[PASS] test\_unscheduleCall\_notGovernor() (gas: 20231) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 3.36ms (1.65ms CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:SetValidPoolAssetTests \[PASS] test\_setValidPoolAsset() (gas: 42178) \[PASS] test\_setValidPoolAsset\_notGovernor() (gas: 55282) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.62ms (330.84µs CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:SetDefaultTimelockParametersTests \[PASS] test\_setDefaultTimelockParameters() (gas: 47573) \[PASS] test\_setDefaultTimelockParameters\_notGovernor() (gas: 17478) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.02ms (223.19µs CPU time) Ran 8 tests for tests/GovernorTimelock/SetFunctionTimelockParameters.t.sol:SetFunctionTimelockParametersTests \[PASS] test\_deployment() (gas: 45190) \[PASS] test\_setFunctionTimelockParameters\_resetToDefaults\_success() (gas: 41330) \[PASS] test\_setFunctionTimelockParameters\_revert\_invalidDefaultForDelay() (gas: 10636) \[PASS] test\_setFunctionTimelockParameters\_revert\_invalidDefaultForExecutionWindow() (gas: 10575) \[PASS] test\_setFunctionTimelockParameters\_revert\_invalidDelay() (gas: 15249) \[PASS] test\_setFunctionTimelockParameters\_revert\_invalidExecutionWindow() (gas: 15276) \[PASS] test\_setFunctionTimelockParameters\_revert\_notSelf() (gas: 12575) \[PASS] test\_setFunctionTimelockParameters\_success() (gas: 45507) Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 8.84ms (7.20ms CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:SetValidPoolDelegate \[PASS] test\_setValidDeployer\_zeroAddress() (gas: 19972) \[PASS] test\_setValidPoolDelegate\_notAuthorized() (gas: 57553) \[PASS] test\_setValidPoolDelegate\_success\_governor() (gas: 42773) \[PASS] test\_setValidPoolDelegate\_success\_operationalAdmin() (gas: 80005) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 4.11ms (647.00µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetFunctionUnpauseTests \[PASS] test\_setContractPause\_asGovernor() (gas: 47780) \[PASS] test\_setContractPause\_asSecurityAdmin() (gas: 47996) \[PASS] test\_setContractPause\_notAuthorized() (gas: 24064) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.26ms (558.42µs CPU time) Ran 7 tests for tests/MapleGlobals.t.sol:canDeployFromTests \[PASS] test\_canDeployFrom\_invalidFactoryAndCaller() (gas: 29969) \[PASS] test\_canDeployFrom\_poolManagerDeployingLoanManager() (gas: 104525) \[PASS] test\_canDeployFrom\_poolManagerDeployingLoanManager\_WithValidFactoryAndCallerSet() (gas: 136223) \[PASS] test\_canDeployFrom\_validBorrowerDeploying\_invalidFactoryInstance() (gas: 61321) \[PASS] test\_canDeployFrom\_validBorrowerDeploying\_validFactoryInstanceSet() (gas: 84862) \[PASS] test\_canDeployFrom\_validBorrowerDeploying\_withoutFactoryAndCallerSet() (gas: 90615) \[PASS] test\_canDeployFrom\_validFactoryAndCaller() (gas: 54970) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 4.56ms (1.58ms CPU time) Ran 7 tests for tests/MapleGlobals.t.sol:ActivatePoolManagerTests \[PASS] test\_activatePoolManager\_alreadyOwns() (gas: 54737) \[PASS] test\_activatePoolManager\_invalidDelegate() (gas: 78896) \[PASS] test\_activatePoolManager\_invalidFactory() (gas: 71451) \[PASS] test\_activatePoolManager\_invalidInstance() (gas: 73119) \[PASS] test\_activatePoolManager\_notAuthorized() (gas: 58266) \[PASS] test\_activatePoolManager\_success\_governor() (gas: 53907) \[PASS] test\_activatePoolManager\_success\_operationalAdmin() (gas: 56109) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 6.77ms (1.76ms CPU time) Ran 3 tests for tests/GovernorTimelock/SetPendingTokenWithdrawer.sol:SetPendingTokenWithdrawerTests \[PASS] test\_deployment() (gas: 45168) \[PASS] test\_setPendingTokenWithdrawer\_revert\_notTokenWithdrawer() (gas: 13747) \[PASS] test\_setPendingTokenWithdrawer\_success() (gas: 47241) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.55ms (930.80µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetProtocolPauseTests \[PASS] test\_setProtocolPause\_asGovernor() (gas: 33963) \[PASS] test\_setProtocolPause\_asSecurityAdmin() (gas: 34300) \[PASS] test\_setProtocolPause\_notAuthorized() (gas: 19139) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 7.93ms (482.23µs CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:SetManualOverridePriceTests \[PASS] test\_setManualOverridePrice() (gas: 310430) \[PASS] test\_setManualOverridePrice\_notGovernor() (gas: 55560) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.04ms (397.15µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetSecurityAdminTests \[PASS] test\_setSecurityAdmin() (gas: 49178) \[PASS] test\_setSecurityAdmin\_notGovernor() (gas: 19187) \[PASS] test\_setSecurityAdmin\_zeroAddressCheck() (gas: 19784) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.71ms (283.60µs CPU time) Ran 10 tests for tests/GovernorTimelock/ExecuteProposals.t.sol:ExecuteProposalsTests \[PASS] test\_deployment() (gas: 45168) \[PASS] test\_executeProposals\_executionFailed() (gas: 294196) \[PASS] test\_executeProposals\_revert\_emptyArray() (gas: 15873) \[PASS] test\_executeProposals\_revert\_invalidData() (gas: 321804) \[PASS] test\_executeProposals\_revert\_invalidDataLength() (gas: 17754) \[PASS] test\_executeProposals\_revert\_invalidTargetsLength() (gas: 16903) \[PASS] test\_executeProposals\_revert\_notExecutable() (gas: 365428) \[PASS] test\_executeProposals\_revert\_notExecutor() (gas: 13176) \[PASS] test\_executeProposals\_revert\_notFound() (gas: 25131) \[PASS] test\_executeProposals\_success() (gas: 313971) Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 16.09ms (14.34ms CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetValidPoolDeployer \[PASS] test\_setValidDeployer\_enablingNotAllowed() (gas: 22121) \[PASS] test\_setValidDeployer\_notGovernor() (gas: 19399) \[PASS] test\_setValidDeployer\_success() (gas: 25193) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 3.63ms (215.60µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetMapleTreasuryTests \[PASS] test\_setMapleTreasury() (gas: 49168) \[PASS] test\_setMapleTreasury\_notGovernor() (gas: 19119) \[PASS] test\_setMapleTreasury\_zeroAddressCheck() (gas: 19673) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.61ms (279.11µs CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:SetMaxCoverLiquidationPercentTests \[PASS] test\_setMaxCoverLiquidationPercent\_gt100() (gas: 55502) \[PASS] test\_setMaxCoverLiquidationPercent\_notAuthorized() (gas: 57579) \[PASS] test\_setMaxCoverLiquidationPercent\_success\_governor() (gas: 50373) \[PASS] test\_setMaxCoverLiquidationPercent\_success\_operationalAdmin() (gas: 79662) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 2.04ms (552.03µs CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:SetOperationalAdminTests \[PASS] test\_setOperationalAdmin() (gas: 49126) \[PASS] test\_setOperationalAdmin\_notGovernor() (gas: 19119) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.51ms (194.93µs CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:SetPendingGovernorTests \[PASS] test\_setPendingGovernor() (gas: 48704) \[PASS] test\_setPendingGovernor\_notGovernor() (gas: 19139) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.53ms (196.03µs CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:SetTimelockWindowTests \[PASS] test\_setTimelockWindow() (gas: 54440) \[PASS] test\_setTimelockWindow\_notGovernor() (gas: 20301) \[PASS] test\_setTimelockWindows() (gas: 91506) \[PASS] test\_setTimelockWindows\_notGovernor() (gas: 22958) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 3.14ms (712.81µs CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:SetMigrationAdminTests \[PASS] test\_setMigrationAdmin() (gas: 49209) \[PASS] test\_setMigrationAdmin\_notGovernor() (gas: 19162) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.50ms (173.46µs CPU time) Ran 3 tests for tests/GovernorTimelock/UpdateRole.t.sol:UpdateRoleTests \[PASS] test\_deployment() (gas: 45190) \[PASS] test\_updateRole\_revert\_notSelf() (gas: 12011) \[PASS] test\_updateRole\_success() (gas: 37946) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.46ms (839.93µs CPU time) \[PASS] test\_isValidScheduledCall() (gas: 90994) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.04ms (405.83µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetMinCoverAmountTests \[PASS] test\_setMinCoverAmount\_notAuthorized() (gas: 57639) \[PASS] test\_setMinCoverAmount\_success\_governor() (gas: 50347) \[PASS] test\_setMinCoverAmount\_success\_operationalAdmin() (gas: 79570) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.88ms (443.58µs CPU time) Ran 5 tests for tests/GovernorTimelock/UnscheduleProposal.t.sol:UnscheduleProposalsTests \[PASS] test\_deployment() (gas: 45168) \[PASS] test\_unscheduleProposals\_revert\_notCanceller() (gas: 11825) \[PASS] test\_unscheduleProposals\_revert\_notUnschedulable() (gas: 176226) \[PASS] test\_unscheduleProposals\_revert\_proposalNotFound() (gas: 17175) \[PASS] test\_unscheduleProposals\_success() (gas: 289131) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 6.62ms (4.82ms CPU time) Ran 4 tests for tests/GovernorTimelock/WithdrawERC20Token.t.sol:WithdrawERC20TokenTests \[PASS] test\_deployment() (gas: 45168) \[PASS] test\_withdrawERC20Token\_revert\_notTokenWithdrawer() (gas: 13872) \[PASS] test\_withdrawERC20Token\_revert\_transferFailed() (gas: 23345) \[PASS] test\_withdrawERC20Token\_success() (gas: 51794) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 2.01ms (524.47µs CPU time) Ran 6 tests for tests/GovernorTimelock/ProposeRoleUpdates.t.sol:ProposeRoleUpdatesTests \[PASS] test\_deployment() (gas: 45168) \[PASS] test\_proposeRoleUpdates\_revert\_emptyArray() (gas: 15864) \[PASS] test\_proposeRoleUpdates\_revert\_invalidAccountsLength() (gas: 16938) \[PASS] test\_proposeRoleUpdates\_revert\_invalidShouldGrantLength() (gas: 17297) \[PASS] test\_proposeRoleUpdates\_revert\_notRoleAdmin() (gas: 13211) \[PASS] test\_proposeRoleUpdates\_success() (gas: 196970) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 8.17ms (4.12ms CPU time) \[PASS] test\_isFunctionPaused() (gas: 256932) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 9.57ms (1.37ms CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:SetPlatformManagementFeeRateTests \[PASS] test\_setPlatformManagementFeeRate\_notAuthorized() (gas: 57736) \[PASS] test\_setPlatformManagementFeeRate\_outOfBounds() (gas: 55570) \[PASS] test\_setPlatformManagementFeeRate\_success\_governor() (gas: 50511) \[PASS] test\_setPlatformManagementFeeRate\_success\_operationalAdmin() (gas: 79711) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 4.27ms (648.80µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetBootstrapMintTests \[PASS] test\_setBootstrapMint\_notAuthorized() (gas: 57640) \[PASS] test\_setBootstrapMint\_success\_governor() (gas: 50410) \[PASS] test\_setBootstrapMint\_success\_operationalAdmin() (gas: 79632) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.82ms (578.19µs CPU time) Ran 7 tests for tests/GovernorTimelock/ScheduleProposals.t.sol:ScheduleProposalsTests \[PASS] test\_deployment() (gas: 45190) \[PASS] test\_scheduleProposals\_revert\_arrayLengthMismatch() (gas: 16710) \[PASS] test\_scheduleProposals\_revert\_emptyArray() (gas: 15237) \[PASS] test\_scheduleProposals\_revert\_emptyTarget() (gas: 21390) \[PASS] test\_scheduleProposals\_revert\_notProposer() (gas: 12539) \[PASS] test\_scheduleProposals\_revert\_updateRoleNotAllowed() (gas: 191197) \[PASS] test\_scheduleProposals\_success() (gas: 385500) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 4.89ms (3.29ms CPU time) Ran 10 tests for tests/MapleGlobals.t.sol:IsPoolDeployerTest \[PASS] test\_isPoolDeployer\_fixedTermLoanFactory\_deployerCanDeploy() (gas: 79356) \[PASS] test\_isPoolDeployer\_fixedTermLoanFactory\_deployerCannotDeploy() (gas: 58509) \[PASS] test\_isPoolDeployer\_fixedTermLoanFactory\_deployerIsPoolManager() (gas: 470261) \[PASS] test\_isPoolDeployer\_fixedTermLoanFactory\_poolManagerNotFromValidFactory() (gas: 449418) \[PASS] test\_isPoolDeployer\_fixedTermLoanFactory\_poolManagerNotInstance() (gas: 446083) \[PASS] test\_isPoolDeployer\_invalidFactory() (gas: 21731) \[PASS] test\_isPoolDeployer\_poolManagerFactory\_deployerCanDeploy() (gas: 81656) \[PASS] test\_isPoolDeployer\_poolManagerFactory\_deployerCannotDeploy() (gas: 60856) \[PASS] test\_isPoolDeployer\_withdrawalManagerFactory\_deployerCanDeploy() (gas: 83981) \[PASS] test\_isPoolDeployer\_withdrawalManagerFactory\_deployerCannotDeploy() (gas: 63204) Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 5.30ms (5.44ms CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:ScheduleCallTests \[PASS] test\_scheduleCal\_overwrite() (gas: 82503) \[PASS] test\_scheduleCall() (gas: 69746) \[PASS] test\_scheduleCall\_defaultState() (gas: 19157) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 7.21ms (475.64µs CPU time) Ran 47 test suites in 73.51ms (168.54ms CPU time): 181 tests passed, 0 failed, 0 skipped (181 total tests) ## open-term-loan Ran 2 tests for tests/IsInDefault.t.sol:DefaultDatesTests \[PASS] test\_isInDefault\_successBoundary() (gas: 37730) \[PASS] test\_isInDefault\_zeroDefaultDate() (gas: 10353) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 885.73µs (172.00µs CPU time) Ran 3 tests for tests/AcceptLender.t.sol:AcceptLenderTests \[PASS] test\_acceptLender\_notPendingLender() (gas: 48654) \[PASS] test\_acceptLender\_paused() (gas: 46191) \[PASS] test\_acceptLender\_success() (gas: 57255) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.49ms (454.68µs CPU time) Ran 3 tests for tests/AcceptBorrower.t.sol:AcceptBorrowerTests \[PASS] test\_acceptBorrower\_notPendingBorrower() (gas: 48700) \[PASS] test\_acceptBorrower\_paused() (gas: 46171) \[PASS] test\_acceptBorrower\_success() (gas: 57205) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.50ms (437.73µs CPU time) Ran 5 tests for tests/AcceptLoanTerms.t.sol:AcceptLoanTermsTests \[PASS] test\_acceptLoanTerms\_alreadyAccepted() (gas: 51466) \[PASS] test\_acceptLoanTerms\_notBorrower() (gas: 30608) \[PASS] test\_acceptLoanTerms\_paused() (gas: 46188) \[PASS] test\_acceptLoanTerms\_success\_asBorrower() (gas: 54182) \[PASS] test\_acceptLoanTerms\_success\_asBorrowerActions() (gas: 83840) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 2.03ms (643.93µs CPU time) Ran 5 tests for tests/MakePayment.t.sol:MakePaymentFailureTests \[PASS] test\_makePayment\_insufficientForCalled() (gas: 107447) \[PASS] test\_makePayment\_insufficientForTotalTransferFromCaller() (gas: 1528232) \[PASS] test\_makePayment\_notFunded() (gas: 26551) \[PASS] test\_makePayment\_paused() (gas: 47580) \[PASS] test\_makePayment\_returningTooMuch() (gas: 86036) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 3.79ms (2.46ms CPU time) Ran 7 tests for tests/Fund.t.sol:FundTests \[PASS] testFuzz\_fund\_success() (gas: 1615271) \[PASS] test\_fund\_loanActive() (gas: 54349) \[PASS] test\_fund\_loanClosed() (gas: 35145) \[PASS] test\_fund\_notLender() (gas: 25850) \[PASS] test\_fund\_paused() (gas: 46958) \[PASS] test\_fund\_revertingTransfer() (gas: 1521294) \[PASS] test\_fund\_termsNotAccepted() (gas: 30270) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 11.08ms (9.67ms CPU time) Ran 4 tests for tests/AcceptNewTerms.t.sol:AcceptNewTerms \[PASS] test\_acceptNewTerms\_earlyRefinance() (gas: 448435) \[PASS] test\_acceptNewTerms\_principalDecrease() (gas: 462776) \[PASS] test\_acceptNewTerms\_principalDecreaseToZero() (gas: 450855) \[PASS] test\_acceptNewTerms\_principalIncrease() (gas: 483196) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 30.37ms (27.94ms CPU time) Ran 7 tests for tests/AcceptNewTerms.t.sol:AcceptNewTermsFailure \[PASS] test\_acceptNewTerms\_expiredCommitmentBoundary() (gas: 3065516) \[PASS] test\_acceptNewTerms\_invalidRefinancer() (gas: 56353) \[PASS] test\_acceptNewTerms\_mismatchedCommitment() (gas: 37323) \[PASS] test\_acceptNewTerms\_notBorrower() (gas: 32449) \[PASS] test\_acceptNewTerms\_paused() (gas: 48030) \[PASS] test\_acceptNewTerms\_refinancerRevert() (gas: 101411) \[PASS] test\_acceptNewTerms\_transferRevert() (gas: 1307795) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 3.58ms (1.97ms CPU time) Ran 3 tests for tests/AcceptNewTerms.t.sol:AcceptNewTermsPrincipalChangeTests \[PASS] test\_acceptNewTerms\_payInterestAndIncreasePrincipalForBorrower() (gas: 479092) \[PASS] test\_acceptNewTerms\_payInterestWithExactPrincipalIncrease() (gas: 439815) \[PASS] test\_acceptNewTerms\_payInterestWithSingleWeiFromBorrower() (gas: 465431) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 21.24ms (19.16ms CPU time) \[PASS] testFuzz\_defaultDates(uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 75359, \~: 75768) Suite resul
프로젝트로 돌아가기