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
Otoken: Burn and Mint #31
Conversation
expiry = _expiry; | ||
isPut = _isPut; | ||
(string memory name, string memory symbol) = _getNameAndSymbol(); | ||
__ERC20_init_unchained(name, symbol); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where are the decimals set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is set in the __ERC20_init_unchained
function
function __ERC20_init_unchained(string memory name, string memory symbol) internal initializer {
_name = name;
_symbol = symbol;
_decimals = 18;
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome work @antoncoding!! :)
db14729
to
7096c07
Compare
Description
This PR add
mintOtoken
andburnOtoken
functionsThis should be reviewed after #24 is merged, and change the based branch to master.
Todos: