/** * 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'; import { UpdateCurrencyArgs } from '../types/UpdateCurrencyArgs'; /** * @category Instructions * @category UpdateCurrency * @category generated */ export type UpdateCurrencyInstructionArgs = { args: UpdateCurrencyArgs; }; /** * @category Instructions * @category UpdateCurrency * @category generated */ export declare const updateCurrencyStruct: beet.FixableBeetArgsStruct; /** * Accounts required by the _updateCurrency_ instruction * * @property [_writable_] project * @property [] currency * @property [] mint * @property [_writable_] metadata * @property [] delegateAuthority (optional) * @property [**signer**] authority * @property [_writable_, **signer**] payer * @property [_writable_] vault * @property [] hiveControl * @property [] tokenMetadataProgram * @property [] instructionsSysvar * @property [] clockSysvar * @category Instructions * @category UpdateCurrency * @category generated */ export type UpdateCurrencyInstructionAccounts = { project: web3.PublicKey; currency: web3.PublicKey; mint: web3.PublicKey; metadata: web3.PublicKey; delegateAuthority?: web3.PublicKey; authority: web3.PublicKey; payer: web3.PublicKey; vault: web3.PublicKey; systemProgram?: web3.PublicKey; hiveControl: web3.PublicKey; tokenMetadataProgram: web3.PublicKey; instructionsSysvar: web3.PublicKey; clockSysvar: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const updateCurrencyInstructionDiscriminator: number[]; /** * Creates a _UpdateCurrency_ 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 * @param args to provide as instruction data to the program * * @category Instructions * @category UpdateCurrency * @category generated */ export declare function createUpdateCurrencyInstruction(accounts: UpdateCurrencyInstructionAccounts, args: UpdateCurrencyInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;