Contract 0x26c74ee5cd99e511043cfba764562f643abf81f5

Contract Overview

Balance:
0 Ether

Latest 2 internal transactions Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x9d6802c0e98b84727b573ccfc281d4219395321c1f8ef9dc4d68598465dab5c3491180553 days 4 hrs ago0xae52d8a8851287e52743fc92474a1ed7e1493e040x26c74ee5cd99e511043cfba764562f643abf81f50 Ether
0xdd2139159f97a3b94eb4ba93447acb502aac612919eb269883326cc836ec14c9491180553 days 4 hrs ago0xae52d8a8851287e52743fc92474a1ed7e1493e040x26c74ee5cd99e511043cfba764562f643abf81f50 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Verified Source Code for Contract 0xc1337a2900cb13f242a3d38a7c96229bfd7b6f15

Contract Name:
CnusTokenMockUp

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes

Runs (Optimizer):
500

Contract Source Code

pragma solidity ^0.4.24;

// File: contracts/CnusTokenMockUp.sol

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
    address public owner;


    event OwnershipRenounced(address indexed previousOwner);
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );


    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    constructor() public {
        owner = msg.sender;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    /**
     * @dev Allows the current owner to relinquish control of the contract.
     * @notice Renouncing to ownership will leave the contract without an owner.
     * It will not be possible to call the functions with the `onlyOwner`
     * modifier anymore.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipRenounced(owner);
        owner = address(0);
    }

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param _newOwner The address to transfer ownership to.
     */
    function transferOwnership(address _newOwner) public onlyOwner {
        _transferOwnership(_newOwner);
    }

    /**
     * @dev Transfers control of the contract to a newOwner.
     * @param _newOwner The address to transfer ownership to.
     */
    function _transferOwnership(address _newOwner) internal {
        require(_newOwner != address(0));
        emit OwnershipTransferred(owner, _newOwner);
        owner = _newOwner;
    }
}

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * See https://github.com/ethereum/EIPs/issues/179
 */
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 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 Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
    using SafeMath for uint256;

    mapping(address => uint256) internal balances;

    uint256 internal 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(_value <= balances[msg.sender]);
        require(_to != address(0));

        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 Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract BurnableToken is BasicToken {

    event Burn(address indexed burner, uint256 value);

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public {
        _burn(msg.sender, _value);
    }

    function _burn(address _who, uint256 _value) internal {
        require(_value <= balances[_who]);
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure

        balances[_who] = balances[_who].sub(_value);
        totalSupply_ = totalSupply_.sub(_value);
        emit Burn(_who, _value);
        emit Transfer(_who, address(0), _value);
    }
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
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 Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://github.com/ethereum/EIPs/issues/20
 * Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
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(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);
        require(_to != address(0));

        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:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     * @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)
     * From MonolithDAO Token.sol
     * @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)
     * From MonolithDAO Token.sol
     * @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;
    }

}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    function safeTransfer(
        ERC20Basic _token,
        address _to,
        uint256 _value
    )
    internal
    {
        require(_token.transfer(_to, _value));
    }

    function safeTransferFrom(
        ERC20 _token,
        address _from,
        address _to,
        uint256 _value
    )
    internal
    {
        require(_token.transferFrom(_from, _to, _value));
    }

    function safeApprove(
        ERC20 _token,
        address _spender,
        uint256 _value
    )
    internal
    {
        require(_token.approve(_spender, _value));
    }
}

/* solium-disable security/no-block-members */

pragma solidity ^0.4.24;






/**
 * @title TokenVesting
 * @dev A token holder contract that can release its token balance gradually like a
 * typical vesting scheme, with a cliff and vesting period. Optionally revocable by the
 * owner.
 */
contract TokenVesting is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for ERC20Basic;

    event Released(uint256 amount);
    event Revoked();

    // beneficiary of tokens after they are released
    address public beneficiary;

    uint256 public cliff;
    uint256 public start;
    uint256 public duration;

    bool public revocable;

    mapping(address => uint256) public released;
    mapping(address => bool) public revoked;

    /**
     * @dev Creates a vesting contract that vests its balance of any ERC20 token to the
     * _beneficiary, gradually in a linear fashion until _start + _duration. By then all
     * of the balance will have vested.
     * @param _beneficiary address of the beneficiary to whom vested tokens are transferred
     * @param _cliff duration in seconds of the cliff in which tokens will begin to vest
     * @param _start the time (as Unix time) at which point vesting starts
     * @param _duration duration in seconds of the period in which the tokens will vest
     * @param _revocable whether the vesting is revocable or not
     */
    constructor(
        address _beneficiary,
        uint256 _start,
        uint256 _cliff,
        uint256 _duration,
        bool _revocable
    )
    public
    {
        require(_beneficiary != address(0));
        require(_cliff <= _duration);

        beneficiary = _beneficiary;
        revocable = _revocable;
        duration = _duration;
        cliff = _start.add(_cliff);
        start = _start;
    }

    /**
     * @notice Transfers vested tokens to beneficiary.
     * @param _token ERC20 token which is being vested
     */
    function release(ERC20Basic _token) public {
        uint256 unreleased = releasableAmount(_token);

        require(unreleased > 0);

        released[_token] = released[_token].add(unreleased);

        _token.safeTransfer(beneficiary, unreleased);

        emit Released(unreleased);
    }

    /**
     * @notice Allows the owner to revoke the vesting. Tokens already vested
     * remain in the contract, the rest are returned to the owner.
     * @param _token ERC20 token which is being vested
     */
    function revoke(ERC20Basic _token) public onlyOwner {
        require(revocable);
        require(!revoked[_token]);

        uint256 balance = _token.balanceOf(address(this));

        uint256 unreleased = releasableAmount(_token);
        uint256 refund = balance.sub(unreleased);

        revoked[_token] = true;

        _token.safeTransfer(owner, refund);

        emit Revoked();
    }

    /**
     * @dev Calculates the amount that has already vested but hasn't been released yet.
     * @param _token ERC20 token which is being vested
     */
    function releasableAmount(ERC20Basic _token) public view returns (uint256) {
        return vestedAmount(_token).sub(released[_token]);
    }

    /**
     * @dev Calculates the amount that has already vested.
     * @param _token ERC20 token which is being vested
     */
    function vestedAmount(ERC20Basic _token) public view returns (uint256) {
        uint256 currentBalance = _token.balanceOf(address(this));
        uint256 totalBalance = currentBalance.add(released[_token]);

        if (block.timestamp < cliff) {
            return 0;
        } else if (block.timestamp >= start.add(duration) || revoked[_token]) {
            return totalBalance;
        } else {
            return totalBalance.mul(block.timestamp.sub(start)).div(duration);
        }
    }
}

/** @title Periodic Token Vesting
  * @dev A token holder contract that can release its token balance periodically like a
  * typical vesting scheme. Optionally revocable by the owner.
  */
contract PeriodicTokenVesting is TokenVesting {
    using SafeMath for uint256;

    uint256 public releasePeriod;
    uint256 public releaseCount;

    mapping(address => uint256) public revokedAmount;

    constructor(
        address _beneficiary,
        uint256 _startInUnixEpochTime,
        uint256 _releasePeriodInSeconds,
        uint256 _releaseCount
    )
    public
    TokenVesting(_beneficiary, _startInUnixEpochTime, 0, _releasePeriodInSeconds.mul(_releaseCount), true)
    {
        require(_releasePeriodInSeconds.mul(_releaseCount) > 0, "Vesting Duration cannot be 0");
        require(_startInUnixEpochTime.add(_releasePeriodInSeconds.mul(_releaseCount)) > block.timestamp, "Worthless vesting");
        releasePeriod = _releasePeriodInSeconds;
        releaseCount = _releaseCount;
    }

    function initialTokenAmountInVesting(ERC20Basic _token) public view returns (uint256) {
        return _token.balanceOf(address(this)).add(released[_token]).add(revokedAmount[_token]);
    }

    function tokenAmountLockedInVesting(ERC20Basic _token) public view returns (uint256) {
        return _token.balanceOf(address(this)).sub(releasableAmount(_token));
    }

    function nextVestingTime(ERC20Basic _token) public view returns (uint256) {
        if (block.timestamp >= start.add(duration) || revoked[_token]) {
            return 0;
        } else {
            return start.add(((block.timestamp.sub(start)).div(releasePeriod).add(1)).mul(releasePeriod));
        }
    }

    function vestingCompletionTime(ERC20Basic _token) public view returns (uint256) {
        if (block.timestamp >= start.add(duration) || revoked[_token]) {
            return 0;
        } else {
            return start.add(duration);
        }
    }

    function remainingVestingCount(ERC20Basic _token) public view returns (uint256) {
        if (block.timestamp >= start.add(duration) || revoked[_token]) {
            return 0;
        } else {
            return releaseCount.sub((block.timestamp.sub(start)).div(releasePeriod));
        }
    }

    /**
     * @notice Allows the owner to revoke the vesting. Tokens already vested
     * remain in the contract, the rest are returned to the owner.
     * @param _token ERC20 token which is being vested
     */
    function revoke(ERC20Basic _token) public onlyOwner {
        require(revocable);
        require(!revoked[_token]);

        uint256 balance = _token.balanceOf(address(this));

        uint256 unreleased = releasableAmount(_token);
        uint256 refund = balance.sub(unreleased);

        revoked[_token] = true;
        revokedAmount[_token] = refund;

        _token.safeTransfer(owner, refund);

        emit Revoked();
    }

    /**
     * @dev Calculates the amount that has already vested.
     * @param _token ERC20 token which is being vested
     */
    function vestedAmount(ERC20Basic _token) public view returns (uint256) {
        uint256 currentBalance = _token.balanceOf(address(this));
        uint256 totalBalance = currentBalance.add(released[_token]);

        if (block.timestamp < cliff) {
            return 0;
        } else if (block.timestamp >= start.add(duration) || revoked[_token]) {
            return totalBalance;
        } else {
            return totalBalance.mul((block.timestamp.sub(start)).div(releasePeriod)).div(releaseCount);
        }
    }
}

/** @title Cnus Token
  * An ERC20-compliant token.
  */
contract CnusToken is StandardToken, Ownable, BurnableToken {
    using SafeMath for uint256;

    // global token transfer lock
    bool public globalTokenTransferLock = false;
    bool public mintingFinished = false;
    bool public lockingDisabled = false;

    string public name = "CoinUs";
    string public symbol = "CNUS";
    uint256 public decimals = 18;

    address public mintContractOwner;

    address[] public vestedAddresses;

    // mapping that provides address based lock.
    mapping(address => bool) public lockedStatusAddress;
    mapping(address => PeriodicTokenVesting) private tokenVestingContracts;

    event LockingDisabled();
    event GlobalLocked();
    event GlobalUnlocked();
    event Locked(address indexed lockedAddress);
    event Unlocked(address indexed unlockedaddress);
    event Mint(address indexed to, uint256 amount);
    event MintFinished();
    event MintOwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event VestingCreated(address indexed beneficiary, uint256 startTime, uint256 period, uint256 releaseCount);
    event InitialVestingDeposited(address indexed beneficiary, uint256 amount);
    event AllVestedTokenReleased();
    event VestedTokenReleased(address indexed beneficiary);
    event RevokedTokenVesting(address indexed beneficiary);

    // Check for global lock status to be unlocked
    modifier checkGlobalTokenTransferLock {
        if (!lockingDisabled) {
            require(!globalTokenTransferLock, "Global lock is active");
        }
        _;
    }

    // Check for address lock to be unlocked
    modifier checkAddressLock {
        require(!lockedStatusAddress[msg.sender], "Address is locked");
        _;
    }

    modifier canMint() {
        require(!mintingFinished, "Minting is finished");
        _;
    }

    modifier hasMintPermission() {
        require(msg.sender == mintContractOwner, "Minting is not authorized from this account");
        _;
    }

    constructor() public {
        uint256 initialSupply = 2000000000;
        initialSupply = initialSupply.mul(10 ** 18);
        totalSupply_ = initialSupply;
        balances[msg.sender] = initialSupply;
        mintContractOwner = msg.sender;
    }

    function disableLockingForever() public
    onlyOwner
    {
        lockingDisabled = true;
        emit LockingDisabled();
    }

    function setGlobalTokenTransferLock(bool locked) public
    onlyOwner
    {
        require(!lockingDisabled);
        require(globalTokenTransferLock != locked);
        globalTokenTransferLock = locked;
        if (globalTokenTransferLock) {
            emit GlobalLocked();
        } else {
            emit GlobalUnlocked();
        }
    }

    /**
      * @dev Allows token issuer to lock token transfer for an address.
      * @param target Target address to lock token transfer.
      */
    function lockAddress(
        address target
    )
    public
    onlyOwner
    {
        require(!lockingDisabled);
        require(owner != target);
        require(!lockedStatusAddress[target]);
        for (uint256 i = 0; i < vestedAddresses.length; i++) {
            require(tokenVestingContracts[vestedAddresses[i]] != target);
        }
        lockedStatusAddress[target] = true;
        emit Locked(target);
    }

    /**
      * @dev Allows token issuer to unlock token transfer for an address.
      * @param target Target address to unlock token transfer.
      */
    function unlockAddress(
        address target
    )
    public
    onlyOwner
    {
        require(!lockingDisabled);
        require(lockedStatusAddress[target]);
        lockedStatusAddress[target] = false;
        emit Unlocked(target);
    }

    /**
     * @dev Creates a vesting contract that vests its balance of Cnus token to the
     * _beneficiary, gradually in periodic interval until all of the balance will have
     * vested by period * release count time.
     * @param _beneficiary address of the beneficiary to whom vested tokens are transferred
     * @param _startInUnixEpochTime the time (as Unix time) at which point vesting starts
     * @param _releasePeriodInSeconds period in seconds in which tokens will vest to beneficiary
     * @param _releaseCount count of period required to have all of the balance vested
     */
    function createNewVesting(
        address _beneficiary,
        uint256 _startInUnixEpochTime,
        uint256 _releasePeriodInSeconds,
        uint256 _releaseCount
    )
    public
    onlyOwner
    {
        require(tokenVestingContracts[_beneficiary] == address(0));
        tokenVestingContracts[_beneficiary] = new PeriodicTokenVesting(
            _beneficiary, _startInUnixEpochTime, _releasePeriodInSeconds, _releaseCount);
        vestedAddresses.push(_beneficiary);
        emit VestingCreated(_beneficiary, _startInUnixEpochTime, _releasePeriodInSeconds, _releaseCount);
    }

    /**
      * @dev Transfers token vesting amount from token issuer to vesting contract created for the
      * beneficiary. Token Issuer must first approve token spending from owner's account.
      * @param _beneficiary beneficiary for whom vesting has been created with createNewVesting function.
      * @param _vestAmount vesting amount for the beneficiary
      */
    function transferInitialVestAmountFromOwner(
        address _beneficiary,
        uint256 _vestAmount
    )
    public
    onlyOwner
    returns (bool)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        ERC20 cnusToken = ERC20(address(this));
        require(cnusToken.allowance(owner, address(this)) >= _vestAmount);
        require(cnusToken.transferFrom(owner, tokenVestingContracts[_beneficiary], _vestAmount));
        emit InitialVestingDeposited(_beneficiary, cnusToken.balanceOf(tokenVestingContracts[_beneficiary]));
        return true;
    }

    function checkVestedAddressCount()
    public
    view
    returns (uint256)
    {
        return vestedAddresses.length;
    }

    function checkCurrentTotolVestedAmount()
    public
    view
    returns (uint256)
    {
        uint256 vestedAmountSum = 0;
        for (uint256 i = 0; i < vestedAddresses.length; i++) {
            vestedAmountSum = vestedAmountSum.add(
                tokenVestingContracts[vestedAddresses[i]].vestedAmount(ERC20(address(this))));
        }
        return vestedAmountSum;
    }

    function checkCurrentTotalReleasableAmount()
    public
    view
    returns (uint256)
    {
        uint256 releasableAmountSum = 0;
        for (uint256 i = 0; i < vestedAddresses.length; i++) {
            releasableAmountSum = releasableAmountSum.add(
                tokenVestingContracts[vestedAddresses[i]].releasableAmount(ERC20(address(this))));
        }
        return releasableAmountSum;
    }

    function checkCurrentTotalAmountLockedInVesting()
    public
    view
    returns (uint256)
    {
        uint256 lockedAmountSum = 0;
        for (uint256 i = 0; i < vestedAddresses.length; i++) {
            lockedAmountSum = lockedAmountSum.add(
                tokenVestingContracts[vestedAddresses[i]].tokenAmountLockedInVesting(ERC20(address(this))));
        }
        return lockedAmountSum;
    }

    function checkInitialTotalTokenAmountInVesting()
    public
    view
    returns (uint256)
    {
        uint256 initialTokenVesting = 0;
        for (uint256 i = 0; i < vestedAddresses.length; i++) {
            initialTokenVesting = initialTokenVesting.add(
                tokenVestingContracts[vestedAddresses[i]].initialTokenAmountInVesting(ERC20(address(this))));
        }
        return initialTokenVesting;
    }

    function checkNextVestingTimeForBeneficiary(
        address _beneficiary
    )
    public
    view
    returns (uint256)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        return tokenVestingContracts[_beneficiary].nextVestingTime(ERC20(address(this)));
    }

    function checkVestingCompletionTimeForBeneficiary(
        address _beneficiary
    )
    public
    view
    returns (uint256)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        return tokenVestingContracts[_beneficiary].vestingCompletionTime(ERC20(address(this)));
    }

    function checkRemainingVestingCountForBeneficiary(
        address _beneficiary
    )
    public
    view
    returns (uint256)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        return tokenVestingContracts[_beneficiary].remainingVestingCount(ERC20(address(this)));
    }

    function checkReleasableAmountForBeneficiary(
        address _beneficiary
    )
    public
    view
    returns (uint256)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        return tokenVestingContracts[_beneficiary].releasableAmount(ERC20(address(this)));
    }

    function checkVestedAmountForBeneficiary(
        address _beneficiary
    )
    public
    view
    returns (uint256)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        return tokenVestingContracts[_beneficiary].vestedAmount(ERC20(address(this)));
    }

    function checkTokenAmountLockedInVestingForBeneficiary(
        address _beneficiary
    )
    public
    view
    returns (uint256)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        return tokenVestingContracts[_beneficiary].tokenAmountLockedInVesting(ERC20(address(this)));
    }

    /**
     * @notice Transfers vested tokens to all beneficiaries.
     */
    function releaseAllVestedToken()
    public
    checkGlobalTokenTransferLock
    returns (bool)
    {
        emit AllVestedTokenReleased();
        PeriodicTokenVesting tokenVesting;
        for (uint256 i = 0; i < vestedAddresses.length; i++) {
            tokenVesting = tokenVestingContracts[vestedAddresses[i]];
            if (tokenVesting.releasableAmount(ERC20(address(this))) > 0) {
                tokenVesting.release(ERC20(address(this)));
                emit VestedTokenReleased(vestedAddresses[i]);
            }
        }
        return true;
    }

    /**
     * @notice Transfers vested tokens to beneficiary.
     * @param _beneficiary Beneficiary to whom cnus token is being vested
     */
    function releaseVestedToken(
        address _beneficiary
    )
    public
    checkGlobalTokenTransferLock
    returns (bool)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        tokenVestingContracts[_beneficiary].release(ERC20(address(this)));
        emit VestedTokenReleased(_beneficiary);
        return true;
    }

    /**
     * @notice Allows the owner to revoke the vesting. Tokens already vested
     * remain in the contract, the rest are returned to the owner.
     * @param _beneficiary Beneficiary to whom cnus token is being vested
     */
    function revokeTokenVesting(
        address _beneficiary
    )
    public
    onlyOwner
    checkGlobalTokenTransferLock
    returns (bool)
    {
        require(tokenVestingContracts[_beneficiary] != address(0));
        tokenVestingContracts[_beneficiary].revoke(ERC20(address(this)));
        _transferMisplacedToken(owner, address(this), ERC20(address(this)).balanceOf(address(this)));
        emit RevokedTokenVesting(_beneficiary);
        return true;
    }

    /** @dev Transfer `_value` token to `_to` from `msg.sender`, on the condition
      * that global token lock and individual address lock in the `msg.sender`
      * accountare both released.
      * @param _to The address of the recipient.
      * @param _value The amount of token to be transferred.
      * @return Whether the transfer was successful or not.
      */
    function transfer(
        address _to,
        uint256 _value
    )
    public
    checkGlobalTokenTransferLock
    checkAddressLock
    returns (bool)
    {
        return super.transfer(_to, _value);
    }

    /**
     * @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
    checkGlobalTokenTransferLock
    returns (bool)
    {
        require(!lockedStatusAddress[_from], "Address is locked.");
        return super.transferFrom(_from, _to, _value);
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
     * @param _spender address The address which will spend the funds.
     * @param _value uint256 The amount of tokens to be spent.
     */
    function approve(
        address _spender,
        uint256 _value
    )
    public
    checkGlobalTokenTransferLock
    checkAddressLock
    returns (bool)
    {
        return super.approve(_spender, _value);
    }

    /**
     * @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)
     * From MonolithDAO Token.sol
     * @param _spender The address which will spend the funds.
     * @param _addedValue The amount of tokens to increase the allowance by.
     */
    function increaseApproval(
        address _spender,
        uint _addedValue
    )
    public
    checkGlobalTokenTransferLock
    checkAddressLock
    returns (bool success)
    {
        return super.increaseApproval(_spender, _addedValue);
    }

    /**
     * @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)
     * From MonolithDAO Token.sol
     * @param _spender The address which will spend the funds.
     * @param _subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseApproval(
        address _spender,
        uint _subtractedValue
    )
    public
    checkGlobalTokenTransferLock
    checkAddressLock
    returns (bool success)
    {
        return super.decreaseApproval(_spender, _subtractedValue);
    }

    /**
     * @dev Function to transfer mint ownership.
     * @param _newOwner The address that will have the mint ownership.
     */
    function transferMintOwnership(
        address _newOwner
    )
    public
    onlyOwner
    {
        _transferMintOwnership(_newOwner);
    }

    /**
     * @dev Function to mint tokens
     * @param _to The address that will receive the minted tokens.
     * @param _amount The amount of tokens to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(
        address _to,
        uint256 _amount
    )
    public
    hasMintPermission
    canMint
    returns (bool)
    {
        totalSupply_ = totalSupply_.add(_amount);
        balances[_to] = balances[_to].add(_amount);
        emit Mint(_to, _amount);
        emit Transfer(address(0), _to, _amount);
        return true;
    }

    /**
     * @dev Function to stop minting new tokens.
     * @return True if the operation was successful.
     */
    function finishMinting()
    public
    onlyOwner
    canMint
    returns (bool)
    {
        mintingFinished = true;
        emit MintFinished();
        return true;
    }

    function checkMisplacedTokenBalance(
        address _tokenAddress
    )
    public
    view
    returns (uint256)
    {
        ERC20 unknownToken = ERC20(_tokenAddress);
        return unknownToken.balanceOf(address(this));
    }

    // Allow transfer of accidentally sent ERC20 tokens
    function refundMisplacedToken(
        address _recipient,
        address _tokenAddress,
        uint256 _value
    )
    public
    onlyOwner
    {
        _transferMisplacedToken(_recipient, _tokenAddress, _value);
    }

    function _transferMintOwnership(
        address _newOwner
    )
    internal
    {
        require(_newOwner != address(0));
        emit MintOwnershipTransferred(mintContractOwner, _newOwner);
        mintContractOwner = _newOwner;
    }

    function _transferMisplacedToken(
        address _recipient,
        address _tokenAddress,
        uint256 _value
    )
    internal
    {
        require(_recipient != address(0));
        ERC20 unknownToken = ERC20(_tokenAddress);
        require(unknownToken.balanceOf(address(this)) >= _value, "Insufficient token balance.");
        require(unknownToken.transfer(_recipient, _value));
    }
}

contract CnusTokenMockUp is CnusToken {
    constructor()
    CnusToken()
    {
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"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":"","type":"address"}],"name":"lockedStatusAddress","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":"_newOwner","type":"address"}],"name":"transferMintOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_startInUnixEpochTime","type":"uint256"},{"name":"_releasePeriodInSeconds","type":"uint256"},{"name":"_releaseCount","type":"uint256"}],"name":"createNewVesting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"}],"name":"lockAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"checkInitialTotalTokenAmountInVesting","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"checkCurrentTotalReleasableAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenAddress","type":"address"}],"name":"checkMisplacedTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_vestAmount","type":"uint256"}],"name":"transferInitialVestAmountFromOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"globalTokenTransferLock","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"disableLockingForever","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_tokenAddress","type":"address"},{"name":"_value","type":"uint256"}],"name":"refundMisplacedToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"releaseAllVestedToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"checkVestingCompletionTimeForBeneficiary","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintContractOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"checkTokenAmountLockedInVestingForBeneficiary","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"locked","type":"bool"}],"name":"setGlobalTokenTransferLock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"checkVestedAddressCount","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":"","type":"uint256"}],"name":"vestedAddresses","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":true,"inputs":[],"name":"checkCurrentTotolVestedAmount","outputs":[{"name":"","type":"uint256"}],"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":true,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"checkVestedAmountForBeneficiary","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"}],"name":"unlockAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"checkRemainingVestingCountForBeneficiary","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"releaseVestedToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"checkCurrentTotalAmountLockedInVesting","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"checkNextVestingTimeForBeneficiary","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","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":false,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"revokeTokenVesting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lockingDisabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"checkReleasableAmountForBeneficiary","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"LockingDisabled","type":"event"},{"anonymous":false,"inputs":[],"name":"GlobalLocked","type":"event"},{"anonymous":false,"inputs":[],"name":"GlobalUnlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"lockedAddress","type":"address"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"unlockedaddress","type":"address"}],"name":"Unlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"MintOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"startTime","type":"uint256"},{"indexed":false,"name":"period","type":"uint256"},{"indexed":false,"name":"releaseCount","type":"uint256"}],"name":"VestingCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"InitialVestingDeposited","type":"event"},{"anonymous":false,"inputs":[],"name":"AllVestedTokenReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"}],"name":"VestedTokenReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"beneficiary","type":"address"}],"name":"RevokedTokenVesting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"}]

Contract Creation Code

6003805460a060020a62ffffff021916905560c0604052600660808190527f436f696e5573000000000000000000000000000000000000000000000000000060a09081526200005291600491906200014b565b506040805180820190915260048082527f434e555300000000000000000000000000000000000000000000000000000000602090920191825262000099916005916200014b565b506012600655348015620000ac57600080fd5b5060038054600160a060020a031916331790556377359400620000e681670de0b6b3a764000064010000000062002f666200011882021704565b60018190553360008181526020819052604090209190915560078054600160a060020a031916909117905550620001f0565b60008215156200012b5750600062000145565b508181028183828115156200013c57fe5b04146200014557fe5b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200018e57805160ff1916838001178555620001be565b82800160010185558215620001be579182015b82811115620001be578251825591602001919060010190620001a1565b50620001cc929150620001d0565b5090565b620001ed91905b80821115620001cc5760008155600101620001d7565b90565b613fa180620002006000396000f3006080604052600436106200025e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b81146200026357806306fdde03146200028f578063095ea7b3146200031f5780631701c1fa146200034657806318160ddd146200036a5780631861355b146200039457806323b872dd14620003ba578063313ce56714620003e75780633420b07b14620003ff57806334a90d02146200042c57806340c10f19146200045057806342966c681462000477578063435cbebe146200049257806345b74a1c14620004aa5780634eb99f1414620004c2578063533c02b214620004e657806354a598b0146200050d57806355f61e041462000525578063565dc0ed146200053d57806356ff9813146200056a5780635c6fee29146200058257806365e0666714620005a65780636618846314620005da5780636cbf4d7e146200060157806370a082311462000625578063715018a6146200064957806374398d4514620006615780637d64bcb4146200067e57806389e03a4b14620006965780638da5cb5b14620006ae578063946b6a3814620006c657806395d89b4114620006e1578063a5f4bc3214620006f9578063a9059cbb1462000711578063afabfb4b1462000738578063b7eb5e0a146200075c578063c3abfe0d1462000780578063d129262414620007a4578063d622769814620007c8578063d6a3b80014620007e0578063d73dd6231462000804578063dd62ed3e146200082b578063e2c1fd331462000855578063f2fde38b1462000879578063fb815efe146200089d578063ffc3837514620008b5575b600080fd5b3480156200027057600080fd5b506200027b620008d9565b604080519115158252519081900360200190f35b3480156200029c57600080fd5b50620002a7620008fb565b6040805160208082528351818301528351919283929083019185019080838360005b83811015620002e3578181015183820152602001620002c9565b50505050905090810190601f168015620003115780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156200032c57600080fd5b506200027b600160a060020a03600435166024356200098d565b3480156200035357600080fd5b506200027b600160a060020a036004351662000a74565b3480156200037757600080fd5b506200038262000a89565b60408051918252519081900360200190f35b348015620003a157600080fd5b50620003b8600160a060020a036004351662000a8f565b005b348015620003c757600080fd5b506200027b600160a060020a036004358116906024351660443562000ab5565b348015620003f457600080fd5b506200038262000ba5565b3480156200040c57600080fd5b50620003b8600160a060020a036004351660243560443560643562000bab565b3480156200043957600080fd5b50620003b8600160a060020a036004351662000cfc565b3480156200045d57600080fd5b506200027b600160a060020a036004351660243562000e2c565b3480156200048457600080fd5b50620003b86004356200100a565b3480156200049f57600080fd5b506200038262001016565b348015620004b757600080fd5b506200038262001109565b348015620004cf57600080fd5b5062000382600160a060020a0360043516620011ba565b348015620004f357600080fd5b506200027b600160a060020a036004351660243562001255565b3480156200051a57600080fd5b506200027b620014e9565b3480156200053257600080fd5b50620003b8620014f9565b3480156200054a57600080fd5b50620003b8600160a060020a036004358116906024351660443562001562565b3480156200057757600080fd5b506200027b6200158c565b3480156200058f57600080fd5b5062000382600160a060020a0360043516620017d8565b348015620005b357600080fd5b50620005be620018a6565b60408051600160a060020a039092168252519081900360200190f35b348015620005e757600080fd5b506200027b600160a060020a0360043516602435620018b5565b3480156200060e57600080fd5b5062000382600160a060020a036004351662001993565b3480156200063257600080fd5b5062000382600160a060020a036004351662001a2d565b3480156200065657600080fd5b50620003b862001a48565b3480156200066e57600080fd5b50620003b8600435151562001ab7565b3480156200068b57600080fd5b506200027b62001b9a565b348015620006a357600080fd5b506200038262001c90565b348015620006bb57600080fd5b50620005be62001c96565b348015620006d357600080fd5b50620005be60043562001ca5565b348015620006ee57600080fd5b50620002a762001cce565b3480156200070657600080fd5b506200038262001d2c565b3480156200071e57600080fd5b506200027b600160a060020a036004351660243562001ddd565b3480156200074557600080fd5b5062000382600160a060020a036004351662001ebb565b3480156200076957600080fd5b50620003b8600160a060020a036004351662001f55565b3480156200078d57600080fd5b5062000382600160a060020a036004351662001ff6565b348015620007b157600080fd5b506200027b600160a060020a036004351662002090565b348015620007d557600080fd5b5062000382620021e5565b348015620007ed57600080fd5b5062000382600160a060020a036004351662002296565b3480156200081157600080fd5b506200027b600160a060020a036004351660243562002330565b3480156200083857600080fd5b5062000382600160a060020a03600435811690602435166200240e565b3480156200086257600080fd5b506200027b600160a060020a036004351662002439565b3480156200088657600080fd5b50620003b8600160a060020a03600435166200264b565b348015620008aa57600080fd5b506200027b6200266e565b348015620008c257600080fd5b5062000382600160a060020a03600435166200267e565b6003547501000000000000000000000000000000000000000000900460ff1681565b6004805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015620009855780601f10620009595761010080835404028352916020019162000985565b820191906000526020600020905b8154815290600101906020018083116200096757829003601f168201915b505050505081565b60035460009060b060020a900460ff161515620009f65760035460a060020a900460ff1615620009f6576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b3360009081526009602052604090205460ff161562000a5f576040805160e560020a62461bcd02815260206004820152601160248201527f41646472657373206973206c6f636b6564000000000000000000000000000000604482015290519081900360640190fd5b62000a6b838362002718565b90505b92915050565b60096020526000908152604090205460ff1681565b60015490565b600354600160a060020a0316331462000aa757600080fd5b62000ab2816200277e565b50565b60035460009060b060020a900460ff16151562000b1e5760035460a060020a900460ff161562000b1e576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b600160a060020a03841660009081526009602052604090205460ff161562000b90576040805160e560020a62461bcd02815260206004820152601260248201527f41646472657373206973206c6f636b65642e0000000000000000000000000000604482015290519081900360640190fd5b62000b9d848484620027fd565b949350505050565b60065481565b600354600160a060020a0316331462000bc357600080fd5b600160a060020a038481166000908152600a6020526040902054161562000be957600080fd5b8383838362000bf762002f55565b600160a060020a039094168452602084019290925260408084019190915260608301919091525190819003608001906000f08015801562000c3c573d6000803e3d6000fd5b50600160a060020a038086166000818152600a6020908152604080832080549690951673ffffffffffffffffffffffffffffffffffffffff19968716179094556008805460018101825592527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3909101805490941682179093558151868152928301859052828201849052905190917f0d6c6184269aab4c45eaecc5cc21da2c4bc93cf48439a2aea39245d8e66e3d1b919081900360600190a250505050565b600354600090600160a060020a0316331462000d1757600080fd5b60035460b060020a900460ff161562000d2f57600080fd5b600354600160a060020a038381169116141562000d4b57600080fd5b600160a060020a03821660009081526009602052604090205460ff161562000d7257600080fd5b5060005b60085481101562000ddf5781600160a060020a0316600a600060088481548110151562000d9f57fe5b6000918252602080832090910154600160a060020a03908116845290830193909352604090910190205416141562000dd657600080fd5b60010162000d76565b600160a060020a038216600081815260096020526040808220805460ff19166001179055517f44427e3003a08f22cf803894075ac0297524e09e521fc1c15bc91741ce3dc1599190a25050565b600754600090600160a060020a0316331462000eb8576040805160e560020a62461bcd02815260206004820152602b60248201527f4d696e74696e67206973206e6f7420617574686f72697a65642066726f6d207460448201527f686973206163636f756e74000000000000000000000000000000000000000000606482015290519081900360840190fd5b6003547501000000000000000000000000000000000000000000900460ff161562000f2d576040805160e560020a62461bcd02815260206004820152601360248201527f4d696e74696e672069732066696e697368656400000000000000000000000000604482015290519081900360640190fd5b60015462000f42908363ffffffff6200297b16565b600155600160a060020a03831660009081526020819052604090205462000f70908363ffffffff6200297b16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b62000ab2338262002989565b600080805b6008548110156200110357620010f8600a60006008848154811015156200103e57fe5b6000918252602080832090910154600160a060020a03908116845283820194909452604092830182205483517f2a0102bf0000000000000000000000000000000000000000000000000000000081523060048201529351941693632a0102bf93602480820194918390030190829087803b158015620010bc57600080fd5b505af1158015620010d1573d6000803e3d6000fd5b505050506040513d6020811015620010e857600080fd5b5051839063ffffffff6200297b16565b91506001016200101b565b50919050565b600080805b6008548110156200110357620011af600a60006008848154811015156200113157fe5b6000918252602080832090910154600160a060020a03908116845283820194909452604092830182205483517f1726cbc80000000000000000000000000000000000000000000000000000000081523060048201529351941693631726cbc893602480820194918390030190829087803b158015620010bc57600080fd5b91506001016200110e565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000918391600160a060020a038316916370a0823191602480830192602092919082900301818887803b1580156200122057600080fd5b505af115801562001235573d6000803e3d6000fd5b505050506040513d60208110156200124c57600080fd5b50519392505050565b6003546000908190600160a060020a031633146200127257600080fd5b600160a060020a038481166000908152600a60205260409020541615156200129957600080fd5b50600354604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a0390921660048301523060248301819052905190918491839163dd62ed3e9160448083019260209291908290030181600087803b1580156200130c57600080fd5b505af115801562001321573d6000803e3d6000fd5b505050506040513d60208110156200133857600080fd5b505110156200134657600080fd5b600354600160a060020a038581166000908152600a602090815260408083205481517f23b872dd0000000000000000000000000000000000000000000000000000000081529585166004870152841660248601526044850188905251928516936323b872dd9360648083019491928390030190829087803b158015620013cb57600080fd5b505af1158015620013e0573d6000803e3d6000fd5b505050506040513d6020811015620013f757600080fd5b505115156200140557600080fd5b600160a060020a038085166000818152600a602090815260408083205481517f70a082310000000000000000000000000000000000000000000000000000000081529086166004820152905193947f7dc0cf0a9515051e1e4842ed6998c7413c810f5070fbb063992c61d88c83c43794908716936370a0823193602480850194919392918390030190829087803b158015620014a057600080fd5b505af1158015620014b5573d6000803e3d6000fd5b505050506040513d6020811015620014cc57600080fd5b505160408051918252519081900360200190a25060019392505050565b60035460a060020a900460ff1681565b600354600160a060020a031633146200151157600080fd5b6003805476ff00000000000000000000000000000000000000000000191660b060020a1790556040517f3d8bbfb713a983ff1ab8a4ef63d7bd63e4b8d1b0a0797d196f196e204c0e98a090600090a1565b600354600160a060020a031633146200157a57600080fd5b6200158783838362002a8f565b505050565b6000806000600360169054906101000a900460ff161515620015fa5760035460a060020a900460ff1615620015fa576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b6040517fef90073324d17047610883f743a78d3fcb75e5fd7e4780d5700af464d2f79e2b90600090a15060005b600854811015620017cf57600a60006008838154811015156200164657fe5b6000918252602080832090910154600160a060020a03908116845283820194909452604092830182205483517f1726cbc800000000000000000000000000000000000000000000000000000000815230600482015293519416955090928592631726cbc892602480830193919282900301818787803b158015620016c957600080fd5b505af1158015620016de573d6000803e3d6000fd5b505050506040513d6020811015620016f557600080fd5b50511115620017c657604080517f191655870000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a03841691631916558791602480830192600092919082900301818387803b1580156200175f57600080fd5b505af115801562001774573d6000803e3d6000fd5b505050506008818154811015156200178857fe5b6000918252602082200154604051600160a060020a03909116917f76245777b3eed03cd565610e7c772445b248c694fcde93a29ffc245c8bd8a64391a25b60010162001627565b60019250505090565b600160a060020a038181166000908152600a602052604081205490911615156200180157600080fd5b600160a060020a038083166000908152600a602090815260408083205481517fc09c5943000000000000000000000000000000000000000000000000000000008152306004820152915194169363c09c594393602480840194938390030190829087803b1580156200187257600080fd5b505af115801562001887573d6000803e3d6000fd5b505050506040513d60208110156200189e57600080fd5b505192915050565b600754600160a060020a031681565b60035460009060b060020a900460ff1615156200191e5760035460a060020a900460ff16156200191e576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b3360009081526009602052604090205460ff161562001987576040805160e560020a62461bcd02815260206004820152601160248201527f41646472657373206973206c6f636b6564000000000000000000000000000000604482015290519081900360640190fd5b62000a6b838362002c50565b600160a060020a038181166000908152600a60205260408120549091161515620019bc57600080fd5b600160a060020a038083166000908152600a602090815260408083205481517f7e6495980000000000000000000000000000000000000000000000000000000081523060048201529151941693637e64959893602480840194938390030190829087803b1580156200187257600080fd5b600160a060020a031660009081526020819052604090205490565b600354600160a060020a0316331462001a6057600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600160a060020a0316331462001acf57600080fd5b60035460b060020a900460ff161562001ae757600080fd5b60035460ff60a060020a909104161515811515141562001b0657600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a8315158102919091179182905560ff9104161562001b6e576040517fb85cf10bd822b94b5eab69d0f78f0333175064b551dab3bccd6ac8b2d4ec2d2390600090a162000ab2565b6040517f1a8206594b2958f00beef441f19318b0b0577e2c96d44c262017b20b10f2f0a390600090a150565b600354600090600160a060020a0316331462001bb557600080fd5b6003547501000000000000000000000000000000000000000000900460ff161562001c2a576040805160e560020a62461bcd02815260206004820152601360248201527f4d696e74696e672069732066696e697368656400000000000000000000000000604482015290519081900360640190fd5b6003805475ff000000000000000000000000000000000000000000191675010000000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b60085490565b600354600160a060020a031681565b600880548290811062001cb457fe5b600091825260209091200154600160a060020a0316905081565b6005805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015620009855780601f10620009595761010080835404028352916020019162000985565b600080805b600854811015620011035762001dd2600a600060088481548110151562001d5457fe5b6000918252602080832090910154600160a060020a03908116845283820194909452604092830182205483517f384711cc000000000000000000000000000000000000000000000000000000008152306004820152935194169363384711cc93602480820194918390030190829087803b158015620010bc57600080fd5b915060010162001d31565b60035460009060b060020a900460ff16151562001e465760035460a060020a900460ff161562001e46576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b3360009081526009602052604090205460ff161562001eaf576040805160e560020a62461bcd02815260206004820152601160248201527f41646472657373206973206c6f636b6564000000000000000000000000000000604482015290519081900360640190fd5b62000a6b838362002d43565b600160a060020a038181166000908152600a6020526040812054909116151562001ee457600080fd5b600160a060020a038083166000908152600a602090815260408083205481517f384711cc000000000000000000000000000000000000000000000000000000008152306004820152915194169363384711cc93602480840194938390030190829087803b1580156200187257600080fd5b600354600160a060020a0316331462001f6d57600080fd5b60035460b060020a900460ff161562001f8557600080fd5b600160a060020a03811660009081526009602052604090205460ff16151562001fad57600080fd5b600160a060020a038116600081815260096020526040808220805460ff19169055517f7e6adfec7e3f286831a0200a754127c171a2da564078722cb97704741bbdb0ea9190a250565b600160a060020a038181166000908152600a602052604081205490911615156200201f57600080fd5b600160a060020a038083166000908152600a602090815260408083205481517f6343a64a0000000000000000000000000000000000000000000000000000000081523060048201529151941693636343a64a93602480840194938390030190829087803b1580156200187257600080fd5b60035460009060b060020a900460ff161515620020f95760035460a060020a900460ff1615620020f9576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b600160a060020a038281166000908152600a60205260409020541615156200212057600080fd5b600160a060020a038083166000908152600a60205260408082205481517f19165587000000000000000000000000000000000000000000000000000000008152306004820152915193169263191655879260248084019391929182900301818387803b1580156200219057600080fd5b505af1158015620021a5573d6000803e3d6000fd5b5050604051600160a060020a03851692507f76245777b3eed03cd565610e7c772445b248c694fcde93a29ffc245c8bd8a6439150600090a2506001919050565b600080805b60085481101562001103576200228b600a60006008848154811015156200220d57fe5b6000918252602080832090910154600160a060020a03908116845283820194909452604092830182205483517f7e6495980000000000000000000000000000000000000000000000000000000081523060048201529351941693637e64959893602480820194918390030190829087803b158015620010bc57600080fd5b9150600101620021ea565b600160a060020a038181166000908152600a60205260408120549091161515620022bf57600080fd5b600160a060020a038083166000908152600a602090815260408083205481517f04cabcde00000000000000000000000000000000000000000000000000000000815230600482015291519416936304cabcde93602480840194938390030190829087803b1580156200187257600080fd5b60035460009060b060020a900460ff161515620023995760035460a060020a900460ff161562002399576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b3360009081526009602052604090205460ff161562002402576040805160e560020a62461bcd02815260206004820152601160248201527f41646472657373206973206c6f636b6564000000000000000000000000000000604482015290519081900360640190fd5b62000a6b838362002e28565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600090600160a060020a031633146200245457600080fd5b60035460b060020a900460ff161515620024ba5760035460a060020a900460ff1615620024ba576040805160e560020a62461bcd028152602060048201526015602482015260008051602062003f56833981519152604482015290519081900360640190fd5b600160a060020a038281166000908152600a6020526040902054161515620024e157600080fd5b600160a060020a038083166000908152600a60205260408082205481517f74a8f10300000000000000000000000000000000000000000000000000000000815230600482015291519316926374a8f1039260248084019391929182900301818387803b1580156200255157600080fd5b505af115801562002566573d6000803e3d6000fd5b5050600354604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820181905291516200260f9550600160a060020a039093169350909182916370a082319160248083019260209291908290030181600087803b158015620025db57600080fd5b505af1158015620025f0573d6000803e3d6000fd5b505050506040513d60208110156200260757600080fd5b505162002a8f565b604051600160a060020a038316907f63fa80005c7fc9bb98fc4702d520c753638275914bb9b324a1958ac7ed35c66a90600090a2506001919050565b600354600160a060020a031633146200266357600080fd5b62000ab28162002ec3565b60035460b060020a900460ff1681565b600160a060020a038181166000908152600a60205260408120549091161515620026a757600080fd5b600160a060020a038083166000908152600a602090815260408083205481517f1726cbc80000000000000000000000000000000000000000000000000000000081523060048201529151941693631726cbc893602480840194938390030190829087803b1580156200187257600080fd5b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b600160a060020a03811615156200279457600080fd5b600754604051600160a060020a038084169216907fd101401b0bfdc046da585b826bc2a57b481f26c1b93a83b503fb30990bc241f690600090a36007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0383166000908152602081905260408120548211156200282357600080fd5b600160a060020a03841660009081526002602090815260408083203384529091529020548211156200285457600080fd5b600160a060020a03831615156200286a57600080fd5b600160a060020a03841660009081526020819052604090205462002895908363ffffffff62002f4216565b600160a060020a038086166000908152602081905260408082209390935590851681522054620028cc908363ffffffff6200297b16565b600160a060020a0380851660009081526020818152604080832094909455918716815260028252828120338252909152205462002910908363ffffffff62002f4216565b600160a060020a03808616600081815260026020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b8181018281101562000a6e57fe5b600160a060020a038216600090815260208190526040902054811115620029af57600080fd5b600160a060020a038216600090815260208190526040902054620029da908263ffffffff62002f4216565b600160a060020a03831660009081526020819052604090205560015462002a08908263ffffffff62002f4216565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000600160a060020a038416151562002aa757600080fd5b50604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905183918391600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801562002b0e57600080fd5b505af115801562002b23573d6000803e3d6000fd5b505050506040513d602081101562002b3a57600080fd5b5051101562002b93576040805160e560020a62461bcd02815260206004820152601b60248201527f496e73756666696369656e7420746f6b656e2062616c616e63652e0000000000604482015290519081900360640190fd5b80600160a060020a031663a9059cbb85846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b15801562002c1057600080fd5b505af115801562002c25573d6000803e3d6000fd5b505050506040513d602081101562002c3c57600080fd5b5051151562002c4a57600080fd5b50505050565b336000908152600260209081526040808320600160a060020a038616845290915281205480831062002ca657336000908152600260209081526040808320600160a060020a038816845290915281205562002cdd565b62002cb8818463ffffffff62002f4216565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b3360009081526020819052604081205482111562002d6057600080fd5b600160a060020a038316151562002d7657600080fd5b3360009081526020819052604090205462002d98908363ffffffff62002f4216565b3360009081526020819052604080822092909255600160a060020a0385168152205462002dcc908363ffffffff6200297b16565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b336000908152600260209081526040808320600160a060020a038616845290915281205462002e5e908363ffffffff6200297b16565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a038116151562002ed957600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008282111562002f4f57fe5b50900390565b604051610fc28062002f9483390190565b600082151562002f795750600062000a6e565b5081810281838281151562002f8a57fe5b041462000a6e57fe0060806040523480156200001157600080fd5b5060405160808062000fc283398101604090815281516020830151918301516060909301519092908383600062000057858564010000000062000bc96200021e82021704565b60008054600160a060020a031916331790556001600160a060020a03851615156200008157600080fd5b818311156200008f57600080fd5b60018054600160a060020a031916600160a060020a0387161790556005805460ff19168215151790556004829055620000d7848464010000000062000251810262000b8f1704565b600255505050600355506000620000fd838364010000000062000bc96200021e82021704565b116200016a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f56657374696e67204475726174696f6e2063616e6e6f74206265203000000000604482015290519081900360640190fd5b426200019f62000189848464010000000062000bc96200021e82021704565b859064010000000062000b8f6200025182021704565b116200020c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f576f7274686c6573732076657374696e67000000000000000000000000000000604482015290519081900360640190fd5b600891909155600955506200025f9050565b600082151562000231575060006200024b565b508181028183828115156200024257fe5b04146200024b57fe5b92915050565b818101828110156200024b57fe5b610d53806200026f6000396000f3006080604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166304cabcde811461012c5780630fb5a6b41461015f57806313d033c0146101745780631726cbc81461018957806319165587146101aa5780632a0102bf146101cd578063384711cc146101ee57806338af3eed1461020f5780636343a64a1461024057806363af1a2a1461026157806363ef162714610282578063715018a61461029757806374a8f103146102ac5780637e649598146102cd578063872a7810146102ee5780638da5cb5b146103175780639852595c1461032c578063b8d08db21461034d578063be9a655514610362578063c09c594314610377578063f2fde38b14610398578063fa01dc06146103b9575b600080fd5b34801561013857600080fd5b5061014d600160a060020a03600435166103da565b60408051918252519081900360200190f35b34801561016b57600080fd5b5061014d61048a565b34801561018057600080fd5b5061014d610490565b34801561019557600080fd5b5061014d600160a060020a0360043516610496565b3480156101b657600080fd5b506101cb600160a060020a03600435166104c8565b005b3480156101d957600080fd5b5061014d600160a060020a0360043516610574565b3480156101fa57600080fd5b5061014d600160a060020a036004351661062f565b34801561021b57600080fd5b50610224610799565b60408051600160a060020a039092168252519081900360200190f35b34801561024c57600080fd5b5061014d600160a060020a03600435166107a8565b34801561026d57600080fd5b5061014d600160a060020a0360043516610821565b34801561028e57600080fd5b5061014d610833565b3480156102a357600080fd5b506101cb610839565b3480156102b857600080fd5b506101cb600160a060020a03600435166108a5565b3480156102d957600080fd5b5061014d600160a060020a0360043516610a19565b3480156102fa57600080fd5b50610303610ac0565b604080519115158252519081900360200190f35b34801561032357600080fd5b50610224610ac9565b34801561033857600080fd5b5061014d600160a060020a0360043516610ad8565b34801561035957600080fd5b5061014d610aea565b34801561036e57600080fd5b5061014d610af0565b34801561038357600080fd5b5061014d600160a060020a0360043516610af6565b3480156103a457600080fd5b506101cb600160a060020a0360043516610b57565b3480156103c557600080fd5b50610303600160a060020a0360043516610b7a565b60006103f3600454600354610b8f90919063ffffffff16565b421015806104195750600160a060020a03821660009081526007602052604090205460ff165b1561042657506000610485565b610482610473600854610467600161045b60085461044f60035442610ba290919063ffffffff16565b9063ffffffff610bb416565b9063ffffffff610b8f16565b9063ffffffff610bc916565b6003549063ffffffff610b8f16565b90505b919050565b60045481565b60025481565b600160a060020a038116600090815260066020526040812054610482906104bc8461062f565b9063ffffffff610ba216565b60006104d382610496565b9050600081116104e257600080fd5b600160a060020a03821660009081526006602052604090205461050b908263ffffffff610b8f16565b600160a060020a0380841660008181526006602052604090209290925560015461053d9291168363ffffffff610bf216565b6040805182815290517ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c5659181900360200190a15050565b600160a060020a0381166000818152600a6020908152604080832054600683528184205482517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529251949561048295929461045b94929391926370a08231926024808301939282900301818b87803b1580156105f757600080fd5b505af115801561060b573d6000803e3d6000fd5b505050506040513d602081101561062157600080fd5b50519063ffffffff610b8f16565b600080600083600160a060020a03166370a08231306040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b1580156106a857600080fd5b505af11580156106bc573d6000803e3d6000fd5b505050506040513d60208110156106d257600080fd5b5051600160a060020a03851660009081526006602052604090205490925061070190839063ffffffff610b8f16565b90506002544210156107165760009250610792565b60045460035461072b9163ffffffff610b8f16565b421015806107515750600160a060020a03841660009081526007602052604090205460ff165b1561075e57809250610792565b61078f60095461044f61078260085461044f60035442610ba290919063ffffffff16565b849063ffffffff610bc916565b92505b5050919050565b600154600160a060020a031681565b60006107c1600454600354610b8f90919063ffffffff16565b421015806107e75750600160a060020a03821660009081526007602052604090205460ff165b156107f457506000610485565b61048261081260085461044f60035442610ba290919063ffffffff16565b6009549063ffffffff610ba216565b600a6020526000908152604090205481565b60085481565b600054600160a060020a0316331461085057600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a26000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000805481908190600160a060020a031633146108c157600080fd5b60055460ff1615156108d257600080fd5b600160a060020a03841660009081526007602052604090205460ff16156108f857600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038616916370a082319160248083019260209291908290030181600087803b15801561095957600080fd5b505af115801561096d573d6000803e3d6000fd5b505050506040513d602081101561098357600080fd5b5051925061099084610496565b91506109a2838363ffffffff610ba216565b600160a060020a038086166000818152600760209081526040808320805460ff19166001179055600a9091528120849055549293506109ea929091168363ffffffff610bf216565b6040517f44825a4b2df8acb19ce4e1afba9aa850c8b65cdb7942e2078f27d0b0960efee690600090a150505050565b6000610482610a2783610496565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038616916370a082319160248083019260209291908290030181600087803b158015610a8857600080fd5b505af1158015610a9c573d6000803e3d6000fd5b505050506040513d6020811015610ab257600080fd5b50519063ffffffff610ba216565b60055460ff1681565b600054600160a060020a031681565b60066020526000908152604090205481565b60095481565b60035481565b6000610b0f600454600354610b8f90919063ffffffff16565b42101580610b355750600160a060020a03821660009081526007602052604090205460ff165b15610b4257506000610485565b6004546003546104829163ffffffff610b8f16565b600054600160a060020a03163314610b6e57600080fd5b610b7781610caa565b50565b60076020526000908152604090205460ff1681565b81810182811015610b9c57fe5b92915050565b600082821115610bae57fe5b50900390565b60008183811515610bc157fe5b049392505050565b6000821515610bda57506000610b9c565b50818102818382811515610bea57fe5b0414610b9c57fe5b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610c6e57600080fd5b505af1158015610c82573d6000803e3d6000fd5b505050506040513d6020811015610c9857600080fd5b50511515610ca557600080fd5b505050565b600160a060020a0381161515610cbf57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a723058207821655d978be7bb831ebd2519a1d8b95f403d68dcc8cb0f1206efce244041e40029476c6f62616c206c6f636b206973206163746976650000000000000000000000a165627a7a72305820ca1856bfc873a1fac53dcd2c5375ce68b1148fed43fa97ceea3f2e5b17db86b60029

Swarm Source

bzzr://ca1856bfc873a1fac53dcd2c5375ce68b1148fed43fa97ceea3f2e5b17db86b6
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward