/** * 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 { PurchaseChipBySplArgs } from '../types/PurchaseChipBySplArgs'; /** * @category Instructions * @category PurchaseChipBySpl * @category generated */ export type PurchaseChipBySplInstructionArgs = { args: PurchaseChipBySplArgs; }; /** * @category Instructions * @category PurchaseChipBySpl * @category generated */ export declare const purchaseChipBySplStruct: beet.BeetArgsStruct; /** * Accounts required by the _purchaseChipBySpl_ instruction * * @property [_writable_, **signer**] userWallet * @property [_writable_, **signer**] apiWallet * @property [] circusCasino * @property [_writable_] userProfile * @property [] circusCasinoPoolVaultAuthority * @property [] whirlpoolProgram * @property [**signer**] tokenAuthority * @property [_writable_] whirlpool * @property [_writable_] tokenOwnerAccountA * @property [_writable_] tokenVaultA * @property [_writable_] tokenOwnerAccountB * @property [_writable_] tokenVaultB * @property [_writable_] tickArray0 * @property [_writable_] tickArray1 * @property [_writable_] tickArray2 * @property [_writable_] oracle * @property [] clock * @category Instructions * @category PurchaseChipBySpl * @category generated */ export type PurchaseChipBySplInstructionAccounts = { userWallet: web3.PublicKey; apiWallet: web3.PublicKey; circusCasino: web3.PublicKey; userProfile: web3.PublicKey; circusCasinoPoolVaultAuthority: web3.PublicKey; whirlpoolProgram: web3.PublicKey; tokenProgram?: web3.PublicKey; tokenAuthority: web3.PublicKey; whirlpool: web3.PublicKey; tokenOwnerAccountA: web3.PublicKey; tokenVaultA: web3.PublicKey; tokenOwnerAccountB: web3.PublicKey; tokenVaultB: web3.PublicKey; tickArray0: web3.PublicKey; tickArray1: web3.PublicKey; tickArray2: web3.PublicKey; oracle: web3.PublicKey; clock: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const purchaseChipBySplInstructionDiscriminator: number[]; /** * Creates a _PurchaseChipBySpl_ instruction. * * @param accounts that will be accessed while the instruction is processed * @param args to provide as instruction data to the program * * @category Instructions * @category PurchaseChipBySpl * @category generated */ export declare function createPurchaseChipBySplInstruction(accounts: PurchaseChipBySplInstructionAccounts, args: PurchaseChipBySplInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;