Module 04 · approvals · airlock

Allowances

See every token approval that can still move funds out of a wallet on Elysium, and close the ones you no longer need. An approval left open can be used by its spender at any time. CAISSON limit orders use one-time signatures, so they leave no standing approval behind.


Edge-on · keep it narrow

Seen edge-on, the whole disk is a thin line across the dark. An approval should be the same: as narrow as the task needs, and closed when you are done.

Rendered live · light bent by a Schwarzschild black hole · not to scale

  1. 01Every open approval

    ERC-20 approve() and Permit2 allowances stay valid until they are used up, expire or are revoked. An unlimited one never runs out.

  2. 02Anything can leave

    While an approval is open, the approved contract can call transferFrom on your tokens whenever it wants, up to the amount, with no new signature.

  3. 03Revoke

    approve(spender, 0) from your wallet: one small transaction per approval. The list is read again from chain afterwards.

  4. 04Lock Permit2 too

    Permit2 allowances close with lockdown(). Expired ones are already shut and are not listed.

Close open doors

Approval ticket

  1. 1Wallet
  2. 2Read
  3. 3Revoke
1

Connect a wallet, or paste an address

Connect to revoke. Reading works without a wallet.

2

Open approvals

Available once a wallet is read.

3

Revoke what you no longer use

Each revoke is one transaction from the owning wallet. The list is read again from chain right after, without cache.