ETH Price: $3,362.04 (-3.22%)

Token

ShizzleNizzle (SHNZ)
 

Overview

Max Total Supply

10,000,000,000 SHNZ

Holders

7,682

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
2,000 SHNZ

Value
$0.00
0x926c705bf54feab612c1036a57f5dca2d4e0bb5f
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:
SHNZ

Compiler Version
v0.4.17+commit.bdeb9e52

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-10-29
*/

pragma solidity ^0.4.11;

contract Ownable {
    
    address public owner;

    event OwnershipTransferred(address from, address to);

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

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

    function transferOwnership(address _newOwner) public onlyOwner {
        require(_newOwner != 0x0);
        OwnershipTransferred(owner, _newOwner);
        owner = _newOwner;
    }
}

library SafeMath {
    
    function mul(uint256 a, uint256 b) internal  returns (uint256) {
        uint256 c = a * b;
        assert(a == 0 || c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal returns (uint256) {
        uint256 c = a / b;
        return c;
    }

    function sub(uint256 a, uint256 b) internal returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    function add(uint256 a, uint256 b) internal returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
}

contract ERC20 {
    uint256 public totalSupply;
    uint8 public decimals;
    string public name;
    string public symbol;
    function balanceOf(address who) constant public returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    function allowance(address owner, address spender) constant public returns (uint256);
    function transferFrom(address from, address to, uint256 value) public  returns (bool);
    function approve(address spender, uint256 value) public returns (bool);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract SHNZ is ERC20, Ownable {
    
    using SafeMath for uint256;
    
    uint256 private tokensSold;
    
    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowances;
  
    event TokensIssued(address from, address to, uint256 amount);

    function SHNZ() public {
        totalSupply = 1000000000000000000;
        decimals = 8;
        name = "ShizzleNizzle";
        symbol = "SHNZ";
        balances[this] = totalSupply;
    }

    function balanceOf(address _addr) public constant returns (uint256) {
        return balances[_addr];
    }

    function transfer(address _to, uint256 _amount) public returns (bool) {
        require(balances[msg.sender] >= _amount);
        balances[msg.sender] = balances[msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        Transfer(msg.sender, _to, _amount);
        return true;
    }
    
    function approve(address _spender, uint256 _amount) public returns (bool) {
        allowances[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
    }
    
    function allowance(address _owner, address _spender) public constant returns (uint256) {
        return allowances[_owner][_spender];
    }
    
    function transferFrom(address _from, address _to, uint256 _amount) public returns (bool) {
        require(allowances[_from][msg.sender] >= _amount && balances[_from] >= _amount);
        allowances[_from][msg.sender] = allowances[_from][msg.sender].sub(_amount);
        balances[_from] = balances[_from].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        Transfer(_from, _to, _amount);
        return true;
    }
    
    function issueTokens(address _to, uint256 _amount) public onlyOwner {
        require(_to != 0x0 && _amount > 0);
        if(balances[this] <= _amount) {
            balances[_to] = balances[_to].add(balances[this]);
            Transfer(0x0, _to, balances[this]);
            balances[this] = 0;
        } else {
            balances[this] = balances[this].sub(_amount);
            balances[_to] = balances[_to].add(_amount);
            Transfer(0x0, _to, _amount);
        }
    }

    function getTotalSupply() public constant returns (uint256) {
        return 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":"_amount","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":"_amount","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":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"issueTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getTotalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TokensIssued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"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"}]

6060604052341561000f57600080fd5b60048054600160a060020a033316600160a060020a0319909116179055670de0b6b3a76400006000556001805460ff1916600817905560408051908101604052600d81527f5368697a7a6c654e697a7a6c65000000000000000000000000000000000000006020820152600290805161008c9291602001906100f5565b5060408051908101604052600481527f53484e5a00000000000000000000000000000000000000000000000000000000602082015260039080516100d49291602001906100f5565b5060008054600160a060020a03301682526006602052604090912055610190565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013657805160ff1916838001178555610163565b82800160010185558215610163579182015b82811115610163578251825591602001919060010190610148565b5061016f929150610173565b5090565b61018d91905b8082111561016f5760008155600101610179565b90565b6109cc8061019f6000396000f300606060405236156100c25763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c7578063095ea7b31461015157806318160ddd1461018757806323b872dd146101ac578063313ce567146101d4578063475a9fa9146101fd57806370a08231146102215780638da5cb5b1461024057806395d89b411461026f578063a9059cbb14610282578063c4e41b22146102a4578063dd62ed3e146102b7578063f2fde38b146102dc575b600080fd5b34156100d257600080fd5b6100da6102fb565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101165780820151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015c57600080fd5b610173600160a060020a0360043516602435610399565b604051901515815260200160405180910390f35b341561019257600080fd5b61019a610405565b60405190815260200160405180910390f35b34156101b757600080fd5b610173600160a060020a036004358116906024351660443561040b565b34156101df57600080fd5b6101e761056a565b60405160ff909116815260200160405180910390f35b341561020857600080fd5b61021f600160a060020a0360043516602435610573565b005b341561022c57600080fd5b61019a600160a060020a036004351661070e565b341561024b57600080fd5b610253610729565b604051600160a060020a03909116815260200160405180910390f35b341561027a57600080fd5b6100da610738565b341561028d57600080fd5b610173600160a060020a03600435166024356107a3565b34156102af57600080fd5b61019a610876565b34156102c257600080fd5b61019a600160a060020a036004358116906024351661087c565b34156102e757600080fd5b61021f600160a060020a03600435166108a7565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103915780601f1061036657610100808354040283529160200191610391565b820191906000526020600020905b81548152906001019060200180831161037457829003601f168201915b505050505081565b600160a060020a03338116600081815260076020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b600160a060020a0380841660009081526007602090815260408083203390941683529290529081205482901080159061045d5750600160a060020a038416600090815260066020526040902054829010155b151561046857600080fd5b600160a060020a038085166000908152600760209081526040808320339094168352929052205461049f908363ffffffff61095816565b600160a060020a0380861660008181526007602090815260408083203390951683529381528382209490945590815260069092529020546104e6908363ffffffff61095816565b600160a060020a03808616600090815260066020526040808220939093559085168152205461051b908363ffffffff61096a16565b600160a060020a03808516600081815260066020526040908190209390935591908616906000805160206109818339815191529085905190815260200160405180910390a35060019392505050565b60015460ff1681565b60045433600160a060020a0390811691161461058e57600080fd5b600160a060020a038216158015906105a65750600081115b15156105b157600080fd5b600160a060020a03301660009081526006602052604090205481901161066b57600160a060020a033081166000908152600660205260408082205492851682529020546106039163ffffffff61096a16565b600160a060020a038084166000818152600660205260408082209490945530909216825282822054909260008051602061098183398151915291905190815260200160405180910390a3600160a060020a03301660009081526006602052604081205561070a565b600160a060020a033016600090815260066020526040902054610694908263ffffffff61095816565b600160a060020a0330811660009081526006602052604080822093909355908416815220546106c9908263ffffffff61096a16565b600160a060020a0383166000818152600660205260408082209390935590916000805160206109818339815191529084905190815260200160405180910390a35b5050565b600160a060020a031660009081526006602052604090205490565b600454600160a060020a031681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103915780601f1061036657610100808354040283529160200191610391565b600160a060020a033316600090815260066020526040812054829010156107c957600080fd5b600160a060020a0333166000908152600660205260409020546107f2908363ffffffff61095816565b600160a060020a033381166000908152600660205260408082209390935590851681522054610827908363ffffffff61096a16565b600160a060020a0380851660008181526006602052604090819020939093559133909116906000805160206109818339815191529085905190815260200160405180910390a350600192915050565b60005490565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205490565b60045433600160a060020a039081169116146108c257600080fd5b600160a060020a03811615156108d757600080fd5b6004547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600160a060020a031682604051600160a060020a039283168152911660208201526040908101905180910390a16004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008282111561096457fe5b50900390565b60008282018381101561097957fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820790764f305a8571f265f9fb328440c75bd0adbf7a79f8d6abe7e4121fe8578620029

Deployed Bytecode

0x606060405236156100c25763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c7578063095ea7b31461015157806318160ddd1461018757806323b872dd146101ac578063313ce567146101d4578063475a9fa9146101fd57806370a08231146102215780638da5cb5b1461024057806395d89b411461026f578063a9059cbb14610282578063c4e41b22146102a4578063dd62ed3e146102b7578063f2fde38b146102dc575b600080fd5b34156100d257600080fd5b6100da6102fb565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101165780820151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015c57600080fd5b610173600160a060020a0360043516602435610399565b604051901515815260200160405180910390f35b341561019257600080fd5b61019a610405565b60405190815260200160405180910390f35b34156101b757600080fd5b610173600160a060020a036004358116906024351660443561040b565b34156101df57600080fd5b6101e761056a565b60405160ff909116815260200160405180910390f35b341561020857600080fd5b61021f600160a060020a0360043516602435610573565b005b341561022c57600080fd5b61019a600160a060020a036004351661070e565b341561024b57600080fd5b610253610729565b604051600160a060020a03909116815260200160405180910390f35b341561027a57600080fd5b6100da610738565b341561028d57600080fd5b610173600160a060020a03600435166024356107a3565b34156102af57600080fd5b61019a610876565b34156102c257600080fd5b61019a600160a060020a036004358116906024351661087c565b34156102e757600080fd5b61021f600160a060020a03600435166108a7565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103915780601f1061036657610100808354040283529160200191610391565b820191906000526020600020905b81548152906001019060200180831161037457829003601f168201915b505050505081565b600160a060020a03338116600081815260076020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b600160a060020a0380841660009081526007602090815260408083203390941683529290529081205482901080159061045d5750600160a060020a038416600090815260066020526040902054829010155b151561046857600080fd5b600160a060020a038085166000908152600760209081526040808320339094168352929052205461049f908363ffffffff61095816565b600160a060020a0380861660008181526007602090815260408083203390951683529381528382209490945590815260069092529020546104e6908363ffffffff61095816565b600160a060020a03808616600090815260066020526040808220939093559085168152205461051b908363ffffffff61096a16565b600160a060020a03808516600081815260066020526040908190209390935591908616906000805160206109818339815191529085905190815260200160405180910390a35060019392505050565b60015460ff1681565b60045433600160a060020a0390811691161461058e57600080fd5b600160a060020a038216158015906105a65750600081115b15156105b157600080fd5b600160a060020a03301660009081526006602052604090205481901161066b57600160a060020a033081166000908152600660205260408082205492851682529020546106039163ffffffff61096a16565b600160a060020a038084166000818152600660205260408082209490945530909216825282822054909260008051602061098183398151915291905190815260200160405180910390a3600160a060020a03301660009081526006602052604081205561070a565b600160a060020a033016600090815260066020526040902054610694908263ffffffff61095816565b600160a060020a0330811660009081526006602052604080822093909355908416815220546106c9908263ffffffff61096a16565b600160a060020a0383166000818152600660205260408082209390935590916000805160206109818339815191529084905190815260200160405180910390a35b5050565b600160a060020a031660009081526006602052604090205490565b600454600160a060020a031681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103915780601f1061036657610100808354040283529160200191610391565b600160a060020a033316600090815260066020526040812054829010156107c957600080fd5b600160a060020a0333166000908152600660205260409020546107f2908363ffffffff61095816565b600160a060020a033381166000908152600660205260408082209390935590851681522054610827908363ffffffff61096a16565b600160a060020a0380851660008181526006602052604090819020939093559133909116906000805160206109818339815191529085905190815260200160405180910390a350600192915050565b60005490565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205490565b60045433600160a060020a039081169116146108c257600080fd5b600160a060020a03811615156108d757600080fd5b6004547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600160a060020a031682604051600160a060020a039283168152911660208201526040908101905180910390a16004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008282111561096457fe5b50900390565b60008282018381101561097957fe5b93925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820790764f305a8571f265f9fb328440c75bd0adbf7a79f8d6abe7e4121fe8578620029

Swarm Source

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