UMIS SDK
    Preparing search index...

    Function createMemoryLedger

    • An in-memory AuthorityLedger. Amounts add up per key and exact window; a window never shares its total with another one, so the next shift starts empty. The ledger only counts: whether a total fits a limit is the caller's decision. add refuses negative or non-finite amounts, which would otherwise free budget.

      Returns AuthorityLedger