ETH Price: $4,014.42 (+2.70%)

Token

ERC-20: Coinance coin (CNC)
 

Overview

Max Total Supply

2,100,000,000 CNC

Holders

25,520

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.3333333365 CNC

Value
$0.00
0x6739081277d83cfcac0924eeafe39a371c8cb32a
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:
CNCToken

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

/**
 * Source Code first verified at https://etherscan.io on Wednesday, February 27, 2019
 (UTC) */

// Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
pragma solidity ^0.4.25;

contract Token {

    /// @return total amount of tokens
    function totalSupply() constant returns (uint supply) {}

    /// @param _owner The address from which the balance will be retrieved
    /// @return The balance
    function balanceOf(address _owner) constant returns (uint balance) {}

    /// @notice send `_value` token to `_to` from `msg.sender`
    /// @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, uint _value) returns (bool success) {}

    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
    /// @param _from The address of the sender
    /// @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 transferFrom(address _from, address _to, uint _value) returns (bool success) {}

    /// @notice `msg.sender` approves `_addr` to spend `_value` tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _value The amount of wei to be approved for transfer
    /// @return Whether the approval was successful or not
    function approve(address _spender, uint _value) returns (bool success) {}

    /// @param _owner The address of the account owning tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens allowed to spent
    function allowance(address _owner, address _spender) constant returns (uint remaining) {}

    event Transfer(address indexed _from, address indexed _to, uint _value);
    event Approval(address indexed _owner, address indexed _spender, uint _value);
}

contract RegularToken is Token {

    function transfer(address _to, uint _value) returns (bool) {
        //Default assumes totalSupply can't be over max (2^256 - 1).
        if (balances[msg.sender] >= _value && balances[_to] + _value >= balances[_to]) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            Transfer(msg.sender, _to, _value);
            return true;
        } else { return false; }
    }

    function transferFrom(address _from, address _to, uint _value) returns (bool) {
        if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value >= balances[_to]) {
            balances[_to] += _value;
            balances[_from] -= _value;
            allowed[_from][msg.sender] -= _value;
            Transfer(_from, _to, _value);
            return true;
        } else { return false; }
    }

    function balanceOf(address _owner) constant returns (uint) {
        return balances[_owner];
    }

    function approve(address _spender, uint _value) returns (bool) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) constant returns (uint) {
        return allowed[_owner][_spender];
    }

    mapping (address => uint) balances;
    mapping (address => mapping (address => uint)) allowed;
    uint public totalSupply;
}

contract UnboundedRegularToken is RegularToken {

    uint constant MAX_UINT = 2**256 - 1;
    
    /// @dev ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited amount.
    /// @param _from Address to transfer from.
    /// @param _to Address to transfer to.
    /// @param _value Amount to transfer.
    /// @return Success of transfer.
    function transferFrom(address _from, address _to, uint _value)
        public
        returns (bool)
    {
        uint allowance = allowed[_from][msg.sender];
        if (balances[_from] >= _value
            && allowance >= _value
            && balances[_to] + _value >= balances[_to]
        ) {
            balances[_to] += _value;
            balances[_from] -= _value;
            if (allowance < MAX_UINT) {
                allowed[_from][msg.sender] -= _value;
            }
            Transfer(_from, _to, _value);
            return true;
        } else {
            return false;
        }
    }
}

contract CNCToken is UnboundedRegularToken {

    uint public totalSupply = 21*10**26;
    uint8 constant public decimals = 18;
    string constant public name = "Coinance coin";
    string constant public symbol = "CNC";

    function CNCToken() {
        balances[msg.sender] = totalSupply;
        Transfer(address(0), msg.sender, totalSupply);
    }
}

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":"decimals","outputs":[{"name":"","type":"uint8"}],"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":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_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"}]

60806040526b06c9144c1c690d4cb400000060035534801561002057600080fd5b5060035433600081815260208181526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a361058d8061007a6000396000f3006080604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015f57806323b872dd14610186578063313ce567146101b057806370a08231146101db57806395d89b41146101fc578063a9059cbb14610211578063dd62ed3e14610235575b600080fd5b3480156100a957600080fd5b506100b261025c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ec5781810151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013357600080fd5b5061014b600160a060020a0360043516602435610293565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746102fa565b60408051918252519081900360200190f35b34801561019257600080fd5b5061014b600160a060020a0360043581169060243516604435610300565b3480156101bc57600080fd5b506101c561042e565b6040805160ff9092168252519081900360200190f35b3480156101e757600080fd5b50610174600160a060020a0360043516610433565b34801561020857600080fd5b506100b261044e565b34801561021d57600080fd5b5061014b600160a060020a0360043516602435610485565b34801561024157600080fd5b50610174600160a060020a0360043581169060243516610536565b60408051808201909152600d81527f436f696e616e636520636f696e00000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035481565b600160a060020a03831660008181526001602090815260408083203384528252808320549383529082905281205490919083118015906103405750828110155b80156103665750600160a060020a03841660009081526020819052604090205483810110155b1561042157600160a060020a03808516600090815260208190526040808220805487019055918716815220805484900390556000198110156103cd57600160a060020a03851660009081526001602090815260408083203384529091529020805484900390555b83600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150610426565b600091505b509392505050565b601281565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f434e430000000000000000000000000000000000000000000000000000000000602082015281565b3360009081526020819052604081205482118015906104be5750600160a060020a03831660009081526020819052604090205482810110155b1561052e573360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060016102f4565b5060006102f4565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a723058207228fecdd9209c468af9983ce846a0e26deed2115704f71beb4f91d6b250b1e50029

Deployed Bytecode

0x6080604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015f57806323b872dd14610186578063313ce567146101b057806370a08231146101db57806395d89b41146101fc578063a9059cbb14610211578063dd62ed3e14610235575b600080fd5b3480156100a957600080fd5b506100b261025c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100ec5781810151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013357600080fd5b5061014b600160a060020a0360043516602435610293565b604080519115158252519081900360200190f35b34801561016b57600080fd5b506101746102fa565b60408051918252519081900360200190f35b34801561019257600080fd5b5061014b600160a060020a0360043581169060243516604435610300565b3480156101bc57600080fd5b506101c561042e565b6040805160ff9092168252519081900360200190f35b3480156101e757600080fd5b50610174600160a060020a0360043516610433565b34801561020857600080fd5b506100b261044e565b34801561021d57600080fd5b5061014b600160a060020a0360043516602435610485565b34801561024157600080fd5b50610174600160a060020a0360043581169060243516610536565b60408051808201909152600d81527f436f696e616e636520636f696e00000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035481565b600160a060020a03831660008181526001602090815260408083203384528252808320549383529082905281205490919083118015906103405750828110155b80156103665750600160a060020a03841660009081526020819052604090205483810110155b1561042157600160a060020a03808516600090815260208190526040808220805487019055918716815220805484900390556000198110156103cd57600160a060020a03851660009081526001602090815260408083203384529091529020805484900390555b83600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150610426565b600091505b509392505050565b601281565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f434e430000000000000000000000000000000000000000000000000000000000602082015281565b3360009081526020819052604081205482118015906104be5750600160a060020a03831660009081526020819052604090205482810110155b1561052e573360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060016102f4565b5060006102f4565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a723058207228fecdd9209c468af9983ce846a0e26deed2115704f71beb4f91d6b250b1e50029

Deployed Bytecode Sourcemap

4634:366:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4770:45;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4770:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4770:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3144:191;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3144:191:0;-1:-1:-1;;;;;3144:191:0;;;;;;;;;;;;;;;;;;;;;;;;;4686:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4686:35:0;;;;;;;;;;;;;;;;;;;;3999:628;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3999:628:0;-1:-1:-1;;;;;3999:628:0;;;;;;;;;;;;4728:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4728:35:0;;;;;;;;;;;;;;;;;;;;;;;3035:101;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3035:101:0;-1:-1:-1;;;;;3035:101:0;;;;;4822:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4822:37:0;;;;2158:418;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2158:418:0;-1:-1:-1;;;;;2158:418:0;;;;;;;3343:128;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3343:128:0;-1:-1:-1;;;;;3343:128:0;;;;;;;;;;4770:45;;;;;;;;;;;;;;;;;;;:::o;3144:191::-;3226:10;3201:4;3218:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3218:29:0;;;;;;;;;;;:38;;;3267;;;;;;;3201:4;;3218:29;;3226:10;;3267:38;;;;;;;;-1:-1:-1;3323:4:0;3144:191;;;;;:::o;4686:35::-;;;;:::o;3999:628::-;-1:-1:-1;;;;;4135:14:0;;4096:4;4135:14;;;:7;:14;;;;;;;;4150:10;4135:26;;;;;;;;4176:15;;;;;;;;;;4096:4;;4135:26;4176:25;-1:-1:-1;4176:25:0;;;:61;;;4231:6;4218:9;:19;;4176:61;:117;;;;-1:-1:-1;;;;;;4280:13:0;;:8;:13;;;;;;;;;;;4254:22;;;:39;;4176:117;4172:448;;;-1:-1:-1;;;;;4320:13:0;;;:8;:13;;;;;;;;;;;:23;;;;;;4358:15;;;;;;:25;;;;;;;-1:-1:-1;;4402:20:0;;4398:97;;;-1:-1:-1;;;;;4443:14:0;;;;;;:7;:14;;;;;;;;4458:10;4443:26;;;;;;;:36;;;;;;;4398:97;4525:3;-1:-1:-1;;;;;4509:28:0;4518:5;-1:-1:-1;;;;;4509:28:0;;4530:6;4509:28;;;;;;;;;;;;;;;;;;4559:4;4552:11;;;;4172:448;4603:5;4596:12;;4172:448;3999:628;;;;;;:::o;4728:35::-;4761:2;4728:35;:::o;3035:101::-;-1:-1:-1;;;;;3112:16:0;3088:4;3112:16;;;;;;;;;;;;3035:101::o;4822:37::-;;;;;;;;;;;;;;;;;;;:::o;2158:418::-;2311:10;2211:4;2302:20;;;;;;;;;;;:30;-1:-1:-1;2302:30:0;;;:73;;-1:-1:-1;;;;;;2362:13:0;;:8;:13;;;;;;;;;;;2336:22;;;:39;;2302:73;2298:271;;;2401:10;2392:8;:20;;;;;;;;;;;:30;;;;;;;-1:-1:-1;;;;;2437:13:0;;;;;;;;;:23;;;;;;2475:33;;;;;;;2437:13;;2401:10;2475:33;;;;;;;;;;;-1:-1:-1;2530:4:0;2523:11;;2298:271;-1:-1:-1;2561:5:0;2554:12;;3343:128;-1:-1:-1;;;;;3438:15:0;;;3414:4;3438:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;3343:128::o

Swarm Source

bzzr://7228fecdd9209c468af9983ce846a0e26deed2115704f71beb4f91d6b250b1e5
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.