/** * 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 WrapHolderAccount * @category generated */ export declare const wrapHolderAccountStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; /** * Accounts required by the _wrapHolderAccount_ instruction * * @property [_writable_] project * @property [] currency * @property [] mint * @property [_writable_] holderAccount * @property [] tokenAccount * @property [] owner * @property [_writable_, **signer**] payer * @property [_writable_] vault * @property [] hiveControl * @property [] associatedTokenProgram * @property [] instructionsSysvar * @property [] clockSysvar * @category Instructions * @category WrapHolderAccount * @category generated */ export type WrapHolderAccountInstructionAccounts = { project: web3.PublicKey; currency: web3.PublicKey; mint: web3.PublicKey; holderAccount: web3.PublicKey; tokenAccount: web3.PublicKey; owner: web3.PublicKey; payer: web3.PublicKey; vault: web3.PublicKey; systemProgram?: web3.PublicKey; hiveControl: web3.PublicKey; tokenProgram?: web3.PublicKey; associatedTokenProgram: web3.PublicKey; instructionsSysvar: web3.PublicKey; clockSysvar: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const wrapHolderAccountInstructionDiscriminator: number[]; /** * Creates a _WrapHolderAccount_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category WrapHolderAccount * @category generated */ export declare function createWrapHolderAccountInstruction(accounts: WrapHolderAccountInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;