More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
LitecoinClassic
Compiler Version
v0.4.11+commit.68ef5810
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-11-02 */ pragma solidity ^ 0.4 .9; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns(uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns(uint256) { uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal constant returns(uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns(uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract LitecoinClassic { using SafeMath for uint256; mapping(address => mapping(address => uint256)) allowed; mapping(address => uint256) balances; uint256 public totalSupply; uint256 public decimals; address public owner; bytes32 public symbol; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed _owner, address indexed spender, uint256 value); function LitecoinClassic() { totalSupply = 84000000; symbol = 'LTCC'; owner = 0xa677bc4ea96f490d30d2e9a4366932af5c036de7; balances[owner] = totalSupply; decimals = 0; } function balanceOf(address _owner) constant returns(uint256 balance) { return balances[_owner]; } function allowance(address _owner, address _spender) constant returns(uint256 remaining) { return allowed[_owner][_spender]; } function transfer(address _to, uint256 _value) returns(bool) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint256 _value) returns(bool) { var _allowance = allowed[_from][msg.sender]; balances[_to] = balances[_to].add(_value); balances[_from] = balances[_from].sub(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) returns(bool) { require((_value == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function() { revert(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","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":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"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":"bytes32"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"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":[],"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"},{"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"}]
Contract Creation Code
6060604052341561000c57fe5b5b630501bd0060028190557f4c5443430000000000000000000000000000000000000000000000000000000060055560048054600160a060020a03191673a677bc4ea96f490d30d2e9a4366932af5c036de71790819055600160a060020a03166000908152600160205260408120919091556003555b5b610579806100926000396000f300606060405236156100965763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b381146100ac57806318160ddd146100df57806323b872dd14610101578063313ce5671461013a57806370a082311461015c5780638da5cb5b1461018a57806395d89b41146101b6578063a9059cbb146101d8578063dd62ed3e1461020b575b341561009e57fe5b6100aa5b60006000fd5b565b005b34156100b457fe5b6100cb600160a060020a036004351660243561023f565b604080519115158252519081900360200190f35b34156100e757fe5b6100ef6102e0565b60408051918252519081900360200190f35b341561010957fe5b6100cb600160a060020a03600435811690602435166044356102e6565b604080519115158252519081900360200190f35b341561014257fe5b6100ef6103f7565b60408051918252519081900360200190f35b341561016457fe5b6100ef600160a060020a03600435166103fd565b60408051918252519081900360200190f35b341561019257fe5b61019a61041c565b60408051600160a060020a039092168252519081900360200190f35b34156101be57fe5b6100ef61042b565b60408051918252519081900360200190f35b34156101e057fe5b6100cb600160a060020a0360043516602435610431565b604080519115158252519081900360200190f35b341561021357fe5b6100ef600160a060020a03600435811690602435166104f1565b60408051918252519081900360200190f35b600081158061026f5750600160a060020a0333811660009081526020818152604080832093871683529290522054155b151561027b5760006000fd5b600160a060020a0333811660008181526020818152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60025481565b600160a060020a0380841660009081526020818152604080832033851684528252808320549386168352600190915281205490919061032b908463ffffffff61051c16565b600160a060020a038086166000908152600160205260408082209390935590871681522054610360908463ffffffff61053616565b600160a060020a038616600090815260016020526040902055610389818463ffffffff61053616565b600160a060020a03808716600081815260208181526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60035481565b600160a060020a0381166000908152600160205260409020545b919050565b600454600160a060020a031681565b60055481565b600160a060020a03331660009081526001602052604081205461045a908363ffffffff61053616565b600160a060020a03338116600090815260016020526040808220939093559085168152205461048f908363ffffffff61051c16565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b600160a060020a03808316600090815260208181526040808320938516835292905220545b92915050565b60008282018381101561052b57fe5b8091505b5092915050565b60008282111561054257fe5b508082035b929150505600a165627a7a723058205b61699b3f4d357d1a1fdbc9a6142b801d3e689269798000f4b35a9834fb7d5b0029
Deployed Bytecode
0x606060405236156100965763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663095ea7b381146100ac57806318160ddd146100df57806323b872dd14610101578063313ce5671461013a57806370a082311461015c5780638da5cb5b1461018a57806395d89b41146101b6578063a9059cbb146101d8578063dd62ed3e1461020b575b341561009e57fe5b6100aa5b60006000fd5b565b005b34156100b457fe5b6100cb600160a060020a036004351660243561023f565b604080519115158252519081900360200190f35b34156100e757fe5b6100ef6102e0565b60408051918252519081900360200190f35b341561010957fe5b6100cb600160a060020a03600435811690602435166044356102e6565b604080519115158252519081900360200190f35b341561014257fe5b6100ef6103f7565b60408051918252519081900360200190f35b341561016457fe5b6100ef600160a060020a03600435166103fd565b60408051918252519081900360200190f35b341561019257fe5b61019a61041c565b60408051600160a060020a039092168252519081900360200190f35b34156101be57fe5b6100ef61042b565b60408051918252519081900360200190f35b34156101e057fe5b6100cb600160a060020a0360043516602435610431565b604080519115158252519081900360200190f35b341561021357fe5b6100ef600160a060020a03600435811690602435166104f1565b60408051918252519081900360200190f35b600081158061026f5750600160a060020a0333811660009081526020818152604080832093871683529290522054155b151561027b5760006000fd5b600160a060020a0333811660008181526020818152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60025481565b600160a060020a0380841660009081526020818152604080832033851684528252808320549386168352600190915281205490919061032b908463ffffffff61051c16565b600160a060020a038086166000908152600160205260408082209390935590871681522054610360908463ffffffff61053616565b600160a060020a038616600090815260016020526040902055610389818463ffffffff61053616565b600160a060020a03808716600081815260208181526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60035481565b600160a060020a0381166000908152600160205260409020545b919050565b600454600160a060020a031681565b60055481565b600160a060020a03331660009081526001602052604081205461045a908363ffffffff61053616565b600160a060020a03338116600090815260016020526040808220939093559085168152205461048f908363ffffffff61051c16565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b600160a060020a03808316600090815260208181526040808320938516835292905220545b92915050565b60008282018381101561052b57fe5b8091505b5092915050565b60008282111561054257fe5b508082035b929150505600a165627a7a723058205b61699b3f4d357d1a1fdbc9a6142b801d3e689269798000f4b35a9834fb7d5b0029
Swarm Source
bzzr://5b61699b3f4d357d1a1fdbc9a6142b801d3e689269798000f4b35a9834fb7d5b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.