ERC-20
Loyalty and Rewards
Overview
Max Total Supply
100,000,000 BTL
Holders
2,443 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 4 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.4.4+commit.4633f3de
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-07-03 */ pragma solidity ^0.4.4; /** * @title Contract for object that have an owner */ contract Owned { /** * Contract owner address */ address public owner; /** * @dev Delegate contract to another person * @param _owner New owner address */ function setOwner(address _owner) onlyOwner { owner = _owner; } /** * @dev Owner check modifier */ modifier onlyOwner { if (msg.sender != owner) throw; _; } } /** * @title Common pattern for destroyable contracts */ contract Destroyable { address public hammer; /** * @dev Hammer setter * @param _hammer New hammer address */ function setHammer(address _hammer) onlyHammer { hammer = _hammer; } /** * @dev Destroy contract and scrub a data * @notice Only hammer can call it */ function destroy() onlyHammer { suicide(msg.sender); } /** * @dev Hammer check modifier */ modifier onlyHammer { if (msg.sender != hammer) throw; _; } } /** * @title Generic owned destroyable contract */ contract Object is Owned, Destroyable { function Object() { owner = msg.sender; hammer = msg.sender; } } // Standard token interface (ERC 20) // https://github.com/ethereum/EIPs/issues/20 contract ERC20 { // Functions: /// @return total amount of tokens uint256 public totalSupply; /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256); /// @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, uint256 _value) returns (bool); /// @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, uint256 _value) returns (bool); /// @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, uint256 _value) returns (bool); /// @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 (uint256); // Events: event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } /** * @title Token contract represents any asset in digital economy */ contract Token is Object, ERC20 { /* Short description of token */ string public name; string public symbol; /* Total count of tokens exist */ uint public totalSupply; /* Fixed point position */ uint8 public decimals; /* Token approvement system */ mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowances; /** * @dev Get balance of plain address * @param _owner is a target address * @return amount of tokens on balance */ function balanceOf(address _owner) constant returns (uint256) { return balances[_owner]; } /** * @dev Take allowed tokens * @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 (uint256) { return allowances[_owner][_spender]; } /* Token constructor */ function Token(string _name, string _symbol, uint8 _decimals, uint _count) { name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _count; balances[msg.sender] = _count; } /** * @dev Transfer self tokens to given address * @param _to destination address * @param _value amount of token values to send * @notice `_value` tokens will be sended to `_to` * @return `true` when transfer done */ function transfer(address _to, uint _value) returns (bool) { if (balances[msg.sender] >= _value) { balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); return true; } return false; } /** * @dev Transfer with approvement mechainsm * @param _from source address, `_value` tokens shold be approved for `sender` * @param _to destination address * @param _value amount of token values to send * @notice from `_from` will be sended `_value` tokens to `_to` * @return `true` when transfer is done */ function transferFrom(address _from, address _to, uint256 _value) returns (bool) { var avail = allowances[_from][msg.sender] > balances[_from] ? balances[_from] : allowances[_from][msg.sender]; if (avail >= _value) { allowances[_from][msg.sender] -= _value; balances[_from] -= _value; balances[_to] += _value; Transfer(_from, _to, _value); return true; } return false; } /** * @dev Give to target address ability for self token manipulation without sending * @param _spender target address (future requester) * @param _value amount of token values for approving */ function approve(address _spender, uint256 _value) returns (bool) { allowances[msg.sender][_spender] += _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Reset count of tokens approved for given address * @param _spender target address (future requester) */ function unapprove(address _spender) { allowances[msg.sender][_spender] = 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"hammer","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"destroy","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_hammer","type":"address"}],"name":"setHammer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"}],"name":"unapprove","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"},{"name":"_count","type":"uint256"}],"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
606060405260405161088038038061088083398101604052805160805160a05160c051928401939190910191600080546c0100000000000000000000000033810204600160a060020a031991821681179092556001805490911690911790558360036000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012b57805160ff19168380011785555b5061015b9291505b808211156101b457600081556001016100b1565b5050600680547f01000000000000000000000000000000000000000000000000000000000000008085020460ff199091161790556005819055600160a060020a033316600090815260076020526040902081905550505050610698806101e86000396000f35b828001600101855582156100a9579182015b828111156100a957825182600050559160200191906001019061013d565b50508260046000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101b857805160ff19168380011785555b506100c59291506100b1565b5090565b828001600101855582156101a8579182015b828111156101a85782518260005055916020019190600101906101ca56606060405236156100b95760e060020a600035046306fdde0381146100be578063095ea7b31461012357806313af40351461019f57806318160ddd146101c557806323b872dd146101d3578063313ce5671461024a578063457f4d411461025b57806370a082311461027257806383197ef0146102a55780638da5cb5b146102c857806395d89b41146102df578063a9059cbb14610344578063d31fdffd146103e1578063dd62ed3e14610407578063fbf1f78a14610440575b610002565b346100025761047660038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281529291908301828280156105575780601f1061052c57610100808354040283529160200191610557565b34610002576104e4600435602435600160a060020a03338116600081815260086020908152604080832094871680845294825280832080548701905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b34610002576104f860043560005433600160a060020a0390811691161461055f57610002565b346100025761029360055481565b34610002576104e4600435602435604435600160a060020a03808416600090815260076020908152604080832054600883528184203390951684529390915281205490918291116105a157600160a060020a03808616600090815260086020908152604080832033909416835292905220546105bb565b34610002576104fa60065460ff1681565b3461000257610510600154600160a060020a031681565b3461000257600160a060020a03600435166000908152600760205260409020545b60408051918252519081900360200190f35b34610002576104f860015433600160a060020a0390811691161461064f57610002565b3461000257610510600054600160a060020a031681565b346100025761047660048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281529291908301828280156105575780601f1061052c57610100808354040283529160200191610557565b34610002576104e4600435602435600160a060020a03331660009081526007602052604081205482901061065b57600160a060020a03338116600081815260076020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3506001610199565b34610002576104f860043560015433600160a060020a0390811691161461066357610002565b3461000257610293600435602435600160a060020a03808316600090815260086020908152604080832093851683529290522054610199565b34610002576104f8600435600160a060020a03338116600090815260086020908152604080832093851683529290529081205550565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156104d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b604080519115158252519081900360200190f35b005b6040805160ff9092168252519081900360200190f35b60408051600160a060020a039092168252519081900360200190f35b820191906000526020600020905b81548152906001019060200180831161053a57829003601f168201915b505050505081565b600080546c010000000000000000000000008084020473ffffffffffffffffffffffffffffffffffffffff1990911617905550565b600091505b509392505050565b600160a060020a0385166000908152600760205260409020545b905082811061059457600160a060020a03808616600081815260086020908152604080832033861684528252808320805489900390558383526007825280832080548990039055938816808352918490208054880190558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a360019150610599565b33600160a060020a0316ff5b506000610199565b600180546c010000000000000000000000008084020473ffffffffffffffffffffffffffffffffffffffff199091161790555056000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000e8d4a51000000000000000000000000000000000000000000000000000000000000000000c4269746c6c6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342544c0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x606060405236156100b95760e060020a600035046306fdde0381146100be578063095ea7b31461012357806313af40351461019f57806318160ddd146101c557806323b872dd146101d3578063313ce5671461024a578063457f4d411461025b57806370a082311461027257806383197ef0146102a55780638da5cb5b146102c857806395d89b41146102df578063a9059cbb14610344578063d31fdffd146103e1578063dd62ed3e14610407578063fbf1f78a14610440575b610002565b346100025761047660038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281529291908301828280156105575780601f1061052c57610100808354040283529160200191610557565b34610002576104e4600435602435600160a060020a03338116600081815260086020908152604080832094871680845294825280832080548701905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b34610002576104f860043560005433600160a060020a0390811691161461055f57610002565b346100025761029360055481565b34610002576104e4600435602435604435600160a060020a03808416600090815260076020908152604080832054600883528184203390951684529390915281205490918291116105a157600160a060020a03808616600090815260086020908152604080832033909416835292905220546105bb565b34610002576104fa60065460ff1681565b3461000257610510600154600160a060020a031681565b3461000257600160a060020a03600435166000908152600760205260409020545b60408051918252519081900360200190f35b34610002576104f860015433600160a060020a0390811691161461064f57610002565b3461000257610510600054600160a060020a031681565b346100025761047660048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281529291908301828280156105575780601f1061052c57610100808354040283529160200191610557565b34610002576104e4600435602435600160a060020a03331660009081526007602052604081205482901061065b57600160a060020a03338116600081815260076020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3506001610199565b34610002576104f860043560015433600160a060020a0390811691161461066357610002565b3461000257610293600435602435600160a060020a03808316600090815260086020908152604080832093851683529290522054610199565b34610002576104f8600435600160a060020a03338116600090815260086020908152604080832093851683529290529081205550565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156104d65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b604080519115158252519081900360200190f35b005b6040805160ff9092168252519081900360200190f35b60408051600160a060020a039092168252519081900360200190f35b820191906000526020600020905b81548152906001019060200180831161053a57829003601f168201915b505050505081565b600080546c010000000000000000000000008084020473ffffffffffffffffffffffffffffffffffffffff1990911617905550565b600091505b509392505050565b600160a060020a0385166000908152600760205260409020545b905082811061059457600160a060020a03808616600081815260086020908152604080832033861684528252808320805489900390558383526007825280832080548990039055938816808352918490208054880190558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a360019150610599565b33600160a060020a0316ff5b506000610199565b600180546c010000000000000000000000008084020473ffffffffffffffffffffffffffffffffffffffff199091161790555056
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000e8d4a51000000000000000000000000000000000000000000000000000000000000000000c4269746c6c6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342544c0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Bitlle Token
Arg [1] : _symbol (string): BTL
Arg [2] : _decimals (uint8): 4
Arg [3] : _count (uint256): 1000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 000000000000000000000000000000000000000000000000000000e8d4a51000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 4269746c6c6520546f6b656e0000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 42544c0000000000000000000000000000000000000000000000000000000000
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.