Description
Write the ping entrypoint:
- Checks if the caller is the plan owner (auth check).
- Resets
last_ping field to the current ledger timestamp.
- Bump storage TTL for the plan.
Acceptance Criteria
- Rejects calls from addresses other than the owner.
- Successfully updates
last_ping.
- Emits a contract event detailing the keep-alive ping.
Description
Write the
pingentrypoint:last_pingfield to the current ledger timestamp.Acceptance Criteria
last_ping.