Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 AIA
Holders
1,564
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 |
---|
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-12-23 */ 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(uint256 initialSupply,string tokenName,string tokenSymbol,uint8 decimalUnits){ balanceOf[msg.sender] = initialSupply; totalSupply = initialSupply; name = tokenName; symbol = tokenSymbol; decimals = decimalUnits; } 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); } function mintToken(address target, uint256 mintedAmount) onlyOwner { balanceOf[target] += mintedAmount; Transfer(0, this, mintedAmount); Transfer(this, target, mintedAmount); } }
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":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"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":"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"}]
Contract Creation Code
6060604052341561000f57600080fd5b6040516108c63803806108c683398101604052808051919060200180518201919060200180518201919060200180519150505b5b60008054600160a060020a03191633600160a060020a03161790555b600160a060020a0333166000908152600560205260409020849055600484905560018380516100929291602001906100c0565b5060028280516100a69291602001906100c0565b506003805460ff191660ff83161790555b50505050610160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010157805160ff191683800117855561012e565b8280016001018555821561012e579182015b8281111561012e578251825591602001919060010190610113565b5b5061013b92915061013f565b5090565b61015d91905b8082111561013b5760008155600101610145565b5090565b90565b6107578061016f6000396000f300606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b157806318160ddd1461013c578063313ce5671461016157806370a082311461018a57806379c65068146101bb5780638da5cb5b146101df57806395d89b411461020e578063a9059cbb14610299578063b414d4b6146102bd578063e724529c146102f0578063f2fde38b14610316575b600080fd5b34156100bc57600080fd5b6100c4610337565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014757600080fd5b61014f6103d5565b60405190815260200160405180910390f35b341561016c57600080fd5b6101746103db565b60405160ff909116815260200160405180910390f35b341561019557600080fd5b61014f600160a060020a03600435166103e4565b60405190815260200160405180910390f35b34156101c657600080fd5b6101dd600160a060020a03600435166024356103f6565b005b34156101ea57600080fd5b6101f26104b6565b604051600160a060020a03909116815260200160405180910390f35b341561021957600080fd5b6100c46104c5565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102a457600080fd5b6101dd600160a060020a0360043516602435610563565b005b34156102c857600080fd5b6102dc600160a060020a0360043516610640565b604051901515815260200160405180910390f35b34156102fb57600080fd5b6101dd600160a060020a03600435166024351515610655565b005b341561032157600080fd5b6101dd600160a060020a03600435166106e3565b005b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103cd5780601f106103a2576101008083540402835291602001916103cd565b820191906000526020600020905b8154815290600101906020018083116103b057829003601f168201915b505050505081565b60045481565b60035460ff1681565b60056020526000908152604090205481565b60005433600160a060020a0390811691161461041157600080fd5b600160a060020a0380831660009081526005602052604080822080548501905530909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35b5b5050565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103cd5780601f106103a2576101008083540402835291602001916103cd565b820191906000526020600020905b8154815290600101906020018083116103b057829003601f168201915b505050505081565b600160a060020a03331660009081526006602052604090205460ff161561058957600080fd5b600160a060020a033316600090815260056020526040902054819010156105af57600080fd5b600160a060020a03821660009081526005602052604090205481810110156105d657600080fd5b600160a060020a033381166000818152600560205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60066020526000908152604090205460ff1681565b60005433600160a060020a0390811691161461067057600080fd5b600160a060020a03821660009081526006602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a039081169116146106fe57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600a165627a7a72305820eefff4b88d355fe9ffc234295db75ca5029d8d5c269b677e2ff460aaad94a1710029000000000000000000000000000000000000000000000000000009184e72a000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e416c6c20436861696e20436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034149410000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b157806318160ddd1461013c578063313ce5671461016157806370a082311461018a57806379c65068146101bb5780638da5cb5b146101df57806395d89b411461020e578063a9059cbb14610299578063b414d4b6146102bd578063e724529c146102f0578063f2fde38b14610316575b600080fd5b34156100bc57600080fd5b6100c4610337565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014757600080fd5b61014f6103d5565b60405190815260200160405180910390f35b341561016c57600080fd5b6101746103db565b60405160ff909116815260200160405180910390f35b341561019557600080fd5b61014f600160a060020a03600435166103e4565b60405190815260200160405180910390f35b34156101c657600080fd5b6101dd600160a060020a03600435166024356103f6565b005b34156101ea57600080fd5b6101f26104b6565b604051600160a060020a03909116815260200160405180910390f35b341561021957600080fd5b6100c46104c5565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102a457600080fd5b6101dd600160a060020a0360043516602435610563565b005b34156102c857600080fd5b6102dc600160a060020a0360043516610640565b604051901515815260200160405180910390f35b34156102fb57600080fd5b6101dd600160a060020a03600435166024351515610655565b005b341561032157600080fd5b6101dd600160a060020a03600435166106e3565b005b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103cd5780601f106103a2576101008083540402835291602001916103cd565b820191906000526020600020905b8154815290600101906020018083116103b057829003601f168201915b505050505081565b60045481565b60035460ff1681565b60056020526000908152604090205481565b60005433600160a060020a0390811691161461041157600080fd5b600160a060020a0380831660009081526005602052604080822080548501905530909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35b5b5050565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103cd5780601f106103a2576101008083540402835291602001916103cd565b820191906000526020600020905b8154815290600101906020018083116103b057829003601f168201915b505050505081565b600160a060020a03331660009081526006602052604090205460ff161561058957600080fd5b600160a060020a033316600090815260056020526040902054819010156105af57600080fd5b600160a060020a03821660009081526005602052604090205481810110156105d657600080fd5b600160a060020a033381166000818152600560205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60066020526000908152604090205460ff1681565b60005433600160a060020a0390811691161461067057600080fd5b600160a060020a03821660009081526006602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a039081169116146106fe57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600a165627a7a72305820eefff4b88d355fe9ffc234295db75ca5029d8d5c269b677e2ff460aaad94a1710029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000009184e72a000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e416c6c20436861696e20436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034149410000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 10000000000000
Arg [1] : tokenName (string): All Chain Coin
Arg [2] : tokenSymbol (string): AIA
Arg [3] : decimalUnits (uint8): 4
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000009184e72a000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [5] : 416c6c20436861696e20436f696e000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4149410000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://eefff4b88d355fe9ffc234295db75ca5029d8d5c269b677e2ff460aaad94a171
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.