Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,998 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 6403483 | 2743 days ago | IN | 0 ETH | 0.0003774 | ||||
| Transfer | 6335091 | 2755 days ago | IN | 0 ETH | 0.0010548 | ||||
| Transfer | 6330483 | 2755 days ago | IN | 0 ETH | 0.00075736 | ||||
| Transfer | 6330467 | 2755 days ago | IN | 0 ETH | 0.00075352 | ||||
| Transfer | 6330439 | 2755 days ago | IN | 0 ETH | 0.0007548 | ||||
| Transfer | 6330433 | 2755 days ago | IN | 0 ETH | 0.00075352 | ||||
| Transfer | 6329653 | 2755 days ago | IN | 0 ETH | 0.00037804 | ||||
| Transfer | 6273501 | 2765 days ago | IN | 0 ETH | 0.00075608 | ||||
| Transfer | 6266282 | 2766 days ago | IN | 0 ETH | 0.0007548 | ||||
| Transfer | 6266245 | 2766 days ago | IN | 0 ETH | 0.00075352 | ||||
| Transfer | 6247099 | 2769 days ago | IN | 0 ETH | 0.00075352 | ||||
| Transfer | 6245088 | 2770 days ago | IN | 0 ETH | 0.00075608 | ||||
| Transfer | 6235779 | 2771 days ago | IN | 0 ETH | 0.0007548 | ||||
| Transfer | 6233543 | 2772 days ago | IN | 0 ETH | 0.00075352 | ||||
| Transfer | 6137671 | 2788 days ago | IN | 0 ETH | 0.00230604 | ||||
| Transfer | 6119731 | 2791 days ago | IN | 0 ETH | 0.00230214 | ||||
| Transfer | 6119502 | 2791 days ago | IN | 0 ETH | 0.00230214 | ||||
| Transfer | 6119475 | 2791 days ago | IN | 0 ETH | 0.00230604 | ||||
| Transfer | 6119440 | 2791 days ago | IN | 0 ETH | 0.00230214 | ||||
| Transfer | 6119411 | 2791 days ago | IN | 0 ETH | 0.00230604 | ||||
| Transfer | 6119340 | 2791 days ago | IN | 0 ETH | 0.00230604 | ||||
| Transfer | 6119289 | 2791 days ago | IN | 0 ETH | 0.00230214 | ||||
| Transfer | 6119267 | 2791 days ago | IN | 0 ETH | 0.00230214 | ||||
| Transfer | 6114123 | 2792 days ago | IN | 0 ETH | 0.00230604 | ||||
| Transfer | 6113627 | 2792 days ago | IN | 0 ETH | 0.00230214 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x8c191e7b...2fa45a864 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
LSC
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-04-05
*/
pragma solidity ^0.4.18;
contract LSC {
string public name;
string public symbol;
uint8 public decimals = 6;
uint256 public totalSupply;
// Balances
mapping (address => uint256) balances;
// Allowances
mapping (address => mapping (address => uint256)) allowances;
// ----- Events -----
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* Constructor function
*/
function LSC(uint256 _initialSupply, string _tokenName, string _tokenSymbol, uint8 _decimals) public {
name = _tokenName; // Set the name for display purposes
symbol = _tokenSymbol; // Set the symbol for display purposes
decimals = _decimals;
totalSupply = _initialSupply * 10 ** uint256(decimals); // Update total supply with the decimal amount
balances[msg.sender] = totalSupply; // Give the creator all initial tokens
}
function balanceOf(address _owner) public view returns(uint256) {
return balances[_owner];
}
function allowance(address _owner, address _spender) public view returns (uint256) {
return allowances[_owner][_spender];
}
/**
* Internal transfer, only can be called by this contract
*/
function _transfer(address _from, address _to, uint _value) internal returns(bool) {
// Prevent transfer to 0x0 address. Use burn() instead
require(_to != 0x0);
// Check if the sender has enough
require(balances[_from] >= _value);
// Check for overflows
require(balances[_to] + _value > balances[_to]);
// Save this for an assertion in the future
uint previousBalances = balances[_from] + balances[_to];
// Subtract from the sender
balances[_from] -= _value;
// Add the same to the recipient
balances[_to] += _value;
Transfer(_from, _to, _value);
// Asserts are used to use static analysis to find bugs in your code. They should never fail
assert(balances[_from] + balances[_to] == previousBalances);
return true;
}
/**
* Transfer tokens
*
* Send `_value` tokens to `_to` from your account
*
* @param _to The address of the recipient
* @param _value the amount to send
*/
function transfer(address _to, uint256 _value) public returns(bool) {
return _transfer(msg.sender, _to, _value);
}
/**
* Transfer tokens from other address
*
* Send `_value` tokens to `_to` in behalf of `_from`
*
* @param _from The address of the sender
* @param _to The address of the recipient
* @param _value the amount to send
*/
function transferFrom(address _from, address _to, uint256 _value) public returns(bool) {
require(_value <= allowances[_from][msg.sender]); // Check allowance
allowances[_from][msg.sender] -= _value;
return _transfer(_from, _to, _value);
}
/**
* Set allowance for other address
*
* Allows `_spender` to spend no more than `_value` tokens in your behalf
*
* @param _spender The address authorized to spend
* @param _value the max amount they can spend
*/
function approve(address _spender, uint256 _value) public returns(bool) {
allowances[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
// Check for overflows
require(allowances[msg.sender][_spender] + _addedValue > allowances[msg.sender][_spender]);
allowances[msg.sender][_spender] += _addedValue;
Approval(msg.sender, _spender, allowances[msg.sender][_spender]);
return true;
}
function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
uint oldValue = allowances[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowances[msg.sender][_spender] = 0;
} else {
allowances[msg.sender][_spender] = oldValue - _subtractedValue;
}
Approval(msg.sender, _spender, allowances[msg.sender][_spender]);
return true;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"","type":"bool"}],"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_initialSupply","type":"uint256"},{"name":"_tokenName","type":"string"},{"name":"_tokenSymbol","type":"string"},{"name":"_decimals","type":"uint8"}],"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
0x60606040526002805460ff19166006179055341561001c57600080fd5b60405161092138038061092183398101604052808051919060200180518201919060200180518201919060200180519150600090508380516100629291602001906100b7565b5060018280516100769291602001906100b7565b506002805460ff191660ff928316179081905516600a0a92909202600381905533600160a060020a0316600090815260046020526040902055506101529050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b6107c0806101616000396000f3006060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017357806323b872dd14610198578063313ce567146101c057806366188463146101e957806370a082311461020b57806395d89b411461022a578063a9059cbb1461023d578063d73dd6231461025f578063dd62ed3e14610281575b600080fd5b34156100be57600080fd5b6100c66102a6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101025780820151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014857600080fd5b61015f600160a060020a0360043516602435610344565b604051901515815260200160405180910390f35b341561017e57600080fd5b6101866103b0565b60405190815260200160405180910390f35b34156101a357600080fd5b61015f600160a060020a03600435811690602435166044356103b6565b34156101cb57600080fd5b6101d361042b565b60405160ff909116815260200160405180910390f35b34156101f457600080fd5b61015f600160a060020a0360043516602435610434565b341561021657600080fd5b610186600160a060020a0360043516610522565b341561023557600080fd5b6100c661053d565b341561024857600080fd5b61015f600160a060020a03600435166024356105a8565b341561026a57600080fd5b61015f600160a060020a03600435166024356105bc565b341561028c57600080fd5b610186600160a060020a036004358116906024351661065d565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b820191906000526020600020905b81548152906001019060200180831161031f57829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a038084166000908152600560209081526040808320339094168352929052908120548211156103eb57600080fd5b600160a060020a0380851660009081526005602090815260408083203390941683529290522080548390039055610423848484610688565b949350505050565b60025460ff1681565b600160a060020a0333811660009081526005602090815260408083209386168352929052908120548083111561049157600160a060020a0333811660009081526005602090815260408083209388168352929052908120556104bc565b600160a060020a03338116600090815260056020908152604080832093881683529290522083820390555b600160a060020a0333811660008181526005602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b60006105b5338484610688565b9392505050565b600160a060020a033381166000908152600560209081526040808320938616835292905290812054828101116105f157600080fd5b600160a060020a033381166000818152600560209081526040808320948816808452949091529081902080548601908190557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600080600160a060020a03841615156106a057600080fd5b600160a060020a038516600090815260046020526040902054839010156106c657600080fd5b600160a060020a038416600090815260046020526040902054838101116106ec57600080fd5b50600160a060020a0380841660008181526004602052604080822080549489168084528284208054898103909155938590528154880190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a0380851660009081526004602052604080822054928816825290205401811461078957fe5b5060019493505050505600a165627a7a72305820ade05c2ffef075062cfa2651cd06622072684a2f41f86f8cfaeebefc306967eb0029000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000074c5343285553290000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c53435553000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017357806323b872dd14610198578063313ce567146101c057806366188463146101e957806370a082311461020b57806395d89b411461022a578063a9059cbb1461023d578063d73dd6231461025f578063dd62ed3e14610281575b600080fd5b34156100be57600080fd5b6100c66102a6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101025780820151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014857600080fd5b61015f600160a060020a0360043516602435610344565b604051901515815260200160405180910390f35b341561017e57600080fd5b6101866103b0565b60405190815260200160405180910390f35b34156101a357600080fd5b61015f600160a060020a03600435811690602435166044356103b6565b34156101cb57600080fd5b6101d361042b565b60405160ff909116815260200160405180910390f35b34156101f457600080fd5b61015f600160a060020a0360043516602435610434565b341561021657600080fd5b610186600160a060020a0360043516610522565b341561023557600080fd5b6100c661053d565b341561024857600080fd5b61015f600160a060020a03600435166024356105a8565b341561026a57600080fd5b61015f600160a060020a03600435166024356105bc565b341561028c57600080fd5b610186600160a060020a036004358116906024351661065d565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b820191906000526020600020905b81548152906001019060200180831161031f57829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a038084166000908152600560209081526040808320339094168352929052908120548211156103eb57600080fd5b600160a060020a0380851660009081526005602090815260408083203390941683529290522080548390039055610423848484610688565b949350505050565b60025460ff1681565b600160a060020a0333811660009081526005602090815260408083209386168352929052908120548083111561049157600160a060020a0333811660009081526005602090815260408083209388168352929052908120556104bc565b600160a060020a03338116600090815260056020908152604080832093881683529290522083820390555b600160a060020a0333811660008181526005602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b60006105b5338484610688565b9392505050565b600160a060020a033381166000908152600560209081526040808320938616835292905290812054828101116105f157600080fd5b600160a060020a033381166000818152600560209081526040808320948816808452949091529081902080548601908190557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600080600160a060020a03841615156106a057600080fd5b600160a060020a038516600090815260046020526040902054839010156106c657600080fd5b600160a060020a038416600090815260046020526040902054838101116106ec57600080fd5b50600160a060020a0380841660008181526004602052604080822080549489168084528284208054898103909155938590528154880190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a0380851660009081526004602052604080822054928816825290205401811461078957fe5b5060019493505050505600a165627a7a72305820ade05c2ffef075062cfa2651cd06622072684a2f41f86f8cfaeebefc306967eb0029
Swarm Source
bzzr://ade05c2ffef075062cfa2651cd06622072684a2f41f86f8cfaeebefc306967eb
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
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.