Skip to main content
Options and perpetuals exchange built on a custom OP Stack rollup. Off-chain orderbook with on-chain settlement.

What it offers

  • depositERC20: Deposit ERC-20 tokens into Aevo L2 for trading

Notes

  • Custom OP Stack rollup with off-chain orderbook for sub-second matching
  • Supports options and perpetual futures trading
  • Deposits are on Ethereum L1, trading happens on Aevo L2
  • Withdrawals processed by the rollup bridge (takes ~7 days for L2 to L1)
  • Approve ERC-20 tokens to depositContract before calling depositERC20
  • The deposit contract is Aevo’s OP Stack L1StandardBridge, so these are the standard bridge entry points.
  • depositERC20 and depositETH are for an externally owned account only: called from a contract, a Pot included, they revert with “StandardBridge: function can only be called from an EOA”, so a Sauce program cannot deposit with depositERC20. The bridge’s depositERC20To(l1Token, l2Token, to, amount, minGasLimit, extraData) takes a contract caller; the registry’s ABI for Aevo does not declare it, so a program binds an ABI of its own for it

Its names in a program

On Ethereum, Aevo is a namespace: its contracts need no import.

Deployments

ABI

DepositContractABI

import DepositContractABI from "./protocols/aevo/DepositContractABI.json"; Speaks for: depositContract.
  • depositERC20(address l1Token, address l2Token, uint256 amount, uint32 minGasLimit, bytes extraData)
  • depositETH(uint32 minGasLimit, bytes extraData) payable

Next steps