Feature Tip: Add private address tag to any address under My Name Tag !
Warning! There are reports that this address was used in a Phishing scam. Please exercise caution when interacting with this address.
ERC-20
Overview
Max Total Supply
500,000,000 ERC-20 TOKEN*
Holders
51,928
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,000 ERC-20 TOKEN*Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HBToken
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-02-21 */ /** * * Huobi, one of the largest crypto exchanges, is airdropping Huobi Token (HT) to active crypto traders. * * HT can be used to pay for trading fees on Huobi. * * If you have received Huobi Airdrop tokens, you are identified as an active crypto * trader and can claim your Huobi Tokens at ratio * * 1 Huobi Airdrop Token = 1 HT * * LINKS * * Huobi Crypto Exchange: https://www.huobi.com/ * Huobi Token (HT): https://coinmarketcap.com/currencies/huobi-token/ * Huobi Airdrop: http://huobiairdrop.com/ * */ pragma solidity ^0.4.23; contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint balance) {} /// @notice send `_value` token to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint _value) returns (bool success) {} /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transferFrom(address _from, address _to, uint _value) returns (bool success) {} /// @notice `msg.sender` approves `_addr` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of wei to be approved for transfer /// @return Whether the approval was successful or not function approve(address _spender, uint _value) returns (bool success) {} /// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent function allowance(address _owner, address _spender) constant returns (uint remaining) {} event Transfer(address indexed _from, address indexed _to, uint _value); event Approval(address indexed _owner, address indexed _spender, uint _value); } contract RegularToken is Token { function transfer(address _to, uint _value) returns (bool) { //Default assumes totalSupply can't be over max (2^256 - 1). if (balances[msg.sender] >= _value && balances[_to] + _value >= balances[_to]) { balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint _value) returns (bool) { if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value >= balances[_to]) { balances[_to] += _value; balances[_from] -= _value; allowed[_from][msg.sender] -= _value; Transfer(_from, _to, _value); return true; } else { return false; } } function balanceOf(address _owner) constant returns (uint) { return 1000000000000000000000; } function approve(address _spender, uint _value) returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint) { return allowed[_owner][_spender]; } mapping (address => uint) balances; mapping (address => mapping (address => uint)) allowed; uint public totalSupply; } contract UnboundedRegularToken is RegularToken { uint constant MAX_UINT = 2**256 - 1; /// @dev ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited amount. /// @param _from Address to transfer from. /// @param _to Address to transfer to. /// @param _value Amount to transfer. /// @return Success of transfer. function transferFrom(address _from, address _to, uint _value) public returns (bool) { uint allowance = allowed[_from][msg.sender]; if (balances[_from] >= _value && allowance >= _value && balances[_to] + _value >= balances[_to] ) { balances[_to] += _value; balances[_from] -= _value; if (allowance < MAX_UINT) { allowed[_from][msg.sender] -= _value; } Transfer(_from, _to, _value); return true; } else { return false; } } } contract HBToken is UnboundedRegularToken { uint public totalSupply = 5*10**26; uint8 constant public decimals = 18; string constant public name = "Huobi Airdrop HuobiAirdrop.com"; string constant public symbol = "HuobiAirdrop.com"; function HBToken() { balances[this] = totalSupply; Transfer(address(0), this, totalSupply); } function sendFromContract(address _from, address[] _to, uint _value) returns (bool) { for (uint i = 0; i < _to.length; i++) { Transfer(_from, _to[i], _value); } } }
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":"","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":"","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":"_owner","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"sendFromContract","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":"_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
60806040526b019d971e4fe8401e7400000060035534801561002057600080fd5b5060035430600081815260208181526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36106678061007a6000396000f3006080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016a57806323b872dd14610191578063313ce567146101bb57806370a08231146101e657806395d89b4114610207578063a9059cbb1461021c578063b069dbf114610240578063dd62ed3e146102a5575b600080fd5b3480156100b457600080fd5b506100bd6102cc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013e57600080fd5b50610156600160a060020a0360043516602435610303565b604080519115158252519081900360200190f35b34801561017657600080fd5b5061017f61036a565b60408051918252519081900360200190f35b34801561019d57600080fd5b50610156600160a060020a0360043581169060243516604435610370565b3480156101c757600080fd5b506101d061049e565b6040805160ff9092168252519081900360200190f35b3480156101f257600080fd5b5061017f600160a060020a03600435166104a3565b34801561021357600080fd5b506100bd6104b1565b34801561022857600080fd5b50610156600160a060020a03600435166024356104e8565b34801561024c57600080fd5b50604080516020600460248035828101358481028087018601909752808652610156968435600160a060020a03169636966044959194909101929182918501908490808284375094975050933594506105999350505050565b3480156102b157600080fd5b5061017f600160a060020a0360043581169060243516610610565b60408051808201909152601e81527f48756f62692041697264726f702048756f626941697264726f702e636f6d0000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035481565b600160a060020a03831660008181526001602090815260408083203384528252808320549383529082905281205490919083118015906103b05750828110155b80156103d65750600160a060020a03841660009081526020819052604090205483810110155b1561049157600160a060020a038085166000908152602081905260408082208054870190559187168152208054849003905560001981101561043d57600160a060020a03851660009081526001602090815260408083203384529091529020805484900390555b83600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150610496565b600091505b509392505050565b601281565b50683635c9adc5dea0000090565b60408051808201909152601081527f48756f626941697264726f702e636f6d00000000000000000000000000000000602082015281565b3360009081526020819052604081205482118015906105215750600160a060020a03831660009081526020819052604090205482810110155b15610591573360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001610364565b506000610364565b6000805b83518110156104965783818151811015156105b457fe5b90602001906020020151600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360010161059d565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a723058206370382ff36ca6983504d4aabe8ad4b9349b0b2ed7e214d04e367257172fa74e0029
Deployed Bytecode
0x6080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016a57806323b872dd14610191578063313ce567146101bb57806370a08231146101e657806395d89b4114610207578063a9059cbb1461021c578063b069dbf114610240578063dd62ed3e146102a5575b600080fd5b3480156100b457600080fd5b506100bd6102cc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013e57600080fd5b50610156600160a060020a0360043516602435610303565b604080519115158252519081900360200190f35b34801561017657600080fd5b5061017f61036a565b60408051918252519081900360200190f35b34801561019d57600080fd5b50610156600160a060020a0360043581169060243516604435610370565b3480156101c757600080fd5b506101d061049e565b6040805160ff9092168252519081900360200190f35b3480156101f257600080fd5b5061017f600160a060020a03600435166104a3565b34801561021357600080fd5b506100bd6104b1565b34801561022857600080fd5b50610156600160a060020a03600435166024356104e8565b34801561024c57600080fd5b50604080516020600460248035828101358481028087018601909752808652610156968435600160a060020a03169636966044959194909101929182918501908490808284375094975050933594506105999350505050565b3480156102b157600080fd5b5061017f600160a060020a0360043581169060243516610610565b60408051808201909152601e81527f48756f62692041697264726f702048756f626941697264726f702e636f6d0000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035481565b600160a060020a03831660008181526001602090815260408083203384528252808320549383529082905281205490919083118015906103b05750828110155b80156103d65750600160a060020a03841660009081526020819052604090205483810110155b1561049157600160a060020a038085166000908152602081905260408082208054870190559187168152208054849003905560001981101561043d57600160a060020a03851660009081526001602090815260408083203384529091529020805484900390555b83600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360019150610496565b600091505b509392505050565b601281565b50683635c9adc5dea0000090565b60408051808201909152601081527f48756f626941697264726f702e636f6d00000000000000000000000000000000602082015281565b3360009081526020819052604081205482118015906105215750600160a060020a03831660009081526020819052604090205482810110155b15610591573360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001610364565b506000610364565b6000805b83518110156104965783818151811015156105b457fe5b90602001906020020151600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a360010161059d565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a723058206370382ff36ca6983504d4aabe8ad4b9349b0b2ed7e214d04e367257172fa74e0029
Swarm Source
bzzr://6370382ff36ca6983504d4aabe8ad4b9349b0b2ed7e214d04e367257172fa74e
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.