/** * 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 { DecreasePlatformTokenArgs } from '../types/DecreasePlatformTokenArgs'; /** * @category Instructions * @category DecreasePlatformToken * @category generated */ export type DecreasePlatformTokenInstructionArgs = { args: DecreasePlatformTokenArgs; }; /** * @category Instructions * @category DecreasePlatformToken * @category generated */ export declare const decreasePlatformTokenStruct: beet.BeetArgsStruct; /** * Accounts required by the _decreasePlatformToken_ instruction * * @property [_writable_, **signer**] withdrawalWallet * @property [_writable_] circusCasino * @property [] circusTokenPoolVaultAuthority * @property [_writable_] platformTokenVault * @property [_writable_] receiverAta * @property [] clock * @category Instructions * @category DecreasePlatformToken * @category generated */ export type DecreasePlatformTokenInstructionAccounts = { withdrawalWallet: web3.PublicKey; circusCasino: web3.PublicKey; circusTokenPoolVaultAuthority: web3.PublicKey; platformTokenVault: web3.PublicKey; receiverAta: web3.PublicKey; clock: web3.PublicKey; systemProgram?: web3.PublicKey; tokenProgram?: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const decreasePlatformTokenInstructionDiscriminator: number[]; /** * Creates a _DecreasePlatformToken_ 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 DecreasePlatformToken * @category generated */ export declare function createDecreasePlatformTokenInstruction(accounts: DecreasePlatformTokenInstructionAccounts, args: DecreasePlatformTokenInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;