Skip to main content

Module treasury

Module treasury 

Source
Expand description

auths treasury … — an aggregate cap across a manager’s sub-delegated agents.

auths credential issue --cap calls:<N> bounds one delegation. A fund-of-agents needs the aggregate dimension: a manager holds a parent cap and allots bounded slices to sub-agents, with Σ slices ≤ parent_cap enforced at every allotment, and the budget reallocatable between sub-agents without ever exceeding the parent. This is the thin presentation layer; all bookkeeping lives in auths_sdk::domains::treasury (the aggregate analogue of the usage ledger).

Structs§

TreasuryCommand
Manage an aggregate treasury cap across a manager’s sub-delegated agents.

Enums§

TreasurySubcommand
Treasury subcommands.

Functions§

handle_treasury
Dispatch an auths treasury … subcommand against the repo-rooted ledger.