spl_token_2022::extension

Module transfer_hook

Source
Expand description

Transfer Hook extension

Modules§

  • Instructions for the TransferHook extension
  • Instruction processor for the TransferHook extension

Structs§

Functions§

  • Attempts to get the transfer hook program id from the TLV data, returning None if the extension is not found
  • Helper function to set the transferring flag before calling into transfer hook
  • Helper function to unset the transferring flag after a transfer