Shows the constructor as:
constructor() ERC20("MyToken", "MTK") ERC20Permit("MyToken") {}
But it's not clear how that translates into the initializer function in the upgradable version of the governance contract. Am I missing some docs? Can anyone help?
Thanks!
Richard
Hi @Richard_Croft. Please post support questions in #support for faster response.
You should check out Contracts Wizard and use the Upgradeable toggle. The initializer function will come out like this:
function initialize() initializer public {
__ERC20_init("MyToken", "MTK");
__ERC20Permit_init("MyToken");
}