Solana IDL reference › BonkSwap › Farm
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.
| Field | Type | Offset | Size |
|---|---|---|---|
| pool | pubkey | 0 | 32 |
| tokens | [pubkey; 3] | 32 | 96 |
| tokenAccounts | [pubkey; 3] | 128 | 96 |
| supply | [Token; 3] | 224 | 24 |
| supplyLeft | [Token; 3] | 248 | 24 |
| accumulatedSecondsPerShare | FixedPoint | 272 | 16 |
| v | u128 | 272 | 16 |
| offsetSecondsPerShare | FixedPoint | 288 | 16 |
| v | u128 | 288 | 16 |
| startTime | u64 | 304 | 8 |
| endTime | u64 | 312 | 8 |
| lastUpdate | u64 | 320 | 8 |
| bump | u8 | 328 | 1 |
| farmType | FarmType | 329 | 1 |
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.
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.