Skip to content
Open
Show file tree
Hide file tree
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
12 changes: 8 additions & 4 deletions interface/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,17 +478,21 @@ pub enum TokenInstruction<'a> {
/// owned account by sending them to any other account, leaving behind only
/// lamports for rent exemption.
///
/// The authority is the owner of a token account, the mint authority of a
/// mint (or the mint itself when it has no mint authority), or the
/// multisignature account itself. Delegates are not accepted.
///
/// Accounts expected by this instruction:
///
/// * Single owner/delegate
/// * Single authority
/// 0. `[writable]` The source account.
/// 1. `[writable]` The destination account.
/// 2. `[signer]` The source account's owner/delegate.
/// 2. `[signer]` The source account's authority.
///
/// * Multisignature owner/delegate
/// * Multisignature authority
/// 0. `[writable]` The source account.
/// 1. `[writable]` The destination account.
/// 2. `[]` The source account's multisignature owner/delegate.
/// 2. `[]` The source account's multisignature authority.
/// 3. `..+M` `[signer]` M signer accounts.
WithdrawExcessLamports = 38,
/// Transfer lamports from a native SOL account to a destination account.
Expand Down
12 changes: 8 additions & 4 deletions pinocchio/interface/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,17 +565,21 @@ pub enum TokenInstruction {
/// This instruction accepts multisignature accounts owned by either
/// the Token or Token-2022 programs.
///
/// The authority is the owner of a token account, the mint authority of a
/// mint (or the mint itself when it has no mint authority), or the
/// multisignature account itself. Delegates are not accepted.
///
/// Accounts expected by this instruction:
///
/// * Single owner/delegate
/// * Single authority
/// 0. `[writable]` The source account.
/// 1. `[writable]` The destination account.
/// 2. `[signer]` The source account's owner/delegate.
/// 2. `[signer]` The source account's authority.
///
/// * Multisignature owner/delegate
/// * Multisignature authority
/// 0. `[writable]` The source account.
/// 1. `[writable]` The destination account.
/// 2. `[]` The source account's multisignature owner/delegate.
/// 2. `[]` The source account's multisignature authority.
/// 3. `..+M` `[signer]` M signer accounts.
WithdrawExcessLamports = 38,

Expand Down