Skip to content

Add amount to WinnerSpec and make select_winners payload-driven #108

Description

@0xdevcollins

Allocation moves out of create and into payout. select_winners reads the amount from the payload rather than deriving it from a percentage of base_escrow.

Done when

  • WinnerSpec carries amount: i128
  • select_winners uses it directly, amount > 0 enforced
  • base_escrow snapshotting and EventPrizeBaseEscrow are no longer read on this path
  • The pre-1.3.0 push-model branch keyed off its absence is removed

See plan 3.1 and 3.4.


Plan: boundless-bounty-programs-implementation-plan.md

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions