Skip to main content

Module pda

Module pda 

Source
Expand description

PDA (Program Derived Address) derivation functions.

This module provides all PDA derivation functions matching the on-chain program.

Structs§

Pda
Collection of all PDA derivation functions for convenient access.

Functions§

get_all_conditional_mint_pdas
Get all Conditional Mint PDAs for a market.
get_conditional_mint_pda
Get a Conditional Mint PDA.
get_exchange_pda
Get the Exchange PDA.
get_market_pda
Get a Market PDA.
get_mint_authority_pda
Get the Mint Authority PDA for a market.
get_order_status_pda
Get an Order Status PDA.
get_position_pda
Get a Position PDA.
get_user_nonce_pda
Get a User Nonce PDA.
get_vault_pda
Get the Vault PDA for a market’s deposit mint.