Solana IDL reference › BonkSwap › Pool

Pool account layout

BonkSwap account type. Program ID BSwp6bEBihVLdqJRKGgzjcGLHkcTuzmSo1TQkHepzH8p. This snapshot does not confirm whether BonkSwap data starts with a discriminator or other header, so offsets below are relative to the start of the struct, not to the start of the account data.

Fields

FieldTypeOffsetSize
tokenXpubkey032
tokenYpubkey3232
poolXAccountpubkey6432
poolYAccountpubkey9632
adminpubkey12832
projectOwnerpubkey16032
tokenXReserveToken1928
vu641928
tokenYReserveToken2008
vu642008
selfSharesToken2088
vu642088
allSharesToken2168
vu642168
buybackAmountXToken2248
vu642248
buybackAmountYToken2328
vu642328
projectAmountXToken2408
vu642408
projectAmountYToken2488
vu642488
mercantiAmountXToken2568
vu642568
mercantiAmountYToken2648
vu642648
lpAccumulatorXFixedPoint27216
vu12827216
lpAccumulatorYFixedPoint28816
vu12828816
constKProduct30416
vu12830416
priceFixedPoint32016
vu12832016
lpFeeFixedPoint33616
vu12833616
buybackFeeFixedPoint35216
vu12835216
projectFeeFixedPoint36816
vu12836816
mercantiFeeFixedPoint38416
vu12838416
farmCountu644008
bumpu84081

Decode account data

Decoding runs on Rugsight's server against the bundled snapshot. Nothing is fetched from the chain. Paste public account data only; never paste a private key or seed phrase.

Other BonkSwap account types

BonkSwap instructions · Explain a transaction

Data: solana-idls@1.2.1 (MIT, © Obsidian Protocol) and SPL Token / Token-2022 state layouts (Apache-2.0), snapshot 2026-11-17. Programs can upgrade and an IDL snapshot can lag the deployed program, so check important offsets against current account data.