ETH Price: $2,410.85 (-2.87%)
 
Transaction Hash
Method
Block
From
To
0x855174eac99b9e52099318bdaba663e46043d012e3906a0b2031527b67ea24fb Transfer(pending)2024-11-04 5:23:4020 hrs ago1730697820IN
MXC: MXC Token
0 ETH(Pending)(Pending)
0x22e561060a01c1d6e5bdc4f31f53376670d858cf42ffe6290785db3b45081747 Transfer(pending)2024-11-03 2:10:542 days ago1730599854IN
MXC: MXC Token
0 ETH(Pending)(Pending)
Transfer From211177922024-11-05 0:12:591 hr ago1730765579IN
MXC: MXC Token
0 ETH0.000257377.09675439
Approve211177672024-11-05 0:07:592 hrs ago1730765279IN
MXC: MXC Token
0 ETH0.000342117.3733336
Approve211177612024-11-05 0:06:472 hrs ago1730765207IN
MXC: MXC Token
0 ETH0.000189586.53777479
Transfer211177522024-11-05 0:04:592 hrs ago1730765099IN
MXC: MXC Token
0 ETH0.000361746.95601373
Approve211176452024-11-04 23:43:232 hrs ago1730763803IN
MXC: MXC Token
0 ETH0.000275775.98368354
Transfer211175712024-11-04 23:28:352 hrs ago1730762915IN
MXC: MXC Token
0 ETH0.000202065.79084914
Approve211165152024-11-04 19:56:356 hrs ago1730750195IN
MXC: MXC Token
0 ETH0.000236935.14377768
Approve211155102024-11-04 16:34:359 hrs ago1730738075IN
MXC: MXC Token
0 ETH0.0007350515.94523824
Transfer From211145752024-11-04 13:26:4712 hrs ago1730726807IN
MXC: MXC Token
0 ETH0.000262017.22692384
Approve211145562024-11-04 13:22:5912 hrs ago1730726579IN
MXC: MXC Token
0 ETH0.000356717.687979
Approve211129602024-11-04 8:01:5918 hrs ago1730707319IN
MXC: MXC Token
0 ETH0.000227034.92486399
Transfer211129002024-11-04 7:49:5918 hrs ago1730706599IN
MXC: MXC Token
0 ETH0.000131034.80121649
Transfer211128502024-11-04 7:39:5918 hrs ago1730705999IN
MXC: MXC Token
0 ETH0.000169295.6166957
Approve211095702024-11-03 20:41:4729 hrs ago1730666507IN
MXC: MXC Token
0 ETH0.000216134.65812527
Transfer211090632024-11-03 19:00:1131 hrs ago1730660411IN
MXC: MXC Token
0 ETH0.000186846.20638093
Transfer211083012024-11-03 16:26:5933 hrs ago1730651219IN
MXC: MXC Token
0 ETH0.000286398.20218955
Transfer211081402024-11-03 15:54:4734 hrs ago1730649287IN
MXC: MXC Token
0 ETH0.0005385110.35504981
Transfer211080712024-11-03 15:40:5934 hrs ago1730648459IN
MXC: MXC Token
0 ETH0.000295139.80343565
Transfer211079912024-11-03 15:24:4734 hrs ago1730647487IN
MXC: MXC Token
0 ETH0.0005511611.67595132
Transfer211079902024-11-03 15:24:3534 hrs ago1730647475IN
MXC: MXC Token
0 ETH0.000471819.07240419
Transfer211079892024-11-03 15:24:2334 hrs ago1730647463IN
MXC: MXC Token
0 ETH0.000319639.15720697
Transfer211079892024-11-03 15:24:2334 hrs ago1730647463IN
MXC: MXC Token
0 ETH0.000476229.15720697
Transfer211079892024-11-03 15:24:2334 hrs ago1730647463IN
MXC: MXC Token
0 ETH0.0003027710.05720697
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
205761642024-08-21 9:41:1175 days ago1724233271
MXC: MXC Token
0.01981287 ETH
198275572024-05-08 19:55:11180 days ago1715198111
MXC: MXC Token
0.00119859 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MXCToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-08-09
*/

pragma solidity ^0.4.24;

/**
* MXC Smart Contract for Ethereum
* 
* Copyright 2018 MXC Foundation
*
*/


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

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

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

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

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

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


/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
*/
contract ERC20Basic {
    function totalSupply() public view returns (uint256);
    function balanceOf(address who) public view returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
}


/**
* @title ERC20 interface
*/
contract ERC20 is ERC20Basic {
    function allowance(address owner, address spender)
        public view returns (uint256);

    function transferFrom(address from, address to, uint256 value)
        public returns (bool);

    function approve(address spender, uint256 value) public returns (bool);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}


/**
* @title Basic token
* @dev Basic version of StandardToken, with no allowances.
*/
contract BasicToken is ERC20Basic {
    using SafeMath for uint256;

    mapping(address => uint256) balances;

    uint256 totalSupply_;

    /**
    * @dev Total number of tokens in existence
    */
    function totalSupply() public view returns (uint256) {
        return totalSupply_;
    }

    /**
    * @dev Transfer token for a specified address
    * @param _to The address to transfer to.
    * @param _value The amount to be transferred.
    */
    function transfer(address _to, uint256 _value) public returns (bool) {
        require(_to != address(0));
        require(_value <= balances[msg.sender]);

        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        emit Transfer(msg.sender, _to, _value);
        return true;
    }

    /**
    * @dev Gets the balance of the specified address.
    * @param _owner The address to query the the balance of.
    * @return An uint256 representing the amount owned by the passed address.
    */
    function balanceOf(address _owner) public view returns (uint256) {
        return balances[_owner];
    }

}


/**
* @title Standard ERC20 token
*
* @dev Implementation of the basic standard token.
*/
contract StandardToken is ERC20, BasicToken {

    mapping (address => mapping (address => uint256)) internal allowed;

    /**
    * @dev Transfer tokens from one address to another
    * @param _from address The address which you want to send tokens from
    * @param _to address The address which you want to transfer to
    * @param _value uint256 the amount of tokens to be transferred
    */
    function transferFrom(
        address _from,
        address _to,
        uint256 _value
    )
        public
        returns (bool)
    {
        require(_to != address(0));
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        emit Transfer(_from, _to, _value);
        return true;
    }

    /**
    * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
    * Beware that changing an allowance with this method brings the risk that someone may use both the old
    * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
    * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards,
    * i.e. clients SHOULD make sure to create user interfaces in such a way 
    * that they set the allowance first to 0 before setting it to another value for the same spender. 
    * @param _spender The address which will spend the funds.
    * @param _value The amount of tokens to be spent.
    */
    function approve(address _spender, uint256 _value) public returns (bool) {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    /**
    * @dev Function to check the amount of tokens that an owner allowed to a spender.
    * @param _owner address The address which owns the funds.
    * @param _spender address The address which will spend the funds.
    * @return A uint256 specifying the amount of tokens still available for the spender.
    */
    function allowance(
        address _owner,
        address _spender
   )
        public
        view
        returns (uint256)
    {
        return allowed[_owner][_spender];
    }

    /**
    * @dev Increase the amount of tokens that an owner allowed to a spender.
    * approve should be called when allowed[_spender] == 0. To increment
    * allowed value is better to use this function to avoid 2 calls (and wait until
    * the first transaction is mined)
    * @param _spender The address which will spend the funds.
    * @param _addedValue The amount of tokens to increase the allowance by.
    */
    function increaseApproval(
        address _spender,
        uint256 _addedValue
    )
        public
        returns (bool)
    {
        allowed[msg.sender][_spender] = (
            allowed[msg.sender][_spender].add(_addedValue));
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }

    /**
    * @dev Decrease the amount of tokens that an owner allowed to a spender.
    * approve should be called when allowed[_spender] == 0. To decrement
    * allowed value is better to use this function to avoid 2 calls (and wait until
    * the first transaction is mined)
    * @param _spender The address which will spend the funds.
    * @param _subtractedValue The amount of tokens to decrease the allowance by.
    */
    function decreaseApproval(
        address _spender,
        uint256 _subtractedValue
    )
        public
        returns (bool)
    {
        uint256 oldValue = allowed[msg.sender][_spender];
        if (_subtractedValue > oldValue) {
            allowed[msg.sender][_spender] = 0;
        } else {
            allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
        }
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }

}


contract MXCToken is StandardToken {

    string public constant name = "MXCToken";
    string public constant symbol = "MXC";
    uint8 public constant decimals = 18;

    uint256 constant MONTH = 3600*24*30;

    struct TimeLock {
        // total amount of tokens that is granted to the user
        uint256 amount;

        // total amount of tokens that have been vested
        uint256 vestedAmount;

        // total amount of vested months (tokens are vested on a monthly basis)
        uint16 vestedMonths;

        // token timestamp start
        uint256 start;

        // token timestamp release start (when user can start receive vested tokens)
        uint256 cliff;

        // token timestamp release end (when all the tokens can be vested)
        uint256 vesting;

        address from;
    }

    mapping(address => TimeLock) timeLocks;

    event NewTokenGrant(address indexed _from, address indexed _to, uint256 _amount, uint256 _start, uint256 _cliff, uint256 _vesting);
    event VestedTokenRedeemed(address indexed _to, uint256 _amount, uint256 _vestedMonths);
    event GrantedTokenReturned(address indexed _from, address indexed _to, uint256 _amount);

    /**
    * @dev Constructor that gives msg.sender all of existing tokens.
    */
    constructor() public {
        totalSupply_ = 2664965800 * (10 ** uint256(decimals));
        balances[msg.sender] = totalSupply_;
        emit Transfer(address(0), msg.sender, totalSupply_);
    }

    function vestBalanceOf(address who)
        public view
        returns (uint256 amount, uint256 vestedAmount, uint256 start, uint256 cliff, uint256 vesting)
    {
        require(who != address(0));
        amount = timeLocks[who].amount;
        vestedAmount = timeLocks[who].vestedAmount;
        start = timeLocks[who].start;
        cliff = timeLocks[who].cliff;
        vesting = timeLocks[who].vesting;
    }

    /**
    * @dev Function to grant the amount of tokens that will be vested later.
    * @param _to The address which will own the tokens.
    * @param _amount The amount of tokens that will be vested later.
    * @param _start Token timestamp start.
    * @param _cliff Token timestamp release start.
    * @param _vesting Token timestamp release end.
    */
    function grantToken(
        address _to,
        uint256 _amount,
        uint256 _start,
        uint256 _cliff,
        uint256 _vesting
    )
        public
        returns (bool success)
    {
        require(_to != address(0));
        require(_amount <= balances[msg.sender], "Not enough balance to grant token.");
        require(_amount > 0, "Nothing to transfer.");
        require((timeLocks[_to].amount.sub(timeLocks[_to].vestedAmount) == 0), "The previous vesting should be completed.");
        require(_cliff >= _start, "_cliff must be >= _start");
        require(_vesting > _start, "_vesting must be bigger than _start");
        require(_vesting > _cliff, "_vesting must be bigger than _cliff");

        balances[msg.sender] = balances[msg.sender].sub(_amount);
        timeLocks[_to] = TimeLock(_amount, 0, 0, _start, _cliff, _vesting, msg.sender);

        emit NewTokenGrant(msg.sender, _to, _amount, _start, _cliff, _vesting);
        return true;
    }

    /**
    * @dev Function to grant the amount of tokens that will be vested later.
    * @param _to The address which will own the tokens.
    * @param _amount The amount of tokens that will be vested later.
    * @param _cliffMonths Token release start in months from now.
    * @param _vestingMonths Token release end in months from now.
    */
    function grantTokenStartNow(
        address _to,
        uint256 _amount,
        uint256 _cliffMonths,
        uint256 _vestingMonths
    )
        public
        returns (bool success)
    {
        return grantToken(
            _to,
            _amount,
            now,
            now.add(_cliffMonths.mul(MONTH)),
            now.add(_vestingMonths.mul(MONTH))
            );
    }

    /**
    * @dev Function to calculate the amount of tokens that can be vested at this moment.
    * @param _to The address which will own the tokens.
    * @return amount - A uint256 specifying the amount of tokens available to be vested at this moment.
    * @return vestedMonths - A uint256 specifying the number of the vested months since the last vesting.
    * @return curTime - A uint256 specifying the current timestamp.
    */
    function calcVestableToken(address _to)
        internal view
        returns (uint256 amount, uint256 vestedMonths, uint256 curTime)
    {
        uint256 vestTotalMonths;
        uint256 vestedAmount;
        uint256 vestPart;
        amount = 0;
        vestedMonths = 0;
        curTime = now;
        
        require(timeLocks[_to].amount > 0, "Nothing was granted to this address.");
        
        if (curTime <= timeLocks[_to].cliff) {
            return (0, 0, curTime);
        }

        vestedMonths = curTime.sub(timeLocks[_to].start) / MONTH;
        vestedMonths = vestedMonths.sub(timeLocks[_to].vestedMonths);

        if (curTime >= timeLocks[_to].vesting) {
            return (timeLocks[_to].amount.sub(timeLocks[_to].vestedAmount), vestedMonths, curTime);
        }

        if (vestedMonths > 0) {
            vestTotalMonths = timeLocks[_to].vesting.sub(timeLocks[_to].start) / MONTH;
            vestPart = timeLocks[_to].amount.div(vestTotalMonths);
            amount = vestedMonths.mul(vestPart);
            vestedAmount = timeLocks[_to].vestedAmount.add(amount);
            if (vestedAmount > timeLocks[_to].amount) {
                amount = timeLocks[_to].amount.sub(timeLocks[_to].vestedAmount);
            }
        }

        return (amount, vestedMonths, curTime);
    }

    /**
    * @dev Function to redeem tokens that can be vested at this moment.
    * @param _to The address which will own the tokens.
    */
    function redeemVestableToken(address _to)
        public
        returns (bool success)
    {
        require(_to != address(0));
        require(timeLocks[_to].amount > 0, "Nothing was granted to this address!");
        require(timeLocks[_to].vestedAmount < timeLocks[_to].amount, "All tokens were vested!");

        (uint256 amount, uint256 vestedMonths, uint256 curTime) = calcVestableToken(_to);
        require(amount > 0, "Nothing to redeem now.");

        TimeLock storage t = timeLocks[_to];
        balances[_to] = balances[_to].add(amount);
        t.vestedAmount = t.vestedAmount.add(amount);
        t.vestedMonths = t.vestedMonths + uint16(vestedMonths);
        t.cliff = curTime;

        emit VestedTokenRedeemed(_to, amount, vestedMonths);
        return true;
    }

    /**
    * @dev Function to return granted token to the initial sender.
    * @param _amount - A uint256 specifying the amount of tokens to be returned.
    */
    function returnGrantedToken(uint256 _amount)
        public
        returns (bool success)
    {
        address to = timeLocks[msg.sender].from;
        require(to != address(0));
        require(_amount > 0, "Nothing to transfer.");
        require(timeLocks[msg.sender].amount > 0, "Nothing to return.");
        require(_amount <= timeLocks[msg.sender].amount.sub(timeLocks[msg.sender].vestedAmount), "Not enough granted token to return.");

        timeLocks[msg.sender].amount = timeLocks[msg.sender].amount.sub(_amount);
        balances[to] = balances[to].add(_amount);

        emit GrantedTokenReturned(msg.sender, to, _amount);
        return true;
    }

}

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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_cliffMonths","type":"uint256"},{"name":"_vestingMonths","type":"uint256"}],"name":"grantTokenStartNow","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"returnGrantedToken","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_start","type":"uint256"},{"name":"_cliff","type":"uint256"},{"name":"_vesting","type":"uint256"}],"name":"grantToken","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"}],"name":"redeemVestableToken","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"vestBalanceOf","outputs":[{"name":"amount","type":"uint256"},{"name":"vestedAmount","type":"uint256"},{"name":"start","type":"uint256"},{"name":"cliff","type":"uint256"},{"name":"vesting","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_start","type":"uint256"},{"indexed":false,"name":"_cliff","type":"uint256"},{"indexed":false,"name":"_vesting","type":"uint256"}],"name":"NewTokenGrant","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_vestedMonths","type":"uint256"}],"name":"VestedTokenRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"GrantedTokenReturned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","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"}]

608060405234801561001057600080fd5b506b089c68757f7b851eb1a00000600181905533600081815260208181526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36115ed806100796000396000f3006080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea578063095ea7b31461017457806318160ddd146101ac57806323b872dd146101d35780632f3423b8146101fd578063313ce567146102275780633252b8fb14610252578063661884631461026a5780636631ff1d1461028e57806370a08231146102bb57806395d89b41146102dc578063a9059cbb146102f1578063ce8d096d14610315578063d73dd62314610336578063dd62ed3e1461035a578063e33d28d714610381575b600080fd5b3480156100f657600080fd5b506100ff6103cd565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018057600080fd5b50610198600160a060020a0360043516602435610404565b604080519115158252519081900360200190f35b3480156101b857600080fd5b506101c161046b565b60408051918252519081900360200190f35b3480156101df57600080fd5b50610198600160a060020a0360043581169060243516604435610471565b34801561020957600080fd5b50610198600160a060020a03600435166024356044356064356105e8565b34801561023357600080fd5b5061023c610637565b6040805160ff9092168252519081900360200190f35b34801561025e57600080fd5b5061019860043561063c565b34801561027657600080fd5b50610198600160a060020a0360043516602435610876565b34801561029a57600080fd5b50610198600160a060020a0360043516602435604435606435608435610966565b3480156102c757600080fd5b506101c1600160a060020a0360043516610e01565b3480156102e857600080fd5b506100ff610e1c565b3480156102fd57600080fd5b50610198600160a060020a0360043516602435610e53565b34801561032157600080fd5b50610198600160a060020a0360043516610f34565b34801561034257600080fd5b50610198600160a060020a0360043516602435611195565b34801561036657600080fd5b506101c1600160a060020a036004358116906024351661122e565b34801561038d57600080fd5b506103a2600160a060020a0360043516611259565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b60408051808201909152600881527f4d5843546f6b656e000000000000000000000000000000000000000000000000602082015281565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60015490565b6000600160a060020a038316151561048857600080fd5b600160a060020a0384166000908152602081905260409020548211156104ad57600080fd5b600160a060020a03841660009081526002602090815260408083203384529091529020548211156104dd57600080fd5b600160a060020a038416600090815260208190526040902054610506908363ffffffff6112b316565b600160a060020a03808616600090815260208190526040808220939093559085168152205461053b908363ffffffff6112c516565b600160a060020a0380851660009081526020818152604080832094909455918716815260028252828120338252909152205461057d908363ffffffff6112b316565b600160a060020a03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b600061062e8585426106136106068862278d0063ffffffff6112d216565b429063ffffffff6112c516565b6106296106068862278d0063ffffffff6112d216565b610966565b95945050505050565b601281565b33600090815260036020526040812060060154600160a060020a031680151561066457600080fd5b600083116106bc576040805160e560020a62461bcd02815260206004820152601460248201527f4e6f7468696e6720746f207472616e736665722e000000000000000000000000604482015290519081900360640190fd5b3360009081526003602052604081205411610721576040805160e560020a62461bcd02815260206004820152601260248201527f4e6f7468696e6720746f2072657475726e2e0000000000000000000000000000604482015290519081900360640190fd5b336000908152600360205260409020600181015490546107469163ffffffff6112b316565b8311156107c3576040805160e560020a62461bcd02815260206004820152602360248201527f4e6f7420656e6f756768206772616e74656420746f6b656e20746f207265747560448201527f726e2e0000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b336000908152600360205260409020546107e3908463ffffffff6112b316565b33600090815260036020908152604080832093909355600160a060020a0384168252819052205461081a908463ffffffff6112c516565b600160a060020a038216600081815260208181526040918290209390935580518681529051919233927f6a362f3f77c5bc6d1c9cd0e3d3c0f1d03c5d9e504b573c5bbb65550af73e56ec9281900390910190a350600192915050565b336000908152600260209081526040808320600160a060020a0386168452909152812054808311156108cb57336000908152600260209081526040808320600160a060020a0388168452909152812055610900565b6108db818463ffffffff6112b316565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000600160a060020a038616151561097d57600080fd5b33600090815260208190526040902054851115610a0a576040805160e560020a62461bcd02815260206004820152602260248201527f4e6f7420656e6f7567682062616c616e636520746f206772616e7420746f6b6560448201527f6e2e000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60008511610a62576040805160e560020a62461bcd02815260206004820152601460248201527f4e6f7468696e6720746f207472616e736665722e000000000000000000000000604482015290519081900360640190fd5b600160a060020a038616600090815260036020526040902060018101549054610a909163ffffffff6112b316565b15610b0b576040805160e560020a62461bcd02815260206004820152602960248201527f5468652070726576696f75732076657374696e672073686f756c64206265206360448201527f6f6d706c657465642e0000000000000000000000000000000000000000000000606482015290519081900360840190fd5b83831015610b63576040805160e560020a62461bcd02815260206004820152601860248201527f5f636c696666206d757374206265203e3d205f73746172740000000000000000604482015290519081900360640190fd5b838211610be0576040805160e560020a62461bcd02815260206004820152602360248201527f5f76657374696e67206d75737420626520626967676572207468616e205f737460448201527f6172740000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b828211610c5d576040805160e560020a62461bcd02815260206004820152602360248201527f5f76657374696e67206d75737420626520626967676572207468616e205f636c60448201527f6966660000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b33600090815260208190526040902054610c7d908663ffffffff6112b316565b60008033600160a060020a0316600160a060020a031681526020019081526020016000208190555060e06040519081016040528086815260200160008152602001600061ffff16815260200185815260200184815260200183815260200133600160a060020a03168152506003600088600160a060020a0316600160a060020a03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548161ffff021916908361ffff160217905550606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a815481600160a060020a030219169083600160a060020a0316021790555090505085600160a060020a031633600160a060020a03167f721b00c5c94c01f0922a764275cb3532e917776ada3541cc78e867acbda3192e878787876040518085815260200184815260200183815260200182815260200194505050505060405180910390a350600195945050505050565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f4d58430000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a0383161515610e6a57600080fd5b33600090815260208190526040902054821115610e8657600080fd5b33600090815260208190526040902054610ea6908363ffffffff6112b316565b3360009081526020819052604080822092909255600160a060020a03851681522054610ed8908363ffffffff6112c516565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600080808080600160a060020a0386161515610f4f57600080fd5b600160a060020a03861660009081526003602052604081205411610fe2576040805160e560020a62461bcd028152602060048201526024808201527f4e6f7468696e6720776173206772616e74656420746f2074686973206164647260448201527f6573732100000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0386166000908152600360205260409020805460019091015410611057576040805160e560020a62461bcd02815260206004820152601760248201527f416c6c20746f6b656e7320776572652076657374656421000000000000000000604482015290519081900360640190fd5b611060866112fb565b91955093509150600084116110bf576040805160e560020a62461bcd02815260206004820152601660248201527f4e6f7468696e6720746f2072656465656d206e6f772e00000000000000000000604482015290519081900360640190fd5b50600160a060020a038516600090815260036020908152604080832091839052909120546110f3908563ffffffff6112c516565b600160a060020a0387166000908152602081905260409020556001810154611121908563ffffffff6112c516565b600182015560028101805461ffff80821686011661ffff199091161790556004810182905560408051858152602081018590528151600160a060020a038916927f77a2f91dda02d8ce9c2419cb7839699d295719a638421b588a95f884c5377b22928290030190a250600195945050505050565b336000908152600260209081526040808320600160a060020a03861684529091528120546111c9908363ffffffff6112c516565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600080808080600160a060020a038616151561127457600080fd5b50505050600160a060020a0391909116600090815260036020819052604090912080546001820154928201546004830154600590930154919593945092565b6000828211156112bf57fe5b50900390565b8181018281101561046557fe5b60008215156112e357506000610465565b508181028183828115156112f357fe5b041461046557fe5b600160a060020a038116600090815260036020526040812054819042908290819081908110611399576040805160e560020a62461bcd028152602060048201526024808201527f4e6f7468696e6720776173206772616e74656420746f2074686973206164647260448201527f6573732e00000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a03871660009081526003602052604090206004015484116113c757600095508594506115a2565b600160a060020a0387166000908152600360208190526040909120015462278d00906113fa90869063ffffffff6112b316565b81151561140357fe5b600160a060020a038916600090815260036020526040902060020154919004955061143990869061ffff1663ffffffff6112b316565b600160a060020a038816600090815260036020526040902060050154909550841061149357600160a060020a03871660009081526003602052604090206001810154905461148c9163ffffffff6112b316565b95506115a2565b60008511156115a257600160a060020a03871660009081526003602081905260409091209081015460059091015462278d00916114d6919063ffffffff6112b316565b8115156114df57fe5b600160a060020a038916600090815260036020526040902054919004935061150d908463ffffffff6115ac16565b905061151f858263ffffffff6112d216565b600160a060020a03881660009081526003602052604090206001015490965061154e908763ffffffff6112c516565b600160a060020a0388166000908152600360205260409020549092508211156115a257600160a060020a03871660009081526003602052604090206001810154905461159f9163ffffffff6112b316565b95505b5050509193909250565b600081838115156115b957fe5b0493925050505600a165627a7a72305820156b96620bc6806e6f2d2f44b62996de6d965535543f139996f301186098f5a20029

Deployed Bytecode

0x6080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea578063095ea7b31461017457806318160ddd146101ac57806323b872dd146101d35780632f3423b8146101fd578063313ce567146102275780633252b8fb14610252578063661884631461026a5780636631ff1d1461028e57806370a08231146102bb57806395d89b41146102dc578063a9059cbb146102f1578063ce8d096d14610315578063d73dd62314610336578063dd62ed3e1461035a578063e33d28d714610381575b600080fd5b3480156100f657600080fd5b506100ff6103cd565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018057600080fd5b50610198600160a060020a0360043516602435610404565b604080519115158252519081900360200190f35b3480156101b857600080fd5b506101c161046b565b60408051918252519081900360200190f35b3480156101df57600080fd5b50610198600160a060020a0360043581169060243516604435610471565b34801561020957600080fd5b50610198600160a060020a03600435166024356044356064356105e8565b34801561023357600080fd5b5061023c610637565b6040805160ff9092168252519081900360200190f35b34801561025e57600080fd5b5061019860043561063c565b34801561027657600080fd5b50610198600160a060020a0360043516602435610876565b34801561029a57600080fd5b50610198600160a060020a0360043516602435604435606435608435610966565b3480156102c757600080fd5b506101c1600160a060020a0360043516610e01565b3480156102e857600080fd5b506100ff610e1c565b3480156102fd57600080fd5b50610198600160a060020a0360043516602435610e53565b34801561032157600080fd5b50610198600160a060020a0360043516610f34565b34801561034257600080fd5b50610198600160a060020a0360043516602435611195565b34801561036657600080fd5b506101c1600160a060020a036004358116906024351661122e565b34801561038d57600080fd5b506103a2600160a060020a0360043516611259565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b60408051808201909152600881527f4d5843546f6b656e000000000000000000000000000000000000000000000000602082015281565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60015490565b6000600160a060020a038316151561048857600080fd5b600160a060020a0384166000908152602081905260409020548211156104ad57600080fd5b600160a060020a03841660009081526002602090815260408083203384529091529020548211156104dd57600080fd5b600160a060020a038416600090815260208190526040902054610506908363ffffffff6112b316565b600160a060020a03808616600090815260208190526040808220939093559085168152205461053b908363ffffffff6112c516565b600160a060020a0380851660009081526020818152604080832094909455918716815260028252828120338252909152205461057d908363ffffffff6112b316565b600160a060020a03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b600061062e8585426106136106068862278d0063ffffffff6112d216565b429063ffffffff6112c516565b6106296106068862278d0063ffffffff6112d216565b610966565b95945050505050565b601281565b33600090815260036020526040812060060154600160a060020a031680151561066457600080fd5b600083116106bc576040805160e560020a62461bcd02815260206004820152601460248201527f4e6f7468696e6720746f207472616e736665722e000000000000000000000000604482015290519081900360640190fd5b3360009081526003602052604081205411610721576040805160e560020a62461bcd02815260206004820152601260248201527f4e6f7468696e6720746f2072657475726e2e0000000000000000000000000000604482015290519081900360640190fd5b336000908152600360205260409020600181015490546107469163ffffffff6112b316565b8311156107c3576040805160e560020a62461bcd02815260206004820152602360248201527f4e6f7420656e6f756768206772616e74656420746f6b656e20746f207265747560448201527f726e2e0000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b336000908152600360205260409020546107e3908463ffffffff6112b316565b33600090815260036020908152604080832093909355600160a060020a0384168252819052205461081a908463ffffffff6112c516565b600160a060020a038216600081815260208181526040918290209390935580518681529051919233927f6a362f3f77c5bc6d1c9cd0e3d3c0f1d03c5d9e504b573c5bbb65550af73e56ec9281900390910190a350600192915050565b336000908152600260209081526040808320600160a060020a0386168452909152812054808311156108cb57336000908152600260209081526040808320600160a060020a0388168452909152812055610900565b6108db818463ffffffff6112b316565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000600160a060020a038616151561097d57600080fd5b33600090815260208190526040902054851115610a0a576040805160e560020a62461bcd02815260206004820152602260248201527f4e6f7420656e6f7567682062616c616e636520746f206772616e7420746f6b6560448201527f6e2e000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b60008511610a62576040805160e560020a62461bcd02815260206004820152601460248201527f4e6f7468696e6720746f207472616e736665722e000000000000000000000000604482015290519081900360640190fd5b600160a060020a038616600090815260036020526040902060018101549054610a909163ffffffff6112b316565b15610b0b576040805160e560020a62461bcd02815260206004820152602960248201527f5468652070726576696f75732076657374696e672073686f756c64206265206360448201527f6f6d706c657465642e0000000000000000000000000000000000000000000000606482015290519081900360840190fd5b83831015610b63576040805160e560020a62461bcd02815260206004820152601860248201527f5f636c696666206d757374206265203e3d205f73746172740000000000000000604482015290519081900360640190fd5b838211610be0576040805160e560020a62461bcd02815260206004820152602360248201527f5f76657374696e67206d75737420626520626967676572207468616e205f737460448201527f6172740000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b828211610c5d576040805160e560020a62461bcd02815260206004820152602360248201527f5f76657374696e67206d75737420626520626967676572207468616e205f636c60448201527f6966660000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b33600090815260208190526040902054610c7d908663ffffffff6112b316565b60008033600160a060020a0316600160a060020a031681526020019081526020016000208190555060e06040519081016040528086815260200160008152602001600061ffff16815260200185815260200184815260200183815260200133600160a060020a03168152506003600088600160a060020a0316600160a060020a03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548161ffff021916908361ffff160217905550606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a815481600160a060020a030219169083600160a060020a0316021790555090505085600160a060020a031633600160a060020a03167f721b00c5c94c01f0922a764275cb3532e917776ada3541cc78e867acbda3192e878787876040518085815260200184815260200183815260200182815260200194505050505060405180910390a350600195945050505050565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f4d58430000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a0383161515610e6a57600080fd5b33600090815260208190526040902054821115610e8657600080fd5b33600090815260208190526040902054610ea6908363ffffffff6112b316565b3360009081526020819052604080822092909255600160a060020a03851681522054610ed8908363ffffffff6112c516565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600080808080600160a060020a0386161515610f4f57600080fd5b600160a060020a03861660009081526003602052604081205411610fe2576040805160e560020a62461bcd028152602060048201526024808201527f4e6f7468696e6720776173206772616e74656420746f2074686973206164647260448201527f6573732100000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0386166000908152600360205260409020805460019091015410611057576040805160e560020a62461bcd02815260206004820152601760248201527f416c6c20746f6b656e7320776572652076657374656421000000000000000000604482015290519081900360640190fd5b611060866112fb565b91955093509150600084116110bf576040805160e560020a62461bcd02815260206004820152601660248201527f4e6f7468696e6720746f2072656465656d206e6f772e00000000000000000000604482015290519081900360640190fd5b50600160a060020a038516600090815260036020908152604080832091839052909120546110f3908563ffffffff6112c516565b600160a060020a0387166000908152602081905260409020556001810154611121908563ffffffff6112c516565b600182015560028101805461ffff80821686011661ffff199091161790556004810182905560408051858152602081018590528151600160a060020a038916927f77a2f91dda02d8ce9c2419cb7839699d295719a638421b588a95f884c5377b22928290030190a250600195945050505050565b336000908152600260209081526040808320600160a060020a03861684529091528120546111c9908363ffffffff6112c516565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600080808080600160a060020a038616151561127457600080fd5b50505050600160a060020a0391909116600090815260036020819052604090912080546001820154928201546004830154600590930154919593945092565b6000828211156112bf57fe5b50900390565b8181018281101561046557fe5b60008215156112e357506000610465565b508181028183828115156112f357fe5b041461046557fe5b600160a060020a038116600090815260036020526040812054819042908290819081908110611399576040805160e560020a62461bcd028152602060048201526024808201527f4e6f7468696e6720776173206772616e74656420746f2074686973206164647260448201527f6573732e00000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a03871660009081526003602052604090206004015484116113c757600095508594506115a2565b600160a060020a0387166000908152600360208190526040909120015462278d00906113fa90869063ffffffff6112b316565b81151561140357fe5b600160a060020a038916600090815260036020526040902060020154919004955061143990869061ffff1663ffffffff6112b316565b600160a060020a038816600090815260036020526040902060050154909550841061149357600160a060020a03871660009081526003602052604090206001810154905461148c9163ffffffff6112b316565b95506115a2565b60008511156115a257600160a060020a03871660009081526003602081905260409091209081015460059091015462278d00916114d6919063ffffffff6112b316565b8115156114df57fe5b600160a060020a038916600090815260036020526040902054919004935061150d908463ffffffff6115ac16565b905061151f858263ffffffff6112d216565b600160a060020a03881660009081526003602052604090206001015490965061154e908763ffffffff6112c516565b600160a060020a0388166000908152600360205260409020549092508211156115a257600160a060020a03871660009081526003602052604090206001810154905461159f9163ffffffff6112b316565b95505b5050509193909250565b600081838115156115b957fe5b0493925050505600a165627a7a72305820156b96620bc6806e6f2d2f44b62996de6d965535543f139996f301186098f5a20029

Swarm Source

bzzr://156b96620bc6806e6f2d2f44b62996de6d965535543f139996f301186098f5a2

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

MXC empowers the Web3 IoT network that bridges real-world objects to Metaverse.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.