Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion interface/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ pub enum TransferHookInstruction {
/// 5. ..`5+M` `[]` `M` optional additional accounts, written in
/// validation account data
Execute {
/// Amount of tokens to transfer
/// Amount of tokens to transfer.
///
/// When Token-2022 invokes a hook from a confidential transfer, the
/// amount is not known to the token program and `u64::MAX` is passed
/// as a convention. A hook that enforces amount-based policy must
/// handle this sentinel explicitly.
amount: u64,
},

Expand Down
Loading