Skip to content

Add structured log event emitted when a creator key TTL extension is triggered #553

Description

@Chucks1093

Summary

When the contract extends a creator key's persistent storage TTL, there is no observable event for monitoring tools to react to. A Soroban contract event should be emitted at the time of extension so indexers can track TTL health without polling storage directly.

Scope

  • Emit a contract event on TTL extension with fields: creator_id, extended_at_ledger, new_expiry_ledger
  • Use a dedicated event topic so indexers can filter on it without scanning all events
  • Confirm the event appears in the transaction result meta when simulated in tests

Acceptance Criteria

  • Event emitted on every TTL extension call
  • Event contains creator_id, extended_at_ledger, new_expiry_ledger
  • Topic is distinct from buy/sell events
  • Event visible in simulated transaction meta in tests

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions