Expand description
Crate defining an interface for performing a hook on transfer, where the token program calls into a separate program with additional accounts after all other logic, to be sure that a transfer has accomplished all required preconditions.
Re-exports§
pub use solana_program;
Modules§
- Error types
- Instruction types
- Offchain helper for fetching required accounts to build instructions
- On-chain program invoke helper to perform on-chain
execute
with correct accounts
Constants§
- Namespace for all programs implementing transfer-hook
Functions§
- Function used by programs implementing the interface, when creating the PDA, to get all of the PDA seeds
- Function used by programs implementing the interface, when creating the PDA, to sign for the PDA
- Get the state address PDA
- Function used by programs implementing the interface, when creating the PDA, to also get the bump seed