Skip to main content

Mainnet program

SDK import:

Protocol kinds

Source kinds

Source kind is used when fetching source constraints or creating a token from a specific source-pool page.

Wrapper vault

A wrapper vault records the relationship between:
  • wrapper mint
  • underlying mint
  • source pool
  • protocol kind
  • creator
  • creator deposit fee
  • accumulated creator fees
  • accumulated protocol fees
  • creation timestamp
The wrapper mint is the yield token users hold. The wrapper vault is the account Overpass uses to route deposits and withdrawals through the correct protocol adapter.

Global config

The global config stores program-wide settings such as:
  • admin
  • fee recipient
  • protocol deposit fee
  • maximum creator deposit fee
Read it with:

Quote types

Quotes use exact-in semantics.

Swap builder

buildOverpassSwap returns a built instruction bundle suitable for versioned transactions.

Wrapper creation

Wrapper creation returns: