Skip to content

Instantly share code, notes, and snippets.

View jmerestain's full-sized avatar

Jose Emmanuel N. Erestain IV jmerestain

View GitHub Profile
@public
def mint(_to: address, _value: uint256):
"""
@dev Mint an amount of the token and assigns it to an account.
This encapsulates the modification of balances such that the
proper events are emitted.
@param _to The account that will receive the created tokens.
@param _value The amount that will be created.
"""
assert self.issuers[msg.sender] == True