Crate spl_transfer_hook_interface

Source
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§

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§