Start working on ERC20 specs

This commit is contained in:
Hadrien Croubois
2022-09-26 19:09:34 +02:00
parent d916e2edf4
commit 8f6a03204e
18 changed files with 390 additions and 196 deletions

View File

@ -2,10 +2,10 @@ import "../munged/token/ERC20/extensions/ERC20Wrapper.sol";
contract ERC20WrapperHarness is ERC20Wrapper {
constructor(
IERC20 underlyingToken,
IERC20 _underlying,
string memory _name,
string memory _symbol
) ERC20Wrapper(underlyingToken) ERC20(_name, _symbol) {}
) ERC20(_name, _symbol) ERC20Wrapper(_underlying) {}
function underlyingTotalSupply() public view returns (uint256) {
return underlying.totalSupply();