ETH Price: $2,132.06 (+5.29%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer64034832018-09-26 14:31:362743 days ago1537972296IN
0x166bDB8d...3Ff3637A1
0 ETH0.000377410
Transfer63350912018-09-15 8:01:272755 days ago1536998487IN
0x166bDB8d...3Ff3637A1
0 ETH0.001054820
Transfer63304832018-09-14 13:46:002755 days ago1536932760IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007573620
Transfer63304672018-09-14 13:43:232755 days ago1536932603IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007535220
Transfer63304392018-09-14 13:35:302755 days ago1536932130IN
0x166bDB8d...3Ff3637A1
0 ETH0.000754820
Transfer63304332018-09-14 13:34:452755 days ago1536932085IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007535220
Transfer63296532018-09-14 10:29:532755 days ago1536920993IN
0x166bDB8d...3Ff3637A1
0 ETH0.0003780410
Transfer62735012018-09-05 1:14:112765 days ago1536110051IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007560820
Transfer62662822018-09-03 20:18:552766 days ago1536005935IN
0x166bDB8d...3Ff3637A1
0 ETH0.000754820
Transfer62662452018-09-03 20:10:082766 days ago1536005408IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007535220
Transfer62470992018-08-31 14:38:552769 days ago1535726335IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007535220
Transfer62450882018-08-31 6:28:392770 days ago1535696919IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007560820
Transfer62357792018-08-29 17:00:082771 days ago1535562008IN
0x166bDB8d...3Ff3637A1
0 ETH0.000754820
Transfer62335432018-08-29 7:46:252772 days ago1535528785IN
0x166bDB8d...3Ff3637A1
0 ETH0.0007535220
Transfer61376712018-08-13 2:57:432788 days ago1534129063IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023060461
Transfer61197312018-08-10 2:00:292791 days ago1533866429IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023021461
Transfer61195022018-08-10 1:05:402791 days ago1533863140IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023021461
Transfer61194752018-08-10 1:00:112791 days ago1533862811IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023060461
Transfer61194402018-08-10 0:52:002791 days ago1533862320IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023021461
Transfer61194112018-08-10 0:43:522791 days ago1533861832IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023060461
Transfer61193402018-08-10 0:24:412791 days ago1533860681IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023060461
Transfer61192892018-08-10 0:12:492791 days ago1533859969IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023021461
Transfer61192672018-08-10 0:07:472791 days ago1533859667IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023021461
Transfer61141232018-08-09 3:20:332792 days ago1533784833IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023060461
Transfer61136272018-08-09 1:23:572792 days ago1533777837IN
0x166bDB8d...3Ff3637A1
0 ETH0.0023021461
View all transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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

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"}]

0x60606040526002805460ff19166006179055341561001c57600080fd5b60405161092138038061092183398101604052808051919060200180518201919060200180518201919060200180519150600090508380516100629291602001906100b7565b5060018280516100769291602001906100b7565b506002805460ff191660ff928316179081905516600a0a92909202600381905533600160a060020a0316600090815260046020526040902055506101529050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b6107c0806101616000396000f3006060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017357806323b872dd14610198578063313ce567146101c057806366188463146101e957806370a082311461020b57806395d89b411461022a578063a9059cbb1461023d578063d73dd6231461025f578063dd62ed3e14610281575b600080fd5b34156100be57600080fd5b6100c66102a6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101025780820151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014857600080fd5b61015f600160a060020a0360043516602435610344565b604051901515815260200160405180910390f35b341561017e57600080fd5b6101866103b0565b60405190815260200160405180910390f35b34156101a357600080fd5b61015f600160a060020a03600435811690602435166044356103b6565b34156101cb57600080fd5b6101d361042b565b60405160ff909116815260200160405180910390f35b34156101f457600080fd5b61015f600160a060020a0360043516602435610434565b341561021657600080fd5b610186600160a060020a0360043516610522565b341561023557600080fd5b6100c661053d565b341561024857600080fd5b61015f600160a060020a03600435166024356105a8565b341561026a57600080fd5b61015f600160a060020a03600435166024356105bc565b341561028c57600080fd5b610186600160a060020a036004358116906024351661065d565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b820191906000526020600020905b81548152906001019060200180831161031f57829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a038084166000908152600560209081526040808320339094168352929052908120548211156103eb57600080fd5b600160a060020a0380851660009081526005602090815260408083203390941683529290522080548390039055610423848484610688565b949350505050565b60025460ff1681565b600160a060020a0333811660009081526005602090815260408083209386168352929052908120548083111561049157600160a060020a0333811660009081526005602090815260408083209388168352929052908120556104bc565b600160a060020a03338116600090815260056020908152604080832093881683529290522083820390555b600160a060020a0333811660008181526005602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b60006105b5338484610688565b9392505050565b600160a060020a033381166000908152600560209081526040808320938616835292905290812054828101116105f157600080fd5b600160a060020a033381166000818152600560209081526040808320948816808452949091529081902080548601908190557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600080600160a060020a03841615156106a057600080fd5b600160a060020a038516600090815260046020526040902054839010156106c657600080fd5b600160a060020a038416600090815260046020526040902054838101116106ec57600080fd5b50600160a060020a0380841660008181526004602052604080822080549489168084528284208054898103909155938590528154880190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a0380851660009081526004602052604080822054928816825290205401811461078957fe5b5060019493505050505600a165627a7a72305820ade05c2ffef075062cfa2651cd06622072684a2f41f86f8cfaeebefc306967eb0029000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000074c5343285553290000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054c53435553000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017357806323b872dd14610198578063313ce567146101c057806366188463146101e957806370a082311461020b57806395d89b411461022a578063a9059cbb1461023d578063d73dd6231461025f578063dd62ed3e14610281575b600080fd5b34156100be57600080fd5b6100c66102a6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101025780820151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014857600080fd5b61015f600160a060020a0360043516602435610344565b604051901515815260200160405180910390f35b341561017e57600080fd5b6101866103b0565b60405190815260200160405180910390f35b34156101a357600080fd5b61015f600160a060020a03600435811690602435166044356103b6565b34156101cb57600080fd5b6101d361042b565b60405160ff909116815260200160405180910390f35b34156101f457600080fd5b61015f600160a060020a0360043516602435610434565b341561021657600080fd5b610186600160a060020a0360043516610522565b341561023557600080fd5b6100c661053d565b341561024857600080fd5b61015f600160a060020a03600435166024356105a8565b341561026a57600080fd5b61015f600160a060020a03600435166024356105bc565b341561028c57600080fd5b610186600160a060020a036004358116906024351661065d565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b820191906000526020600020905b81548152906001019060200180831161031f57829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60035481565b600160a060020a038084166000908152600560209081526040808320339094168352929052908120548211156103eb57600080fd5b600160a060020a0380851660009081526005602090815260408083203390941683529290522080548390039055610423848484610688565b949350505050565b60025460ff1681565b600160a060020a0333811660009081526005602090815260408083209386168352929052908120548083111561049157600160a060020a0333811660009081526005602090815260408083209388168352929052908120556104bc565b600160a060020a03338116600090815260056020908152604080832093881683529290522083820390555b600160a060020a0333811660008181526005602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526004602052604090205490565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561033c5780601f106103115761010080835404028352916020019161033c565b60006105b5338484610688565b9392505050565b600160a060020a033381166000908152600560209081526040808320938616835292905290812054828101116105f157600080fd5b600160a060020a033381166000818152600560209081526040808320948816808452949091529081902080548601908190557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600080600160a060020a03841615156106a057600080fd5b600160a060020a038516600090815260046020526040902054839010156106c657600080fd5b600160a060020a038416600090815260046020526040902054838101116106ec57600080fd5b50600160a060020a0380841660008181526004602052604080822080549489168084528284208054898103909155938590528154880190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600160a060020a0380851660009081526004602052604080822054928816825290205401811461078957fe5b5060019493505050505600a165627a7a72305820ade05c2ffef075062cfa2651cd06622072684a2f41f86f8cfaeebefc306967eb0029

Swarm Source

bzzr://ade05c2ffef075062cfa2651cd06622072684a2f41f86f8cfaeebefc306967eb

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.