Test Report

Test Reports

Below is an report of all smart contract level tests that are run against the protocol, in all repos.

Current number of tests in this report is: 2146 tests.

maple-core-v2

Running 1 test for tests/integration/loan/fixed-term/DeployLoan.t.sol:DeployFixedTermLoanTests
[PASS] test_deployFixedTermLoan_feeManagerCheck() (gas: 918974)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 18.53ms

Running 4 tests for tests/integration/loan-manager/open-term/RemoveCall.t.sol:RemoveCallFailureTests
[PASS] test_callPrincipal_notCalled() (gas: 81589)
[PASS] test_callPrincipal_notLender() (gas: 38259)
[PASS] test_callPrincipal_notPoolDelegate() (gas: 51245)
[PASS] test_callPrincipal_paused() (gas: 52147)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 18.49ms

Running 3 tests for tests/integration/globals/ActivatePoolManager.t.sol:ActivatePoolManagerFailureTests
[PASS] test_activatePoolManager_failIfNotGlobals() (gas: 37482)
[PASS] test_activatePoolManager_failIfNotGovernor() (gas: 21414)
[PASS] test_activatePoolManager_failIfProtocolIsPaused() (gas: 71464)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 19.22ms

Running 2 tests for tests/integration/pool/BootstrapMintAndDeposit.t.sol:SetBootstrapMintTests
[PASS] test_setBootstrapMint_failIfNotOperationalAdmin() (gas: 21623)
[PASS] test_setBootstrapMint_success_asOperationalAdmin() (gas: 40416)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 20.18ms

Running 5 tests for tests/integration/pool/DepositAndMint.t.sol:MintFailureTests
[PASS] test_mint_insufficientApproval() (gas: 349967)
[PASS] test_mint_liquidityCapExceeded() (gas: 505411)
[PASS] test_mint_privatePoolInvalidRecipient() (gas: 420370)
[PASS] test_mint_privatePoolInvalidRecipient_openPoolToPublic() (gas: 391644)
[PASS] test_mint_protocolPaused() (gas: 167023)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 20.97ms

Running 9 tests for tests/integration/loan-manager/Fund.t.sol:FixedTermLoanManagerFundTests
[PASS] test_fund_failIfAmountGreaterThanLockedLiquidity() (gas: 1773439)
[PASS] test_fund_failIfInsufficientCover() (gas: 262020)
[PASS] test_fund_failIfLoanActive() (gas: 987224)
[PASS] test_fund_failIfNotPoolDelegate() (gas: 56283)
[PASS] test_fund_failIfPoolDoesNotApprovePM() (gas: 283788)
[PASS] test_fund_failIfProtocolIsPaused() (gas: 59962)
[PASS] test_fund_failIfTotalSupplyIsZero() (gas: 484828)
[PASS] test_fund_oneLoan() (gas: 856314)
[PASS] test_fund_twoLoans() (gas: 1400188)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 26.88ms

Running 2 tests for tests/integration/globals/ActivatePoolManager.t.sol:ActivatePoolManagerTests
[PASS] test_activatePoolManager() (gas: 83094)
[PASS] test_activatePoolManager_asOperationalAdmin() (gas: 97441)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 10.28ms

Running 9 tests for tests/integration/loan/DeployLoanByBorrower.t.sol:DeployLoanByBorrowerTests
[PASS] test_deployLoan_FTL_invalidBorrower() (gas: 688708)
[PASS] test_deployLoan_FTL_invalidInstance() (gas: 688433)
[PASS] test_deployLoan_FTL_setCanDeployFromByOA() (gas: 70531)
[PASS] test_deployLoan_FTL_success() (gas: 664895)
[PASS] test_deployLoan_FTL_validBorrowerSetByOA() (gas: 692801)
[PASS] test_deployLoan_FTL_validInstanceSetByOA() (gas: 690793)
[PASS] test_deployLoan_OTL_invalidBorrower() (gas: 528311)
[PASS] test_deployLoan_OTL_invalidInstance() (gas: 528102)
[PASS] test_deployLoan_OTL_success() (gas: 509398)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 14.73ms

Running 3 tests for tests/integration/loan-manager/open-term/RemoveCall.t.sol:RemoveCallTests
[PASS] test_removeCall_impaired() (gas: 423392)
[PASS] test_removeCall_latePayment() (gas: 153921)
[PASS] test_removeCall_paymentOnTime() (gas: 155555)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 18.36ms

Running 7 tests for tests/integration/withdrawal-manager/queue/AddShares.t.sol:AddSharesQueueFailureTests
[PASS] test_addShares_failIfAlreadyInQueue() (gas: 349587)
[PASS] test_addShares_failIfEmptyRequest() (gas: 107568)
[PASS] test_addShares_failIfInsufficientApproval() (gas: 101966)
[PASS] test_addShares_failIfNotPool() (gas: 46146)
[PASS] test_addShares_failIfNotPoolManager() (gas: 18919)
[PASS] test_addShares_failIfProtocolIsPaused() (gas: 66730)
[PASS] test_addShares_failIfTransferFail() (gas: 117207)
Test result: ok. 7 passed; 0 failed; 0 skipped; finished in 12.05ms

Running 5 tests for tests/integration/loan-manager/fixed-term/RemoveLoanImpairment.t.sol:RemoveLoanImpairmentFailureTests
[PASS] test_removeLoanImpairment_notAuthorized() (gas: 69448)
[PASS] test_removeLoanImpairment_notGovernor() (gas: 265330)
[PASS] test_removeLoanImpairment_notImpaired() (gas: 82788)
[PASS] test_removeLoanImpairment_notLender() (gas: 37841)
[PASS] test_removeLoanImpairment_pastDate() (gas: 348735)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 14.54ms

Running 4 tests for tests/integration/withdrawal-manager/queue/AddShares.t.sol:AddSharesQueueTests
[PASS] test_addShares_manual() (gas: 352122)
[PASS] test_addShares_partialRequest() (gas: 309903)
[PASS] test_addShares_success() (gas: 483750)
[PASS] test_addShares_withApproval() (gas: 322239)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 13.19ms

Running 17 tests for tests/integration/loan-manager/Fund.t.sol:OpenTermLoanManagerFundTests
[PASS] test_fund_insufficientCover() (gas: 406472)
[PASS] test_fund_invalidBorrower() (gas: 102333)
[PASS] test_fund_invalidLoanFactory() (gas: 88443)
[PASS] test_fund_invalidLoanInstance() (gas: 220279)
[PASS] test_fund_invalidLoanManagerFactory() (gas: 138987)
[PASS] test_fund_loanActive() (gas: 771142)
[PASS] test_fund_loanManagerApproveFailure() (gas: 480105)
[PASS] test_fund_loanNotActive() (gas: 714352)
[PASS] test_fund_loanTransferFailure() (gas: 539454)
[PASS] test_fund_lockedLiquidity() (gas: 609020)
[PASS] test_fund_notLender() (gas: 38585)
[PASS] test_fund_notLoanManager() (gas: 380942)
[PASS] test_fund_notPoolDelegate() (gas: 56328)
[PASS] test_fund_poolManagerTransferFailure() (gas: 425668)
[PASS] test_fund_protocolPause() (gas: 52149)
[PASS] test_fund_success() (gas: 678460)
[PASS] test_fund_zeroSupply() (gas: 630154)
Test result: ok. 17 passed; 0 failed; 0 skipped; finished in 27.37ms

Running 20 tests for tests/integration/pool/DeployPool.t.sol:DeployPoolTests
[PASS] test_deployPool_failIfCalledPMFactoryDirectly() (gas: 33467)
[PASS] test_deployPool_failIfCalledWMFactoryDirectly() (gas: 35820)
[PASS] test_deployPool_failWithAssetNotAllowed() (gas: 324733)
[PASS] test_deployPool_failWithInsufficientPDApproval() (gas: 6174354)
[PASS] test_deployPool_failWithInvalidAsset() (gas: 422571)
[PASS] test_deployPool_failWithInvalidLMFactory() (gas: 5515387)
[PASS] test_deployPool_failWithInvalidManagementFee() (gas: 6173229)
[PASS] test_deployPool_failWithInvalidPD() (gas: 50314)
[PASS] test_deployPool_failWithInvalidPMFactory() (gas: 68096)
[PASS] test_deployPool_failWithInvalidStart() (gas: 5388392)
[PASS] test_deployPool_failWithInvalidWMCyclicalFactory() (gas: 73041)
[PASS] test_deployPool_failWithNonZeroSupplyAndZeroMigrationAdmin() (gas: 409080)
[PASS] test_deployPool_failWithOwnedPoolManager() (gas: 6555208)
[PASS] test_deployPool_failWithWindowDurationGtCycleDuration() (gas: 5388277)
[PASS] test_deployPool_failWithZeroAsset() (gas: 283265)
[PASS] test_deployPool_failWithZeroWindowDuration() (gas: 5388229)
[PASS] test_deployPool_success() (gas: 6476671)
[PASS] test_deployPool_successWithInitialSupply() (gas: 6416093)
[PASS] test_deployPool_successWithZeroMigrationAdmin() (gas: 6378645)
[PASS] test_deployPool_success_validPDSetByOA() (gas: 6455586)
Test result: ok. 20 passed; 0 failed; 0 skipped; finished in 24.44ms

Running 6 tests for tests/integration/withdrawal-manager/queue/RemoveRequest.t.sol:RemoveRequestFailureTests
[PASS] test_removeRequest_failIfNotGovernor() (gas: 183414)
[PASS] test_removeRequest_failIfNotInQueue() (gas: 138503)
[PASS] test_removeRequest_failIfNotOperationalAdmin() (gas: 187494)
[PASS] test_removeRequest_failIfNotPoolDelegate() (gas: 178995)
[PASS] test_removeRequest_failIfProtocolIsPaused() (gas: 54830)
[PASS] test_removeRequest_failIfTransferFail() (gas: 167336)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 12.30ms

Running 1 test for tests/integration/loan-manager/fixed-term/BasicInterestAccrual.t.sol:BasicInterestAccrualTest
[PASS] test_basicInterestAccrual() (gas: 2433347)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 14.63ms

Running 4 tests for tests/integration/withdrawal-manager/queue/RemoveRequest.t.sol:RemoveRequestTests
[PASS] test_removeRequest_forManual() (gas: 349767)
[PASS] test_removeRequest_manualPartialRedemption() (gas: 487515)
[PASS] test_removeRequest_partialRedemption() (gas: 507848)
[PASS] test_removeRequest_success() (gas: 502947)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 14.47ms

Running 12 tests for tests/integration/pool/DeployPool.t.sol:DeployPoolWMQueueFailureTests
[PASS] test_deployPoolWMQueue_failIfAlreadyOwned() (gas: 6639850)
[PASS] test_deployPoolWMQueue_failIfInsufficientAmount() (gas: 6312925)
[PASS] test_deployPoolWMQueue_failIfInsufficientApproval() (gas: 6312923)
[PASS] test_deployPoolWMQueue_failIfInvalidManagementFeeRate() (gas: 6237800)
[PASS] test_deployPoolWMQueue_failIfInvalidPD() (gas: 46609)
[PASS] test_deployPoolWMQueue_failIfInvalidPMFactory() (gas: 6409042)
[PASS] test_deployPoolWMQueue_failIfInvalidPPM() (gas: 6418887)
[PASS] test_deployPoolWMQueue_failIfInvalidPoolAsset() (gas: 702810)
[PASS] test_deployPoolWMQueue_failIfInvalidWMFactory() (gas: 6413987)
[PASS] test_deployPoolWMQueue_failIfInvalidWMQFactory() (gas: 66394)
[PASS] test_deployPoolWMQueue_failIfPoolAssetNotAllowed() (gas: 321007)
[PASS] test_deployPoolWMQueue_failIfSaltCollision() (gas: 17595493375392626051)
Test result: ok. 12 passed; 0 failed; 0 skipped; finished in 23.42ms

Running 6 tests for tests/integration/permission-manager/PoolTransferPermission.t.sol:FunctionLevelPermissionTests
[PASS] test_poolTransfer_functionLevel_transfer() (gas: 360285)
[PASS] test_poolTransfer_functionLevel_transferFrom() (gas: 368518)
[PASS] test_poolTransfer_functionLevel_transferFrom_zeroPoolBitmap_nonZeroLenderBitmaps() (gas: 279617)
[PASS] test_poolTransfer_functionLevel_transferFrom_zeroPoolBitmap_zeroLenderBitmaps() (gas: 210048)
[PASS] test_poolTransfer_functionLevel_transfer_zeroPoolBitmap_nonZeroLenderBitmaps() (gas: 273035)
[PASS] test_poolTransfer_functionLevel_transfer_zeroPoolBitmap_zeroLenderBitmaps() (gas: 203487)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 14.29ms

Running 9 tests for tests/integration/withdrawal-manager/RemoveShares.t.sol:RemoveSharesCyclicalFailureTests
[PASS] test_removeShares_failIfInsufficientApproval() (gas: 229349)
[PASS] test_removeShares_failIfInvalidShares() (gas: 108740)
[PASS] test_removeShares_failIfInvalidSharesWithZero() (gas: 108704)
[PASS] test_removeShares_failIfNotPool() (gas: 46120)
[PASS] test_removeShares_failIfNotPoolManager() (gas: 19241)
[PASS] test_removeShares_failIfProtocolIsPaused() (gas: 66774)
[PASS] test_removeShares_failIfRemovedTwice() (gas: 197171)
[PASS] test_removeShares_failIfTransferFail() (gas: 184252)
[PASS] test_removeShares_failIfWithdrawalIsPending() (gas: 249358)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 13.60ms

Running 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:MaxWithdrawTests
[PASS] testDeepFuzz_maxWithdraw_lockedShares_inExitWindow(uint256) (runs: 100, μ: 457874, ~: 458329)
[PASS] test_maxWithdraw_lockedShares_inExitWindow() (gas: 453028)
[PASS] test_maxWithdraw_lockedShares_notInExitWindow() (gas: 449200)
[PASS] test_maxWithdraw_noLockedShares_notInExitWindow() (gas: 282546)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 98.51ms

Running 6 tests for tests/integration/permission-manager/PoolTransferPermission.t.sol:PoolLevelPermissionTests
[PASS] test_poolTransfer_poolLevel_transfer() (gas: 360397)
[PASS] test_poolTransfer_poolLevel_transferFrom() (gas: 368609)
[PASS] test_poolTransfer_poolLevel_transferFrom_zeroPoolBitmap_nonZeroLenderBitmaps() (gas: 279671)
[PASS] test_poolTransfer_poolLevel_transferFrom_zeroPoolBitmap_zeroLenderBitmaps() (gas: 210125)
[PASS] test_poolTransfer_poolLevel_transfer_zeroPoolBitmap_nonZeroLenderBitmaps() (gas: 273089)
[PASS] test_poolTransfer_poolLevel_transfer_zeroPoolBitmap_zeroLenderBitmaps() (gas: 203586)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 14.34ms

Running 2 tests for tests/integration/pool/DeployPool.t.sol:DeployPoolWMQueueTests
[PASS] test_deployPoolWMQueue_success() (gas: 6489015)
[PASS] test_deployPoolWMQueue_withoutCoverAmount() (gas: 6369767)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 22.09ms

Running 2 tests for tests/integration/permission-manager/PoolTransferPermission.t.sol:PrivatePermissionTests
[PASS] test_poolTransfer_private_transfer() (gas: 298157)
[PASS] test_poolTransfer_private_transferFrom() (gas: 305564)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 11.83ms

Running 5 tests for tests/integration/withdrawal-manager/RemoveShares.t.sol:RemoveSharesCyclicalTests
[PASS] test_removeShares_pastTheRedemptionWindow() (gas: 177894)
[PASS] test_removeShares_prematurelyAddedShares() (gas: 463018)
[PASS] test_removeShares_sameAddressCallingTwice() (gas: 589692)
[PASS] test_removeShares_success() (gas: 178067)
[PASS] test_removeShares_withApproval() (gas: 195435)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 20.60ms

Running 2 tests for tests/integration/permission-manager/PoolTransferPermission.t.sol:PublicPermissionTests
[PASS] test_poolTransfer_public_transfer() (gas: 102731)
[PASS] test_poolTransfer_public_transferFrom() (gas: 108488)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 11.07ms

Running 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewDepositTests
[PASS] test_previewDeposit_multipleUsers() (gas: 503657)
[PASS] test_previewDeposit_multipleUsers_changeTotalAssets() (gas: 533285)
[PASS] test_previewDeposit_nonZeroTotalSupply() (gas: 299281)
[PASS] test_previewDeposit_zeroTotalSupply() (gas: 12533)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 24.52ms

Running 8 tests for tests/integration/withdrawal-manager/RemoveShares.t.sol:RemoveSharesQueueFailureTests
[PASS] test_removeShares_failIfInsufficientApproval() (gas: 220888)
[PASS] test_removeShares_failIfInvalidShares() (gas: 100051)
[PASS] test_removeShares_failIfInvalidSharesWithZero() (gas: 97761)
[PASS] test_removeShares_failIfNotPool() (gas: 46053)
[PASS] test_removeShares_failIfNotPoolManager() (gas: 19241)
[PASS] test_removeShares_failIfProtocolIsPaused() (gas: 66796)
[PASS] test_removeShares_failIfRemovedTwice() (gas: 186749)
[PASS] test_removeShares_failIfTransferFail() (gas: 181753)
Test result: ok. 8 passed; 0 failed; 0 skipped; finished in 13.12ms

Running 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewMintTests
[PASS] test_previewMint_multipleUsers() (gas: 504843)
[PASS] test_previewMint_multipleUsers_changeTotalAssets() (gas: 534450)
[PASS] test_previewMint_nonZeroTotalSupply() (gas: 300511)
[PASS] test_previewMint_zeroTotalSupply() (gas: 12385)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 13.60ms

Running 5 tests for tests/integration/withdrawal-manager/RemoveShares.t.sol:RemoveSharesQueueTests
[PASS] test_removeShares_manual_partiallyProcessed() (gas: 731780)
[PASS] test_removeShares_partiallyProcessed() (gas: 447715)
[PASS] test_removeShares_sameAddressCallingTwice() (gas: 618099)
[PASS] test_removeShares_success() (gas: 185671)
[PASS] test_removeShares_withApproval() (gas: 203017)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 16.00ms

Running 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewRedeemTests
[PASS] test_previewRedeem_invalidShares() (gas: 440377)
[PASS] test_previewRedeem_lockedShares_inExitWindow() (gas: 476007)
[PASS] test_previewRedeem_lockedShares_notInExitWindow() (gas: 445860)
[PASS] test_previewRedeem_noLockedShares_notInExitWindow() (gas: 37023)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 12.08ms

Running 7 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewRedeemWithQueueWMTests
[PASS] test_previewRedeem_emptyRedemption_fullLiquidity() (gas: 131587)
[PASS] test_previewRedeem_emptyRedemption_partialLiquidity() (gas: 131694)
[PASS] test_previewRedeem_fullRedemption_fullLiquidity() (gas: 131931)
[PASS] test_previewRedeem_fullRedemption_partialLiquidity() (gas: 132011)
[PASS] test_previewRedeem_insufficientShares() (gas: 38694)
[PASS] test_previewRedeem_partialRedemption_fullLiquidity() (gas: 132524)
[PASS] test_previewRedeem_partialRedemption_partialLiquidity() (gas: 132634)
Test result: ok. 7 passed; 0 failed; 0 skipped; finished in 12.71ms

Running 7 tests for tests/integration/withdrawal-manager/queue/SetManualWithdrawal.t.sol:SetManualWithdrawalTests
[PASS] test_setManualWithdrawal_failIfLpAlreadyInQueue() (gas: 286069)
[PASS] test_setManualWithdrawal_failIfNotProtocolAdmin() (gas: 61368)
[PASS] test_setManualWithdrawal_failIfProtocolIsPaused() (gas: 55049)
[PASS] test_setManualWithdrawal_success() (gas: 83359)
[PASS] test_setManualWithdrawal_successAsGovernor() (gas: 87711)
[PASS] test_setManualWithdrawal_successAsOperationalAdmin() (gas: 91858)
[PASS] test_setManualWithdrawal_unsetSuccess() (gas: 78729)
Test result: ok. 7 passed; 0 failed; 0 skipped; finished in 18.21ms

Running 4 tests for tests/integration/loan-manager/fixed-term/SetMinRatioAndSlippage.t.sol:SetMinRatioTests
[PASS] test_setMinRatio_notAuthorized() (gas: 57445)
[PASS] test_setMinRatio_notPoolManager() (gas: 57445)
[PASS] test_setMinRatio_withGovernor() (gas: 85585)
[PASS] test_setMinRatio_withPoolDelegate() (gas: 79697)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 11.04ms

Running 5 tests for tests/integration/loan-manager/fixed-term/SetMinRatioAndSlippage.t.sol:SetSlippageTests
[PASS] test_setAllowedSlippage_invalidSlippage() (gas: 131172)
[PASS] test_setAllowedSlippage_notAuthorized() (gas: 57358)
[PASS] test_setAllowedSlippage_notPoolManager() (gas: 57402)
[PASS] test_setAllowedSlippage_withGovernor() (gas: 85546)
[PASS] test_setAllowedSlippage_withPoolDelegate() (gas: 79637)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 11.64ms

Running 2 tests for tests/fuzz/PoolTransferPermissionsFuzz.t.sol:PoolTransferPermissionsFuzzTests
[PASS] testFuzz_poolTransfer(uint256,uint256,uint256,uint256,uint256,bool,bool) (runs: 100, μ: 483162, ~: 422625)
[PASS] testFuzz_poolTransferFrom(uint256,uint256,uint256,uint256,uint256,bool,bool) (runs: 100, μ: 470897, ~: 424239)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 154.54ms

Running 8 tests for tests/integration/permission-manager/SetPoolPermissionLevel.t.sol:SetPoolPermissionLevelTests
[PASS] testFuzz_setPoolPermissionLevel(uint256,uint256) (runs: 100, μ: 109668, ~: 112695)
[PASS] testFuzz_setPoolPermissionLevel_invalidLevel(uint256) (runs: 100, μ: 47512, ~: 47443)
[PASS] testFuzz_setPoolPermissionLevel_publicPool(uint256) (runs: 100, μ: 94675, ~: 94780)
[PASS] test_setPoolPermissionLevel_anotherPoolDelegate() (gas: 79526)
[PASS] test_setPoolPermissionLevel_governor() (gas: 69325)
[PASS] test_setPoolPermissionLevel_notAuthorized() (gas: 45031)
[PASS] test_setPoolPermissionLevel_operationalAdmin() (gas: 73584)
[PASS] test_setPoolPermissionLevel_poolDelegate() (gas: 66949)
Test result: ok. 8 passed; 0 failed; 0 skipped; finished in 90.02ms

Running 1 test for tests/fuzz/Deposit.t.sol:DepositFuzzTests
[PASS] testDeepFuzz_deposit_all(address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 100, μ: 463198, ~: 489455)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 179.83ms

Running 5 tests for tests/integration/pool/DepositAndMint.t.sol:DepositFailureTests
[PASS] test_deposit_insufficientApproval() (gas: 346199)
[PASS] test_deposit_liquidityCapExceeded() (gas: 461428)
[PASS] test_deposit_privatePoolInvalidRecipient() (gas: 411083)
[PASS] test_deposit_privatePoolInvalidRecipient_openPoolToPublic() (gas: 382270)
[PASS] test_deposit_protocolPaused() (gas: 107250)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 12.32ms

Running 10 tests for tests/integration/pool/Transfer.t.sol:TransferTests
[PASS] test_transferFrom_privatePoolInvalidLender() (gas: 443262)
[PASS] test_transferFrom_privatePoolInvalidLender_openPoolToPublic() (gas: 434994)
[PASS] test_transferFrom_protocolPaused() (gas: 366380)
[PASS] test_transferFrom_publicPool() (gas: 352611)
[PASS] test_transferFrom_publicPool_insufficientApproval() (gas: 358699)
[PASS] test_transferFrom_publicPool_noApproval() (gas: 333603)
[PASS] test_transfer_privatePoolInvalidLender() (gas: 427718)
[PASS] test_transfer_privatePoolInvalidLender_openPoolToPublic() (gas: 419491)
[PASS] test_transfer_protocolPaused() (gas: 338359)
[PASS] test_transfer_publicPool() (gas: 341981)
Test result: ok. 10 passed; 0 failed; 0 skipped; finished in 24.20ms

Running 9 tests for tests/integration/globals/TransferPoolOwnership.t.sol:TransferPoolOwnershipTests
[PASS] test_acceptPoolDelegate() (gas: 111145)
[PASS] test_acceptPoolDelegate_notPendingPoolDelegate() (gas: 117767)
[PASS] test_setPendingPoolDelegate_asGovernor() (gas: 74001)
[PASS] test_setPendingPoolDelegate_asOperationalAdmin() (gas: 79539)
[PASS] test_setPendingPoolDelegate_asPoolDelegate() (gas: 68184)
[PASS] test_setPendingPoolDelegate_notPD() (gas: 110800)
[PASS] test_transferOwnedPoolManager_alreadyPoolDelegate() (gas: 152047)
[PASS] test_transferOwnedPoolManager_notPoolManager() (gas: 117792)
[PASS] test_transferOwnedPoolManager_notValidPoolDelegate() (gas: 126955)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 19.78ms

Running 4 tests for tests/integration/pool/DepositAndMint.t.sol:MintTest
[PASS] testDeepFuzz_mint_singleUser(uint256) (runs: 100, μ: 316343, ~: 316299)
[PASS] testDeepFuzz_mint_variableExchangeRate(uint256,uint256) (runs: 100, μ: 1635199, ~: 1634954)
[PASS] test_mint_singleUser_oneToOne() (gas: 312002)
[PASS] test_mint_twoUsers_oneToOne() (gas: 468944)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 313.89ms

Running 6 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewWithdrawTests
[PASS] testDeepFuzz_previewWithdraw(uint256) (runs: 100, μ: 35084, ~: 35084)
[PASS] testDeepFuzz_previewWithdraw_lockedShares_inExitWindow(uint256) (runs: 100, μ: 447688, ~: 447038)
[PASS] testDeepFuzz_previewWithdraw_lockedShares_notInExitWindow(uint256) (runs: 100, μ: 447941, ~: 448171)
[PASS] test_previewWithdraw() (gas: 277520)
[PASS] test_previewWithdraw_zeroAssetsWithDeposit() (gas: 277497)
[PASS] test_previewWithdraw_zeroAssetsWithoutDeposit() (gas: 34843)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 177.60ms

Running 10 tests for tests/integration/loan/fixed-term/TriggerDefault.t.sol:OpenTermLoanTriggerDefaultFailureTests
[PASS] test_triggerDefault_invalidLoanManager() (gas: 4866185)
[PASS] test_triggerDefault_notAuthorized() (gas: 59405)
[PASS] test_triggerDefault_notFactory() (gas: 54994)
[PASS] test_triggerDefault_notInDefault_boundary() (gas: 604171)
[PASS] test_triggerDefault_notLoan() (gas: 94274)
[PASS] test_triggerDefault_notPM() (gas: 442844)
[PASS] test_triggerDefault_protocolPaused_loanManager() (gas: 55331)
[PASS] test_triggerDefault_protocolPaused_poolManager() (gas: 54680)
[PASS] test_triggerDefault_repossess_notLender() (gas: 40831)
[PASS] test_triggerDefault_treasuryZeroAddress() (gas: 561783)
Test result: ok. 10 passed; 0 failed; 0 skipped; finished in 33.33ms

Running 5 tests for tests/integration/pool/DepositAndMint.t.sol:MintWithPermitFailureTests
[PASS] test_mintWithPermit_insufficientPermit() (gas: 534329)
[PASS] test_mintWithPermit_liquidityCapExceeded() (gas: 557922)
[PASS] test_mintWithPermit_privatePoolInvalidRecipient() (gas: 461457)
[PASS] test_mintWithPermit_privatePoolInvalidRecipient_openPoolToPublic() (gas: 432686)
[PASS] test_mintWithPermit_protocolPaused() (gas: 170622)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 32.69ms

Running 9 tests for tests/integration/loan/fixed-term/TriggerDefault.t.sol:OpenTermLoanTriggerDefaultTests
[PASS] test_triggerDefault_called() (gas: 630186)
[PASS] test_triggerDefault_feesAndFullRecovery() (gas: 327604)
[PASS] test_triggerDefault_feesAndPartialRecovery() (gas: 317183)
[PASS] test_triggerDefault_impaired() (gas: 649393)
[PASS] test_triggerDefault_impaired_feesAndFullRecovery() (gas: 364867)
[PASS] test_triggerDefault_impaired_onlyFeesRecovered() (gas: 345692)
[PASS] test_triggerDefault_latePayment() (gas: 527631)
[PASS] test_triggerDefault_onlyFeesRecovered() (gas: 303819)
[PASS] test_triggerDefault_setByOperationalAdmin() (gas: 315175)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 20.17ms

Running 3 tests for tests/integration/loan/fixed-term/TriggerDefault.t.sol:TriggerDefaultFailureTests
[PASS] test_triggerDefault_notAuthorized() (gas: 59449)
[PASS] test_triggerDefault_notFactory() (gas: 54972)
[PASS] test_triggerDefault_notPoolManager() (gas: 57109)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 12.55ms

Running 3 tests for tests/integration/loan-manager/fixed-term/UnrealizedLosses.t.sol:UnrealizedLossesTests
[PASS] test_unrealizedLosses_depositWithUnrealizedLosses() (gas: 498236)
[PASS] test_unrealizedLosses_redeemWithUnrealizedLosses_fullLiquidity() (gas: 633465)
[PASS] test_unrealizedLosses_redeemWithUnrealizedLosses_partialLiquidity() (gas: 1952022)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 17.32ms

Running 2 tests for tests/integration/globals/Upgrade.t.sol:GlobalsUpgradeTests
[PASS] test_upgradeGlobals() (gas: 25953)
[PASS] test_upgradeGlobals_notAdmin() (gas: 30390)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 10.73ms

Running 6 tests for tests/integration/globals/Upgrade.t.sol:LiquidationUpgradeTests
[PASS] test_upgradeLiquidator_delayNotPassed() (gas: 169446)
[PASS] test_upgradeLiquidator_durationPassed() (gas: 170232)
[PASS] test_upgradeLiquidator_governor_noTimelockNeeded() (gas: 208334)
[PASS] test_upgradeLiquidator_noTimelock() (gas: 177819)
[PASS] test_upgradeLiquidator_timelockExtended() (gas: 300992)
[PASS] test_upgradeLiquidator_timelockShortened() (gas: 301840)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 26.74ms

Running 1 test for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewWithdrawWithQueueWMTests
[PASS] testFuzz_previewWithdraw(address,bool,uint256,uint256,uint256) (runs: 100, μ: 601804, ~: 615867)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 124.19ms

Running 6 tests for tests/integration/globals/Upgrade.t.sol:LoanManagerUpgradeTests
[PASS] test_upgradeLoanManager_delayNotPassed() (gas: 168752)
[PASS] test_upgradeLoanManager_durationPassed() (gas: 169558)
[PASS] test_upgradeLoanManager_governor_noTimelockNeeded() (gas: 195737)
[PASS] test_upgradeLoanManager_noTimelock() (gas: 177215)
[PASS] test_upgradeLoanManager_timelockExtended() (gas: 295218)
[PASS] test_upgradeLoanManager_timelockShortened() (gas: 295999)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 17.51ms

Running 6 tests for tests/integration/globals/Upgrade.t.sol:PoolManagerUpgradeTests
[PASS] test_upgradePoolManager_delayNotPassed() (gas: 147217)
[PASS] test_upgradePoolManager_durationPassed() (gas: 148045)
[PASS] test_upgradePoolManager_governor_noTimelockNeeded() (gas: 174113)
[PASS] test_upgradePoolManager_noTimelock() (gas: 155633)
[PASS] test_upgradePoolManager_timelockExtended() (gas: 252233)
[PASS] test_upgradePoolManager_timelockShortened() (gas: 253014)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 13.11ms

Running 2 tests for tests/integration/pool/DepositAndMint.t.sol:MintWithPermitTests
[PASS] testDeepFuzz_mintWithPermit_singleUser(uint256) (runs: 100, μ: 352771, ~: 352763)
[PASS] test_mintWithPermit_singleUser() (gas: 351239)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 117.23ms

Running 5 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:TotalAssetsTests
[PASS] test_totalAssets_singleDeposit() (gas: 273869)
[PASS] test_totalAssets_singleLoanFunded() (gas: 1565692)
[PASS] test_totalAssets_singleLoanFundedWithInterest() (gas: 1600408)
[PASS] test_totalAssets_singleLoanFundedWithPayment() (gas: 1836737)
[PASS] test_totalAssets_zeroTotalSupply() (gas: 65190)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 22.21ms

Running 1 test for tests/integration/globals/Upgrade.t.sol:UnscheduleCallTests
[PASS] test_unscheduleCall_governor() (gas: 89492)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 10.47ms

Running 6 tests for tests/integration/globals/Upgrade.t.sol:WithdrawalManagerUpgradeTests
[PASS] test_upgradeWithdrawalManager_delayNotPassed() (gas: 147903)
[PASS] test_upgradeWithdrawalManager_durationPassed() (gas: 148665)
[PASS] test_upgradeWithdrawalManager_governor_noTimelockNeeded() (gas: 174752)
[PASS] test_upgradeWithdrawalManager_noTimelock() (gas: 156278)
[PASS] test_upgradeWithdrawalManager_timelockExtended() (gas: 257837)
[PASS] test_upgradeWithdrawalManager_timelockShortened() (gas: 258684)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 14.58ms

Running 12 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:FunctionLevelPermissionTests
[PASS] test_poolEntry_functionLevel_deposit() (gas: 422528)
[PASS] test_poolEntry_functionLevel_depositWithPermit() (gas: 470764)
[PASS] test_poolEntry_functionLevel_depositWithPermit_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 424380)
[PASS] test_poolEntry_functionLevel_depositWithPermit_zeroPoolBitmap_zeroLenderBitmap() (gas: 387519)
[PASS] test_poolEntry_functionLevel_deposit_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 378043)
[PASS] test_poolEntry_functionLevel_deposit_zeroPoolBitmap_zeroLenderBitmap() (gas: 341269)
[PASS] test_poolEntry_functionLevel_mint() (gas: 428230)
[PASS] test_poolEntry_functionLevel_mintWithPermit() (gas: 477487)
[PASS] test_poolEntry_functionLevel_mintWithPermit_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 428773)
[PASS] test_poolEntry_functionLevel_mintWithPermit_zeroPoolBitmap_zeroLenderBitmap() (gas: 392023)
[PASS] test_poolEntry_functionLevel_mint_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 381900)
[PASS] test_poolEntry_functionLevel_mint_zeroPoolBitmap_zeroLenderBitmap() (gas: 345061)
Test result: ok. 12 passed; 0 failed; 0 skipped; finished in 20.02ms

Running 12 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:PoolLevelPermissionTests
[PASS] test_poolEntry_poolLevel_deposit() (gas: 422643)
[PASS] test_poolEntry_poolLevel_depositWithPermit() (gas: 470746)
[PASS] test_poolEntry_poolLevel_depositWithPermit_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 424377)
[PASS] test_poolEntry_poolLevel_depositWithPermit_zeroPoolBitmap_zeroLenderBitmap() (gas: 387602)
[PASS] test_poolEntry_poolLevel_deposit_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 378104)
[PASS] test_poolEntry_poolLevel_deposit_zeroPoolBitmap_zeroLenderBitmap() (gas: 341309)
[PASS] test_poolEntry_poolLevel_mint() (gas: 428298)
[PASS] test_poolEntry_poolLevel_mintWithPermit() (gas: 477470)
[PASS] test_poolEntry_poolLevel_mintWithPermit_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 428857)
[PASS] test_poolEntry_poolLevel_mintWithPermit_zeroPoolBitmap_zeroLenderBitmap() (gas: 392106)
[PASS] test_poolEntry_poolLevel_mint_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 381875)
[PASS] test_poolEntry_poolLevel_mint_zeroPoolBitmap_zeroLenderBitmap() (gas: 345168)
Test result: ok. 12 passed; 0 failed; 0 skipped; finished in 20.17ms

Running 4 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:PrivatePermissionTests
[PASS] test_poolEntry_private_deposit() (gas: 357252)
[PASS] test_poolEntry_private_depositWithPermit() (gas: 403527)
[PASS] test_poolEntry_private_mint() (gas: 361023)
[PASS] test_poolEntry_private_mintWithPermit() (gas: 408006)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 14.22ms

Running 4 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:PublicPermissionTests
[PASS] test_poolEntry_public_deposit() (gas: 244180)
[PASS] test_poolEntry_public_depositWithPermit() (gas: 288496)
[PASS] test_poolEntry_public_mint() (gas: 246022)
[PASS] test_poolEntry_public_mintWithPermit() (gas: 290740)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 12.86ms

Running 4 tests for tests/integration/pool/DepositAndMint.t.sol:DepositTest
[PASS] testDeepFuzz_deposit_singleUser(uint256) (runs: 100, μ: 312862, ~: 312781)
[PASS] testDeepFuzz_deposit_variableExchangeRate(uint256,uint256) (runs: 100, μ: 1597904, ~: 1600049)
[PASS] test_deposit_singleUser_oneToOne() (gas: 308529)
[PASS] test_deposit_twoUsers_oneToOne() (gas: 440039)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 297.67ms

Running 5 tests for tests/integration/pool/DepositAndMint.t.sol:DepositWithPermitFailureTests
[PASS] test_depositWithPermit_invalidSignature() (gas: 531976)
[PASS] test_depositWithPermit_liquidityCapExceeded() (gas: 513178)
[PASS] test_depositWithPermit_privatePoolInvalidRecipient() (gas: 451728)
[PASS] test_depositWithPermit_privatePoolInvalidRecipient_openPoolToPublic() (gas: 422953)
[PASS] test_depositWithPermit_protocolPaused() (gas: 166501)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 16.86ms

Running 2 tests for tests/integration/pool/DepositAndMint.t.sol:DepositWithPermitTests
[PASS] testDeepFuzz_depositWithPermit_singleUser(uint256) (runs: 100, μ: 351876, ~: 351796)
[PASS] test_depositWithPermit_singleUser() (gas: 347464)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 124.35ms

Running 3 tests for tests/integration/loan-manager/fixed-term/Redeem.t.sol:RedeemIntegrationTests
[PASS] test_redeem_oneLPWithImpairedLoan() (gas: 1882545)
[PASS] test_redeem_twoLPSWithImpairedLoanAndTriggerDefault() (gas: 2031889)
[PASS] test_redeem_twoLPsWithImpairedLoan() (gas: 2217682)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 26.75ms

Running 4 tests for tests/fuzz/PoolEntryPermissionsFuzz.t.sol:PoolEntryPermissionsFuzzTests
[PASS] testFuzz_poolEntryTests_deposit(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 363382, ~: 364626)
[PASS] testFuzz_poolEntryTests_depositWithPermit(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 444055, ~: 409737)
[PASS] testFuzz_poolEntryTests_mint(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 350297, ~: 330410)
[PASS] testFuzz_poolEntryTests_mintWithPermit(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 462532, ~: 449953)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 306.13ms

Running 15 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:FunctionLevelPermissionTests
[PASS] test_poolExit_functionLevel_redeem() (gas: 639640)
[PASS] test_poolExit_functionLevel_redeem_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 645563)
[PASS] test_poolExit_functionLevel_redeem_zeroPoolBitmap_zeroLenderBitmap() (gas: 616110)
[PASS] test_poolExit_functionLevel_removeShares() (gas: 517261)
[PASS] test_poolExit_functionLevel_removeShares_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 523760)
[PASS] test_poolExit_functionLevel_removeShares_zeroPoolBitmap_zeroLenderBitmap() (gas: 494342)
[PASS] test_poolExit_functionLevel_requestRedeem() (gas: 440451)
[PASS] test_poolExit_functionLevel_requestRedeem_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 396035)
[PASS] test_poolExit_functionLevel_requestRedeem_zeroPoolBitmap_zeroLenderBitmap() (gas: 359241)
[PASS] test_poolExit_functionLevel_requestWithdraw() (gas: 359350)
[PASS] test_poolExit_functionLevel_requestWithdraw_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 314784)
[PASS] test_poolExit_functionLevel_requestWithdraw_zeroPoolBitmap_zeroLenderBitmap() (gas: 278098)
[PASS] test_poolExit_functionLevel_withdraw() (gas: 265290)
[PASS] test_poolExit_functionLevel_withdraw_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 219998)
[PASS] test_poolExit_functionLevel_withdraw_zeroPoolBitmap_zeroLenderBitmap() (gas: 183181)
Test result: ok. 15 passed; 0 failed; 0 skipped; finished in 24.08ms

Running 7 tests for tests/integration/loan-manager/fixed-term/Redeem.t.sol:RedeemTests
[PASS] testDeepFuzz_redeem_singleUser_fullLiquidity_oneToOne(uint256,uint256) (runs: 100, μ: 571178, ~: 569560)
[PASS] test_redeem_singleUser_fullLiquidity_fullRedeem() (gas: 582924)
[PASS] test_redeem_singleUser_fullLiquidity_fullRedeem_prematureRequest() (gas: 584088)
[PASS] test_redeem_singleUser_fullLiquidity_oneToOne() (gas: 579349)
[PASS] test_redeem_singleUser_noLiquidity() (gas: 1872685)
[PASS] test_redeem_singleUser_noLiquidity_notOwner() (gas: 1939563)
[PASS] test_redeem_singleUser_withApprovals() (gas: 641198)
Test result: ok. 7 passed; 0 failed; 0 skipped; finished in 143.47ms

Running 15 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:PoolLevelPermissionTests
[PASS] test_poolExit_poolLevel_redeem() (gas: 603560)
[PASS] test_poolExit_poolLevel_redeem_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 591144)
[PASS] test_poolExit_poolLevel_redeem_zeroPoolBitmap_zeroLenderBitmap() (gas: 561742)
[PASS] test_poolExit_poolLevel_removeShares() (gas: 481073)
[PASS] test_poolExit_poolLevel_removeShares_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 469374)
[PASS] test_poolExit_poolLevel_removeShares_zeroPoolBitmap_zeroLenderBitmap() (gas: 439973)
[PASS] test_poolExit_poolLevel_requestRedeem() (gas: 440498)
[PASS] test_poolExit_poolLevel_requestRedeem_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 396010)
[PASS] test_poolExit_poolLevel_requestRedeem_zeroPoolBitmap_zeroLenderBitmap() (gas: 359238)
[PASS] test_poolExit_poolLevel_requestWithdraw() (gas: 359442)
[PASS] test_poolExit_poolLevel_requestWithdraw_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 314823)
[PASS] test_poolExit_poolLevel_requestWithdraw_zeroPoolBitmap_zeroLenderBitmap() (gas: 278115)
[PASS] test_poolExit_poolLevel_withdraw() (gas: 265316)
[PASS] test_poolExit_poolLevel_withdraw_zeroPoolBitmap_nonZeroLenderBitmap() (gas: 220016)
[PASS] test_poolExit_poolLevel_withdraw_zeroPoolBitmap_zeroLenderBitmap() (gas: 183288)
Test result: ok. 15 passed; 0 failed; 0 skipped; finished in 23.39ms

Running 4 tests for tests/integration/loan-manager/fixed-term/Redeem.t.sol:RequestRedeemFailureTests
[PASS] test_requestRedeem_failIfAlreadyLockedShares() (gas: 338461)
[PASS] test_requestRedeem_failIfInsufficientApproval() (gas: 164465)
[PASS] test_requestRedeem_failIfNotPM() (gas: 18962)
[PASS] test_requestRedeem_failIfNotPool() (gas: 46283)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 12.62ms

Running 5 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:PrivatePermissionTests
[PASS] test_poolExit_private_redeem() (gas: 538495)
[PASS] test_poolExit_private_removeShares() (gas: 416740)
[PASS] test_poolExit_private_requestRedeem() (gas: 382179)
[PASS] test_poolExit_private_requestWithdraw() (gas: 300971)
[PASS] test_poolExit_private_withdraw() (gas: 206166)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 14.50ms

Running 5 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:PublicPermissionTests
[PASS] test_poolExit_public_redeem() (gas: 414969)
[PASS] test_poolExit_public_removeShares() (gas: 292217)
[PASS] test_poolExit_public_requestRedeem() (gas: 255441)
[PASS] test_poolExit_public_requestWithdraw() (gas: 178810)
[PASS] test_poolExit_public_withdraw() (gas: 83260)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 13.27ms

Running 7 tests for tests/integration/loan-manager/fixed-term/Redeem.t.sol:RequestRedeemTests
[PASS] testDeepFuzz_requestRedeem(uint256,uint256) (runs: 100, μ: 488191, ~: 490044)
[PASS] test_requestRedeem() (gas: 460343)
[PASS] test_requestRedeem_premature() (gas: 463055)
[PASS] test_requestRedeem_refresh() (gas: 552646)
[PASS] test_requestRedeem_refresh_notOwnerAndNoApproval() (gas: 508127)
[PASS] test_requestRedeem_refresh_notOwnerWithApproval() (gas: 586896)
[PASS] test_requestRedeem_withApproval() (gas: 480153)
Test result: ok. 7 passed; 0 failed; 0 skipped; finished in 85.47ms

Running 5 tests for tests/integration/withdrawal-manager/queue/RedeemQueue.t.sol:ManualRedeemTests
[PASS] test_manualRedeem_fullLiquidity() (gas: 833876)
[PASS] test_manualRedeem_insufficientLiquidity() (gas: 1133499)
[PASS] test_manualRedeem_noShares() (gas: 97656)
[PASS] test_manualRedeem_partialLiquidity() (gas: 914424)
[PASS] test_manualRedeem_tooManyShares() (gas: 512644)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 19.46ms

Running 13 tests for tests/integration/loan/Refinance.t.sol:AcceptNewTermsFailureTests
[PASS] testFail_acceptNewTerms_failIfNotValidLoanManager() (gas: 79262)
[PASS] test_acceptNewTerms_failIfDeadlineExpired() (gas: 216948)
[PASS] test_acceptNewTerms_failIfInsufficientCover() (gas: 269257)
[PASS] test_acceptNewTerms_failIfLockedLiquidity() (gas: 516310)
[PASS] test_acceptNewTerms_failIfNotLender() (gas: 41983)
[PASS] test_acceptNewTerms_failIfNotPoolDelegate() (gas: 60313)
[PASS] test_acceptNewTerms_failIfProtocolIsPaused() (gas: 63946)
[PASS] test_acceptNewTerms_failIfRefinanceCallFails() (gas: 343621)
[PASS] test_acceptNewTerms_failIfRefinanceMismatch() (gas: 159072)
[PASS] test_acceptNewTerms_failWithFailedTransfer() (gas: 286378)
[PASS] test_acceptNewTerms_failWithInsufficientCollateral() (gas: 626676)
[PASS] test_acceptNewTerms_failWithInvalidRefinancer() (gas: 243629)
[PASS] test_acceptNewTerms_failWithUnexpectedFunds() (gas: 617674)
Test result: ok. 13 passed; 0 failed; 0 skipped; finished in 18.23ms

Running 3 tests for tests/integration/loan/Refinance.t.sol:RefinanceOpenTermLoan
[PASS] test_refinance_calledLoan_withoutPrincipalChange() (gas: 791971)
[PASS] test_refinance_early_increasePrincipal() (gas: 791245)
[PASS] test_refinance_late_decreasePrincipal() (gas: 704731)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 20.14ms

Running 5 tests for tests/integration/loan/Refinance.t.sol:RefinanceTestsSingleLoan
[PASS] test_refinance_onLateLoan_changePaymentInterval() (gas: 1156002)
[PASS] test_refinance_onLoanPaymentDueDate_changeInterestRate() (gas: 1146696)
[PASS] test_refinance_onLoanPaymentDueDate_changePaymentInterval() (gas: 1146634)
[PASS] test_refinance_onLoanPaymentDueDate_changeToAmortized() (gas: 1149450)
[PASS] test_refinance_onLoanPaymentDueDate_increasePrincipal() (gas: 1201303)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 28.43ms

Running 3 tests for tests/e2e/RefinanceScenario.t.sol:RefinanceScenariosTests
[PASS] test_impairOTL_refinanceToHigherPrincipal_oneLoanImpaired_underflow() (gas: 1294203)
[PASS] test_impairOTL_refinanceToHigherPrincipal_twoLoansImpaired() (gas: 1482479)
[PASS] test_impairOTL_refinanceToLowerPrincipal_singleLoanImpaired() (gas: 1353018)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 20.04ms

Running 8 tests for tests/integration/loan-manager/fixed-term/GetExpectedAmount.t.sol:GetExpectedAmountTests
[PASS] testFork_getExpectedAmount_currentPrice() (gas: 116647)
[PASS] testFork_getExpectedAmount_manualOverride() (gas: 90986)
[PASS] testFork_getExpectedAmount_oracleNotSet() (gas: 58026)
[PASS] testFork_getExpectedAmount_withMinRatio() (gas: 166154)
[PASS] testFork_getExpectedAmount_withSlippage() (gas: 166073)
[PASS] testFork_getExpectedAmount_withSlippageAndMinRatio_minRatioHigher() (gas: 200305)
[PASS] testFork_getExpectedAmount_withSlippageAndMinRatio_slippageHigher() (gas: 200296)
[PASS] testFork_getExpectedAmount_zeroAmount() (gas: 116632)
Test result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.11s

Running 4 tests for tests/integration/globals/GetLatestPrice.t.sol:GetLatestPriceTests
[PASS] test_getLatestPrice_currentPrice() (gas: 78049)
[PASS] test_getLatestPrice_manualOverride() (gas: 48353)
[PASS] test_getLatestPrice_stalePrice() (gas: 106477)
[PASS] test_getLatestPrice_unknownAsset() (gas: 21601)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 27.19ms

Running 1 test for tests/e2e/GlobalPermission.t.sol:GlobalPermissionTests
[PASS] test_e2e_globalPermission() (gas: 1893014)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 20.51ms

Running 1 test for tests/invariants/Regression.t.sol:WithdrawalManagerQueueInvariants
[PASS] test_regression_invariants() (gas: 52673687)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 110.28ms

Running 9 tests for tests/integration/withdrawal-manager/queue/ProcessRedemptions.t.sol:ProcessRedemptionsTests
[PASS] test_processRedemptions_differentExchangeRate() (gas: 1658707)
[PASS] test_processRedemptions_lowLiquidity() (gas: 1069995)
[PASS] test_processRedemptions_manualWithDifferentExchangeRates() (gas: 1403458)
[PASS] test_processRedemptions_multipleLps() (gas: 1325004)
[PASS] test_processRedemptions_multipleManualBatched() (gas: 1892758)
[PASS] test_processRedemptions_overkill() (gas: 1448503)
[PASS] test_processRedemptions_withCancelledRequest() (gas: 1243399)
[PASS] test_processRedemptions_withImpairment() (gas: 1658929)
[PASS] test_processRedemptions_zeroShares() (gas: 58257)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 45.94ms

Running 5 tests for tests/fuzz/PoolExitPermissionsFuzz.t.sol:PoolExitPermissionsFuzzTests
[PASS] testFuzz_poolExit_redeem(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 752964, ~: 589587)
[PASS] testFuzz_poolExit_removeShares(uint256,uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 654665, ~: 521008)
[PASS] testFuzz_poolExit_requestRedeem(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 542707, ~: 694119)
[PASS] testFuzz_poolExit_requestWithdraw(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 455146, ~: 381207)
[PASS] testFuzz_poolExit_withdraw(uint256,uint256,uint256,uint256,bool) (runs: 100, μ: 440707, ~: 382884)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 361.64ms

Running 3 tests for tests/integration/loan-manager/fixed-term/Redeem.t.sol:MultiUserRedeemTests
[PASS] test_redeem_partialLiquidity_sameCash_differentExchangeRate() (gas: 2670985)
[PASS] test_redeem_partialLiquidity_sameCash_sameExchangeRate() (gas: 2546046)
[PASS] test_redeem_partialLiquidity_sameCash_sameExchangeRate_exposeRounding() (gas: 5062275)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 29.98ms

Running 9 tests for tests/integration/loan-manager/fixed-term/Redeem.t.sol:RedeemFailureTests
[PASS] test_redeem_failIfNoApprove() (gas: 280250)
[PASS] test_redeem_failIfNoBalanceOnWM() (gas: 398925)
[PASS] test_redeem_failIfNoRequest() (gas: 101076)
[PASS] test_redeem_failIfNotInWindow() (gas: 317846)
[PASS] test_redeem_failIfNotPool() (gas: 46777)
[PASS] test_redeem_failIfNotPoolManager() (gas: 19414)
[PASS] test_redeem_failWithInsufficientApproval() (gas: 366976)
[PASS] test_redeem_failWithInvalidAmountOfShares() (gas: 312232)
[PASS] test_redeem_failWithZeroReceiver() (gas: 343205)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 14.79ms

Running 1 test for tests/e2e/PoolLifecycle.t.sol:PoolLifecycleTest
[PASS] test_poolLifecycle() (gas: 11645959)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 21.55ms

Running 15 tests for tests/fuzz/PoolViewFunctionsFuzzTest.t.sol:PoolViewFunctionsFuzzTests
[PASS] testFuzz_convertToAssets_whenTotalSupplyExists(uint256,uint256,uint256,uint256) (runs: 100, μ: 389146, ~: 389436)
[PASS] testFuzz_convertToAssets_whenTotalSupplyIsZero(uint256) (runs: 100, μ: 14351, ~: 13936)
[PASS] testFuzz_convertToExitShares(uint256,uint256,uint256,uint256,uint256) (runs: 100, μ: 422757, ~: 422880)
[PASS] testFuzz_convertToShares_whenTotalSupplyExists(uint256,uint256,uint256,uint256) (runs: 100, μ: 389088, ~: 388454)
[PASS] testFuzz_convertToShares_whenTotalSupplyIsZero(uint256) (runs: 100, μ: 14402, ~: 13889)
[PASS] testFuzz_getTotalAssetsFromPM(uint256,uint256) (runs: 100, μ: 122896, ~: 123101)
[PASS] testFuzz_getUnrealizedLossesFromPM(uint256) (runs: 100, μ: 108551, ~: 107917)
[PASS] testFuzz_maxDeposit(uint256,uint256) (runs: 100, μ: 348912, ~: 349059)
[PASS] testFuzz_maxMint(uint256,uint256) (runs: 100, μ: 357974, ~: 357951)
[PASS] testFuzz_maxRedeem(uint256) (runs: 100, μ: 751014, ~: 750660)
[PASS] testFuzz_maxWithdraw(uint256) (runs: 100, μ: 504673, ~: 504263)
[PASS] testFuzz_previewDeposit_whenTotalSupplyExists(uint256,uint256) (runs: 100, μ: 340446, ~: 340691)
[PASS] testFuzz_previewDeposit_whenTotalSupplyIsZero(uint256) (runs: 100, μ: 14456, ~: 13951)
[PASS] testFuzz_previewMint_whenTotalSupplyExists(uint256,uint256,uint256,uint256) (runs: 100, μ: 390186, ~: 390404)
[PASS] testFuzz_previewMint_whenTotalSupplyIsZero(uint256) (runs: 100, μ: 14432, ~: 13932)
Test result: ok. 15 passed; 0 failed; 0 skipped; finished in 1.14s

Running 1 test for tests/protocol-upgrade/DeprecateLoanFactory.t.sol:DeprecateLoanFactoryTest
[PASS] testFork_deprecateFactory() (gas: 601551)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.08s

Running 1 test for tests/protocol-upgrade/DeprecatePoolDeployerV2.t.sol:DeprecatePoolDeployerV2TestsBASEL2
[PASS] testFork_deprecatePoolDeployerV2_BASEL2() (gas: 60558911)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 50.61ms

Running 4 tests for tests/protocol-upgrade/UpgradeTests.t.sol:UpgradeTestsBASEL2
[PASS] testFork_upgradeAssertions_BASEL2() (gas: 54385202)
[PASS] testFork_upgradeFTL_fromNewFactory_BASEL2() (gas: 60108270)
[PASS] testFork_upgradeFTL_identicalFactory() (gas: 54033807)
[PASS] testFork_upgradeToQueueWM_BASEL2() (gas: 54781071)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 1.14s

Running 1 test for tests/protocol-upgrade/DeprecatePoolDeployerV2.t.sol:DeprecatePoolDeployerV2TestsETH
[PASS] testFork_deprecatePoolDeployerV2_ETH() (gas: 69573533)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 368.88ms

Running 3 tests for tests/integration/loan-manager/fixed-term/FetchValuesFromLM.t.sol:LoanManagerIsLiquidationActiveGetterTests
[PASS] test_isLiquidationActive_afterLiquidation() (gas: 1104887)
[PASS] test_isLiquidationActive_beforeLiquidation() (gas: 15920)
[PASS] test_isLiquidationActive_duringLiquidation() (gas: 628534)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 15.02ms

Running 4 tests for tests/integration/pool/FetchValuesFromPM.t.sol:PoolManagerGetterTests
[PASS] testDeepFuzz_getEscrowParams_shouldReturnValues(uint256) (runs: 100, μ: 22047, ~: 21529)
[PASS] test_addressGetters() (gas: 37964)
[PASS] test_hasSufficientCover_insufficientCover(uint256) (runs: 100, μ: 141677, ~: 141177)
[PASS] test_hasSufficientCover_sufficientCover(uint256) (runs: 100, μ: 151749, ~: 152947)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 72.41ms

Running 4 tests for tests/integration/loan-manager/fixed-term/FinishCollateralLiquidation.t.sol:FinishCollateralLiquidationFailureTests
[PASS] test_finishCollateralLiquidation_notAuthorized() (gas: 56983)
[PASS] test_finishCollateralLiquidation_notFinished() (gas: 653718)
[PASS] test_finishCollateralLiquidation_notPoolManager() (gas: 54784)
[PASS] test_finishCollateralLiquidation_whenImpaired() (gas: 288704)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 13.21ms

Running 1 test for tests/integration/loan/MakePayment.t.sol:MakePaymentTestsPastDomainEnd
[PASS] test_makePayment_lateLoan3_loan1NotPaid_loan2NotPaid() (gas: 1039395)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 16.61ms

Running 3 tests for tests/integration/loan/MakePayment.t.sol:MakePaymentTestsSingleLoanAmortized
[PASS] test_makePayment_earlyPayment_amortized() (gas: 794011)
[PASS] test_makePayment_latePayment_amortized() (gas: 807282)
[PASS] test_makePayment_onTimePayment_amortized() (gas: 794039)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 22.00ms

Running 3 tests for tests/integration/loan/MakePayment.t.sol:MakePaymentTestsSingleLoanInterestOnly
[PASS] test_makePayment_earlyPayment_interestOnly() (gas: 765011)
[PASS] test_makePayment_latePayment_interestOnly() (gas: 775331)
[PASS] test_makePayment_onTimePayment_interestOnly() (gas: 762349)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 22.13ms

Running 4 tests for tests/integration/loan/MakePayment.t.sol:MakePaymentTestsSingleLoanOpenTerm
[PASS] test_makePayment_OT_latePayment() (gas: 731161)
[PASS] test_makePayment_OT_onTimePayment() (gas: 722871)
[PASS] test_makePayment_OT_withCall() (gas: 695219)
[PASS] test_makePayment_OT_withImpairment() (gas: 775817)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 17.84ms

Running 3 tests for tests/integration/loan/MakePayment.t.sol:MakePaymentTestsTwoLoans
[PASS] test_makePayment_earlyPayment_interestOnly_onTimePayment_interestOnly() (gas: 1535332)
[PASS] test_makePayment_latePayment_interestOnly_onTimePayment_interestOnly() (gas: 1549899)
[PASS] test_makePayment_onTimePayment_interestOnly_onTimePayment_interestOnly() (gas: 1535471)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 30.15ms

Running 1 test for tests/fuzz/ProcessExit.t.sol:ProcessExitFuzzTests
[PASS] testFuzz_processExit(address[10],bool[10],uint256[10],uint256) (runs: 100, μ: 4036184, ~: 3965905)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 869.49ms

Running 1 test for tests/fuzz/Mint.t.sol:MintFuzzTests
[PASS] testDeepFuzz_mint_all(address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 100, μ: 485097, ~: 514822)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 195.28ms

Running 1 test for tests/e2e/MultiLoanManager.t.sol:MultiLoanManagerTests
[PASS] test_4loans_3lps() (gas: 7495968)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 32.82ms

Running 11 tests for tests/fuzz/HasPermission.t.sol:HasPermissionFuzzTests
[PASS] testFuzz_hasPermission_deposit(uint256,uint256,uint256,bool,uint256) (runs: 100, μ: 396132, ~: 424043)
[PASS] testFuzz_hasPermission_depositWithPermit(uint256,uint256,uint256,bool,uint256) (runs: 100, μ: 410494, ~: 466677)
[PASS] testFuzz_hasPermission_mint(uint256,uint256,uint256,bool,uint256) (runs: 100, μ: 407479, ~: 426612)
[PASS] testFuzz_hasPermission_mintWithPermit(uint256,uint256,uint256,bool,uint256) (runs: 100, μ: 414705, ~: 469145)
[PASS] testFuzz_hasPermission_redeem(uint256,uint256,uint256,bool,uint256,address) (runs: 100, μ: 793011, ~: 808962)
[PASS] testFuzz_hasPermission_removeShares(uint256,uint256,uint256,bool,uint256,uint256) (runs: 100, μ: 784455, ~: 806036)
[PASS] testFuzz_hasPermission_requestRedeem(uint256,uint256,uint256,bool,uint256) (runs: 100, μ: 576878, ~: 638958)
[PASS] testFuzz_hasPermission_requestWithdraw(uint256,uint256,uint256,bool,uint256) (runs: 100, μ: 340382, ~: 370320)
[PASS] testFuzz_hasPermission_transfer(uint256,uint256,address,uint256,bool,address,uint256,bool,uint256) (runs: 100, μ: 557206, ~: 558142)
[PASS] testFuzz_hasPermission_transferFrom(uint256,uint256,address,uint256,bool,address,uint256,bool,address,uint256) (runs: 100, μ: 580952, ~: 582047)
[PASS] testFuzz_hasPermission_withdraw(uint256,uint256,uint256,bool,uint256,address) (runs: 100, μ: 305496, ~: 304801)
Test result: ok. 11 passed; 0 failed; 0 skipped; finished in 1.21s

Running 4 tests for tests/protocol-upgrade/UpgradeTests.t.sol:UpgradeTestsETH
[PASS] testFork_upgradeAssertions_ETH() (gas: 64141463)
[PASS] testFork_upgradeFTL_fromNewFactory_ETH() (gas: 69266951)
[PASS] testFork_upgradeFTL_identicalFactory() (gas: 54415953)
[PASS] testFork_upgradeToQueueWM_ETH() (gas: 64882799)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 1.36s

Running 1 test for tests/integration/globals/ValidCollateral.t.sol:ValidCollateralTests
[PASS] test_setIsCollateral_invalidCollateral() (gas: 846368)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 15.02ms

Running 1 test for tests/health-checkers/HealthCheckersTests.t.sol:HealthCheckerMainnetTests
[PASS] testFork_healthChecker_mainnet() (gas: 66048664)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.28s

Running 2 tests for tests/fuzz/Call.t.sol:OpenTermLoanFuzz
[PASS] testFuzz_call_otl(uint256) (runs: 100, μ: 11292269, ~: 11279448)
[PASS] testFuzz_removeCall_otl(uint256) (runs: 100, μ: 10814759, ~: 10858687)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.85s

Running 5 tests for tests/integration/loan/open-term/CallPrincipal.t.sol:CallPrincipalFailureTests
[PASS] test_callPrincipal_invalidAmount_boundary() (gas: 515659)
[PASS] test_callPrincipal_loanActive() (gas: 56561)
[PASS] test_callPrincipal_notLender() (gas: 38718)
[PASS] test_callPrincipal_notPoolDelegate() (gas: 51563)
[PASS] test_callPrincipal_paused() (gas: 52465)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 13.84ms

Running 4 tests for tests/integration/loan/open-term/CallPrincipal.t.sol:CallPrincipalTests
[PASS] test_callPrincipal_impaired() (gas: 450536)
[PASS] test_callPrincipal_latePayment() (gas: 183253)
[PASS] test_callPrincipal_notFullPrincipal() (gas: 183131)
[PASS] test_callPrincipal_paymentOnTime() (gas: 182814)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 14.67ms

Running 5 tests for tests/integration/loan/fixed-term/CloseLoan.t.sol:CloseLoanTests
[PASS] test_closeLoan_failIfLoanIsLate() (gas: 112927)
[PASS] test_closeLoan_failIfNotEnoughFundsSent() (gas: 214414)
[PASS] test_closeLoan_failIfNotLoan() (gas: 66958)
[PASS] test_closeLoan_failWithInsufficientApproval() (gas: 123877)
[PASS] test_closeLoan_success() (gas: 498696)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 14.09ms

Running 4 tests for tests/integration/globals/Pause.t.sol:PauseTests
[PASS] test_contractPause() (gas: 5632566)
[PASS] test_functionUnpauseAfterContractPause() (gas: 46838006)
[PASS] test_functionUnpauseAfterProtocolPause() (gas: 46004581)
[PASS] test_globalPause() (gas: 8723787)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 256.93ms

Running 2 tests for tests/fuzz/OpenTermFuzz.t.sol:OpenTermLoanFuzz
[PASS] testFuzz_otlFuzzedSetup_makePayment(uint256) (runs: 100, μ: 9970229, ~: 10055414)
[PASS] testFuzz_otlFuzzedSetup_triggerDefault(uint256) (runs: 100, μ: 9916502, ~: 9940619)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.68s

Running 1 test for tests/fuzz/ClosePoolFuzz.t.sol:ClosePoolFuzz
[PASS] testFuzz_fuzzedSetup_closePool(uint256) (runs: 100, μ: 21444946, ~: 21522365)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.74s

Running 2 tests for tests/fuzz/Impair.t.sol:OpenTermLoanFuzz
[PASS] testFuzz_impair_otl(uint256) (runs: 100, μ: 11312113, ~: 11273788)
[PASS] testFuzz_removeImpairment_otl(uint256) (runs: 100, μ: 10760873, ~: 10761614)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.80s

Running 1 test for tests/invariants/PermissionInvariants.t.sol:PermissionInvariants
[PASS] statefulFuzz_permissionManager_A_B_C() (runs: 10, calls: 1000, reverts: 0)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 3.58s

Running 2 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:AutomatedPreviewRedeemWithQueueWMTests
[PASS] testFuzz_previewRedeem_notProcessed(uint256) (runs: 100, μ: 37196, ~: 37196)
[PASS] testFuzz_previewRedeem_processed(uint256) (runs: 100, μ: 311767, ~: 311767)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 88.54ms

Running 2 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:BalanceOfAssetsTests
[PASS] testDeepFuzz_balanceOfAssets(uint256,uint256,uint256) (runs: 100, μ: 456543, ~: 456426)
[PASS] test_balanceOfAssets() (gas: 446545)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 99.82ms

Running 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:ConvertToAssetsTests
[PASS] test_convertToAssets_multipleUsers() (gas: 503360)
[PASS] test_convertToAssets_multipleUsers_changeTotalAssets() (gas: 533011)
[PASS] test_convertToAssets_singleUser() (gas: 299073)
[PASS] test_convertToAssets_zeroTotalSupply() (gas: 12259)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 12.72ms

Running 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:ConvertToSharesTests
[PASS] test_convertToShares_multipleUsers() (gas: 503443)
[PASS] test_convertToShares_multipleUsers_changeTotalAssets() (gas: 533093)
[PASS] test_convertToShares_singleUser() (gas: 299111)
[PASS] test_convertToShares_zeroTotalSupply() (gas: 12319)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 19.05ms

Running 3 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:MaxDepositTests
[PASS] testDeepFuzz_maxDeposit_totalAssetsIncrease(uint256,uint256) (runs: 100, μ: 271010, ~: 271186)
[PASS] test_maxDeposit_closedPool() (gas: 294348)
[PASS] test_maxDeposit_totalAssetsIncrease() (gas: 264453)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 59.62ms

Running 5 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:MaxMintTests
[PASS] testDeepFuzz_maxMint_exchangeRateGtOne(uint256,uint256,uint256) (runs: 100, μ: 452268, ~: 452111)
[PASS] testDeepFuzz_maxMint_totalAssetsIncrease(uint256,uint256) (runs: 100, μ: 280431, ~: 280435)
[PASS] test_maxMint_closedPool() (gas: 307308)
[PASS] test_maxMint_exchangeRateGtOne() (gas: 442515)
[PASS] test_maxMint_totalAssetsIncrease() (gas: 273767)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 156.67ms

Running 3 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:MaxRedeemTests
[PASS] test_maxRedeem_lockedShares_inExitWindow() (gas: 467178)
[PASS] test_maxRedeem_lockedShares_notInExitWindow() (gas: 456143)
[PASS] test_maxRedeem_noLockedShares_notInExitWindow() (gas: 289328)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 12.16ms

Running 6 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:MaxRedeemWMQueueTests
[PASS] test_maxRedeem_afterFullManualRedeem() (gas: 361270)
[PASS] test_maxRedeem_afterFullRedeem() (gas: 239958)
[PASS] test_maxRedeem_afterPartialManualRedeem() (gas: 401116)
[PASS] test_maxRedeem_afterPartialRedeem() (gas: 243538)
[PASS] test_maxRedeem_beforeRedeem() (gas: 37709)
[PASS] test_maxRedeem_notManual() (gas: 393796)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 14.54ms

Running 11 tests for tests/e2e/PoolScenarios.t.sol:PoolScenarioTests
[PASS] testFuzz_poolScenarios_OTLWithBigPaymentInterval(uint256) (runs: 100, μ: 1048304, ~: 1048670)
[PASS] testFuzz_poolScenarios_exposeAccountedInterestDust(uint24,uint24) (runs: 100, μ: 1753125, ~: 1760679)
[PASS] testFuzz_poolScenarios_multipleOTLWithBigPaymentInterval(uint256,uint256,uint256) (runs: 100, μ: 38570040, ~: 38570330)
[PASS] test_poolScenario_fundLoanAndNeverTouchIt() (gas: 6042677)
[PASS] test_poolScenario_impairLoanWithLatePaymentAndRefinance() (gas: 2718237)
[PASS] test_poolScenario_loanWithVeryHighInterestRate() (gas: 1626372)
[PASS] test_poolScenario_loanWithZeroInterestRate() (gas: 2180623)
[PASS] test_poolScenario_loanWithZeroInterestRateAndDefaultWithCover() (gas: 1627192)
[PASS] test_poolScenarios_refinanceATwoPeriodsLateLoan() (gas: 2298933)
[PASS] test_poolScenarios_refinanceLateLoanAndDefault() (gas: 2053296)
[PASS] test_poolScenarios_stressTestAdvanceGlobalPaymentAccounting() (gas: 171641743)
Test result: ok. 11 passed; 0 failed; 0 skipped; finished in 7.43s

Running 4 tests for tests/integration/loan-manager/ImpairLoan.t.sol:FixedTermLoanManagerImpairFailureTests
[PASS] test_impairLoan_alreadyImpaired() (gas: 252682)
[PASS] test_impairLoan_notAuthorized() (gas: 57018)
[PASS] test_impairLoan_notLender() (gas: 37904)
[PASS] test_impairLoan_protocolPaused() (gas: 52148)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 12.77ms

Running 2 tests for tests/integration/loan-manager/ImpairLoan.t.sol:FixedTermLoanManagerImpairSuccessTests
[PASS] test_impairLoan_thenCancel() (gas: 901461)
[PASS] test_impairLoan_thenRepay() (gas: 918582)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 23.20ms

Running 9 tests for tests/integration/loan-manager/ImpairLoan.t.sol:OpenTermLoanManagerImpairTests
[PASS] testFail_impairLoan_notLoanContract() (gas: 40555)
[PASS] test_impairLoan_early() (gas: 240786)
[PASS] test_impairLoan_governorAcl() (gas: 127278)
[PASS] test_impairLoan_late() (gas: 242277)
[PASS] test_impairLoan_loanInactive() (gas: 230752)
[PASS] test_impairLoan_notAuthorized() (gas: 59427)
[PASS] test_impairLoan_notLender() (gas: 38326)
[PASS] test_impairLoan_notLoanInLoanManager() (gas: 477783)
[PASS] test_impairLoan_protocolPaused() (gas: 52148)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 14.42ms

Running 9 tests for tests/integration/loan-manager/ImpairLoan.t.sol:OpenTermLoanManagerRemoveImpairmentTests
[PASS] test_removeLoanImpairment_early() (gas: 258122)
[PASS] test_removeLoanImpairment_late() (gas: 259149)
[PASS] test_removeLoanImpairment_late_withLateImpairment() (gas: 259335)
[PASS] test_removeLoanImpairment_notAuthorized() (gas: 72688)
[PASS] test_removeLoanImpairment_notImpaired() (gas: 93697)
[PASS] test_removeLoanImpairment_notLender() (gas: 38392)
[PASS] test_removeLoanImpairment_notLoan() (gas: 41135)
[PASS] test_removeLoanImpairment_poolDelegateAfterGovernor() (gas: 153432)
[PASS] test_removeLoanImpairment_protocolPaused() (gas: 52148)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 15.22ms

Running 9 tests for tests/integration/pool/ConfigurePool.t.sol:ConfigurePoolTests
[PASS] testFuzz_configurePool(uint256,uint256,uint256[]) (runs: 100, μ: 2304431, ~: 1369220)
[PASS] test_configurePool_anotherPoolDelegate() (gas: 95125)
[PASS] test_configurePool_governor() (gas: 142190)
[PASS] test_configurePool_invalidLevel() (gas: 59113)
[PASS] test_configurePool_lengthMismatch() (gas: 84773)
[PASS] test_configurePool_notAuthorized() (gas: 60590)
[PASS] test_configurePool_operationalAdmin() (gas: 146448)
[PASS] test_configurePool_poolDelegate() (gas: 139857)
[PASS] test_configurePool_publicPool() (gas: 119190)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 328.40ms

Running 3 tests for tests/integration/loan/fixed-term/Liquidation.t.sol:FinishLiquidationFailureTests
[PASS] test_finishLiquidation_failIfLiquidationNotActive() (gas: 103041)
[PASS] test_finishLiquidation_failIfNotPD() (gas: 56982)
[PASS] test_finishLiquidation_failIfNotPoolManager() (gas: 54828)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 15.62ms

Running 14 tests for tests/integration/loan/fixed-term/Liquidation.t.sol:LoanLiquidationTests
[PASS] test_finishCollateralLiquidation_asOperationalAdmin() (gas: 2409779)
[PASS] test_loanDefault_fullCover_noCollateral_noImpairment() (gas: 1535076)
[PASS] test_loanDefault_fullCover_noCollateral_withImpairment() (gas: 1623336)
[PASS] test_loanDefault_fullCover_withCollateral_noImpairment() (gas: 2560432)
[PASS] test_loanDefault_fullCover_withCollateral_withImpairment() (gas: 2592892)
[PASS] test_loanDefault_noCover_noCollateral_noImpairment() (gas: 1425199)
[PASS] test_loanDefault_noCover_noCollateral_withImpairment() (gas: 1517565)
[PASS] test_loanDefault_noCover_withCollateral_noImpairment() (gas: 2464471)
[PASS] test_loanDefault_noCover_withCollateral_withImpairment() (gas: 2499027)
[PASS] test_loanDefault_partialCover_noCollateral_noImpairment() (gas: 1534798)
[PASS] test_loanDefault_partialCover_noCollateral_withImpairment() (gas: 1623316)
[PASS] test_loanDefault_partialCover_withCollateral_noImpairment() (gas: 2560004)
[PASS] test_loanDefault_partialCover_withCollateral_withImpairment() (gas: 2592837)
[PASS] test_setMaxCoverLiquidationPercent_asOperationalAdmin() (gas: 40498)
Test result: ok. 14 passed; 0 failed; 0 skipped; finished in 61.77ms

Running 5 tests for tests/integration/loan-manager/fixed-term/LoanManagerGetters.t.sol:LoanManagerGetterTests
[PASS] test_loanManagerGetters_addresses() (gas: 21380)
[PASS] test_loanManagerGetters_liquidationInformation() (gas: 1152403)
[PASS] test_loanManagerGetters_paymentInformation() (gas: 29855)
[PASS] test_loanManagerGetters_sortedPayments() (gas: 1334735)
[PASS] test_loanManagerGetters_uints() (gas: 32825)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 22.31ms

Running 3 tests for tests/integration/loan/MakePayment.t.sol:MakePaymentFailureTests
[PASS] test_makePayment_failIfNotLoan() (gas: 69811)
[PASS] test_makePayment_failWithTransferFailed() (gas: 234917)
[PASS] test_makePayment_failWithTransferFromFailed() (gas: 143712)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 14.14ms

Running 9 tests for tests/integration/loan/MakePayment.t.sol:MakePaymentOpenTermFailureTests
[PASS] test_makePayment_inactiveLoan() (gas: 474537)
[PASS] test_makePayment_invalidPrincipalIncrease() (gas: 55584)
[PASS] test_makePayment_notLoan() (gas: 517646)
[PASS] test_makePayment_tooLittlePrincipal() (gas: 139138)
[PASS] test_makePayment_tooMuchPrincipal() (gas: 44035)
[PASS] test_makePayment_transferFailed() (gas: 84789)
[PASS] test_makePayment_transferToPoolBoundary() (gas: 261647)
[PASS] test_makePayment_transferToPoolDelegateBoundary() (gas: 310080)
[PASS] test_makePayment_transferToTreasuryBoundary() (gas: 396715)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 16.74ms

Running 1 test for tests/integration/loan/MakePayment.t.sol:MakePaymentTestsDomainStartGtDomainEnd
[PASS] test_makePayment_domainStart_gt_domainEnd() (gas: 3752761)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 21.61ms

Running 3 tests for tests/invariants/OpenTermInvariants.t.sol:OpenTermInvariants
[PASS] statefulFuzz_openTermLoanManager_E() (runs: 10, calls: 1000, reverts: 0)
[PASS] statefulFuzz_openTermLoanManager_G() (runs: 10, calls: 1000, reverts: 0)
[PASS] statefulFuzz_openTermLoan_A_B_C_D_E_F_G_H_I_openTermLoanManager_A_B_C_D_F_H_I_J_K() (runs: 10, calls: 1000, reverts: 0)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 3.43s

Running 6 tests for tests/integration/globals/OperationalAdmin.t.sol:OperationalAdminTests
[PASS] test_operationalAdminAcl_setMinCoverAmount() (gas: 50476)
[PASS] test_operationalAdminAcl_setPermissionAdmin() (gas: 68673)
[PASS] test_operationalAdminAcl_setPlatformManagementFeeRate() (gas: 52959)
[PASS] test_operationalAdminAcl_setPlatformOriginationFeeRate() (gas: 52978)
[PASS] test_operationalAdminAcl_setPlatformServiceFeeRate() (gas: 52957)
[PASS] test_operationalAdminAcl_setValidInstanceOf() (gas: 52055)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 10.31ms

Running 1 test for tests/fuzz/Withdraw.t.sol:WithdrawFuzzTests
[PASS] testDeepFuzz_withdraw_all(address,address,address,uint256,uint256,uint256,uint256,uint256,uint256) (runs: 100, μ: 385890, ~: 387733)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 118.65ms

Running 1 test for tests/integration/withdrawal-manager/cyclical/Withdraw.t.sol:WithdrawOnPermissionedPool
[PASS] test_withdraw_withUnwhitelistedUser() (gas: 507145)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 11.46ms

Running 3 tests for tests/integration/withdrawal-manager/cyclical/Withdraw.t.sol:WithdrawScenarios
[PASS] test_withdrawals_cashInjection() (gas: 5023015)
[PASS] test_withdrawals_poorExchangeRates() (gas: 4751370)
[PASS] test_withdrawals_withUpdateAccounting() (gas: 4749992)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 35.97ms

Running 7 tests for tests/e2e/WithdrawManagerScenario.t.sol:WithdrawalManagerScenarioTests
[PASS] test_scenario_fundPayAndRefinanceLoanWithPartialRedemptions_removeSharesAndCloseLoan() (gas: 3828403)
[PASS] test_scenario_impairLoanAndRedeem_defaultLoanAndWithdraw() (gas: 2645375)
[PASS] test_scenario_impairLoanAndRedeem_removeImpairAndRedeem() (gas: 2872307)
[PASS] test_scenario_impairLoanAndRedeem_removeSharesRepayLoanAndRedeem() (gas: 2644768)
[PASS] test_scenario_impairLoanAndRedeem_repayLoanAndWithdraw() (gas: 2747277)
[PASS] test_scenario_impairLoanAndRedeem_startLiquidationAndRedeem_finishLiquidationAndRedeem() (gas: 4092163)