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

HousePoolReconcilePlanLib

Git Source

Functions

planReconcile

function planReconcile(
    HousePoolPendingPreviewLib.PendingAccountingState memory state,
    HousePoolAccountingLib.ReconcileSnapshot memory snapshot,
    uint256 pendingBucketAssets,
    uint256 seniorRateBps,
    uint256 yieldElapsed,
    bool markFresh
) internal pure returns (ReconcilePlan memory plan);

juniorRevenueWithoutOwners

function juniorRevenueWithoutOwners(
    ReconcilePlan memory plan
) internal pure returns (uint256);

Structs

ReconcilePlan

struct ReconcilePlan {
    HousePoolPendingPreviewLib.PendingAccountingState state;
    uint256 yieldAccrued;
    bool markFresh;
    bool juniorSupplyZero;
    bool claimedEquityZero;
    bool revenue;
    uint256 deltaUsdc;
    uint256 juniorPrincipalBeforeRevenue;
}