mirror of openzeppelin-contracts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import "../munged/token/ERC20/extensions/ERC20Wrapper.sol";
|
|
|
|
|
|
|
|
contract ERC20WrapperHarness is ERC20Wrapper {
|
|
|
|
|
|
|
|
constructor(IERC20 underlyingToken, string memory _name, string memory _symbol)
|
|
|
|
ERC20Wrapper(underlyingToken)
|
|
|
|
ERC20(_name, _symbol)
|
|
|
|
{}
|
|
|
|
|
|
|
|
function underlyingTotalSupply() public view returns (uint256) {
|
|
|
|
return underlying.totalSupply();
|
|
|
|
}
|
|
|
|
|
|
|
|
function underlyingBalanceOf(address account) public view returns (uint256) {
|
|
|
|
return underlying.balanceOf(account);
|
|
|
|
}
|
|
|
|
}
|