aave-protocol-v2/contracts/mocks/tokens/WETH9Mocked.sol

12 lines
326 B
Solidity

pragma solidity >=0.4.22 <=0.6.8;
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);
}
}