> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/drift-labs/protocol-v2/llms.txt
> Use this file to discover all available pages before exploring further.

# Admin Instructions

> Administrative instructions in Drift Protocol

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

## Market Management

### initialize\_perp\_market

Creates a new perpetual market.

```rust theme={null}
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.

<Warning>
  Admin instructions are restricted and require governance approval.
</Warning>

<CardGroup cols={2}>
  <Card title="Architecture" href="/program/architecture">
    Program overview
  </Card>

  <Card title="AdminClient API" href="/api/admin-client">
    Admin SDK methods
  </Card>
</CardGroup>
