/** * 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 { CreateAssetArgs } from '../types/CreateAssetArgs'; /** * @category Instructions * @category CreateAsset * @category generated */ export type CreateAssetInstructionArgs = { args: CreateAssetArgs; proofIndex: number; }; /** * @category Instructions * @category CreateAsset * @category generated */ export declare const createAssetStruct: beet.FixableBeetArgsStruct; /** * Accounts required by the _createAsset_ instruction * * @property [] assetManager * @property [_writable_, **signer**] mint * @property [_writable_] metadata * @property [_writable_] edition * @property [_writable_] asset * @property [**signer**] authority * @property [_writable_, **signer**] payer * @property [] tokenMetadataProgram * @property [] rentSysvar * @property [] instructionsSysvar * @property [] project * @property [] delegateAuthority (optional) * @property [_writable_] vault * @category Instructions * @category CreateAsset * @category generated */ export type CreateAssetInstructionAccounts = { assetManager: web3.PublicKey; mint: web3.PublicKey; metadata: web3.PublicKey; edition: web3.PublicKey; asset: web3.PublicKey; authority: web3.PublicKey; payer: web3.PublicKey; systemProgram?: web3.PublicKey; tokenProgram?: web3.PublicKey; tokenMetadataProgram: web3.PublicKey; rentSysvar: web3.PublicKey; instructionsSysvar: web3.PublicKey; project: web3.PublicKey; delegateAuthority?: web3.PublicKey; vault: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const createAssetInstructionDiscriminator: number[]; /** * Creates a _CreateAsset_ instruction. * * Optional accounts that are not provided will be omitted from the accounts * array passed with the instruction. * An optional account that is set cannot follow an optional account that is unset. * Otherwise an Error is raised. * * @param accounts that will be accessed while the instruction is processed * @param args to provide as instruction data to the program * * @category Instructions * @category CreateAsset * @category generated */ export declare function createCreateAssetInstruction(accounts: CreateAssetInstructionAccounts, args: CreateAssetInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;