Maple Finance 백서

Maple Finance

원문

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

Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 2.31s (2.31s CPU time) Ran 12 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_FundLoanTests \[PASS] test\_fundLoan\_approveFail() (gas: 330471) \[PASS] test\_fundLoan\_doubleFund(uint256) (runs: 256, μ: 282110, \~: 281816) \[PASS] test\_fundLoan\_fullFunding(uint256) (runs: 256, μ: 304534, \~: 304213) \[PASS] test\_fundLoan\_fullFundingWithExistingDrawableFunds(uint256) (runs: 256, μ: 306267, \~: 305955) \[PASS] test\_fundLoan\_invalidFundsAsset() (gas: 1502785) \[PASS] test\_fundLoan\_nextPaymentDueDateAlreadySet() (gas: 178880) \[PASS] test\_fundLoan\_noPaymentsRemaining() (gas: 87229) \[PASS] test\_fundLoan\_notLender() (gas: 27441) \[PASS] test\_fundLoan\_partialFunding(uint256) (runs: 256, μ: 227801, \~: 227999) \[PASS] test\_fundLoan\_termsNotAccepted() (gas: 31918) \[PASS] test\_fundLoan\_withUnaccountedCollateralAsset() (gas: 1619778) \[PASS] test\_fundLoan\_withoutSendingAsset() (gas: 181311) Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 2.81s (942.84ms CPU time) Ran 2 tests for tests/MapleLoanRefinancer.t.sol:RefinancePaymentsRemainingTests \[PASS] test\_refinance\_paymentRemaining(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9387061, \~: 9388048) \[PASS] test\_refinance\_paymentRemaining\_zeroAmount() (gas: 9335235) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.25s (1.25s CPU time) Ran 2 tests for tests/MapleLoanRefinancer.t.sol:RefinancePrincipalRequestedTests \[PASS] test\_refinance\_increasePrincipalRequested(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9464135, \~: 9465595) \[PASS] test\_refinance\_increasePrincipalRequestedWithInsufficientFunds(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9399032, \~: 9399874) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.16s (3.16s CPU time) \[PASS] test\_refinance\_collateralRequired(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9427999, \~: 9429874) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.63s (1.63s CPU time) Ran 2 tests for tests/MapleLoanRefinancer.t.sol:RefinanceDeadlineTests \[PASS] test\_refinance\_afterDeadline(uint256,uint256,uint256) (runs: 256, μ: 9335945, \~: 9334969) \[PASS] test\_refinance\_differentDeadline(uint256,uint256,uint256) (runs: 256, μ: 9308716, \~: 9308747) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.45s (2.65s CPU time) Ran 3 tests for tests/MapleLoanRefinancer.t.sol:RefinanceEndingPrincipalTests \[PASS] test\_refinance\_endingPrincipal\_amortizedToInterestOnly(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9417602, \~: 9419137) \[PASS] test\_refinance\_endingPrincipal\_failLargerThanPrincipal(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9368668, \~: 9371329) \[PASS] test\_refinance\_endingPrincipal\_interestOnlyToAmortized(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9411262, \~: 9416378) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.01s (3.30s CPU time) Ran 3 tests for tests/MapleLoanRefinancer.t.sol:RefinanceFeeTests \[PASS] test\_refinance\_closingRate(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9385727, \~: 9387257) \[PASS] test\_refinance\_lateFeeRate(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9385788, \~: 9387683) \[PASS] test\_refinance\_lateInterestPremiumRate(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 9406168, \~: 9407297) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.91s (2.67s CPU time) Ran 7 tests for tests/MapleLoanRefinancer.t.sol:RefinancingFeesTerms \[PASS] testFuzz\_refinance\_payOriginationFees(uint256,uint256) (runs: 256, μ: 10941438, \~: 10941451) \[PASS] testFuzz\_refinance\_pdOriginationFeeTransferFail(uint256) (runs: 256, μ: 10853709, \~: 10853823) \[PASS] testFuzz\_refinance\_treasuryOriginationFeeTransferFail(uint256,uint256) (runs: 256, μ: 10867772, \~: 10867770) \[PASS] testFuzz\_refinance\_updateFeeTerms(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 10892621, \~: 10894292) \[PASS] testFuzz\_refinance\_updatesPlatformServiceFees(uint256) (runs: 256, μ: 10851734, \~: 10852044) \[PASS] test\_refinance\_updateRefinanceServiceFees() (gas: 10933885) \[PASS] test\_refinance\_updateRefinanceServiceFeesOnDoubleRefinance() (gas: 11036939) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 4.22s (8.34s CPU time) Ran 7 tests for tests/MapleLoanLogic.t.sol:MapleLoanLogic\_CloseLoanTests \[PASS] test\_closeLoan(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 296434, \~: 297091) \[PASS] test\_closeLoan\_amountSmallerThanFees() (gas: 465232) \[PASS] test\_closeLoan\_insufficientAmount(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 361903, \~: 362154) \[PASS] test\_closeLoan\_latePayment(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 303106, \~: 303516) \[PASS] test\_closeLoan\_noAmount() (gas: 457685) \[PASS] test\_closeLoan\_withDrawableFunds(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 304408, \~: 304472) \[PASS] test\_closeLoan\_withRefinanceInterest(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 297908, \~: 298225) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 5.20s (1.73s CPU time) Ran 54 test suites in 5.22s (37.12s CPU time): 270 tests passed, 0 failed, 0 skipped (270 total tests) ## fixed-term-loan-manager Ran 3 tests for tests/MapleLoanManager.t.sol:RejectNewTermsTests \[PASS] test\_rejectNewTerms\_notPoolDelegate() (gas: 40032) \[PASS] test\_rejectNewTerms\_paused() (gas: 38296) \[PASS] test\_rejectNewTerms\_success() (gas: 1112994) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 3.31ms (772.09µs CPU time) \[PASS] test\_acceptNewTerms\_invalidBorrower() (gas: 218426) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 4.03ms (486.13µs CPU time) Ran 2 tests for tests/MapleLoanManager.t.sol:ClaimTests \[PASS] test\_claim\_notLoan() (gas: 379687) \[PASS] test\_claim\_paused() (gas: 42940) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 4.84ms (998.07µs CPU time) Ran 7 tests for tests/MapleLoanManager.t.sol:FundLoanTests \[PASS] test\_fund() (gas: 447263) \[PASS] test\_fund\_failIfNotPoolDelegate() (gas: 91335) \[PASS] test\_fund\_inactiveLoan() (gas: 71600) \[PASS] test\_fund\_invalidBorrower() (gas: 75141) \[PASS] test\_fund\_invalidFactory() (gas: 64138) \[PASS] test\_fund\_invalidLoan() (gas: 65294) \[PASS] test\_fund\_paused() (gas: 46859) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 5.90ms (2.97ms CPU time) Ran 2 tests for tests/MapleLoanManager.t.sol:DistributeClaimedFunds \[PASS] test\_distributeClaimedFunds\_mapleTreasuryNotSet() (gas: 1406031) \[PASS] test\_distributeLiquidationFunds\_poolNotSet() (gas: 1342601) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.70ms (1.10ms CPU time) Ran 13 tests for tests/MapleLoanManager.t.sol:LoanManagerSortingTests \[PASS] test\_addPaymentToList\_ascendingPair() (gas: 106994) \[PASS] test\_addPaymentToList\_descendingPair() (gas: 106914) \[PASS] test\_addPaymentToList\_single() (gas: 67234) \[PASS] test\_addPaymentToList\_synchronizedPair() (gas: 106993) \[PASS] test\_addPaymentToList\_toHead() (gas: 150427) \[PASS] test\_addPaymentToList\_toMiddle() (gas: 151121) \[PASS] test\_addPaymentToList\_toTail() (gas: 151165) \[PASS] test\_removePaymentFromList\_earliestDueDate() (gas: 131755) \[PASS] test\_removePaymentFromList\_invalidPaymentId() (gas: 86775) \[PASS] test\_removePaymentFromList\_latestDueDate() (gas: 131489) \[PASS] test\_removePaymentFromList\_medianDueDate() (gas: 131823) \[PASS] test\_removePaymentFromList\_pair() (gas: 94915) \[PASS] test\_removePaymentFromList\_single() (gas: 58324) Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 9.25ms (6.31ms CPU time) Ran 2 tests for tests/MapleLoanManager.t.sol:GetterTests \[PASS] test\_accruedInterest() (gas: 43560) \[PASS] test\_getAssetsUnderManagement() (gas: 50797) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 4.64ms (744.46µs CPU time) Ran 4 tests for tests/MapleLoanManager.t.sol:MigrateTests \[PASS] test\_migrate\_internalFailure() (gas: 36928) \[PASS] test\_migrate\_notFactory() (gas: 33474) \[PASS] test\_migrate\_paused() (gas: 39426) \[PASS] test\_migrate\_success() (gas: 43097) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 3.99ms (697.76µs CPU time) Ran 3 tests for tests/MapleLoanManager.t.sol:DistributeLiquidationFundsTests \[PASS] test\_distributeLiquidationFunds\_borrowerNotSet() (gas: 1188764) \[PASS] test\_distributeLiquidationFunds\_mapleTreasuryNotSet() (gas: 1234114) \[PASS] test\_distributeLiquidationFunds\_poolNotSet() (gas: 1220189) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 6.96ms (4.33ms CPU time) Ran 2 tests for tests/MapleLoanManager.t.sol:UpdateAccountingFailureTests \[PASS] test\_updateAccounting\_notGovernor() (gas: 103379) \[PASS] test\_updateAccounting\_notPoolDelegate() (gas: 100586) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.80ms (599.46µs CPU time) Ran 7 tests for tests/MapleLoanManager.t.sol:TriggerDefaultTests \[PASS] test\_triggerDefault\_notManager() (gas: 144235) \[PASS] test\_triggerDefault\_paused() (gas: 42169) \[PASS] test\_triggerDefault\_success\_noCollateral\_impaired() (gas: 251299) \[PASS] test\_triggerDefault\_success\_noCollateral\_notImpaired() (gas: 177719) \[PASS] test\_triggerDefault\_success\_withCollateralAssetEqualToFundsAsset() (gas: 325299) \[PASS] test\_triggerDefault\_success\_withCollateral\_impaired() (gas: 436395) \[PASS] test\_triggerDefault\_success\_withCollateral\_notImpaired() (gas: 401902) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 15.21ms (7.04ms CPU time) Ran 5 tests for tests/MapleLoanManager.t.sol:FinishCollateralLiquidationTests \[PASS] test\_finishCollateralLiquidation\_callAfterTriggerDefaultOnUncollateralizedLoan() (gas: 141630) \[PASS] test\_finishCollateralLiquidation\_callBeforeTriggerDefault() (gas: 67166) \[PASS] test\_finishCollateralLiquidation\_notManager() (gas: 320152) \[PASS] test\_finishCollateralLiquidation\_paused() (gas: 44519) \[PASS] test\_finishCollateralLiquidation\_success\_withCollateral() (gas: 396596) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 7.38ms (3.45ms CPU time) Ran 7 tests for tests/MapleLoanManager.t.sol:RemoveLoanImpairmentTests \[PASS] test\_removeLoanImpairment\_delegateNotAuthorizedToRemoveGovernors() (gas: 280563) \[PASS] test\_removeLoanImpairment\_failIfPaused() (gas: 46902) \[PASS] test\_removeLoanImpairment\_notByGovernor() (gas: 207550) \[PASS] test\_removeLoanImpairment\_notPoolDelegate() (gas: 203478) \[PASS] test\_removeLoanImpairment\_pastDueDate() (gas: 295387) \[PASS] test\_removeLoanImpairment\_successWithGovernor() (gas: 324999) \[PASS] test\_removeLoanImpairment\_successWithPD() (gas: 324023) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 17.56ms (6.23ms CPU time) Ran 5 tests for tests/MapleLoanManager.t.sol:ImpairLoanTests \[PASS] test\_impairLoan\_alreadyImpaired() (gas: 195535) \[PASS] test\_impairLoan\_failIfPaused() (gas: 41799) \[PASS] test\_impairLoan\_notAuthorized() (gas: 43512) \[PASS] test\_impairLoan\_success() (gas: 273187) \[PASS] test\_impairLoan\_success\_byGovernor() (gas: 251131) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 10.62ms (7.09ms CPU time) Ran 4 tests for tests/MapleLoanManager.t.sol:UpdateAccountingTests \[PASS] test\_updateAccounting\_afterDomainEnd() (gas: 130773) \[PASS] test\_updateAccounting\_afterTwoDomainEnds() (gas: 124597) \[PASS] test\_updateAccounting\_beforeDomainEnd() (gas: 111167) \[PASS] test\_updateAccounting\_failIfPaused() (gas: 39148) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 6.66ms (2.20ms CPU time) Ran 5 tests for tests/MapleLoanManager.t.sol:SetAllowedSlippage\_SetterTests \[PASS] test\_setAllowedSlippage\_invalidSlippage() (gas: 44038) \[PASS] test\_setAllowedSlippage\_noAuth() (gas: 43830) \[PASS] test\_setAllowedSlippage\_paused() (gas: 39261) \[PASS] test\_setAllowedSlippage\_success\_asGovernor() (gas: 72085) \[PASS] test\_setAllowedSlippage\_success\_asPoolDelegate() (gas: 72084) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 3.34ms (791.64µs CPU time) Ran 6 tests for tests/MapleLoanManager.t.sol:UpgradeTests \[PASS] test\_upgrade\_noAuth() (gas: 43689) \[PASS] test\_upgrade\_notScheduled() (gas: 47551) \[PASS] test\_upgrade\_paused() (gas: 37258) \[PASS] test\_upgrade\_success\_asPoolDelegate() (gas: 93407) \[PASS] test\_upgrade\_success\_asSecurityAdmin() (gas: 82459) \[PASS] test\_upgrade\_upgradeFailed() (gas: 88416) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 8.38ms (1.87ms CPU time) \[PASS] test\_claim\_domainStart\_gt\_domainEnd() (gas: 715050) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 30.19ms (26.34ms CPU time) Ran 3 tests for tests/MapleLoanManager.t.sol:SetImplementationTests \[PASS] test\_setImplementation\_notFactory() (gas: 32944) \[PASS] test\_setImplementation\_paused() (gas: 38941) \[PASS] test\_setImplementation\_success() (gas: 43909) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 9.16ms (464.47µs CPU time) Ran 4 tests for tests/MapleLoanManager.t.sol:SetMinRatio\_SetterTests \[PASS] test\_setMinRatio\_noAuth() (gas: 43894) \[PASS] test\_setMinRatio\_paused() (gas: 39304) \[PASS] test\_setMinRatio\_success\_asGovernor() (gas: 72034) \[PASS] test\_setMinRatio\_success\_asPoolDelegate() (gas: 69263) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 3.50ms (686.79µs CPU time) Ran 4 tests for tests/MapleLoanManager.t.sol:RefinanceAccountingSingleLoanTests \[PASS] test\_refinance\_beforeLoanDueDate\_interestOnly() (gas: 628420) \[PASS] test\_refinance\_onLatePayment\_interestOnly() (gas: 631008) \[PASS] test\_refinance\_onLoanPaymentDueDate\_interestOnly() (gas: 629143) \[PASS] test\_refinance\_onPaymentDueDate\_amortized() (gas: 629932) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 23.16ms (15.99ms CPU time) Ran 6 tests for tests/MapleLoanManager.t.sol:UintCastingTests \[PASS] test\_castUint112() (gas: 24508) \[PASS] test\_castUint120() (gas: 24427) \[PASS] test\_castUint128() (gas: 24487) \[PASS] test\_castUint24() (gas: 24402) \[PASS] test\_castUint48() (gas: 24445) \[PASS] test\_castUint96() (gas: 24448) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 17.70ms (775.46µs CPU time) Ran 3 tests for tests/MapleLoanManager.t.sol:TwoLoanAtomicClaimTests \[PASS] test\_claim\_earlyPayment\_interestOnly\_onTimePayment\_interestOnly() (gas: 710747) \[PASS] test\_claim\_latePayment\_interestOnly\_onTimePayment\_interestOnly() (gas: 734866) \[PASS] test\_claim\_onTimePayment\_interestOnly\_onTimePayment\_interestOnly() (gas: 707930) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 26.91ms (12.26ms CPU time) Ran 6 tests for tests/MapleLoanManager.t.sol:SingleLoanAtomicClaimTests \[PASS] test\_claim\_earlyPayment\_amortized() (gas: 447371) \[PASS] test\_claim\_earlyPayment\_interestOnly() (gas: 439922) \[PASS] test\_claim\_latePayment\_amortized() (gas: 470153) \[PASS] test\_claim\_latePayment\_interestOnly() (gas: 462702) \[PASS] test\_claim\_onTimePayment\_amortized() (gas: 444599) \[PASS] test\_claim\_onTimePayment\_interestOnly() (gas: 437216) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 15.73ms (12.63ms CPU time) Ran 2 tests for tests/MapleLoanManager.t.sol:ThreeLoanPastDomainEndClaimTests \[PASS] test\_claim\_loan1NotPaid\_loan2NotPaid\_loan3PaidLate() (gas: 411235) \[PASS] test\_claim\_loan3\_loan1NotPaid\_loan2NotPaid() (gas: 408747) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 15.25ms (5.42ms CPU time) Ran 2 tests for tests/MapleLoanManager.t.sol:QueueNextPaymentTests \[PASS] testFuzz\_queueNextPayment\_fees(uint256,uint256) (runs: 256, μ: 214795, \~: 223454) \[PASS] test\_queueNextPayment\_fees() (gas: 182906) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 114.89ms (112.69ms CPU time) \[PASS] testFuzz\_claim\_latePayment\_interestOnly(uint256,uint256,uint256,uint256,uint256) (runs: 256, μ: 1854099, \~: 1858350) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 416.77ms (410.22ms CPU time) Ran 28 test suites in 440.91ms (795.37ms CPU time): 110 tests passed, 1 failed, 0 skipped (111 total tests) ## globals Ran 3 tests for tests/GovernorTimelock/AcceptTokenWithdrawer.t.sol:AcceptTokenWithdrawerTests \[PASS] test\_acceptTokenWithdrawer\_revert\_notPendingTokenWithdrawer() (gas: 40612) \[PASS] test\_acceptTokenWithdrawer\_success() (gas: 35529) \[PASS] test\_deployment() (gas: 45168) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.38ms (430.40µs CPU time) \[PASS] test\_deployment() (gas: 45145) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.66ms (300.18µs CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:TransferGovernorTests \[PASS] test\_acceptGovernor() (gas: 51092) \[PASS] test\_acceptGovernor\_notPendingGovernor() (gas: 16293) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.78ms (456.96µs CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:SetPlatformOriginationFeeRateTests \[PASS] test\_setPlatformOriginationFeeRate\_notAuthorized() (gas: 57711) \[PASS] test\_setPlatformOriginationFeeRate\_outOfBounds() (gas: 55567) \[PASS] test\_setPlatformOriginationFeeRate\_success\_governor() (gas: 50507) \[PASS] test\_setPlatformOriginationFeeRate\_success\_operational\_admin() (gas: 79708) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 2.22ms (704.02µs CPU time) Ran 5 tests for tests/GovernorTimelock/SetDefaultTimelockParameters.t.sol:SetDefaultTimelockParametersTests \[PASS] test\_deployment() (gas: 45168) \[PASS] test\_setDefaultTimelockParameters\_revert\_invalidDelay() (gas: 12452) \[PASS] test\_setDefaultTimelockParameters\_revert\_invalidExecutionWindow() (gas: 12468) \[PASS] test\_setDefaultTimelockParameters\_revert\_notSelf() (gas: 9787) \[PASS] test\_setDefaultTimelockParameters\_success() (gas: 21926) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 2.22ms (796.29µs CPU time) Ran 3 tests for tests/MapleGlobals.t.sol:SetValidBorrowerTests \[PASS] test\_setValidBorrower\_notAuthorized() (gas: 57407) \[PASS] test\_setValidBorrower\_success\_governor() (gas: 42256) \[PASS] test\_setValidBorrower\_success\_operationalAdmin() (gas: 79758) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.47ms (305.47µs CPU time) Ran 2 tests for tests/MapleGlobals.t.sol:SetValidCollateralTests \[PASS] test\_setValidCollateral() (gas: 42197) \[PASS] test\_setValidCollateral\_notGovernor() (gas: 55240) Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.46ms (322.45µs CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:SetPlatformServiceFeeRateTests \[PASS] test\_setPlatformServiceFeeRate\_notAuthorized() (gas: 57577) \[PASS] test\_setPlatformServiceFeeRate\_outOfBounds() (gas: 55432) \[PASS] test\_setPlatformServiceFeeRate\_success\_governor() (gas: 50529) \[PASS] test\_setPlatformServiceFeeRate\_success\_operationalAdmin() (gas: 79730) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 2.06ms (572.90µs CPU time) Ran 4 tests for tests/MapleGlobals.t.sol:TransferOwnedPoolTests \[PASS] test\_transferOwnedPool() (gas: 74382) \[PASS] test\_transferOwnedPool\_alreadyOwns() (gas: 286162) \[PASS] test\_transferOwnedPool\_notPoolDelegate() (gas: 26491) \[PASS] test\_transferOwnedPool\_notPoolManager() (gas: 21659) Suite result: ok. 4 pass
프로젝트로 돌아가기