goosefx-ssl-sdk
Version:
SDK for interacting with GooseFX Single-sided Liquidity pools
27 lines (26 loc) • 645 B
TypeScript
import * as lo from "@solana/buffer-layout";
import { PublicKey } from "@solana/web3.js";
export interface ISwapToken {
address: string;
decimals: number;
symbol: string;
}
export declare enum WalletAdapterNetwork {
Mainnet = "mainnet-beta",
Testnet = "testnet",
Devnet = "devnet"
}
export interface SSL {
sighash: Uint8Array;
controller: PublicKey;
mint: PublicKey;
decimals: number;
bump: number;
ptBump: number;
suspended: boolean;
cranker: PublicKey;
weight: BigInt;
swappedLiabilityNative: BigInt;
totalShare: BigInt;
}
export declare const SSL_LAYOUT: lo.Structure<SSL>;