Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HousePoolWithdrawalPreviewLib

Git Source

Functions

reserveAssets

function reserveAssets(
    HousePoolAccountingLib.WithdrawalSnapshot memory snapshot,
    uint256 reservedAssets
) internal pure returns (HousePoolAccountingLib.WithdrawalSnapshot memory nextSnapshot);

seniorWithdrawCap

function seniorWithdrawCap(
    uint256 freeUsdc,
    uint256 seniorPrincipal
) internal pure returns (uint256);

juniorWithdrawCap

function juniorWithdrawCap(
    uint256 freeUsdc,
    uint256 seniorPrincipal,
    uint256 juniorPrincipal
) internal pure returns (uint256);