Module pda

Source
Expand description

Program Derived Addresses for GMSOL Programs.

Functionsยง

find_claimable_account_pda
Find PDA for claimable account.
find_default_store
Default store.
find_deposit_address
Create PDA for deposit.
find_event_authority_address
Find PDA for event_authority account.
find_executor_pda
Find executor PDA.
find_executor_wallet_pda
Find executor wallet PDA.
find_glv_deposit_pda
Find the PDA for a GLV deposit account.
find_glv_withdrawal_pda
Find the PDA for a GLV withdrawal account.
find_gt_bank_pda
Find the PDA for a GT bank.
find_gt_exchange_pda
Find the PDA for GT exchange account.
find_gt_exchange_vault_pda
Find the PDA for GT exchange vault account.
find_market_token_address
Find PDA for Market token mint account.
find_market_vault_address
Find PDA for the market vault.
find_order_address
Create PDA for order.
find_position_address
Create PDA for position.
find_price_feed_pda
Fint the PDA for custom price feed account.
find_referral_code_pda
Find PDA for referral code account.
find_shift_address
Create PDA for shift.
find_store_address
Find PDA for Store account.
find_store_wallet_pda
Find PDA for store wallet account.
find_timelock_config_pda
Find timelock config PDA.
find_trade_event_buffer_pda
Find PDA for trade event buffer.
find_treasury_config_pda
Find the PDA for global treasury config.
find_treasury_receiver_pda
Find treasury receiver PDA.
find_treasury_vault_config_pda
Find the PDA for a treasury vault config.
find_user_pda
Find PDA for user account.
find_withdrawal_address
Create PDA for withdrawal.