What you approve
The approval page shows four things.- What the card can and can never do. One paragraph written by the checker from the card itself, never by the agent that helped you write it, so the agent cannot talk it into saying something false. You are never asked to approve the description written while the card was drafted.
- The backtest. The card against holding, over the same days with the same costs, and the number of variants tried. A card with no backtest shows the reason, and lists every order, swap and collect it will run.
- The limits you sign. Or a line that says the card has none and your defaults apply.
- What this version allows that the last approved one did not. For a first version it says there is nothing to compare. A version that allows more than the one before it lists exactly what widened, and you sign those widenings too. If the comparison could not be made, the page says so. It is never read as “no wider”.
Starting it
Start an approved version on paper or live from the approval page or the kill switch page. The start goes through the same check as every other start: your signed approval, the runtime the version was approved on, and the kill switch. A live card needs aBUDGET line. A start without one is refused, before anything is set aside. The one exception is a clock card that only collects your Uniswap fees and spends what it collected.
A live start also checks that your wallet holds the budget and has allowed it to your account, and names what to add if not. Paper and backtests assume the money is there.
The budget
BUDGET is the part of your account one card may use, as a quantity of each token, never a share.
- Inside a card, “my USDC” means what this card holds, starting from its budget. A card cannot sell what another card bought.
- A budget can come from your wallet, from your account’s own balance, or from your Aave v3 supply.
- The budgets of all your cards in one token cannot add up to more than your wallet holds. If your wallet later holds less than the cards add up to, the shortfall is reported and new entries in that token are blocked until it is whole again. Nothing scales a card down, sells anything or moves money between cards.
- A firing the budget cannot cover is skipped, never traded in part. Fees and gas count against the budget.
The limits
LIMITS is a line of caps. The host re-reads every cap from what you signed when a firing is claimed, and refuses a firing that goes past one, even if the card’s own engine produced it.
A card that says nothing about a kind of cap gets these defaults, which are yours: a run may move up to $1,000,000, and there is no default limit on the steps of a run, the dollars of a week or the firings of a day. What you write only tightens them.
A swap also faces checks outside the card. When you save the card, the router’s price for each pair it swaps is compared with an independent reference, and a gap of more than 2% refuses the card. At save, at approval, at every start and when an order is placed, a slippage or band wider than 1.5% is refused, and so is a token outside our list for that network. When a swap is signed, the enclave checks its floor once more against its own price source. The hardware enclave says what that last check covers on its own.
Firings
A firing is one decision. A rule found its conditions true on a closed bar and wrote its steps.- One firing is one record, written once. It is keyed by the card version, the rule and the time of the bar. If the service restarts and replays the bar, the record exists and the card does not fire again.
- Each firing says why. The explanation names every condition and the value it saw, in the card’s own words and units.
- A firing keeps what the card chose to remember, such as what it paid, so a restart carries on from the last firing.
What stops a card
Stopping a card ends its evaluation, releases the measures it was reading, and gives back what its pending decisions had set aside. A card does not wake on the next bar.
What stopping does not do. It moves no money and reverses nothing. A swap already sent is not undone. It stops what the card would decide next.
You can stop only your own cards. Every press is recorded, with who pressed it and how many cards it stopped. Starting again is a new start, and it goes through approval again. Allowing starts again starts nothing by itself.