UNPKG

@rainfi/sdk

Version:

This package is used to interact with Rain.fi protocol on Solana

41 lines (40 loc) 1.25 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 Clean * @category generated */ export declare const cleanStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; /** * Accounts required by the _clean_ instruction * * @property [_writable_, **signer**] signer * @property [_writable_] toDelete * @category Instructions * @category Clean * @category generated */ export type CleanInstructionAccounts = { signer: web3.PublicKey; toDelete: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const cleanInstructionDiscriminator: number[]; /** * Creates a _Clean_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category Clean * @category generated */ export declare function createCleanInstruction(accounts: CleanInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;