ERC-20
Overview
Max Total Supply
10,000,000 ETHL
Holders
2,399
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
244.3999228 ETHLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ETHLToken
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-02-18 */ pragma solidity ^0.4.16; contract ETHLToken { string public name; string public symbol; uint8 public decimals = 18; uint256 public totalSupply; address public owner; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; mapping (address => bool) public frozenAccount; event Transfer(address indexed from, address indexed to, uint256 value); event Burn(address indexed from, uint256 value); event FrozenFunds(address target, bool frozen); modifier onlyOwner { require(msg.sender == owner); _; } function ETHLToken() public { totalSupply = 10000000 * 10 ** uint256(decimals); balanceOf[msg.sender] = totalSupply; name = "Ethlimited"; symbol = "ETHL"; owner = msg.sender; } function _transfer(address _from, address _to, uint _value) internal { require(_to != 0x0); require(balanceOf[_from] >= _value); require(balanceOf[_to] + _value > balanceOf[_to]); require(!frozenAccount[_from]); require(!frozenAccount[_to]); uint previousBalances = balanceOf[_from] + balanceOf[_to]; balanceOf[_from] -= _value; balanceOf[_to] += _value; Transfer(_from, _to, _value); assert(balanceOf[_from] + balanceOf[_to] == previousBalances); } function transfer(address _to, uint256 _value) public { _transfer(msg.sender, _to, _value); } function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(_value <= allowance[_from][msg.sender]); allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; } function approve(address _spender, uint256 _value) public returns (bool success) { allowance[msg.sender][_spender] = _value; return true; } function burn(uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); balanceOf[msg.sender] -= _value; totalSupply -= _value; Burn(msg.sender, _value); return true; } function burnFrom(address _from, uint256 _value) public returns (bool success) { require(balanceOf[_from] >= _value); require(_value <= allowance[_from][msg.sender]); balanceOf[_from] -= _value; allowance[_from][msg.sender] -= _value; totalSupply -= _value; Burn(_from, _value); return true; } function mintToken(address target, uint256 mintedAmount) onlyOwner public { balanceOf[target] += mintedAmount; totalSupply += mintedAmount; Transfer(0, this, mintedAmount); Transfer(this, target, mintedAmount); } function freezeAccount(address target, bool freeze) onlyOwner public { frozenAccount[target] = freeze; FrozenFunds(target, freeze); } function transferOwnership(address newOwner) onlyOwner public { owner = newOwner; } }
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":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":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"}]
Contract Creation Code
60606040526002805460ff19166012179055341561001c57600080fd5b60025460ff16600a0a6298968002600381905533600160a060020a031660009081526005602052604090819020919091558051908101604052600a81527f4574686c696d6974656400000000000000000000000000000000000000000000602082015260009080516100929291602001906100fb565b5060408051908101604052600481527f4554484c00000000000000000000000000000000000000000000000000000000602082015260019080516100da9291602001906100fb565b5060048054600160a060020a03191633600160a060020a0316179055610196565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013c57805160ff1916838001178555610169565b82800160010185558215610169579182015b8281111561016957825182559160200191906001019061014e565b50610175929150610179565b5090565b61019391905b80821115610175576000815560010161017f565b90565b610a28806101a56000396000f3006060604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea578063095ea7b31461017457806318160ddd146101aa57806323b872dd146101cf578063313ce567146101f757806342966c681461022057806370a082311461023657806379c650681461025557806379cc6790146102795780638da5cb5b1461029b57806395d89b41146102ca578063a9059cbb146102dd578063b414d4b6146102ff578063dd62ed3e1461031e578063e724529c14610343578063f2fde38b14610367575b600080fd5b34156100f557600080fd5b6100fd610386565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610139578082015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017f57600080fd5b610196600160a060020a0360043516602435610424565b604051901515815260200160405180910390f35b34156101b557600080fd5b6101bd610454565b60405190815260200160405180910390f35b34156101da57600080fd5b610196600160a060020a036004358116906024351660443561045a565b341561020257600080fd5b61020a6104d1565b60405160ff909116815260200160405180910390f35b341561022b57600080fd5b6101966004356104da565b341561024157600080fd5b6101bd600160a060020a0360043516610565565b341561026057600080fd5b610277600160a060020a0360043516602435610577565b005b341561028457600080fd5b610196600160a060020a036004351660243561063d565b34156102a657600080fd5b6102ae610719565b604051600160a060020a03909116815260200160405180910390f35b34156102d557600080fd5b6100fd610728565b34156102e857600080fd5b610277600160a060020a0360043516602435610793565b341561030a57600080fd5b610196600160a060020a03600435166107a2565b341561032957600080fd5b6101bd600160a060020a03600435811690602435166107b7565b341561034e57600080fd5b610277600160a060020a036004351660243515156107d4565b341561037257600080fd5b610277600160a060020a0360043516610860565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041c5780601f106103f15761010080835404028352916020019161041c565b820191906000526020600020905b8154815290600101906020018083116103ff57829003601f168201915b505050505081565b600160a060020a033381166000908152600660209081526040808320938616835292905220819055600192915050565b60035481565b600160a060020a0380841660009081526006602090815260408083203390941683529290529081205482111561048f57600080fd5b600160a060020a03808516600090815260066020908152604080832033909416835292905220805483900390556104c78484846108aa565b5060019392505050565b60025460ff1681565b600160a060020a0333166000908152600560205260408120548290101561050057600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556003805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60056020526000908152604090205481565b60045433600160a060020a0390811691161461059257600080fd5b600160a060020a03808316600090815260056020526040808220805485019055600380548501905530909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b600160a060020a0382166000908152600560205260408120548290101561066357600080fd5b600160a060020a038084166000908152600660209081526040808320339094168352929052205482111561069657600080fd5b600160a060020a038084166000818152600560209081526040808320805488900390556006825280832033909516835293905282902080548590039055600380548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b600454600160a060020a031681565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041c5780601f106103f15761010080835404028352916020019161041c565b61079e3383836108aa565b5050565b60076020526000908152604090205460ff1681565b600660209081526000928352604080842090915290825290205481565b60045433600160a060020a039081169116146107ef57600080fd5b600160a060020a03821660009081526007602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b60045433600160a060020a0390811691161461087b57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a03831615156108c157600080fd5b600160a060020a038416600090815260056020526040902054829010156108e757600080fd5b600160a060020a0383166000908152600560205260409020548281011161090d57600080fd5b600160a060020a03841660009081526007602052604090205460ff161561093357600080fd5b600160a060020a03831660009081526007602052604090205460ff161561095957600080fd5b50600160a060020a0380831660008181526005602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a038084166000908152600560205260408082205492871682529020540181146109f657fe5b505050505600a165627a7a7230582093bee236cb44b6ae7b0b38a8ada36125dbb4c8af7320013c05fd7f4853f3ff790029
Deployed Bytecode
0x6060604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea578063095ea7b31461017457806318160ddd146101aa57806323b872dd146101cf578063313ce567146101f757806342966c681461022057806370a082311461023657806379c650681461025557806379cc6790146102795780638da5cb5b1461029b57806395d89b41146102ca578063a9059cbb146102dd578063b414d4b6146102ff578063dd62ed3e1461031e578063e724529c14610343578063f2fde38b14610367575b600080fd5b34156100f557600080fd5b6100fd610386565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610139578082015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017f57600080fd5b610196600160a060020a0360043516602435610424565b604051901515815260200160405180910390f35b34156101b557600080fd5b6101bd610454565b60405190815260200160405180910390f35b34156101da57600080fd5b610196600160a060020a036004358116906024351660443561045a565b341561020257600080fd5b61020a6104d1565b60405160ff909116815260200160405180910390f35b341561022b57600080fd5b6101966004356104da565b341561024157600080fd5b6101bd600160a060020a0360043516610565565b341561026057600080fd5b610277600160a060020a0360043516602435610577565b005b341561028457600080fd5b610196600160a060020a036004351660243561063d565b34156102a657600080fd5b6102ae610719565b604051600160a060020a03909116815260200160405180910390f35b34156102d557600080fd5b6100fd610728565b34156102e857600080fd5b610277600160a060020a0360043516602435610793565b341561030a57600080fd5b610196600160a060020a03600435166107a2565b341561032957600080fd5b6101bd600160a060020a03600435811690602435166107b7565b341561034e57600080fd5b610277600160a060020a036004351660243515156107d4565b341561037257600080fd5b610277600160a060020a0360043516610860565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041c5780601f106103f15761010080835404028352916020019161041c565b820191906000526020600020905b8154815290600101906020018083116103ff57829003601f168201915b505050505081565b600160a060020a033381166000908152600660209081526040808320938616835292905220819055600192915050565b60035481565b600160a060020a0380841660009081526006602090815260408083203390941683529290529081205482111561048f57600080fd5b600160a060020a03808516600090815260066020908152604080832033909416835292905220805483900390556104c78484846108aa565b5060019392505050565b60025460ff1681565b600160a060020a0333166000908152600560205260408120548290101561050057600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556003805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60056020526000908152604090205481565b60045433600160a060020a0390811691161461059257600080fd5b600160a060020a03808316600090815260056020526040808220805485019055600380548501905530909216917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b600160a060020a0382166000908152600560205260408120548290101561066357600080fd5b600160a060020a038084166000908152600660209081526040808320339094168352929052205482111561069657600080fd5b600160a060020a038084166000818152600560209081526040808320805488900390556006825280832033909516835293905282902080548590039055600380548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b600454600160a060020a031681565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041c5780601f106103f15761010080835404028352916020019161041c565b61079e3383836108aa565b5050565b60076020526000908152604090205460ff1681565b600660209081526000928352604080842090915290825290205481565b60045433600160a060020a039081169116146107ef57600080fd5b600160a060020a03821660009081526007602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b60045433600160a060020a0390811691161461087b57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a03831615156108c157600080fd5b600160a060020a038416600090815260056020526040902054829010156108e757600080fd5b600160a060020a0383166000908152600560205260409020548281011161090d57600080fd5b600160a060020a03841660009081526007602052604090205460ff161561093357600080fd5b600160a060020a03831660009081526007602052604090205460ff161561095957600080fd5b50600160a060020a0380831660008181526005602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a038084166000908152600560205260408082205492871682529020540181146109f657fe5b505050505600a165627a7a7230582093bee236cb44b6ae7b0b38a8ada36125dbb4c8af7320013c05fd7f4853f3ff790029
Swarm Source
bzzr://93bee236cb44b6ae7b0b38a8ada36125dbb4c8af7320013c05fd7f4853f3ff79
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.