Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000 HIRE
Holders
1,584
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:
Hire
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-12-05 */ pragma solidity ^0.4.17; library SafeMath { /** * Sub function asserts that b is less than or equal to a. * */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * Add function avoids overflow. * */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant public returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant public returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } contract BasicToken is ERC20Basic { using SafeMath for uint256; //keeps a record of the total balances of each ETH address. mapping (address => uint256) balances; modifier onlyPayloadSize(uint size) { if (msg.data.length < size + 4) { revert(); } _; } /** * Transfer function makes it possible for users to transfer their Hire tokens to another * ETH address. * * @param _to the address of the recipient. * @param _amount the amount of Hire tokens to be sent. * */ function transfer(address _to, uint256 _amount) public onlyPayloadSize(2 * 32) returns (bool) { require(balances[msg.sender] >= _amount); balances[msg.sender] = balances[msg.sender].sub(_amount); balances[_to] = balances[_to].add(_amount); Transfer(msg.sender, _to, _amount); return true; } /** * BalanceOf function returns the total balance of the queried address. * * @param _addr the address which is being queried. * */ function balanceOf(address _addr) public constant returns (uint256) { return balances[_addr]; } } contract AdvancedToken is BasicToken, ERC20 { //keeps a record of all the allowances from one ETH address to another. mapping (address => mapping (address => uint256)) allowances; /** * TransferFrom function allows users to spend ETH on another's behalf, given that the _owner * has allowed them to. * * @param _from the address of the owner. * @param _to the address of the recipient. * @param _amount the total amount of tokens to be sent. ' * */ function transferFrom(address _from, address _to, uint256 _amount) public onlyPayloadSize(3 * 32) returns (bool) { require(allowances[_from][msg.sender] >= _amount && balances[_from] >= _amount); allowances[_from][msg.sender] = allowances[_from][msg.sender].sub(_amount); balances[_from] = balances[_from].sub(_amount); balances[_to] = balances[_to].add(_amount); Transfer(_from, _to, _amount); return true; } /** * Approve function allows users to allow others to spend a specified amount tokens on * their behalf. * * @param _spender the address of the spended who is being granted permission to spend tokens. * @param _amount the total amount of tokens the spender is allowed to spend. * */ function approve(address _spender, uint256 _amount) public returns (bool) { allowances[msg.sender][_spender] = _amount; Approval(msg.sender, _spender, _amount); return true; } /** * Allowance function returns the total allowance from one address to another. * * @param _owner the address of the owner of the token. * @param _spender the address of the spender who has or has not been allowed to spend * the owners tokens. * */ function allowance(address _owner, address _spender) public constant returns (uint256) { return allowances[_owner][_spender]; } } contract Hire is AdvancedToken { uint8 public decimals; string public name; string public symbol; address public owner; /** * Constructor initializes the total supply to 100,000,000, the token name to * Hire, the token symbol to HIRE, sets the decimals to 18 and automatically * sends all tokens to the owner of the contract upon deployment. * */ function Hire() public { totalSupply = 100000000e18; decimals = 18; name = "Hire"; symbol = "HIRE"; owner = 0xaAa34A22Bd3F496b3A8648367CeeA9c03B130A30; balances[owner] = totalSupply; } }
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":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"","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":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","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":"_addr","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","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":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"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"}]
Contract Creation Code
6060604052341561000f57600080fd5b6a52b7d2dcc80cd2e40000006000556003805460ff191660121790556040805190810160405260048082527f48697265000000000000000000000000000000000000000000000000000000006020830152908051610071929160200190610103565b5060408051908101604052600481527f4849524500000000000000000000000000000000000000000000000000000000602082015260059080516100b9929160200190610103565b5060068054600160a060020a03191673aaa34a22bd3f496b3a8648367ceea9c03b130a30179081905560008054600160a060020a039290921681526001602052604090205561019e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014457805160ff1916838001178555610171565b82800160010185558215610171579182015b82811115610171578251825591602001919060010190610156565b5061017d929150610181565b5090565b61019b91905b8082111561017d5760008155600101610187565b90565b61072d806101ad6000396000f3006060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016857806323b872dd1461018d578063313ce567146101b557806370a08231146101de5780638da5cb5b146101fd57806395d89b411461022c578063a9059cbb1461023f578063dd62ed3e14610261575b600080fd5b34156100b357600080fd5b6100bb610286565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f75780820151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013d57600080fd5b610154600160a060020a0360043516602435610324565b604051901515815260200160405180910390f35b341561017357600080fd5b61017b610390565b60405190815260200160405180910390f35b341561019857600080fd5b610154600160a060020a0360043581169060243516604435610396565b34156101c057600080fd5b6101c8610518565b60405160ff909116815260200160405180910390f35b34156101e957600080fd5b61017b600160a060020a0360043516610521565b341561020857600080fd5b61021061053c565b604051600160a060020a03909116815260200160405180910390f35b341561023757600080fd5b6100bb61054b565b341561024a57600080fd5b610154600160a060020a03600435166024356105b6565b341561026c57600080fd5b61017b600160a060020a03600435811690602435166106ae565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561031c5780601f106102f15761010080835404028352916020019161031c565b820191906000526020600020905b8154815290600101906020018083116102ff57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000606060643610156103a857600080fd5b600160a060020a03808616600090815260026020908152604080832033909416835292905220548390108015906103f85750600160a060020a038516600090815260016020526040902054839010155b151561040357600080fd5b600160a060020a038086166000908152600260209081526040808320339094168352929052205461043a908463ffffffff6106d916565b600160a060020a038087166000818152600260209081526040808320339095168352938152838220949094559081526001909252902054610481908463ffffffff6106d916565b600160a060020a0380871660009081526001602052604080822093909355908616815220546104b6908463ffffffff6106eb16565b600160a060020a03808616600081815260016020526040908190209390935591908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b60035460ff1681565b600160a060020a031660009081526001602052604090205490565b600654600160a060020a031681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561031c5780601f106102f15761010080835404028352916020019161031c565b6000604060443610156105c857600080fd5b600160a060020a033316600090815260016020526040902054839010156105ee57600080fd5b600160a060020a033316600090815260016020526040902054610617908463ffffffff6106d916565b600160a060020a03338116600090815260016020526040808220939093559086168152205461064c908463ffffffff6106eb16565b600160a060020a0380861660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a35060019392505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b6000828211156106e557fe5b50900390565b6000828201838110156106fa57fe5b93925050505600a165627a7a7230582077e95292c89f002b652c07efc4aef7db7f4acb2de9129fef5da13690573559000029
Deployed Bytecode
0x6060604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016857806323b872dd1461018d578063313ce567146101b557806370a08231146101de5780638da5cb5b146101fd57806395d89b411461022c578063a9059cbb1461023f578063dd62ed3e14610261575b600080fd5b34156100b357600080fd5b6100bb610286565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100f75780820151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013d57600080fd5b610154600160a060020a0360043516602435610324565b604051901515815260200160405180910390f35b341561017357600080fd5b61017b610390565b60405190815260200160405180910390f35b341561019857600080fd5b610154600160a060020a0360043581169060243516604435610396565b34156101c057600080fd5b6101c8610518565b60405160ff909116815260200160405180910390f35b34156101e957600080fd5b61017b600160a060020a0360043516610521565b341561020857600080fd5b61021061053c565b604051600160a060020a03909116815260200160405180910390f35b341561023757600080fd5b6100bb61054b565b341561024a57600080fd5b610154600160a060020a03600435166024356105b6565b341561026c57600080fd5b61017b600160a060020a03600435811690602435166106ae565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561031c5780601f106102f15761010080835404028352916020019161031c565b820191906000526020600020905b8154815290600101906020018083116102ff57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b6000606060643610156103a857600080fd5b600160a060020a03808616600090815260026020908152604080832033909416835292905220548390108015906103f85750600160a060020a038516600090815260016020526040902054839010155b151561040357600080fd5b600160a060020a038086166000908152600260209081526040808320339094168352929052205461043a908463ffffffff6106d916565b600160a060020a038087166000818152600260209081526040808320339095168352938152838220949094559081526001909252902054610481908463ffffffff6106d916565b600160a060020a0380871660009081526001602052604080822093909355908616815220546104b6908463ffffffff6106eb16565b600160a060020a03808616600081815260016020526040908190209390935591908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b60035460ff1681565b600160a060020a031660009081526001602052604090205490565b600654600160a060020a031681565b60058054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561031c5780601f106102f15761010080835404028352916020019161031c565b6000604060443610156105c857600080fd5b600160a060020a033316600090815260016020526040902054839010156105ee57600080fd5b600160a060020a033316600090815260016020526040902054610617908463ffffffff6106d916565b600160a060020a03338116600090815260016020526040808220939093559086168152205461064c908463ffffffff6106eb16565b600160a060020a0380861660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a35060019392505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b6000828211156106e557fe5b50900390565b6000828201838110156106fa57fe5b93925050505600a165627a7a7230582077e95292c89f002b652c07efc4aef7db7f4acb2de9129fef5da13690573559000029
Swarm Source
bzzr://77e95292c89f002b652c07efc4aef7db7f4acb2de9129fef5da1369057355900
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.