Skip to main content

Crate fee_rate_oracle

Crate fee_rate_oracle 

Source

Enums§

PdaError

Constants§

FEERATE_ORACLE_ACCOUNTS
ID
OWNER_PUBKEY

Functions§

check_pda_accounts
Verify that each entry in accounts matches the PDA derived on-the-fly for its index. Returns Ok(()) on success or a ProgramError::Custom with [ErrorCode::InvalidPda] (value 1) on the first mismatch.
entrypoint
Safety
find_all_accounts
Helper that returns all PDAs for a given program assuming the sequential seed scheme described in mempool_pda_address.
find_fixed_accounts
Fixed-size variant that returns an array of (Pubkey, bump) pairs.
id
mempool_pda_address
Return the PDA (and bump) for a mempool-oracle state account idx.
update_data