UNPKG

@rainfi/sdk

Version:

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

53 lines (52 loc) 1.66 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'; import { UserInputPoolCollection } from '../types/UserInputPoolCollection'; /** * @category Instructions * @category FixPool * @category generated */ export type FixPoolInstructionArgs = { collections: UserInputPoolCollection[]; }; /** * @category Instructions * @category FixPool * @category generated */ export declare const fixPoolStruct: beet.FixableBeetArgsStruct<FixPoolInstructionArgs & { instructionDiscriminator: number[]; }>; /** * Accounts required by the _fixPool_ instruction * * @property [_writable_, **signer**] signer * @property [_writable_] pool * @category Instructions * @category FixPool * @category generated */ export type FixPoolInstructionAccounts = { signer: web3.PublicKey; pool: web3.PublicKey; systemProgram?: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const fixPoolInstructionDiscriminator: number[]; /** * Creates a _FixPool_ 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 FixPool * @category generated */ export declare function createFixPoolInstruction(accounts: FixPoolInstructionAccounts, args: FixPoolInstructionArgs, programId?: web3.PublicKey): web3.TransactionInstruction;