Maple Finance 백서

Maple Finance

원문

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

Invariant H: convertToExitShares == convertToShares * Invariant I: totalAssets == poolManager.totalAssets() * Invariant J: unrealizedLosses == poolManager.unrealizedLosses() * Invariant K: convertToExitShares == poolManager.convertToExitShares() * PoolManager (non-liquidating) * Invariant A: totalAssets == cash + ∑assetsUnderManagement[fixedTermLoanManager] + ∑assetsUnderManagement[openTermLoanManager] * Invariant B: totalAssets >= unrealizedLosses * Pool Permission Manager * Invariant A: pool.permissionLevel ∈ [0, 3] * Invariant B: pool.bitmap ∈ [0, MAX] * Invariant C: lender.bitmap ∈ [0, MAX] * Invariant D: pool.permissionLevel == public -> permanently public * Withdrawal Manager (Queue) * Invariant A: ∑request.shares + ∑owner.manualShares == totalShares * Invariant B: balanceOf(this) >= totalShares * Invariant C: ∀ requestId(owner) != 0 -> request.shares > 0 && request.owner == owner * Invariant D: nextRequestId <= lastRequestId + 1 * Invariant E: nextRequestId != 0 * Invariant F: requests(0) == (0, 0) * Invariant G: ∀ requestId[lender] ∈ [0, lastRequestId] * Invariant H: requestId is unique * Strategy * Invariant A: assetsUnderManagement == currentTotalAssets - accruedFees * Invariant B: currentAccruedFees <= currentTotalAssets * Invariant C: strategyState == ACTIVE -> unrealizedLosses == 0 * Invariant D: strategyState == IMPAIRED -> assetsUnderManagement == unrealizedLosses * Invariant E: strategyState == INACTIVE -> assetsUnderManagement == unrealizedLosses == 0 * Invariant F: strategyState ∈ [0, 2] * Invariant G: strategyFeeRate <= 1e6 ``` # Test Report 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: **3634 tests**. ## `maple-core-v2` Ran 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewDepositTests \[PASS] test\_previewDeposit\_multipleUsers() (gas: 448912) \[PASS] test\_previewDeposit\_multipleUsers\_changeTotalAssets() (gas: 471596) \[PASS] test\_previewDeposit\_nonZeroTotalSupply() (gas: 273218) \[PASS] test\_previewDeposit\_zeroTotalSupply() (gas: 10411) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 74.89ms (4.06ms CPU time) Ran 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewMintTests \[PASS] test\_previewMint\_multipleUsers() (gas: 449301) \[PASS] test\_previewMint\_multipleUsers\_changeTotalAssets() (gas: 471980) \[PASS] test\_previewMint\_nonZeroTotalSupply() (gas: 273748) \[PASS] test\_previewMint\_zeroTotalSupply() (gas: 10296) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 55.02ms (2.87ms CPU time) Ran 4 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewRedeemTests \[PASS] test\_previewRedeem\_invalidShares() (gas: 401591) \[PASS] test\_previewRedeem\_lockedShares\_inExitWindow() (gas: 424755) \[PASS] test\_previewRedeem\_lockedShares\_notInExitWindow() (gas: 404857) \[PASS] test\_previewRedeem\_noLockedShares\_notInExitWindow() (gas: 33887) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 30.39ms (1.81ms CPU time) Ran 7 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewRedeemWithQueueWMTests \[PASS] test\_previewRedeem\_emptyRedemption\_fullLiquidity() (gas: 118660) \[PASS] test\_previewRedeem\_emptyRedemption\_partialLiquidity() (gas: 118705) \[PASS] test\_previewRedeem\_fullRedemption\_fullLiquidity() (gas: 118938) \[PASS] test\_previewRedeem\_fullRedemption\_partialLiquidity() (gas: 118953) \[PASS] test\_previewRedeem\_insufficientShares() (gas: 36106) \[PASS] test\_previewRedeem\_partialRedemption\_fullLiquidity() (gas: 119195) \[PASS] test\_previewRedeem\_partialRedemption\_partialLiquidity() (gas: 119243) Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 32.22ms (1.80ms CPU time) Ran 3 tests for tests/integration/strategies/AaveStrategy.t.sol:AaveClaimRewardsTests \[PASS] testFork\_aaveStrategy\_claimRewards\_paused() (gas: 59583) \[PASS] testFork\_aaveStrategy\_claimRewards\_success() (gas: 701229) \[PASS] testFork\_aaveStrategy\_claimRewards\_unauthorized() (gas: 67726) Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 254.62ms (3.58ms CPU time) Ran 6 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewWithdrawTests \[PASS] testDeepFuzz\_previewWithdraw(uint256) (runs: 100, μ: 31794, \~: 31794) \[PASS] testDeepFuzz\_previewWithdraw\_lockedShares\_inExitWindow(uint256) (runs: 100, μ: 406672, \~: 406836) \[PASS] testDeepFuzz\_previewWithdraw\_lockedShares\_notInExitWindow(uint256) (runs: 100, μ: 406724, \~: 406904) \[PASS] test\_previewWithdraw() (gas: 260152) \[PASS] test\_previewWithdraw\_zeroAssetsWithDeposit() (gas: 260130) \[PASS] test\_previewWithdraw\_zeroAssetsWithoutDeposit() (gas: 31767) Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 192.09ms (150.99ms CPU time) Ran 19 tests for tests/integration/strategies/AaveStrategy.t.sol:AaveReactivateTests \[PASS] testFork\_aaveStrategy\_reactivate\_failIfAlreadyActive() (gas: 121708) \[PASS] testFork\_aaveStrategy\_reactivate\_failIfNotProtocolAdmin() (gas: 114414) \[PASS] testFork\_aaveStrategy\_reactivate\_failIfPaused() (gas: 78135) \[PASS] testFork\_aaveStrategy\_reactivate\_stagnant\_fromImpaired\_withAccountingUpdate() (gas: 590450) \[PASS] testFork\_aaveStrategy\_reactivate\_stagnant\_fromImpaired\_withoutAccountingUpdate() (gas: 586666) \[PASS] testFork\_aaveStrategy\_reactivate\_stagnant\_fromInactive\_withAccountingUpdate() (gas: 577898) \[PASS] testFork\_aaveStrategy\_reactivate\_stagnant\_fromInactive\_withoutAccountingUpdate() (gas: 578193) \[PASS] testFork\_aaveStrategy\_reactivate\_unfunded\_fromImpaired\_withAccountingUpdate() (gas: 309846) \[PASS] testFork\_aaveStrategy\_reactivate\_unfunded\_fromImpaired\_withoutAccountingUpdate() (gas: 305581) \[PASS] testFork\_aaveStrategy\_reactivate\_unfunded\_fromInactive\_withAccountingUpdate() (gas: 296054) \[PASS] testFork\_aaveStrategy\_reactivate\_unfunded\_fromInactive\_withoutAccountingUpdate() (gas: 291745) \[PASS] testFork\_aaveStrategy\_reactivate\_withGain\_fromImpaired\_withAccountingUpdate() (gas: 611156) \[PASS] testFork\_aaveStrategy\_reactivate\_withGain\_fromImpaired\_withoutAccountingUpdate() (gas: 607435) \[PASS] testFork\_aaveStrategy\_reactivate\_withGain\_fromInactive\_withAccountingUpdate() (gas: 593891) \[PASS] testFork\_aaveStrategy\_reactivate\_withGain\_fromInactive\_withoutAccountingUpdate() (gas: 592442) \[PASS] testFork\_aaveStrategy\_reactivate\_withLoss\_fromImpaired\_withAccountingUpdate() (gas: 683820) \[PASS] testFork\_aaveStrategy\_reactivate\_withLoss\_fromImpaired\_withoutAccountingUpdate() (gas: 678853) \[PASS] testFork\_aaveStrategy\_reactivate\_withLoss\_fromInactive\_withAccountingUpdate() (gas: 668271) \[PASS] testFork\_aaveStrategy\_reactivate\_withLoss\_fromInactive\_withoutAccountingUpdate() (gas: 663206) Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 164.21ms (40.57ms CPU time) Ran 9 tests for tests/integration/strategies/AaveStrategy.t.sol:AaveSetStrategyFeeTests \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_failIfBiggerThanHundredPercent() (gas: 60879) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_failIfDeactivated() (gas: 92597) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_failIfImpaired() (gas: 92641) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_failIfNotProtocolAdmin() (gas: 62900) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_failIfPaused() (gas: 56670) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_withGovernor\_fromNonZeroToZeroFeeRate() (gas: 748288) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_withGovernor\_unfundedStrategy() (gas: 286559) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_withOperationalAdmin\_withWithdrawal() (gas: 862034) \[PASS] testFork\_aaveStrategy\_setStrategyFeeRate\_withPoolDelegate\_fundedStrategy() (gas: 663929) Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 138.37ms (12.22ms CPU time) Ran 1 test for tests/integration/pool/PoolAccountingViewFunctions.t.sol:PreviewWithdrawWithQueueWMTests \[PASS] testFuzz\_previewWithdraw(address,bool,uint256,uint256,uint256) (runs: 100, μ: 618283, \~: 649364) Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 194.44ms (142.51ms CPU time) Ran 5 tests for tests/integration/pool/PoolAccountingViewFunctions.t.sol:TotalAssetsTests \[PASS] test\_totalAssets\_singleDeposit() (gas: 256342) \[PASS] test\_totalAssets\_singleLoanFunded() (gas: 1470595) \[PASS] test\_totalAssets\_singleLoanFundedWithInterest() (gas: 1501270) \[PASS] test\_totalAssets\_singleLoanFundedWithPayment() (gas: 1672159) \[PASS] test\_totalAssets\_zeroTotalSupply() (gas: 61877) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 37.78ms (5.72ms CPU time) Ran 9 tests for tests/integration/strategies/AaveStrategy.t.sol:AaveStrategyDeactivateTests \[PASS] testFork\_aaveStrategy\_deactivate\_failIfAlreadyInactive() (gas: 94894) \[PASS] testFork\_aaveStrategy\_deactivate\_failIfNotProtocolAdmin() (gas: 60662) \[PASS] testFork\_aaveStrategy\_deactivate\_failIfPaused() (gas: 54408) \[PASS] testFork\_aaveStrategy\_deactivate\_stagnant\_noFees() (gas: 583833) \[PASS] testFork\_aaveStrategy\_deactivate\_unfundedStrategy() (gas: 301517) \[PASS] testFork\_aaveStrategy\_deactivate\_withFullLoss\_strategyFees() (gas: 672061) \[PASS] testFork\_aaveStrategy\_deactivate\_withGain\_impaired\_strategyFees() (gas: 678273) \[PASS] testFork\_aaveStrategy\_deactivate\_withGain\_strategyFees() (gas: 614869) \[PASS] testFork\_aaveStrategy\_deactivate\_withLoss\_strategyFees() (gas: 686558) Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 139.57ms (15.30ms CPU time) Ran 12 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:FunctionLevelPermissionTests \[PASS] test\_poolEntry\_functionLevel\_deposit() (gas: 375834) \[PASS] test\_poolEntry\_functionLevel\_depositWithPermit() (gas: 416669) \[PASS] test\_poolEntry\_functionLevel\_depositWithPermit\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 375356) \[PASS] test\_poolEntry\_functionLevel\_depositWithPermit\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 341383) \[PASS] test\_poolEntry\_functionLevel\_deposit\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 335234) \[PASS] test\_poolEntry\_functionLevel\_deposit\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 301435) \[PASS] test\_poolEntry\_functionLevel\_mint() (gas: 379086) \[PASS] test\_poolEntry\_functionLevel\_mintWithPermit() (gas: 420307) \[PASS] test\_poolEntry\_functionLevel\_mintWithPermit\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 377750) \[PASS] test\_poolEntry\_functionLevel\_mintWithPermit\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 343799) \[PASS] test\_poolEntry\_functionLevel\_mint\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 337463) \[PASS] test\_poolEntry\_functionLevel\_mint\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 303512) Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 41.76ms (8.31ms CPU time) Ran 12 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:PoolLevelPermissionTests \[PASS] test\_poolEntry\_poolLevel\_deposit() (gas: 375919) \[PASS] test\_poolEntry\_poolLevel\_depositWithPermit() (gas: 416643) \[PASS] test\_poolEntry\_poolLevel\_depositWithPermit\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 375317) \[PASS] test\_poolEntry\_poolLevel\_depositWithPermit\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 341430) \[PASS] test\_poolEntry\_poolLevel\_deposit\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 335237) \[PASS] test\_poolEntry\_poolLevel\_deposit\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 301352) \[PASS] test\_poolEntry\_poolLevel\_mint() (gas: 379124) \[PASS] test\_poolEntry\_poolLevel\_mintWithPermit() (gas: 420238) \[PASS] test\_poolEntry\_poolLevel\_mintWithPermit\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 377731) \[PASS] test\_poolEntry\_poolLevel\_mintWithPermit\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 343868) \[PASS] test\_poolEntry\_poolLevel\_mint\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 337402) \[PASS] test\_poolEntry\_poolLevel\_mint\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 303561) Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 56.98ms (19.33ms CPU time) Ran 14 tests for tests/integration/strategies/AaveStrategy.t.sol:AaveStrategyFundTests \[PASS] testFork\_aaveStrategy\_fund\_failIfInvalidAaveToken() (gas: 85263) \[PASS] testFork\_aaveStrategy\_fund\_failIfInvalidStrategyFactory() (gas: 144110) \[PASS] testFork\_aaveStrategy\_fund\_failIfNotEnoughPoolLiquidity() (gas: 186100) \[PASS] testFork\_aaveStrategy\_fund\_failIfNotStrategyManager() (gas: 58518) \[PASS] testFork\_aaveStrategy\_fund\_failIfZeroAmount() (gas: 127118) \[PASS] testFork\_aaveStrategy\_fund\_failWhenDeactivated() (gas: 97451) \[PASS] testFork\_aaveStrategy\_fund\_failWhenImpaired() (gas: 97560) \[PASS] testFork\_aaveStrategy\_fund\_failWhenPaused() (gas: 54160) \[PASS] testFork\_aaveStrategy\_fund\_secondTimeWithFeesAndYield() (gas: 728141) \[PASS] testFork\_aaveStrategy\_fund\_secondTimeWithFeesRoundedToZeroAndYield() (gas: 647838) \[PASS] testFork\_aaveStrategy\_fund\_secondTimeWithLoss() (gas: 725837) \[PASS] testFork\_aaveStrategy\_fund\_secondTimeWithNoFeesAndYield() (gas: 673559) \[PASS] testFork\_aaveStrategy\_fund\_withPoolDelegate() (gas: 543091) \[PASS] testFork\_aaveStrategy\_fund\_withStrategyManager() (gas: 546179) Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 161.87ms (19.86ms CPU time) Ran 4 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:PrivatePermissionTests \[PASS] test\_poolEntry\_private\_deposit() (gas: 322053) \[PASS] test\_poolEntry\_private\_depositWithPermit() (gas: 361984) \[PASS] test\_poolEntry\_private\_mint() (gas: 324196) \[PASS] test\_poolEntry\_private\_mintWithPermit() (gas: 364526) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 68.42ms (3.10ms CPU time) Ran 4 tests for tests/integration/permission-manager/PoolEntryPermission.t.sol:PublicPermissionTests \[PASS] test\_poolEntry\_public\_deposit() (gas: 222373) \[PASS] test\_poolEntry\_public\_depositWithPermit() (gas: 261585) \[PASS] test\_poolEntry\_public\_mint() (gas: 223454) \[PASS] test\_poolEntry\_public\_mintWithPermit() (gas: 262824) Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 38.28ms (2.35ms CPU time) Ran 15 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:FunctionLevelPermissionTests \[PASS] test\_poolExit\_functionLevel\_redeem() (gas: 550656) \[PASS] test\_poolExit\_functionLevel\_redeem\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 555599) \[PASS] test\_poolExit\_functionLevel\_redeem\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 528457) \[PASS] test\_poolExit\_functionLevel\_removeShares() (gas: 445920) \[PASS] test\_poolExit\_functionLevel\_removeShares\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 450946) \[PASS] test\_poolExit\_functionLevel\_removeShares\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 423857) \[PASS] test\_poolExit\_functionLevel\_requestRedeem() (gas: 389044) \[PASS] test\_poolExit\_functionLevel\_requestRedeem\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 348469) \[PASS] test\_poolExit\_functionLevel\_requestRedeem\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 314564) \[PASS] test\_poolExit\_functionLevel\_requestWithdraw() (gas: 316437) \[PASS] test\_poolExit\_functionLevel\_requestWithdraw\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 275712) \[PASS] test\_poolExit\_functionLevel\_requestWithdraw\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 241915) \[PASS] test\_poolExit\_functionLevel\_withdraw() (gas: 230166) \[PASS] test\_poolExit\_functionLevel\_withdraw\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 189348) \[PASS] test\_poolExit\_functionLevel\_withdraw\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 155398) Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 74.74ms (23.43ms CPU time) Ran 9 tests for tests/integration/strategies/AaveStrategy.t.sol:AaveStrategyImpairTests \[PASS] testFork\_aaveStrategy\_impair\_failIfAlreadyImpaired() (gas: 98119) \[PASS] testFork\_aaveStrategy\_impair\_failIfNotProtocolAdmin() (gas: 60727) \[PASS] testFork\_aaveStrategy\_impair\_failIfPaused() (gas: 54476) \[PASS] testFork\_aaveStrategy\_impair\_stagnant\_noFees() (gas: 596364) \[PASS] testFork\_aaveStrategy\_impair\_unfundedStrategy() (gas: 315308) \[PASS] testFork\_aaveStrategy\_impair\_withFullLoss\_strategyFees() (gas: 685809) \[PASS] testFork\_aaveStrategy\_impair\_withGain\_inactive\_strategyFees() (gas: 678250) \[PASS] testFork\_aaveStrategy\_impair\_withGain\_strategyFees() (gas: 629874) \[PASS] testFork\_aaveStrategy\_impair\_withLoss\_strategyFees() (gas: 700833) Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 157.30ms (15.75ms CPU time) Ran 15 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:PoolLevelPermissionTests \[PASS] test\_poolExit\_poolLevel\_redeem() (gas: 519140) \[PASS] test\_poolExit\_poolLevel\_redeem\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 510285) \[PASS] test\_poolExit\_poolLevel\_redeem\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 483193) \[PASS] test\_poolExit\_poolLevel\_removeShares() (gas: 414315) \[PASS] test\_poolExit\_poolLevel\_removeShares\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 405683) \[PASS] test\_poolExit\_poolLevel\_removeShares\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 378592) \[PASS] test\_poolExit\_poolLevel\_requestRedeem() (gas: 389041) \[PASS] test\_poolExit\_poolLevel\_requestRedeem\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 348387) \[PASS] test\_poolExit\_poolLevel\_requestRedeem\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 314503) \[PASS] test\_poolExit\_poolLevel\_requestWithdraw() (gas: 316501) \[PASS] test\_poolExit\_poolLevel\_requestWithdraw\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 275716) \[PASS] test\_poolExit\_poolLevel\_requestWithdraw\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 241896) \[PASS] test\_poolExit\_poolLevel\_withdraw() (gas: 230164) \[PASS] test\_poolExit\_poolLevel\_withdraw\_zeroPoolBitmap\_nonZeroLenderBitmap() (gas: 189309) \[PASS] test\_poolExit\_poolLevel\_withdraw\_zeroPoolBitmap\_zeroLenderBitmap() (gas: 155469) Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 77.94ms (22.14ms CPU time) Ran 5 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:PrivatePermissionTests \[PASS] test\_poolExit\_private\_redeem() (gas: 463761) \[PASS] test\_poolExit\_private\_removeShares() (gas: 359104) \[PASS] test\_poolExit\_private\_requestRedeem() (gas: 342134) \[PASS] test\_poolExit\_private\_requestWithdraw() (gas: 269432) \[PASS] test\_poolExit\_private\_withdraw() (gas: 183105) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 51.99ms (10.46ms CPU time) Ran 5 tests for tests/integration/permission-manager/PoolExitPermission.t.sol:PublicPermissionTests \[PASS] test\_poolExit\_public\_redeem() (gas: 362452) \[PASS] test\_poolExit\_public\_removeShares() (gas: 256339) \[PASS] test\_poolExit\_public\_requestRedeem() (gas: 228923) \[PASS] test\_poolExit\_public\_requestWithdraw() (gas: 160685) \[PASS] test\_poolExit\_public\_withdraw() (gas: 74179) Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 39.46ms (3.20ms CPU time) Ran 12 tests for tests/integration/strategies/AaveStrategy.t.sol:AaveStrategyWithdrawTests \[PASS] testFork\_aaveStrategy\_withdraw\_failIfLowAssets() (gas: 99935) \[PASS] testFork\_aaveStrategy\_withdraw\_failIfNotStrategyManager() (gas: 58628) \[PASS] testFork\_aaveStrategy\_withdraw\_failIfZeroAmount() (gas: 58990) \[PASS] testFork\_aaveStrategy\_withdraw\_failWhenPaused() (gas: 54147) \[PASS] testFork\_aaveStrategy\_withdraw\_failWithFullLoss() (gas: 328442) \[PASS] testFork\_aaveStrategy\_withdraw\_noFeesWithYield() (gas: 460189) \[PASS] testFork\_aaveStrategy\_withdraw\_whileDeactivated() (gas: 443542) \[PASS] testFork\_aaveStrategy\_withdraw\_whi
프로젝트로 돌아가기