/** * 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 { PurchaseChipBySplThroughRouteArgs } from '../types/PurchaseChipBySplThroughRouteArgs'; /** * @category Instructions * @category PurchaseChipBySplThroughRoute * @category generated */ export type PurchaseChipBySplThroughRouteInstructionArgs = { args: PurchaseChipBySplThroughRouteArgs; }; /** * @category Instructions * @category PurchaseChipBySplThroughRoute * @category generated */ export declare const purchaseChipBySplThroughRouteStruct: beet.BeetArgsStruct; /** * Accounts required by the _purchaseChipBySplThroughRoute_ instruction * * @property [_writable_, **signer**] userWallet * @property [_writable_, **signer**] apiWallet * @property [] circusCasino * @property [_writable_] userProfile * @property [] circusCasinoPoolVaultAuthority * @property [] whirlpoolProgram * @property [**signer**] tokenAuthority * @property [_writable_] whirlpoolOne * @property [_writable_] whirlpoolTwo * @property [_writable_] tokenOwnerAccountOneA * @property [_writable_] tokenVaultOneA * @property [_writable_] tokenOwnerAccountOneB * @property [_writable_] tokenVaultOneB * @property [_writable_] tokenOwnerAccountTwoA * @property [_writable_] tokenVaultTwoA * @property [_writable_] tokenOwnerAccountTwoB * @property [_writable_] tokenVaultTwoB * @property [_writable_] tickArrayOne0 * @property [_writable_] tickArrayOne1 * @property [_writable_] tickArrayOne2 * @property [_writable_] oracleOne * @property [_writable_] tickArrayTwo0 * @property [_writable_] tickArrayTwo1 * @property [_writable_] tickArrayTwo2 * @property [_writable_] oracleTwo * @property [] clock * @category Instructions * @category PurchaseChipBySplThroughRoute * @category generated */ export type PurchaseChipBySplThroughRouteInstructionAccounts = { userWallet: web3.PublicKey; apiWallet: web3.PublicKey; circusCasino: web3.PublicKey; userProfile: web3.PublicKey; circusCasinoPoolVaultAuthority: web3.PublicKey; whirlpoolProgram: web3.PublicKey; tokenProgram?: web3.PublicKey; tokenAuthority: web3.PublicKey; whirlpoolOne: web3.PublicKey; whirlpoolTwo: web3.PublicKey; tokenOwnerAccountOneA: web3.PublicKey; tokenVaultOneA: web3.PublicKey; tokenOwnerAccountOneB: web3.PublicKey; tokenVaultOneB: web3.PublicKey; tokenOwnerAccountTwoA: web3.PublicKey; tokenVaultTwoA: web3.PublicKey; tokenOwnerAccountTwoB: web3.PublicKey; tokenVaultTwoB: web3.PublicKey; tickArrayOne0: web3.PublicKey; tickArrayOne1: web3.PublicKey; tickArrayOne2: web3.PublicKey; oracleOne: web3.PublicKey; tickArrayTwo0: web3.PublicKey; tickArrayTwo1: web3.PublicKey; tickArrayTwo2: web3.PublicKey; oracleTwo: web3.PublicKey; clock: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const purchaseChipBySplThroughRouteInstructionDiscriminator: number[]; /** * Creates a _PurchaseChipBySplThroughRoute_ 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 PurchaseChipBySplThroughRoute * @category generated */ export declare function createPurchaseChipBySplThroughRouteInstruction(accounts: PurchaseChipBySplThroughRouteInstructionAccounts, args: PurchaseChipBySplThroughRouteInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;