ETH Price: $3,622.35 (-0.75%)
 

Overview

Max Total Supply

7,998,000,000 NCMT

Holders

108

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,583,287.999999999880462336 NCMT

Value
$0.00
0x354edab47fdd80609d63200cb4196dd85a1cdcbe
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MyToken

Compiler Version
v0.4.12+commit.194ff033

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-03-01
*/

pragma solidity ^0.4.12;

contract owned {
    address public owner;

    function owned() public
    {
        owner = msg.sender;
    }

    modifier onlyOwner
    {
        require(msg.sender == owner);
        _;
    }

    function changeOwnership(address newOwner) public onlyOwner
    {
        owner = newOwner;
    }
}

contract MyToken is owned {
    
    string public standard = 'NCMT 1.0';
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;

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

    
    function MyToken  () public {
        balanceOf[msg.sender] = 7998000000000000000000000000;
        totalSupply =7998000000000000000000000000;
        name = 'NCM Govuro Forest Token';
        symbol = 'NCMT';
        decimals = 18;
    }


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

    
    event FrozenFunds(address target, bool frozen);

    
    event Burn(address indexed from, uint256 value);

    
    function transfer(address _to, uint256 _value) public
    returns (bool success)
    {
        require(_to != 0x0);
        require(balanceOf[msg.sender] >= _value);
        require(!frozenAccount[msg.sender]);
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;
        Transfer(msg.sender, _to, _value);
        return true;
    }

    
   function mintToken(address target, uint256 mintedAmount)  public onlyOwner
   {
        balanceOf[target] += mintedAmount;
        totalSupply += mintedAmount;
        Transfer(0, this, mintedAmount);
        Transfer(this, target, mintedAmount);
   }

    
    function freezeAccount(address target, bool freeze)  public onlyOwner
    {
        frozenAccount[target] = freeze;
        FrozenFunds(target, freeze);
    }

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

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

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"changeOwnership","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"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":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

606060405260408051908101604052600881527f4e434d5420312e300000000000000000000000000000000000000000000000006020820152600190805161004b929160200190610144565b50341561005757600080fd5b5b5b60008054600160a060020a03191633600160a060020a03161790555b600160a060020a033316600090815260066020526040908190206b19d7ca60c6e6680bfe000000908190556005558051908101604052601781527f4e434d20476f7675726f20466f7265737420546f6b656e000000000000000000602082015260029080516100e8929160200190610144565b5060408051908101604052600481527f4e434d540000000000000000000000000000000000000000000000000000000060208201526003908051610130929160200190610144565b506004805460ff191660121790555b6101e4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061018557805160ff19168380011785556101b2565b828001600101855582156101b2579182015b828111156101b2578251825591602001919060010190610197565b5b506101bf9291506101c3565b5090565b6101e191905b808211156101bf57600081556001016101c9565b5090565b90565b610af5806101f36000396000f300606060405236156100d85763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100dd57806318160ddd146101685780632af4c31e1461018d578063313ce567146101ae57806342966c68146101d75780635a3b7e421461020157806370a082311461028c57806379c65068146102bd57806379cc6790146102e15780638da5cb5b1461031757806395d89b4114610346578063a9059cbb146103d1578063b414d4b614610407578063dd62ed3e1461043a578063e724529c14610471575b600080fd5b34156100e857600080fd5b6100f0610497565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017357600080fd5b61017b610535565b60405190815260200160405180910390f35b341561019857600080fd5b6101ac600160a060020a036004351661053b565b005b34156101b957600080fd5b6101c1610583565b60405160ff909116815260200160405180910390f35b34156101e257600080fd5b6101ed60043561058c565b604051901515815260200160405180910390f35b341561020c57600080fd5b6100f0610635565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029757600080fd5b61017b600160a060020a03600435166106d3565b60405190815260200160405180910390f35b34156102c857600080fd5b6101ac600160a060020a03600435166024356106e5565b005b34156102ec57600080fd5b6101ed600160a060020a03600435166024356107ad565b604051901515815260200160405180910390f35b341561032257600080fd5b61032a61088a565b604051600160a060020a03909116815260200160405180910390f35b341561035157600080fd5b6100f0610899565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103dc57600080fd5b6101ed600160a060020a0360043516602435610937565b604051901515815260200160405180910390f35b341561041257600080fd5b6101ed600160a060020a0360043516610a09565b604051901515815260200160405180910390f35b341561044557600080fd5b61017b600160a060020a0360043581169060243516610a1e565b60405190815260200160405180910390f35b341561047c57600080fd5b6101ac600160a060020a03600435166024351515610a3b565b005b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052d5780601f106105025761010080835404028352916020019161052d565b820191906000526020600020905b81548152906001019060200180831161051057829003601f168201915b505050505081565b60055481565b60005433600160a060020a0390811691161461055657600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60045460ff1681565b6000805433600160a060020a039081169116146105a857600080fd5b600160a060020a033316600090815260066020526040902054829010156105ce57600080fd5b600160a060020a03331660008181526006602052604090819020805485900390556005805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b5b919050565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052d5780601f106105025761010080835404028352916020019161052d565b820191906000526020600020905b81548152906001019060200180831161051057829003601f168201915b505050505081565b60066020526000908152604090205481565b60005433600160a060020a0390811691161461070057600080fd5b600160a060020a03808316600090815260066020526040808220805485019055600580548501905530909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35b5b5050565b6000805433600160a060020a039081169116146107c957600080fd5b600160a060020a038316600090815260066020526040902054829010156107ef57600080fd5b600160a060020a038084166000908152600760209081526040808320339094168352929052205482111561082257600080fd5b600160a060020a03831660008181526006602052604090819020805485900390556005805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b5b92915050565b600054600160a060020a031681565b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052d5780601f106105025761010080835404028352916020019161052d565b820191906000526020600020905b81548152906001019060200180831161051057829003601f168201915b505050505081565b6000600160a060020a038316151561094e57600080fd5b600160a060020a0333166000908152600660205260409020548290101561097457600080fd5b600160a060020a03331660009081526008602052604090205460ff161561099a57600080fd5b600160a060020a033381166000818152600660205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60086020526000908152604090205460ff1681565b600760209081526000928352604080842090915290825290205481565b60005433600160a060020a03908116911614610a5657600080fd5b600160a060020a03821660009081526008602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b50505600a165627a7a723058206f92e1858bcc65f64945704e19486a0fbde6b78e94c162191621ce10986fbd990029

Deployed Bytecode

0x606060405236156100d85763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100dd57806318160ddd146101685780632af4c31e1461018d578063313ce567146101ae57806342966c68146101d75780635a3b7e421461020157806370a082311461028c57806379c65068146102bd57806379cc6790146102e15780638da5cb5b1461031757806395d89b4114610346578063a9059cbb146103d1578063b414d4b614610407578063dd62ed3e1461043a578063e724529c14610471575b600080fd5b34156100e857600080fd5b6100f0610497565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017357600080fd5b61017b610535565b60405190815260200160405180910390f35b341561019857600080fd5b6101ac600160a060020a036004351661053b565b005b34156101b957600080fd5b6101c1610583565b60405160ff909116815260200160405180910390f35b34156101e257600080fd5b6101ed60043561058c565b604051901515815260200160405180910390f35b341561020c57600080fd5b6100f0610635565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561029757600080fd5b61017b600160a060020a03600435166106d3565b60405190815260200160405180910390f35b34156102c857600080fd5b6101ac600160a060020a03600435166024356106e5565b005b34156102ec57600080fd5b6101ed600160a060020a03600435166024356107ad565b604051901515815260200160405180910390f35b341561032257600080fd5b61032a61088a565b604051600160a060020a03909116815260200160405180910390f35b341561035157600080fd5b6100f0610899565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103dc57600080fd5b6101ed600160a060020a0360043516602435610937565b604051901515815260200160405180910390f35b341561041257600080fd5b6101ed600160a060020a0360043516610a09565b604051901515815260200160405180910390f35b341561044557600080fd5b61017b600160a060020a0360043581169060243516610a1e565b60405190815260200160405180910390f35b341561047c57600080fd5b6101ac600160a060020a03600435166024351515610a3b565b005b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052d5780601f106105025761010080835404028352916020019161052d565b820191906000526020600020905b81548152906001019060200180831161051057829003601f168201915b505050505081565b60055481565b60005433600160a060020a0390811691161461055657600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60045460ff1681565b6000805433600160a060020a039081169116146105a857600080fd5b600160a060020a033316600090815260066020526040902054829010156105ce57600080fd5b600160a060020a03331660008181526006602052604090819020805485900390556005805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b5b919050565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052d5780601f106105025761010080835404028352916020019161052d565b820191906000526020600020905b81548152906001019060200180831161051057829003601f168201915b505050505081565b60066020526000908152604090205481565b60005433600160a060020a0390811691161461070057600080fd5b600160a060020a03808316600090815260066020526040808220805485019055600580548501905530909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35b5b5050565b6000805433600160a060020a039081169116146107c957600080fd5b600160a060020a038316600090815260066020526040902054829010156107ef57600080fd5b600160a060020a038084166000908152600760209081526040808320339094168352929052205482111561082257600080fd5b600160a060020a03831660008181526006602052604090819020805485900390556005805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b5b92915050565b600054600160a060020a031681565b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561052d5780601f106105025761010080835404028352916020019161052d565b820191906000526020600020905b81548152906001019060200180831161051057829003601f168201915b505050505081565b6000600160a060020a038316151561094e57600080fd5b600160a060020a0333166000908152600660205260409020548290101561097457600080fd5b600160a060020a03331660009081526008602052604090205460ff161561099a57600080fd5b600160a060020a033381166000818152600660205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60086020526000908152604090205460ff1681565b600760209081526000928352604080842090915290825290205481565b60005433600160a060020a03908116911614610a5657600080fd5b600160a060020a03821660009081526008602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b50505600a165627a7a723058206f92e1858bcc65f64945704e19486a0fbde6b78e94c162191621ce10986fbd990029

Swarm Source

bzzr://6f92e1858bcc65f64945704e19486a0fbde6b78e94c162191621ce10986fbd99
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.