Expand description
Hopper-owned account view for Solana programs.
AccountView is the canonical typed state gateway for Hopper programs.
It wraps Hopper Native’s account representation behind a transparent
representation boundary and delegates account operations to that layer.
Key capabilities:
- Chainable validation (
check_signer()?.check_writable()?) - Whole-layout typed access (
load::<T>(),load_mut::<T>()) - Segment-aware typed access (
segment_ref,segment_mut) - Explicit raw escape hatches (
raw_ref,raw_mut) - Hopper header reading (disc, version, layout_id)
- Packed flags for batch validation
- Remaining accounts iterator
Structs§
- Account
View - Zero-copy view over a Solana account.
- Remaining
Accounts - Iterator over remaining (unstructured) accounts.