Skip to main content
Orica uses Program Derived Addresses (PDAs) to store all protocol state. Understanding these accounts helps you navigate the on-chain data.

Account Types

Orica Program

Disputes Program


GlobalState

The root configuration account for the protocol.

Market Account

Each market is a separate account containing:

Position Account

Tracks a user’s holdings in a specific market:
Position accounts are created on first trade and persist until explicitly closed.

Deriving PDAs

Use the SDK helpers to derive account addresses:

Account Rent

All accounts require rent (SOL deposit) for storage:
Rent is paid by the transaction signer. It’s refundable if the account is closed.

Fetching Accounts