pumpdotfun-sdk-repumped
Version:
Pumpfun SDK — create, buy, sell tokens with support for Jito bundles and multiple relayer integrations. Rebuilt and fixed pumpdotfun-sdk.
17 lines • 819 B
TypeScript
export declare class BondingCurveAccount {
discriminator: bigint;
virtualTokenReserves: bigint;
virtualSolReserves: bigint;
realTokenReserves: bigint;
realSolReserves: bigint;
tokenTotalSupply: bigint;
complete: boolean;
constructor(discriminator: bigint, virtualTokenReserves: bigint, virtualSolReserves: bigint, realTokenReserves: bigint, realSolReserves: bigint, tokenTotalSupply: bigint, complete: boolean);
getBuyPrice(amount: bigint): bigint;
getSellPrice(amount: bigint, feeBasisPoints: bigint): bigint;
getMarketCapSOL(): bigint;
getFinalMarketCapSOL(feeBasisPoints: bigint): bigint;
getBuyOutPrice(amount: bigint, feeBasisPoints: bigint): bigint;
static fromBuffer(buffer: Buffer): BondingCurveAccount;
}
//# sourceMappingURL=BondingCurveAccount.d.ts.map