Update contracts/senders/aave-v2-migrator/interfaces.sol

Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
This commit is contained in:
Samyak Jain 2021-04-17 02:50:23 +10:00 committed by GitHub
parent ae7deef98c
commit ba74a38a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,6 @@
pragma solidity >=0.7.0;
pragma experimental ABIEncoderV2;
struct ReserveConfigurationMap {
//bit 0-15: LTV
//bit 16-31: Liq. threshold
//bit 32-47: Liq. bonus
//bit 48-55: Decimals
//bit 56: Reserve is active
//bit 57: reserve is frozen
//bit 58: borrowing is enabled
//bit 59: stable rate borrowing enabled
//bit 60-63: reserved
//bit 64-79: reserve factor
uint256 data;
}
interface AaveInterface {
function deposit(address _asset, uint256 _amount, address _onBehalfOf, uint16 _referralCode) external;
function withdraw(address _asset, uint256 _amount, address _to) external;