/** * This code was GENERATED using the solita package. * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality. * * See: https://github.com/metaplex-foundation/solita */ import * as beet from '@metaplex-foundation/beet'; import * as web3 from '@solana/web3.js'; /** * @category Instructions * @category ApproveDelegate * @category generated */ export type ApproveDelegateInstructionArgs = { amount: beet.bignum; }; /** * @category Instructions * @category ApproveDelegate * @category generated */ export declare const approveDelegateStruct: beet.BeetArgsStruct; /** * Accounts required by the _approveDelegate_ instruction * * @property [_writable_] project * @property [] currency * @property [] mint * @property [] holderAccount * @property [_writable_] tokenAccount * @property [] delegate * @property [**signer**] owner * @property [_writable_, **signer**] payer * @property [_writable_] vault * @property [] hiveControl * @property [] instructionsSysvar * @category Instructions * @category ApproveDelegate * @category generated */ export type ApproveDelegateInstructionAccounts = { project: web3.PublicKey; currency: web3.PublicKey; mint: web3.PublicKey; holderAccount: web3.PublicKey; tokenAccount: web3.PublicKey; delegate: web3.PublicKey; owner: web3.PublicKey; payer: web3.PublicKey; vault: web3.PublicKey; systemProgram?: web3.PublicKey; hiveControl: web3.PublicKey; tokenProgram?: web3.PublicKey; instructionsSysvar: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const approveDelegateInstructionDiscriminator: number[]; /** * Creates a _ApproveDelegate_ instruction. * * @param accounts that will be accessed while the instruction is processed * @param args to provide as instruction data to the program * * @category Instructions * @category ApproveDelegate * @category generated */ export declare function createApproveDelegateInstruction(accounts: ApproveDelegateInstructionAccounts, args: ApproveDelegateInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;