Skip to main content

Crate streak_api

Crate streak_api 

Source
Expand description

Shared crate for deploy id, instructions, accounts, and SDK (Ore-aligned layout).

Modules§

consts
error
event
On-chain events (sol_log_data via Steel event! / .log()).
instruction
Instruction discriminators + payload types (Ore: single instruction.rs).
prelude
pyth
Pyth Hermes pull-feed helpers (PriceUpdateV2 accounts).
sdk
Off-chain instruction builders (Ore api::sdk style): fixed account order mirrors on-chain process_* comment headers.
settlement
Settlement helpers shared by Market ix (ADMIN_INSTANT and FINALIZE settlement_kind branches).
state
On-chain accounts; one module per StreakAccount variant / PDA name.

Constants§

ID
The const program ID.

Functions§

check_id
Returns true if given pubkey is the program ID.
id
Returns the program ID.