ERC-20
Overview
Max Total Supply
100,000,000 ZAG
Holders
779
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 4 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x021E79B9...ab933886d The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
MyToken
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-11-25 */ pragma solidity ^0.4.15; contract MyOwned { address public owner; function MyOwned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner ); _; } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } } interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract MyToken is MyOwned { 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(string tokenName,string tokenSymbol,uint8 decimalUnits,uint256 initialSupply){ name = tokenName; symbol = tokenSymbol; decimals = decimalUnits; totalSupply = initialSupply; balanceOf[msg.sender] = initialSupply; } 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); } function freezeAccount(address target,bool freeze) onlyOwner { frozenAccount[target] = freeze; FrozenFunds(target, freeze); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"owner","outputs":[{"name":"","type":"address"}],"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"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"},{"name":"decimalUnits","type":"uint8"},{"name":"initialSupply","type":"uint256"}],"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"}]
Contract Creation Code
6060604052341561000f57600080fd5b6040516107d73803806107d783398101604052808051820191906020018051820191906020018051919060200180519150505b5b60008054600160a060020a03191633600160a060020a03161790555b60018480516100729291602001906100c0565b5060028380516100869291602001906100c0565b506003805460ff191660ff8416179055600481905533600160a060020a031660009081526005602052604090208190555b50505050610160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010157805160ff191683800117855561012e565b8280016001018555821561012e579182015b8281111561012e578251825591602001919060010190610113565b5b5061013b92915061013f565b5090565b61015d91905b8082111561013b5760008155600101610145565b5090565b90565b6106688061016f6000396000f300606060405236156100a15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a657806318160ddd14610131578063313ce5671461015657806370a082311461017f5780638da5cb5b146101b057806395d89b41146101df578063a9059cbb1461026a578063b414d4b61461028e578063e724529c146102c1578063f2fde38b146102e7575b600080fd5b34156100b157600080fd5b6100b9610308565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f65780820151818401525b6020016100dd565b50505050905090810190601f1680156101235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013c57600080fd5b6101446103a6565b60405190815260200160405180910390f35b341561016157600080fd5b6101696103ac565b60405160ff909116815260200160405180910390f35b341561018a57600080fd5b610144600160a060020a03600435166103b5565b60405190815260200160405180910390f35b34156101bb57600080fd5b6101c36103c7565b604051600160a060020a03909116815260200160405180910390f35b34156101ea57600080fd5b6100b96103d6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f65780820151818401525b6020016100dd565b50505050905090810190601f1680156101235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561027557600080fd5b61028c600160a060020a0360043516602435610474565b005b341561029957600080fd5b6102ad600160a060020a0360043516610551565b604051901515815260200160405180910390f35b34156102cc57600080fd5b61028c600160a060020a03600435166024351515610566565b005b34156102f257600080fd5b61028c600160a060020a03600435166105f4565b005b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561039e5780601f106103735761010080835404028352916020019161039e565b820191906000526020600020905b81548152906001019060200180831161038157829003601f168201915b505050505081565b60045481565b60035460ff1681565b60056020526000908152604090205481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561039e5780601f106103735761010080835404028352916020019161039e565b820191906000526020600020905b81548152906001019060200180831161038157829003601f168201915b505050505081565b600160a060020a03331660009081526006602052604090205460ff161561049a57600080fd5b600160a060020a033316600090815260056020526040902054819010156104c057600080fd5b600160a060020a03821660009081526005602052604090205481810110156104e757600080fd5b600160a060020a033381166000818152600560205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60066020526000908152604090205460ff1681565b60005433600160a060020a0390811691161461058157600080fd5b600160a060020a03821660009081526006602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a0390811691161461060f57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600a165627a7a7230582001b0f78db8e9fa06426816ee3bcef970de9e2882fced22c71ad70f9a4c98d13c0029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000009184e72a0000000000000000000000000000000000000000000000000000000000000000004465249460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044652494600000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x606060405236156100a15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a657806318160ddd14610131578063313ce5671461015657806370a082311461017f5780638da5cb5b146101b057806395d89b41146101df578063a9059cbb1461026a578063b414d4b61461028e578063e724529c146102c1578063f2fde38b146102e7575b600080fd5b34156100b157600080fd5b6100b9610308565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f65780820151818401525b6020016100dd565b50505050905090810190601f1680156101235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013c57600080fd5b6101446103a6565b60405190815260200160405180910390f35b341561016157600080fd5b6101696103ac565b60405160ff909116815260200160405180910390f35b341561018a57600080fd5b610144600160a060020a03600435166103b5565b60405190815260200160405180910390f35b34156101bb57600080fd5b6101c36103c7565b604051600160a060020a03909116815260200160405180910390f35b34156101ea57600080fd5b6100b96103d6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f65780820151818401525b6020016100dd565b50505050905090810190601f1680156101235780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561027557600080fd5b61028c600160a060020a0360043516602435610474565b005b341561029957600080fd5b6102ad600160a060020a0360043516610551565b604051901515815260200160405180910390f35b34156102cc57600080fd5b61028c600160a060020a03600435166024351515610566565b005b34156102f257600080fd5b61028c600160a060020a03600435166105f4565b005b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561039e5780601f106103735761010080835404028352916020019161039e565b820191906000526020600020905b81548152906001019060200180831161038157829003601f168201915b505050505081565b60045481565b60035460ff1681565b60056020526000908152604090205481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561039e5780601f106103735761010080835404028352916020019161039e565b820191906000526020600020905b81548152906001019060200180831161038157829003601f168201915b505050505081565b600160a060020a03331660009081526006602052604090205460ff161561049a57600080fd5b600160a060020a033316600090815260056020526040902054819010156104c057600080fd5b600160a060020a03821660009081526005602052604090205481810110156104e757600080fd5b600160a060020a033381166000818152600560205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60066020526000908152604090205460ff1681565b60005433600160a060020a0390811691161461058157600080fd5b600160a060020a03821660009081526006602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a0390811691161461060f57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600a165627a7a7230582001b0f78db8e9fa06426816ee3bcef970de9e2882fced22c71ad70f9a4c98d13c0029
Swarm Source
bzzr://01b0f78db8e9fa06426816ee3bcef970de9e2882fced22c71ad70f9a4c98d13c
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.