Expand description
Cross-program layout/interface pinning helpers.
Structs§
- Foreign
Lens - A verified read-only handle into a foreign account.
- Foreign
Manifest - Opaque witness to a foreign program’s layout ABI.
- Interface
- Executable program account whose key is one of an interface’s program IDs.
- Interface
Account - Hopper-layout account owned by one of a declared interface’s programs.
- Interface
Mint - Polymorphic SPL Token / Token-2022 mint overlay.
- Interface
Token Account - Polymorphic SPL Token / Token-2022 token-account overlay.
Enums§
- Token
Program Kind - Which token program owns this account.
Traits§
- Interface
Account Layout - Hopper layout whose owner may be any program in an interface set.
- Interface
Account Resolve - Runtime resolver for marker interface account layouts.
- Interface
Spec - Compile-time owner/program set for generic interface wrappers.
- Transparent
Address - Marker trait for types that are
#[repr(transparent)]over[u8; 32].
Functions§
- interface_
transfer_ checked - Polymorphic
TransferCheckedCPI that dispatches to the program that owns the source token account. - interface_
transfer_ checked_ signed - PDA-signing variant of
interface_transfer_checked.