Description
Add a reward points ledger in contract instance storage that accrues points for each address proportionally to the total value they have streamed. A getRewardPoints entry point returns a sender's accumulated points. Points can be redeemed via a redeemPoints entry point that applies a fee discount on the next stream creation proportional to points spent.
Acceptance Criteria
Notes
⚠️ Do not begin coding until you have been assigned by the maintainer.
Branch as feat/516-contract-reward-points where N is this issue number.
Description
Add a reward points ledger in contract instance storage that accrues points for each address proportionally to the total value they have streamed. A getRewardPoints entry point returns a sender's accumulated points. Points can be redeemed via a redeemPoints entry point that applies a fee discount on the next stream creation proportional to points spent.
Acceptance Criteria
Notes