UNPKG

@cks-systems/manifest-sdk

Version:
46 lines (45 loc) 1.44 kB
/** * 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 GlobalCreate * @category generated */ export declare const GlobalCreateStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number; }>; /** * Accounts required by the _GlobalCreate_ instruction * * @property [_writable_, **signer**] payer * @property [_writable_] global * @property [] mint * @property [_writable_] globalVault * @category Instructions * @category GlobalCreate * @category generated */ export type GlobalCreateInstructionAccounts = { payer: web3.PublicKey; global: web3.PublicKey; systemProgram?: web3.PublicKey; mint: web3.PublicKey; globalVault: web3.PublicKey; tokenProgram?: web3.PublicKey; }; export declare const globalCreateInstructionDiscriminator = 7; /** * Creates a _GlobalCreate_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category GlobalCreate * @category generated */ export declare function createGlobalCreateInstruction(accounts: GlobalCreateInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;