/** * 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 { CreateCurrencyArgs } from '../types/CreateCurrencyArgs'; /** * @category Instructions * @category CreateCurrency * @category generated */ export type CreateCurrencyInstructionArgs = { args: CreateCurrencyArgs; }; /** * @category Instructions * @category CreateCurrency * @category generated */ export declare const createCurrencyStruct: beet.FixableBeetArgsStruct; /** * Accounts required by the _createCurrency_ instruction * * @property [_writable_] project * @property [_writable_] currency * @property [_writable_, **signer**] 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 CreateCurrency * @category generated */ export type CreateCurrencyInstructionAccounts = { 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; tokenProgram?: web3.PublicKey; instructionsSysvar: web3.PublicKey; clockSysvar: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const createCurrencyInstructionDiscriminator: number[]; /** * Creates a _CreateCurrency_ 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 CreateCurrency * @category generated */ export declare function createCreateCurrencyInstruction(accounts: CreateCurrencyInstructionAccounts, args: CreateCurrencyInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;