Skip to content

Method

How the limits hold, and what they cannot do.

Everything below describes the code as it is. Where the chain cannot answer, the site says “Not known” and never counts it as clear.

What runs today

PrototypeMandate editor and checks in practice mode (sample data, same rules as the contract)

PrototypeToken check read from Robinhood Chain at one block (code, ERC-20, proxy slots, owner, selectors, Pons launch, Uniswap v3 pools)

PrototypeDeleqMandateGuard: mandates, check views, transfers and Uniswap v3 swaps (tested on a Robinhood Chain fork; not deployed yet)

PrototypeDashboard: executed actions from the guard's events, rejections from pre-checks, pause / unpause / revoke

PrototypeExample agent script (examples/agent.mjs): reads its mandate, checks, executes

ConceptSwaps through Pons launch curves (native ETH, no recipient the guard can force)

ConceptAdvanced risk checks and alerts paid with $DELEQ

The mandate

An owner creates a mandate for one agent address. It lists the ERC-20 tokens the agent may spend, each with a per-transaction cap and a daily cap; the recipients it may pay; the swap routers it may use; a start and an end time (at most 730 days); and optionally a number of actions per day. Daily caps and the action count use calendar UTC days (timestamp / 86,400): they reset at 00:00 UTC, so up to twice a cap can move across one midnight. That is a choice made for clarity, stated here and next to the caps.

Only the owner can change a mandate. Every change bumps its version and emits an event. Pause and revoke are read on every call, so they apply from the next transaction, in the same block if it comes later. Revoke is final. The agent cannot change any limit; it can only pause itself.

Reason bits

Before anything is signed, the proposal goes through checkTransfer or checkSwap, view functions of the guard that return one bit per broken rule. The site runs the same rules in TypeScript; a test reads the bit positions from the Solidity library, and the end-to-end test compares both answers on a chain.

BitNameMeaning
0UNKNOWN_MANDATEThere is no mandate with this number.
1REVOKEDThe owner revoked this mandate. Nothing can run under it again.
2PAUSEDThe mandate is paused by the owner (or by the agent itself).
3NOT_STARTEDThe mandate's start time has not been reached.
4EXPIREDThe mandate's end time has passed.
5NOT_AGENTOnly the agent address named in the mandate can act under it.
6ZERO_AMOUNTThe amount is zero.
7TOKEN_NOT_ALLOWEDThe mandate does not list this token for spending.
8RECIPIENT_NOT_ALLOWEDThe recipient is not on the mandate's allowlist.
9OVER_PER_TXThe amount is above the per-transaction cap for this token.
10OVER_DAILYToday's spend plus this amount would pass the daily cap (UTC day).
11DAILY_COUNTThe mandate's number of actions per UTC day is used up.
12ROUTER_NOT_ALLOWEDThe swap router is not on the mandate's allowlist.
13TOKEN_OUT_NOT_ALLOWEDThe token the swap would buy is not listed in the mandate.
14LOW_ALLOWANCEThe owner's ERC-20 allowance to the guard is below the amount.
15LOW_BALANCEThe owner's wallet holds less than the amount.
16NO_MIN_OUTA swap needs a minimum output above zero.
17SAME_TOKENThe swap sells and buys the same token.
18TOKEN_UNREADABLEThe token did not answer balanceOf / allowance like an ERC-20.

The contract

DeleqMandateGuard (with the internal library DeleqLimitMath) is not deployed on Robinhood Chain yet. The owner deploys it from a local-only tool; this page will then link it. It is non-custodial: a transfer is transferFrom(owner → recipient) under the owner's own allowance to the guard. A swap pulls the amount from the owner, approves exactly that amount to an allowlisted router, calls Uniswap v3 exactInputSingle with the recipient forced to the owner and a non-zero minimum output, resets the approval to zero, measures what the owner received, and reverts if anything is left in the guard. No admin, no fee, no upgrade, no owner over other people's mandates.

Tests: unit, fuzz and invariant tests with hostile tokens (no-return, false-return, fee-on-transfer, reentrant) and lying routers, plus fork tests against Robinhood Chain. A written self-review is in the repository. The contract has not had an outside security review: use small amounts first.

The token check

Next to each proposal the site reads the token at the head block: contract code; name, symbol, decimals, totalSupply; the ERC-1967 implementation, admin and beacon slots and minimal proxies; owner(); a scan of the runtime code (and the implementation behind a plain proxy) for the selectors of 8 kinds of power (owner / admin role, mint new supply, pause transfers, block addresses, burn from any holder, change transfer fees / tax, change max tx / wallet limits, upgrade the code); whether it launched through the Pons factory 0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e; and Uniswap v3 pools against WETH or USDG at the four fee tiers with their balances. Each row shows the method and the address it came from.

The live ticker on the home page reads the head block, the gas price and the Chainlink ETH / USD feed 0x78f3556b67e17df817d51ef5a990cdaf09e8d3a9 with its update time.

Limits

Questions

Does Deleq hold my funds?

No. Your tokens stay in your wallet. You approve the guard contract for an ERC-20 amount you choose, and each action moves tokens straight from your wallet to an allowlisted recipient (or, for a swap, through the router and back to you) inside one transaction. The guard never keeps a balance between transactions, and it has no admin who could move anything.

What exactly can the agent do?

Only two things, and only within the mandate: pay a listed token to a listed recipient, or swap a listed token for another listed token through a listed router with the output sent to you. Each token has its own per-transaction cap and daily cap (UTC day), and you can also cap the number of actions per day. The agent cannot change any limit; it can only pause itself.

How fast does pause or revoke work?

From the very next transaction. The guard reads the mandate's state on every call, so an action in a later block (or later in the same block) is refused. Pause can be undone by the owner; revoke cannot.

What does the token check tell me?

What Robinhood Chain says about the token at one block: whether it has code and answers as an ERC-20, whether it is an upgradeable proxy, who owner() is, which mint, pause, blocklist, burn, fee or upgrade functions appear in its code, whether it launched through Pons, and which Uniswap v3 pools trade it against WETH or USDG. Every row shows its source and the block. A clean check does not mean a token is safe, and anything we could not read says Not known.

Why does a rejection not show up on the explorer?

A transaction that reverts leaves no event. That is why Deleq runs the guard's own check view before anything is signed, shows the reason bits, and keeps rejected proposals in your browser's log. Executed actions are events on chain and show up in the dashboard with their transaction links.

Can I use it with native ETH or any token?

Not native ETH in this version: wrap it to WETH first. Fee-on-transfer tokens are refused (the guard checks that the recipient got exactly the amount sent). Tokens that return nothing on transfer, like some older stablecoins, are handled. Robinhood stock tokens can block addresses; if they do, the transfer reverts.

Do I need the $DELEQ token?

No. Mandates, checks, the guard and the dashboard work without it and the token is not live yet. Its planned use is advanced risk checks and alerts; that part is a concept and is labelled as one.

Is Deleq connected to Robinhood?

No. Deleq is an independent prototype that uses public contracts on Robinhood Chain. Nothing here is investment advice, and a limit is not a promise that an agent's trades will be good ones.