A treasury policy, also called a transaction or spending policy, is the set of rules every automated transfer must pass before it is signed: where money may go, how much, how often, and who approves large ones. Your signers approve it once, as one rule file. Routine transfers then run without them; anything else is refused or held.
| Rule | What it stops | Example |
|---|---|---|
| Per-transfer cap | One large mistake | Max $250,000 per transfer |
| Rolling caps | A slow drain | Max $500,000 per day |
| Count limits | A burst of small transfers | Max 200 payouts per day |
| Destination allowlist | A payment to an unknown address | New address: refused |
| Asset and chain allowlist | The wrong token or network | USDC and USDT0 only |
| Time windows | Transfers outside staffed hours | Sweeps to cold: weekdays 08:00 to 18:00 |
| Approval tiers | A large payout without review | Payouts above $25,000: 2 approvers |
| Concentration cap | Too much in one wallet | Each hot wallet under 5% of total |
| Gas reserve | A wallet that cannot pay fees | Keep 0.5 native token |
| Depeg guard | Holding a stablecoin that slips | Below $0.985: swap to USDC |
| Freeze all outflows | Every automated outflow, at once | Until signers lift it |
| Rules on rules | A quiet edit to the limits | 24-hour delay on cap increases |
Why does automation need its own policy?
When people sign every transfer, the policy lives in a runbook and in the signers’ judgment. When transfers run on their own, nobody looks at each one, so every check has to be written down and applied before the transfer is signed.
Wallet platforms like Fireblocks and BitGo run a policy engine on the wallets on their platform, and many include automation such as sweeping. Rules on your own wallets add one policy across every wallet you run, whatever its kind. Your signers keep the keys. An engine runs the policy around the clock and can sign only what it allows.
How do you choose the numbers?
Start from your own history, not from round numbers.
- Per-transfer cap: above your largest routine transfer, so normal days never hit it.
- Daily cap (a velocity limit): above your busiest day in the last year, plus a margin you can explain.
- Approval tier: where a human review is worth the delay. Below it, transfers go out on their own.
- Concentration cap: the most you accept to lose if one hot wallet is compromised.
- Depeg guard: a level, such as $0.985, held for a set time so one bad price print cannot trigger it, and a different stablecoin to move into. Count the swap toward the daily cap, so a depeg day stays inside it.
Write down each number and the reason for it. When an auditor or a new CFO asks why the daily cap is $500,000, “it felt right” is not an answer.
What should happen when a rule says no?
Every transfer gets one of three outcomes, and each should be explicit:
- Allowed. The transfer fits every rule and is signed.
- Held. It fits every rule except the approval tier, so it waits until your approvers confirm.
- Refused. It breaks a rule. Nothing moves, the decision is recorded, and someone is told.
Two failures to avoid: a partial transfer, where the policy pays as much as the cap allows, and a silent hold, where a transfer waits and nobody is told. Both make the books hard to reconcile.
Who approves large transfers?
This is the four-eyes, or maker-checker, principle applied to automation. The people who approve large transfers should not be the people who wrote the automation. A separate group of approvers, confirming on their own devices, keeps one compromised laptop or one careless deploy from releasing a large payout.
They also do not need to be your multisig signers. Signers protect the rules. Approvers review individual large transfers, which happen far more often.
Choose where approvals apply. Only the held transfer waits, and the rest go on, but a customer withdrawal held for review is a customer kept waiting. Approval tiers suit reserves and large payouts more than the hot wallet that serves withdrawals.
Who can change the policy?
A policy is only as strong as the process to change it. If whoever can edit the automation script can also edit its limits, the limits protect nothing.
- Changes to the rule file need your signers, the same quorum that protects the funds.
- Loosening a limit can be put behind a delay, such as 24 hours on a cap increase, so someone has time to notice.
- Every change is recorded, with who approved it.
How do you test a policy before it goes live?
Replay your own history against the rules, bad days included: a withdrawal spike, a depeg, a chain halt. Then let the rules watch your real wallets and record what they would have done, before your signers switch them on. The hot wallet guide shows what to read off a replay.
How Anafi Treasury does it
Anafi Treasury applies a policy like this to your own wallets. As of November 2026:
- 15 rule types, live: the twelve above, plus scheduled sweeps, minimum and maximum balances, and price rebalances. They sit in one rule file your signers approve.
- Checked before signing. An engine inside an Intel TDX enclave checks every rule before it signs a transfer. On a Safe, the module accepts a transfer only with a valid engine signature that has not expired and has not been used before, and it enforces some of your caps on chain.
- Refusals. Past a cap, or to an address outside the rule file, the engine refuses to sign, records the decision and notifies you by email.
- Approvals. Transfers above your threshold wait for approvers you name, who confirm with passkeys. No Safe signature is needed. The check happens before execution, so only that transfer waits and the others go on. You choose which wallets need approvers.
- Freeze and pause. One rule stops every outflow the engine would sign, and admin accounts can pause all operations at once.
- Replay first. 30 to 365 days of your own activity, with shocks, then a dry run on your real wallets, before the rules go live.
- Exit. One multisig transaction per Safe removes the module. Funds never left your wallets, so there is nothing to migrate.
- Accounts. Technology agnostic: Safe, MPC wallets, Permit2, ERC-4337 and EIP-7702. Your signers keep every key.
- The record. Every allow, approve and deny is in the console. Your rules are encrypted, and only your signers, or someone with a view-only key you issue, can read them.
Bring one transfer you sign by hand or script yourself, and we replay it on a call.
Related
- Hot wallet top-ups and sweeps: the product page
- Anafi for exchanges: caps, a depeg guard and a freeze for hot wallets
- Custodial vs non-custodial treasury automation
- Stablecoin payroll and contractor payouts