Zeta
Search…
💥
Zeta FuZe
FuZe is Zeta's cross-program integration ecosystem - fully open-sourced.
FuZe is Zeta's cross-program integration ecosystem - fully open-sourced.
The objective of this page is to give a brief overview of the Zeta Cross Program Invocation (CPI) interface. For a more detailed view please refer to the Github Repository.

Cross Program Invocations

Instructions

The instructions currently supported are as follows:
  • initialize_margin_account - create and initialize a user's margin account
  • deposit - deposit USDC collateral into the margin account
  • withdraw - withdraw USDC collateral from the margin account
  • place_order - place an order of (price, size, side) on the relevant market
  • cancel_order - cancel a specified order

Accounts

The accounts and relevant data that is currently supported (non-exhaustive):
  • ZetaGroup - contains information relating to all derivatives market for an underlying
    • Underlying
    • Serum Market
    • Strike
    • Kind (Call, Put, Future)
    • Expiry
  • Greeks
    • Mark Price
    • Delta
    • Vega
    • IV
  • MarginAccount
    • Balance
    • Positions
  • Oracle
    • Price
For a more detailed view please refer to the Github Repository. More coming very soon!
Copy link