ERC-20
Overview
Max Total Supply
210,000,000 EHD
Holders
9,070
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
229.2986096 EHDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EhdToken
Compiler Version
v0.4.21+commit.dfe3193c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-07-22 */ pragma solidity ^0.4.21; contract EhdToken { mapping (address => uint256) public balanceOf; string public name = "EHD"; string public symbol = "EHD"; uint8 public decimals = 18; uint256 public totalSupply = 210000000000000000000000000; event Transfer(address indexed from, address indexed to, uint256 value); function EhdToken() public { balanceOf[msg.sender] = totalSupply; emit Transfer(address(0), msg.sender, totalSupply); } function transfer(address to, uint256 value) public returns (bool success) { require(balanceOf[msg.sender] >= value); balanceOf[msg.sender] -= value; balanceOf[to] += value; emit Transfer(msg.sender, to, value); return true; } event Approval(address indexed owner, address indexed spender, uint256 value); mapping(address => mapping(address => uint256)) public allowance; function approve(address spender, uint256 value) public returns (bool success) { allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function transferFrom(address from, address to, uint256 value) public returns (bool success) { require(value <= balanceOf[from]); require(value <= allowance[from][msg.sender]); balanceOf[from] -= value; balanceOf[to] += value; allowance[from][msg.sender] -= value; emit Transfer(from, to, value); return true; } }
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":true,"inputs":[{"name":"","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":"success","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":[],"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
606060405260408051908101604052600381527f45484400000000000000000000000000000000000000000000000000000000006020820152600190805161004b929160200190610115565b5060408051908101604052600381527f454844000000000000000000000000000000000000000000000000000000000060208201526002908051610093929160200190610115565b506003805460ff191660121790556aadb53acfa41aee1200000060045534156100bb57600080fd5b600454600160a060020a033316600081815260208190526040808220849055919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91905190815260200160405180910390a36101b0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015657805160ff1916838001178555610183565b82800160010185558215610183579182015b82811115610183578251825591602001919060010190610168565b5061018f929150610193565b5090565b6101ad91905b8082111561018f5760008155600101610199565b90565b6105a3806101bf6000396000f3006060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a03600435166024356102ea565b604051901515815260200160405180910390f35b341561016857600080fd5b610170610356565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a036004358116906024351660443561035c565b34156101b557600080fd5b6101bd610440565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a0360043516610449565b34156101fd57600080fd5b6100b061045b565b341561021057600080fd5b610149600160a060020a03600435166024356104c6565b341561023257600080fd5b610170600160a060020a036004358116906024351661055a565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b820191906000526020600020905b8154815290600101906020018083116102c557829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60045481565b600160a060020a03831660009081526020819052604081205482111561038157600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220548211156103b457600080fd5b600160a060020a0380851660008181526020818152604080832080548890039055878516808452818420805489019055848452600583528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460ff1681565b60006020819052908152604090205481565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b600160a060020a033316600090815260208190526040812054829010156104ec57600080fd5b600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6005602090815260009283526040808420909152908252902054815600a165627a7a7230582027f507032ec1dfb30339e779fcca3efd92e4e81c049dbe3b02f6b432fb501d680029
Deployed Bytecode
0x6060604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009d578063095ea7b31461012757806318160ddd1461015d57806323b872dd14610182578063313ce567146101aa57806370a08231146101d357806395d89b41146101f2578063a9059cbb14610205578063dd62ed3e14610227575b600080fd5b34156100a857600080fd5b6100b061024c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100ec5780820151838201526020016100d4565b50505050905090810190601f1680156101195780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013257600080fd5b610149600160a060020a03600435166024356102ea565b604051901515815260200160405180910390f35b341561016857600080fd5b610170610356565b60405190815260200160405180910390f35b341561018d57600080fd5b610149600160a060020a036004358116906024351660443561035c565b34156101b557600080fd5b6101bd610440565b60405160ff909116815260200160405180910390f35b34156101de57600080fd5b610170600160a060020a0360043516610449565b34156101fd57600080fd5b6100b061045b565b341561021057600080fd5b610149600160a060020a03600435166024356104c6565b341561023257600080fd5b610170600160a060020a036004358116906024351661055a565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b820191906000526020600020905b8154815290600101906020018083116102c557829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60045481565b600160a060020a03831660009081526020819052604081205482111561038157600080fd5b600160a060020a03808516600090815260056020908152604080832033909416835292905220548211156103b457600080fd5b600160a060020a0380851660008181526020818152604080832080548890039055878516808452818420805489019055848452600583528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60035460ff1681565b60006020819052908152604090205481565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102e25780601f106102b7576101008083540402835291602001916102e2565b600160a060020a033316600090815260208190526040812054829010156104ec57600080fd5b600160a060020a033381166000818152602081905260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6005602090815260009283526040808420909152908252902054815600a165627a7a7230582027f507032ec1dfb30339e779fcca3efd92e4e81c049dbe3b02f6b432fb501d680029
Deployed Bytecode Sourcemap
28:1575:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;107:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;971:225;;;;;;;;;;-1:-1:-1;;;;;971:225:0;;;;;;;;;;;;;;;;;;;;;;;;230:57;;;;;;;;;;;;;;;;;;;;;;;;;;;1204:396;;;;;;;;;;-1:-1:-1;;;;;1204:396:0;;;;;;;;;;;;191:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53:45;;;;;;;;;;-1:-1:-1;;;;;53:45:0;;;;;149:35;;;;;;;;;;;;526:278;;;;;;;;;;-1:-1:-1;;;;;526:278:0;;;;;;;898:64;;;;;;;;;;-1:-1:-1;;;;;898:64:0;;;;;;;;;;107:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;971:225::-;-1:-1:-1;;;;;1086:10:0;1076:21;;1046:12;1076:21;;;:9;:21;;;;;;;;:30;;;;;;;;;;;;;:38;;;1046:12;;1076:30;:21;1130:36;;1109:5;;1130:36;;;;;;;;;;;;;-1:-1:-1;1184:4:0;971:225;;;;:::o;230:57::-;;;;:::o;1204:396::-;-1:-1:-1;;;;;1340:15:0;;1293:12;1340:15;;;;;;;;;;;1331:24;;;1323:33;;;;;;-1:-1:-1;;;;;1384:15:0;;;;;;;:9;:15;;;;;;;;1400:10;1384:27;;;;;;;;;;1375:36;;;1367:45;;;;;;-1:-1:-1;;;;;1425:15:0;;;:9;:15;;;;;;;;;;;:24;;;;;;;1460:13;;;;;;;;;:22;;;;;;1493:15;;;:9;:15;;;;;1509:10;1493:27;;;;;;;;;;;;;:36;;;;;;;1545:25;;1444:5;;1545:25;;;;;;;;;;;;;-1:-1:-1;1588:4:0;1204:396;;;;;:::o;191:32::-;;;;;;:::o;53:45::-;;;;;;;;;;;;;;:::o;149:35::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;526:278;-1:-1:-1;;;;;630:10:0;620:21;587:12;620:21;;;;;;;;;;;:30;;;;612:39;;;;;;-1:-1:-1;;;;;674:10:0;664:21;;:9;:21;;;;;;;;;;;:30;;;;;;;705:13;;;;;;;;;;:22;;;;;;:13;743:31;;689:5;;743:31;;;;;;;;;;;;;-1:-1:-1;792:4:0;526:278;;;;:::o;898:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
bzzr://27f507032ec1dfb30339e779fcca3efd92e4e81c049dbe3b02f6b432fb501d68
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.