|
@@ -5,6 +5,10 @@ import "../token/ERC20/SafeERC20.sol";
|
|
|
|
|
|
|
|
|
contract ERC20FailingMock is ERC20 {
|
|
|
+ function totalSupply() public view returns (uint256) {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
function transfer(address, uint256) public returns (bool) {
|
|
|
return false;
|
|
|
}
|
|
@@ -28,6 +32,10 @@ contract ERC20FailingMock is ERC20 {
|
|
|
|
|
|
|
|
|
contract ERC20SucceedingMock is ERC20 {
|
|
|
+ function totalSupply() public view returns (uint256) {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
function transfer(address, uint256) public returns (bool) {
|
|
|
return true;
|
|
|
}
|