@orca-so/whirlpool-sdk
Version:
Whirlpool SDK for the Orca protocol.
11 lines (10 loc) • 404 B
TypeScript
/// <reference types="bn.js" />
import { BN } from "@project-serum/anchor";
export declare const ZERO: BN;
export declare const ONE: BN;
export declare const TWO: BN;
export declare const U128: BN;
export declare const U64_MAX: BN;
export declare function shiftRightRoundUp(n: BN): BN;
export declare function divRoundUp(n0: BN, n1: BN): BN;
export declare function subUnderflowU128(n0: BN, n1: BN): BN;