HousePoolWithdrawalPreviewLib
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);