Skip to content

Add structured log event for protocol fee recipient update by admin #561

Closed

Description

@Chucks1093

Summary

When the admin updates the protocol fee recipient address, there is no observable event for off-chain monitors to react to. A contract event should be emitted on each successful update so indexers can maintain an accurate record of the current fee recipient without polling storage.

Scope

  • Emit a contract event on set_protocol_fee_recipient with fields: old_recipient, new_recipient, updated_at_ledger
  • Use a dedicated event topic distinct from buy/sell/TTL events
  • Add a test asserting the event is present in the transaction result after a successful admin update

Acceptance Criteria

  • Event emitted on each successful fee recipient update
  • Event contains old_recipient, new_recipient, updated_at_ledger
  • Topic is distinct from other contract events
  • Test confirms event presence after admin call

ETA: 12 hours


Coordinate on Telegram

Activity

  1. Stephen8910 commented on Jul 20, 2026

    @Stephen8910

    Hello maintainer, I can work on this issue please assign

  2. Bilalishaq7 commented on Jul 20, 2026

    @Bilalishaq7
    Contributor

    Hello Maintainer good day
    I can fix this and I'll submit a PR shortly after assignment

  3. grantfox-oss commented on Jul 23, 2026

    @grantfox-oss

    🦊 GrantFox — @Bilalishaq7 has been assigned to this issue as part of the Official Campaign | FWC26 campaign!

    Next steps:

    1. Open a Pull Request referencing this issue (e.g., Closes #561)
    2. Your PR will be reviewed by the accesslayerorg maintainers

    Good luck! Track your progress on GrantFox.

  4. grantfox-oss commented on Jul 27, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox as part of the Official Campaign | FWC26 campaign!

    @Bilalishaq7's PR #591 was approved and merged by @Chucks1093.

    🏆 @Bilalishaq7: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (592 total points). Track your full progress on GrantFox.

    👏 Great work, @Bilalishaq7! Keep contributing to accesslayerorg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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