Using the app
Console guide
Every field and button of /console.
#Practice and On chain
The switch at the top of /console picks the mode. Practice keeps a sample mandate, sample balances and the usage counters in your browser (Sample data · nothing is sent). On chain reads and writes the live guard; connect a wallet to load the mandates you own or are the agent of, listed under Your mandates on chain (+ New mandate drafts another, Reload re-reads).
#Mandate panel
- Agent address (the key that may act)
- The only address that may execute. Read-only once a mandate exists.
- Label
- Up to 31 ASCII characters, stored on chain.
- Actions per UTC day (0 = no limit)
- Counts every payment and swap.
- Valid for (days, max 730)
- Shown while drafting; an existing mandate shows its dates and state instead.
- Tokens the agent may spend
- One card per token with Per transaction and Per UTC day, a meter and … left today. Add one with Add a token address 0x… + Add (symbol and decimals are read from the token), drop it with Remove. The heading says when caps reset.
- Recipients the agent may pay
- Chips with × to remove; paste an address and Add.
- Swap routers (output always goes to the owner)
- Uniswap v3 SwapRouter02 Prototype. Pons launch curves are Concept.
- Jump to next UTC day / Reset sample
- Practice only: move the practice clock past midnight UTC, or start the sample again.
- Create mandate on chain
- On chain, while drafting: sends createMandate from your wallet; you become the owner.
#Approvals
With an on-chain mandate selected, each token card shows Owner allowance to the guard, a field Approve USDG amount (named after the token) and an Approve button. It sends a plain ERC-20 approve to the token for the guard address. See the allowance model.
#Agent proposal
- Pay / Swap
- The kind of action.
- Practice presets
- Over the cap, Unknown recipient, Not the agent, Inside the limits fill the form with a typical case.
- Sent by (caller)
- The address the check is run for. On chain it starts as the mandate's agent.
- Token / Sell token
- Listed tokens plus USDG and WETH; Other token address… for anything else.
- Recipient
- Payments only.
- Buy token (output goes to the owner), Router, Pool fee tier, Minimum output
- Swaps only. The fee tier picks the Uniswap v3 pool (0.01 %, 0.05 %, 0.3 %, 1 %). Minimum output must be above 0.
- Amount
- In token units, as typed (e.g. 12.5).
- Check / Check with the guard
- Practice: runs the rules locally. On chain: calls the guard's checkTransfer / checkSwap view.
- Execute (practice) / Execute as agent
- Practice updates the sample counters. On chain it works only when the connected wallet is the agent; it simulates first, then asks your wallet to sign, then shows View the transaction.
#The answer
Inside the mandate or Rejected · N reasons with one chip and one sentence per reason. On chain, the line below compares the contract's bits with the site's engine (match or differ — a difference usually means a balance or allowance changed between the two reads). Every check is also written to the dashboard's local log.
Answer from DeleqMandateGuard.check view
Inside the mandate
contract bits 0 · site engine bits 0 · match
Answer from DeleqMandateGuard.check view
Rejected · 1 reason
Over per-tx capThe amount is above the per-transaction cap for this token.