Skip to main content

fit_budget

Function fit_budget 

Source
pub fn fit_budget(
    sections: Vec<RenderedSection>,
    accountant: &TokenAccountantRef,
    token_budget: u64,
) -> Result<BudgetFit>
Expand description

Fit sections to token_budget under accountant.