Skip to content

Funds should be returned to payers if target not met #8

@patriacaelum

Description

@patriacaelum

Since owners can deploy a proposal without meeting a minimum horizon, the process of the proposal inverter is effectively split into two phases:

  1. The "Fundraising" phase, where the proposal remains stagnant until enough funds have accumulated to meet the minimum requirements.
  2. The "Research" phase, where the proposal begins to allocate funds to the committed brokers.

Should the "Fundraising" phase not reach its target in a timely manner, the owner of the proposal may choose to cancel the proposal. In this case, the funds should be returned to the payers.

  • In the ProposalInverter.cancel() method, if ProposalInverter.started is False, then the funds in the ProposalInverter.payer_contributions should be reallocated to their respective payers and all committed brokers should have have their stake reallocated to them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions