aave-protocol-v2/contracts/misc/interfaces/IWETHGateway.sol
2020-11-06 13:22:03 +01:00

21 lines
459 B
Solidity

// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.6.8;
interface IWETHGateway {
function depositETH(address onBehalfOf, uint16 referralCode) external payable;
function withdrawETH(uint256 amount, address onBehalfOf) external;
function repayETH(
uint256 amount,
uint256 rateMode,
address onBehalfOf
) external payable;
function borrowETH(
uint256 amount,
uint256 interesRateMode,
uint16 referralCode
) external;
}