Crate dex_v4

source ·
Expand description

Orderbook-based on-chain SPL token swap market

This program is intended for use to build a decentralized exchange (DEX) specialized on SPL token swaps.

Modules

  • Program instructions and their CPI-compatible bindings
  • Describes the different data structres that the program uses to encode state

Statics

  • The length in bytes of the callback identifer prefix in the associated asset agnostic orderbook
  • The length in bytes of the callback information in the associated asset agnostic orderbook
  • The static program ID

Functions

  • Confirms that a given pubkey is equivalent to the program ID
  • Returns the program ID