Hi everyone,
I am struggling to create an ERC20 token inside a facet contract. In other words, the following statement is failing (it throws an VM exception error):
ERC20 erc20Token = new ERC20("TestToken","TEST");
I have the suspicion that this operation doesn't work when a delegate call is used. Could someone share an example how to do this operation insde a facet contract?
Best
Wladimir
Hi everyone,
I am struggling to create an ERC20 token inside a facet contract. In other words, the following statement is failing (it throws an VM exception error):
ERC20 erc20Token = new ERC20("TestToken","TEST");
I have the suspicion that this operation doesn't work when a delegate call is used. Could someone share an example how to do this operation insde a facet contract?
Best
Wladimir