Skip to content
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

Added interface for MOST token (burn and mint) #133

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

0xsarvesh
Copy link
Collaborator

fixes #87

  1. Added interface for most token which has mint and burn methods.
    Note that, the interface doesn't contain methods for ERC20 intentionally, as it already exists i.e. ERC20I.

@pgev pgev self-assigned this Dec 16, 2019
* @param _beneficiary Address of beneficiary where tokens are minted.
* @param _amount Amount in wei.
*
* @return bool `true` if success else `false`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Believe, we do not need to have a return type and can rely on an exception being thrown.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's mostly inspired by EIP

ethereum/EIPs#621

@pgev pgev assigned pgev and unassigned pgev Dec 16, 2019
@pgev pgev merged commit 5ff6d7e into mosaicdao:feature/consensus Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants