Skip to main content
Every self-custody member trades from a Gnosis Safe they alone own. The Safe holds your USDC on-chain and is the maker of your orders. The operator deploys and relays it gaslessly — you only ever sign. It starts as 1-of-1: one owner, either your wallet or the signer contract derived from your passkey. It gains one owner for each signing key you add — keys of your own, where any one alone can sign. Calibri is never an owner in any configuration.

How the Safe fits in

What differs between members is what owns the Safe — see Your wallet options:
  • Owner — either your wallet address (EOA) (the wallet you linked or signed in with via SIWE), or, for a passkey wallet, a signer contract derived from your WebAuthn credential. Either way, this is what signs.
  • Safe (proxy) — the Gnosis Safe owned by that owner. This is the maker of your orders and the destination for deposits.
The owner also determines the signature type your orders use: 2 (POLY_GNOSIS_SAFE) for a wallet EOA, 3 (POLY_1271) for a passkey signer contract. The config below tells you which — see Signed orders. A member with neither a linked wallet nor a passkey has no Safe yet.

The bridge module

Every Safe is created with one module enabled: the CctpBridgeModule. It is switched on by the Safe factory in the same transaction that creates the Safe, so no Safe ever exists without it and nobody can set one up differently first. A Safe module is a contract the Safe lets act without owner signatures — so what matters is what the module’s own, immutable code allows. This one allows exactly one thing: moving that network’s USDC, through Circle’s CCTP, to the same Safe address on Polygon. That is what lets USDC sent to your address on Ethereum reach your Safe on Polygon without you signing anything — see Deposits from other networks. On Polygon the module is present but does nothing: there is no route from Polygon to itself. Withdrawals to other networks do not use the module. They leave your Safe on Polygon as an ordinary Safe transaction you sign, which calls Circle’s messenger directly from the Safe — no module and no contract written by Calibri is involved, and the destination address is part of what you sign. See Withdrawals to other networks. Your Safe has the same address on Polygon and Ethereum, because the factory and the Safe implementation sit at the same address on both. On a network other than Polygon the Safe is created only when it is first needed, by the same permissionless factory, with the same owner your Polygon Safe was created with. Calibri is never an owner there either.
Passkey wallets: your signer contract exists only on Polygon, so no signature from you can be checked on another network. There, the module cannot be switched off and is the only way USDC can leave your Safe — and anything other than USDC sent there cannot be moved today. A signing key added on Polygon does not carry over to other networks. See the caveats.

1. Deploy & register (operator-gasless)

You do not deploy the Safe yourself. Reading your wallet config returns the derived Safe address and registers it, so on-chain transfers to it are credited back to your account. The address receives funds before the contract exists, and the operator deploys the Safe gaslessly after your first deposit to it (or earlier, if you first relay a change to its signing keys) — safe_status reads deposit_required until that deposit, then deploying. Setup (step 3) is offered once the Safe exists. Read your member-level wallet config: GET /api/v2/atlas/account/wallet?setup=1 Without ?setup=1, safe_setup is null. Before your first deposit ?setup=1 is refused with 409 wallet.deposit_required, with 409 wallet.deploying until the Safe exists, and with 409 wallet.state_pending while a transaction you relayed is not final yet. Returns your funding config: proxy_address (your Safe), owner_address (your Safe’s owner — your EOA, or your passkey signer contract), funded and deployed, usdc_address, exchange_address, conditional_tokens_address, chain_id, blockchain_key, domain_name, signature_type, session_keys_enabled, safe_setup, and safe_status.
Read every value above from the API rather than copying it from this page. domain_name in particular is hashed into every order signature, so a stale copy produces a signature that will not recover.
safe_status values:
Do not trade on setup_required. An order placed before the approvals land is rejected with 422 Member safe is not settlement-ready. Only ready can trade. A Safe that stops being ready after an order is placed — an approval revoked, USDC moved out — can fail to settle a match; see If a match fails to settle.
For a specific market, use GET /api/v2/atlas/account/wallet/markets/:id instead. It returns the same funding config plus the market’s condition_id, yes_token_id, and no_token_id. It returns 404 if the market is not on-chain yet. See Signed orders.

2. Fund the Safe with USDC

Send USDC to your Safe address (proxy_address) on-chain — from any wallet or exchange. Your off-chain balance_safe mirror is credited once the transfer confirms. USDC sent to the same address on Ethereum is bridged to this Safe on Polygon by the module above and credited the same way, less the bridge fee — see Deposits from other networks.
The Safe must actually hold USDC on-chain. On-chain settlement pulls your real collateral from the Safe when a trade matches; balance_safe is only Calibri’s mirror of that on-chain balance.

3. Make the Safe trade-ready

Before its first trade, the Safe must set four on-chain approvals:
  1. Approve USDC → the exchange — collateral for your fills
  2. setApprovalForAll on ConditionalTokens → the exchange — your outcome tokens
  3. Approve USDC → the CalibriMatcher — the contract that settles each match and takes the taker fee in the same transaction
  4. Set the operator’s USDC allowance to zero
A passkey wallet’s setup also switches the Safe’s fallback handler to the SessionAwareFallbackHandler (deployed addresses), so session keys can sign orders. On a passkey wallet not set up yet, POST /api/v2/atlas/account/wallet/session-key returns these setup calls and the session key’s authorisation in one batch, with setup: true: one signature sets up the wallet and authorises the key. The operator holds no allowance on your Safe. The matcher can take a fee from your Safe only in the same transaction as a match of an order you signed, capped against that order’s fill: at most maxFeeRateBps of the USDC a buy spends, or a quarter of that rate on the tokens a sell gives. The matcher’s admin sets maxFeeRateBps, and the contract never lets it rise above FEE_RATE_CEILING_BPS (10%). These come back in GET /api/v2/atlas/account/wallet?setup=1 as safe_setup.calls — a list of { to, data, operation, nonce, hash }. Sign each as a Safe SafeTx (EIP-712) with your Safe’s owner and relay it (see below). Handle both shapes: the approvals may arrive batched through Safe’s MultiSend as a single call with operation: 1 (DELEGATECALL) — one signature for the whole set — or as separate calls at sequential Safe nonces, which must be relayed in order. Either way, when setup is complete the config reports:

Relaying a setup call

POST /api/v2/atlas/account/wallet/relay Submits a signed Safe transaction. The operator executes Safe.execTransaction and pays gas. Request body:
Required fields: safe, to, data, signature. value defaults to "0" and operation to 0. Send nonce as well — the nonce your signature was made at; a signature over a different nonce is refused with 422 relay.nonce_mismatch. Calibri rejects with 400 safe does not belong to this member unless safe equals your own derived Safe address, then forwards to the operator relayer. Before your first deposit only changes to your Safe’s signing keys are relayed; anything else is refused with 409 wallet.deposit_required, and with 409 wallet.deploying until the Safe exists. Response:
status is mined; unconfirmed when the transaction was sent but not mined yet (tx is set); or reverted when it was mined but the Safe call failed — nothing changed, and you can sign again. state is always pending: the change shows on GET /account/wallet once the block it landed in is final, so read the wallet for the result. A 202 answers { "data": { "relay_id": "…", "state": "pending", "tx": null } }: the transaction may have been sent and its outcome is not known yet; read the wallet the same way.

The SafeTx typed data

The same SafeTx EIP-712 structure is used for setup approvals, redemption, and withdrawals:
Use value = safeTxGas = baseGas = gasPrice = 0, gasToken = refundReceiver = 0x0, the call’s own operation (0 for a single CALL, 1 for a MultiSend batch such as the setup approvals), and nonce = the Safe’s current on-chain nonce() (a setup call carries its own nonce). Send that same nonce in the relay body. A withdrawal to another network is the exception: Calibri builds it for you as one MultiSendCallOnly batch (operation = 1) returned with its quote — the fee transfer, the USDC approval to Circle’s messenger, and Circle’s depositForBurn. Sign it exactly as returned and relay it with the quote’s quote_id; Calibri relays such a batch only for your own unexpired quote, from the Safe it was quoted for, when it matches that quote byte for byte. A quote is used by one withdrawal; a relay your Safe refuses, or that reverts, does not use it up. See Withdrawals to other networks.

Next steps