Contract 0x50067C62078579CDc0c76Fc04fD28FB6fe3aFcd4

 
Ad
Ad
Txn Hash Method
Block
From
To
Value
0x9db3651fb63778b4ac75c93ea43e55486b773332efeb385ef723c4ee91184746Claim Earning126418162021-06-15 22:35:387 days 14 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00101502929
0x1538adfa1518ae398db0c643afd7812d7528cea5427836d5a3ecba28af49e124Claim Earning126418162021-06-15 22:35:387 days 14 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00101502929
0xa1bd601d6bea6362eccdd8dd3a5595401be518e5d720f79142306c431717779bClaim Earning126418162021-06-15 22:35:387 days 14 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00085332443424.380001547
0xac0d5a2a1ea03bc3fbfdadbe7217bc19ab695fb28939cd732c6089b915f8c2a1Claim Earning126418162021-06-15 22:35:387 days 14 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00085303187424.380001547
0xb01718bfbce96ae10a1c0f1d1f17deca07a140d2a4820d45f9f21b476f9b959eClaim Earning124254792021-05-13 10:21:4741 days 2 hrs ago0x3b18f52dddbd6789ecf1b58fc29dd29606fc866c IN  Etheremon: Adventure Revenue 20 Ether0.01357808160
0xf8d2584dd37aaf448594cb44b9ca2fe73417880fd36cae4dc0872296da7d4b87Claim Earning123741462021-05-05 12:19:4549 days 28 mins ago0x57ecadb3f1fd238ec5b99a2545856b965c38e44e IN  Etheremon: Adventure Revenue 20 Ether0.00424604416338.000001459
0xa5c62b4222be195120c2b3345c68c5eb7c4ac9e417a9665b4dd225b876b52236Claim Earning123512922021-05-01 23:23:0352 days 13 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00085303187424.380001547
0xeb19580418e130b2100483a7c74674d453b8584dca1f1917ad44063cf9427c4aClaim Earning123512922021-05-01 23:23:0352 days 13 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00084002405124.000001459
0xb087305022d1c90ab9af9c5937ac79f0caf3a0e6e99d54b516e902dd534f8daaClaim Earning123512922021-05-01 23:23:0352 days 13 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00084002405124.000001459
0x898eed9c122288444a29ada082ec72ecd075158b7a91607af4c9d90be4886b63Claim Earning123461632021-05-01 4:30:0053 days 8 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00094502727
0x436a5a36baff47004aa753da0e8f3ff27defc8d03904e0b69b92381b4946cd99Claim Earning123461632021-05-01 4:30:0053 days 8 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00094502727
0x8c743f0506aa9cd7c77d4415ff48f4cec0332c4d68bb9afa4064f709f2941af2Claim Earning123461062021-05-01 4:14:5653 days 8 hrs ago0xf3a2727a3447653a58d57e4be63d5d5cdc55421b IN  Etheremon: Adventure Revenue 20 Ether0.00094470327
0x117d8a0cfb4f2900b6101ab4f45e9ef5978ccea3efaf8bb0f0ec590ae9d16c07Claim Earning122474502021-04-15 22:37:4068 days 14 hrs ago0xbfdee93bb3bb9631a6bee6257f9d5197af1a1f36 IN  Etheremon: Adventure Revenue 20 Ether0.00599828010285.000001459
0xfbd9531ab6b45b17f045f9d7a9b932fd38fb9b902d9596a644be0b7ab3e09232Claim Earning122116382021-04-10 10:38:2774 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.0079313490
0xe67b30189a6a60b339c2812cbeed7fcb66581cfafcabde8c20ad3fdd26ea61dfClaim Earning122114812021-04-10 9:59:0874 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00687476478
0xc9ef56a4b46fe2b24c11952be3d765c11c393eefca2453ce4987f26c8b850cf2Claim Earning122114812021-04-10 9:59:0874 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.006751370876.6
0x25cd7bc12832eb88fb68ff67bee1a6705dbdf687b2d62b072c22f6d8bb2c220dClaim Earning122114782021-04-10 9:58:5674 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00687382878
0xf42d12b42bb16cce1f77befce8f0cb31443a740ae9a715ff9672243a0aae879fClaim Earning122114782021-04-10 9:58:5674 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00687476478
0xde8a5d864848795a9e8b4cf901f2a2bc1fac3e0a580209271eb11fd7ab388365Claim Earning122114782021-04-10 9:58:5674 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00687476478
0xbe1132d0f64ef0a0469e2615b8d9b1ef3460878d82656d8b3195c0109bedc075Claim Earning122114702021-04-10 9:57:1174 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00687382878
0xaf58496e0942c7d0ed855e8bfec49e035e2669f6d984453ee47dd6b5f70f7a05Claim Earning122114682021-04-10 9:56:4274 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00691789178.5
0x444c15dd8cf250ec826a28a56e5da7dc67ad330429574dfc6db76367746c74baClaim Earning122114652021-04-10 9:56:2474 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00696195479
0xfc77adb157660a35baa6b4a8888087cc54e01491fb9083a0e35f5381eb9709dfClaim Earning122114632021-04-10 9:56:1774 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00696290279
0x3ed178734878a20384485d71a5bd2cb0aa4a136d632f749a3b788264972bac9fClaim Earning122114612021-04-10 9:55:5374 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00687382878
0xc0d41924ec6ac20ed2fd63a96965eb8378d23c90d93740a38efc6b879d6d1e9bClaim Earning122114592021-04-10 9:55:1874 days 2 hrs ago0xff1a9252def51ede4489c05998f5e7cf8ad2c1b3 IN  Etheremon: Adventure Revenue 20 Ether0.00696290279
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xf8d2584dd37aaf448594cb44b9ca2fe73417880fd36cae4dc0872296da7d4b87123741462021-05-05 12:19:4549 days 28 mins ago Etheremon: Adventure Revenue 20x57ecadb3f1fd238ec5b99a2545856b965c38e44e0.0009 Ether
0x117d8a0cfb4f2900b6101ab4f45e9ef5978ccea3efaf8bb0f0ec590ae9d16c07122474502021-04-15 22:37:4068 days 14 hrs ago Etheremon: Adventure Revenue 20xbfdee93bb3bb9631a6bee6257f9d5197af1a1f360.0009 Ether
0xfbd9531ab6b45b17f045f9d7a9b932fd38fb9b902d9596a644be0b7ab3e09232122116382021-04-10 10:38:2774 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0054 Ether
0xe67b30189a6a60b339c2812cbeed7fcb66581cfafcabde8c20ad3fdd26ea61df122114812021-04-10 9:59:0874 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0036 Ether
0xc9ef56a4b46fe2b24c11952be3d765c11c393eefca2453ce4987f26c8b850cf2122114812021-04-10 9:59:0874 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0072 Ether
0x25cd7bc12832eb88fb68ff67bee1a6705dbdf687b2d62b072c22f6d8bb2c220d122114782021-04-10 9:58:5674 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.009 Ether
0xf42d12b42bb16cce1f77befce8f0cb31443a740ae9a715ff9672243a0aae879f122114782021-04-10 9:58:5674 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0036 Ether
0xde8a5d864848795a9e8b4cf901f2a2bc1fac3e0a580209271eb11fd7ab388365122114782021-04-10 9:58:5674 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0126 Ether
0xbe1132d0f64ef0a0469e2615b8d9b1ef3460878d82656d8b3195c0109bedc075122114702021-04-10 9:57:1174 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0126 Ether
0xaf58496e0942c7d0ed855e8bfec49e035e2669f6d984453ee47dd6b5f70f7a05122114682021-04-10 9:56:4274 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0054 Ether
0x444c15dd8cf250ec826a28a56e5da7dc67ad330429574dfc6db76367746c74ba122114652021-04-10 9:56:2474 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.009 Ether
0xfc77adb157660a35baa6b4a8888087cc54e01491fb9083a0e35f5381eb9709df122114632021-04-10 9:56:1774 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0108 Ether
0x3ed178734878a20384485d71a5bd2cb0aa4a136d632f749a3b788264972bac9f122114612021-04-10 9:55:5374 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0045 Ether
0xc0d41924ec6ac20ed2fd63a96965eb8378d23c90d93740a38efc6b879d6d1e9b122114592021-04-10 9:55:1874 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0144 Ether
0xe3c63c03cfef6be7cec58f88e4cbd006081c8dd1726691f8afc2b24cefc9ff6d122114442021-04-10 9:53:1974 days 2 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0063 Ether
0x471972cd840d25972fdbab9b8aaa061bfa041142a18679c591c9e9933de55123116490832021-01-13 21:08:56160 days 15 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0108 Ether
0x34fa20212c43d912d2493c4a1102d20687b852b7ac90ab1d0c0dc90f120d2a0b116490242021-01-13 20:57:07160 days 15 hrs ago Etheremon: Adventure Revenue 20xff1a9252def51ede4489c05998f5e7cf8ad2c1b30.0054 Ether
0x663a4447a7e48b9961112a89942965bda4dcc33c9e0c6b2ae3170d80a3f52adf115937192021-01-05 9:29:55169 days 3 hrs ago Etheremon: Adventure Revenue 20x3b18f52dddbd6789ecf1b58fc29dd29606fc866c0.0225 Ether
0x4bac7c5691fae10625d3078081dd9b8f7cd4a4f693a7636037c4a9614bf8764a115937192021-01-05 9:29:55169 days 3 hrs ago Etheremon: Adventure Revenue 20x3b18f52dddbd6789ecf1b58fc29dd29606fc866c0.0225 Ether
0x7ee481ffcba374ab618f8503c3a5c393f639390df54b641923f2a7ab7b701f40115937192021-01-05 9:29:55169 days 3 hrs ago Etheremon: Adventure Revenue 20x3b18f52dddbd6789ecf1b58fc29dd29606fc866c0.0225 Ether
0x61bd11bb5cfdf62b6466c59f58d9ebeb40e69cbac360208f90f493e2dc1b4035115937192021-01-05 9:29:55169 days 3 hrs ago Etheremon: Adventure Revenue 20x3b18f52dddbd6789ecf1b58fc29dd29606fc866c0.0162 Ether
0xbec986f03f9815452bb8a533df9d94109772f7f830ba4c29b51e8259356d4894115937192021-01-05 9:29:55169 days 3 hrs ago Etheremon: Adventure Revenue 20x3b18f52dddbd6789ecf1b58fc29dd29606fc866c0.0225 Ether
0x030b8b60a0b3ac5ab2a5e68d9cdd33c1f779ee80edcd3b6d69f80c7d09dc0643115937192021-01-05 9:29:55169 days 3 hrs ago Etheremon: Adventure Revenue 20x3b18f52dddbd6789ecf1b58fc29dd29606fc866c0.0315 Ether
0x3a6ecb68c3fcc1a041e815c6a1a7b33bd42b6956d010bf06ba76f0ce2c2b5c59113938772020-12-05 17:06:09199 days 19 hrs ago Etheremon: Adventure Revenue 20x987a1c951d807ebcbbd644d51e510013429f43c30.0108 Ether
0x7d98cf8070d57baf636c65a108e883c8326e62495b791a7528ae29bb96f9ef4b113933282020-12-05 15:02:58199 days 21 hrs ago Etheremon: Adventure Revenue 20xe05dac7be2c58d43c88634ec62def630562910f70.0108 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtheremonAdventureRevenue

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-09-04
*/

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 Security Audit

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"}]

6060604052600080546002805460ff19169055600160a060020a033316600160b060020a0319909116179055610e0b8061003a6000396000f3006060604052600436106100cc5763ffffffff60e060020a6000350416630e65543281146100ce57806314d0f1ba146100fd5780633141e25b1461013057806348ef5aa81461015b5780634efb023e14610173578063522f68151461019d57806355a373d6146101bf5780636c81fd6d146101d25780636ebe299f146101f15780638da5cb5b146102045780639e281a9814610217578063b85d627514610239578063cc1ace9a14610258578063d2519c1e1461026e578063ee4e44161461029c578063f2853292146102af575b005b34156100d957600080fd5b6100e16102ce565b604051600160a060020a03909116815260200160405180910390f35b341561010857600080fd5b61011c600160a060020a03600435166102dd565b604051901515815260200160405180910390f35b341561013b57600080fd5b6100cc600160a060020a03600435811690602435811690604435166102f2565b341561016657600080fd5b6100cc600435151561039a565b341561017e57600080fd5b6101866103c8565b60405161ffff909116815260200160405180910390f35b34156101a857600080fd5b6100cc600160a060020a03600435166024356103ea565b34156101ca57600080fd5b6100e1610451565b34156101dd57600080fd5b6100cc600160a060020a0360043516610465565b34156101fc57600080fd5b6100e161050f565b341561020f57600080fd5b6100e161051e565b341561022257600080fd5b6100cc600160a060020a036004351660243561052d565b341561024457600080fd5b6100cc600160a060020a0360043516610669565b341561026357600080fd5b6100cc600435610713565b341561027957600080fd5b610284600435610b42565b60405191825260208201526040908101905180910390f35b34156102a757600080fd5b61011c610d12565b34156102ba57600080fd5b6100cc600160a060020a0360043516610d1b565b600454600160a060020a031681565b60016020526000908152604090205460ff1681565b60005433600160a060020a039081169116148061032d5750600160a060020a03331660009081526001602081905260409091205460ff161515145b151561033857600080fd5b60028054600160a060020a039485166101000274ffffffffffffffffffffffffffffffffffffffff00199091161790556003805492841673ffffffffffffffffffffffffffffffffffffffff1993841617905560048054919093169116179055565b60005433600160a060020a039081169116146103b557600080fd5b6002805460ff1916911515919091179055565b60005474010000000000000000000000000000000000000000900461ffff1681565b60005433600160a060020a0390811691161461040557600080fd5b30600160a060020a03163181111561041c57600080fd5b600160a060020a03821681156108fc0282604051600060405180830381858888f19350505050151561044d57600080fd5b5050565b6002546101009004600160a060020a031681565b60005433600160a060020a0390811691161461048057600080fd5b600160a060020a03811660009081526001602052604090205460ff16151561050c57600160a060020a03811660009081526001602081905260408220805460ff191682179055815461ffff7401000000000000000000000000000000000000000080830482169093011690910275ffff0000000000000000000000000000000000000000199091161790555b50565b600354600160a060020a031681565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461054957600080fd5b6002546101009004600160a060020a0316151561056557600080fd5b506002546101009004600160a060020a0316806370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156105c557600080fd5b6102c65a03f115156105d657600080fd5b505050604051805190508211156105ec57600080fd5b80600160a060020a031663a9059cbb848460006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561064957600080fd5b6102c65a03f1151561065a57600080fd5b50505060405180515050505050565b60005433600160a060020a0390811691161461068457600080fd5b600160a060020a03811660009081526001602081905260409091205460ff161515141561050c57600160a060020a03166000908152600160205260408120805460ff19169055805475ffff0000000000000000000000000000000000000000198116740100000000000000000000000000000000000000009182900461ffff9081166000190116909102179055565b60008061071e610dc8565b610726610dc8565b61072e610dc8565b610736610dc8565b60025460ff161561074657600080fd5b6002546101009004600160a060020a0316151561076257600080fd5b600354600160a060020a0316151561077957600080fd5b600454600160a060020a0316151561079057600080fd5b600454600354600160a060020a03918216975081169550331686636352211e8960006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156107ef57600080fd5b6102c65a03f1151561080057600080fd5b50505060405180519050600160a060020a031614151561081f57600080fd5b85600160a060020a031663de7fe3e78860006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b151561086d57600080fd5b6102c65a03f1151561087e57600080fd5b50505060405180519060200180516020870152508452600160a060020a03851663d3872d57855160006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b15156108e357600080fd5b6102c65a03f115156108f457600080fd5b50505060405180519060200180516020860152508352600160a060020a03851663933116328860006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b151561095857600080fd5b6102c65a03f1151561096957600080fd5b505050604051805190602001805160208501525082526109b482516109a8606461099c600988519063ffffffff610d7216565b9063ffffffff610da116565b9063ffffffff610db616565b81526109d960208301516109a8606461099c600988602001519063ffffffff610d7216565b602082015280511580156109ef57508060200151155b156109f957600080fd5b600160a060020a038516637215513f888351846020015160405160e060020a63ffffffff8616028152600481019390935260248301919091526044820152606401600060405180830381600087803b1515610a5357600080fd5b6102c65a03f11515610a6457600080fd5b505050600081600001511115610af5576002546101009004600160a060020a031663a9059cbb33835160006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610ad957600080fd5b6102c65a03f11515610aea57600080fd5b505050604051805150505b600081602001511115610b395733600160a060020a03166108fc82602001519081150290604051600060405180830381858888f193505050501515610b3957600080fd5b50505050505050565b600080610b4d610dc8565b610b55610dc8565b610b5d610dc8565b600454600090600160a060020a031663de7fe3e788836040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b1515610baf57600080fd5b6102c65a03f11515610bc057600080fd5b5050506040518051906020018051602087015250845250600354600160a060020a03168063d3872d57855160006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b1515610c2957600080fd5b6102c65a03f11515610c3a57600080fd5b50505060405180519060200180516020860152508352600160a060020a03811663933116328860006040516040015260405160e060020a63ffffffff841602815260048101919091526024016040805180830381600087803b1515610c9e57600080fd5b6102c65a03f11515610caf57600080fd5b50505060405180519060200180516020850152508252610ce282516109a8606461099c600988519063ffffffff610d7216565b9550610d0782602001516109a8606461099c600988602001519063ffffffff610d7216565b945050505050915091565b60025460ff1681565b60005433600160a060020a03908116911614610d3657600080fd5b600160a060020a0381161561050c5760008054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b6000821515610d8357506000610d9b565b50818102818382811515610d9357fe5b0414610d9b57fe5b92915050565b60008183811515610dae57fe5b049392505050565b600082821115610dc257fe5b50900390565b6040805190810160405260008082526020820152905600a165627a7a72305820d4fa2754ef2b9bae5fe0b520f9a3b0e995471831d1b2ba2058c2aa0d55b66ceb0029

Swarm Source

bzzr://d4fa2754ef2b9bae5fe0b520f9a3b0e995471831d1b2ba2058c2aa0d55b66ceb
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.