Open tspoff opened 4 years ago
Owner should be able to change cap to valid value (>= totalSupply)
Owner shouldn't be able to change cap to invalid value (< totalSupply)
Non-owners shouldn't be able to do admin functions ever
Anyone should be able to read the cap
Cap changes should emit events
Should revert buy above cap
Should allow buy <= cap
Should allow buy to expected amount after cap change
Should allow buy after previous sells & correct conditions
Owner should be able to change cap to valid value (>= totalSupply)
Owner shouldn't be able to change cap to invalid value (< totalSupply)
Non-owners shouldn't be able to do admin functions ever
Anyone should be able to read the cap
Cap changes should emit events
Should revert buy above cap
Should allow buy <= cap
Should allow buy to expected amount after cap change
Should allow buy after previous sells & correct conditions