Contract 0x95dAaaB98046846bF4B2853e23cba236fa394A31 2

 
EtheremonToken token contract has migrated to a new address.
Ad
Ad
Txn Hash Method
Block
From
To
Value
0x81a9bd1d049c8fbe31616e1eaaad598cffa8d743f9602240ff170ac929ac1424Approve132236682021-09-14 11:46:226 days 19 hrs ago0x71b7a04397f56498115e2d04b4b752032f618773 IN  EtheremonToken: Old EMONT Token0 Ether0.00156212 35
0xd74778d9585134feacb6aa25355b19dd74922bc97c913d627e15ebd77542ecccApprove131979282021-09-10 12:10:1710 days 19 hrs ago0xa9838c0f833d4e378fc937cc00d8b4080193815b IN  EtheremonToken: Old EMONT Token0 Ether0.002976514729 66.690148981
0x79c0692505bed1b76accb5935b369f311e115147ca48a9d53851c68b22d51ec9Approve131927782021-09-09 17:08:1411 days 14 hrs ago0x47dcbdf671dc8808d1397bda92b2caa4a7c4e951 IN  EtheremonToken: Old EMONT Token0 Ether0.004847578848 108.61218068
0x4ddebd531610fa42526888e21f3381b50ffe0d6a120887725d717ad505fb9a53Approve131912192021-09-09 11:20:1011 days 20 hrs ago0x71b7a04397f56498115e2d04b4b752032f618773 IN  EtheremonToken: Old EMONT Token0 Ether0.003439699437 77.068010351
0xce83e05a50ef9b4aa3caeea1949e69b3683de5597ca5ceeed6032c24e2add5f1Approve131912102021-09-09 11:18:1311 days 20 hrs ago0x419473f836faa97957a258d903b4822ab7d5094b IN  EtheremonToken: Old EMONT Token0 Ether0.003362873152 75.346682936
0xac95ce064894a4ba26297812a192692a6759d35837b76eacd4a463ba016780a9Approve131911972021-09-09 11:16:0611 days 20 hrs ago0x926138036ddc21ff6a9c0e0595096864963b47cf IN  EtheremonToken: Old EMONT Token0 Ether0.003599929285 80.658032039
0x8bba3119933648b3ece6d64f86f569332998c37c0354a3425c15a885a449f99cApprove131911312021-09-09 11:01:0411 days 20 hrs ago0x83ac654be75487b9cfcc80117cdfb4a4c70b68a1 IN  EtheremonToken: Old EMONT Token0 Ether0.00337609606 75.642948123
0x2b3a114b424ecf0a84e7251fc2f9c27dbd425cadf37433f08b90329133218bfbApprove131910792021-09-09 10:48:5711 days 20 hrs ago0x83ac654be75487b9cfcc80117cdfb4a4c70b68a1 IN  EtheremonToken: Old EMONT Token0 Ether0.005584774837 125.129387816
0x543330345e3cef2bb7cb5373da62cee31137181bf8a376fa20478666253e3ecdApprove131317332021-08-31 6:25:2821 days 1 hr ago0x7b17ed72e4f53ab73bd5d4776e5f8287d3dad052 IN  EtheremonToken: Old EMONT Token0 Ether0.003866937126 86.640462599
0x151004267de2782fb1a1505707b7d4c71cf580e5c90cd3dfb4a560613a67e653Transfer131314662021-08-31 5:27:5621 days 1 hr ago0xabdd6eb735595cbb54117c1adfab90dc00a38e16 IN  EtheremonToken: Old EMONT Token0 Ether0.004403214284.7
0xcc41bea2bc49f93fa3f8667ec499e23eaa0a2f49dce2c7c50ba3fc66c31061afApprove131182612021-08-29 4:30:1223 days 2 hrs ago0xabdd6eb735595cbb54117c1adfab90dc00a38e16 IN  EtheremonToken: Old EMONT Token0 Ether0.003338473674.8
0x9176d1e8288a2c6f26632e2386a500423c906a73aa018ef15c437892a993cfe8Approve131098792021-08-27 21:29:5824 days 9 hrs ago0xfb2e2148df7917cba729cbef05697bc1568a3723 IN  EtheremonToken: Old EMONT Token0 Ether0.00438857640898.32802493
0x4c42180aa26ce723dac83d9e1b5900471508b9ac539e5e77e5bd3e2f5b2276c8Approve130735482021-08-22 6:38:4130 days 47 mins ago0xa19928bdb61cc017ac55dc79599ea6b6ea75a42d IN  EtheremonToken: Old EMONT Token0 Ether0.000892446124 19.995656142
0xfb9b4647a8a37c46a733552dcc461c6d757be3e008c64a43af48f51d56e25fa9Approve130676602021-08-21 8:51:2030 days 22 hrs ago0xb98d2fc4552cf933b088929264bcc70746205b0c IN  EtheremonToken: Old EMONT Token0 Ether0.001284932 29
0x1deff539369f23beaa40f1bcb6346eee582915cf473c5874663a395d6ab18a75Approve130633772021-08-20 17:05:3731 days 14 hrs ago0xd53438af5f01c1baf895da407b2bc56ffe6cc73e IN  EtheremonToken: Old EMONT Token0 Ether0.002039139616 45.687838696
0xcaca4b2fbdb8e7b5bfb94b298322e3ccf7dfcfe167c88fd004c764b094fd52e4Approve130259522021-08-14 22:16:5437 days 9 hrs ago0xd6987b95da1ca81cd76d863856f95a7eeb88d628 IN  EtheremonToken: Old EMONT Token0 Ether0.0044582224199.888474883
0x977737130c035f5f590a0483f269cb93550f4705b591ab6f169cacd384b58b5bApprove130259522021-08-14 22:16:5437 days 9 hrs ago0xd6987b95da1ca81cd76d863856f95a7eeb88d628 IN  EtheremonToken: Old EMONT Token0 Ether0.00174336095839.060785058
0xc48a46b6d9f81d372c3287bccfec06f53f8775f7dad8d2e3c8de411fd0448cb9Approve129855752021-08-08 16:32:5943 days 14 hrs ago0x1ca020cd089c1a3e2d171076ee979650ca28f2db IN  EtheremonToken: Old EMONT Token0 Ether0.0026779260
0x7eaac5a4a1ff89a516a594f003793f357186e4da12d07468e2e65f8ec731f0e0Approve129489802021-08-02 23:44:5449 days 7 hrs ago0x585b6ae3a2d17f7be105b638e76c7ab060810389 IN  EtheremonToken: Old EMONT Token0 Ether0.001767427239.6
0xeb44db4547f8b1c8e3c77b9f82c35c2f9a40399ed65057af0da45c5a95ad9981Approve129318082021-07-31 6:41:2752 days 44 mins ago0xa93425eacb30aebb1f5a30d7b4e426ab3a9877c7 IN  EtheremonToken: Old EMONT Token0 Ether0.00080337618
0xe383b6c8aabc1bb52b91ede927b0db15a9ca013c81ca6348c1b5d48ac39456b5Approve129295452021-07-30 22:06:5352 days 9 hrs ago0xacab987a970d5f9f2535c1a1da38132fda31336e IN  EtheremonToken: Old EMONT Token0 Ether0.00138359231
0x0a53a321afc0c1e72a3b1f44d85c987742e5a99a8dff7e74572c9a0e875ec073Approve129056022021-07-27 2:52:3256 days 4 hrs ago0xa23b06028980a891dfe69a3ca06b65127e4b3125 IN  EtheremonToken: Old EMONT Token0 Ether0.00089264006520.000001459
0xadbd2ec4668bda2e452e023e5b08812ab52bd99c7d1e7b15bf923ffcf1c4abb3Approve129035212021-07-26 18:56:2556 days 12 hrs ago0x1488645df0a0dbeb9fcec70f55b63376de39d033 IN  EtheremonToken: Old EMONT Token0 Ether0.002231650
0xf29f549c9418ecf212deb611d42ae9facaa4cb985c098105206c81e8b510473cApprove129031842021-07-26 17:39:4756 days 13 hrs ago0xcea66ef017f1e4d8f81d391a29317cb99827649a IN  EtheremonToken: Old EMONT Token0 Ether0.00138359231
0x2e0fa26ab24b7279abbf50c2c3b79928d68c6cde680de6c2a5c9c93ff6a43dfbApprove128976682021-07-25 20:53:0457 days 10 hrs ago0x7cb094c6dc74163b06adfbc950e841a2f22d8e93 IN  EtheremonToken: Old EMONT Token0 Ether0.00071411216
[ Download CSV Export 

OVERVIEW

EtheremonToken token contract has migrated to 0xd6A5aB46ead26f49b03bBB1F9EB1Ad5c1767974a

View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtheremonToken

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

pragma solidity ^0.4.16;

// copyright [email protected]

contract SafeMath {

    /* function assert(bool assertion) internal { */
    /*   if (!assertion) { */
    /*     throw; */
    /*   } */
    /* }      // assert no longer needed once solidity is on 0.4.10 */

    function safeAdd(uint256 x, uint256 y) pure internal returns(uint256) {
      uint256 z = x + y;
      assert((z >= x) && (z >= y));
      return z;
    }

    function safeSubtract(uint256 x, uint256 y) pure internal returns(uint256) {
      assert(x >= y);
      uint256 z = x - y;
      return z;
    }

    function safeMult(uint256 x, uint256 y) pure internal returns(uint256) {
      uint256 z = x * y;
      assert((x == 0)||(z/x == y));
      return z;
    }

}

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

    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;
    }
}

interface TokenRecipient { 
    function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; 
}

contract TokenERC20 {
    uint256 public totalSupply;

    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Burn(address indexed from, uint256 value);

    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_to]);
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true; 
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) {
        TokenRecipient spender = TokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);
        balanceOf[msg.sender] -= _value;
        totalSupply -= _value;
        Burn(msg.sender, _value);
        return true;
    }

    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);
        require(_value <= allowance[_from][msg.sender]);
        balanceOf[_from] -= _value;
        allowance[_from][msg.sender] -= _value;
        totalSupply -= _value;
        Burn(_from, _value);
        return true;
    }
}

contract PaymentInterface {
    function createCastle(address _trainer, uint _tokens, string _name, uint64 _a1, uint64 _a2, uint64 _a3, uint64 _s1, uint64 _s2, uint64 _s3) public returns(uint);
    function catchMonster(address _trainer, uint _tokens, uint32 _classId, string _name) public returns(uint);
    function payService(address _trainer, uint _tokens, uint32 _type, string _text, uint64 _param1, uint64 _param2, uint64 _param3, uint64 _param4, uint64 _param5, uint64 _param6) public returns(uint);
}

contract EtheremonToken is BasicAccessControl, TokenERC20 {
    // metadata
    string public constant name = "EtheremonToken";
    string public constant symbol = "EMONT";
    uint256 public constant decimals = 8;
    string public version = "1.0";
    
    // deposit address
    address public inGameRewardAddress;
    address public userGrowPoolAddress;
    address public developerAddress;
    
    // Etheremon payment
    address public paymentContract;
    
    // for future feature
    uint256 public sellPrice;
    uint256 public buyPrice;
    bool public trading = false;
    mapping (address => bool) public frozenAccount;
    event FrozenFunds(address target, bool frozen);
    
    modifier isTrading {
        require(trading == true || msg.sender == owner);
        _;
    }
    
    modifier requirePaymentContract {
        require(paymentContract != address(0));
        _;        
    }
    
    function () payable public {}

    // constructor    
    function EtheremonToken(address _inGameRewardAddress, address _userGrowPoolAddress, address _developerAddress, address _paymentContract) public {
        require(_inGameRewardAddress != address(0));
        require(_userGrowPoolAddress != address(0));
        require(_developerAddress != address(0));
        inGameRewardAddress = _inGameRewardAddress;
        userGrowPoolAddress = _userGrowPoolAddress;
        developerAddress = _developerAddress;

        balanceOf[inGameRewardAddress] = 14000000 * 10**uint(decimals);
        balanceOf[userGrowPoolAddress] = 5000000 * 10**uint(decimals);
        balanceOf[developerAddress] = 1000000 * 10**uint(decimals);
        totalSupply = balanceOf[inGameRewardAddress] + balanceOf[userGrowPoolAddress] + balanceOf[developerAddress];
        paymentContract = _paymentContract;
    }
    
    // moderators
    function setAddress(address _inGameRewardAddress, address _userGrowPoolAddress, address _developerAddress, address _paymentContract) onlyModerators external {
        inGameRewardAddress = _inGameRewardAddress;
        userGrowPoolAddress = _userGrowPoolAddress;
        developerAddress = _developerAddress;
        paymentContract = _paymentContract;
    }
    
    // public
    function withdrawEther(address _sendTo, uint _amount) onlyModerators external {
        if (_amount > this.balance) {
            revert();
        }
        _sendTo.transfer(_amount);
    }
    
    function _transfer(address _from, address _to, uint _value) internal {
        require (_to != 0x0);
        require (balanceOf[_from] >= _value);
        require (balanceOf[_to] + _value > balanceOf[_to]);
        require(!frozenAccount[_from]);
        require(!frozenAccount[_to]);
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
    }
    
    function freezeAccount(address _target, bool _freeze) onlyOwner public {
        frozenAccount[_target] = _freeze;
        FrozenFunds(_target, _freeze);
    }
    
    function buy() payable isTrading public {
        uint amount = msg.value / buyPrice;
        _transfer(this, msg.sender, amount);
    }

    function sell(uint256 amount) isTrading public {
        require(this.balance >= amount * sellPrice);
        _transfer(msg.sender, this, amount);
        msg.sender.transfer(amount * sellPrice);
    }
    
    // Etheremon 
    function createCastle(uint _tokens, string _name, uint64 _a1, uint64 _a2, uint64 _a3, uint64 _s1, uint64 _s2, uint64 _s3) isActive requirePaymentContract external {
        if (_tokens > balanceOf[msg.sender])
            revert();
        PaymentInterface payment = PaymentInterface(paymentContract);
        uint deductedTokens = payment.createCastle(msg.sender, _tokens, _name, _a1, _a2, _a3, _s1, _s2, _s3);
        if (deductedTokens == 0 || deductedTokens > _tokens)
            revert();
        _transfer(msg.sender, inGameRewardAddress, deductedTokens);
    }
    
    function catchMonster(uint _tokens, uint32 _classId, string _name) isActive requirePaymentContract external {
        if (_tokens > balanceOf[msg.sender])
            revert();
        PaymentInterface payment = PaymentInterface(paymentContract);
        uint deductedTokens = payment.catchMonster(msg.sender, _tokens, _classId, _name);
        if (deductedTokens == 0 || deductedTokens > _tokens)
            revert();
        _transfer(msg.sender, inGameRewardAddress, deductedTokens);
    }
    
    function payService(uint _tokens, uint32 _type, string _text, uint64 _param1, uint64 _param2, uint64 _param3, uint64 _param4, uint64 _param5, uint64 _param6) isActive requirePaymentContract external {
        if (_tokens > balanceOf[msg.sender])
            revert();
        PaymentInterface payment = PaymentInterface(paymentContract);
        uint deductedTokens = payment.payService(msg.sender, _tokens, _type, _text, _param1, _param2, _param3, _param4, _param5, _param6);
        if (deductedTokens == 0 || deductedTokens > _tokens)
            revert();
        _transfer(msg.sender, inGameRewardAddress, deductedTokens);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokens","type":"uint256"},{"name":"_classId","type":"uint32"},{"name":"_name","type":"string"}],"name":"catchMonster","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"moderators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"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":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"userGrowPoolAddress","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":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_inGameRewardAddress","type":"address"},{"name":"_userGrowPoolAddress","type":"address"},{"name":"_developerAddress","type":"address"},{"name":"_paymentContract","type":"address"}],"name":"setAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paymentContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_oldModerator","type":"address"}],"name":"RemoveModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"developerAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokens","type":"uint256"},{"name":"_name","type":"string"},{"name":"_a1","type":"uint64"},{"name":"_a2","type":"uint64"},{"name":"_a3","type":"uint64"},{"name":"_s1","type":"uint64"},{"name":"_s2","type":"uint64"},{"name":"_s3","type":"uint64"}],"name":"createCastle","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_target","type":"address"},{"name":"_freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"trading","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isMaintaining","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"inGameRewardAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"ChangeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokens","type":"uint256"},{"name":"_type","type":"uint32"},{"name":"_text","type":"string"},{"name":"_param1","type":"uint64"},{"name":"_param2","type":"uint64"},{"name":"_param3","type":"uint64"},{"name":"_param4","type":"uint64"},{"name":"_param5","type":"uint64"},{"name":"_param6","type":"uint64"}],"name":"payService","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_inGameRewardAddress","type":"address"},{"name":"_userGrowPoolAddress","type":"address"},{"name":"_developerAddress","type":"address"},{"name":"_paymentContract","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

606060409081526000805460a060020a61ffff02191690556002805460ff191660011790558051908101604052600381527f312e300000000000000000000000000000000000000000000000000000000000602082015260069080516200006b929160200190620001c2565b50600d805460ff1916905534156200008257600080fd5b604051608080620018af8339810160405280805191906020018051919060200180519190602001805160008054600160a060020a03191633600160a060020a0390811691909117909155909250851615159050620000df57600080fd5b600160a060020a0383161515620000f557600080fd5b600160a060020a03821615156200010b57600080fd5b60078054600160a060020a0319908116600160a060020a039687161780835560088054831696881696909617865560098054831695881695909517855586166000908152600460205260408082206604f94ae6af800090558654881682528082206601c6bf526340009055855488168252808220655af3107a400090559454871681528481205495548716815284812054925487168152939093205401909201600355600a80549091169190921617905562000267565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200020557805160ff191683800117855562000235565b8280016001018555821562000235579182015b828111156200023557825182559160200191906001019062000218565b506200024392915062000247565b5090565b6200026491905b808211156200024357600081556001016200024e565b90565b61163880620002776000396000f3006060604052600436106101b35763ffffffff60e060020a60003504166306fdde0381146101b5578063095ea7b31461023f5780630976e9a71461027557806314d0f1ba146102a157806318160ddd146102c057806323b872dd146102e5578063313ce5671461030d57806342966c681461032057806348ef5aa8146103365780634b7503341461034e5780634efb023e14610361578063522f68151461038b57806354fd4d50146103ad57806357128ec1146103c05780636c81fd6d146103ef57806370a082311461040e57806379cc67901461042d5780638620410b1461044f5780638da5cb5b1461046257806395d89b41146104755780639608088c146104885780639c91dd56146104b9578063a6f2ae3a146104cc578063a9059cbb146104d4578063b414d4b6146104f6578063b85d627514610515578063caccd7f714610534578063cae9ca5114610547578063d8381df0146105ac578063dd62ed3e146105f9578063e4849b321461061e578063e724529c14610634578063ec44acf214610658578063ee4e44161461066b578063f0a2c4301461067e578063f285329214610691578063f8788382146106b0575b005b34156101c057600080fd5b6101c8610709565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102045780820151838201526020016101ec565b50505050905090810190601f1680156102315780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024a57600080fd5b610261600160a060020a0360043516602435610740565b604051901515815260200160405180910390f35b341561028057600080fd5b6101b360048035906024803563ffffffff1691604435918201910135610770565b34156102ac57600080fd5b610261600160a060020a03600435166108b9565b34156102cb57600080fd5b6102d36108ce565b60405190815260200160405180910390f35b34156102f057600080fd5b610261600160a060020a03600435811690602435166044356108d4565b341561031857600080fd5b6102d361094b565b341561032b57600080fd5b610261600435610950565b341561034157600080fd5b6101b360043515156109db565b341561035957600080fd5b6102d3610a09565b341561036c57600080fd5b610374610a0f565b60405161ffff909116815260200160405180910390f35b341561039657600080fd5b6101b3600160a060020a0360043516602435610a31565b34156103b857600080fd5b6101c8610ac3565b34156103cb57600080fd5b6103d3610b61565b604051600160a060020a03909116815260200160405180910390f35b34156103fa57600080fd5b6101b3600160a060020a0360043516610b70565b341561041957600080fd5b6102d3600160a060020a0360043516610c1a565b341561043857600080fd5b610261600160a060020a0360043516602435610c2c565b341561045a57600080fd5b6102d3610d08565b341561046d57600080fd5b6103d3610d0e565b341561048057600080fd5b6101c8610d1d565b341561049357600080fd5b6101b3600160a060020a0360043581169060243581169060443581169060643516610d54565b34156104c457600080fd5b6103d3610df7565b6101b3610e06565b34156104df57600080fd5b6101b3600160a060020a0360043516602435610e53565b341561050157600080fd5b610261600160a060020a0360043516610e5e565b341561052057600080fd5b6101b3600160a060020a0360043516610e73565b341561053f57600080fd5b6103d3610f1d565b341561055257600080fd5b61026160048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610f2c95505050505050565b34156105b757600080fd5b6101b360048035906024803590810191013567ffffffffffffffff60443581169060643581169060843581169060a43581169060c43581169060e43516611045565b341561060457600080fd5b6102d3600160a060020a03600435811690602435166111c0565b341561062957600080fd5b6101b36004356111dd565b341561063f57600080fd5b6101b3600160a060020a03600435166024351515611269565b341561066357600080fd5b6102616112f5565b341561067657600080fd5b6102616112fe565b341561068957600080fd5b6103d3611307565b341561069c57600080fd5b6101b3600160a060020a0360043516611316565b34156106bb57600080fd5b6101b360048035906024803563ffffffff169160443591820191013560643567ffffffffffffffff9081169060843581169060a43581169060c43581169060e435811690610104351661136d565b60408051908101604052600e81527f4574686572656d6f6e546f6b656e000000000000000000000000000000000000602082015281565b600160a060020a033381166000908152600560209081526040808320938616835292905220819055600192915050565b600254600090819060ff161561078557600080fd5b600a54600160a060020a0316151561079c57600080fd5b600160a060020a0333166000908152600460205260409020548611156107c157600080fd5b600a54600160a060020a03169150816382d559de33888888886000604051602001526040518663ffffffff1660e060020a0281526004018086600160a060020a0316600160a060020a031681526020018581526020018463ffffffff1663ffffffff16815260200180602001828103825284848281815260200192508082843782019150509650505050505050602060405180830381600087803b151561086757600080fd5b6102c65a03f1151561087857600080fd5b505050604051805191505080158061088f57508581115b1561089957600080fd5b6007546108b1903390600160a060020a0316836114f5565b505050505050565b60016020526000908152604090205460ff1681565b60035481565b600160a060020a0380841660009081526005602090815260408083203390941683529290529081205482111561090957600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220805483900390556109418484846114f5565b5060019392505050565b600881565b600160a060020a0333166000908152600460205260408120548290101561097657600080fd5b600160a060020a03331660008181526004602052604090819020805485900390556003805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60005433600160a060020a039081169116146109f657600080fd5b6002805460ff1916911515919091179055565b600b5481565b60005474010000000000000000000000000000000000000000900461ffff1681565b60005433600160a060020a0390811691161480610a6c5750600160a060020a03331660009081526001602081905260409091205460ff161515145b1515610a7757600080fd5b30600160a060020a031631811115610a8e57600080fd5b600160a060020a03821681156108fc0282604051600060405180830381858888f193505050501515610abf57600080fd5b5050565b60068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b595780601f10610b2e57610100808354040283529160200191610b59565b820191906000526020600020905b815481529060010190602001808311610b3c57829003601f168201915b505050505081565b600854600160a060020a031681565b60005433600160a060020a03908116911614610b8b57600080fd5b600160a060020a03811660009081526001602052604090205460ff161515610c1757600160a060020a03811660009081526001602081905260408220805460ff191682179055815461ffff7401000000000000000000000000000000000000000080830482169093011690910275ffff0000000000000000000000000000000000000000199091161790555b50565b60046020526000908152604090205481565b600160a060020a03821660009081526004602052604081205482901015610c5257600080fd5b600160a060020a0380841660009081526005602090815260408083203390941683529290522054821115610c8557600080fd5b600160a060020a038084166000818152600460209081526040808320805488900390556005825280832033909516835293905282902080548590039055600380548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b600c5481565b600054600160a060020a031681565b60408051908101604052600581527f454d4f4e54000000000000000000000000000000000000000000000000000000602082015281565b60005433600160a060020a0390811691161480610d8f5750600160a060020a03331660009081526001602081905260409091205460ff161515145b1515610d9a57600080fd5b60078054600160a060020a0395861673ffffffffffffffffffffffffffffffffffffffff199182161790915560088054948616948216949094179093556009805492851692841692909217909155600a8054919093169116179055565b600a54600160a060020a031681565b600d5460009060ff16151560011480610e2d575060005433600160a060020a039081169116145b1515610e3857600080fd5b600c5434811515610e4557fe5b049050610c173033836114f5565b610abf3383836114f5565b600e6020526000908152604090205460ff1681565b60005433600160a060020a03908116911614610e8e57600080fd5b600160a060020a03811660009081526001602081905260409091205460ff1615151415610c1757600160a060020a03166000908152600160205260408120805460ff19169055805475ffff0000000000000000000000000000000000000000198116740100000000000000000000000000000000000000009182900461ffff9081166000190116909102179055565b600954600160a060020a031681565b600083610f398185610740565b1561103d5780600160a060020a0316638f4ffcb1338630876040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610fd6578082015183820152602001610fbe565b50505050905090810190601f1680156110035780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561102457600080fd5b6102c65a03f1151561103557600080fd5b505050600191505b509392505050565b600254600090819060ff161561105a57600080fd5b600a54600160a060020a0316151561107157600080fd5b600160a060020a0333166000908152600460205260409020548b111561109657600080fd5b600a54600160a060020a0316915081635abcc417338d8d8d8d8d8d8d8d8d60006040516020015260405160e060020a63ffffffff8d16028152600160a060020a038b1660048201908152602482018b905267ffffffffffffffff8089166064840152878116608484015286811660a484015285811660c484015284811660e484015283166101048301526101206044830190815261012483018a90529091610144018a8a8082843782019150509b505050505050505050505050602060405180830381600087803b151561116957600080fd5b6102c65a03f1151561117a57600080fd5b505050604051805191505080158061119157508a81115b1561119b57600080fd5b6007546111b3903390600160a060020a0316836114f5565b5050505050505050505050565b600560209081526000928352604080842090915290825290205481565b600d5460ff16151560011480611201575060005433600160a060020a039081169116145b151561120c57600080fd5b600b548102600160a060020a03301631101561122757600080fd5b6112323330836114f5565b33600160a060020a03166108fc600b5483029081150290604051600060405180830381858888f193505050501515610c1757600080fd5b60005433600160a060020a0390811691161461128457600080fd5b600160a060020a0382166000908152600e602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b600d5460ff1681565b60025460ff1681565b600754600160a060020a031681565b60005433600160a060020a0390811691161461133157600080fd5b600160a060020a03811615610c175760008054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b600254600090819060ff161561138257600080fd5b600a54600160a060020a0316151561139957600080fd5b600160a060020a0333166000908152600460205260409020548c11156113be57600080fd5b600a54600160a060020a03169150816330a95aa7338e8e8e8e8e8e8e8e8e8e60006040516020015260405163ffffffff8d811660e060020a028252600160a060020a038d1660048301908152602483018d9052908b16604483015267ffffffffffffffff888116608484015287811660a484015286811660c484015285811660e484015284811661010484015283166101248301526101406064830190815261014483018a90529091610164018a8a8082843782019150509c50505050505050505050505050602060405180830381600087803b151561149d57600080fd5b6102c65a03f115156114ae57600080fd5b50505060405180519150508015806114c557508b81115b156114cf57600080fd5b6007546114e7903390600160a060020a0316836114f5565b505050505050505050505050565b600160a060020a038216151561150a57600080fd5b600160a060020a0383166000908152600460205260409020548190101561153057600080fd5b600160a060020a0382166000908152600460205260409020548181011161155657600080fd5b600160a060020a0383166000908152600e602052604090205460ff161561157c57600080fd5b600160a060020a0382166000908152600e602052604090205460ff16156115a257600080fd5b600160a060020a038084166000818152600460205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35050505600a165627a7a7230582098ba791040985599863934aabf1be318767a1320ac905e4c8f33e33f800aadbd0029000000000000000000000000e0a66218c40230967d4240d25f6220a28e52c7ff000000000000000000000000d3b6d520906bb14c0eab0faf7a8b13fe31f8cbda0000000000000000000000004231a648b93c86923c578409558b1d6d8d726d52000000000000000000000000721da477f68c71788a262d58853fe6977d86535e

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

000000000000000000000000e0a66218c40230967d4240d25f6220a28e52c7ff000000000000000000000000d3b6d520906bb14c0eab0faf7a8b13fe31f8cbda0000000000000000000000004231a648b93c86923c578409558b1d6d8d726d52000000000000000000000000721da477f68c71788a262d58853fe6977d86535e

-----Decoded View---------------
Arg [0] : _inGameRewardAddress (address): 0xe0a66218c40230967d4240d25f6220a28e52c7ff
Arg [1] : _userGrowPoolAddress (address): 0xd3b6d520906bb14c0eab0faf7a8b13fe31f8cbda
Arg [2] : _developerAddress (address): 0x4231a648b93c86923c578409558b1d6d8d726d52
Arg [3] : _paymentContract (address): 0x721da477f68c71788a262d58853fe6977d86535e

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e0a66218c40230967d4240d25f6220a28e52c7ff
Arg [1] : 000000000000000000000000d3b6d520906bb14c0eab0faf7a8b13fe31f8cbda
Arg [2] : 0000000000000000000000004231a648b93c86923c578409558b1d6d8d726d52
Arg [3] : 000000000000000000000000721da477f68c71788a262d58853fe6977d86535e


Swarm Source

bzzr://98ba791040985599863934aabf1be318767a1320ac905e4c8f33e33f800aadbd
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.