Blockwell

Mainframe Token

ERC20

This contract is an ERC20 token.

Name Mainframe Token
Symbol MFT
Decimals 18
Total Supply 10,000,000,000 MFT

About link

Hifi Finance (MFT) is a cryptocurrency and operates on the Ethereum platform. Hifi Finance has a current supply of 10,000,000,000. The last known price of Hifi Finance is 0.0070319 USD and is down -3.08 over the last 24 hours. It is currently trading on 20 active market(s) with $20,683,547.97 traded over the last 24 hours. More information can be found at https://hifi.finance/.

Stats

Public Functions 14
Event Types 5
Code Size 12,610 bytes

Events (5) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

OwnershipTransferred Event

Parameters help
previousOwner
address help
newOwner
address help

Pause Event

Parameters help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Unpause Event

Parameters help

name Constant

string help
Mainframe Token

symbol Constant

string help
MFT

decimals Constant

uint8 help
18

distributor Variable

address help

paused Variable

bool help

owner Variable

address help

pendingOwner Variable

address help

allowed Variable

mapping(address => mapping(address => uint256)) help
Internal Variable

balances Variable

mapping(address => uint256) help
Internal Variable

totalSupply_ Variable

uint256 help
Internal Variable

Functions Expand All Collapse All

transferOwnership keyboard_arrow_up

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferOwnership(address newOwner) public onlyOwner {
  pendingOwner = newOwner;
}

claimOwnership keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function claimOwnership() public onlyPendingOwner {
  emit OwnershipTransferred(owner, pendingOwner);
  owner = pendingOwner;
  pendingOwner = address(0);
}

pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function pause() public onlyOwner whenNotPaused {
  paused = true;
  emit Pause();
}

unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function unpause() public onlyOwner whenPaused {
  paused = false;
  emit Unpause();
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view
Source Code
function totalSupply() public view returns (uint256) {
  return totalSupply_;
}

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help view
Source Code
function balanceOf(address _owner) public view returns (uint256) {
  return balances[_owner];
}

Parameters help

Name Type
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transfer(address to, uint256 value)
  public
  validDestination(to)
  isTradeable
  returns (bool)
{
  return super.transfer(to, value);
}

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help view
Source Code
function allowance(address _owner, address _spender)
  public
  view
  returns (uint256)
{
  return allowed[_owner][_spender];
}

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferFrom(
  address from,
  address to,
  uint256 value
) public validDestination(to) isTradeable returns (bool) {
  return super.transferFrom(from, to, value);
}

Parameters help

Name Type
spender
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address spender, uint256 value)
  public
  isTradeable
  returns (bool)
{
  return super.approve(spender, value);
}

increaseApproval keyboard_arrow_up

Parameters help

Name Type
spender
address help
addedValue
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function increaseApproval(address spender, uint256 addedValue)
  public
  isTradeable
  returns (bool)
{
  return super.increaseApproval(spender, addedValue);
}

decreaseApproval keyboard_arrow_up

Parameters help

Name Type
spender
address help
subtractedValue
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function decreaseApproval(address spender, uint256 subtractedValue)
  public
  isTradeable
  returns (bool)
{
  return super.decreaseApproval(spender, subtractedValue);
}

setDistributor keyboard_arrow_up

Parameters help

Name Type
newDistributor
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function setDistributor(address newDistributor) external onlyOwner {
  distributor = newDistributor;
}

emergencyERC20Drain keyboard_arrow_up

Parameters help

Name Type
token
ERC20 help
amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function emergencyERC20Drain(ERC20 token, uint256 amount) external onlyOwner {
  // owner can drain tokens that are sent here by mistake
  token.transfer(owner, amount);
}

Internal Functions Expand All Collapse All

Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.