ETH Price: $3,235.56 (-0.21%)

Token

Secure Honest Internet Transfer coin (SHIT)
 

Overview

Max Total Supply

5,417,000,000 SHIT

Holders

40

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 5 Decimals)

Balance
510,000 SHIT

Value
$0.00
0xf9c630b3cbe278c950bd95ba55222f2c82f0cfd5
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:
SHITcoin

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.19;
contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); }

contract SHITcoin {
    /* Public variables of the SHIT coin */
    string public standard = 'SHIT 1.0';
    string public name = 'Secure Honest Internet Transfer coin';
    string public symbol = 'SHIT';
    uint8 public decimals = 5;
    uint256 public totalSupply = 541700000000000;

    /* Creates an array with all balances */
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    /* Generates a public event on the blockchain that will notify clients */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /* Notifies clients about the amount burnt */
    event Burn(address indexed from, uint256 value);

    /* Initializes contract with initial supply tokens to me */
    function SHITcoin() {
        balanceOf[msg.sender] = totalSupply;                    // Give the creator all initial tokens
    }

    /* Send coins */
    function transfer(address _to, uint256 _value) {
        if (_to == 0x0) revert();                               // Prevent transfer to 0x0 address. Use burn() instead
        if (balanceOf[msg.sender] < _value) revert();           // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) revert(); // Check for overflows
        balanceOf[msg.sender] -= _value;                        // Subtract from the sender
        balanceOf[_to] += _value;                               // Add the same to the recipient
        Transfer(msg.sender, _to, _value);                      // Notify anyone listening that this transfer took place
    }

    /* Allow another contract to spend some tokens on my behalf */
    function approve(address _spender, uint256 _value)
        returns (bool success) {
        if ((_value != 0) && (allowance[msg.sender][_spender] != 0)) revert();
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    /* Approve and then communicate the approved contract in a single tx */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData)
        returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    /* A contract attempts to get the coins */
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        if (_to == 0x0) revert();                                // Prevent transfer to 0x0 address. Use burn() instead
        if (balanceOf[_from] < _value) revert();                 // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) revert();  // Check for overflows
        if (_value > allowance[_from][msg.sender]) revert();     // Check allowance
        balanceOf[_from] -= _value;                              // Subtract from the sender
        balanceOf[_to] += _value;                                // Add the same to the recipient
        allowance[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }

	/* Burn SHIT by User */
    function burn(uint256 _value) returns (bool success) {
        if (balanceOf[msg.sender] < _value) revert();            // Check if the sender has enough
        balanceOf[msg.sender] -= _value;                         // Subtract from the sender
        totalSupply -= _value;                                   // Updates totalSupply
        Burn(msg.sender, _value);
        return true;
    }

	/* Burn SHIT from Users */
    function burnFrom(address _from, uint256 _value) returns (bool success) {
        if (balanceOf[_from] < _value) revert();                // Check if the sender has enough
        if (_value > allowance[_from][msg.sender]) revert();    // Check allowance
        balanceOf[_from] -= _value;                             // Subtract from the sender
        totalSupply -= _value;                                  // Updates totalSupply
        Burn(_from, _value);
        return true;
    }
}

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":"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":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":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":[],"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":"","type":"address"},{"name":"","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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

606060405260408051908101604052600881527f5348495420312e300000000000000000000000000000000000000000000000006020820152600090805161004b929160200190610149565b50606060405190810160405280602481526020017f53656375726520486f6e65737420496e7465726e6574205472616e736665722081526020017f636f696e0000000000000000000000000000000000000000000000000000000081525060019080516100bc929160200190610149565b5060408051908101604052600481527f534849540000000000000000000000000000000000000000000000000000000060208201526002908051610104929160200190610149565b506003805460ff191660051790556601ecac5c132800600455341561012857600080fd5b600454600160a060020a0333166000908152600560205260409020556101e4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061018a57805160ff19168380011785556101b7565b828001600101855582156101b7579182015b828111156101b757825182559160200191906001019061019c565b506101c39291506101c7565b5090565b6101e191905b808211156101c357600081556001016101cd565b90565b6109e4806101f36000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018957806323b872dd146101ae578063313ce567146101d657806342966c68146101ff5780635a3b7e421461021557806370a082311461022857806379cc67901461024757806395d89b4114610269578063a9059cbb1461027c578063cae9ca51146102a0578063dd62ed3e14610305575b600080fd5b34156100d457600080fd5b6100dc61032a565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a03600435166024356103c8565b604051901515815260200160405180910390f35b341561019457600080fd5b61019c610438565b60405190815260200160405180910390f35b34156101b957600080fd5b610175600160a060020a036004358116906024351660443561043e565b34156101e157600080fd5b6101e9610563565b60405160ff909116815260200160405180910390f35b341561020a57600080fd5b61017560043561056c565b341561022057600080fd5b6100dc6105f7565b341561023357600080fd5b61019c600160a060020a0360043516610662565b341561025257600080fd5b610175600160a060020a0360043516602435610674565b341561027457600080fd5b6100dc610733565b341561028757600080fd5b61029e600160a060020a036004351660243561079e565b005b34156102ab57600080fd5b61017560048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061086995505050505050565b341561031057600080fd5b61019c600160a060020a036004358116906024351661099b565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b505050505081565b600081158015906103fd5750600160a060020a0333811660009081526006602090815260408083209387168352929052205415155b1561040757600080fd5b50600160a060020a033381166000908152600660209081526040808320938616835292905220819055600192915050565b60045481565b6000600160a060020a038316151561045557600080fd5b600160a060020a0384166000908152600560205260409020548290101561047b57600080fd5b600160a060020a03831660009081526005602052604090205482810110156104a257600080fd5b600160a060020a03808516600090815260066020908152604080832033909416835292905220548211156104d557600080fd5b600160a060020a03808516600081815260056020908152604080832080548890039055878516808452818420805489019055848452600683528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460ff1681565b600160a060020a0333166000908152600560205260408120548290101561059257600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103c05780601f10610395576101008083540402835291602001916103c0565b60056020526000908152604090205481565b600160a060020a0382166000908152600560205260408120548290101561069a57600080fd5b600160a060020a03808416600090815260066020908152604080832033909416835292905220548211156106cd57600080fd5b600160a060020a03831660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103c05780601f10610395576101008083540402835291602001916103c0565b600160a060020a03821615156107b357600080fd5b600160a060020a033316600090815260056020526040902054819010156107d957600080fd5b600160a060020a038216600090815260056020526040902054818101101561080057600080fd5b600160a060020a033381166000818152600560205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35050565b60008361087681856103c8565b156109935780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561092c578082015183820152602001610914565b50505050905090810190601f1680156109595780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561097a57600080fd5b6102c65a03f1151561098b57600080fd5b505050600191505b509392505050565b6006602090815260009283526040808420909152908252902054815600a165627a7a72305820d7ff09161ac1cfb36126b24e25f0a3732d745573136e8e5bdbbe931a756fc2cd0029

Deployed Bytecode

0x6060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018957806323b872dd146101ae578063313ce567146101d657806342966c68146101ff5780635a3b7e421461021557806370a082311461022857806379cc67901461024757806395d89b4114610269578063a9059cbb1461027c578063cae9ca51146102a0578063dd62ed3e14610305575b600080fd5b34156100d457600080fd5b6100dc61032a565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a03600435166024356103c8565b604051901515815260200160405180910390f35b341561019457600080fd5b61019c610438565b60405190815260200160405180910390f35b34156101b957600080fd5b610175600160a060020a036004358116906024351660443561043e565b34156101e157600080fd5b6101e9610563565b60405160ff909116815260200160405180910390f35b341561020a57600080fd5b61017560043561056c565b341561022057600080fd5b6100dc6105f7565b341561023357600080fd5b61019c600160a060020a0360043516610662565b341561025257600080fd5b610175600160a060020a0360043516602435610674565b341561027457600080fd5b6100dc610733565b341561028757600080fd5b61029e600160a060020a036004351660243561079e565b005b34156102ab57600080fd5b61017560048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061086995505050505050565b341561031057600080fd5b61019c600160a060020a036004358116906024351661099b565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103c05780601f10610395576101008083540402835291602001916103c0565b820191906000526020600020905b8154815290600101906020018083116103a357829003601f168201915b505050505081565b600081158015906103fd5750600160a060020a0333811660009081526006602090815260408083209387168352929052205415155b1561040757600080fd5b50600160a060020a033381166000908152600660209081526040808320938616835292905220819055600192915050565b60045481565b6000600160a060020a038316151561045557600080fd5b600160a060020a0384166000908152600560205260409020548290101561047b57600080fd5b600160a060020a03831660009081526005602052604090205482810110156104a257600080fd5b600160a060020a03808516600090815260066020908152604080832033909416835292905220548211156104d557600080fd5b600160a060020a03808516600081815260056020908152604080832080548890039055878516808452818420805489019055848452600683528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460ff1681565b600160a060020a0333166000908152600560205260408120548290101561059257600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103c05780601f10610395576101008083540402835291602001916103c0565b60056020526000908152604090205481565b600160a060020a0382166000908152600560205260408120548290101561069a57600080fd5b600160a060020a03808416600090815260066020908152604080832033909416835292905220548211156106cd57600080fd5b600160a060020a03831660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103c05780601f10610395576101008083540402835291602001916103c0565b600160a060020a03821615156107b357600080fd5b600160a060020a033316600090815260056020526040902054819010156107d957600080fd5b600160a060020a038216600090815260056020526040902054818101101561080057600080fd5b600160a060020a033381166000818152600560205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35050565b60008361087681856103c8565b156109935780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561092c578082015183820152602001610914565b50505050905090810190601f1680156109595780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561097a57600080fd5b6102c65a03f1151561098b57600080fd5b505050600191505b509392505050565b6006602090815260009283526040808420909152908252902054815600a165627a7a72305820d7ff09161ac1cfb36126b24e25f0a3732d745573136e8e5bdbbe931a756fc2cd0029

Swarm Source

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