ETH Price: $2,619.75 (-4.53%)

Contract

0x2403457Ce59e56Dd69d2Fc4F22e77d7AB180dEb1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Allocations106287532020-08-09 23:46:531643 days ago1597016813IN
0x2403457C...AB180dEb1
0 ETH0.0019198252.5
Set Allocations106286362020-08-09 23:22:251643 days ago1597015345IN
0x2403457C...AB180dEb1
0 ETH0.0027261474.55
Set Allocations106284092020-08-09 22:29:351643 days ago1597012175IN
0x2403457C...AB180dEb1
0 ETH0.0030218467.2
Set Allocations105834422020-08-02 23:50:141650 days ago1596412214IN
0x2403457C...AB180dEb1
0 ETH0.0016997937.8
Set Allocations105615022020-07-30 14:34:051653 days ago1596119645IN
0x2403457C...AB180dEb1
0 ETH0.0026877473.5
Set Allocations105612272020-07-30 13:34:311653 days ago1596116071IN
0x2403457C...AB180dEb1
0 ETH0.0024573667.2
Set Allocations105609392020-07-30 12:33:511653 days ago1596112431IN
0x2403457C...AB180dEb1
0 ETH0.0026493572.45
Set Allocations105606962020-07-30 11:35:081653 days ago1596108908IN
0x2403457C...AB180dEb1
0 ETH0.0024189766.15
Set Allocations105604232020-07-30 10:32:351653 days ago1596105155IN
0x2403457C...AB180dEb1
0 ETH0.0034467976.65
Set Allocations105504262020-07-28 21:25:541655 days ago1595971554IN
0x2403457C...AB180dEb1
0 ETH0.0018886542
Set Allocations105488222020-07-28 15:24:201655 days ago1595949860IN
0x2403457C...AB180dEb1
0 ETH0.0029949181.9
Set Allocations105479962020-07-28 12:24:361655 days ago1595939076IN
0x2403457C...AB180dEb1
0 ETH0.0034940177.7
Set Allocations104886472020-07-19 7:44:031665 days ago1595144643IN
0x2403457C...AB180dEb1
0 ETH0.0028329863
Set Allocations104588732020-07-14 17:09:541669 days ago1594746594IN
0x2403457C...AB180dEb1
0 ETH0.0024080353.55
Set Allocations104516922020-07-13 14:12:211670 days ago1594649541IN
0x2403457C...AB180dEb1
0 ETH0.0026441158.8
Set Allocations103949492020-07-04 20:03:431679 days ago1593893023IN
0x2403457C...AB180dEb1
0 ETH0.0009443221
Set Allocations103418702020-06-26 14:10:181687 days ago1593180618IN
0x2403457C...AB180dEb1
0 ETH0.00174738.85
Set Allocations103347562020-06-25 11:51:151688 days ago1593085875IN
0x2403457C...AB180dEb1
0 ETH0.0019358743.05
Set Allocations103178292020-06-22 20:55:101691 days ago1592859310IN
0x2403457C...AB180dEb1
0 ETH0.0013220529.4
Set Allocations103171422020-06-22 18:20:581691 days ago1592850058IN
0x2403457C...AB180dEb1
0 ETH0.0011327937.8
Set Allocations103114652020-06-21 21:16:411692 days ago1592774201IN
0x2403457C...AB180dEb1
0 ETH0.0009005915.015
Set Allocations103113822020-06-21 20:58:441692 days ago1592773124IN
0x2403457C...AB180dEb1
0 ETH0.0005490615.015
Set Allocations103112572020-06-21 20:34:021692 days ago1592771642IN
0x2403457C...AB180dEb1
0 ETH0.0006258617.115
Set Allocations103111322020-06-21 20:04:371692 days ago1592769877IN
0x2403457C...AB180dEb1
0 ETH0.0008447223.1
Set Allocations103110062020-06-21 19:34:591692 days ago1592768099IN
0x2403457C...AB180dEb1
0 ETH0.0008063222.05
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IdleRebalancerV3USDT

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 45000 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2020-05-17
*/

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 IdleRebalancerV3USDT 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 _rebalancerManager : rebalancerManager address
   */
  constructor(address _cToken, address _iToken, address _aToken, address _rebalancerManager) public {
    require(_cToken != address(0) && _iToken != address(0) && _aToken != address(0) && _rebalancerManager != address(0), 'some addr is 0');
    rebalancerManager = _rebalancerManager;

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

  /**
   * 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

[{"inputs":[{"internalType":"address","name":"_cToken","type":"address"},{"internalType":"address","name":"_iToken","type":"address"},{"internalType":"address","name":"_aToken","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"}]

60806040523480156200001157600080fd5b506040516200133938038062001339833981810160405260808110156200003757600080fd5b5080516020820151604083015160609093015191929091620000616001600160e01b03620001c516565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600160a01b03841615801590620000ca57506001600160a01b03831615155b8015620000df57506001600160a01b03821615155b8015620000f457506001600160a01b03811615155b62000137576040805162461bcd60e51b815260206004820152600e60248201526d0736f6d65206164647220697320360941b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03831617815560408051606081018252620186a0815260006020820181905291810191909152620001819160019190620001ca565b50604080516060810182526001600160a01b0380871682528581166020830152841691810191909152620001ba90600290600362000221565b5050505050620002cb565b335b90565b8280548282559060005260206000209081019282156200020f579160200282015b828111156200020f578251829062ffffff16905591602001919060010190620001eb565b506200021d92915062000287565b5090565b82805482825590600052602060002090810192821562000279579160200282015b828111156200027957825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000242565b506200021d929150620002a4565b620001c791905b808211156200021d57600081556001016200028e565b620001c791905b808211156200021d5780546001600160a01b0319168155600101620002ab565b61105e80620002db6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638f32d59b1161008c578063ae773c1011610066578063ae773c101461024b578063b11db6251461030d578063e6a777201461032a578063f2fde38b1461035d576100ea565b80638f32d59b146101e257806390fa4933146101fe57806395e5819114610218576100ea565b80635ed411e5116100c85780635ed411e51461014557806365ed6e231461017a578063715018a6146101d25780638da5cb5b146101da576100ea565b80632dd60c5e146100ef5780633c4db093146101205780635682440614610128575b600080fd5b6100f7610390565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100f76103ac565b6100f76004803603602081101561013e57600080fd5b50356103c8565b6101786004803603602081101561015b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103fc565b005b6101826105f8565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101be5781810151838201526020016101a6565b505050509050019250505060405180910390f35b610178610650565b6100f7610732565b6101ea61074e565b604080519115158252519081900360200190f35b61020661078c565b60408051918252519081900360200190f35b6101786004803603602081101561022e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610792565b6101786004803603604081101561026157600080fd5b81019060208101813564010000000081111561027c57600080fd5b82018360208201111561028e57600080fd5b803590602001918460208302840111640100000000831117156102b057600080fd5b9193909290916020810190356401000000008111156102ce57600080fd5b8201836020820111156102e057600080fd5b8035906020019184602083028401116401000000008311171561030257600080fd5b509092509050610953565b6102066004803603602081101561032357600080fd5b5035610c67565b6101786004803603602081101561034057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c85565b6101786004803603602081101561037357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dc1565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b600281815481106103d557fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b61040461074e565b61046f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166104f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4e657720746f6b656e2073686f756c6420626520213d20300000000000000000604482015290519081900360640190fd5b60005b600254811015610558578173ffffffffffffffffffffffffffffffffffffffff166002828154811061052257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561055057506105f5565b6001016104f4565b506002805460018082019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790558054808201825560009182527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601555b50565b6060600180548060200260200160405190810160405280929190818152602001828054801561064657602002820191906000526020600020905b815481526020019060010190808311610632575b5050505050905090565b61065861074e565b6106c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff16610770610e3d565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60015490565b61079a61074e565b61080557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60045473ffffffffffffffffffffffffffffffffffffffff161561088a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f69646c65546f6b656e206164647220616c726561647920736574000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661090c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5f69646c65546f6b656e20616464722069732030000000000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff16331480610990575060045473ffffffffffffffffffffffffffffffffffffffff1633145b6109fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4f6e6c7920726562616c6163657220616e642049646c65546f6b656e00000000604482015290519081900360640190fd5b6001548314610a55576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806110026028913960400191505060405180910390fd5b828114610aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fdc6026913960400191505060405180910390fd5b6000805b84811015610bee5760028181548110610ac657fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16848483818110610af457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b9357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f41646472657373657320646f206e6f74206d6174636800000000000000000000604482015290519081900360640190fd5b610bb8868683818110610ba257fe5b9050602002013583610e4190919063ffffffff16565b9150858582818110610bc657fe5b9050602002013560018281548110610bda57fe5b600091825260209091200155600101610ab1565b5080620186a014610c6057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420616c6c6f636174696e67203130302500000000000000000000000000604482015290519081900360640190fd5b5050505050565b60018181548110610c7457fe5b600091825260209091200154905081565b610c8d61074e565b610cf857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610d7a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5f726562616c616e6365724d616e616765722061646472206973203000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610dc961074e565b610e3457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105f581610ebc565b3390565b600082820183811015610eb557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fb66026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c6c6f63206c656e677468732061726520646966666572656e742c20616464726573736573416c6c6f63206c656e677468732061726520646966666572656e742c20616c6c6f636174696f6e73a265627a7a72315820ccb2c52b63308bf180658e4fc05afdfeae3bb154c4df457c7c2eca0bb915764464736f6c63430005100032000000000000000000000000f650c3d88d12db855b8bf7d11be6c55a4e07dcc90000000000000000000000008326645f3aa6de6420102fdb7da9e3a91855045b00000000000000000000000071fc860f7d3a592a4a98740e39db31d25db65ae8000000000000000000000000b3c8e5534f0063545cbbb7ce86854bf42db8872b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638f32d59b1161008c578063ae773c1011610066578063ae773c101461024b578063b11db6251461030d578063e6a777201461032a578063f2fde38b1461035d576100ea565b80638f32d59b146101e257806390fa4933146101fe57806395e5819114610218576100ea565b80635ed411e5116100c85780635ed411e51461014557806365ed6e231461017a578063715018a6146101d25780638da5cb5b146101da576100ea565b80632dd60c5e146100ef5780633c4db093146101205780635682440614610128575b600080fd5b6100f7610390565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6100f76103ac565b6100f76004803603602081101561013e57600080fd5b50356103c8565b6101786004803603602081101561015b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166103fc565b005b6101826105f8565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101be5781810151838201526020016101a6565b505050509050019250505060405180910390f35b610178610650565b6100f7610732565b6101ea61074e565b604080519115158252519081900360200190f35b61020661078c565b60408051918252519081900360200190f35b6101786004803603602081101561022e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610792565b6101786004803603604081101561026157600080fd5b81019060208101813564010000000081111561027c57600080fd5b82018360208201111561028e57600080fd5b803590602001918460208302840111640100000000831117156102b057600080fd5b9193909290916020810190356401000000008111156102ce57600080fd5b8201836020820111156102e057600080fd5b8035906020019184602083028401116401000000008311171561030257600080fd5b509092509050610953565b6102066004803603602081101561032357600080fd5b5035610c67565b6101786004803603602081101561034057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610c85565b6101786004803603602081101561037357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610dc1565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b600281815481106103d557fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b61040461074e565b61046f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166104f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4e657720746f6b656e2073686f756c6420626520213d20300000000000000000604482015290519081900360640190fd5b60005b600254811015610558578173ffffffffffffffffffffffffffffffffffffffff166002828154811061052257fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561055057506105f5565b6001016104f4565b506002805460018082019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84161790558054808201825560009182527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601555b50565b6060600180548060200260200160405190810160405280929190818152602001828054801561064657602002820191906000526020600020905b815481526020019060010190808311610632575b5050505050905090565b61065861074e565b6106c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6000805473ffffffffffffffffffffffffffffffffffffffff16610770610e3d565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60015490565b61079a61074e565b61080557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60045473ffffffffffffffffffffffffffffffffffffffff161561088a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f69646c65546f6b656e206164647220616c726561647920736574000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661090c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5f69646c65546f6b656e20616464722069732030000000000000000000000000604482015290519081900360640190fd5b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff16331480610990575060045473ffffffffffffffffffffffffffffffffffffffff1633145b6109fb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4f6e6c7920726562616c6163657220616e642049646c65546f6b656e00000000604482015290519081900360640190fd5b6001548314610a55576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806110026028913960400191505060405180910390fd5b828114610aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fdc6026913960400191505060405180910390fd5b6000805b84811015610bee5760028181548110610ac657fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16848483818110610af457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b9357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f41646472657373657320646f206e6f74206d6174636800000000000000000000604482015290519081900360640190fd5b610bb8868683818110610ba257fe5b9050602002013583610e4190919063ffffffff16565b9150858582818110610bc657fe5b9050602002013560018281548110610bda57fe5b600091825260209091200155600101610ab1565b5080620186a014610c6057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420616c6c6f636174696e67203130302500000000000000000000000000604482015290519081900360640190fd5b5050505050565b60018181548110610c7457fe5b600091825260209091200154905081565b610c8d61074e565b610cf857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610d7a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5f726562616c616e6365724d616e616765722061646472206973203000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610dc961074e565b610e3457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105f581610ebc565b3390565b600082820183811015610eb557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8116610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610fb66026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416c6c6f63206c656e677468732061726520646966666572656e742c20616464726573736573416c6c6f63206c656e677468732061726520646966666572656e742c20616c6c6f636174696f6e73a265627a7a72315820ccb2c52b63308bf180658e4fc05afdfeae3bb154c4df457c7c2eca0bb915764464736f6c63430005100032

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

000000000000000000000000f650c3d88d12db855b8bf7d11be6c55a4e07dcc90000000000000000000000008326645f3aa6de6420102fdb7da9e3a91855045b00000000000000000000000071fc860f7d3a592a4a98740e39db31d25db65ae8000000000000000000000000b3c8e5534f0063545cbbb7ce86854bf42db8872b

-----Decoded View---------------
Arg [0] : _cToken (address): 0xf650C3d88D12dB855b8bf7D11Be6C55A4e07dCC9
Arg [1] : _iToken (address): 0x8326645f3Aa6De6420102Fdb7Da9E3a91855045B
Arg [2] : _aToken (address): 0x71fc860F7D3A592A4a98740e39dB31d25db65ae8
Arg [3] : _rebalancerManager (address): 0xB3C8e5534F0063545CBbb7Ce86854Bf42dB8872B

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000f650c3d88d12db855b8bf7d11be6c55a4e07dcc9
Arg [1] : 0000000000000000000000008326645f3aa6de6420102fdb7da9e3a91855045b
Arg [2] : 00000000000000000000000071fc860f7d3a592a4a98740e39db31d25db65ae8
Arg [3] : 000000000000000000000000b3c8e5534f0063545cbbb7ce86854bf42db8872b


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

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.