Skip to content

Add max number of tokens for a crowdsale #3

@marv-engine

Description

@marv-engine

Based on feedback from MaidSafe, we should let crowdsales specify a hard limit for the number of tokens/coins that are issued during the sale. The current implementation doesn't provide a way for the issuer to cut off sales after a particular number are sold. It's up to the issuer to monitor sales and close the sale manually, but this can't be done at a predetermined number.

Transaction 51 uses (requires) a time limit, so it should have an optional limit on the number of tokens. Zero could indicate no limit.

Some special handling will be required when a participant tries to purchase more tokens than are left to be purchased (including early bird bonus and issuer's percentage). We'll need some way to return/refund the extra payment.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions