ERC-20
Overview
Max Total Supply
10,000,000 OPL
Holders
196
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OPL
Compiler Version
v0.4.8+commit.60cc1668
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-05-07 */ pragma solidity ^0.4.8; contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); } contract OPL { string public standard = 'ERC20'; string public version = 'v0.1'; string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from, address indexed to, uint256 value); function OPL() { balanceOf[msg.sender] = 10000000; totalSupply = 10000000; name = 'OnPlace Inc. Token'; symbol = 'OPL'; decimals = 0; } function transfer(address _to, uint256 _value) { if (balanceOf[msg.sender] < _value) throw; if (balanceOf[_to] + _value < balanceOf[_to]) throw; balanceOf[msg.sender] -= _value; balanceOf[_to] += _value; Transfer(msg.sender, _to, _value); } function approve(address _spender, uint256 _value) returns (bool success) { allowance[msg.sender][_spender] = _value; return true; } 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 transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (balanceOf[_from] < _value) throw; if (balanceOf[_to] + _value < balanceOf[_to]) throw; if (_value > allowance[_from][msg.sender]) throw; balanceOf[_from] -= _value; balanceOf[_to] += _value; allowance[_from][msg.sender] -= _value; Transfer(_from, _to, _value); return true; } function () { throw; } }
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":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"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":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":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"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
60a0604052600560608190527f45524332300000000000000000000000000000000000000000000000000000006080908152600080548180527f455243323000000000000000000000000000000000000000000000000000000a825590927f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563602060026001851615610100026000190190941693909304601f0192909204820192909190620000d9565b82800160010185558215620000d9579182015b82811115620000d9578251825591602001919060010190620000bc565b5b50620000fd9291505b80821115620000f95760008155600101620000e3565b5090565b50506040805180820190915260048082527f76302e310000000000000000000000000000000000000000000000000000000060209283019081526001805460008290528251600860ff1990911617825590937fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6600283871615610100026000190190931692909204601f010481019291620001c3565b82800160010185558215620001c3579182015b82811115620001c3578251825591602001919060010190620001a6565b5b50620001e79291505b80821115620000f95760008155600101620000e3565b5090565b50503462000000575b600160a060020a03331660009081526006602090815260408083206298968090819055600555805180820190915260128082527f4f6e506c61636520496e632e20546f6b656e00000000000000000000000000009183019182526002805494819052825160ff1916602417815593601f6000196101006001841615020190911685900401929092047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace9081019291620002d4565b82800160010185558215620002d4579182015b82811115620002d4578251825591602001919060010190620002b7565b5b50620002f89291505b80821115620000f95760008155600101620000e3565b5090565b5050604060405190810160405280600381526020017f4f504c000000000000000000000000000000000000000000000000000000000081525060039080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200037e57805160ff1916838001178555620003ae565b82800160010185558215620003ae579182015b82811115620003ae57825182559160200191906001019062000391565b5b50620003d29291505b80821115620000f95760008155600101620000e3565b5090565b50506004805460ff191690555b5b610a2880620003f06000396000f3006060604052361561009e5763ffffffff60e060020a60003504166306fdde0381146100b0578063095ea7b31461013d57806318160ddd1461016d57806323b872dd1461018c578063313ce567146101c257806354fd4d50146101e55780635a3b7e421461027257806370a08231146102ff57806395d89b411461032a578063a9059cbb146103b7578063cae9ca51146103d5578063dd62ed3e14610449575b34610000576100ae5b610000565b565b005b34610000576100bd61047a565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610159600160a060020a0360043516602435610505565b604080519115158252519081900360200190f35b346100005761017a610536565b60408051918252519081900360200190f35b3461000057610159600160a060020a036004358116906024351660443561053c565b604080519115158252519081900360200190f35b34610000576101cf610648565b6040805160ff9092168252519081900360200190f35b34610000576100bd610651565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576100bd6106de565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761017a600160a060020a036004351661076c565b60408051918252519081900360200190f35b34610000576100bd61077e565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576100ae600160a060020a036004351660243561080c565b005b3461000057604080516020600460443581810135601f8101849004840285018401909552848452610159948235600160a060020a03169460248035956064949293919092019181908401838280828437509496506108c595505050505050565b604080519115158252519081900360200190f35b346100005761017a600160a060020a03600435811690602435166109df565b60408051918252519081900360200190f35b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b600160a060020a03338116600090815260076020908152604080832093861683529290522081905560015b92915050565b60055481565b600160a060020a0383166000908152600660205260408120548290101561056257610000565b600160a060020a038316600090815260066020526040902054828101101561058957610000565b600160a060020a03808516600090815260076020908152604080832033909416835292905220548211156105bc57610000565b600160a060020a03808516600081815260066020908152604080832080548890039055878516808452818420805489019055848452600783528184203390961684529482529182902080548790039055815186815291517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060015b9392505050565b60045460ff1681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b60066020526000908152604090205481565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b600160a060020a0333166000908152600660205260409020548190101561083257610000565b600160a060020a038216600090815260066020526040902054818101101561085957610000565b600160a060020a03338116600081815260066020908152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35b5050565b6000836108d28185610505565b156109d65780600160a060020a0316638f4ffcb1338630876040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a031681526020018060200182810382528381815181526020019150805190602001908083836000831461097d575b80518252602083111561097d57601f19909201916020918201910161095d565b505050905090810190601f1680156109a95780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b156100005760325a03f11561000057505050600191505b5b509392505050565b6007602090815260009283526040808420909152908252902054815600a165627a7a7230582068b6ad1e38de9e749916a6503b75ff6eb19ff52c5d3a62fbef6e6e895ebda1580029
Deployed Bytecode
0x6060604052361561009e5763ffffffff60e060020a60003504166306fdde0381146100b0578063095ea7b31461013d57806318160ddd1461016d57806323b872dd1461018c578063313ce567146101c257806354fd4d50146101e55780635a3b7e421461027257806370a08231146102ff57806395d89b411461032a578063a9059cbb146103b7578063cae9ca51146103d5578063dd62ed3e14610449575b34610000576100ae5b610000565b565b005b34610000576100bd61047a565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610159600160a060020a0360043516602435610505565b604080519115158252519081900360200190f35b346100005761017a610536565b60408051918252519081900360200190f35b3461000057610159600160a060020a036004358116906024351660443561053c565b604080519115158252519081900360200190f35b34610000576101cf610648565b6040805160ff9092168252519081900360200190f35b34610000576100bd610651565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576100bd6106de565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761017a600160a060020a036004351661076c565b60408051918252519081900360200190f35b34610000576100bd61077e565b604080516020808252835181830152835191928392908301918501908083838215610103575b80518252602083111561010357601f1990920191602091820191016100e3565b505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576100ae600160a060020a036004351660243561080c565b005b3461000057604080516020600460443581810135601f8101849004840285018401909552848452610159948235600160a060020a03169460248035956064949293919092019181908401838280828437509496506108c595505050505050565b604080519115158252519081900360200190f35b346100005761017a600160a060020a03600435811690602435166109df565b60408051918252519081900360200190f35b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b600160a060020a03338116600090815260076020908152604080832093861683529290522081905560015b92915050565b60055481565b600160a060020a0383166000908152600660205260408120548290101561056257610000565b600160a060020a038316600090815260066020526040902054828101101561058957610000565b600160a060020a03808516600090815260076020908152604080832033909416835292905220548211156105bc57610000565b600160a060020a03808516600081815260066020908152604080832080548890039055878516808452818420805489019055848452600783528184203390961684529482529182902080548790039055815186815291517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060015b9392505050565b60045460ff1681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b60066020526000908152604090205481565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b505050505081565b600160a060020a0333166000908152600660205260409020548190101561083257610000565b600160a060020a038216600090815260066020526040902054818101101561085957610000565b600160a060020a03338116600081815260066020908152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35b5050565b6000836108d28185610505565b156109d65780600160a060020a0316638f4ffcb1338630876040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a031681526020018060200182810382528381815181526020019150805190602001908083836000831461097d575b80518252602083111561097d57601f19909201916020918201910161095d565b505050905090810190601f1680156109a95780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b156100005760325a03f11561000057505050600191505b5b509392505050565b6007602090815260009283526040808420909152908252902054815600a165627a7a7230582068b6ad1e38de9e749916a6503b75ff6eb19ff52c5d3a62fbef6e6e895ebda1580029
Swarm Source
bzzr://68b6ad1e38de9e749916a6503b75ff6eb19ff52c5d3a62fbef6e6e895ebda158
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.