The Pump Science protocol emits trade events for indexing purposes in the handler() function of the swap instruction. The event emission has two issues:
if bondingcurve.complete {
emitcpi!(CompleteEvent {
//  other fields 
timestamp: Clock::get()?.unix_timestamp,  // Second Clock::get() call
//  other fields 
});
}
Inefficient resource usage and potential for inconsistent event timestamps affecting indexing and historical data accuracy.
Cache the timestamp and add basic validation
