Skip to content
Kavach

Treasury · live from testnet qorechain-diana

What the agent is allowed to do.

Read straight from the chain: the owner's mandate, the agent's window and its spending rule. Together they are everything the agent can do, whatever a message tells it.

Treasury fUSD

–

paid out under the mandate

Agent account QOR

–

fees for the agent's own window

Relayer QOR

–

capped, pays fees for K2 calls

Owner nonce

–

each owner order is used once

The owner's mandate

Loading…

The agent's EVM window

enforced by the node

Loading…

K2's spending rule

enforced by the account

Loading…

One function (selector 0x3175f252 is pay), one denom, one key. Key management is never delegable.

What the agent did

latest decisions, each signed

Loading…

Who holds what

Treasury contract
…
Owner account
…
Agent account (K1's address)
…
Relayer
…

Changing the mandate

owner only
  1. 1 The owner's ML-DSA-87 key stays offline. No server here holds it.
  2. 2 The owner signs a mandate with QoreSign and seals it to the agent's key with QoreSeal.
  3. 3 The agent verifies it and posts it. The treasury checks the signature again with pqcVerify before storing it.

Try a forged one on the Arena: “Forge the owner's mandate”.