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

HousePoolPendingPreviewLib

Git Source

Functions

applyPendingClaimantBucketsPreview

function applyPendingClaimantBucketsPreview(
    PendingAccountingState memory state,
    ClaimantPendingBuckets memory claimantBuckets
) internal pure;

applyClaimantRecapitalizationIntent

function applyClaimantRecapitalizationIntent(
    PendingAccountingState memory state,
    uint256 amount
) internal pure;

applyRevenueIntent

function applyRevenueIntent(
    PendingAccountingState memory state,
    uint256 amount
) internal pure;

Structs

ClaimantPendingBuckets

struct ClaimantPendingBuckets {
    uint256 recapitalizationUsdc;
    uint256 revenueUsdc;
}

PendingAccountingState

struct PendingAccountingState {
    HousePoolWaterfallAccountingLib.WaterfallState waterfall;
    uint256 unassignedAssets;
    uint256 seniorSupply;
    uint256 juniorSupply;
}