TimestampCapture
TimestampCapture
A middleware extension that captures timestamps by subtracting 1 second from current time
Implements CaptureTimestampManager with a simple timestamp capture mechanism
Methods
getCaptureTimestamp
getCaptureTimestamp() public view override returns (uint48 timestamp)
Returns the current timestamp minus 1 second
Returns
Name | Type | Description |
---|---|---|
uint48 | timestamp The current timestamp minus 1 second |