Latest 25 transactions from a total of 1040 transactions

TxHash Age From To Value [TxFee]
0xf4597d459572897bdec90351a7ee07ae8222a7348a335c1a2010b14542f698d01 day 10 hrs ago0x73015966604928a312f79f7e69291a656cb88602  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x7785965588b1b01800dc7677aa76229e5c759afb405c508451e7a64ad14398b31 day 20 hrs ago0x73015966604928a312f79f7e69291a656cb88602  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xe3ab93c605ad0b6cddebcbab5061f230bbcade2d9e03971adfb280255d0e5ead2 days 6 hrs ago0x73015966604928a312f79f7e69291a656cb88602  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x48e961bca97e7197c5a8306575a04b6057788a423c5ee9c87268e5611763f21b2 days 6 hrs ago0x73015966604928a312f79f7e69291a656cb88602  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x8c2b1d4c4ad076280a8bc9faa81d87ef7a72d4169a18190307f17bda737965e62 days 7 hrs ago0xb0a3f48478d84a497f930d8455711d9981b66a70  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.000046967
0xc304f7cad984038cd4e2ee7d86c2a2cc493c126bb767a70d15d01fb248fe58b57 days 13 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x946156fe17d08c9865de29ec772b61ac89a3d9e2b01d6da43077222bc3adfdbb7 days 15 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x69ef26565a6106e8833328959756f7550307789a9b9e950c933a1960c9b888bc7 days 16 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xf58527564217c2f7f154f8890a7ec1e71e565cf98036e81350abb919564cffb87 days 20 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x4fca269b378a2368f2c846d11c379f882257214dca708b39c5404c84145d69678 days 5 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x74e0034de6de227a0172784df9dd56aa87a546252b0ef43cc2123970dfacc7938 days 12 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x025825cfee3660e88845a6271deb142380e30a2b6c851baf06098c6d1e3857528 days 13 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xec71451fe0b53e02c3ea7358543ba096c4652eb88165d1150e7a3502d98c6a528 days 14 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.0000352352
0x7f84b4acb87ea33cb761a00a6f1010a9110abcda278cbd67fa31a456dd9138528 days 14 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x2928d1059f87403e9fc7d1cb06ffd0808f46d7ed846dd4c417e4f76189750c5f8 days 21 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xb766f57c23dadb133970b6e1cb8c61ed21e2d6e24c984e68a5db1a9bc36609208 days 22 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x6179f953620dd04691270345fc1c75ae02ca7dd816e29e1245d9a58392f5ddb29 days 2 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xfeab1a7182d378054754ff0d65b8eb2345210e8e694e599a96e222679cb8eeab9 days 2 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x240dc47d1175e822dd4f06982d95696fe468579b73f79d7281bdc5ac0b5446469 days 10 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xcf17924c0af856666f96ae4ff85f6752cd9165a221fc91100ae5301d1b0c0b7a9 days 15 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x8ea913cf85c00c947abc99d9c3ba06abf753ff3c3a26850fb7d74a58e5a0322f9 days 18 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x7f1246886100414c06e07383430c288dbefc7bcc1191f39f0ed9f6298e4d57219 days 20 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xf9874b58c4e609b7502653de31b17c8df40f052aaf4232ec63545c3c81a9b42610 days 4 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0xbafeea5a308cbe898c51fc52f04f37aee0ee615a0b59edf86b6ab2dfdef6c53710 days 7 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
0x152004c85fb3333295bf42530d969a47200dd0760ca2dbad8e367af4a00df13d10 days 16 hrs ago0x3021a343a1d878812d792beb53a0a870230d20da  IN   0x430892e8cef7c8a93e5d4972174732b1319d99720 Ether0.00002912
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0x92dcb8ad4c716f87bf8d01c99223f3e95e6f4dfec338ff48242a0e44ab5792e9382282215 days 4 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x92dcb8ad4c716f87bf8d01c99223f3e95e6f4dfec338ff48242a0e44ab5792e9382282215 days 4 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x187377a26c985b7bf0ce6c284b7268d1ecf4fac12921cc1afe62ddd31d20d936382281315 days 4 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x793ada50ec665e24a2fee0cc76bdc66cb7cc0173c13211780745c20c31704fbd378731621 days 8 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x793ada50ec665e24a2fee0cc76bdc66cb7cc0173c13211780745c20c31704fbd378731621 days 8 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x81df3fe88bbbe40efb49cd5ddb37da909cb83a42a78b607def9cbc8af275d5ca378710621 days 9 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x81df3fe88bbbe40efb49cd5ddb37da909cb83a42a78b607def9cbc8af275d5ca378710621 days 9 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x06a887124fe41592e1321ffe1d1729268e0b8ac30f837e2c846163eef05b8e8c370040136 days 10 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x06a887124fe41592e1321ffe1d1729268e0b8ac30f837e2c846163eef05b8e8c370040136 days 10 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xd55bf9c6803fb72cf53d0409d7d8c7ac7bbb34ea21ec8052157c8a177458b374367731740 days 10 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xd55bf9c6803fb72cf53d0409d7d8c7ac7bbb34ea21ec8052157c8a177458b374367731740 days 10 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xb9ae85902025a6d396af070e1d4461b8de3bd5b40f866dbdbb0650b7dc24b4c7367459540 days 21 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xb9ae85902025a6d396af070e1d4461b8de3bd5b40f866dbdbb0650b7dc24b4c7367459540 days 21 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x54c9ccd324368e50de975b2e2f66c79d870ca9f6e9c7059e36b4e1e01247ded3347085576 days 6 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x54c9ccd324368e50de975b2e2f66c79d870ca9f6e9c7059e36b4e1e01247ded3347085576 days 6 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x23d1d25b5fcfd75aaa563151b53e752e4d48ade3f7b683c616321523182e8a7a347064376 days 7 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x23d1d25b5fcfd75aaa563151b53e752e4d48ade3f7b683c616321523182e8a7a347064376 days 7 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xe3d928e1ee2a6729ef419a22e46cc9b0c9951992978af851e81c998fe8405b3c347057276 days 7 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xe3d928e1ee2a6729ef419a22e46cc9b0c9951992978af851e81c998fe8405b3c347057276 days 7 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xfbd840a3b984c45608df71d0daf00eda0a35c511eb68e9b79e859359b1a0e6a1333813899 days 7 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xfbd840a3b984c45608df71d0daf00eda0a35c511eb68e9b79e859359b1a0e6a1333813899 days 7 hrs ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xe4034cd1c52bde48250208572b7c837bf66c04715c810a8a0c410d1775dece4a3218671120 days 1 hr ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0xe4034cd1c52bde48250208572b7c837bf66c04715c810a8a0c410d1775dece4a3218671120 days 1 hr ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x4575a3b0de8c9e2ced1ba52c869948b1d5f6b3a40e24b2d1a7b66178c15411d63218618120 days 1 hr ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
0x4575a3b0de8c9e2ced1ba52c869948b1d5f6b3a40e24b2d1a7b66178c15411d63218618120 days 1 hr ago0xd00b85719fea60896409910eda8e398683b5fa480x430892e8cef7c8a93e5d4972174732b1319d99720 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: PriceOracle
Compiler Version: v0.4.24+commit.e67f0147
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    // Gas optimization: this is cheaper than asserting 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * @title Roles
 * @author Francisco Giordano (@frangio)
 * @dev Library for managing addresses assigned to a Role.
 *      See RBAC.sol for example usage.
 */
library Roles {
  struct Role {
    mapping (address => bool) bearer;
  }

  /**
   * @dev give an address access to this role
   */
  function add(Role storage role, address addr)
    internal
  {
    role.bearer[addr] = true;
  }

  /**
   * @dev remove an address' access to this role
   */
  function remove(Role storage role, address addr)
    internal
  {
    role.bearer[addr] = false;
  }

  /**
   * @dev check if an address has this role
   * // reverts
   */
  function check(Role storage role, address addr)
    view
    internal
  {
    require(has(role, addr));
  }

  /**
   * @dev check if an address has this role
   * @return bool
   */
  function has(Role storage role, address addr)
    view
    internal
    returns (bool)
  {
    return role.bearer[addr];
  }
}

/**
 * @title RBAC (Role-Based Access Control)
 * @author Matt Condon (@Shrugs)
 * @dev Stores and provides setters and getters for roles and addresses.
 * @dev Supports unlimited numbers of roles and addresses.
 * @dev See //contracts/mocks/RBACMock.sol for an example of usage.
 * This RBAC method uses strings to key roles. It may be beneficial
 *  for you to write your own implementation of this interface using Enums or similar.
 * It's also recommended that you define constants in the contract, like ROLE_ADMIN below,
 *  to avoid typos.
 */
contract RBAC {
  using Roles for Roles.Role;

  mapping (string => Roles.Role) private roles;

  event RoleAdded(address addr, string roleName);
  event RoleRemoved(address addr, string roleName);

  /**
   * @dev reverts if addr does not have role
   * @param addr address
   * @param roleName the name of the role
   * // reverts
   */
  function checkRole(address addr, string roleName)
    view
    public
  {
    roles[roleName].check(addr);
  }

  /**
   * @dev determine if addr has role
   * @param addr address
   * @param roleName the name of the role
   * @return bool
   */
  function hasRole(address addr, string roleName)
    view
    public
    returns (bool)
  {
    return roles[roleName].has(addr);
  }

  /**
   * @dev add a role to an address
   * @param addr address
   * @param roleName the name of the role
   */
  function addRole(address addr, string roleName)
    internal
  {
    roles[roleName].add(addr);
    emit RoleAdded(addr, roleName);
  }

  /**
   * @dev remove a role from an address
   * @param addr address
   * @param roleName the name of the role
   */
  function removeRole(address addr, string roleName)
    internal
  {
    roles[roleName].remove(addr);
    emit RoleRemoved(addr, roleName);
  }

  /**
   * @dev modifier to scope access to a single role (uses msg.sender as addr)
   * @param roleName the name of the role
   * // reverts
   */
  modifier onlyRole(string roleName)
  {
    checkRole(msg.sender, roleName);
    _;
  }

  /**
   * @dev modifier to scope access to a set of roles (uses msg.sender as addr)
   * @param roleNames the names of the roles to scope access to
   * // reverts
   *
   * @TODO - when solidity supports dynamic arrays as arguments to modifiers, provide this
   *  see: https://github.com/ethereum/solidity/issues/2467
   */
  // modifier onlyRoles(string[] roleNames) {
  //     bool hasAnyRole = false;
  //     for (uint8 i = 0; i < roleNames.length; i++) {
  //         if (hasRole(msg.sender, roleNames[i])) {
  //             hasAnyRole = true;
  //             break;
  //         }
  //     }

  //     require(hasAnyRole);

  //     _;
  // }
}

/**
 * @title Ethereum price feed
 * @dev Keeps the current ETH price in USD cents to use by crowdsale contracts.
 * Price kept up to date by external script polling exchanges tickers
 * @author OnGrid Systems
 */
contract PriceOracle is RBAC {
  using SafeMath for uint256;

  // Average ETH price in USD cents
  uint256 public ethPriceInCents;

  // The change limit in percent.
  // Provides basic protection from erroneous input.
  uint256 public allowedOracleChangePercent;

  // Roles in the oracle
  string public constant ROLE_ADMIN = "admin";
  string public constant ROLE_ORACLE = "oracle";

  /**
   * @dev modifier to scope access to admins
   * // reverts if called not by admin
   */
  modifier onlyAdmin()
  {
    checkRole(msg.sender, ROLE_ADMIN);
    _;
  }

  /**
   * @dev modifier to scope access to price keeping oracles (scripts polling exchanges)
   * // reverts if called not by oracle
   */
  modifier onlyOracle()
  {
    checkRole(msg.sender, ROLE_ORACLE);
    _;
  }

  /**
   * @dev Initializes oracle contract
   * @param _initialEthPriceInCents Initial Ethereum price in USD cents
   * @param _allowedOracleChangePercent Percent of change allowed per single request
   */
  constructor(
    uint256 _initialEthPriceInCents,
    uint256 _allowedOracleChangePercent
  ) public {
    ethPriceInCents = _initialEthPriceInCents;
    allowedOracleChangePercent = _allowedOracleChangePercent;
    addRole(msg.sender, ROLE_ADMIN);
  }

  /**
   * @dev Converts ETH (wei) to USD cents
   * @param _wei amount of wei (10e-18 ETH)
   * @return cents amount
   */
  function getUsdCentsFromWei(uint256 _wei) public view returns (uint256) {
    return _wei.mul(ethPriceInCents).div(1 ether);
  }

  /**
   * @dev Converts USD cents to wei
   * @param _usdCents amount
   * @return wei amount
   */
  function getWeiFromUsdCents(uint256 _usdCents)
    public view returns (uint256)
  {
    return _usdCents.mul(1 ether).div(ethPriceInCents);
  }

  /**
   * @dev Sets current ETH price in cents
   * @param _cents USD cents
   */
  function setEthPrice(uint256 _cents)
    public
    onlyOracle
  {
    uint256 maxCents = allowedOracleChangePercent.add(100)
    .mul(ethPriceInCents).div(100);
    uint256 minCents = SafeMath.sub(100,allowedOracleChangePercent)
    .mul(ethPriceInCents).div(100);
    require(
      _cents <= maxCents && _cents >= minCents,
      "Price out of allowed range"
    );
    ethPriceInCents = _cents;
  }

  /**
   * @dev Add admin role to an address
   * @param addr address
   */
  function addAdmin(address addr)
    public
    onlyAdmin
  {
    addRole(addr, ROLE_ADMIN);
  }

  /**
   * @dev Revoke admin privileges from an address
   * @param addr address
   */
  function delAdmin(address addr)
    public
    onlyAdmin
  {
    removeRole(addr, ROLE_ADMIN);
  }

  /**
   * @dev Add oracle role to an address
   * @param addr address
   */
  function addOracle(address addr)
    public
    onlyAdmin
  {
    addRole(addr, ROLE_ORACLE);
  }

  /**
   * @dev Revoke oracle role from an address
   * @param addr address
   */
  function delOracle(address addr)
    public
    onlyAdmin
  {
    removeRole(addr, ROLE_ORACLE);
  }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_cents","type":"uint256"}],"name":"setEthPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"},{"name":"roleName","type":"string"}],"name":"checkRole","outputs":[],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_wei","type":"uint256"}],"name":"getUsdCentsFromWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"},{"name":"roleName","type":"string"}],"name":"hasRole","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethPriceInCents","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"delAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"allowedOracleChangePercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"addAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"delOracle","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_usdCents","type":"uint256"}],"name":"getWeiFromUsdCents","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ROLE_ADMIN","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"addOracle","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ROLE_ORACLE","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_initialEthPriceInCents","type":"uint256"},{"name":"_allowedOracleChangePercent","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"roleName","type":"string"}],"name":"RoleAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"roleName","type":"string"}],"name":"RoleRemoved","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b5060405160408061114f83398101806040528101908080519060200190929190805190602001909291905050508160018190555080600281905550610099336040805190810160405280600581526020017f61646d696e0000000000000000000000000000000000000000000000000000008152506100a0640100000000026401000000009004565b505061025c565b61012a826000836040518082805190602001908083835b6020831015156100dc57805182526020820191506020810190506020830392506100b7565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405180910390206101fe64010000000002610e5a179091906401000000009004565b7fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b7004898282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156101bf5780820151818401526020810190506101a4565b50505050905090810190601f1680156101ec5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610ee48061026b6000396000f3006080604052600436106100c4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680629f9262146100c95780630988ca8c146100f65780630c7e30b71461017f578063217fe6c6146101c05780633edfe35e1461026157806362d918551461028c57806365d43868146102cf57806370480275146102fa5780637dc793751461033d578063b9d8350e14610380578063d391014b146103c1578063df5dd1a514610451578063f017370314610494575b600080fd5b3480156100d557600080fd5b506100f460048036038101908080359060200190929190505050610524565b005b34801561010257600080fd5b5061017d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061066b565b005b34801561018b57600080fd5b506101aa600480360381019080803590602001909291905050506106ec565b6040518082815260200191505060405180910390f35b3480156101cc57600080fd5b50610247600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610724565b604051808215151515815260200191505060405180910390f35b34801561026d57600080fd5b506102766107ab565b6040518082815260200191505060405180910390f35b34801561029857600080fd5b506102cd600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107b1565b005b3480156102db57600080fd5b506102e4610832565b6040518082815260200191505060405180910390f35b34801561030657600080fd5b5061033b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610838565b005b34801561034957600080fd5b5061037e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108b9565b005b34801561038c57600080fd5b506103ab6004803603810190808035906020019092919050505061093a565b6040518082815260200191505060405180910390f35b3480156103cd57600080fd5b506103d6610972565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104165780820151818401526020810190506103fb565b50505050905090810190601f1680156104435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561045d57600080fd5b50610492600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109ab565b005b3480156104a057600080fd5b506104a9610a2c565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104e95780820151818401526020810190506104ce565b50505050905090810190601f1680156105165780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600080610566336040805190810160405280600681526020017f6f7261636c65000000000000000000000000000000000000000000000000000081525061066b565b6105a360646105956001546105876064600254610a6590919063ffffffff16565b610a8190919063ffffffff16565b610ab990919063ffffffff16565b91506105d960646105cb6001546105bd6064600254610acf565b610a8190919063ffffffff16565b610ab990919063ffffffff16565b90508183111580156105eb5750808310155b151561065f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f5072696365206f7574206f6620616c6c6f7765642072616e676500000000000081525060200191505060405180910390fd5b82600181905550505050565b6106e8826000836040518082805190602001908083835b6020831015156106a75780518252602082019150602081019050602083039250610682565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020610ae890919063ffffffff16565b5050565b600061071d670de0b6b3a764000061070f60015485610a8190919063ffffffff16565b610ab990919063ffffffff16565b9050919050565b60006107a3836000846040518082805190602001908083835b602083101515610762578051825260208201915060208101905060208303925061073d565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020610b0190919063ffffffff16565b905092915050565b60015481565b6107f0336040805190810160405280600581526020017f61646d696e00000000000000000000000000000000000000000000000000000081525061066b565b61082f816040805190810160405280600581526020017f61646d696e000000000000000000000000000000000000000000000000000000815250610b5a565b50565b60025481565b610877336040805190810160405280600581526020017f61646d696e00000000000000000000000000000000000000000000000000000081525061066b565b6108b6816040805190810160405280600581526020017f61646d696e000000000000000000000000000000000000000000000000000000815250610cab565b50565b6108f8336040805190810160405280600581526020017f61646d696e00000000000000000000000000000000000000000000000000000081525061066b565b610937816040805190810160405280600681526020017f6f7261636c650000000000000000000000000000000000000000000000000000815250610b5a565b50565b600061096b60015461095d670de0b6b3a764000085610a8190919063ffffffff16565b610ab990919063ffffffff16565b9050919050565b6040805190810160405280600581526020017f61646d696e00000000000000000000000000000000000000000000000000000081525081565b6109ea336040805190810160405280600581526020017f61646d696e00000000000000000000000000000000000000000000000000000081525061066b565b610a29816040805190810160405280600681526020017f6f7261636c650000000000000000000000000000000000000000000000000000815250610cab565b50565b6040805190810160405280600681526020017f6f7261636c65000000000000000000000000000000000000000000000000000081525081565b60008183019050828110151515610a7857fe5b80905092915050565b600080831415610a945760009050610ab3565b8183029050818382811515610aa557fe5b04141515610aaf57fe5b8090505b92915050565b60008183811515610ac657fe5b04905092915050565b6000828211151515610add57fe5b818303905092915050565b610af28282610b01565b1515610afd57600080fd5b5050565b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610bd7826000836040518082805190602001908083835b602083101515610b965780518252602082019150602081019050602083039250610b71565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020610dfc90919063ffffffff16565b7fd211483f91fc6eff862467f8de606587a30c8fc9981056f051b897a418df803a8282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610c6c578082015181840152602081019050610c51565b50505050905090810190601f168015610c995780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b610d28826000836040518082805190602001908083835b602083101515610ce75780518252602082019150602081019050602083039250610cc2565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020610e5a90919063ffffffff16565b7fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b7004898282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610dbd578082015181840152602081019050610da2565b50505050905090810190601f168015610dea5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505600a165627a7a723058201cd8c91182d8e438c428e4098a0694fb016e12385170974de1bed0e780dd457b00290000000000000000000000000000000000000000000000000000000000006a20000000000000000000000000000000000000000000000000000000000000000a

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

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000006a20
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000a


   Swarm Source:
bzzr://1cd8c91182d8e438c428e4098a0694fb016e12385170974de1bed0e780dd457b

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward