UNPKG

@rainfi/sdk

Version:

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

49 lines (48 loc) 1.57 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 SyncLiquidity * @category generated */ export declare const syncLiquidityStruct: beet.BeetArgsStruct<{ instructionDiscriminator: number[]; }>; /** * Accounts required by the _syncLiquidity_ instruction * * @property [_writable_, **signer**] signer * @property [_writable_] signerTa * @property [_writable_] pool * @property [] authority * @property [_writable_] vault * @category Instructions * @category SyncLiquidity * @category generated */ export type SyncLiquidityInstructionAccounts = { signer: web3.PublicKey; signerTa: web3.PublicKey; pool: web3.PublicKey; authority: web3.PublicKey; vault: web3.PublicKey; systemProgram?: web3.PublicKey; tokenProgram?: web3.PublicKey; anchorRemainingAccounts?: web3.AccountMeta[]; }; export declare const syncLiquidityInstructionDiscriminator: number[]; /** * Creates a _SyncLiquidity_ instruction. * * @param accounts that will be accessed while the instruction is processed * @category Instructions * @category SyncLiquidity * @category generated */ export declare function createSyncLiquidityInstruction(accounts: SyncLiquidityInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;