aave-protocol-v2/contracts/mocks/tokens/WETH9Mocked.sol
2020-11-20 11:41:58 +01:00

12 lines
327 B
Solidity

pragma solidity >=0.4.22 <=0.6.12;
import {WETH9} from '../dependencies/weth/WETH9.sol';
contract WETH9Mocked is WETH9 {
// Mint not backed by Ether: only for testing purposes
function mint(uint256 value) public returns (bool) {
balanceOf[msg.sender] += value;
emit Transfer(address(0), msg.sender, value);
}
}