/** * 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 WrapCurrency * @category generated */ export declare const wrapCurrencyStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; /** * Accounts required by the _wrapCurrency_ instruction * * @property [_writable_] project * @property [_writable_] currency * @property [_writable_] mint * @property [] delegateAuthority (optional) * @property [**signer**] authority * @property [**signer**] mintAuthority * @property [**signer**] freezeAuthority * @property [_writable_, **signer**] payer * @property [_writable_] vault * @property [] hiveControl * @property [] instructionsSysvar * @property [] clockSysvar * @category Instructions * @category WrapCurrency * @category generated */ export type WrapCurrencyInstructionAccounts = { project: web3.PublicKey; currency: web3.PublicKey; mint: web3.PublicKey; delegateAuthority?: web3.PublicKey; authority: web3.PublicKey; mintAuthority: web3.PublicKey; freezeAuthority: web3.PublicKey; payer: web3.PublicKey; vault: web3.PublicKey; systemProgram?: web3.PublicKey; hiveControl: web3.PublicKey; tokenProgram?: web3.PublicKey; instructionsSysvar: web3.PublicKey; clockSysvar: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const wrapCurrencyInstructionDiscriminator: number[]; /** * Creates a _WrapCurrency_ instruction. * * Optional accounts that are not provided default to the program ID since * this was indicated in the IDL from which this instruction was generated. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category WrapCurrency * @category generated */ export declare function createWrapCurrencyInstruction(accounts: WrapCurrencyInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;