ETH Price: $3,440.26 (+7.77%)
Gas: 15 Gwei

Token

Zebras Token (ZBT)
 

Overview

Max Total Supply

130,000,000 ZBT

Holders

598

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 4 Decimals)

Filtered by Token Holder
*我戚建豪就挂三菱咋地.eth
Balance
16,000 ZBT

Value
$0.00
0xc4a77c2cb0717112ba865bb7dcd06ebd01e26150
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:
MyToken

Compiler Version
v0.4.13+commit.fb4cb1a

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.13;

contract MyToken 

{   string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;
    
    mapping (address => uint256) public balanceOf;
    mapping (address => bool) public frozenAccount;
    event FrozenFunds(address target,bool frozen);
    event Transfer(address indexed from,address indexed to,uint256 value);
    

    function MyToken(uint256 initialSupply,string tokenName,string tokenSymbol,uint8 decimalUnits)

    {   balanceOf[msg.sender] = initialSupply;
        totalSupply = initialSupply;
        name = tokenName;
        symbol = tokenSymbol;
        decimals = decimalUnits;
    }

    function freezeAccount(address target,bool freeze)
    
    {    frozenAccount[target] = freeze;
         FrozenFunds(target, freeze);
    }

    function transfer(address _to, uint256 _value)

    {   require(!frozenAccount[msg.sender]);
        require (balanceOf[msg.sender] >= _value);
        require (balanceOf[_to] + _value >= balanceOf[_to]);
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;
        Transfer(msg.sender, _to, _value);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"},{"name":"decimalUnits","type":"uint8"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","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"}]

6060604052341561000f57600080fd5b6040516106df3803806106df83398101604052808051919060200180518201919060200180518201919060200180519150505b600160a060020a033316600090815260046020526040812085905560038590558380516100739291602001906100a1565b5060018280516100879291602001906100a1565b506002805460ff191660ff83161790555b50505050610141565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100e257805160ff191683800117855561010f565b8280016001018555821561010f579182015b8281111561010f5782518255916020019190600101906100f4565b5b5061011c929150610120565b5090565b61013e91905b8082111561011c5760008155600101610126565b5090565b90565b61058f806101506000396000f3006060604052361561008b5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009057806318160ddd1461011b578063313ce5671461014057806370a082311461016957806395d89b411461019a578063a9059cbb14610225578063b414d4b614610249578063e724529c1461027c575b600080fd5b341561009b57600080fd5b6100a36102a2565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012657600080fd5b61012e610340565b60405190815260200160405180910390f35b341561014b57600080fd5b610153610346565b60405160ff909116815260200160405180910390f35b341561017457600080fd5b61012e600160a060020a036004351661034f565b60405190815260200160405180910390f35b34156101a557600080fd5b6100a3610361565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023057600080fd5b610247600160a060020a03600435166024356103ff565b005b341561025457600080fd5b610268600160a060020a03600435166104dc565b604051901515815260200160405180910390f35b341561028757600080fd5b610247600160a060020a036004351660243515156104f1565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103385780601f1061030d57610100808354040283529160200191610338565b820191906000526020600020905b81548152906001019060200180831161031b57829003601f168201915b505050505081565b60035481565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103385780601f1061030d57610100808354040283529160200191610338565b820191906000526020600020905b81548152906001019060200180831161031b57829003601f168201915b505050505081565b600160a060020a03331660009081526005602052604090205460ff161561042557600080fd5b600160a060020a0333166000908152600460205260409020548190101561044b57600080fd5b600160a060020a038216600090815260046020526040902054818101101561047257600080fd5b600160a060020a033381166000818152600460205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60056020526000908152604090205460ff1681565b600160a060020a03821660009081526005602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b50505600a165627a7a7230582033093109abb8646dce56ae5541b50a971a2ff9d64a411fab486d4edc5c8278c800290000000000000000000000000000000000000000000000000000012eae09c800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c5a656272617320546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a42540000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6060604052361561008b5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009057806318160ddd1461011b578063313ce5671461014057806370a082311461016957806395d89b411461019a578063a9059cbb14610225578063b414d4b614610249578063e724529c1461027c575b600080fd5b341561009b57600080fd5b6100a36102a2565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012657600080fd5b61012e610340565b60405190815260200160405180910390f35b341561014b57600080fd5b610153610346565b60405160ff909116815260200160405180910390f35b341561017457600080fd5b61012e600160a060020a036004351661034f565b60405190815260200160405180910390f35b34156101a557600080fd5b6100a3610361565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023057600080fd5b610247600160a060020a03600435166024356103ff565b005b341561025457600080fd5b610268600160a060020a03600435166104dc565b604051901515815260200160405180910390f35b341561028757600080fd5b610247600160a060020a036004351660243515156104f1565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103385780601f1061030d57610100808354040283529160200191610338565b820191906000526020600020905b81548152906001019060200180831161031b57829003601f168201915b505050505081565b60035481565b60025460ff1681565b60046020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103385780601f1061030d57610100808354040283529160200191610338565b820191906000526020600020905b81548152906001019060200180831161031b57829003601f168201915b505050505081565b600160a060020a03331660009081526005602052604090205460ff161561042557600080fd5b600160a060020a0333166000908152600460205260409020548190101561044b57600080fd5b600160a060020a038216600090815260046020526040902054818101101561047257600080fd5b600160a060020a033381166000818152600460205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60056020526000908152604090205460ff1681565b600160a060020a03821660009081526005602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b50505600a165627a7a7230582033093109abb8646dce56ae5541b50a971a2ff9d64a411fab486d4edc5c8278c80029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000012eae09c800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c5a656272617320546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a42540000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 1300000000000
Arg [1] : tokenName (string): Zebras Token
Arg [2] : tokenSymbol (string): ZBT
Arg [3] : decimalUnits (uint8): 4

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000012eae09c800
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 5a656272617320546f6b656e0000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5a42540000000000000000000000000000000000000000000000000000000000


Swarm Source

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