Contract 0x5682a39078edce41a65f1bd8733bf9ca2bbe3b1b

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68Loop561656162023-01-28 15:52:4414 mins ago0x4590f39ad5d60cc968af3f4db6008b05365b5890 IN  Radiant: Leverager0 ETH0.00012351
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8Loop561599092023-01-28 15:19:3148 mins ago0xa01900bd2cc133742aa4210b8d23b886a4bc243c IN  Radiant: Leverager0 ETH0.00011804
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6Loop561537982023-01-28 14:46:541 hr 20 mins ago0x691ed38f2bfbb5c68c844f049ce2d2074fb47fac IN  Radiant: Leverager0 ETH0.0001205
0xd46571b8be8f3b69609fd9913ccf69e38d301b277c48f9e79e0ecbfbe6f746c8Loop561476432023-01-28 14:14:161 hr 53 mins ago0x2e1415c43b8b5ad61545c90f2122b8003afcb68e IN  Radiant: Leverager0 ETH0.00012233
0x4cfdc4d9cf8ea0bd3414472837950c52393aa7cc16e62313d8181f77068703c9Loop561414122023-01-28 13:39:482 hrs 27 mins ago0x122cf38cc87f3924fb08846fac90e0eeedf2b58e IN  Radiant: Leverager0 ETH0.00012725
0x78583479f9a8a83e8756b5fab3e5c6e8b8fe4a54894e7edef835a94b3a418a6fLoop561235542023-01-28 12:09:303 hrs 58 mins ago0x4d9b7bc2566b1452c4d43b0ab4d43c98d89d100e IN  Radiant: Leverager0 ETH0.00010644
0x31d4c1b5b34d52a6c1d6b5248e838491e69e7abb6924f45c3567834221380dd3Loop561151182023-01-28 11:24:234 hrs 43 mins ago0x948268b5a3a7c2476e1546f464a0c349429728ab IN  Radiant: Leverager0 ETH0.00026707
0xf7512c47601d3c48f257e611b4a76292bf57129072bd0ef8b85eda604980870bLoop561092072023-01-28 10:54:165 hrs 13 mins ago0x4cf9bb91ea8a1aac9f387b0e409b0fbbd79e8f76 IN  Radiant: Leverager0 ETH0.0002544
0x618be244d91700e292552fdba5ebeac308f91e3144431bd01212341bde0a3608Loop561063982023-01-28 10:39:325 hrs 28 mins ago0xe7c899489813969b8ea3901680c0dc3e041730e6 IN  Radiant: Leverager0 ETH0.00011785
0xbd2cdb624765eb0fb24a1f715e2c8eaf45c296fb9735022c7ffd960b3a109cf9Loop560739002023-01-28 7:53:398 hrs 13 mins ago0x0971c60ad9fdb2b4ffd0392037ca142408d69869 IN  Radiant: Leverager0 ETH0.00011981
0xb0536c237063171da26194907c51317234a0f8afa641b80ef3c175949aee2f23Loop559046492023-01-27 16:08:2623 hrs 59 mins ago0x576740ac6e80b1bfc684c62972ea8eb025361883 IN  Radiant: Leverager0 ETH0.0004102
0xaad7f6bd3904fe0ab0308409666f7e3a45072575e0b750c7ed741f58b51fb33fLoop558943852023-01-27 15:21:191 day 46 mins ago0x576740ac6e80b1bfc684c62972ea8eb025361883 IN  Radiant: Leverager0 ETH0.00037854
0xc6fde19d2eab662b59ff0cde44639892a008f7d744a2159c7036503e585b2062Loop558932162023-01-27 15:16:011 day 51 mins ago0xe9f6fd1af2c4581d56121a63abbe50eb62e17100 IN  Radiant: Leverager0 ETH0.00012457
0xc4f085907d6fee6db8015d0aa6ca6cb5bc471f1bd61910c22dd49e6fb44446beLoop558929792023-01-27 15:14:561 day 52 mins ago0xa0d2fa850f90ab6591dd2e1b76da53b88fe8fd5f IN  Radiant: Leverager0 ETH0.00012457
0x34be057ce655385752a8343d4fdbc8385d005f1740eb90685bf374b1db10bab6Loop558927522023-01-27 15:13:561 day 53 mins ago0x60b0e44be033752810136697c63a01e1f373aa8d IN  Radiant: Leverager0 ETH0.00012457
0xe6cefb4a0ec90b89c80b0c36fc372b3e34642dd8bb851ff14bd0a9cb59f51239Loop558922332023-01-27 15:11:401 day 55 mins ago0xe12def236c74150b71d0e9d50b41bb219ce8a6f2 IN  Radiant: Leverager0 ETH0.00012534
0x734f918bf94b1f4a52c40414d1183c44f690e2a45299af8f2b28c60125d4baa2Loop558919872023-01-27 15:10:331 day 57 mins ago0x79375be2887ebde8162d58aeaccec8145c5bfc38 IN  Radiant: Leverager0 ETH0.00012063
0x390b3f7922c70fe6219af397672d52967b884d259941193d3cb3941671b33dceLoop558917792023-01-27 15:09:311 day 58 mins ago0x739964fb9e91f3a985474ed1e93aa0914cbddc41 IN  Radiant: Leverager0 ETH0.00012534
0x9e4a83c3e6640de3783c867fbf330e31383bf47bdffa30e7d720a392c71265bcLoop558915332023-01-27 15:08:231 day 59 mins ago0x2c42452640863ea011c0b19b8feb64b89bc7c36a IN  Radiant: Leverager0 ETH0.00012551
0xe8bb9aedd1137549525a2658945501bea0dcc0332b4291d70f932f400568b608Loop558912602023-01-27 15:07:121 day 1 hr ago0x8c627ade0bb3e61d8c27e3c397d9cbe08ba3cc3a IN  Radiant: Leverager0 ETH0.00012579
0xbdde25f81b26fc9311fc40b51e9f702ce22495c25cab93a9a2850e1b5388ba2bLoop558884472023-01-27 14:54:331 day 1 hr ago0xff0f97d3fff7adc990b2350e4be528b504259ab9 IN  Radiant: Leverager0 ETH0.00033513
0x9bbc9de57687462725485db1f6b3d5119b3eed587b471d0a032e6f91b8fc36b8Loop558874682023-01-27 14:50:101 day 1 hr ago0x576740ac6e80b1bfc684c62972ea8eb025361883 IN  Radiant: Leverager0 ETH0.00037945
0x1a86c37932971f2483632d4f4196946ae02c0ce96d54c871e7fcf94495ffcfd8Loop558872252023-01-27 14:49:071 day 1 hr ago0x576740ac6e80b1bfc684c62972ea8eb025361883 IN  Radiant: Leverager0 ETH0.00034125
0x366dc9c5b665fbc7ffec4fd4954035928e35eb3e65b21519817327a8f2480879Loop558777632023-01-27 14:03:481 day 2 hrs ago0xfdbbe5a6b04b69bf98614e00ae65dc0b41af3144 IN  Radiant: Leverager0 ETH0.00011999
0xb6bbf5563369eb96a378860d931b0b2844a83c4278d4526a7b065e1dea78f131Loop558628162023-01-27 12:51:331 day 3 hrs ago0x7ebd3a4eac7050aba3982435bf4bb6024a1e0d69 IN  Radiant: Leverager0 ETH0.00011785
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68561656162023-01-28 15:52:4414 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68561656162023-01-28 15:52:4414 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68561656162023-01-28 15:52:4414 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68561656162023-01-28 15:52:4414 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68561656162023-01-28 15:52:4414 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68561656162023-01-28 15:52:4414 mins ago Radiant: Leverager 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0x20dc452416720693f99539a39d2f935835f96ee5ee3753b601c2f5c3af1ecb68561656162023-01-28 15:52:4414 mins ago Radiant: Leverager 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8561599092023-01-28 15:19:3148 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8561599092023-01-28 15:19:3148 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8561599092023-01-28 15:19:3148 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8561599092023-01-28 15:19:3148 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8561599092023-01-28 15:19:3148 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8561599092023-01-28 15:19:3148 mins ago Radiant: Leverager 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0x53d29ee7d5d980436384ace4991931bf043a3b140e56580c1652148b5f878dd8561599092023-01-28 15:19:3148 mins ago Radiant: Leverager 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6561537982023-01-28 14:46:541 hr 20 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6561537982023-01-28 14:46:541 hr 20 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6561537982023-01-28 14:46:541 hr 20 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6561537982023-01-28 14:46:541 hr 20 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6561537982023-01-28 14:46:541 hr 20 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6561537982023-01-28 14:46:541 hr 20 mins ago Radiant: Leverager 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xc92dd50ff7fb700184d35749b3369fc347e8c8e3bcf3603f8eefc1b32d5108d6561537982023-01-28 14:46:541 hr 20 mins ago Radiant: Leverager 0xff970a61a04b1ca14834a43f5de4533ebddb5cc80 ETH
0xd46571b8be8f3b69609fd9913ccf69e38d301b277c48f9e79e0ecbfbe6f746c8561476432023-01-28 14:14:161 hr 53 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xd46571b8be8f3b69609fd9913ccf69e38d301b277c48f9e79e0ecbfbe6f746c8561476432023-01-28 14:14:161 hr 53 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xd46571b8be8f3b69609fd9913ccf69e38d301b277c48f9e79e0ecbfbe6f746c8561476432023-01-28 14:14:161 hr 53 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
0xd46571b8be8f3b69609fd9913ccf69e38d301b277c48f9e79e0ecbfbe6f746c8561476432023-01-28 14:14:161 hr 53 mins ago Radiant: Leverager Radiant: Lending Pool Logic0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Leverager

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : Leverager.sol
pragma solidity 0.7.6;
pragma abicoder v2;

// SPDX-License-Identifier: MIT

import "../dependencies/openzeppelin/contracts/SafeMath.sol";
import "../dependencies/openzeppelin/contracts/IERC20.sol";

import "../interfaces/ILendingPool.sol";

contract Leverager {
    using SafeMath for uint256;

    uint256 public constant BORROW_RATIO_DECIMALS = 4;

    /// @notice Lending Pool address
    ILendingPool public lendingPool;

    constructor(ILendingPool _lendingPool) {
        lendingPool = _lendingPool;
    }

    /**
     * @dev Returns the configuration of the reserve
     * @param asset The address of the underlying asset of the reserve
     * @return The configuration of the reserve
     **/
    function getConfiguration(address asset) external view returns (DataTypes.ReserveConfigurationMap memory) {
        return lendingPool.getConfiguration(asset);
    }

    /**
     * @dev Returns variable debt token address of asset
     * @param asset The address of the underlying asset of the reserve
     * @return varaiableDebtToken address of the asset
     **/
    function getVDebtToken(address asset) public view returns (address) {
        DataTypes.ReserveData memory reserveData = lendingPool.getReserveData(asset);
        return reserveData.variableDebtTokenAddress;
    }

    /**
     * @dev Returns loan to value
     * @param asset The address of the underlying asset of the reserve
     * @return ltv of the asset
     **/
    function ltv(address asset) public view returns (uint256) {
        DataTypes.ReserveConfigurationMap memory conf =  lendingPool.getConfiguration(asset);
        return conf.data % (2 ** 16);
    }

    /**
     * @dev Loop the deposit and borrow of an asset
     * @param asset for loop
     * @param amount for the initial deposit
     * @param interestRateMode stable or variable borrow mode
     * @param borrowRatio Ratio of tokens to borrow
     * @param loopCount Repeat count for loop
     **/
    function loop(
        address asset,
        uint256 amount,
        uint256 interestRateMode,
        uint256 borrowRatio,
        uint256 loopCount
    ) external {
        uint16 referralCode = 0;
        IERC20(asset).transferFrom(msg.sender, address(this), amount);
        IERC20(asset).approve(address(lendingPool), type(uint256).max);
        lendingPool.deposit(asset, amount, msg.sender, referralCode);
        for (uint256 i = 0; i < loopCount; i += 1) {
            amount = amount.mul(borrowRatio).div(10 ** BORROW_RATIO_DECIMALS);
            lendingPool.borrow(asset, amount, interestRateMode, referralCode, msg.sender);
            lendingPool.deposit(asset, amount, msg.sender, referralCode);
        }
    }
}

File 2 of 6 : SafeMath.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
  /**
   * @dev Returns the addition of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `+` operator.
   *
   * Requirements:
   * - Addition cannot overflow.
   */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a, 'SafeMath: addition overflow');

    return c;
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    return sub(a, b, 'SafeMath: subtraction overflow');
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(
    uint256 a,
    uint256 b,
    string memory errorMessage
  ) internal pure returns (uint256) {
    require(b <= a, errorMessage);
    uint256 c = a - b;

    return c;
  }

  /**
   * @dev Returns the multiplication of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `*` operator.
   *
   * Requirements:
   * - Multiplication cannot overflow.
   */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b, 'SafeMath: multiplication overflow');

    return c;
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    return div(a, b, 'SafeMath: division by zero');
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(
    uint256 a,
    uint256 b,
    string memory errorMessage
  ) internal pure returns (uint256) {
    // Solidity only automatically asserts when dividing by 0
    require(b > 0, errorMessage);
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    return mod(a, b, 'SafeMath: modulo by zero');
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts with custom message when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(
    uint256 a,
    uint256 b,
    string memory errorMessage
  ) internal pure returns (uint256) {
    require(b != 0, errorMessage);
    return a % b;
  }
}

File 3 of 6 : IERC20.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
  /**
   * @dev Returns the amount of tokens in existence.
   */
  function totalSupply() external view returns (uint256);

  /**
   * @dev Returns the amount of tokens owned by `account`.
   */
  function balanceOf(address account) external view returns (uint256);

  /**
   * @dev Moves `amount` tokens from the caller's account to `recipient`.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * Emits a {Transfer} event.
   */
  function transfer(address recipient, uint256 amount) external returns (bool);

  /**
   * @dev Returns the remaining number of tokens that `spender` will be
   * allowed to spend on behalf of `owner` through {transferFrom}. This is
   * zero by default.
   *
   * This value changes when {approve} or {transferFrom} are called.
   */
  function allowance(address owner, address spender) external view returns (uint256);

  /**
   * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * IMPORTANT: Beware that changing an allowance with this method brings the risk
   * that someone may use both the old and the new allowance by unfortunate
   * transaction ordering. One possible solution to mitigate this race
   * condition is to first reduce the spender's allowance to 0 and set the
   * desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   *
   * Emits an {Approval} event.
   */
  function approve(address spender, uint256 amount) external returns (bool);

  /**
   * @dev Moves `amount` tokens from `sender` to `recipient` using the
   * allowance mechanism. `amount` is then deducted from the caller's
   * allowance.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * Emits a {Transfer} event.
   */
  function transferFrom(
    address sender,
    address recipient,
    uint256 amount
  ) external returns (bool);

  /**
   * @dev Emitted when `value` tokens are moved from one account (`from`) to
   * another (`to`).
   *
   * Note that `value` may be zero.
   */
  event Transfer(address indexed from, address indexed to, uint256 value);

  /**
   * @dev Emitted when the allowance of a `spender` for an `owner` is set by
   * a call to {approve}. `value` is the new allowance.
   */
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 6 : ILendingPool.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;

import {ILendingPoolAddressesProvider} from './ILendingPoolAddressesProvider.sol';
import {DataTypes} from '../protocol/libraries/types/DataTypes.sol';

interface ILendingPool {
  /**
   * @dev Emitted on deposit()
   * @param reserve The address of the underlying asset of the reserve
   * @param user The address initiating the deposit
   * @param onBehalfOf The beneficiary of the deposit, receiving the aTokens
   * @param amount The amount deposited
   * @param referral The referral code used
   **/
  event Deposit(
    address indexed reserve,
    address user,
    address indexed onBehalfOf,
    uint256 amount,
    uint16 indexed referral
  );

  /**
   * @dev Emitted on withdraw()
   * @param reserve The address of the underlyng asset being withdrawn
   * @param user The address initiating the withdrawal, owner of aTokens
   * @param to Address that will receive the underlying
   * @param amount The amount to be withdrawn
   **/
  event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount);

  /**
   * @dev Emitted on borrow() and flashLoan() when debt needs to be opened
   * @param reserve The address of the underlying asset being borrowed
   * @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just
   * initiator of the transaction on flashLoan()
   * @param onBehalfOf The address that will be getting the debt
   * @param amount The amount borrowed out
   * @param borrowRateMode The rate mode: 1 for Stable, 2 for Variable
   * @param borrowRate The numeric rate at which the user has borrowed
   * @param referral The referral code used
   **/
  event Borrow(
    address indexed reserve,
    address user,
    address indexed onBehalfOf,
    uint256 amount,
    uint256 borrowRateMode,
    uint256 borrowRate,
    uint16 indexed referral
  );

  /**
   * @dev Emitted on repay()
   * @param reserve The address of the underlying asset of the reserve
   * @param user The beneficiary of the repayment, getting his debt reduced
   * @param repayer The address of the user initiating the repay(), providing the funds
   * @param amount The amount repaid
   **/
  event Repay(
    address indexed reserve,
    address indexed user,
    address indexed repayer,
    uint256 amount
  );

  /**
   * @dev Emitted on swapBorrowRateMode()
   * @param reserve The address of the underlying asset of the reserve
   * @param user The address of the user swapping his rate mode
   * @param rateMode The rate mode that the user wants to swap to
   **/
  event Swap(address indexed reserve, address indexed user, uint256 rateMode);

  /**
   * @dev Emitted on setUserUseReserveAsCollateral()
   * @param reserve The address of the underlying asset of the reserve
   * @param user The address of the user enabling the usage as collateral
   **/
  event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user);

  /**
   * @dev Emitted on setUserUseReserveAsCollateral()
   * @param reserve The address of the underlying asset of the reserve
   * @param user The address of the user enabling the usage as collateral
   **/
  event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user);

  /**
   * @dev Emitted on rebalanceStableBorrowRate()
   * @param reserve The address of the underlying asset of the reserve
   * @param user The address of the user for which the rebalance has been executed
   **/
  event RebalanceStableBorrowRate(address indexed reserve, address indexed user);

  /**
   * @dev Emitted on flashLoan()
   * @param target The address of the flash loan receiver contract
   * @param initiator The address initiating the flash loan
   * @param asset The address of the asset being flash borrowed
   * @param amount The amount flash borrowed
   * @param premium The fee flash borrowed
   * @param referralCode The referral code used
   **/
  event FlashLoan(
    address indexed target,
    address indexed initiator,
    address indexed asset,
    uint256 amount,
    uint256 premium,
    uint16 referralCode
  );

  /**
   * @dev Emitted when the pause is triggered.
   */
  event Paused();

  /**
   * @dev Emitted when the pause is lifted.
   */
  event Unpaused();

  /**
   * @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via
   * LendingPoolCollateral manager using a DELEGATECALL
   * This allows to have the events in the generated ABI for LendingPool.
   * @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation
   * @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation
   * @param user The address of the borrower getting liquidated
   * @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover
   * @param liquidatedCollateralAmount The amount of collateral received by the liiquidator
   * @param liquidator The address of the liquidator
   * @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants
   * to receive the underlying collateral asset directly
   **/
  event LiquidationCall(
    address indexed collateralAsset,
    address indexed debtAsset,
    address indexed user,
    uint256 debtToCover,
    uint256 liquidatedCollateralAmount,
    address liquidator,
    bool receiveAToken
  );

  /**
   * @dev Emitted when the state of a reserve is updated. NOTE: This event is actually declared
   * in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal,
   * the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it
   * gets added to the LendingPool ABI
   * @param reserve The address of the underlying asset of the reserve
   * @param liquidityRate The new liquidity rate
   * @param stableBorrowRate The new stable borrow rate
   * @param variableBorrowRate The new variable borrow rate
   * @param liquidityIndex The new liquidity index
   * @param variableBorrowIndex The new variable borrow index
   **/
  event ReserveDataUpdated(
    address indexed reserve,
    uint256 liquidityRate,
    uint256 stableBorrowRate,
    uint256 variableBorrowRate,
    uint256 liquidityIndex,
    uint256 variableBorrowIndex
  );

  /**
   * @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.
   * - E.g. User deposits 100 USDC and gets in return 100 aUSDC
   * @param asset The address of the underlying asset to deposit
   * @param amount The amount to be deposited
   * @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user
   *   wants to receive them on his own wallet, or a different address if the beneficiary of aTokens
   *   is a different wallet
   * @param referralCode Code used to register the integrator originating the operation, for potential rewards.
   *   0 if the action is executed directly by the user, without any middle-man
   **/
  function deposit(
    address asset,
    uint256 amount,
    address onBehalfOf,
    uint16 referralCode
  ) external;

  /**
   * @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned
   * E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC
   * @param asset The address of the underlying asset to withdraw
   * @param amount The underlying amount to be withdrawn
   *   - Send the value type(uint256).max in order to withdraw the whole aToken balance
   * @param to Address that will receive the underlying, same as msg.sender if the user
   *   wants to receive it on his own wallet, or a different address if the beneficiary is a
   *   different wallet
   * @return The final amount withdrawn
   **/
  function withdraw(
    address asset,
    uint256 amount,
    address to
  ) external returns (uint256);

  /**
   * @dev Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower
   * already deposited enough collateral, or he was given enough allowance by a credit delegator on the
   * corresponding debt token (StableDebtToken or VariableDebtToken)
   * - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet
   *   and 100 stable/variable debt tokens, depending on the `interestRateMode`
   * @param asset The address of the underlying asset to borrow
   * @param amount The amount to be borrowed
   * @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable
   * @param referralCode Code used to register the integrator originating the operation, for potential rewards.
   *   0 if the action is executed directly by the user, without any middle-man
   * @param onBehalfOf Address of the user who will receive the debt. Should be the address of the borrower itself
   * calling the function if he wants to borrow against his own collateral, or the address of the credit delegator
   * if he has been given credit delegation allowance
   **/
  function borrow(
    address asset,
    uint256 amount,
    uint256 interestRateMode,
    uint16 referralCode,
    address onBehalfOf
  ) external;

  /**
   * @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned
   * - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address
   * @param asset The address of the borrowed underlying asset previously borrowed
   * @param amount The amount to repay
   * - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`
   * @param rateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable
   * @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the
   * user calling the function if he wants to reduce/remove his own debt, or the address of any other
   * other borrower whose debt should be removed
   * @return The final amount repaid
   **/
  function repay(
    address asset,
    uint256 amount,
    uint256 rateMode,
    address onBehalfOf
  ) external returns (uint256);

  /**
   * @dev Allows a borrower to swap his debt between stable and variable mode, or viceversa
   * @param asset The address of the underlying asset borrowed
   * @param rateMode The rate mode that the user wants to swap to
   **/
  function swapBorrowRateMode(address asset, uint256 rateMode) external;

  /**
   * @dev Rebalances the stable interest rate of a user to the current stable rate defined on the reserve.
   * - Users can be rebalanced if the following conditions are satisfied:
   *     1. Usage ratio is above 95%
   *     2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been
   *        borrowed at a stable rate and depositors are not earning enough
   * @param asset The address of the underlying asset borrowed
   * @param user The address of the user to be rebalanced
   **/
  function rebalanceStableBorrowRate(address asset, address user) external;

  /**
   * @dev Allows depositors to enable/disable a specific deposited asset as collateral
   * @param asset The address of the underlying asset deposited
   * @param useAsCollateral `true` if the user wants to use the deposit as collateral, `false` otherwise
   **/
  function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) external;

  /**
   * @dev Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1
   * - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives
   *   a proportionally amount of the `collateralAsset` plus a bonus to cover market risk
   * @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation
   * @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation
   * @param user The address of the borrower getting liquidated
   * @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover
   * @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants
   * to receive the underlying collateral asset directly
   **/
  function liquidationCall(
    address collateralAsset,
    address debtAsset,
    address user,
    uint256 debtToCover,
    bool receiveAToken
  ) external;

  /**
   * @dev Allows smartcontracts to access the liquidity of the pool within one transaction,
   * as long as the amount taken plus a fee is returned.
   * IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration.
   * For further details please visit https://developers.aave.com
   * @param receiverAddress The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface
   * @param assets The addresses of the assets being flash-borrowed
   * @param amounts The amounts amounts being flash-borrowed
   * @param modes Types of the debt to open if the flash loan is not returned:
   *   0 -> Don't open any debt, just revert if funds can't be transferred from the receiver
   *   1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
   *   2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address
   * @param onBehalfOf The address  that will receive the debt in the case of using on `modes` 1 or 2
   * @param params Variadic packed params to pass to the receiver as extra information
   * @param referralCode Code used to register the integrator originating the operation, for potential rewards.
   *   0 if the action is executed directly by the user, without any middle-man
   **/
  function flashLoan(
    address receiverAddress,
    address[] calldata assets,
    uint256[] calldata amounts,
    uint256[] calldata modes,
    address onBehalfOf,
    bytes calldata params,
    uint16 referralCode
  ) external;

  /**
   * @dev Returns the user account data across all the reserves
   * @param user The address of the user
   * @return totalCollateralETH the total collateral in ETH of the user
   * @return totalDebtETH the total debt in ETH of the user
   * @return availableBorrowsETH the borrowing power left of the user
   * @return currentLiquidationThreshold the liquidation threshold of the user
   * @return ltv the loan to value of the user
   * @return healthFactor the current health factor of the user
   **/
  function getUserAccountData(address user)
    external
    view
    returns (
      uint256 totalCollateralETH,
      uint256 totalDebtETH,
      uint256 availableBorrowsETH,
      uint256 currentLiquidationThreshold,
      uint256 ltv,
      uint256 healthFactor
    );

  function initReserve(
    address reserve,
    address aTokenAddress,
    address stableDebtAddress,
    address variableDebtAddress,
    address interestRateStrategyAddress
  ) external;

  function setReserveInterestRateStrategyAddress(address reserve, address rateStrategyAddress)
    external;

  function setConfiguration(address reserve, uint256 configuration) external;

  /**
   * @dev Returns the configuration of the reserve
   * @param asset The address of the underlying asset of the reserve
   * @return The configuration of the reserve
   **/
  function getConfiguration(address asset)
    external
    view
    returns (DataTypes.ReserveConfigurationMap memory);

  /**
   * @dev Returns the configuration of the user across all the reserves
   * @param user The user address
   * @return The configuration of the user
   **/
  function getUserConfiguration(address user)
    external
    view
    returns (DataTypes.UserConfigurationMap memory);

  /**
   * @dev Returns the normalized income normalized income of the reserve
   * @param asset The address of the underlying asset of the reserve
   * @return The reserve's normalized income
   */
  function getReserveNormalizedIncome(address asset) external view returns (uint256);

  /**
   * @dev Returns the normalized variable debt per unit of asset
   * @param asset The address of the underlying asset of the reserve
   * @return The reserve normalized variable debt
   */
  function getReserveNormalizedVariableDebt(address asset) external view returns (uint256);

  /**
   * @dev Returns the state and configuration of the reserve
   * @param asset The address of the underlying asset of the reserve
   * @return The state of the reserve
   **/
  function getReserveData(address asset) external view returns (DataTypes.ReserveData memory);

  function finalizeTransfer(
    address asset,
    address from,
    address to,
    uint256 amount,
    uint256 balanceFromAfter,
    uint256 balanceToBefore
  ) external;

  function getReservesList() external view returns (address[] memory);

  function getAddressesProvider() external view returns (ILendingPoolAddressesProvider);

  function setPause(bool val) external;

  function paused() external view returns (bool);
}

File 5 of 6 : ILendingPoolAddressesProvider.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

/**
 * @title LendingPoolAddressesProvider contract
 * @dev Main registry of addresses part of or connected to the protocol, including permissioned roles
 * - Acting also as factory of proxies and admin of those, so with right to change its implementations
 * - Owned by the Aave Governance
 * @author Aave
 **/
interface ILendingPoolAddressesProvider {
  event MarketIdSet(string newMarketId);
  event LendingPoolUpdated(address indexed newAddress);
  event ConfigurationAdminUpdated(address indexed newAddress);
  event EmergencyAdminUpdated(address indexed newAddress);
  event LendingPoolConfiguratorUpdated(address indexed newAddress);
  event LendingPoolCollateralManagerUpdated(address indexed newAddress);
  event PriceOracleUpdated(address indexed newAddress);
  event LendingRateOracleUpdated(address indexed newAddress);
  event ProxyCreated(bytes32 id, address indexed newAddress);
  event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy);

  function getMarketId() external view returns (string memory);

  function setMarketId(string calldata marketId) external;

  function setAddress(bytes32 id, address newAddress) external;

  function setAddressAsProxy(bytes32 id, address impl) external;

  function getAddress(bytes32 id) external view returns (address);

  function getLendingPool() external view returns (address);

  function setLendingPoolImpl(address pool) external;

  function getLendingPoolConfigurator() external view returns (address);

  function setLendingPoolConfiguratorImpl(address configurator) external;

  function getLendingPoolCollateralManager() external view returns (address);

  function setLendingPoolCollateralManager(address manager) external;

  function getPoolAdmin() external view returns (address);

  function setPoolAdmin(address admin) external;

  function getEmergencyAdmin() external view returns (address);

  function setEmergencyAdmin(address admin) external;

  function getPriceOracle() external view returns (address);

  function setPriceOracle(address priceOracle) external;

  function getLendingRateOracle() external view returns (address);

  function setLendingRateOracle(address lendingRateOracle) external;

  function getLiquidationFeeTo() external view returns (address);

  function setLiquidationFeeTo(address liquidationFeeTo) external;
}

File 6 of 6 : DataTypes.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.6;

library DataTypes {
  // refer to the whitepaper, section 1.1 basic concepts for a formal description of these properties.
  struct ReserveData {
    //stores the reserve configuration
    ReserveConfigurationMap configuration;
    //the liquidity index. Expressed in ray
    uint128 liquidityIndex;
    //variable borrow index. Expressed in ray
    uint128 variableBorrowIndex;
    //the current supply rate. Expressed in ray
    uint128 currentLiquidityRate;
    //the current variable borrow rate. Expressed in ray
    uint128 currentVariableBorrowRate;
    //the current stable borrow rate. Expressed in ray
    uint128 currentStableBorrowRate;
    uint40 lastUpdateTimestamp;
    //tokens addresses
    address aTokenAddress;
    address stableDebtTokenAddress;
    address variableDebtTokenAddress;
    //address of the interest rate strategy
    address interestRateStrategyAddress;
    //the id of the reserve. Represents the position in the list of the active reserves
    uint8 id;
  }

  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;
  }

  struct UserConfigurationMap {
    uint256 data;
  }

  enum InterestRateMode {NONE, STABLE, VARIABLE}
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"contract ILendingPool","name":"_lendingPool","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BORROW_RATIO_DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getConfiguration","outputs":[{"components":[{"internalType":"uint256","name":"data","type":"uint256"}],"internalType":"struct DataTypes.ReserveConfigurationMap","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getVDebtToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lendingPool","outputs":[{"internalType":"contract ILendingPool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"interestRateMode","type":"uint256"},{"internalType":"uint256","name":"borrowRatio","type":"uint256"},{"internalType":"uint256","name":"loopCount","type":"uint256"}],"name":"loop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"ltv","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051610a84380380610a8483398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610082565b600060208284031215610065578081fd5b81516001600160a01b038116811461007b578182fd5b9392505050565b6109f3806100916000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063667f3745146100675780637473eea6146100905780639c978eec146100b0578063a59a9973146100b8578063b5f29360146100c0578063c44b11f7146100d5575b600080fd5b61007a610075366004610711565b6100f5565b604051610087919061089b565b60405180910390f35b6100a361009e366004610711565b610185565b6040516100879190610957565b6100a3610212565b61007a610217565b6100d36100ce36600461072d565b610226565b005b6100e86100e3366004610711565b6104a5565b604051610087919061094d565b600080546040516335ea6a7560e01b815282916001600160a01b0316906335ea6a759061012690869060040161089b565b6101806040518083038186803b15801561013f57600080fd5b505afa158015610153573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017791906107ab565b61012001519150505b919050565b6000805460405163c44b11f760e01b815282916001600160a01b03169063c44b11f7906101b690869060040161089b565b60206040518083038186803b1580156101ce57600080fd5b505afa1580156101e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102069190610790565b5161ffff169392505050565b600481565b6000546001600160a01b031681565b6040516323b872dd60e01b81526000906001600160a01b038716906323b872dd9061025990339030908a906004016108af565b602060405180830381600087803b15801561027357600080fd5b505af1158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab9190610770565b5060005460405163095ea7b360e01b81526001600160a01b038881169263095ea7b3926102e29290911690600019906004016108d3565b602060405180830381600087803b1580156102fc57600080fd5b505af1158015610310573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103349190610770565b5060005460405163e8eda9df60e01b81526001600160a01b039091169063e8eda9df9061036b9089908990339087906004016108ec565b600060405180830381600087803b15801561038557600080fd5b505af1158015610399573d6000803e3d6000fd5b5050505060005b8281101561049c576103be6127106103b88887610533565b90610593565b60005460405163a415bcad60e01b81529197506001600160a01b03169063a415bcad906103f7908a908a908a9088903390600401610919565b600060405180830381600087803b15801561041157600080fd5b505af1158015610425573d6000803e3d6000fd5b505060005460405163e8eda9df60e01b81526001600160a01b03909116925063e8eda9df915061045f908a908a90339088906004016108ec565b600060405180830381600087803b15801561047957600080fd5b505af115801561048d573d6000803e3d6000fd5b505050506001810190506103a0565b50505050505050565b6104ad610672565b60005460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906104dd90859060040161089b565b60206040518083038186803b1580156104f557600080fd5b505afa158015610509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052d9190610790565b92915050565b6000826105425750600061052d565b8282028284828161054f57fe5b041461058c5760405162461bcd60e51b815260040180806020018281038252602181526020018061099d6021913960400191505060405180910390fd5b9392505050565b600061058c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506000818361065c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610621578181015183820152602001610609565b50505050905090810190601f16801561064e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161066857fe5b0495945050505050565b6040518060200160405280600081525090565b805161018081610984565b6000602082840312156106a1578081fd5b6040516020810181811067ffffffffffffffff821117156106be57fe5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff8116811461018057600080fd5b805164ffffffffff8116811461018057600080fd5b805160ff8116811461018057600080fd5b600060208284031215610722578081fd5b813561058c81610984565b600080600080600060a08688031215610744578081fd5b853561074f81610984565b97602087013597506040870135966060810135965060800135945092505050565b600060208284031215610781578081fd5b8151801515811461058c578182fd5b6000602082840312156107a1578081fd5b61058c8383610690565b60006101808083850312156107be578182fd5b6107c781610960565b90506107d38484610690565b81526107e1602084016106cb565b60208201526107f2604084016106cb565b6040820152610803606084016106cb565b6060820152610814608084016106cb565b608082015261082560a084016106cb565b60a082015261083660c084016106eb565b60c082015261084760e08401610685565b60e082015261010061085a818501610685565b9082015261012061086c848201610685565b9082015261014061087e848201610685565b90820152610160610890848201610700565b908201529392505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b03948516815260208101939093529216604082015261ffff909116606082015260800190565b6001600160a01b0395861681526020810194909452604084019290925261ffff166060830152909116608082015260a00190565b9051815260200190565b90815260200190565b60405181810167ffffffffffffffff8111828210171561097c57fe5b604052919050565b6001600160a01b038116811461099957600080fd5b5056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212204e07fc33e7f6107c6eb0f1613a5be2634046f46e2b69d8ecd6d35943c24ad3bf64736f6c634300070600330000000000000000000000002032b9a8e9f7e76768ca9271003d3e43e1616b1f

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000002032b9a8e9f7e76768ca9271003d3e43e1616b1f

-----Decoded View---------------
Arg [0] : _lendingPool (address): 0x2032b9a8e9f7e76768ca9271003d3e43e1616b1f

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002032b9a8e9f7e76768ca9271003d3e43e1616b1f


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.