Solana IDL reference › BonkSwap › Provider

Provider 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
ownerpubkey6432
sharesToken968
vu64968
lastFeeAccumulatorXFixedPoint10416
vu12810416
lastFeeAccumulatorYFixedPoint12016
vu12812016
lastSecondsPerShareFixedPoint13616
vu12813616
lastWithdrawTimeu641528
tokensOwedXToken1608
vu641608
tokensOwedYToken1688
vu641688
currentFarmCountu641768
bumpu81841

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.