Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,997 HATE
Holders
441
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Heaven
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-30 */ pragma solidity >=0.4.22 <0.6.0; contract Heaven { string public constant name = "heavensgate.finance"; string public constant symbol = "HATE"; uint8 public constant decimals = 18; event Approval(address indexed tokenOwner, address indexed spender, uint tokens); event Transfer(address indexed from, address indexed to, uint tokens); mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) allowed; uint256 totalSupply_; using SafeMath for uint256; uint public total = 1997 * (uint256(10) ** decimals); constructor() public { totalSupply_ = total; balances[msg.sender] = totalSupply_; } function totalSupply() public view returns (uint256) { return totalSupply_; } function balanceOf(address tokenOwner) public view returns (uint) { return balances[tokenOwner]; } function transfer(address receiver, uint numTokens) public returns (bool) { require(numTokens <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(numTokens); balances[receiver] = balances[receiver].add(numTokens); emit Transfer(msg.sender, receiver, numTokens); return true; } function approve(address delegate, uint numTokens) public returns (bool) { allowed[msg.sender][delegate] = numTokens; emit Approval(msg.sender, delegate, numTokens); return true; } function allowance(address owner, address delegate) public view returns (uint) { return allowed[owner][delegate]; } function transferFrom(address owner, address buyer, uint numTokens) public returns (bool) { require(numTokens <= balances[owner]); require(numTokens <= allowed[owner][msg.sender]); balances[owner] = balances[owner].sub(numTokens); allowed[owner][msg.sender] = allowed[owner][msg.sender].sub(numTokens); balances[buyer] = balances[buyer].add(numTokens); emit Transfer(owner, buyer, numTokens); return true; } } library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"total","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052686c41f13770c714000060035534801561001d57600080fd5b506003546002819055336000908152602081905260409020556105ec806100456000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce567146101b857806370a08231146101d657806395d89b41146101fc578063a9059cbb14610204578063dd62ed3e146102305761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a5780632ddbd13a146101b0575b600080fd5b6100ab61025e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b03813516906020013561028d565b604080519115158252519081900360200190f35b6101686102f3565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b038135811691602081013590911690604001356102f9565b610168610454565b6101c061045a565b6040805160ff9092168252519081900360200190f35b610168600480360360208110156101ec57600080fd5b50356001600160a01b031661045f565b6100ab61047a565b61014c6004803603604081101561021a57600080fd5b506001600160a01b03813516906020013561049a565b6101686004803603604081101561024657600080fd5b506001600160a01b0381358116916020013516610564565b6040518060400160405280601381526020017268656176656e73676174652e66696e616e636560681b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561031e57600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561034e57600080fd5b6001600160a01b038416600090815260208190526040902054610377908363ffffffff61058f16565b6001600160a01b0385166000908152602081815260408083209390935560018152828220338352905220546103b2908363ffffffff61058f16565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103f5908363ffffffff6105a116565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60035481565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060048152602001634841544560e01b81525081565b336000908152602081905260408120548211156104b657600080fd5b336000908152602081905260409020546104d6908363ffffffff61058f16565b33600090815260208190526040808220929092556001600160a01b03851681522054610508908363ffffffff6105a116565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561059b57fe5b50900390565b6000828201838110156105b057fe5b939250505056fea265627a7a723158208a843312f6eaecf565cb85fee145d36f63dc2510e69882916230b0202678ad3a64736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce567146101b857806370a08231146101d657806395d89b41146101fc578063a9059cbb14610204578063dd62ed3e146102305761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a5780632ddbd13a146101b0575b600080fd5b6100ab61025e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b03813516906020013561028d565b604080519115158252519081900360200190f35b6101686102f3565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b038135811691602081013590911690604001356102f9565b610168610454565b6101c061045a565b6040805160ff9092168252519081900360200190f35b610168600480360360208110156101ec57600080fd5b50356001600160a01b031661045f565b6100ab61047a565b61014c6004803603604081101561021a57600080fd5b506001600160a01b03813516906020013561049a565b6101686004803603604081101561024657600080fd5b506001600160a01b0381358116916020013516610564565b6040518060400160405280601381526020017268656176656e73676174652e66696e616e636560681b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561031e57600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561034e57600080fd5b6001600160a01b038416600090815260208190526040902054610377908363ffffffff61058f16565b6001600160a01b0385166000908152602081815260408083209390935560018152828220338352905220546103b2908363ffffffff61058f16565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103f5908363ffffffff6105a116565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60035481565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060048152602001634841544560e01b81525081565b336000908152602081905260408120548211156104b657600080fd5b336000908152602081905260409020546104d6908363ffffffff61058f16565b33600090815260208190526040808220929092556001600160a01b03851681522054610508908363ffffffff6105a116565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561059b57fe5b50900390565b6000828201838110156105b057fe5b939250505056fea265627a7a723158208a843312f6eaecf565cb85fee145d36f63dc2510e69882916230b0202678ad3a64736f6c63430005110032
Deployed Bytecode Sourcemap
36:2102:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36:2102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;61:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1293:212;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1293:212:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;721:84;;;:::i;:::-;;;;;;;;;;;;;;;;1650:485;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1650:485:0;;;;;;;;;;;;;;;;;:::i;555:52::-;;;:::i;164:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;817:112;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;817:112:0;-1:-1:-1;;;;;817:112:0;;:::i;119:38::-;;;:::i;937:348::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;937:348:0;;;;;;;;:::i;1513:129::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1513:129:0;;;;;;;;;;:::i;61:51::-;;;;;;;;;;;;;;-1:-1:-1;;;61:51:0;;;;:::o;1293:212::-;1385:10;1360:4;1377:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1377:29:0;;;;;;;;;;;:41;;;1434;;;;;;;1360:4;;1377:29;;1385:10;;1434:41;;;;;;;;-1:-1:-1;1493:4:0;1293:212;;;;:::o;721:84::-;785:12;;721:84;:::o;1650:485::-;-1:-1:-1;;;;;1772:15:0;;1734:4;1772:15;;;;;;;;;;;1759:28;;;1751:37;;;;;;-1:-1:-1;;;;;1824:14:0;;;;;;:7;:14;;;;;;;;1839:10;1824:26;;;;;;;;1811:39;;;1803:48;;;;;;-1:-1:-1;;;;;1886:15:0;;:8;:15;;;;;;;;;;;:30;;1906:9;1886:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1868:15:0;;:8;:15;;;;;;;;;;;:48;;;;1956:7;:14;;;;;1971:10;1956:26;;;;;;:41;;1987:9;1956:41;:30;:41;:::i;:::-;-1:-1:-1;;;;;1927:14:0;;;;;;;:7;:14;;;;;;;;1942:10;1927:26;;;;;;;:70;;;;2026:15;;;;;;;;;;;:30;;2046:9;2026:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;2008:15:0;;;:8;:15;;;;;;;;;;;;:48;;;;2072:33;;;;;;;2008:15;;2072:33;;;;;;;;;;;;;-1:-1:-1;2123:4:0;1650:485;;;;;:::o;555:52::-;;;;:::o;164:35::-;197:2;164:35;:::o;817:112::-;-1:-1:-1;;;;;901:20:0;877:4;901:20;;;;;;;;;;;;817:112::o;119:38::-;;;;;;;;;;;;;;-1:-1:-1;;;119:38:0;;;;:::o;937:348::-;1052:10;1005:4;1043:20;;;;;;;;;;;1030:33;;;1022:42;;;;;;1107:10;1098:8;:20;;;;;;;;;;;:35;;1123:9;1098:35;:24;:35;:::i;:::-;1084:10;1075:8;:20;;;;;;;;;;;:58;;;;-1:-1:-1;;;;;1165:18:0;;;;;;:33;;1188:9;1165:33;:22;:33;:::i;:::-;-1:-1:-1;;;;;1144:18:0;;:8;:18;;;;;;;;;;;;:54;;;;1214:41;;;;;;;1144:18;;1223:10;;1214:41;;;;;;;;;;-1:-1:-1;1273:4:0;937:348;;;;:::o;1513:129::-;-1:-1:-1;;;;;1610:14:0;;;1586:4;1610:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1513:129::o;2167:119::-;2225:7;2255:1;2250;:6;;2243:14;;;;-1:-1:-1;2273:5:0;;;2167:119::o;2298:141::-;2356:7;2386:5;;;2407:6;;;;2400:14;;;;2430:1;2298:141;-1:-1:-1;;;2298:141:0:o
Swarm Source
bzzr://8a843312f6eaecf565cb85fee145d36f63dc2510e69882916230b0202678ad3a
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.