Skip to main content
Admin instructions are restricted to protocol administrators for managing markets and global parameters.

Market Management

initialize_perp_market

Creates a new perpetual market.
pub fn initialize_perp_market(
    ctx: Context<InitializePerpMarket>,
    market_index: u16,
    // ... additional params
) -> Result<()>

update_perp_market

Updates perpetual market parameters.

Parameter Updates

update_oracle_guard_rails

Updates oracle validation parameters.

update_fee_structure

Modifies fee structure for trading.

Access Control

Admin instructions require the protocol admin signature.
Admin instructions are restricted and require governance approval.

Architecture

Program overview

AdminClient API

Admin SDK methods

Build docs developers (and LLMs) love