ETH Price: $2,393.62 (-0.49%)

Token

IceChain (ICHX)
 

Overview

Max Total Supply

1,000,000,000 ICHX

Holders

587

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,560,918.898 ICHX

Value
$0.00
0xc703bf6c371570814905894130298b63948c5a9a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

IceChain token contract has migrated to 0xefd82259d43e0887a355fdb0428691eb8091fc76.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ICHXToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-11-15
*/

pragma solidity 0.4.24;

// File: contracts/commons/SafeMath.sol

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

    /**
    * @dev Multiplies two numbers, reverts on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring '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;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

    /**
    * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
    */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0); // Solidity only automatically asserts 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 c;
    }

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

        return c;
    }

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

        return c;
    }

    /**
    * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
    * reverts when dividing by zero.
    */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}

// File: contracts/flavours/Ownable.sol

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions". It has two-stage ownership transfer.
 */
contract Ownable {

    address public owner;
    address public pendingOwner;

    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 Throws if called by any account other than the owner.
     */
    modifier onlyPendingOwner() {
        require(msg.sender == pendingOwner);
        _;
    }

    /**
     * @dev Allows the current owner to prepare transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0));
        pendingOwner = newOwner;
    }

    /**
     * @dev Allows the pendingOwner address to finalize the transfer.
     */
    function claimOwnership() public onlyPendingOwner {
        emit OwnershipTransferred(owner, pendingOwner);
        owner = pendingOwner;
        pendingOwner = address(0);
    }
}

// File: contracts/flavours/Lockable.sol

/**
 * @title Lockable
 * @dev Base contract which allows children to
 *      implement main operations locking mechanism.
 */
contract Lockable is Ownable {
    event Lock();
    event Unlock();

    bool public locked = false;

    /**
     * @dev Modifier to make a function callable
    *       only when the contract is not locked.
     */
    modifier whenNotLocked() {
        require(!locked);
        _;
    }

    /**
     * @dev Modifier to make a function callable
     *      only when the contract is locked.
     */
    modifier whenLocked() {
        require(locked);
        _;
    }

    /**
     * @dev called by the owner to locke, triggers locked state
     */
    function lock() public onlyOwner whenNotLocked {
        locked = true;
        emit Lock();
    }

    /**
     * @dev called by the owner
     *      to unlock, returns to unlocked state
     */
    function unlock() public onlyOwner whenLocked {
        locked = false;
        emit Unlock();
    }
}

// File: contracts/base/BaseFixedERC20Token.sol

contract BaseFixedERC20Token is Lockable {
    using SafeMath for uint;

    /// @dev ERC20 Total supply
    uint public totalSupply;

    mapping(address => uint) public balances;

    mapping(address => mapping(address => uint)) private allowed;

    /// @dev Fired if token is transferred according to ERC20 spec
    event Transfer(address indexed from, address indexed to, uint value);

    /// @dev Fired if token withdrawal is approved according to ERC20 spec
    event Approval(address indexed owner, address indexed spender, uint value);

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

    /**
     * @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_, uint value_) public whenNotLocked returns (bool) {
        require(to_ != address(0) && value_ <= balances[msg.sender]);
        // SafeMath.sub will throw an exception if there is not enough balance
        balances[msg.sender] = balances[msg.sender].sub(value_);
        balances[to_] = balances[to_].add(value_);
        emit Transfer(msg.sender, to_, value_);
        return true;
    }

    /**
     * @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_ uint the amount of tokens to be transferred
     */
    function transferFrom(address from_, address to_, uint value_) public whenNotLocked returns (bool) {
        require(to_ != address(0) && value_ <= balances[from_] && 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
     *
     * To change the approve amount you first have to reduce the addresses
     * allowance to zero by calling `approve(spender_, 0)` if it is not
     * already 0 to mitigate the race condition described in:
     * 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_, uint value_) public whenNotLocked returns (bool) {
        if (value_ != 0 && allowed[msg.sender][spender_] != 0) {
            revert();
        }
        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 uint specifying the amount of tokens still available for the spender
     */
    function allowance(address owner_, address spender_) public view returns (uint) {
        return allowed[owner_][spender_];
    }
}

// File: contracts/base/BaseICOToken.sol

/**
 * @dev Not mintable, ERC20 compliant token, distributed by ICO.
 */
contract BaseICOToken is BaseFixedERC20Token {

    /// @dev Available supply of tokens
    uint public availableSupply;

    /// @dev ICO smart contract allowed to distribute public funds for this
    address public ico;

    /// @dev Fired if investment for `amount` of tokens performed by `to` address
    event ICOTokensInvested(address indexed to, uint amount);

    /// @dev ICO contract changed for this token
    event ICOChanged(address indexed icoContract);

    modifier onlyICO() {
        require(msg.sender == ico);
        _;
    }

    /**
     * @dev Not mintable, ERC20 compliant token, distributed by ICO.
     * @param totalSupply_ Total tokens supply.
     */
    constructor(uint totalSupply_) public {
        locked = true;
        totalSupply = totalSupply_;
        availableSupply = totalSupply_;
    }

    /**
     * @dev Set address of ICO smart-contract which controls token
     * initial token distribution.
     * @param ico_ ICO contract address.
     */
    function changeICO(address ico_) public onlyOwner {
        ico = ico_;
        emit ICOChanged(ico);
    }

    /**
     * @dev Assign `amountWei_` of wei converted into tokens to investor identified by `to_` address.
     * @param to_ Investor address.
     * @param amountWei_ Number of wei invested
     * @param ethTokenExchangeRatio_ Number of tokens in 1Eth
     * @return Amount of invested tokens
     */
    function icoInvestmentWei(address to_, uint amountWei_, uint ethTokenExchangeRatio_) public returns (uint);

    function isValidICOInvestment(address to_, uint amount_) internal view returns (bool) {
        return to_ != address(0) && amount_ <= availableSupply;
    }
}

// File: contracts/flavours/SelfDestructible.sol

/**
 * @title SelfDestructible
 * @dev The SelfDestructible contract has an owner address, and provides selfDestruct method
 * in case of deployment error.
 */
contract SelfDestructible is Ownable {

    function selfDestruct(uint8 v, bytes32 r, bytes32 s) public onlyOwner {
        if (ecrecover(prefixedHash(), v, r, s) != owner) {
            revert();
        }
        selfdestruct(owner);
    }

    function originalHash() internal view returns (bytes32) {
        return keccak256(abi.encodePacked(
                "Signed for Selfdestruct",
                address(this),
                msg.sender
            ));
    }

    function prefixedHash() internal view returns (bytes32) {
        bytes memory prefix = "\x19Ethereum Signed Message:\n32";
        return keccak256(abi.encodePacked(prefix, originalHash()));
    }
}

// File: contracts/interface/ERC20Token.sol

interface ERC20Token {
    function transferFrom(address from_, address to_, uint value_) external returns (bool);
    function transfer(address to_, uint value_) external returns (bool);
    function balanceOf(address owner_) external returns (uint);
}

// File: contracts/flavours/Withdrawal.sol

/**
 * @title Withdrawal
 * @dev The Withdrawal contract has an owner address, and provides method for withdraw funds and tokens, if any
 */
contract Withdrawal is Ownable {

    // withdraw funds, if any, only for owner
    function withdraw() public onlyOwner {
        owner.transfer(address(this).balance);
    }

    // withdraw stuck tokens, if any, only for owner
    function withdrawTokens(address _someToken) public onlyOwner {
        ERC20Token someToken = ERC20Token(_someToken);
        uint balance = someToken.balanceOf(address(this));
        someToken.transfer(owner, balance);
    }
}

// File: contracts/ICHXToken.sol

/**
 * @title ICHX token contract.
 */
contract ICHXToken is BaseICOToken, SelfDestructible, Withdrawal {
    using SafeMath for uint;

    string public constant name = "IceChain";

    string public constant symbol = "ICHX";

    uint8 public constant decimals = 18;

    uint internal constant ONE_TOKEN = 1e18;

    constructor(uint totalSupplyTokens_,
            uint companyTokens_) public
        BaseICOToken(totalSupplyTokens_.mul(ONE_TOKEN)) {
        require(availableSupply == totalSupply);

        balances[owner] = companyTokens_.mul(ONE_TOKEN);

        availableSupply = availableSupply
            .sub(balances[owner]);

        emit Transfer(0, address(this), balances[owner]);
        emit Transfer(address(this), owner, balances[owner]);
    }

    // Disable direct payments
    function() external payable {
        revert();
    }

    /**
     * @dev Assign `amountWei_` of wei converted into tokens to investor identified by `to_` address.
     * @param to_ Investor address.
     * @param amountWei_ Number of wei invested
     * @param ethTokenExchangeRatio_ Number of tokens in 1 Eth
     * @return Amount of invested tokens
     */
    function icoInvestmentWei(address to_, uint amountWei_, uint ethTokenExchangeRatio_) public onlyICO returns (uint) {
        uint amount = amountWei_.mul(ethTokenExchangeRatio_).mul(ONE_TOKEN).div(1 ether);
        require(isValidICOInvestment(to_, amount));
        availableSupply = availableSupply.sub(amount);
        balances[to_] = balances[to_].add(amount);
        emit ICOTokensInvested(to_, amount);
        return amount;
    }
}

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":true,"inputs":[{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_someToken","type":"address"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ico","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"ico_","type":"address"}],"name":"changeICO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner_","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"availableSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to_","type":"address"},{"name":"amountWei_","type":"uint256"},{"name":"ethTokenExchangeRatio_","type":"uint256"}],"name":"icoInvestmentWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unlock","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"locked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"pendingOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"selfDestruct","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"lock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"totalSupplyTokens_","type":"uint256"},{"name":"companyTokens_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"ICOTokensInvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"icoContract","type":"address"}],"name":"ICOChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"Lock","type":"event"},{"anonymous":false,"inputs":[],"name":"Unlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60806040526001805460a060020a60ff02191690553480156200002157600080fd5b50604051604080620013ca8339810160405280516020909101516200005d82670de0b6b3a764000064010000000062000f576200018d82021704565b60008054600160a060020a031916331790556001805460a060020a60ff021916740100000000000000000000000000000000000000001790556002819055600555620000c081670de0b6b3a764000064010000000062000f576200018d82021704565b60008054600160a060020a039081168252600360205260408083209390935581541681522054600554620001029164010000000062000f20620001ca82021704565b60055560008054600160a060020a031681526003602090815260408083205481519081529051309392600080516020620013aa833981519152928290030190a360008054600160a060020a031680825260036020908152604092839020548351908152925191923092600080516020620013aa833981519152929181900390910190a35050620001e2565b600080831515620001a25760009150620001c3565b50828202828482811515620001b357fe5b0414620001bf57600080fd5b8091505b5092915050565b60008083831115620001db57600080fd5b5050900390565b6111b880620001f26000396000f30060806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610142578063095ea7b3146101cc57806318160ddd1461020457806323b872dd1461022b57806327e235e314610255578063313ce567146102765780633ccfd60b146102a157806349df728c146102b85780634e71e0c8146102d95780635d452201146102ee5780636d47fb711461031f57806370a08231146103405780637ecc2b56146103615780638397a2fa146103765780638da5cb5b1461039d57806395d89b41146103b2578063a69df4b5146103c7578063a9059cbb146103dc578063cf30901214610400578063dd62ed3e14610415578063e30c39781461043c578063f2fde38b14610451578063f75e5d8514610472578063f83d08ba14610493575b600080fd5b34801561014e57600080fd5b506101576104a8565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610191578181015183820152602001610179565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101d857600080fd5b506101f0600160a060020a03600435166024356104df565b604080519115158252519081900360200190f35b34801561021057600080fd5b506102196105ac565b60408051918252519081900360200190f35b34801561023757600080fd5b506101f0600160a060020a03600435811690602435166044356105b2565b34801561026157600080fd5b50610219600160a060020a0360043516610754565b34801561028257600080fd5b5061028b610766565b6040805160ff9092168252519081900360200190f35b3480156102ad57600080fd5b506102b661076b565b005b3480156102c457600080fd5b506102b6600160a060020a03600435166107c0565b3480156102e557600080fd5b506102b661090f565b3480156102fa57600080fd5b50610303610997565b60408051600160a060020a039092168252519081900360200190f35b34801561032b57600080fd5b506102b6600160a060020a03600435166109a6565b34801561034c57600080fd5b50610219600160a060020a0360043516610a1a565b34801561036d57600080fd5b50610219610a35565b34801561038257600080fd5b50610219600160a060020a0360043516602435604435610a3b565b3480156103a957600080fd5b50610303610b3f565b3480156103be57600080fd5b50610157610b4e565b3480156103d357600080fd5b506102b6610b85565b3480156103e857600080fd5b506101f0600160a060020a0360043516602435610c0e565b34801561040c57600080fd5b506101f0610d1b565b34801561042157600080fd5b50610219600160a060020a0360043581169060243516610d3c565b34801561044857600080fd5b50610303610d67565b34801561045d57600080fd5b506102b6600160a060020a0360043516610d76565b34801561047e57600080fd5b506102b660ff60043516602435604435610dd1565b34801561049f57600080fd5b506102b6610e81565b60408051808201909152600881527f496365436861696e000000000000000000000000000000000000000000000000602082015281565b60015460009074010000000000000000000000000000000000000000900460ff161561050a57600080fd5b811580159061053b5750336000908152600460209081526040808320600160a060020a038716845290915290205415155b1561054557600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60025481565b60015460009074010000000000000000000000000000000000000000900460ff16156105dd57600080fd5b600160a060020a0383161580159061060d5750600160a060020a0384166000908152600360205260409020548211155b801561063c5750600160a060020a03841660009081526004602090815260408083203384529091529020548211155b151561064757600080fd5b600160a060020a038416600090815260036020526040902054610670908363ffffffff610f2016565b600160a060020a0380861660009081526003602052604080822093909355908516815220546106a5908363ffffffff610f3e16565b600160a060020a0380851660009081526003602090815260408083209490945591871681526004825282812033825290915220546106e9908363ffffffff610f2016565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60036020526000908152604090205481565b601281565b600054600160a060020a0316331461078257600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156107bd573d6000803e3d6000fd5b50565b600080548190600160a060020a031633146107da57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051849350600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561083e57600080fd5b505af1158015610852573d6000803e3d6000fd5b505050506040513d602081101561086857600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156108de57600080fd5b505af11580156108f2573d6000803e3d6000fd5b505050506040513d602081101561090857600080fd5b5050505050565b600154600160a060020a0316331461092657600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600654600160a060020a031681565b600054600160a060020a031633146109bd57600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117918290556040519116907ff75d34bb42a98ed9c96ce1821b7834a59d12693611bf4fe2776dae6d512d6d1490600090a250565b600160a060020a031660009081526003602052604090205490565b60055481565b6006546000908190600160a060020a03163314610a5757600080fd5b610a8f670de0b6b3a7640000610a8381610a77888863ffffffff610f5716565b9063ffffffff610f5716565b9063ffffffff610f8516565b9050610a9b8582610fa8565b1515610aa657600080fd5b600554610ab9908263ffffffff610f2016565b600555600160a060020a038516600090815260036020526040902054610ae5908263ffffffff610f3e16565b600160a060020a038616600081815260036020908152604091829020939093558051848152905191927fb34195a3d0de1e5150c8bbe5f5163b622b1ed771ce55319230906552a621606492918290030190a2949350505050565b600054600160a060020a031681565b60408051808201909152600481527f4943485800000000000000000000000000000000000000000000000000000000602082015281565b600054600160a060020a03163314610b9c57600080fd5b60015474010000000000000000000000000000000000000000900460ff161515610bc557600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f70e3fffea7bbb557facdee48ed7f7af5179030adef9ad0c876df039a718f359e90600090a1565b60015460009074010000000000000000000000000000000000000000900460ff1615610c3957600080fd5b600160a060020a03831615801590610c605750336000908152600360205260409020548211155b1515610c6b57600080fd5b33600090815260036020526040902054610c8b908363ffffffff610f2016565b3360009081526003602052604080822092909255600160a060020a03851681522054610cbd908363ffffffff610f3e16565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60015474010000000000000000000000000000000000000000900460ff1681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600154600160a060020a031681565b600054600160a060020a03163314610d8d57600080fd5b600160a060020a0381161515610da257600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a03163314610de857600080fd5b600054600160a060020a03166001610dfe610fc8565b60408051600080825260208083018085529490945260ff8916828401526060820188905260808201879052915160a08083019493601f198301938390039091019190865af1158015610e54573d6000803e3d6000fd5b50505060206040510351600160a060020a0316141515610e7357600080fd5b600054600160a060020a0316ff5b600054600160a060020a03163314610e9857600080fd5b60015474010000000000000000000000000000000000000000900460ff1615610ec057600080fd5b6001805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517f46620e39f4e119bf05f13544f8ef38338fc06c17f6b731c7f95bee356572db9690600090a1565b60008083831115610f3057600080fd5b5050808203805b5092915050565b600082820183811015610f5057600080fd5b9392505050565b600080831515610f6a5760009150610f37565b50828202828482811515610f7a57fe5b0414610f5057600080fd5b600080808311610f9457600080fd5b8284811515610f9f57fe5b04949350505050565b6000600160a060020a03831615801590610f505750506005541015919050565b60408051808201909152601c81527f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152600090806110086110cd565b6040516020018083805190602001908083835b6020831061103a5780518252601f19909201916020918201910161101b565b51815160209384036101000a600019018019909216911617905292019384525060408051808503815293820190819052835193945092839250908401908083835b6020831061109a5780518252601f19909201916020918201910161107b565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902091505090565b604080517f5369676e656420666f722053656c6664657374727563740000000000000000006020808301919091526c0100000000000000000000000030810260378401523302604b8301528251603f818403018152605f909201928390528151600093918291908401908083835b6020831061115a5780518252601f19909201916020918201910161113b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390209050905600a165627a7a7230582040452501eee342e8d11f94b524e3d4bc155407734f6a9cb88e1282e29bbd21910029ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000002faf0800

Deployed Bytecode

0x60806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610142578063095ea7b3146101cc57806318160ddd1461020457806323b872dd1461022b57806327e235e314610255578063313ce567146102765780633ccfd60b146102a157806349df728c146102b85780634e71e0c8146102d95780635d452201146102ee5780636d47fb711461031f57806370a08231146103405780637ecc2b56146103615780638397a2fa146103765780638da5cb5b1461039d57806395d89b41146103b2578063a69df4b5146103c7578063a9059cbb146103dc578063cf30901214610400578063dd62ed3e14610415578063e30c39781461043c578063f2fde38b14610451578063f75e5d8514610472578063f83d08ba14610493575b600080fd5b34801561014e57600080fd5b506101576104a8565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610191578181015183820152602001610179565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101d857600080fd5b506101f0600160a060020a03600435166024356104df565b604080519115158252519081900360200190f35b34801561021057600080fd5b506102196105ac565b60408051918252519081900360200190f35b34801561023757600080fd5b506101f0600160a060020a03600435811690602435166044356105b2565b34801561026157600080fd5b50610219600160a060020a0360043516610754565b34801561028257600080fd5b5061028b610766565b6040805160ff9092168252519081900360200190f35b3480156102ad57600080fd5b506102b661076b565b005b3480156102c457600080fd5b506102b6600160a060020a03600435166107c0565b3480156102e557600080fd5b506102b661090f565b3480156102fa57600080fd5b50610303610997565b60408051600160a060020a039092168252519081900360200190f35b34801561032b57600080fd5b506102b6600160a060020a03600435166109a6565b34801561034c57600080fd5b50610219600160a060020a0360043516610a1a565b34801561036d57600080fd5b50610219610a35565b34801561038257600080fd5b50610219600160a060020a0360043516602435604435610a3b565b3480156103a957600080fd5b50610303610b3f565b3480156103be57600080fd5b50610157610b4e565b3480156103d357600080fd5b506102b6610b85565b3480156103e857600080fd5b506101f0600160a060020a0360043516602435610c0e565b34801561040c57600080fd5b506101f0610d1b565b34801561042157600080fd5b50610219600160a060020a0360043581169060243516610d3c565b34801561044857600080fd5b50610303610d67565b34801561045d57600080fd5b506102b6600160a060020a0360043516610d76565b34801561047e57600080fd5b506102b660ff60043516602435604435610dd1565b34801561049f57600080fd5b506102b6610e81565b60408051808201909152600881527f496365436861696e000000000000000000000000000000000000000000000000602082015281565b60015460009074010000000000000000000000000000000000000000900460ff161561050a57600080fd5b811580159061053b5750336000908152600460209081526040808320600160a060020a038716845290915290205415155b1561054557600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60025481565b60015460009074010000000000000000000000000000000000000000900460ff16156105dd57600080fd5b600160a060020a0383161580159061060d5750600160a060020a0384166000908152600360205260409020548211155b801561063c5750600160a060020a03841660009081526004602090815260408083203384529091529020548211155b151561064757600080fd5b600160a060020a038416600090815260036020526040902054610670908363ffffffff610f2016565b600160a060020a0380861660009081526003602052604080822093909355908516815220546106a5908363ffffffff610f3e16565b600160a060020a0380851660009081526003602090815260408083209490945591871681526004825282812033825290915220546106e9908363ffffffff610f2016565b600160a060020a03808616600081815260046020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60036020526000908152604090205481565b601281565b600054600160a060020a0316331461078257600080fd5b60008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156107bd573d6000803e3d6000fd5b50565b600080548190600160a060020a031633146107da57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051849350600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561083e57600080fd5b505af1158015610852573d6000803e3d6000fd5b505050506040513d602081101561086857600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156108de57600080fd5b505af11580156108f2573d6000803e3d6000fd5b505050506040513d602081101561090857600080fd5b5050505050565b600154600160a060020a0316331461092657600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600654600160a060020a031681565b600054600160a060020a031633146109bd57600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117918290556040519116907ff75d34bb42a98ed9c96ce1821b7834a59d12693611bf4fe2776dae6d512d6d1490600090a250565b600160a060020a031660009081526003602052604090205490565b60055481565b6006546000908190600160a060020a03163314610a5757600080fd5b610a8f670de0b6b3a7640000610a8381610a77888863ffffffff610f5716565b9063ffffffff610f5716565b9063ffffffff610f8516565b9050610a9b8582610fa8565b1515610aa657600080fd5b600554610ab9908263ffffffff610f2016565b600555600160a060020a038516600090815260036020526040902054610ae5908263ffffffff610f3e16565b600160a060020a038616600081815260036020908152604091829020939093558051848152905191927fb34195a3d0de1e5150c8bbe5f5163b622b1ed771ce55319230906552a621606492918290030190a2949350505050565b600054600160a060020a031681565b60408051808201909152600481527f4943485800000000000000000000000000000000000000000000000000000000602082015281565b600054600160a060020a03163314610b9c57600080fd5b60015474010000000000000000000000000000000000000000900460ff161515610bc557600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f70e3fffea7bbb557facdee48ed7f7af5179030adef9ad0c876df039a718f359e90600090a1565b60015460009074010000000000000000000000000000000000000000900460ff1615610c3957600080fd5b600160a060020a03831615801590610c605750336000908152600360205260409020548211155b1515610c6b57600080fd5b33600090815260036020526040902054610c8b908363ffffffff610f2016565b3360009081526003602052604080822092909255600160a060020a03851681522054610cbd908363ffffffff610f3e16565b600160a060020a0384166000818152600360209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60015474010000000000000000000000000000000000000000900460ff1681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600154600160a060020a031681565b600054600160a060020a03163314610d8d57600080fd5b600160a060020a0381161515610da257600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a03163314610de857600080fd5b600054600160a060020a03166001610dfe610fc8565b60408051600080825260208083018085529490945260ff8916828401526060820188905260808201879052915160a08083019493601f198301938390039091019190865af1158015610e54573d6000803e3d6000fd5b50505060206040510351600160a060020a0316141515610e7357600080fd5b600054600160a060020a0316ff5b600054600160a060020a03163314610e9857600080fd5b60015474010000000000000000000000000000000000000000900460ff1615610ec057600080fd5b6001805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517f46620e39f4e119bf05f13544f8ef38338fc06c17f6b731c7f95bee356572db9690600090a1565b60008083831115610f3057600080fd5b5050808203805b5092915050565b600082820183811015610f5057600080fd5b9392505050565b600080831515610f6a5760009150610f37565b50828202828482811515610f7a57fe5b0414610f5057600080fd5b600080808311610f9457600080fd5b8284811515610f9f57fe5b04949350505050565b6000600160a060020a03831615801590610f505750506005541015919050565b60408051808201909152601c81527f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152600090806110086110cd565b6040516020018083805190602001908083835b6020831061103a5780518252601f19909201916020918201910161101b565b51815160209384036101000a600019018019909216911617905292019384525060408051808503815293820190819052835193945092839250908401908083835b6020831061109a5780518252601f19909201916020918201910161107b565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051809103902091505090565b604080517f5369676e656420666f722053656c6664657374727563740000000000000000006020808301919091526c0100000000000000000000000030810260378401523302604b8301528251603f818403018152605f909201928390528151600093918291908401908083835b6020831061115a5780518252601f19909201916020918201910161113b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390209050905600a165627a7a7230582040452501eee342e8d11f94b524e3d4bc155407734f6a9cb88e1282e29bbd21910029

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

000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000002faf0800

-----Decoded View---------------
Arg [0] : totalSupplyTokens_ (uint256): 1000000000
Arg [1] : companyTokens_ (uint256): 800000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [1] : 000000000000000000000000000000000000000000000000000000002faf0800


Swarm Source

bzzr://40452501eee342e8d11f94b524e3d4bc155407734f6a9cb88e1282e29bbd2191
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.