Expand description
Hopper-owned SPL Token builder surface.
Thin first-class Hopper wrappers over the canonical runtime builders. This crate gives Hopper a native token CPI surface instead of forcing authored programs to depend on external helper crates.
Modules§
- instructions
- SPL Token instruction builders exported by Hopper.
- layout
- Kani proofs and golden-vector tests for the shipped SPL Token and System-program CPI instruction-data encoders.
Structs§
- Approve
Checked - Builder for SPL Token ApproveChecked (instruction index 13).
- Burn
Checked - Builder for SPL Token BurnChecked (instruction index 15).
- Checked
Mint Decimals - Proof token that an SPL Mint matched expected decimals.
- Checked
Token Authority - Proof token that an SPL TokenAccount matched an expected token authority.
- Checked
Token Mint - Proof token that an SPL TokenAccount matched an expected mint.
- Close
Account - Builder for SPL Token CloseAccount (instruction index 9).
- Freeze
Account - Builder for SPL Token FreezeAccount (instruction index 10).
- Initialize
Account - Builder for SPL Token InitializeAccount (instruction index 1).
- Initialize
Account2 - Builder for SPL Token InitializeAccount2 (instruction index 16).
- Initialize
Account3 - Builder for SPL Token InitializeAccount3 (instruction index 18).
- Mint
ToChecked - Builder for SPL Token MintToChecked (instruction index 14).
- Revoke
- Builder for SPL Token Revoke (instruction index 5).
- SetAuthority
- Builder for SPL Token SetAuthority (instruction index 6).
- SplMint
- Known external SPL Mint adapter.
- SplMint
View - Guard-owned zero-copy SPL Mint view.
- SplToken
Account - Known external SPL TokenAccount adapter.
- SplToken
Account View - Guard-owned zero-copy SPL TokenAccount view.
- Sync
Native - Builder for SPL Token SyncNative (instruction index 17).
- Thaw
Account - Builder for SPL Token ThawAccount (instruction index 11).
- Token
Amount Snapshot - Snapshot of a token account amount before CPI.
- Transfer
Checked - Builder for SPL Token TransferChecked (instruction index 12).
Enums§
- Token
Authority Type - Authority classes accepted by SPL Token’s SetAuthority instruction.
Constants§
- TOKEN_
PROGRAM_ ID - SPL Token program address.