Contract 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e33

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1ae4e9b97e05a85e45740f549abd322d4f17b4f63753862fb4a4c5c715ec9687Transfer Ownersh...67288312021-03-02 4:27:20208 days 13 mins ago0x4d9f1ee6359149902a8ae58d46f0cb7986037a94 IN  0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB0.00061634
0xec7470292b13ee131294f3fd21281ab87a8b2b90462d404dbd3e64a53c12c8eb0x6080604067288252021-03-02 4:27:02208 days 13 mins ago0x4d9f1ee6359149902a8ae58d46f0cb7986037a94 IN  Contract Creation0 BNB0.00687692
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x82e474402193f9bdf1cf27528cfba7acfc700a9677151266baec7ce92d8e5f04108702952021-07-24 11:53:4563 days 16 hrs ago 0xc7eb42dcf06551f8c7de6b1a97d4eb84d381bf22 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x3b9aee3e9aa411b0cea49b2f20d25c668e1cc84f721d7b89724ca08524a418ac108213222021-07-22 18:47:3265 days 9 hrs ago 0x14bbb7b496aed8297078a6bd9989123931019386 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xd720c242792fba0d23e34e6dc3c4bab399b11f1226d30452d2bb9adac5ca1e5b108213142021-07-22 18:47:0865 days 9 hrs ago 0x14bbb7b496aed8297078a6bd9989123931019386 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xed0ad72362b8e5d8f1681a8954c0225294de34d0d5888777cfead39c8fa0f50584251552021-04-30 6:54:18148 days 21 hrs ago 0xc7eb42dcf06551f8c7de6b1a97d4eb84d381bf22 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x5b01eb40ff7d4f9cb06b4de9817a1e3ae560bf4b7307dce33701dbe0188c7ebf84251552021-04-30 6:54:18148 days 21 hrs ago 0xc7eb42dcf06551f8c7de6b1a97d4eb84d381bf22 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x059eb712a7e64b17af5069a7dac390bbf1ae61a08a70d0a0a7e976c4fd78ac6e84251552021-04-30 6:54:18148 days 21 hrs ago 0xfa5b1e632c20a42b01e14d89c9fce09ccbbf147c 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xb7f28af83a122116e7df191e073ddf6362cb1eb5519bf16ec7ace26ed65b640c84251552021-04-30 6:54:18148 days 21 hrs ago 0x9cfdc2a2af5dc2d84014937709ca5903a36ed204 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xa7a51570dc732e0c5d94270eff3077a09c4a3f0560814e42a7badef43eafb30b84251552021-04-30 6:54:18148 days 21 hrs ago 0xb3522c03c03fb70f3992fe589f39f16cf924b687 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xccb6ed2b12ba07eb65b48af28510ecb8dbf3aeda8b5efd76fd8f18e19380588384251552021-04-30 6:54:18148 days 21 hrs ago 0xf4f4fbdb48598cc7a8d793cc0e32937ce91c8de2 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x1614f213d325dc837af2c4a3a2d8d85474683ef58ebc16d2098a88d4f0a4a1db84251552021-04-30 6:54:18148 days 21 hrs ago 0xc2ed1ba2f115998688b2586ac8c729510be82939 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xc50a561c6d2d0e995bb585742546dbc2e518ad856691264c19088c8ab84697da84251552021-04-30 6:54:18148 days 21 hrs ago 0x14bbb7b496aed8297078a6bd9989123931019386 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x9a353cf3c6d86ff4119fb06205397f30b8481715ae670be63bf5b4dd2386674e83696042021-04-28 8:36:43150 days 20 hrs ago 0xfa5b1e632c20a42b01e14d89c9fce09ccbbf147c 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x92b9172f663be882fa309ad013bde9a5db712c47da2606952c22f98f0b8f2fc283695732021-04-28 8:35:10150 days 20 hrs ago 0x17f228ed9fb6dabd6a96d6a85b910866a82b6f3c 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xad928f5dd105351dd56bb15ffdcc68fe012815c75feaa1ae064ba795f9f007d983695362021-04-28 8:33:19150 days 20 hrs ago 0x2691392a151e929ae236c36bb3643c37cd71ce4c 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x1451224258a340d7deb725fae257f152b14d0e5022c8cec4ae538efe1ecadd3083682732021-04-28 7:30:10150 days 21 hrs ago 0xf4f4fbdb48598cc7a8d793cc0e32937ce91c8de2 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x00d6436046685324a50226898955228e5813679f1ac2cbf82f6789c023bcca8b82549782021-04-24 9:05:07154 days 19 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xb1f084c4303eca4daac3e08b9177079db77d115321477928f0a49d8fccfa0cbb82549322021-04-24 9:02:49154 days 19 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x801e9bce4c55afe9bc7e9f1cf75875f0e3fee7427660eebc146a8dc42352434b82549202021-04-24 9:02:13154 days 19 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x7f5abccd0568b0f14be704306f4dd92c6dde210cb559471e554258cebeb3327082548392021-04-24 8:58:10154 days 19 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x9c46cb9a41cfa15242704cc18fbbccba28aef5da7338a25b244b23d74464933d82548212021-04-24 8:57:16154 days 19 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x85f1f413268420918bd0750dcc76601dfe42c6b68db58565bb16160bd00b1bb682294912021-04-23 11:50:46155 days 16 hrs ago 0xf4f4fbdb48598cc7a8d793cc0e32937ce91c8de2 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x514f95a5efef51aab4b66828e67f4d55583d1eebb67b216562057c56b49969ef82293372021-04-23 11:43:04155 days 16 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0x244a493d0680c3fa246d029fa6d95edadb27e0c44fb57799bb7b7bc91edd5e8a82293342021-04-23 11:42:55155 days 16 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xd5310c979a87d2f61a25ef9ff52418c8e48a53aff51720832186eb692c1468ce82265802021-04-23 9:25:13155 days 19 hrs ago 0x2aaf4dfb2c359a0d6d6eabe513db4a7a58da051d 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
0xc70035ec0f71aba9feca2f0a3a54a82d1c121f007e29e9165198c958301114a781060912021-04-19 5:00:46159 days 23 hrs ago 0x9cfdc2a2af5dc2d84014937709ca5903a36ed204 0x34cdf7f37e68edec2db0075dd68ba9171e5e4e330 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xBd1aC938812883C632f9BAFD7a8a99Cd5b637B72

Contract Name:
LendingRateOracle

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : LendingRateOracle.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.6.12;

import {ILendingRateOracle} from '../../interfaces/ILendingRateOracle.sol';
import {Ownable} from '../../dependencies/openzeppelin/contracts/Ownable.sol';

contract LendingRateOracle is ILendingRateOracle, Ownable {
  mapping(address => uint256) borrowRates;
  mapping(address => uint256) liquidityRates;

  function getMarketBorrowRate(address _asset) external view override returns (uint256) {
    return borrowRates[_asset];
  }

  function setMarketBorrowRate(address _asset, uint256 _rate) external override onlyOwner {
    borrowRates[_asset] = _rate;
  }

  function getMarketLiquidityRate(address _asset) external view returns (uint256) {
    return liquidityRates[_asset];
  }

  function setMarketLiquidityRate(address _asset, uint256 _rate) external onlyOwner {
    liquidityRates[_asset] = _rate;
  }
}

File 2 of 4 : ILendingRateOracle.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.6.12;

/**
 * @title ILendingRateOracle interface
 * @notice Interface for the Aave borrow rate oracle. Provides the average market borrow rate to be used as a base for the stable borrow rate calculations
 **/

interface ILendingRateOracle {
  /**
    @dev returns the market borrow rate in ray
    **/
  function getMarketBorrowRate(address asset) external view returns (uint256);

  /**
    @dev sets the market borrow rate. Rate value must be in ray
    **/
  function setMarketBorrowRate(address asset, uint256 rate) external;
}

File 3 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import './Context.sol';

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
  address private _owner;

  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

  /**
   * @dev Initializes the contract setting the deployer as the initial owner.
   */
  constructor() internal {
    address msgSender = _msgSender();
    _owner = msgSender;
    emit OwnershipTransferred(address(0), msgSender);
  }

  /**
   * @dev Returns the address of the current owner.
   */
  function owner() public view returns (address) {
    return _owner;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(_owner == _msgSender(), 'Ownable: caller is not the owner');
    _;
  }

  /**
   * @dev Leaves the contract without owner. It will not be possible to call
   * `onlyOwner` functions anymore. Can only be called by the current owner.
   *
   * NOTE: Renouncing ownership will leave the contract without an owner,
   * thereby removing any functionality that is only available to the owner.
   */
  function renounceOwnership() public virtual onlyOwner {
    emit OwnershipTransferred(_owner, address(0));
    _owner = address(0);
  }

  /**
   * @dev Transfers ownership of the contract to a new account (`newOwner`).
   * Can only be called by the current owner.
   */
  function transferOwnership(address newOwner) public virtual onlyOwner {
    require(newOwner != address(0), 'Ownable: new owner is the zero address');
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
  function _msgSender() internal view virtual returns (address payable) {
    return msg.sender;
  }

  function _msgData() internal view virtual returns (bytes memory) {
    this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
    return msg.data;
  }
}

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

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_asset","type":"address"}],"name":"getMarketBorrowRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_asset","type":"address"}],"name":"getMarketLiquidityRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_asset","type":"address"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setMarketBorrowRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_asset","type":"address"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setMarketLiquidityRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6104d38061007d6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80639f86a0ee1161005b5780639f86a0ee146100dc578063bb85c0bb14610108578063f2fde38b14610140578063fbe5ba1e146101665761007d565b8063715018a61461008257806372eb293d1461008c5780638da5cb5b146100b8575b600080fd5b61008a61018c565b005b61008a600480360360408110156100a257600080fd5b506001600160a01b03813516906020013561022e565b6100c06102a2565b604080516001600160a01b039092168252519081900360200190f35b61008a600480360360408110156100f257600080fd5b506001600160a01b0381351690602001356102b1565b61012e6004803603602081101561011e57600080fd5b50356001600160a01b0316610325565b60408051918252519081900360200190f35b61008a6004803603602081101561015657600080fd5b50356001600160a01b0316610340565b61012e6004803603602081101561017c57600080fd5b50356001600160a01b0316610438565b610194610453565b6000546001600160a01b039081169116146101e4576040805162461bcd60e51b8152602060048201819052602482015260008051602061047e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610236610453565b6000546001600160a01b03908116911614610286576040805162461bcd60e51b8152602060048201819052602482015260008051602061047e833981519152604482015290519081900360640190fd5b6001600160a01b03909116600090815260016020526040902055565b6000546001600160a01b031690565b6102b9610453565b6000546001600160a01b03908116911614610309576040805162461bcd60e51b8152602060048201819052602482015260008051602061047e833981519152604482015290519081900360640190fd5b6001600160a01b03909116600090815260026020526040902055565b6001600160a01b031660009081526001602052604090205490565b610348610453565b6000546001600160a01b03908116911614610398576040805162461bcd60e51b8152602060048201819052602482015260008051602061047e833981519152604482015290519081900360640190fd5b6001600160a01b0381166103dd5760405162461bcd60e51b81526004018080602001828103825260268152602001806104586026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526002602052604090205490565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212201d7f473788a285376533f5b96c895378fdff2a709aa8154545daaf976c8f1f9f64736f6c634300060c0033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading