ETH Price: $2,679.39 (+2.33%)

Token

Ethstake (EST)
 

Overview

Max Total Supply

524,288 EST

Holders

39

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 EST

Value
$0.00
0x2aeae80761917349eb8705f32a308b51a199e817
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:
TokenERC20

Compiler Version
v0.4.16+commit.d7661dd9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-11-24
*/

pragma solidity ^0.4.16;

contract TokenERC20 {
    string public name;
    string public symbol;
    uint8 public decimals = 18;  // 18 是建议的默认值
    uint256 public totalSupply;

    mapping (address => uint256) public balanceOf;  //
    mapping (address => mapping (address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Burn(address indexed from, uint256 value);


    function TokenERC20(uint256 initialSupply, string tokenName, string tokenSymbol) public {
        totalSupply = initialSupply * 10 ** uint256(decimals);
        balanceOf[msg.sender] = totalSupply;
        name = tokenName;
        symbol = tokenSymbol;
    }


    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_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 returns (bool) {
        _transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);     // Check allowance
        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;
    }
}

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":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":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"","type":"address"},{"name":"","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"}],"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"}]

60606040526002805460ff19166012179055341561001c57600080fd5b6040516109ad3803806109ad833981016040528080519190602001805182019190602001805190910190505b60025460ff16600a0a83026003819055600160a060020a0333166000908152600460205260408120919091558280516100859291602001906100a3565b5060018180516100999291602001906100a3565b505b505050610143565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100e457805160ff1916838001178555610111565b82800160010185558215610111579182015b828111156101115782518255916020019190600101906100f6565b5b5061011e929150610122565b5090565b61014091905b8082111561011e5760008155600101610128565b5090565b90565b61085b806101526000396000f300606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b1578063095ea7b31461013c57806318160ddd1461017257806323b872dd14610197578063313ce567146101d357806342966c68146101fc57806370a082311461022657806379cc67901461025757806395d89b411461028d578063a9059cbb14610318578063dd62ed3e1461034e575b600080fd5b34156100bc57600080fd5b6100c4610385565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014757600080fd5b61015e600160a060020a0360043516602435610423565b604051901515815260200160405180910390f35b341561017d57600080fd5b610185610454565b60405190815260200160405180910390f35b34156101a257600080fd5b61015e600160a060020a036004358116906024351660443561045a565b604051901515815260200160405180910390f35b34156101de57600080fd5b6101e66104d2565b60405160ff909116815260200160405180910390f35b341561020757600080fd5b61015e6004356104db565b604051901515815260200160405180910390f35b341561023157600080fd5b610185600160a060020a0360043516610567565b60405190815260200160405180910390f35b341561026257600080fd5b61015e600160a060020a0360043516602435610579565b604051901515815260200160405180910390f35b341561029857600080fd5b6100c4610656565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561032357600080fd5b61015e600160a060020a03600435166024356106f4565b604051901515815260200160405180910390f35b341561035957600080fd5b610185600160a060020a036004358116906024351661070b565b60405190815260200160405180910390f35b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b600160a060020a03338116600090815260056020908152604080832093861683529290522081905560015b92915050565b60035481565b600160a060020a0380841660009081526005602090815260408083203390941683529290529081205482111561048f57600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220805483900390556104c7848484610728565b5060015b9392505050565b60025460ff1681565b600160a060020a0333166000908152600460205260408120548290101561050157600080fd5b600160a060020a03331660008181526004602052604090819020805485900390556003805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60046020526000908152604090205481565b600160a060020a0382166000908152600460205260408120548290101561059f57600080fd5b600160a060020a03808416600090815260056020908152604080832033909416835292905220548211156105d257600080fd5b600160a060020a038084166000818152600460209081526040808320805488900390556005825280832033909516835293905282902080548590039055600380548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b6000610701338484610728565b5060015b92915050565b600560209081526000928352604080842090915290825290205481565b6000600160a060020a038316151561073f57600080fd5b600160a060020a0384166000908152600460205260409020548290101561076557600080fd5b600160a060020a0383166000908152600460205260409020548281011161078b57600080fd5b50600160a060020a0380831660008181526004602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a0380841660009081526004602052604080822054928716825290205401811461082857fe5b5b505050505600a165627a7a723058203870e4e7dc6a10bd918d458ea8365797cf593eb4dd28c57593172c0631b6fb8e00290000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000084574687374616b6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034553540000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b1578063095ea7b31461013c57806318160ddd1461017257806323b872dd14610197578063313ce567146101d357806342966c68146101fc57806370a082311461022657806379cc67901461025757806395d89b411461028d578063a9059cbb14610318578063dd62ed3e1461034e575b600080fd5b34156100bc57600080fd5b6100c4610385565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014757600080fd5b61015e600160a060020a0360043516602435610423565b604051901515815260200160405180910390f35b341561017d57600080fd5b610185610454565b60405190815260200160405180910390f35b34156101a257600080fd5b61015e600160a060020a036004358116906024351660443561045a565b604051901515815260200160405180910390f35b34156101de57600080fd5b6101e66104d2565b60405160ff909116815260200160405180910390f35b341561020757600080fd5b61015e6004356104db565b604051901515815260200160405180910390f35b341561023157600080fd5b610185600160a060020a0360043516610567565b60405190815260200160405180910390f35b341561026257600080fd5b61015e600160a060020a0360043516602435610579565b604051901515815260200160405180910390f35b341561029857600080fd5b6100c4610656565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101015780820151818401525b6020016100e8565b50505050905090810190601f16801561012e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561032357600080fd5b61015e600160a060020a03600435166024356106f4565b604051901515815260200160405180910390f35b341561035957600080fd5b610185600160a060020a036004358116906024351661070b565b60405190815260200160405180910390f35b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b600160a060020a03338116600090815260056020908152604080832093861683529290522081905560015b92915050565b60035481565b600160a060020a0380841660009081526005602090815260408083203390941683529290529081205482111561048f57600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220805483900390556104c7848484610728565b5060015b9392505050565b60025460ff1681565b600160a060020a0333166000908152600460205260408120548290101561050157600080fd5b600160a060020a03331660008181526004602052604090819020805485900390556003805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60046020526000908152604090205481565b600160a060020a0382166000908152600460205260408120548290101561059f57600080fd5b600160a060020a03808416600090815260056020908152604080832033909416835292905220548211156105d257600080fd5b600160a060020a038084166000818152600460209081526040808320805488900390556005825280832033909516835293905282902080548590039055600380548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b6000610701338484610728565b5060015b92915050565b600560209081526000928352604080842090915290825290205481565b6000600160a060020a038316151561073f57600080fd5b600160a060020a0384166000908152600460205260409020548290101561076557600080fd5b600160a060020a0383166000908152600460205260409020548281011161078b57600080fd5b50600160a060020a0380831660008181526004602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a0380841660009081526004602052604080822054928716825290205401811461082857fe5b5b505050505600a165627a7a723058203870e4e7dc6a10bd918d458ea8365797cf593eb4dd28c57593172c0631b6fb8e0029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000084574687374616b6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034553540000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 524288
Arg [1] : tokenName (string): Ethstake
Arg [2] : tokenSymbol (string): EST

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000080000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [4] : 4574687374616b65000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4553540000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

28:2448:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;8:100;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1675:171:0;;;;;;;;;;-1:-1:-1;;;;;1675:171:0;;;;;;;;;;;;;;;;;;;;;;;;169:26;;;;;;;;;;;;;;;;;;;;;;;;;;;1371:296;;;;;;;;;;-1:-1:-1;;;;;1371:296:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1854:250;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;204:45;;;;;;;;;;-1:-1:-1;;;;;204:45:0;;;;;;;;;;;;;;;;;;;;2112:361;;;;;;;;;;-1:-1:-1;;;;;2112:361:0;;;;;;;;;;;;;;;;;;;;;;;;80:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;8:100;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1219:144:0;;;;;;;;;;-1:-1:-1;;;;;1219:144:0;;;;;;;;;;;;;;;;;;;;;;;;260:66;;;;;;;;;;-1:-1:-1;;;;;260:66:0;;;;;;;;;;;;;;;;;;;;;;;;;55:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1675:171::-;-1:-1:-1;;;;;1786:10:0;1776:21;;1751:12;1776:21;;;:9;:21;;;;;;;;:31;;;;;;;;;:40;;;1834:4;1675:171;;;;;:::o;169:26::-;;;;:::o;1371:296::-;-1:-1:-1;;;;;1496:16:0;;;1453:12;1496:16;;;:9;:16;;;;;;;;1513:10;1496:28;;;;;;;;;;;;1486:38;;;1478:47;;;;;;-1:-1:-1;;;;;1559:16:0;;;;;;;:9;:16;;;;;;;;1576:10;1559:28;;;;;;;;;:38;;;;;;;1608:29;1569:5;1625:3;1591:6;1608:9;:29::i;:::-;-1:-1:-1;1655:4:0;1371:296;;;;;;:::o;107:26::-;;;;;;:::o;1854:250::-;-1:-1:-1;;;;;1943:10:0;1933:21;1900:12;1933:21;;;:9;:21;;;;;;:31;;;;1925:40;;;;;;-1:-1:-1;;;;;1986:10:0;1976:21;;;;;:9;:21;;;;;;;:31;;;;;;;2018:11;:21;;;;;;;2050:24;;2001:6;;2050:24;;;;;;;;;;;;;-1:-1:-1;2092:4:0;1854:250;;;;:::o;204:45::-;;;;;;;;;;;;;:::o;2112:361::-;-1:-1:-1;;;;;2210:16:0;;2177:12;2210:16;;;:9;:16;;;;;;:26;;;;2202:35;;;;;;-1:-1:-1;;;;;2266:16:0;;;;;;;:9;:16;;;;;;;;2283:10;2266:28;;;;;;;;;;2256:38;;;2248:47;;;;;;-1:-1:-1;;;;;2306:16:0;;;;;;;:9;:16;;;;;;;;:26;;;;;;;2343:9;:16;;;;;2360:10;2343:28;;;;;;;;;;;:38;;;;;;;2392:11;:21;;;;;;;2306:16;2424:19;;2326:6;;2424:19;;;;;;;;;;;;;-1:-1:-1;2461:4:0;2112:361;;;;;:::o;80:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1219:144::-;1282:4;1299:34;1309:10;1321:3;1326:6;1299:9;:34::i;:::-;-1:-1:-1;1351:4:0;1219:144;;;;;:::o;260:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;747:464::-;963:21;-1:-1:-1;;;;;835:10:0;;;;827:19;;;;;;-1:-1:-1;;;;;865:16:0;;;;;;:9;:16;;;;;;:26;;;;857:35;;;;;;-1:-1:-1;;;;;937:14:0;;;;;;:9;:14;;;;;;911:23;;;:40;903:49;;;;;;-1:-1:-1;;;;;;1006:14:0;;;;;;;:9;:14;;;;;;;;987:16;;;;;;;;;;;1031:26;;;;;;1068:14;;;;:24;;;;;;;987:33;;;;;1103:28;;1051:6;;1103:28;;;;;;;;;;;;;-1:-1:-1;;;;;1168:14:0;;;;;;;:9;:14;;;;;;;1149:16;;;;;;;;:33;:53;;1142:61;;;;747:464;;;;;:::o

Swarm Source

bzzr://3870e4e7dc6a10bd918d458ea8365797cf593eb4dd28c57593172c0631b6fb8e
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.