Skip to main content
Vertically integrated DEX combining spot, perpetuals, and money markets with an off-chain sequencer for sub-second order matching on Arbitrum.

What it offers

  • depositCollateral: Deposit collateral into Vertex endpoint

Notes

  • Off-chain sequencer for sub-second order matching
  • Uses subaccount system (bytes12 identifier) for position isolation
  • productId identifies the market (spot or perp)
  • Most trading happens off-chain via sequencer - on-chain methods are for deposits/withdrawals
  • Approve collateral token to endpoint before depositing

Its names in a program

On Arbitrum One, Vertex is a namespace: its contracts need no import.

Deployments

ABI

ClearinghouseABI

import ClearinghouseABI from "./protocols/vertex/ClearinghouseABI.json"; Speaks for: clearinghouse.
  • withdrawCollateral((bytes32 sender, uint32 productId, uint128 amount, uint64 nonce) txn)

EndpointABI

import EndpointABI from "./protocols/vertex/EndpointABI.json"; Speaks for: endpoint.
  • depositCollateral(bytes12 subaccountName, uint32 productId, uint128 amount)
  • submitSlowModeTransaction(bytes transaction)

Next steps