@marinade.finance/kamino-sdk
Version:
23 lines (22 loc) • 752 B
TypeScript
import { TransactionInstruction, PublicKey } from '@solana/web3.js';
import BN from 'bn.js';
export interface DecreaseLiquidityArgs {
liquidityAmount: BN;
tokenMinA: BN;
tokenMinB: BN;
}
export interface DecreaseLiquidityAccounts {
whirlpool: PublicKey;
tokenProgram: PublicKey;
positionAuthority: PublicKey;
position: PublicKey;
positionTokenAccount: PublicKey;
tokenOwnerAccountA: PublicKey;
tokenOwnerAccountB: PublicKey;
tokenVaultA: PublicKey;
tokenVaultB: PublicKey;
tickArrayLower: PublicKey;
tickArrayUpper: PublicKey;
}
export declare const layout: any;
export declare function decreaseLiquidity(args: DecreaseLiquidityArgs, accounts: DecreaseLiquidityAccounts): TransactionInstruction;