Overview
Max Total Supply
100,000,000 ICN
Holders
14,527 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
IconomiToken
Compiler Version
v0.4.2+commit.af6afb04
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2016-10-24 */ pragma solidity ^0.4.0; contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); } contract IconomiToken { event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); event BlockLockSet(uint256 _value); event NewOwner(address _newOwner); modifier onlyOwner { if (msg.sender == owner) { _; } } modifier blockLock(address _sender) { if (!isLocked() || _sender == owner) { _; } } modifier checkIfToContract(address _to) { if(_to != address(this)) { _; } } uint256 public totalSupply; string public name; uint8 public decimals; string public symbol; string public version = '0.0.1'; address public owner; uint256 public lockedUntilBlock; function IconomiToken( uint256 _initialAmount, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, uint256 _lockedUntilBlock ) { balances[msg.sender] = _initialAmount; totalSupply = _initialAmount; name = _tokenName; decimals = _decimalUnits; symbol = _tokenSymbol; lockedUntilBlock = _lockedUntilBlock; owner = msg.sender; } function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } } function transfer(address _to, uint256 _value) blockLock(msg.sender) checkIfToContract(_to) returns (bool success) { if (balances[msg.sender] >= _value && _value > 0) { balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint256 _value) blockLock(_from) checkIfToContract(_to) returns (bool success) { if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) { balances[_to] += _value; balances[_from] -= _value; allowed[_from][msg.sender] -= _value; Transfer(_from, _to, _value); return true; } else { return false; } } function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } function setBlockLock(uint256 _lockedUntilBlock) onlyOwner returns (bool success) { lockedUntilBlock = _lockedUntilBlock; BlockLockSet(_lockedUntilBlock); return true; } function isLocked() constant returns (bool success) { return lockedUntilBlock > block.number; } function replaceOwner(address _newOwner) onlyOwner returns (bool success) { owner = _newOwner; NewOwner(_newOwner); return true; } mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; }
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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_lockedUntilBlock","type":"uint256"}],"name":"setBlockLock","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","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":"_newOwner","type":"address"}],"name":"replaceOwner","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isLocked","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"lockedUntilBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"_initialAmount","type":"uint256"},{"name":"_tokenName","type":"string"},{"name":"_decimalUnits","type":"uint8"},{"name":"_tokenSymbol","type":"string"},{"name":"_lockedUntilBlock","type":"uint256"}],"type":"constructor"},{"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":"_value","type":"uint256"}],"name":"BlockLockSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_newOwner","type":"address"}],"name":"NewOwner","type":"event"}]
Contract Creation Code
60a060405260056060527f302e302e310000000000000000000000000000000000000000000000000000006080526004805460008290527f302e302e3100000000000000000000000000000000000000000000000000000a82556100b5907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b602060026001841615610100026000190190931692909204601f01919091048101905b8082111561018a57600081556001016100a1565b5050604051610b2b380380610b2b83398101604052808051906020019091908051820191906020018051906020019091908051820191906020018051906020019091905050600160a060020a033316600090815260076020908152604082208790558682558551600180549381905292600281851615610100026000190190911604601f9081018390047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf69081019390919089019083901061018e57805160ff19168380011785555b506101be9291506100a1565b5090565b8280016001018555821561017e579182015b8281111561017e5782518260005055916020019190600101906101a0565b50506002805460ff191684178155825160038054600082905290927fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b60206001841615610100026000190190931691909104601f9081018390048201939287019083901061023f57805160ff19168380011785555b5061026f9291506100a1565b82800160010185558215610233579182015b82811115610233578251826000505591602001919060010190610251565b5050600681905560058054600160a060020a0319163317905550505050506108908061029b6000396000f3606060405236156100c45760e060020a600035046306fdde0381146100c9578063095ea7b31461012b57806318160ddd1461013e57806323b872dd1461014c578063313ce5671461016d578063366a68dc1461017e57806354fd4d50146101e457806370a08231146102475780638da5cb5b1461027157806395d89b4114610288578063a39a45b7146102eb578063a4e2d63414610374578063a9059cbb14610381578063cae9ca511461039a578063d8162db714610460578063dd62ed3e1461046e575b610002565b346100025760408051600180546020600282841615610100026000190190921691909104601f81018290048202840182019094528383526104a793908301828280156105995780601f1061056e57610100808354040283529160200191610599565b34610002576105156004356024356103f4565b346100025761052960005481565b34610002576105156004356024356044356000836105a15b60065443901190565b346100025761053b60025460ff1681565b3461000257610515600435600554600090600160a060020a0390811633909116141561026c5760068290556040805183815290517f6c04066f6ede40cc1642c211ba9d18f1a096ccc84fb8d11be28ea6c3c6f68b369181900360200190a150600161026c565b34610002576040805160048054602060026001831615610100026000190190921691909104601f81018290048202840182019094528383526104a793908301828280156105995780601f1061056e57610100808354040283529160200191610599565b3461000257610529600435600160a060020a0381166000908152600760205260409020545b919050565b3461000257610551600554600160a060020a031681565b34610002576040805160038054602060026001831615610100026000190190921691909104601f81018290048202840182019094528383526104a793908301828280156105995780601f1061056e57610100808354040283529160200191610599565b3461000257610515600435600554600090600160a060020a0390811633909116141561026c576005805473ffffffffffffffffffffffffffffffffffffffff19168317905560408051600160a060020a038416815290517f3edd90e7770f06fafde38004653b33870066c33bfc923ff6102acd601f85dfbc9181900360200190a150600161026c565b3461000257610515610164565b34610002576105156004356024356000336106cf610164565b3461000257604080516020604435600481810135601f81018490048402850184019095528484526105159481359460248035959394606494929391019181908401838280828437509496505050505050506000836107b781855b33600160a060020a03908116600081815260086020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b346100025761052960065481565b3461000257610529600435602435600160a060020a0382811660009081526008602090815260408083209385168352929052205461045a565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156105075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b604080519115158252519081900360200190f35b60408051918252519081900360200190f35b6040805160ff9092168252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b820191906000526020600020905b81548152906001019060200180831161057c57829003601f168201915b505050505081565b15806105bb5750600554600160a060020a03908116908216145b156106c7578330600160a060020a031681600160a060020a03161415156106c557600160a060020a0386166000908152600760205260409020548490108015906106255750600860209081526040600081812033600160a060020a03168252909252902054849010155b80156106315750600084115b156106c057600160a060020a03858116600081815260076020908152604080832080548a0190558a851680845281842080548b90039055600883528184203390961684529482529182902080548990039055815188815291519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3600192506106c5565b600092505b505b509392505050565b15806106e95750600554600160a060020a03908116908216145b156107b0578330600160a060020a031681600160a060020a03161415156107ae5733600160a060020a03166000908152600760205260409020548490108015906107335750600084115b156107a95733600160a060020a03908116600081815260076020908152604080832080548a90039055938916808352918490208054890190558351888152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600192506107ae565b600092505b505b5092915050565b156106c75780600160a060020a0316638f4ffcb1338630876040518560e060020a0281526004018085600160a060020a0316815260200184815260200183600160a060020a03168152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561085f5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b156100025760325a03f11561000257505050600191506106c756
Deployed Bytecode
0x606060405236156100c45760e060020a600035046306fdde0381146100c9578063095ea7b31461012b57806318160ddd1461013e57806323b872dd1461014c578063313ce5671461016d578063366a68dc1461017e57806354fd4d50146101e457806370a08231146102475780638da5cb5b1461027157806395d89b4114610288578063a39a45b7146102eb578063a4e2d63414610374578063a9059cbb14610381578063cae9ca511461039a578063d8162db714610460578063dd62ed3e1461046e575b610002565b346100025760408051600180546020600282841615610100026000190190921691909104601f81018290048202840182019094528383526104a793908301828280156105995780601f1061056e57610100808354040283529160200191610599565b34610002576105156004356024356103f4565b346100025761052960005481565b34610002576105156004356024356044356000836105a15b60065443901190565b346100025761053b60025460ff1681565b3461000257610515600435600554600090600160a060020a0390811633909116141561026c5760068290556040805183815290517f6c04066f6ede40cc1642c211ba9d18f1a096ccc84fb8d11be28ea6c3c6f68b369181900360200190a150600161026c565b34610002576040805160048054602060026001831615610100026000190190921691909104601f81018290048202840182019094528383526104a793908301828280156105995780601f1061056e57610100808354040283529160200191610599565b3461000257610529600435600160a060020a0381166000908152600760205260409020545b919050565b3461000257610551600554600160a060020a031681565b34610002576040805160038054602060026001831615610100026000190190921691909104601f81018290048202840182019094528383526104a793908301828280156105995780601f1061056e57610100808354040283529160200191610599565b3461000257610515600435600554600090600160a060020a0390811633909116141561026c576005805473ffffffffffffffffffffffffffffffffffffffff19168317905560408051600160a060020a038416815290517f3edd90e7770f06fafde38004653b33870066c33bfc923ff6102acd601f85dfbc9181900360200190a150600161026c565b3461000257610515610164565b34610002576105156004356024356000336106cf610164565b3461000257604080516020604435600481810135601f81018490048402850184019095528484526105159481359460248035959394606494929391019181908401838280828437509496505050505050506000836107b781855b33600160a060020a03908116600081815260086020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b346100025761052960065481565b3461000257610529600435602435600160a060020a0382811660009081526008602090815260408083209385168352929052205461045a565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156105075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b604080519115158252519081900360200190f35b60408051918252519081900360200190f35b6040805160ff9092168252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b820191906000526020600020905b81548152906001019060200180831161057c57829003601f168201915b505050505081565b15806105bb5750600554600160a060020a03908116908216145b156106c7578330600160a060020a031681600160a060020a03161415156106c557600160a060020a0386166000908152600760205260409020548490108015906106255750600860209081526040600081812033600160a060020a03168252909252902054849010155b80156106315750600084115b156106c057600160a060020a03858116600081815260076020908152604080832080548a0190558a851680845281842080548b90039055600883528184203390961684529482529182902080548990039055815188815291519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3600192506106c5565b600092505b505b509392505050565b15806106e95750600554600160a060020a03908116908216145b156107b0578330600160a060020a031681600160a060020a03161415156107ae5733600160a060020a03166000908152600760205260409020548490108015906107335750600084115b156107a95733600160a060020a03908116600081815260076020908152604080832080548a90039055938916808352918490208054890190558351888152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600192506107ae565b600092505b505b5092915050565b156106c75780600160a060020a0316638f4ffcb1338630876040518560e060020a0281526004018085600160a060020a0316815260200184815260200183600160a060020a03168152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561085f5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b156100025760325a03f11561000257505050600191506106c756
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000052b7d2dcc80cd2e400000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000005f5e100000000000000000000000000000000000000000000000000000000000000000749434f4e4f4d4900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000349434e0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initialAmount (uint256): 100000000000000000000000000
Arg [1] : _tokenName (string): ICONOMI
Arg [2] : _decimalUnits (uint8): 18
Arg [3] : _tokenSymbol (string): ICN
Arg [4] : _lockedUntilBlock (uint256): 100000000
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 49434f4e4f4d4900000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 49434e0000000000000000000000000000000000000000000000000000000000
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.