Skip to content

[P5-5] Royalty Claiming #27

@realproject7

Description

@realproject7

Context

§3.2 — writers claim accumulated royalties directly from Mint Club via MCV2_Bond.claimRoyalties(tokenAddress). The frontend gates the "Claim" button until at least plot #1 is chained (plot_count >= 2) to prevent zero-content farming (§8 Risks table).

Sub-tickets

  • P5-5a: Add "Claim Royalties" to the writer dashboard (P4-3). Show unclaimed balance per storyline by reading from MCV2_Bond. Hide the button if plot_count < 2.
  • P5-5b: Implement claim transaction — calls MCV2_Bond.claimRoyalties(). Show success with claimed amount.

Proposal Reference

§3.2 (Mint Club — claimRoyalties), §8 (Risks — royalty gate)

Dependencies

P4-3 (writer dashboard), P3-1 (wallet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions