From 56a64cc8f254fd205598a165333e659691c6abc5 Mon Sep 17 00:00:00 2001 From: febo Date: Mon, 30 Mar 2026 23:03:40 +0100 Subject: [PATCH] Improve docs --- pinocchio/interface/src/instruction.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pinocchio/interface/src/instruction.rs b/pinocchio/interface/src/instruction.rs index 26c8a95a..91b0dc80 100644 --- a/pinocchio/interface/src/instruction.rs +++ b/pinocchio/interface/src/instruction.rs @@ -499,9 +499,15 @@ pub enum TokenInstruction { /// /// Accounts expected by this instruction: /// - /// 0. `[writable]` Source Account owned by the token program - /// 1. `[writable]` Destination account - /// 2. `[signer]` Authority + /// * Single owner/delegate + /// 0. `[writable]` The source account. + /// 1. `[writable]` The destination account. + /// 2. `[signer]` The source account's owner/delegate. + /// + /// * Multisignature owner/delegate + /// 0. `[writable]` The source account. + /// 1. `[writable]` The destination account. + /// 2. `[]` The source account's multisignature owner/delegate. /// 3. `..+M` `[signer]` M signer accounts. WithdrawExcessLamports = 38,