BitMartToken
ERC20
This contract is an ERC20 token.
Name
BitMartToken
Symbol
BMC
Decimals
18
Total Supply
904,331,318 BMC
About
link
BitMart Token (BMX) is a cryptocurrency token and operates on the Ethereum platform. BitMart Token has a current supply of 662,064,032.908 with 171,676,754.851 in circulation. The last known price of BitMart Token is $0.024674 USD and is up 5.39% over the last 24 hours. It is currently trading on 3 active market(s) with $1,069,757.712 traded over the last 24 hours. More information can be found at https://www.bitmart.com/.
Stats
Public Functions
9
Event Types
5
Code Size
6,409 bytes
Library Use
Uses SafeMath for uint256.
Events (5) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
transfer keyboard_arrow_up
Requirements help
Source Code
function transfer(address _to, uint256 _value) public {
require(_to != 0x0);
require(_value > 0);
require(balanceOf[msg.sender] >= _value );// Check if the sender has enough
require(balanceOf[_to] + _value >= balanceOf[_to]); // Check for overflows
balanceOf[msg.sender] = balanceOf[msg.sender].sub(_value); // Subtract from the sender
balanceOf[_to] = balanceOf[_to].add(_value); // Add the same to the recipient
Transfer(msg.sender, _to, _value); // Notify anyone listening that this transfer took place
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) public returns (bool) {
require(_value > 0);
allowance[msg.sender][_spender] = _value;
return true;
}
transferFrom keyboard_arrow_up
Requirements help
Source Code
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
require(_to != 0x0);
require(_value > 0);
require(balanceOf[_from] >= _value );// Check if the sender has enough
require(balanceOf[_to] + _value >= balanceOf[_to]); // Check for overflows
require(_value <= allowance[_from][msg.sender]); // Check allowance
balanceOf[_from] = balanceOf[_from].sub(_value); // Subtract from the sender
balanceOf[_to] = balanceOf[_to].add(_value); // Add the same to the recipient
allowance[_from][msg.sender] = allowance[_from][msg.sender].sub(_value);
Transfer(_from, _to, _value);
return true;
}
burn keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function burn(uint256 _value) public onlyOwner returns (bool) {
require(balanceOf[msg.sender] >= _value);// Check if the sender has enough
require(_value > 0);
balanceOf[msg.sender] = balanceOf[msg.sender].sub(_value); // Subtract from the sender
totalSupply = totalSupply.sub(_value); // Updates totalSupply
Burn(msg.sender, _value);
return true;
}
freeze keyboard_arrow_up
Requirements help
Source Code
function freeze(uint256 _value) public returns (bool) {
require(balanceOf[msg.sender] >= _value);// Check if the sender has enough
require(_value > 0);
balanceOf[msg.sender] = balanceOf[msg.sender].sub(_value); // Subtract from the sender
freezeOf[msg.sender] = freezeOf[msg.sender].add(_value); // Updates totalSupply
Freeze(msg.sender, _value);
return true;
}
unfreeze keyboard_arrow_up
Requirements help
Source Code
function unfreeze(uint256 _value) public returns (bool) {
require(freezeOf[msg.sender] >= _value); // Check if the sender has enough
require(_value > 0);
freezeOf[msg.sender] = freezeOf[msg.sender].sub(_value); // Subtract from the sender
balanceOf[msg.sender] = balanceOf[msg.sender].add(_value);
Unfreeze(msg.sender, _value);
return true;
}