ETH Price: $3,240.72 (+1.42%)
 

Overview

Max Total Supply

8,000,000 LETO

Holders

4

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 10 Decimals)

Balance
100,000.0000000001 LETO

Value
$0.00
0xa6ac26e4f95ccb17d70b0b666517e7f534d50788
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LetoCoin

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-01-22
*/

pragma solidity ^0.4.18;

contract LetoCoin{

    string public constant name = 'LetoCoin';
    string public constant symbol = 'LETO';
    uint8 public constant decimals = 10;
    uint256 public constant totalSupply = 8000000 * 10**uint256(decimals);
    
    mapping (address => uint256) private balances;
    mapping (address => mapping (address => uint256)) private allowed;
    
    event Transfer(address indexed _from, address indexed _to, uint256 _value); 
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    function LetoCoin() public {
        balances[msg.sender] = totalSupply;
        Transfer(0x0, msg.sender, totalSupply);
    }
    
    function balanceOf(address _owner) constant public returns (uint256 balance){
        return balances[_owner];
    }
    
    function transfer(address _to, uint256 _value) public returns (bool success) {
        if (_value != 0){
            require(balances[msg.sender] >= _value);
            require(balances[_to] + _value > balances[_to]);
            balances[msg.sender] -= _value;
            balances[_to] += _value;
        }
        Transfer(msg.sender, _to, _value); 
        return true;
    }
    
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success){
        if (_value != 0){
            require(allowed[_from][msg.sender] >= _value);
            require(balances[_from] >= _value);
            require(balances[_to] + _value > balances[_to]);
            balances[_from] -= _value;
            allowed[_from][msg.sender] -= _value;
            balances[_to] += _value;
        }
        Transfer(_from, _to, _value); 
        return true;
    }
    
    function approve(address _spender, uint256 _value) public returns (bool success){
        require((_value == 0) || (allowed[msg.sender][_spender] == 0));
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function allowance(address _owner, address _spender) public constant returns (uint256 remaining){
        return allowed[_owner][_spender];
    }
    
    function () public payable {
        revert();
    }
    
}

Contract Security Audit

Contract ABI

[{"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":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":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","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"}]

6060604052341561000f57600080fd5b600160a060020a03331660008181526020819052604080822067011c37937e080000908190557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef915190815260200160405180910390a36105d7806100756000396000f3006060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a0360043516602435610283565b604051901515815260200160405180910390f35b341561016857600080fd5b610170610329565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a0360043581169060243516604435610335565b34156101b557600080fd5b6101bd610457565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a036004351661045c565b34156101fd57600080fd5b6100b0610477565b341561021057600080fd5b610149600160a060020a03600435166024356104ae565b341561023257600080fd5b610170600160a060020a0360043581169060243516610580565b60408051908101604052600881527f4c65746f436f696e000000000000000000000000000000000000000000000000602082015281565b60008115806102b55750600160a060020a03338116600090815260016020908152604080832093871683529290522054155b15156102c057600080fd5b600160a060020a03338116600081815260016020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b67011c37937e08000081565b6000811561040657600160a060020a03808516600090815260016020908152604080832033909416835292905220548290101561037157600080fd5b600160a060020a0384166000908152602081905260409020548290101561039757600080fd5b600160a060020a038316600090815260208190526040902054828101116103bd57600080fd5b600160a060020a03808516600090815260208181526040808320805487900390556001825280832033851684528252808320805487900390559286168252819052208054830190555b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019392505050565b600a81565b600160a060020a031660009081526020819052604090205490565b60408051908101604052600481527f4c45544f00000000000000000000000000000000000000000000000000000000602082015281565b6000811561053057600160a060020a033316600090815260208190526040902054829010156104dc57600080fd5b600160a060020a0383166000908152602081905260409020548281011161050257600080fd5b600160a060020a03338116600090815260208190526040808220805486900390559185168152208054830190555b82600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a7230582094ca809fbb16fc119fb34d6518a22617036d2a94889d5c7919631d23204607480029

Deployed Bytecode

0x6060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a0360043516602435610283565b604051901515815260200160405180910390f35b341561016857600080fd5b610170610329565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a0360043581169060243516604435610335565b34156101b557600080fd5b6101bd610457565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a036004351661045c565b34156101fd57600080fd5b6100b0610477565b341561021057600080fd5b610149600160a060020a03600435166024356104ae565b341561023257600080fd5b610170600160a060020a0360043581169060243516610580565b60408051908101604052600881527f4c65746f436f696e000000000000000000000000000000000000000000000000602082015281565b60008115806102b55750600160a060020a03338116600090815260016020908152604080832093871683529290522054155b15156102c057600080fd5b600160a060020a03338116600081815260016020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b67011c37937e08000081565b6000811561040657600160a060020a03808516600090815260016020908152604080832033909416835292905220548290101561037157600080fd5b600160a060020a0384166000908152602081905260409020548290101561039757600080fd5b600160a060020a038316600090815260208190526040902054828101116103bd57600080fd5b600160a060020a03808516600090815260208181526040808320805487900390556001825280832033851684528252808320805487900390559286168252819052208054830190555b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060019392505050565b600a81565b600160a060020a031660009081526020819052604090205490565b60408051908101604052600481527f4c45544f00000000000000000000000000000000000000000000000000000000602082015281565b6000811561053057600160a060020a033316600090815260208190526040902054829010156104dc57600080fd5b600160a060020a0383166000908152602081905260409020548281011161050257600080fd5b600160a060020a03338116600090815260208190526040808220805486900390559185168152208054830190555b82600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a7230582094ca809fbb16fc119fb34d6518a22617036d2a94889d5c7919631d23204607480029

Swarm Source

bzzr://94ca809fbb16fc119fb34d6518a22617036d2a94889d5c7919631d2320460748
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.