Solana IDL reference › BonkSwap › Farm

Farm 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
poolpubkey032
tokens[pubkey; 3]3296
tokenAccounts[pubkey; 3]12896
supply[Token; 3]22424
supplyLeft[Token; 3]24824
accumulatedSecondsPerShareFixedPoint27216
vu12827216
offsetSecondsPerShareFixedPoint28816
vu12828816
startTimeu643048
endTimeu643128
lastUpdateu643208
bumpu83281
farmTypeFarmType3291

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.