The Pump Science protocol uses a locker mechanism to control token transfers through freezing/thawing token accounts. This is implemented in BondingCurveLockerCtx with two critical functions:
The issue is that these critical state changes only log a message but dont emit events. This presents several problems:
For example, if monitoring a bonding curves lifecycle:
// No structured event data for:
Reduced transparency and auditability of token account state changes, making it harder for indexers and monitoring tools to track protocol state.
Add events for lock/unlock operations
