andromedaprotocol/andromeda-core

[Crowdfund] Create tier management

Closed this issue · 0 comments

Description

Add functionalities for tier management to get tiers ready for starting the campaign

Implementation

  • Tier management can be done only in READY stage.
  • Each tier should have optional limit
  • If the limit is None, the tier has unlimited amount
  • tier + price pairs should be set in the initialization process
  • tier can be created/updated/removed only by the owner.

Dependencies

ANDC-85

Acceptance Criteria

  • The ADO is instantiated with tier + price information
  • Tiers are only created/updated/removed on the READY stage by the owner
  • Unit tests