Skip to main content

Module transfer_hook

Module transfer_hook 

Source
Expand description

Resolves the Token-2022 transfer-hook accounts of a trade from accounts that you fetch. A list that reads the transfer amount or needs a signer is Unresolvable.

Structs§

AccountView
Hook
HookPlan
HookSwap
MarketHooks
MintState

Enums§

Clash
HookError
Unloaded
Unresolvable

Constants§

EXECUTE_DISCRIMINATOR
Discriminator of the hook’s Execute instruction. Also the TLV type of the entry that holds the account list.
VALIDATION_SEED
Seeds of the validation account: ["extra-account-metas", mint], under the hook program.

Functions§

find_validation_address