@renec-foundation/redex-sdk
Version:
Typescript SDK to interact with Orca's Whirlpool program.
15 lines (14 loc) • 583 B
TypeScript
import { OpenPositionParams } from "../instructions";
import * as anchor from "@project-serum/anchor";
export declare function openPositionAccounts(params: OpenPositionParams): {
funder: anchor.web3.PublicKey;
owner: anchor.web3.PublicKey;
position: anchor.web3.PublicKey;
positionMint: anchor.web3.PublicKey;
positionTokenAccount: anchor.web3.PublicKey;
whirlpool: anchor.web3.PublicKey;
tokenProgram: anchor.web3.PublicKey;
systemProgram: anchor.web3.PublicKey;
rent: anchor.web3.PublicKey;
associatedTokenProgram: anchor.web3.PublicKey;
};