Contract Overview |  Etheremon_AdventureRevenue2
Balance: 19.9849 Ether
Ether Value: $2,337.43 (@ $116.96/ETH)
Transactions: 1518 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xe0a66218c40230967d4240d25f6220a28e52c7ffat txn 0x3edc606a4e2604ff3ca5dd8f9de5468a5c0b5ca13654e27113f9ce919fd545d3
Token Balance:
 Latest 25 transactions from a total of 1518 transactions

TxHash Age From To Value [TxFee]
0x3ce5bd43999c2b44bd293f653d45f02a3ee8161720078bd14f2795b4d510c21033 mins ago0xf902d068920234957d2908b8b0156e61c0bea2c2  IN   Etheremon_AdventureRevenue20 Ether0.00037025
0xb250fcf23abc6ebcc0ad297c8f0d0e181d33318cd8b79d6255cbd4eaf618eafb13 hrs 35 mins ago0x2fef65e4d69a38bf0dd074079f367cdf176ec0de  IN   Etheremon_AdventureRevenue20 Ether0.000221958
0x08e8afad09b4a84c0a50eba7e05edbfd89f850475e5fa67d2f41f9298a86561d14 hrs 52 mins ago0xf796b8fb98c7c98fd4b5424ced013820d1f2ee76  IN   Etheremon_AdventureRevenue20 Ether0.000170315
0x0ef0f2bd9da5122967d79e48814085a15a3617e82d55b22c70ffebedbedbd1d719 hrs 19 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.0001775664
0xdf9b2fdede2ef308a7405943692a32168d74cfdfffa3a1fb73061ed8118ef21919 hrs 19 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.00017772
0xc00d885b3330da635d52ed418f1d3a0760033117e3ad96fdce5a94ae992b3c0b19 hrs 19 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.00017772
0x083d23af3faac3bcf800dd4917378a91e1427cb7ca5dcb4107b5fffc556fb54a19 hrs 20 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.0001775664
0x62cde62b37a47a336be5b79a20c67fcb973df679c3c76f13209140eaf16510c919 hrs 21 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.00017772
0x52df55a8e5a5363f85469d0d07eb152beb9aac6db90d38f7999c2fea7bd1e77919 hrs 22 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.0001775664
0x94b09175a6cde5cfb0fb07f9add528822525f9f7d83267998b3462b71fcbe72819 hrs 22 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.00017772
0x595773b7503e25dba93caa1b7bb6e7f180c8d0dfd61cfb51fc0a800edc44ded619 hrs 23 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.00017772
0x0b65f48ba35e138aa7f8bd895762681afcf3df98d8967533312310793eaa487719 hrs 23 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.0001593864
0x85a92973e8e8947201c32749e96cef19eb009c9a92f77f7598f772884c0888c319 hrs 23 mins ago0xa6fe83dcf28cc982818656ba680e03416824d5e4  IN   Etheremon_AdventureRevenue20 Ether0.0001593864
0x3495749ba6e11ddd85558f25bc715250b77936ec508d3b917b4c969ae483e87722 hrs 27 mins ago0x2fef65e4d69a38bf0dd074079f367cdf176ec0de  IN   Etheremon_AdventureRevenue20 Ether0.00022215
0x6587ecdfbdf24cfc38b342e560f5590b1a44688f407b0d472ceba682b30f9d1522 hrs 27 mins ago0x2fef65e4d69a38bf0dd074079f367cdf176ec0de  IN   Etheremon_AdventureRevenue20 Ether0.000221958
0xc146a89b134577a5ec1340ccb05b2db26fd61b9b9106e87edeb1a170f67a8f1f22 hrs 29 mins ago0x2fef65e4d69a38bf0dd074079f367cdf176ec0de  IN   Etheremon_AdventureRevenue20 Ether0.00022215
0xe4f0388556a6e73ad644c99d18d1e96d259311539b63a1ff138479333381ccc623 hrs 2 mins ago0xbaca1a10f0c0b11571f58a3d027ad5637958ff47  IN   Etheremon_AdventureRevenue20 Ether0.000311958
0x5c86a9dd68efcfd899b368d31c2f815a510cc0ff4b2b058c9545c79fdd4f499723 hrs 9 mins ago0xbaca1a10f0c0b11571f58a3d027ad5637958ff47  IN   Etheremon_AdventureRevenue20 Ether0.00031215
0xbcb1fc76b39ac3a7eba526ab0ab210f171d845c281be9d5f173483831220f77623 hrs 20 mins ago0xbaca1a10f0c0b11571f58a3d027ad5637958ff47  IN   Etheremon_AdventureRevenue20 Ether0.000311958
0x05d7de878290aad4013473fd0335827853b371e539bcf379d4b1707ac81b4f5c23 hrs 30 mins ago0x9d9d850167184c32bc73995125298a7a8119d5c1  IN   Etheremon_AdventureRevenue20 Ether0.000311958
0x39d7e3d4cec5fa0ce3fa5abbdee919bde70c5329d06dc0131e6b822175f1f65b1 day 4 hrs ago0x93feb402e40d0ca8714034934ef281aa5aa96455  IN   Etheremon_AdventureRevenue20 Ether0.000851575018
0xe4ada61a632b3507a25015182f20609ce039bab9b71ea2232367f0937d99a1241 day 6 hrs ago0xf902d068920234957d2908b8b0156e61c0bea2c2  IN   Etheremon_AdventureRevenue20 Ether0.00022215
0x86a6e494c8bf774634643bfd3cf1f63c92cdb6a91900306b92615a91f20d0fda1 day 12 hrs ago0xf375ad0799ae89793cf53875916d9ee7cb3ce49b  IN   Etheremon_AdventureRevenue20 Ether0.0006806712
0x4533249423a696fe7429662f4417714736897c9669b9dcfd562e3a05f67331de1 day 14 hrs ago0xd2faf32104bff6d15f20375912b92e068b0f442a  IN   Etheremon_AdventureRevenue20 Ether0.0001481
0xa3bd7ff652ca7bdb3991caa2cf3be2d6a51dd54b5194704c612ced19042f58331 day 14 hrs ago0xd2faf32104bff6d15f20375912b92e068b0f442a  IN   Etheremon_AdventureRevenue20 Ether0.000221958
[ 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
0x3ce5bd43999c2b44bd293f653d45f02a3ee8161720078bd14f2795b4d510c210710891033 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xf902d068920234957d2908b8b0156e61c0bea2c20.0144 Ether
0xb250fcf23abc6ebcc0ad297c8f0d0e181d33318cd8b79d6255cbd4eaf618eafb710616613 hrs 35 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40x2fef65e4d69a38bf0dd074079f367cdf176ec0de0.0036 Ether
0x08e8afad09b4a84c0a50eba7e05edbfd89f850475e5fa67d2f41f9298a86561d710587714 hrs 52 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xf796b8fb98c7c98fd4b5424ced013820d1f2ee760.0108 Ether
0x0ef0f2bd9da5122967d79e48814085a15a3617e82d55b22c70ffebedbedbd1d7710490419 hrs 19 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.0036 Ether
0xdf9b2fdede2ef308a7405943692a32168d74cfdfffa3a1fb73061ed8118ef219710490219 hrs 19 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.0036 Ether
0xc00d885b3330da635d52ed418f1d3a0760033117e3ad96fdce5a94ae992b3c0b710490219 hrs 19 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.009 Ether
0x083d23af3faac3bcf800dd4917378a91e1427cb7ca5dcb4107b5fffc556fb54a710489919 hrs 20 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.0036 Ether
0x62cde62b37a47a336be5b79a20c67fcb973df679c3c76f13209140eaf16510c9710489619 hrs 21 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.0009 Ether
0x52df55a8e5a5363f85469d0d07eb152beb9aac6db90d38f7999c2fea7bd1e779710489319 hrs 22 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.0018 Ether
0x94b09175a6cde5cfb0fb07f9add528822525f9f7d83267998b3462b71fcbe728710489119 hrs 22 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.0018 Ether
0x595773b7503e25dba93caa1b7bb6e7f180c8d0dfd61cfb51fc0a800edc44ded6710488819 hrs 23 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xa6fe83dcf28cc982818656ba680e03416824d5e40.0153 Ether
0x3495749ba6e11ddd85558f25bc715250b77936ec508d3b917b4c969ae483e877710424322 hrs 27 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40x2fef65e4d69a38bf0dd074079f367cdf176ec0de0.0081 Ether
0x6587ecdfbdf24cfc38b342e560f5590b1a44688f407b0d472ceba682b30f9d15710424022 hrs 27 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40x2fef65e4d69a38bf0dd074079f367cdf176ec0de0.0018 Ether
0xc146a89b134577a5ec1340ccb05b2db26fd61b9b9106e87edeb1a170f67a8f1f710423522 hrs 29 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40x2fef65e4d69a38bf0dd074079f367cdf176ec0de0.0045 Ether
0xe4f0388556a6e73ad644c99d18d1e96d259311539b63a1ff138479333381ccc6710411523 hrs 2 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xbaca1a10f0c0b11571f58a3d027ad5637958ff470.3033 Ether
0x5c86a9dd68efcfd899b368d31c2f815a510cc0ff4b2b058c9545c79fdd4f4997710409523 hrs 9 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xbaca1a10f0c0b11571f58a3d027ad5637958ff470.2475 Ether
0xbcb1fc76b39ac3a7eba526ab0ab210f171d845c281be9d5f173483831220f776710406523 hrs 20 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xbaca1a10f0c0b11571f58a3d027ad5637958ff470.2169 Ether
0x05d7de878290aad4013473fd0335827853b371e539bcf379d4b1707ac81b4f5c710402723 hrs 30 mins ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40x9d9d850167184c32bc73995125298a7a8119d5c10.1611 Ether
0x39d7e3d4cec5fa0ce3fa5abbdee919bde70c5329d06dc0131e6b822175f1f65b71029091 day 4 hrs ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40x93feb402e40d0ca8714034934ef281aa5aa964550.0009 Ether
0xe4ada61a632b3507a25015182f20609ce039bab9b71ea2232367f0937d99a12471026221 day 6 hrs ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xf902d068920234957d2908b8b0156e61c0bea2c20.0126 Ether
0x86a6e494c8bf774634643bfd3cf1f63c92cdb6a91900306b92615a91f20d0fda71013311 day 12 hrs ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xf375ad0799ae89793cf53875916d9ee7cb3ce49b0.0117 Ether
0x4533249423a696fe7429662f4417714736897c9669b9dcfd562e3a05f67331de71008761 day 14 hrs ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xd2faf32104bff6d15f20375912b92e068b0f442a0.0108 Ether
0xa3bd7ff652ca7bdb3991caa2cf3be2d6a51dd54b5194704c612ced19042f583371008361 day 14 hrs ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xd2faf32104bff6d15f20375912b92e068b0f442a0.0063 Ether
0x5eecb8ad6a4f8c946d6fa15f29d58703a9350489c90940f29b00131b5bbbe7c971008341 day 14 hrs ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40xd2faf32104bff6d15f20375912b92e068b0f442a0.0009 Ether
0x8f6e403a2d4e28095d08964740205d442a13d742447bfa3d0e5c9764f1eb932770998761 day 18 hrs ago0x50067c62078579cdc0c76fc04fd28fb6fe3afcd40x0e6c98e8c66b9cfa7a5e482b345e6e93b55e218c0.0729 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: EtheremonAdventureRevenue
Compiler Text: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.16;

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

contract BasicAccessControl {
    address public owner;
    // address[] public moderators;
    uint16 public totalModerators = 0;
    mapping (address => bool) public moderators;
    bool public isMaintaining = false;

    function BasicAccessControl() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    modifier onlyModerators() {
        require(msg.sender == owner || moderators[msg.sender] == true);
        _;
    }

    modifier isActive {
        require(!isMaintaining);
        _;
    }

    function ChangeOwner(address _newOwner) onlyOwner public {
        if (_newOwner != address(0)) {
            owner = _newOwner;
        }
    }


    function AddModerator(address _newModerator) onlyOwner public {
        if (moderators[_newModerator] == false) {
            moderators[_newModerator] = true;
            totalModerators += 1;
        }
    }
    
    function RemoveModerator(address _oldModerator) onlyOwner public {
        if (moderators[_oldModerator] == true) {
            moderators[_oldModerator] = false;
            totalModerators -= 1;
        }
    }

    function UpdateMaintaining(bool _isMaintaining) onlyOwner public {
        isMaintaining = _isMaintaining;
    }
}

contract ERC20Interface {
    function totalSupply() public constant returns (uint);
    function balanceOf(address tokenOwner) public constant returns (uint balance);
    function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);
}

interface EtheremonAdventureItem {
    function ownerOf(uint256 _tokenId) external view returns (address);
    function getItemInfo(uint _tokenId) constant external returns(uint classId, uint value);
    function spawnItem(uint _classId, uint _value, address _owner) external returns(uint);
}

contract EtheremonAdventureData {
    
    function addLandRevenue(uint _siteId, uint _emontAmount, uint _etherAmount) external;
    function addTokenClaim(uint _tokenId, uint _emontAmount, uint _etherAmount) external;
    
    // public function
    function getLandRevenue(uint _classId) constant public returns(uint _emontAmount, uint _etherAmount);
    function getTokenClaim(uint _tokenId) constant public returns(uint _emontAmount, uint _etherAmount);
}

contract EtheremonAdventureRevenue is BasicAccessControl {
    using SafeMath for uint;
    
    struct PairData {
        uint d1;
        uint d2;
    }
    
    address public tokenContract;
    address public adventureDataContract;
    address public adventureItemContract;

    modifier requireTokenContract {
        require(tokenContract != address(0));
        _;
    }
    
    modifier requireAdventureDataContract {
        require(adventureDataContract != address(0));
        _;
    }

    modifier requireAdventureItemContract {
        require(adventureItemContract != address(0));
        _;
    }
    
    
    function setConfig(address _tokenContract, address _adventureDataContract, address _adventureItemContract) onlyModerators public {
        tokenContract = _tokenContract;
        adventureDataContract = _adventureDataContract;
        adventureItemContract = _adventureItemContract;
    }
    
    function withdrawEther(address _sendTo, uint _amount) onlyOwner public {
        // it is used in case we need to upgrade the smartcontract
        if (_amount > address(this).balance) {
            revert();
        }
        _sendTo.transfer(_amount);
    }
    
    function withdrawToken(address _sendTo, uint _amount) onlyOwner requireTokenContract external {
        ERC20Interface token = ERC20Interface(tokenContract);
        if (_amount > token.balanceOf(address(this))) {
            revert();
        }
        token.transfer(_sendTo, _amount);
    }
    // public
    
    function () payable public {
    }
    

    function getEarning(uint _tokenId) constant public returns(uint _emontAmount, uint _ethAmount) {
        PairData memory tokenInfo;
        PairData memory currentRevenue;
        PairData memory claimedRevenue;
        (tokenInfo.d1, tokenInfo.d2) = EtheremonAdventureItem(adventureItemContract).getItemInfo(_tokenId);
        EtheremonAdventureData data = EtheremonAdventureData(adventureDataContract);
        (currentRevenue.d1, currentRevenue.d2) = data.getLandRevenue(tokenInfo.d1);
        (claimedRevenue.d1, claimedRevenue.d2) = data.getTokenClaim(_tokenId);
        
        _emontAmount = ((currentRevenue.d1.mul(9)).div(100)).sub(claimedRevenue.d1);
        _ethAmount = ((currentRevenue.d2.mul(9)).div(100)).sub(claimedRevenue.d2);
    }
    
    function claimEarning(uint _tokenId) isActive requireTokenContract requireAdventureDataContract requireAdventureItemContract public {
        EtheremonAdventureItem item = EtheremonAdventureItem(adventureItemContract);
        EtheremonAdventureData data = EtheremonAdventureData(adventureDataContract);
        if (item.ownerOf(_tokenId) != msg.sender) revert();
        PairData memory tokenInfo;
        PairData memory currentRevenue;
        PairData memory claimedRevenue;
        PairData memory pendingRevenue;
        (tokenInfo.d1, tokenInfo.d2) = item.getItemInfo(_tokenId);
        (currentRevenue.d1, currentRevenue.d2) = data.getLandRevenue(tokenInfo.d1);
        (claimedRevenue.d1, claimedRevenue.d2) = data.getTokenClaim(_tokenId);
        
        pendingRevenue.d1 = ((currentRevenue.d1.mul(9)).div(100)).sub(claimedRevenue.d1);
        pendingRevenue.d2 = ((currentRevenue.d2.mul(9)).div(100)).sub(claimedRevenue.d2);
        
        if (pendingRevenue.d1 == 0 && pendingRevenue.d2 == 0) revert();
        data.addTokenClaim(_tokenId, pendingRevenue.d1, pendingRevenue.d2);
        
        if (pendingRevenue.d1 > 0) {
            ERC20Interface(tokenContract).transfer(msg.sender, pendingRevenue.d1);
        }
        
        if (pendingRevenue.d2 > 0) {
            msg.sender.transfer(pendingRevenue.d2);
        }
        
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"adventureItemContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"moderators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenContract","type":"address"},{"name":"_adventureDataContract","type":"address"},{"name":"_adventureItemContract","type":"address"}],"name":"setConfig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_isMaintaining","type":"bool"}],"name":"UpdateMaintaining","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalModerators","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sendTo","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newModerator","type":"address"}],"name":"AddModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"adventureDataContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sendTo","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_oldModerator","type":"address"}],"name":"RemoveModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"claimEarning","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getEarning","outputs":[{"name":"_emontAmount","type":"uint256"},{"name":"_ethAmount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isMaintaining","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"ChangeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

  Contract Creation Code Switch To Opcodes View
6060604052600080546002805460ff19169055600160a060020a033316600160b060020a0319909116179055610e0b8061003a6000396000f3006060604052600436106100cc5763ffffffff60e060020a6000350416630e65543281146100ce57806314d0f1ba146100fd5780633141e25b1461013057806348ef5aa81461015b5780634efb023e14610173578063522f68151461019d57806355a373d6146101bf5780636c81fd6d146101d25780636ebe299f146101f15780638da5cb5b146102045780639e281a9814610217578063b85d627514610239578063cc1ace9a14610258578063d2519c1e1461026e578063ee4e44161461029c578063f2853292146102af575b005b34156100d957600080fd5b6100e16102ce565b604051600160a060020a03909116815260200160405180910390f35b341561010857600080fd5b61011c600160a060020a03600435166102dd565b604051901515815260200160405180910390f35b341561013b57600080fd5b6100cc600160a060020a03600435811690602435811690604435166102f2565b341561016657600080fd5b6100cc600435151561039a565b341561017e57600080fd5b6101866103c8565b60405161ffff909116815260200160405180910390f35b34156101a857600080fd5b6100cc600160a060020a03600435166024356103ea565b34156101ca57600080fd5b6100e1610451565b34156101dd57600080fd5b6100cc600160a060020a0360043516610465565b34156101fc57600080fd5b6100e161050f565b341561020f57600080fd5b6100e161051e565b341561022257600080fd5b6100cc600160a060020a036004351660243561052d565b341561024457600080fd5b6100cc600160a060020a0360043516610669565b341561026357600080fd5b6100cc600435610713565b341561027957600080fd5b610284600435610b42565b60405191825260208201526040908101905180910390f35b34156102a757600080fd5b61011c610d12565b34156102ba57600080fd5b6100cc600160a060020a0360043516610d1b565b600454600160a060020a031681565b60016020526000908152604090205460ff1681565b60005433600160a060020a039081169116148061032d5750600160a060020a03331660009081526001602081905260409091205460ff161515145b151561033857600080fd5b60028054600160a060020a039485166101000274ffffffffffffffffffffffffffffffffffffffff00199091161790556003805492841673ffffffffffffffffffffffffffffffffffffffff1993841617905560048054919093169116179055565b60005433600160a060020a039081169116146103b557600080fd5b6002805460ff1916911515919091179055565b60005474010000000000000000000000000000000000000000900461ffff1681565b60005433600160a060020a0390811691161461040557600080fd5b30600160a060020a03163181111561041c57600080fd5b600160a060020a03821681156108fc0282604051600060405180830381858888f19350505050151561044d57600080fd5b5050565b6002546101009004600160a060020a031681565b60005433600160a060020a0390811691161461048057600080fd5b600160a060020a03811660009081526001602052604090205460ff16151561050c57600160a060020a03811660009081526001602081905260408220805460ff191682179055815461ffff7401000000000000000000000000000000000000000080830482169093011690910275ffff0000000000000000000000000000000000000000199091161790555b50565b600354600160a060020a031681565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461054957600080fd5b6002546101009004600160a060020a0316151561056557600080fd5b506002546101009004600160a060020a0316806370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156105c557600080fd5b6102c65a03f115156105d657600080fd5b505050604051805190508211156105ec57600080fd5b80600160a060020a031663a9059cbb848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561064957600080fd5b6102c65a03f1151561065a57600080fd5b50505060405180515050505050565b60005433600160a060020a0390811691161461068457600080fd5b600160a060020a03811660009081526001602081905260409091205460ff161515141561050c57600160a060020a03166000908152600160205260408120805460ff19169055805475ffff0000000000000000000000000000000000000000198116740100000000000000000000000000000000000000009182900461ffff9081166000190116909102179055565b60008061071e610dc8565b610726610dc8565b61072e610dc8565b610736610dc8565b60025460ff161561074657600080fd5b6002546101009004600160a060020a0316151561076257600080fd5b600354600160a060020a0316151561077957600080fd5b600454600160a060020a0316151561079057600080fd5b600454600354600160a060020a03918216975081169550331686636352211e8960006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156107ef57600080fd5b6102c65a03f1151561080057600080fd5b50505060405180519050600160a060020a031614151561081f57600080fd5b85600160a060020a031663de7fe3e78860006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b151561086d57600080fd5b6102c65a03f1151561087e57600080fd5b50505060405180519060200180516020870152508452600160a060020a03851663d3872d57855160006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b15156108e357600080fd5b6102c65a03f115156108f457600080fd5b50505060405180519060200180516020860152508352600160a060020a03851663933116328860006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b151561095857600080fd5b6102c65a03f1151561096957600080fd5b505050604051805190602001805160208501525082526109b482516109a8606461099c600988519063ffffffff610d7216565b9063ffffffff610da116565b9063ffffffff610db616565b81526109d960208301516109a8606461099c600988602001519063ffffffff610d7216565b602082015280511580156109ef57508060200151155b156109f957600080fd5b600160a060020a038516637215513f888351846020015160405160e060020a63ffffffff8616028152600481019390935260248301919091526044820152606401600060405180830381600087803b1515610a5357600080fd5b6102c65a03f11515610a6457600080fd5b505050600081600001511115610af5576002546101009004600160a060020a031663a9059cbb33835160006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610ad957600080fd5b6102c65a03f11515610aea57600080fd5b505050604051805150505b600081602001511115610b395733600160a060020a03166108fc82602001519081150290604051600060405180830381858888f193505050501515610b3957600080fd5b50505050505050565b600080610b4d610dc8565b610b55610dc8565b610b5d610dc8565b600454600090600160a060020a031663de7fe3e788836040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b1515610baf57600080fd5b6102c65a03f11515610bc057600080fd5b5050506040518051906020018051602087015250845250600354600160a060020a03168063d3872d57855160006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b1515610c2957600080fd5b6102c65a03f11515610c3a57600080fd5b50505060405180519060200180516020860152508352600160a060020a03811663933116328860006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b1515610c9e57600080fd5b6102c65a03f11515610caf57600080fd5b50505060405180519060200180516020850152508252610ce282516109a8606461099c600988519063ffffffff610d7216565b9550610d0782602001516109a8606461099c600988602001519063ffffffff610d7216565b945050505050915091565b60025460ff1681565b60005433600160a060020a03908116911614610d3657600080fd5b600160a060020a0381161561050c5760008054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b6000821515610d8357506000610d9b565b50818102818382811515610d9357fe5b0414610d9b57fe5b92915050565b60008183811515610dae57fe5b049392505050565b600082821115610dc257fe5b50900390565b6040805190810160405260008082526020820152905600a165627a7a72305820d4fa2754ef2b9bae5fe0b520f9a3b0e995471831d1b2ba2058c2aa0d55b66ceb0029

   Swarm Source:
bzzr://d4fa2754ef2b9bae5fe0b520f9a3b0e995471831d1b2ba2058c2aa0d55b66ceb

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.