ETH Price: $2,031.54 (-0.13%)
Gas: 0.12 Gwei

Contract

0xABCb303C32ceFCC5cFf1bb7F17aEBD1993B3AbD4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Allocations105888142020-08-03 19:52:112044 days ago1596484331IN
0xABCb303C...993B3AbD4
0 ETH0.0020119949.35
Set Allocations105885502020-08-03 18:51:372045 days ago1596480697IN
0xABCb303C...993B3AbD4
0 ETH0.002054850.4
Set Allocations105882712020-08-03 17:52:072045 days ago1596477127IN
0xABCb303C...993B3AbD4
0 ETH0.0031214291.35
Set Allocations105772022020-08-02 0:45:112046 days ago1596329111IN
0xABCb303C...993B3AbD4
0 ETH0.0026956442
Set Allocations105753332020-08-01 17:44:492047 days ago1596303889IN
0xABCb303C...993B3AbD4
0 ETH0.0021404252.5
Set Allocations105742852020-08-01 13:57:422047 days ago1596290262IN
0xABCb303C...993B3AbD4
0 ETH0.0020119949.35
Set Allocations105612272020-07-30 13:34:312049 days ago1596116071IN
0xABCb303C...993B3AbD4
0 ETH0.0027397467.2
Set Allocations105609392020-07-30 12:33:512049 days ago1596112431IN
0xABCb303C...993B3AbD4
0 ETH0.0029537872.45
Set Allocations105606962020-07-30 11:35:082049 days ago1596108908IN
0xABCb303C...993B3AbD4
0 ETH0.0026969366.15
Set Allocations105604232020-07-30 10:32:352049 days ago1596105155IN
0xABCb303C...993B3AbD4
0 ETH0.0031678277.7
Set Allocations105601602020-07-30 9:32:032049 days ago1596101523IN
0xABCb303C...993B3AbD4
0 ETH0.0032106378.75
Set Allocations105599422020-07-30 8:32:282049 days ago1596097948IN
0xABCb303C...993B3AbD4
0 ETH0.0029965973.5
Set Allocations105596672020-07-30 7:33:282049 days ago1596094408IN
0xABCb303C...993B3AbD4
0 ETH0.0032534479.8
Set Allocations105594392020-07-30 6:48:382049 days ago1596091718IN
0xABCb303C...993B3AbD4
0 ETH0.0028253669.3
Set Allocations105591272020-07-30 5:31:372049 days ago1596087097IN
0xABCb303C...993B3AbD4
0 ETH0.0021885864.05
Set Allocations105580452020-07-30 1:31:302049 days ago1596072690IN
0xABCb303C...993B3AbD4
0 ETH0.0017128442
Set Allocations105577482020-07-30 0:30:592049 days ago1596069059IN
0xABCb303C...993B3AbD4
0 ETH0.0019697748.3
Set Allocations105558762020-07-29 17:29:212050 days ago1596043761IN
0xABCb303C...993B3AbD4
0 ETH0.0035113386.1
Set Allocations105550592020-07-29 14:29:022050 days ago1596032942IN
0xABCb303C...993B3AbD4
0 ETH0.0060651994.5
Set Allocations105438792020-07-27 21:20:302051 days ago1595884830IN
0xABCb303C...993B3AbD4
0 ETH0.0021832353.55
Set Allocations105436172020-07-27 20:20:142051 days ago1595881214IN
0xABCb303C...993B3AbD4
0 ETH0.0025685163
Set Allocations105433612020-07-27 19:22:242052 days ago1595877744IN
0xABCb303C...993B3AbD4
0 ETH0.0029420386.1
Set Allocations105415402020-07-27 12:20:542052 days ago1595852454IN
0xABCb303C...993B3AbD4
0 ETH0.0037254391.35
Set Allocations105412612020-07-27 11:19:392052 days ago1595848779IN
0xABCb303C...993B3AbD4
0 ETH0.003468585.05
Set Allocations105409922020-07-27 10:19:232052 days ago1595845163IN
0xABCb303C...993B3AbD4
0 ETH0.0031259476.65
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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

Contract Name:
IdleRebalancerV3

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 45000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-05-16
*/

pragma solidity 0.5.16;


interface IIdleRebalancerV3 {
  function getAllocations() external view returns (uint256[] memory _allocations);
}

contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

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 {
        _owner = _msgSender();
        emit OwnershipTransferred(address(0), _owner);
    }

    /**
     * @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(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

contract IdleRebalancerV3 is IIdleRebalancerV3, Ownable {
  using SafeMath for uint256;
  uint256[] public lastAmounts;
  address[] public lastAmountsAddresses;
  address public rebalancerManager;
  address public idleToken;

  /**
   * @param _cToken : cToken address
   * @param _iToken : iToken address
   * @param _aToken : aToken address
   * @param _yxToken : yxToken address
   * @param _rebalancerManager : rebalancerManager address
   */
  constructor(address _cToken, address _iToken, address _aToken, address _yxToken, address _rebalancerManager) public {
    require(_cToken != address(0) && _iToken != address(0) && _aToken != address(0) && _yxToken != address(0) && _rebalancerManager != address(0), 'some addr is 0');
    rebalancerManager = _rebalancerManager;

    // Initially 100% on first lending protocol
    lastAmounts = [100000, 0, 0, 0];
    lastAmountsAddresses = [_cToken, _iToken, _aToken, _yxToken];
  }

  /**
   * Throws if called by any account other than rebalancerManager.
   */
  modifier onlyRebalancerAndIdle() {
    require(msg.sender == rebalancerManager || msg.sender == idleToken, "Only rebalacer and IdleToken");
    _;
  }

  /**
   * It allows owner to set the allowed rebalancer address
   *
   * @param _rebalancerManager : rebalance manager address
   */
  function setRebalancerManager(address _rebalancerManager)
    external onlyOwner {
      require(_rebalancerManager != address(0), "_rebalancerManager addr is 0");

      rebalancerManager = _rebalancerManager;
  }

  function setIdleToken(address _idleToken)
    external onlyOwner {
      require(idleToken == address(0), "idleToken addr already set");
      require(_idleToken != address(0), "_idleToken addr is 0");
      idleToken = _idleToken;
  }

  /**
   * It adds a new token address to lastAmountsAddresses list
   *
   * @param _newToken : new interest bearing token address
   */
  function setNewToken(address _newToken)
    external onlyOwner {
      require(_newToken != address(0), "New token should be != 0");
      for (uint256 i = 0; i < lastAmountsAddresses.length; i++) {
        if (lastAmountsAddresses[i] == _newToken) {
          return;
        }
      }

      lastAmountsAddresses.push(_newToken);
      lastAmounts.push(0);
  }
  // end onlyOwner

  /**
   * Used by Rebalance manager to set the new allocations
   *
   * @param _allocations : array with allocations in percentages (100% => 100000)
   * @param _addresses : array with addresses of tokens used, should be equal to lastAmountsAddresses
   */
  function setAllocations(uint256[] calldata _allocations, address[] calldata _addresses)
    external onlyRebalancerAndIdle
  {
    require(_allocations.length == lastAmounts.length, "Alloc lengths are different, allocations");
    require(_allocations.length == _addresses.length, "Alloc lengths are different, addresses");

    uint256 total;
    for (uint256 i = 0; i < _allocations.length; i++) {
      require(_addresses[i] == lastAmountsAddresses[i], "Addresses do not match");
      total = total.add(_allocations[i]);
      lastAmounts[i] = _allocations[i];
    }
    require(total == 100000, "Not allocating 100%");
  }

  function getAllocations()
    external view returns (uint256[] memory _allocations) {
    return lastAmounts;
  }

  function getAllocationsLength()
    external view returns (uint256) {
    return lastAmounts.length;
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_cToken","type":"address"},{"internalType":"address","name":"_iToken","type":"address"},{"internalType":"address","name":"_aToken","type":"address"},{"internalType":"address","name":"_yxToken","type":"address"},{"internalType":"address","name":"_rebalancerManager","type":"address"}],"payable":false,"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"},{"constant":true,"inputs":[],"name":"getAllocations","outputs":[{"internalType":"uint256[]","name":"_allocations","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getAllocationsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"idleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastAmountsAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rebalancerManager","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256[]","name":"_allocations","type":"uint256[]"},{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setAllocations","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_idleToken","type":"address"}],"name":"setIdleToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newToken","type":"address"}],"name":"setNewToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rebalancerManager","type":"address"}],"name":"setRebalancerManager","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

0x60806040523480156200001157600080fd5b506040516200136838038062001368833981810160405260a08110156200003757600080fd5b50805160208201516040830151606084015160809094015192939192909190620000696001600160e01b03620001f416565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600160a01b03851615801590620000d257506001600160a01b03841615155b8015620000e757506001600160a01b03831615155b8015620000fc57506001600160a01b03821615155b80156200011157506001600160a01b03811615155b62000154576040805162461bcd60e51b815260206004820152600e60248201526d0736f6d65206164647220697320360941b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03831617905560408051608081018252620186a081526000602082018190529181018290526060810191909152620001a6906001906004620001f9565b50604080516080810182526001600160a01b0380881682528681166020830152858116928201929092529083166060820152620001e890600290600462000250565b505050505050620002fa565b335b90565b8280548282559060005260206000209081019282156200023e579160200282015b828111156200023e578251829062ffffff169055916020019190600101906200021a565b506200024c929150620002b6565b5090565b828054828255906000526020600020908101928215620002a8579160200282015b82811115620002a857825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000271565b506200024c929150620002d3565b620001f691905b808211156200024c5760008155600101620002bd565b620001f691905b808211156200024c5780546001600160a01b0319168155600101620002da565b61105e806200030a6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638f32d59b1161008c578063ae773c1011610066578063ae773c101461024b578063b11db6251461030d578063e6a777201461032a578063f2fde38b1461035d576100ea565b80638f32d59b146101e257806390fa4933146101fe57806395e5819114610218576100ea565b80635ed411e5116100c85780635ed411e51461014557806365ed6e231461017a578063715018a6146101d25780638da5cb5b146101da576100ea565b80632dd60c5e146100ef5780633c4db093146101205780635682440614610128575b600080fd5b6100f7610390565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100f76103ac565b6100f76004803603602081101561013e57600080fd5b50356103c8565b6101786004803603602081101561015b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103fc565b005b6101826105f8565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101be5781810151838201526020016101a6565b505050509050019250505060405180910390f35b610178610650565b6100f7610732565b6101ea61074e565b604080519115158252519081900360200190f35b61020661078c565b60408051918252519081900360200190f35b6101786004803603602081101561022e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610792565b6101786004803603604081101561026157600080fd5b81019060208101813564010000000081111561027c57600080fd5b82018360208201111561028e57600080fd5b803590602001918460208302840111640100000000831117156102b057600080fd5b9193909290916020810190356401000000008111156102ce57600080fd5b8201836020820111156102e057600080fd5b8035906020019184602083028401116401000000008311171561030257600080fd5b509092509050610953565b6102066004803603602081101561032357600080fd5b5035610c67565b6101786004803603602081101561034057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c85565b6101786004803603602081101561037357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dc1565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b600281815481106103d557fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b61040461074e565b61046f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166104f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4e657720746f6b656e2073686f756c6420626520213d20300000000000000000604482015290519081900360640190fd5b60005b600254811015610558578173ffffffffffffffffffffffffffffffffffffffff166002828154811061052257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561055057506105f5565b6001016104f4565b506002805460018082019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790558054808201825560009182527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601555b50565b6060600180548060200260200160405190810160405280929190818152602001828054801561064657602002820191906000526020600020905b815481526020019060010190808311610632575b5050505050905090565b61065861074e565b6106c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff16610770610e3d565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60015490565b61079a61074e565b61080557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60045473ffffffffffffffffffffffffffffffffffffffff161561088a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f69646c65546f6b656e206164647220616c726561647920736574000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661090c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5f69646c65546f6b656e20616464722069732030000000000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff16331480610990575060045473ffffffffffffffffffffffffffffffffffffffff1633145b6109fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4f6e6c7920726562616c6163657220616e642049646c65546f6b656e00000000604482015290519081900360640190fd5b6001548314610a55576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806110026028913960400191505060405180910390fd5b828114610aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fdc6026913960400191505060405180910390fd5b6000805b84811015610bee5760028181548110610ac657fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16848483818110610af457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b9357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f41646472657373657320646f206e6f74206d6174636800000000000000000000604482015290519081900360640190fd5b610bb8868683818110610ba257fe5b9050602002013583610e4190919063ffffffff16565b9150858582818110610bc657fe5b9050602002013560018281548110610bda57fe5b600091825260209091200155600101610ab1565b5080620186a014610c6057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420616c6c6f636174696e67203130302500000000000000000000000000604482015290519081900360640190fd5b5050505050565b60018181548110610c7457fe5b600091825260209091200154905081565b610c8d61074e565b610cf857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610d7a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5f726562616c616e6365724d616e616765722061646472206973203000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610dc961074e565b610e3457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105f581610ebc565b3390565b600082820183811015610eb557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fb66026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c6c6f63206c656e677468732061726520646966666572656e742c20616464726573736573416c6c6f63206c656e677468732061726520646966666572656e742c20616c6c6f636174696f6e73a265627a7a72315820af5e46aaa1828b7c10768d0dae6e6a8e01aa954c25906fbf560cb999761c9c8d64736f6c6343000510003200000000000000000000000039aa39c021dfbae8fac545936693ac917d5e7563000000000000000000000000f013406a0b1d544238083df0b93ad0d2cbe0f65f0000000000000000000000009ba00d6856a4edf4665bca2c2309936572473b7e0000000000000000000000000d81b042bb9939b4d32cdf7861774c442a2685ce000000000000000000000000b3c8e5534f0063545cbbb7ce86854bf42db8872b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638f32d59b1161008c578063ae773c1011610066578063ae773c101461024b578063b11db6251461030d578063e6a777201461032a578063f2fde38b1461035d576100ea565b80638f32d59b146101e257806390fa4933146101fe57806395e5819114610218576100ea565b80635ed411e5116100c85780635ed411e51461014557806365ed6e231461017a578063715018a6146101d25780638da5cb5b146101da576100ea565b80632dd60c5e146100ef5780633c4db093146101205780635682440614610128575b600080fd5b6100f7610390565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100f76103ac565b6100f76004803603602081101561013e57600080fd5b50356103c8565b6101786004803603602081101561015b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103fc565b005b6101826105f8565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101be5781810151838201526020016101a6565b505050509050019250505060405180910390f35b610178610650565b6100f7610732565b6101ea61074e565b604080519115158252519081900360200190f35b61020661078c565b60408051918252519081900360200190f35b6101786004803603602081101561022e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610792565b6101786004803603604081101561026157600080fd5b81019060208101813564010000000081111561027c57600080fd5b82018360208201111561028e57600080fd5b803590602001918460208302840111640100000000831117156102b057600080fd5b9193909290916020810190356401000000008111156102ce57600080fd5b8201836020820111156102e057600080fd5b8035906020019184602083028401116401000000008311171561030257600080fd5b509092509050610953565b6102066004803603602081101561032357600080fd5b5035610c67565b6101786004803603602081101561034057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c85565b6101786004803603602081101561037357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dc1565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b600281815481106103d557fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b61040461074e565b61046f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166104f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4e657720746f6b656e2073686f756c6420626520213d20300000000000000000604482015290519081900360640190fd5b60005b600254811015610558578173ffffffffffffffffffffffffffffffffffffffff166002828154811061052257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561055057506105f5565b6001016104f4565b506002805460018082019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790558054808201825560009182527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601555b50565b6060600180548060200260200160405190810160405280929190818152602001828054801561064657602002820191906000526020600020905b815481526020019060010190808311610632575b5050505050905090565b61065861074e565b6106c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff16610770610e3d565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60015490565b61079a61074e565b61080557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60045473ffffffffffffffffffffffffffffffffffffffff161561088a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f69646c65546f6b656e206164647220616c726561647920736574000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661090c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5f69646c65546f6b656e20616464722069732030000000000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff16331480610990575060045473ffffffffffffffffffffffffffffffffffffffff1633145b6109fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4f6e6c7920726562616c6163657220616e642049646c65546f6b656e00000000604482015290519081900360640190fd5b6001548314610a55576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806110026028913960400191505060405180910390fd5b828114610aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fdc6026913960400191505060405180910390fd5b6000805b84811015610bee5760028181548110610ac657fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16848483818110610af457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b9357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f41646472657373657320646f206e6f74206d6174636800000000000000000000604482015290519081900360640190fd5b610bb8868683818110610ba257fe5b9050602002013583610e4190919063ffffffff16565b9150858582818110610bc657fe5b9050602002013560018281548110610bda57fe5b600091825260209091200155600101610ab1565b5080620186a014610c6057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420616c6c6f636174696e67203130302500000000000000000000000000604482015290519081900360640190fd5b5050505050565b60018181548110610c7457fe5b600091825260209091200154905081565b610c8d61074e565b610cf857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610d7a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5f726562616c616e6365724d616e616765722061646472206973203000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610dc961074e565b610e3457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105f581610ebc565b3390565b600082820183811015610eb557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fb66026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c6c6f63206c656e677468732061726520646966666572656e742c20616464726573736573416c6c6f63206c656e677468732061726520646966666572656e742c20616c6c6f636174696f6e73a265627a7a72315820af5e46aaa1828b7c10768d0dae6e6a8e01aa954c25906fbf560cb999761c9c8d64736f6c63430005100032

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.