UNPKG

@cks-systems/manifest-sdk

Version:
52 lines (51 loc) 1.64 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 CreateMarket * @category generated */ export declare const CreateMarketStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number; }>; /** * Accounts required by the _CreateMarket_ instruction * * @property [_writable_, **signer**] payer * @property [_writable_] market * @property [] baseMint * @property [] quoteMint * @property [_writable_] baseVault * @property [_writable_] quoteVault * @property [] tokenProgram22 * @category Instructions * @category CreateMarket * @category generated */ export type CreateMarketInstructionAccounts = { payer: web3.PublicKey; market: web3.PublicKey; systemProgram?: web3.PublicKey; baseMint: web3.PublicKey; quoteMint: web3.PublicKey; baseVault: web3.PublicKey; quoteVault: web3.PublicKey; tokenProgram?: web3.PublicKey; tokenProgram22: web3.PublicKey; }; export declare const createMarketInstructionDiscriminator = 0; /** * Creates a _CreateMarket_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category CreateMarket * @category generated */ export declare function createCreateMarketInstruction(accounts: CreateMarketInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;