-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create CappedToken, a capped MintableToken #515
Conversation
What would the advantage of this be over using the |
@Qqwy The CappedCrowdsale sets a cap on the amount of funds raised, not on the number of tokens. A token sale may have a rate that adjusts over time and want to set the cap of the sale by the number of tokens not the amount of funds raised. |
@Qqwy This could also be used in conjunction with CappedCrowdsale. One example of this would be if a crowdsale distributed tokens to contributors up to a set funding amount and then any additional tokens would be minted for an airdrop up to a set token cap. |
Looks great. One small thing tho: See http://solidity.readthedocs.io/en/develop/contracts.html#inheritance |
@ajsantander Thanks for taking a look. :) Good to know. Just fixed it. |
Create CappedToken, a capped MintableToken
Thanks @cwhinfrey! I added an extra commit (12303ce) fixing the comparison of bignumbers. See #204. |
Create CappedToken, a capped MintableToken
This PR implements CappedToken, a capped MintableToken. This token will allow tokens to be minted up until the cap is reached.