Measurable Data Token
ERC20
This contract is an ERC20 token.
Name
Measurable Data Token
Symbol
MDT
Decimals
18
Total Supply
1,000,000,000 MDT
About link description
Measurable Data Token (MDT) is a cryptocurrency and operates on the Ethereum platform. Measurable Data Token has a current supply of 1,000,000,000 with 671,990,346 in circulation. The last known price of Measurable Data Token is 0.02337567 USD and is up 9.07 over the last 24 hours. It is currently trading on 15 active market(s) with $10,385,704.62 traded over the last 24 hours. More information can be found at http://mdt.io/.
Stats
Public Functions
15
Event Types
5
Code Size
17,004 bytes
Library Use
Uses SafeMath for uint256.
Events (5) keyboard_arrow_up
Constants (8) keyboard_arrow_up
State Variables (9) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0));
owner = newOwner;
OwnershipTransferred(owner, newOwner);
}
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
Source Code
function transfer(address _to, uint256 _value)
public
validRecipient(_to)
returns (bool)
{
return super.transfer(_to, _value);
}
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
Modifiers help
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) public validRecipient(_to) returns (bool) {
return super.transferFrom(_from, _to, _value);
}
approve keyboard_arrow_up
transferAndCall keyboard_arrow_up
Modifiers help
Source Code
function transferAndCall(
address _to,
uint256 _value,
bytes _data
) public validRecipient(_to) returns (bool success) {
return super.transferAndCall(_to, _value, _data);
}
burn keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function burn(uint256 _value) public onlyOwner returns (bool) {
balances[msg.sender] = balances[msg.sender].sub(_value);
totalSupply = totalSupply.sub(_value);
Burn(msg.sender, _value);
return true;
}
burnFrom keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function burnFrom(address _from, uint256 _value)
public
onlyOwner
returns (bool)
{
var _allowance = allowed[_from][msg.sender];
balances[_from] = balances[_from].sub(_value);
allowed[_from][msg.sender] = _allowance.sub(_value);
totalSupply = totalSupply.sub(_value);
Burn(_from, _value);
return true;
}
emergencyERC20Drain keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function emergencyERC20Drain(ERC20 token, uint256 amount) public onlyOwner {
token.transfer(owner, amount);
}
changeTokenSaleAddress keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function changeTokenSaleAddress(address _tokenSaleAddress)
public
onlyOwner
validRecipient(_tokenSaleAddress)
{
tokenSaleAddress = _tokenSaleAddress;
}
changeMdtTeamAddress keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function changeMdtTeamAddress(address _mdtTeamAddress)
public
onlyOwner
validRecipient(_mdtTeamAddress)
{
mdtTeamAddress = _mdtTeamAddress;
}
changeUserGrowthAddress keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function changeUserGrowthAddress(address _userGrowthAddress)
public
onlyOwner
validRecipient(_userGrowthAddress)
{
userGrowthAddress = _userGrowthAddress;
}
changeInvestorsAddress keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function changeInvestorsAddress(address _investorsAddress)
public
onlyOwner
validRecipient(_investorsAddress)
{
investorsAddress = _investorsAddress;
}
changeMdtFoundationAddress keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function changeMdtFoundationAddress(address _mdtFoundationAddress)
public
onlyOwner
validRecipient(_mdtFoundationAddress)
{
mdtFoundationAddress = _mdtFoundationAddress;
}
Internal Functions
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.
internal MDToken.mint keyboard_arrow_up
Modifiers help
Source Code
function mint(address _to, uint256 _amount)
private
validRecipient(_to)
returns (bool)
{
require(totalSupply.add(_amount) <= maxSupply);
totalSupply = totalSupply.add(_amount);
balances[_to] = balances[_to].add(_amount);
Transfer(0x0, _to, _amount);
return true;
}
internal ERC677Token.contractFallback keyboard_arrow_up
Source Code
function contractFallback(
address _to,
uint256 _value,
bytes _data
) private {
ERC677Receiver receiver = ERC677Receiver(_to);
require(receiver.onTokenTransfer(msg.sender, _value, _data));
}