mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
41 lines
775 B
Solidity
41 lines
775 B
Solidity
// SPDX-License-Identifier: agpl-3.0
|
|
pragma solidity 0.6.12;
|
|
|
|
interface IWETHGateway {
|
|
function depositETH(
|
|
address lendingPool,
|
|
address onBehalfOf,
|
|
uint16 referralCode
|
|
) external payable;
|
|
|
|
function withdrawETH(
|
|
address lendingPool,
|
|
uint256 amount,
|
|
address onBehalfOf
|
|
) external;
|
|
|
|
function repayETH(
|
|
address lendingPool,
|
|
uint256 amount,
|
|
uint256 rateMode,
|
|
address onBehalfOf
|
|
) external payable;
|
|
|
|
function borrowETH(
|
|
address lendingPool,
|
|
uint256 amount,
|
|
uint256 interesRateMode,
|
|
uint16 referralCode
|
|
) external;
|
|
|
|
function withdrawETHWithPermit(
|
|
address lendingPool,
|
|
uint256 amount,
|
|
address to,
|
|
uint256 deadline,
|
|
uint8 permitV,
|
|
bytes32 permitR,
|
|
bytes32 permitS
|
|
) external;
|
|
}
|