Solana IDL reference › BonkSwap › Provider
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 |
|---|---|---|---|
| tokenX | pubkey | 0 | 32 |
| tokenY | pubkey | 32 | 32 |
| owner | pubkey | 64 | 32 |
| shares | Token | 96 | 8 |
| v | u64 | 96 | 8 |
| lastFeeAccumulatorX | FixedPoint | 104 | 16 |
| v | u128 | 104 | 16 |
| lastFeeAccumulatorY | FixedPoint | 120 | 16 |
| v | u128 | 120 | 16 |
| lastSecondsPerShare | FixedPoint | 136 | 16 |
| v | u128 | 136 | 16 |
| lastWithdrawTime | u64 | 152 | 8 |
| tokensOwedX | Token | 160 | 8 |
| v | u64 | 160 | 8 |
| tokensOwedY | Token | 168 | 8 |
| v | u64 | 168 | 8 |
| currentFarmCount | u64 | 176 | 8 |
| bump | u8 | 184 | 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.