spl_transfer_hook_interface

Module onchain

Source
Expand description

On-chain program invoke helper to perform on-chain execute with correct accounts

Functionsยง

  • Helper to add accounts required for an ExecuteInstruction on-chain, looking through the additional account infos to add the proper accounts.
  • Helper to CPI into a transfer-hook program on-chain, looking through the additional account infos to create the proper instruction