AURA

Treasury Lifecycle

Treasury creation, metadata updates, state transitions, and emergency controls

Lifecycle State Machine

Treasury lifecycle

InstructionDescription
create_treasuryCreate the treasury PDA with an initial policy + fee schedule.
update_treasury_metadataEdit mutable settings (pending-tx TTL, high-risk threshold/guardian, sanctions toggle) in place.New
migrate_treasuryRealloc + advance the account to the current schema version.
transition_agent_stateMove the agent between lifecycle states.
pause_executionPause / resume all execution.
emergency_shutdownHalt the treasury and record a recovery pubkey.
trigger_dead_mans_switchFire the inactivity switch after the threshold elapses.

Lifecycle states

Treasuries progress through states: ProvisioningActiveSuspendedDecommissioningDecommissioned. Only the Active state permits new proposals. State transitions are audited and most require owner authority.

On this page