Sponsored:   Ubex.com - Additional 17% of tokens are available for purchase! Trading on exchanges already started.
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 13 txns
Token Tracker: Coinnec (COI)
Misc
Address Watch: Add To Watch List
Contract Creator: 0x55058589df72f96531ad9c125c8e73f7ce90fc92at txn 0xbd1a5fbdb742d0b5e36f4fef5e4fe0f8a27df1a45d0e57ce5fe4cb85cbe0920a
Token Balances:
 Latest 13 txns

TxHash Age From To Value [TxFee]
0xc9108e9334ae8b2ffa4ed5cbafb11de82663f9b77f32b96745e624c4e205a88d75 days 21 hrs ago0x55058589df72f96531ad9c125c8e73f7ce90fc92  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630 Ether0.0001708674
0x17833ca1c62b5119d3e7d6faf204dac8cf0132b40665078bbddbac2a96c5fa3a214 days 14 hrs ago0xbb9da9e4cdffe62778e26bb8a600e1996dfb9461  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630 Ether0.0009383124
0xe358c4327c515f38bebc612e359103132257ab9c40b9af378457b3a9501d3ce7214 days 15 hrs ago0xbb9da9e4cdffe62778e26bb8a600e1996dfb9461  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630.001 Ether0.001442123
0xd08fce52b972c16db62b0ef09ff5d1a5eef9ee61e05bde920a8289254d92e612214 days 16 hrs ago0x398a70b056474200b7c6d60daa37856ea49127a2  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630.001 Ether0.002079
0xeb42d1849b0f9a7bf9e24f0f25f977614decc773e1332d21c74d6639a71acd8b214 days 17 hrs ago0x398a70b056474200b7c6d60daa37856ea49127a2  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630.01 Ether0.004722399
0x0185c5f1577cb2130d52ba46c87daa5546c1dcadc3d512f378cdcd53d91ef7d2214 days 17 hrs ago0x398a70b056474200b7c6d60daa37856ea49127a2  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630.0001 Ether0.007692399
0xa3d114bc9b8bd71f774eae096b128be8d101880060d52da8ec676fda6eee1223214 days 17 hrs ago0x398a70b056474200b7c6d60daa37856ea49127a2  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630.001 Ether0.00693
0xcbed62b45ba240b8db6b92c660878a39e29dc1ba182ce0f18e0c848ea395f0cc214 days 17 hrs ago0x398a70b056474200b7c6d60daa37856ea49127a2  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630.001 Ether0.00396
0xfbe9ee8469505bb014be60b78ef6b86c8544fb0ad8a067f41621fff32d7c3e13215 days 17 hrs ago0x55058589df72f96531ad9c125c8e73f7ce90fc92  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630 Ether0.00025665
0xc802abb6945f8cd1742a43e8152af0b4510d4da761107f45997ce37ed8062596216 days 8 hrs ago0x398a70b056474200b7c6d60daa37856ea49127a2  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630 Ether0.000877154
0x434b3249cadcff31a1c117c1a44c445eea9d338bad66467a57a4275cbef7fc5c216 days 9 hrs ago0x398a70b056474200b7c6d60daa37856ea49127a2  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630 Ether0.000940376
0xb1bb256d65d1170e638db027ecb44a58a4937ede1246ac33f508000777485f9b216 days 9 hrs ago0x55058589df72f96531ad9c125c8e73f7ce90fc92  IN   0x0b7c88344be0fbd1eb765d33c89f234ca1b870630 Ether0.002078865
0xbd1a5fbdb742d0b5e36f4fef5e4fe0f8a27df1a45d0e57ce5fe4cb85cbe0920a216 days 10 hrs ago0x55058589df72f96531ad9c125c8e73f7ce90fc92  IN    Contract Creation0 Ether0.031839815
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 3 Internal Transactions

ParentTxHash Block Age From To Value
0xe358c4327c515f38bebc612e359103132257ab9c40b9af378457b3a9501d3ce74912216214 days 15 hrs ago0x0b7c88344be0fbd1eb765d33c89f234ca1b870630x55058589df72f96531ad9c125c8e73f7ce90fc920.001 Ether
0xeb42d1849b0f9a7bf9e24f0f25f977614decc773e1332d21c74d6639a71acd8b4911906214 days 17 hrs ago0x0b7c88344be0fbd1eb765d33c89f234ca1b870630x55058589df72f96531ad9c125c8e73f7ce90fc920.01 Ether
0x0185c5f1577cb2130d52ba46c87daa5546c1dcadc3d512f378cdcd53d91ef7d24911785214 days 17 hrs ago0x0b7c88344be0fbd1eb765d33c89f234ca1b870630x55058589df72f96531ad9c125c8e73f7ce90fc920.0001 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: Coinnec
Compiler Version: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.4;

contract Token {

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

    /// @param _owner The address from which the balance will be retrieved
    /// @return The balance
    function balanceOf(address _owner) constant returns (uint256 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, uint256 _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, uint256 _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, uint256 _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 (uint256 remaining) {}

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

}

contract StandardToken is Token {

    function transfer(address _to, uint256 _value) returns (bool success) {
        //Default assumes totalSupply can't be over max (2^256 - 1).
        //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
        //Replace the if with this one instead.
        //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[msg.sender] >= _value && _value > 0) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            Transfer(msg.sender, _to, _value);
            return true;
        } else { return false; }
    }

    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        //same as above. Replace this line with the following if you want to protect against wrapping uints.
        //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
            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 (uint256 balance) {
        return balances[_owner];
    }

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

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

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

contract Coinnec is StandardToken { // CHANGE THIS. Update the contract name.

    /* Public variables of the token */

    /*
    NOTE:
    The following variables are OPTIONAL vanities. One does not have to include them.
    They allow one to customise the token contract & in no way influences the core functionality.
    Some wallets/interfaces might not even bother to look at this information.
    */
    string public name;                   // Token Name
    uint8 public decimals;                // How many decimals to show. To be standard complicant keep it 18
    string public symbol;                 // An identifier: eg SBX, XPR etc..
    string public version = 'H1.0'; 
    uint256 public unitsOneEthCanBuy;     // How many units of your coin can be bought by 1 ETH?
    uint256 public totalEthInWei;         // WEI is the smallest unit of ETH (the equivalent of cent in USD or satoshi in BTC). We'll store the total ETH raised via our ICO here.  
    address public fundsWallet;           // Where should the raised ETH go?

    // This is a constructor function 
    // which means the following function name has to match the contract name declared above
    function Coinnec() {
        balances[msg.sender] = 1000000000000000000000000000;               // Give the creator all initial tokens. This is set to 1000 for example. If you want your initial tokens to be X and your decimal is 5, set this value to X * 100000. (CHANGE THIS)
        totalSupply = 1000000000000000000000000000;                        // Update total supply (1000 for example) (CHANGE THIS)
        name = "Coinnec";                                   // Set the name for display purposes (CHANGE THIS)
        decimals = 18;                                               // Amount of decimals for display purposes (CHANGE THIS)
        symbol = "COI";                                             // Set the symbol for display purposes (CHANGE THIS)
        unitsOneEthCanBuy = 1000;                                      // Set the price of your token for the ICO (CHANGE THIS)
        fundsWallet = msg.sender;                                    // The owner of the contract gets ETH
    }

    function() payable{
        totalEthInWei = totalEthInWei + msg.value;
        uint256 amount = msg.value * unitsOneEthCanBuy;
        if (balances[fundsWallet] < amount) {
            return;
        }

        balances[fundsWallet] = balances[fundsWallet] - amount;
        balances[msg.sender] = balances[msg.sender] + amount;

        Transfer(fundsWallet, msg.sender, amount); // Broadcast a message to the blockchain

        //Transfer ether to fundsWallet
        fundsWallet.transfer(msg.value);                               
    }

    /* Approves and then calls the receiving contract */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);

        //call the receiveApproval function on the contract you want to be notified. This crafts the function signature manually so one doesn't have to include a contract in here just for this.
        //receiveApproval(address _from, uint256 _value, address _tokenContract, bytes _extraData)
        //it is assumed that when does this that the call *should* succeed, otherwise one would use vanilla approve instead.
        if(!_spender.call(bytes4(bytes32(sha3("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)) { throw; }
        return true;
    }
}

    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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"fundsWallet","outputs":[{"name":"","type":"address"}],"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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"unitsOneEthCanBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"totalEthInWei","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","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":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"}]

  Contract Creation Code Switch To Opcodes View
606060405260408051908101604052600481527f48312e30000000000000000000000000000000000000000000000000000000006020820152600690805161004b929160200190610146565b50341561005757600080fd5b600160a060020a033316600090815260208190526040908190206b033b2e3c9fd0803ce8000000908190556002558051908101604052600781527f436f696e6e656300000000000000000000000000000000000000000000000000602082015260039080516100ca929160200190610146565b506004805460ff1916601217905560408051908101604052600381527f434f4900000000000000000000000000000000000000000000000000000000006020820152600590805161011f929160200190610146565b506103e860075560098054600160a060020a03191633600160a060020a03161790556101e1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061018757805160ff19168380011785556101b4565b828001600101855582156101b4579182015b828111156101b4578251825591602001919060010190610199565b506101c09291506101c4565b5090565b6101de91905b808211156101c057600081556001016101ca565b90565b6109c7806101f06000396000f3006060604052600436106100b65763ffffffff60e060020a60003504166306fdde038114610195578063095ea7b31461021f57806318160ddd146102555780632194f3a21461027a57806323b872dd146102a9578063313ce567146102d157806354fd4d50146102fa57806365f2bc2e1461030d57806370a0823114610320578063933ba4131461033f57806395d89b4114610352578063a9059cbb14610365578063cae9ca5114610387578063dd62ed3e146103ec575b6008805434908101909155600754600954600160a060020a0316600090815260208190526040902054910290819010156100ef57610192565b60098054600160a060020a039081166000908152602081905260408082208054869003905533831680835291819020805486019055925490929116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a3600954600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561019257600080fd5b50005b34156101a057600080fd5b6101a8610411565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e45780820151838201526020016101cc565b50505050905090810190601f1680156102115780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022a57600080fd5b610241600160a060020a03600435166024356104af565b604051901515815260200160405180910390f35b341561026057600080fd5b61026861051c565b60405190815260200160405180910390f35b341561028557600080fd5b61028d610522565b604051600160a060020a03909116815260200160405180910390f35b34156102b457600080fd5b610241600160a060020a0360043581169060243516604435610531565b34156102dc57600080fd5b6102e4610627565b60405160ff909116815260200160405180910390f35b341561030557600080fd5b6101a8610630565b341561031857600080fd5b61026861069b565b341561032b57600080fd5b610268600160a060020a03600435166106a1565b341561034a57600080fd5b6102686106bc565b341561035d57600080fd5b6101a86106c2565b341561037057600080fd5b610241600160a060020a036004351660243561072d565b341561039257600080fd5b61024160048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506107d095505050505050565b34156103f757600080fd5b610268600160a060020a0360043581169060243516610970565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104a75780601f1061047c576101008083540402835291602001916104a7565b820191906000526020600020905b81548152906001019060200180831161048a57829003601f168201915b505050505081565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60025481565b600954600160a060020a031681565b600160a060020a0383166000908152602081905260408120548290108015906105815750600160a060020a0380851660009081526001602090815260408083203390941683529290522054829010155b801561058d5750600082115b1561061c57600160a060020a0380841660008181526020818152604080832080548801905588851680845281842080548990039055600183528184203390961684529490915290819020805486900390559091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610620565b5060005b9392505050565b60045460ff1681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104a75780601f1061047c576101008083540402835291602001916104a7565b60075481565b600160a060020a031660009081526020819052604090205490565b60085481565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104a75780601f1061047c576101008083540402835291602001916104a7565b600160a060020a0333166000908152602081905260408120548290108015906107565750600082115b156107c857600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610516565b506000610516565b600160a060020a03338116600081815260016020908152604080832094881680845294909152808220869055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a383600160a060020a03166040517f72656365697665417070726f76616c28616464726573732c75696e743235362c81527f616464726573732c6279746573290000000000000000000000000000000000006020820152602e01604051809103902060e060020a9004338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a03168152602001828051906020019080838360005b838110156109115780820151838201526020016108f9565b50505050905090810190601f16801561093e5780820380516001836020036101000a031916815260200191505b5094505050505060006040518083038160008761646e5a03f192505050151561096657600080fd5b5060019392505050565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a7230582007f68f02bdadd086492ce6e486edb9413c5b290104cf4bdda289a82e26668aa90029

   Swarm Source:
bzzr://07f68f02bdadd086492ce6e486edb9413c5b290104cf4bdda289a82e26668aa9

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.