Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
8,000,000,000 LGUM
Holders
14,459
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 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 0x613aF1bF...323BC967B The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Token
Compiler Version
v0.4.19-nightly.2017.10.18+commit.f7ca2421
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-03-16 */ pragma solidity ^0.4.18; contract Owned { address public owner; function Owned() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function setOwner(address _owner) onlyOwner public { owner = _owner; } } contract SafeMath { function add(uint256 _a, uint256 _b) internal pure returns (uint256) { uint256 c = _a + _b; assert(c >= _a); return c; } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { assert(_a >= _b); return _a - _b; } function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { uint256 c = _a * _b; assert(_a == 0 || c / _a == _b); return c; } } contract IToken { function name() public pure returns (string _name) { _name; } function symbol() public pure returns (string _symbol) { _symbol; } function decimals() public pure returns (uint8 _decimals) { _decimals; } function totalSupply() public pure returns (uint256 _totalSupply) { _totalSupply; } function balanceOf(address _owner) public pure returns (uint256 balance) { _owner; balance; } function allowance(address _owner, address _spender) public pure returns (uint256 remaining) { _owner; _spender; remaining; } function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function approve(address _spender, uint256 _value) public returns (bool success); } contract Token is IToken, SafeMath, Owned { string public constant standard = '0.1'; string public name = ''; string public symbol = ''; uint8 public decimals = 0; uint256 public totalSupply = 0; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); function Token(string _name, string _symbol, uint8 _decimals, uint256 _totalSupply) public { require(bytes(_name).length > 0 && bytes(_symbol).length > 0); name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _totalSupply; balanceOf[msg.sender] = _totalSupply; } modifier validAddress(address _address) { require(_address != 0x0); _; } function transfer(address _to, uint256 _value) public validAddress(_to) returns (bool success) { if (balanceOf[msg.sender] >= _value && _value > 0) { balanceOf[msg.sender] = sub(balanceOf[msg.sender], _value); balanceOf[_to] = add(balanceOf[_to], _value); Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint256 _value) public validAddress(_from) validAddress(_to) returns (bool success) { if (balanceOf[_from] >= _value && _value > 0) { allowance[_from][msg.sender] = sub(allowance[_from][msg.sender], _value); balanceOf[_from] = sub(balanceOf[_from], _value); balanceOf[_to] = add(balanceOf[_to], _value); Transfer(_from, _to, _value); return true; } else { return false; } } function multisend(address[] dests, uint256[] values) public onlyOwner returns (uint256) { uint256 i = 0; while (i < dests.length) { transfer(dests[i], values[i]); i += 1; } return(i); } function approve(address _spender, uint256 _value) public validAddress(_spender) returns (bool success) { require(_value == 0 || allowance[msg.sender][_spender] == 0); allowance[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"dests","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"multisend","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"},{"name":"_totalSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","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"}]
Contract Creation Code
60606040526020604051908101604052600081526001908051610026929160200190610131565b506020604051908101604052600081526002908051610049929160200190610131565b506003805460ff191690556000600455341561006457600080fd5b604051610b04380380610b04833981016040528080518201919060200180518201919060200180519190602001805160008054600160a060020a03191633600160a060020a0316178155909250905084511180156100c3575060008351115b15156100ce57600080fd5b60018480516100e1929160200190610131565b5060028380516100f5929160200190610131565b506003805460ff191660ff9390931692909217909155600481905533600160a060020a0316600090815260056020526040902055506101cc9050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017257805160ff191683800117855561019f565b8280016001018555821561019f579182015b8281111561019f578251825591602001919060010190610184565b506101ab9291506101af565b5090565b6101c991905b808211156101ab57600081556001016101b5565b90565b610929806101db6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806313af40351461018957806318160ddd146101aa57806323b872dd146101cf578063313ce567146101f75780635a3b7e421461022057806370a08231146102335780638da5cb5b1461025257806395d89b4114610281578063a9059cbb14610294578063aad41a41146102b6578063dd62ed3e14610345575b600080fd5b34156100d457600080fd5b6100dc61036a565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a0360043516602435610408565b604051901515815260200160405180910390f35b341561019457600080fd5b6101a8600160a060020a03600435166104c7565b005b34156101b557600080fd5b6101bd610511565b60405190815260200160405180910390f35b34156101da57600080fd5b610175600160a060020a0360043581169060243516604435610517565b341561020257600080fd5b61020a610682565b60405160ff909116815260200160405180910390f35b341561022b57600080fd5b6100dc61068b565b341561023e57600080fd5b6101bd600160a060020a03600435166106c2565b341561025d57600080fd5b6102656106d4565b604051600160a060020a03909116815260200160405180910390f35b341561028c57600080fd5b6100dc6106e3565b341561029f57600080fd5b610175600160a060020a036004351660243561074e565b34156102c157600080fd5b6101bd60046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284375094965061085095505050505050565b341561035057600080fd5b6101bd600160a060020a03600435811690602435166108bf565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104005780601f106103d557610100808354040283529160200191610400565b820191906000526020600020905b8154815290600101906020018083116103e357829003601f168201915b505050505081565b600082600160a060020a038116151561042057600080fd5b8215806104505750600160a060020a03338116600090815260066020908152604080832093881683529290522054155b151561045b57600080fd5b600160a060020a03338116600081815260066020908152604080832094891680845294909152908190208690557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a3600191505b5092915050565b60005433600160a060020a039081169116146104e257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b600083600160a060020a038116151561052f57600080fd5b83600160a060020a038116151561054557600080fd5b600160a060020a03861660009081526005602052604090205484901080159061056e5750600084115b1561067457600160a060020a03808716600090815260066020908152604080832033909416835292905220546105a490856108dc565b600160a060020a0380881660008181526006602090815260408083203390951683529381528382209490945590815260059092529020546105e590856108dc565b600160a060020a03808816600090815260056020526040808220939093559087168152205461061490856108ee565b600160a060020a03808716600081815260056020526040908190209390935591908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a360019250610679565b600092505b50509392505050565b60035460ff1681565b60408051908101604052600381527f302e310000000000000000000000000000000000000000000000000000000000602082015281565b60056020526000908152604090205481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104005780601f106103d557610100808354040283529160200191610400565b600082600160a060020a038116151561076657600080fd5b600160a060020a03331660009081526005602052604090205483901080159061078f5750600083115b1561084757600160a060020a0333166000908152600560205260409020546107b790846108dc565b600160a060020a0333811660009081526005602052604080822093909355908616815220546107e690846108ee565b600160a060020a0380861660008181526005602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191506104c0565b600091506104c0565b60008054819033600160a060020a0390811691161461086e57600080fd5b5060005b83518110156108b8576108af84828151811061088a57fe5b906020019060200201518483815181106108a057fe5b9060200190602002015161074e565b50600101610872565b9392505050565b600660209081526000928352604080842090915290825290205481565b6000818310156108e857fe5b50900390565b6000828201838110156108b857fe00a165627a7a72305820bd74b341a4a241cb4933e77ad8499cf3bbb52bf699ff39629162635552f0c9a90029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000003ad7818917a80000000000000000000000000000000000000000000000000000000000000000009487970657220506179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034850590000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806313af40351461018957806318160ddd146101aa57806323b872dd146101cf578063313ce567146101f75780635a3b7e421461022057806370a08231146102335780638da5cb5b1461025257806395d89b4114610281578063a9059cbb14610294578063aad41a41146102b6578063dd62ed3e14610345575b600080fd5b34156100d457600080fd5b6100dc61036a565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a0360043516602435610408565b604051901515815260200160405180910390f35b341561019457600080fd5b6101a8600160a060020a03600435166104c7565b005b34156101b557600080fd5b6101bd610511565b60405190815260200160405180910390f35b34156101da57600080fd5b610175600160a060020a0360043581169060243516604435610517565b341561020257600080fd5b61020a610682565b60405160ff909116815260200160405180910390f35b341561022b57600080fd5b6100dc61068b565b341561023e57600080fd5b6101bd600160a060020a03600435166106c2565b341561025d57600080fd5b6102656106d4565b604051600160a060020a03909116815260200160405180910390f35b341561028c57600080fd5b6100dc6106e3565b341561029f57600080fd5b610175600160a060020a036004351660243561074e565b34156102c157600080fd5b6101bd60046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284375094965061085095505050505050565b341561035057600080fd5b6101bd600160a060020a03600435811690602435166108bf565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104005780601f106103d557610100808354040283529160200191610400565b820191906000526020600020905b8154815290600101906020018083116103e357829003601f168201915b505050505081565b600082600160a060020a038116151561042057600080fd5b8215806104505750600160a060020a03338116600090815260066020908152604080832093881683529290522054155b151561045b57600080fd5b600160a060020a03338116600081815260066020908152604080832094891680845294909152908190208690557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259086905190815260200160405180910390a3600191505b5092915050565b60005433600160a060020a039081169116146104e257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60045481565b600083600160a060020a038116151561052f57600080fd5b83600160a060020a038116151561054557600080fd5b600160a060020a03861660009081526005602052604090205484901080159061056e5750600084115b1561067457600160a060020a03808716600090815260066020908152604080832033909416835292905220546105a490856108dc565b600160a060020a0380881660008181526006602090815260408083203390951683529381528382209490945590815260059092529020546105e590856108dc565b600160a060020a03808816600090815260056020526040808220939093559087168152205461061490856108ee565b600160a060020a03808716600081815260056020526040908190209390935591908816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9087905190815260200160405180910390a360019250610679565b600092505b50509392505050565b60035460ff1681565b60408051908101604052600381527f302e310000000000000000000000000000000000000000000000000000000000602082015281565b60056020526000908152604090205481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104005780601f106103d557610100808354040283529160200191610400565b600082600160a060020a038116151561076657600080fd5b600160a060020a03331660009081526005602052604090205483901080159061078f5750600083115b1561084757600160a060020a0333166000908152600560205260409020546107b790846108dc565b600160a060020a0333811660009081526005602052604080822093909355908616815220546107e690846108ee565b600160a060020a0380861660008181526005602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191506104c0565b600091506104c0565b60008054819033600160a060020a0390811691161461086e57600080fd5b5060005b83518110156108b8576108af84828151811061088a57fe5b906020019060200201518483815181106108a057fe5b9060200190602002015161074e565b50600101610872565b9392505050565b600660209081526000928352604080842090915290825290205481565b6000818310156108e857fe5b50900390565b6000828201838110156108b857fe00a165627a7a72305820bd74b341a4a241cb4933e77ad8499cf3bbb52bf699ff39629162635552f0c9a90029
Swarm Source
bzzr://bd74b341a4a241cb4933e77ad8499cf3bbb52bf699ff39629162635552f0c9a9
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.