ETH Price: $3,279.65 (-4.61%)

Token

0xBTCHate (0xBTCHate)
 

Overview

Max Total Supply

2 0xBTCHate

Holders

1

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2 0xBTCHate

Value
$0.00
0x84ecb387395a1be65e133c75ff9e5fcc6f756db3
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:
ZEROxBTCHate

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.24;

// DO YOU HATE 0xBTC?
// LETS SUMMARIZE 0xBTC
// > NO REAL USE CASES 
// > PoW WITHOUT CONSENSUS
// > PAID SHILLS
// > ETH SUCKS, BUILDS ON ETH
// UPLOAD YOUR REASON WHY YOU HATE 0xBTC AND GET FREE 0xBTCHATE TOKENS! 
// (also check the Transfer address in the IHate0xBTC function)

contract ZEROxBTCHate {

    string public name = "0xBTCHate";      //  token name
    string public symbol = "0xBTCHate";           //  token symbol
    uint256 public decimals = 18;            //  token digit

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

    uint256 public totalSupply = 0;

    modifier validAddress {
        assert(0x0 != msg.sender);
        _;
    }
    
    // MINE YOUR OWN 0xBTCHATE FUNCTIONS!!
    // DIFFICULTY ALWAYS... 0! (but it will rise slightly because you cannot mine strings which other people submitted, or you just found a hash collission!!)
    
    function IHate0xBTC(string reason) public {
        uint hash = uint(keccak256(bytes(reason)));
        if (!ZEROxBTCHaters[hash]){
            // congratulations we found new hate for 0xBTC!
            // reward: an 0xBTC hate token 
            ZEROxBTCHaters[hash] = true; 
            balanceOf[msg.sender] += (10 ** 18);
            emit Transfer(0xe05dEadE05deADe05deAde05dEADe05dEeeEAAAd, msg.sender, 10**18); // kek 
            emit New0xBTCHate(msg.sender, reason);
            totalSupply += (10 ** 18); // CANNOT OVERFLOW THIS BECAUSE WE ONLY HAVE UINT HASHES (HACKERS BTFO)
        }
    }

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

    function transferFrom(address _from, address _to, uint256 _value) public validAddress returns (bool success) {
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        require(allowance[_from][msg.sender] >= _value);
        balanceOf[_to] += _value;
        balanceOf[_from] -= _value;
        allowance[_from][msg.sender] -= _value;
        emit Transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) public validAddress returns (bool success) {
        require(_value == 0 || allowance[msg.sender][_spender] == 0);
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
    event New0xBTCHate(address who, string reason);
}

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":"uint256"}],"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":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"reason","type":"string"}],"name":"IHate0xBTC","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"","type":"uint256"}],"name":"ZEROxBTCHaters","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"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":[{"indexed":false,"name":"who","type":"address"},{"indexed":false,"name":"reason","type":"string"}],"name":"New0xBTCHate","type":"event"}]

60c0604052600960808190527f307842544348617465000000000000000000000000000000000000000000000060a090815261003e91600091906100a0565b506040805180820190915260098082527f30784254434861746500000000000000000000000000000000000000000000006020909201918252610083916001916100a0565b506012600255600060065534801561009a57600080fd5b5061013b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100e157805160ff191683800117855561010e565b8280016001018555821561010e579182015b8281111561010e5782518255916020019190600101906100f3565b5061011a92915061011e565b5090565b61013891905b8082111561011a5760008155600101610124565b90565b6108688061014a6000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c578063313ce567146101c657806370a08231146101db57806395d89b41146101fc5780639c62622d14610211578063a9059cbb1461026c578063ce64bf8014610290578063dd62ed3e146102a8575b600080fd5b3480156100bf57600080fd5b506100c86102cf565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a036004351660243561035d565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a610408565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a036004358116906024351660443561040e565b3480156101d257600080fd5b5061018a61051d565b3480156101e757600080fd5b5061018a600160a060020a0360043516610523565b34801561020857600080fd5b506100c8610535565b34801561021d57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261026a94369492936024939284019190819084018382808284375094975061058f9650505050505050565b005b34801561027857600080fd5b50610161600160a060020a036004351660243561074e565b34801561029c57600080fd5b5061016160043561080a565b3480156102b457600080fd5b5061018a600160a060020a036004358116906024351661081f565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103555780601f1061032a57610100808354040283529160200191610355565b820191906000526020600020905b81548152906001019060200180831161033857829003601f168201915b505050505081565b600033151561036857fe5b8115806103965750336000908152600460209081526040808320600160a060020a0387168452909152902054155b15156103a157600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60065481565b600033151561041957fe5b600160a060020a03841660009081526003602052604090205482111561043e57600080fd5b600160a060020a038316600090815260036020526040902054828101101561046557600080fd5b600160a060020a038416600090815260046020908152604080832033845290915290205482111561049557600080fd5b600160a060020a03808416600081815260036020908152604080832080548801905593881680835284832080548890039055600482528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025481565b60036020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103555780601f1061032a57610100808354040283529160200191610355565b6000816040518082805190602001908083835b602083106105c15780518252601f1990920191602091820191016105a2565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008181526005909252929020549194505060ff161515915061074a9050576000818152600560209081526040808320805460ff191660011790553380845260038352928190208054670de0b6b3a76400009081019091558151908152905173e05deade05deade05deade05deade05deeeeaaad927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef928290030190a37f563636e0a8d1802ccd34c26067fa857bfb33db8dc4dba1c2b2e8fc7bf5f87da733836040518083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106fe5781810151838201526020016106e6565b50505050905090810190601f16801561072b5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a160068054670de0b6b3a76400000190555b5050565b600033151561075957fe5b3360009081526003602052604090205482111561077557600080fd5b600160a060020a038316600090815260036020526040902054828101101561079c57600080fd5b33600081815260036020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020526000908152604090205460ff1681565b6004602090815260009283526040808420909152908252902054815600a165627a7a7230582003370e7e543be6e01eace606135b1318e324175a14da83171d8e73901c8c413a0029

Deployed Bytecode

0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017557806323b872dd1461019c578063313ce567146101c657806370a08231146101db57806395d89b41146101fc5780639c62622d14610211578063a9059cbb1461026c578063ce64bf8014610290578063dd62ed3e146102a8575b600080fd5b3480156100bf57600080fd5b506100c86102cf565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a036004351660243561035d565b604080519115158252519081900360200190f35b34801561018157600080fd5b5061018a610408565b60408051918252519081900360200190f35b3480156101a857600080fd5b50610161600160a060020a036004358116906024351660443561040e565b3480156101d257600080fd5b5061018a61051d565b3480156101e757600080fd5b5061018a600160a060020a0360043516610523565b34801561020857600080fd5b506100c8610535565b34801561021d57600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261026a94369492936024939284019190819084018382808284375094975061058f9650505050505050565b005b34801561027857600080fd5b50610161600160a060020a036004351660243561074e565b34801561029c57600080fd5b5061016160043561080a565b3480156102b457600080fd5b5061018a600160a060020a036004358116906024351661081f565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103555780601f1061032a57610100808354040283529160200191610355565b820191906000526020600020905b81548152906001019060200180831161033857829003601f168201915b505050505081565b600033151561036857fe5b8115806103965750336000908152600460209081526040808320600160a060020a0387168452909152902054155b15156103a157600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60065481565b600033151561041957fe5b600160a060020a03841660009081526003602052604090205482111561043e57600080fd5b600160a060020a038316600090815260036020526040902054828101101561046557600080fd5b600160a060020a038416600090815260046020908152604080832033845290915290205482111561049557600080fd5b600160a060020a03808416600081815260036020908152604080832080548801905593881680835284832080548890039055600482528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60025481565b60036020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103555780601f1061032a57610100808354040283529160200191610355565b6000816040518082805190602001908083835b602083106105c15780518252601f1990920191602091820191016105a2565b51815160209384036101000a6000190180199092169116179052604080519290940182900390912060008181526005909252929020549194505060ff161515915061074a9050576000818152600560209081526040808320805460ff191660011790553380845260038352928190208054670de0b6b3a76400009081019091558151908152905173e05deade05deade05deade05deade05deeeeaaad927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef928290030190a37f563636e0a8d1802ccd34c26067fa857bfb33db8dc4dba1c2b2e8fc7bf5f87da733836040518083600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156106fe5781810151838201526020016106e6565b50505050905090810190601f16801561072b5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a160068054670de0b6b3a76400000190555b5050565b600033151561075957fe5b3360009081526003602052604090205482111561077557600080fd5b600160a060020a038316600090815260036020526040902054828101101561079c57600080fd5b33600081815260036020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020526000908152604090205460ff1681565b6004602090815260009283526040808420909152908252902054815600a165627a7a7230582003370e7e543be6e01eace606135b1318e324175a14da83171d8e73901c8c413a0029

Swarm Source

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