ETH Price: $2,932.81 (+1.85%)

Contract

0x709bE039a87e5C6F1A085dE0d167fa0A4e7477FC

Overview

ETH Balance

Linea Mainnet LogoLinea Mainnet LogoLinea Mainnet Logo0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Initialize1650912023-08-10 7:43:08900 days ago1691653388IN
LayerBank V1: Rate Model Slope 2
0 ETH0.000172611.5

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
282797222026-01-25 2:04:0847 hrs ago1769306648
LayerBank V1: Rate Model Slope 2
0 ETH
282797222026-01-25 2:04:0847 hrs ago1769306648
LayerBank V1: Rate Model Slope 2
0 ETH
280641632026-01-19 19:48:407 days ago1768852120
LayerBank V1: Rate Model Slope 2
0 ETH
280641632026-01-19 19:48:407 days ago1768852120
LayerBank V1: Rate Model Slope 2
0 ETH
280199182026-01-18 19:05:188 days ago1768763118
LayerBank V1: Rate Model Slope 2
0 ETH
276215682026-01-09 12:20:1817 days ago1767961218
LayerBank V1: Rate Model Slope 2
0 ETH
276215602026-01-09 12:20:0217 days ago1767961202
LayerBank V1: Rate Model Slope 2
0 ETH
275296002026-01-07 8:57:3819 days ago1767776258
LayerBank V1: Rate Model Slope 2
0 ETH
275295762026-01-07 8:56:5019 days ago1767776210
LayerBank V1: Rate Model Slope 2
0 ETH
275295732026-01-07 8:56:4419 days ago1767776204
LayerBank V1: Rate Model Slope 2
0 ETH
275295652026-01-07 8:56:2819 days ago1767776188
LayerBank V1: Rate Model Slope 2
0 ETH
275295582026-01-07 8:56:1419 days ago1767776174
LayerBank V1: Rate Model Slope 2
0 ETH
275295582026-01-07 8:56:1419 days ago1767776174
LayerBank V1: Rate Model Slope 2
0 ETH
275295582026-01-07 8:56:1419 days ago1767776174
LayerBank V1: Rate Model Slope 2
0 ETH
275294822026-01-07 8:53:4219 days ago1767776022
LayerBank V1: Rate Model Slope 2
0 ETH
275287642026-01-07 8:29:4219 days ago1767774582
LayerBank V1: Rate Model Slope 2
0 ETH
275287642026-01-07 8:29:4219 days ago1767774582
LayerBank V1: Rate Model Slope 2
0 ETH
275287642026-01-07 8:29:4219 days ago1767774582
LayerBank V1: Rate Model Slope 2
0 ETH
275287642026-01-07 8:29:4219 days ago1767774582
LayerBank V1: Rate Model Slope 2
0 ETH
275287612026-01-07 8:29:3619 days ago1767774576
LayerBank V1: Rate Model Slope 2
0 ETH
275287592026-01-07 8:29:3219 days ago1767774572
LayerBank V1: Rate Model Slope 2
0 ETH
275287592026-01-07 8:29:3219 days ago1767774572
LayerBank V1: Rate Model Slope 2
0 ETH
275287592026-01-07 8:29:3219 days ago1767774572
LayerBank V1: Rate Model Slope 2
0 ETH
275287592026-01-07 8:29:3219 days ago1767774572
LayerBank V1: Rate Model Slope 2
0 ETH
274085752026-01-04 9:52:1822 days ago1767520338
LayerBank V1: Rate Model Slope 2
0 ETH
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xC690549E...Ba638Cad2
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
RateModelSlope

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at lineascan.build/ on 2023-07-19
*/

// Sources flattened with hardhat v2.11.1 https://hardhat.org

// File contracts/interfaces/IRateModel.sol

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.12;

interface IRateModel {
  function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) external view returns (uint256);

  function getSupplyRate(
    uint256 cash,
    uint256 borrows,
    uint256 reserves,
    uint256 reserveFactor
  ) external view returns (uint256);
}


// File @openzeppelin/contracts/math/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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 @openzeppelin/contracts/math/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}


// File @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/*
 * @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;
    }
}


// File @openzeppelin/contracts/access/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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.
 */
abstract 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 virtual 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 contracts/markets/interest/RateModelSlope.sol

pragma solidity ^0.6.12;




/// @dev https://bscscan.com/address/0x9535c1f26df97451671913f7aeda646c0f1eda85#readProxyContract
contract RateModelSlope is IRateModel, Ownable {
  using SafeMath for uint256;

  uint256 private baseRatePerYear;
  uint256 private slopePerYearFirst;
  uint256 private slopePerYearSecond;
  uint256 private optimal;

  // initializer
  bool public initialized;

  constructor() public {}

  /// @notice Contract 초기화 변수 설정
  /// @param _baseRatePerYear 기본 이자율
  /// @param _slopePerYearFirst optimal 이전 이자 계수
  /// @param _slopePerYearSecond optimal 초과 이자 계수
  /// @param _optimal double-slope optimal
  function initialize(
    uint256 _baseRatePerYear,
    uint256 _slopePerYearFirst,
    uint256 _slopePerYearSecond,
    uint256 _optimal
  ) external onlyOwner {
    require(initialized == false, "already initialized");
    baseRatePerYear = _baseRatePerYear;
    slopePerYearFirst = _slopePerYearFirst;
    slopePerYearSecond = _slopePerYearSecond;
    optimal = _optimal;

    initialized = true;
  }

  /// @notice Utilization rate 조회
  /// @dev Utilization rate = Borrows / (Supplies - Reserves)
  ///      Supplies = Cash + Borrows
  /// @param cash Underlying token amount in gToken contract
  /// @param borrows borrow amount
  /// @param reserves reserve amount
  function utilizationRate(uint256 cash, uint256 borrows, uint256 reserves) public pure returns (uint256) {
    if (reserves >= cash.add(borrows)) return 0;
    return Math.min(borrows.mul(1e18).div(cash.add(borrows).sub(reserves)), 1e18);
  }

  /// @notice Interest rate (Borrow rate) 조회
  /// @param cash Underlying token amount in gToken contract
  /// @param borrows borrow amount
  /// @param reserves reserve amount
  function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) public view override returns (uint256) {
    uint256 utilization = utilizationRate(cash, borrows, reserves);
    if (optimal > 0 && utilization < optimal) {
      return baseRatePerYear.add(utilization.mul(slopePerYearFirst).div(optimal)).div(365 days);
    } else {
      uint256 ratio = utilization.sub(optimal).mul(1e18).div(uint256(1e18).sub(optimal));
      return baseRatePerYear.add(slopePerYearFirst).add(ratio.mul(slopePerYearSecond).div(1e18)).div(365 days);
    }
  }

  /// @notice Interest rate (Borrow rate) 조회
  /// @param cash Underlying token amount in gToken contract
  /// @param borrows borrow amount
  /// @param reserves reserve amount
  function getSupplyRate(
    uint256 cash,
    uint256 borrows,
    uint256 reserves,
    uint256 reserveFactor
  ) public view override returns (uint256) {
    uint256 oneMinusReserveFactor = uint256(1e18).sub(reserveFactor);
    uint256 borrowRate = getBorrowRate(cash, borrows, reserves);
    uint256 rateToPool = borrowRate.mul(oneMinusReserveFactor).div(1e18);
    return utilizationRate(cash, borrows, reserves).mul(rateToPool).div(1e18);
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"uint256","name":"cash","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"},{"internalType":"uint256","name":"reserves","type":"uint256"}],"name":"getBorrowRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"cash","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"},{"internalType":"uint256","name":"reserves","type":"uint256"},{"internalType":"uint256","name":"reserveFactor","type":"uint256"}],"name":"getSupplyRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_baseRatePerYear","type":"uint256"},{"internalType":"uint256","name":"_slopePerYearFirst","type":"uint256"},{"internalType":"uint256","name":"_slopePerYearSecond","type":"uint256"},{"internalType":"uint256","name":"_optimal","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cash","type":"uint256"},{"internalType":"uint256","name":"borrows","type":"uint256"},{"internalType":"uint256","name":"reserves","type":"uint256"}],"name":"utilizationRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"}]

0x608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6108628061007d6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063715018a61161005b578063715018a61461013e5780638da5cb5b14610146578063b81688161461016a578063f2fde38b1461019957610088565b8063158ef93e1461008d57806315f24053146100a957806360a2da44146100e45780636e71e2d814610115575b600080fd5b6100956101bf565b604080519115158252519081900360200190f35b6100d2600480360360608110156100bf57600080fd5b50803590602081013590604001356101c8565b60408051918252519081900360200190f35b610113600480360360808110156100fa57600080fd5b50803590602081013590604081013590606001356102c5565b005b6100d26004803603606081101561012b57600080fd5b50803590602081013590604001356103a7565b610113610403565b61014e6104c1565b604080516001600160a01b039092168252519081900360200190f35b6100d26004803603608081101561018057600080fd5b50803590602081013590604081013590606001356104d0565b610113600480360360208110156101af57600080fd5b50356001600160a01b0316610537565b60055460ff1681565b6000806101d68585856103a7565b905060006004541180156101eb575060045481105b1561022d576102256301e1338061021661021c6004546102166002548761064b90919063ffffffff16565b906106ad565b60015490610714565b9150506102be565b600061027661024f600454670de0b6b3a764000061076e90919063ffffffff16565b610216670de0b6b3a76400006102706004548761076e90919063ffffffff16565b9061064b565b90506102b96301e133806102166102a4670de0b6b3a76400006102166003548761064b90919063ffffffff16565b6002546001546102b391610714565b90610714565b925050505b9392505050565b6102cd6107cb565b6001600160a01b03166102de6104c1565b6001600160a01b031614610339576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460ff1615610387576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b60019384556002929092556003556004556005805460ff19169091179055565b60006103b38484610714565b82106103c1575060006102be565b6103fb6103ed6103db846103d58888610714565b9061076e565b61021686670de0b6b3a764000061064b565b670de0b6b3a76400006107cf565b949350505050565b61040b6107cb565b6001600160a01b031661041c6104c1565b6001600160a01b031614610477576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000806104e5670de0b6b3a76400008461076e565b905060006104f48787876101c8565b9050600061050e670de0b6b3a7640000610216848661064b565b905061052b670de0b6b3a7640000610216836102708c8c8c6103a7565b98975050505050505050565b61053f6107cb565b6001600160a01b03166105506104c1565b6001600160a01b0316146105ab576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166105f05760405162461bcd60e51b81526004018080602001828103825260268152602001806107e66026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008261065a575060006106a7565b8282028284828161066757fe5b04146106a45760405162461bcd60e51b815260040180806020018281038252602181526020018061080c6021913960400191505060405180910390fd5b90505b92915050565b6000808211610703576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161070c57fe5b049392505050565b6000828201838110156106a4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000828211156107c5576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3390565b60008183106107de57816106a4565b509091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122091c8c21e8248d43d8e40acb589dbdf0113b35d7ec16da33aea905026b26b13aa64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063715018a61161005b578063715018a61461013e5780638da5cb5b14610146578063b81688161461016a578063f2fde38b1461019957610088565b8063158ef93e1461008d57806315f24053146100a957806360a2da44146100e45780636e71e2d814610115575b600080fd5b6100956101bf565b604080519115158252519081900360200190f35b6100d2600480360360608110156100bf57600080fd5b50803590602081013590604001356101c8565b60408051918252519081900360200190f35b610113600480360360808110156100fa57600080fd5b50803590602081013590604081013590606001356102c5565b005b6100d26004803603606081101561012b57600080fd5b50803590602081013590604001356103a7565b610113610403565b61014e6104c1565b604080516001600160a01b039092168252519081900360200190f35b6100d26004803603608081101561018057600080fd5b50803590602081013590604081013590606001356104d0565b610113600480360360208110156101af57600080fd5b50356001600160a01b0316610537565b60055460ff1681565b6000806101d68585856103a7565b905060006004541180156101eb575060045481105b1561022d576102256301e1338061021661021c6004546102166002548761064b90919063ffffffff16565b906106ad565b60015490610714565b9150506102be565b600061027661024f600454670de0b6b3a764000061076e90919063ffffffff16565b610216670de0b6b3a76400006102706004548761076e90919063ffffffff16565b9061064b565b90506102b96301e133806102166102a4670de0b6b3a76400006102166003548761064b90919063ffffffff16565b6002546001546102b391610714565b90610714565b925050505b9392505050565b6102cd6107cb565b6001600160a01b03166102de6104c1565b6001600160a01b031614610339576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460ff1615610387576040805162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b60019384556002929092556003556004556005805460ff19169091179055565b60006103b38484610714565b82106103c1575060006102be565b6103fb6103ed6103db846103d58888610714565b9061076e565b61021686670de0b6b3a764000061064b565b670de0b6b3a76400006107cf565b949350505050565b61040b6107cb565b6001600160a01b031661041c6104c1565b6001600160a01b031614610477576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000806104e5670de0b6b3a76400008461076e565b905060006104f48787876101c8565b9050600061050e670de0b6b3a7640000610216848661064b565b905061052b670de0b6b3a7640000610216836102708c8c8c6103a7565b98975050505050505050565b61053f6107cb565b6001600160a01b03166105506104c1565b6001600160a01b0316146105ab576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166105f05760405162461bcd60e51b81526004018080602001828103825260268152602001806107e66026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008261065a575060006106a7565b8282028284828161066757fe5b04146106a45760405162461bcd60e51b815260040180806020018281038252602181526020018061080c6021913960400191505060405180910390fd5b90505b92915050565b6000808211610703576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161070c57fe5b049392505050565b6000828201838110156106a4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000828211156107c5576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b3390565b60008183106107de57816106a4565b509091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122091c8c21e8248d43d8e40acb589dbdf0113b35d7ec16da33aea905026b26b13aa64736f6c634300060c0033

Deployed Bytecode Sourcemap

12314:2913:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12560:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;14017:558;;;;;;;;;;;;;;;;-1:-1:-1;14017:558:0;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;12884:415;;;;;;;;;;;;;;;;-1:-1:-1;12884:415:0;;;;;;;;;;;;;;;;;:::i;:::-;;13581:244;;;;;;;;;;;;;;;;-1:-1:-1;13581:244:0;;;;;;;;;;;;:::i;11568:148::-;;;:::i;10917:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;10917:87:0;;;;;;;;;;;;;;14767:457;;;;;;;;;;;;;;;;-1:-1:-1;14767:457:0;;;;;;;;;;;;;;;;;:::i;11871:244::-;;;;;;;;;;;;;;;;-1:-1:-1;11871:244:0;-1:-1:-1;;;;;11871:244:0;;:::i;12560:23::-;;;;;;:::o;14017:558::-;14119:7;14135:19;14157:40;14173:4;14179:7;14188:8;14157:15;:40::i;:::-;14135:62;;14218:1;14208:7;;:11;:36;;;;;14237:7;;14223:11;:21;14208:36;14204:366;;;14262:82;14335:8;14262:68;14282:47;14321:7;;14282:34;14298:17;;14282:11;:15;;:34;;;;:::i;:::-;:38;;:47::i;:::-;14262:15;;;:19;:68::i;:82::-;14255:89;;;;;14204:366;14367:13;14383:66;14422:26;14440:7;;14430:4;14422:17;;:26;;;;:::i;:::-;14383:34;14412:4;14383:24;14399:7;;14383:11;:15;;:24;;;;:::i;:::-;:28;;:34::i;:66::-;14367:82;;14465:97;14553:8;14465:83;14508:39;14542:4;14508:29;14518:18;;14508:5;:9;;:29;;;;:::i;:39::-;14485:17;;14465:15;;:38;;:19;:38::i;:::-;:42;;:83::i;:97::-;14458:104;;;;14017:558;;;;;;:::o;12884:415::-;11148:12;:10;:12::i;:::-;-1:-1:-1;;;;;11137:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;11137:23:0;;11129:68;;;;;-1:-1:-1;;;11129:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13064:11:::1;::::0;::::1;;:20;13056:52;;;::::0;;-1:-1:-1;;;13056:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13056:52:0;;;;;;;;;;;;;::::1;;13115:15;:34:::0;;;13156:17:::1;:38:::0;;;;13201:18:::1;:40:::0;13248:7:::1;:18:::0;13275:11:::1;:18:::0;;-1:-1:-1;;13275:18:0::1;::::0;;::::1;::::0;;12884:415::o;13581:244::-;13676:7;13708:17;:4;13717:7;13708:8;:17::i;:::-;13696:8;:29;13692:43;;-1:-1:-1;13734:1:0;13727:8;;13692:43;13749:70;13758:54;13780:31;13802:8;13780:17;:4;13789:7;13780:8;:17::i;:::-;:21;;:31::i;:::-;13758:17;:7;13770:4;13758:11;:17::i;:54::-;13814:4;13749:8;:70::i;:::-;13742:77;13581:244;-1:-1:-1;;;;13581:244:0:o;11568:148::-;11148:12;:10;:12::i;:::-;-1:-1:-1;;;;;11137:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;11137:23:0;;11129:68;;;;;-1:-1:-1;;;11129:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11675:1:::1;11659:6:::0;;11638:40:::1;::::0;-1:-1:-1;;;;;11659:6:0;;::::1;::::0;11638:40:::1;::::0;11675:1;;11638:40:::1;11706:1;11689:19:::0;;-1:-1:-1;;;;;;11689:19:0::1;::::0;;11568:148::o;10917:87::-;10963:7;10990:6;-1:-1:-1;;;;;10990:6:0;10917:87;:::o;14767:457::-;14917:7;;14965:32;14973:4;14983:13;14965:17;:32::i;:::-;14933:64;;15004:18;15025:38;15039:4;15045:7;15054:8;15025:13;:38::i;:::-;15004:59;-1:-1:-1;15070:18:0;15091:47;15133:4;15091:37;15004:59;15106:21;15091:14;:37::i;:47::-;15070:68;;15152:66;15213:4;15152:56;15197:10;15152:40;15168:4;15174:7;15183:8;15152:15;:40::i;:66::-;15145:73;14767:457;-1:-1:-1;;;;;;;;14767:457:0:o;11871:244::-;11148:12;:10;:12::i;:::-;-1:-1:-1;;;;;11137:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;11137:23:0;;11129:68;;;;;-1:-1:-1;;;11129:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11960:22:0;::::1;11952:73;;;;-1:-1:-1::0;;;11952:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12062:6;::::0;;12041:38:::1;::::0;-1:-1:-1;;;;;12041:38:0;;::::1;::::0;12062:6;::::1;::::0;12041:38:::1;::::0;::::1;12090:6;:17:::0;;-1:-1:-1;;;;;;12090:17:0::1;-1:-1:-1::0;;;;;12090:17:0;;;::::1;::::0;;;::::1;::::0;;11871:244::o;4155:220::-;4213:7;4237:6;4233:20;;-1:-1:-1;4252:1:0;4245:8;;4233:20;4276:5;;;4280:1;4276;:5;:1;4300:5;;;;;:10;4292:56;;;;-1:-1:-1;;;4292:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4366:1;-1:-1:-1;4155:220:0;;;;;:::o;4853:153::-;4911:7;4943:1;4939;:5;4931:44;;;;;-1:-1:-1;;;4931:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4997:1;4993;:5;;;;;;;4853:153;-1:-1:-1;;;4853:153:0:o;3276:179::-;3334:7;3366:5;;;3390:6;;;;3382:46;;;;;-1:-1:-1;;;3382:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3738:158;3796:7;3829:1;3824;:6;;3816:49;;;;;-1:-1:-1;;;3816:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3883:5:0;;;3738:158::o;9448:106::-;9536:10;9448:106;:::o;8383:::-;8441:7;8472:1;8468;:5;:13;;8480:1;8468:13;;;-1:-1:-1;8476:1:0;;8461:20;-1:-1:-1;8383:106:0:o

Swarm Source

ipfs://91c8c21e8248d43d8e40acb589dbdf0113b35d7ec16da33aea905026b26b13aa

Block Transaction Gas Used Reward
view all blocks sequenced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.