Blockwell

EKT

ERC20

This contract is an ERC20 token.

Name EKT
Symbol EKT
Decimals 8
Total Supply 724,297,908 EKT

About link description

EDUCare (EKT) is a cryptocurrency and operates on the Ethereum platform. EDUCare has a current supply of 724,297,908.475. The last known price of EDUCare is 0.00477785 USD and is down -6.34 over the last 24 hours. It is currently trading on 7 active market(s) with $345,488.28 traded over the last 24 hours. More information can be found at http://ekt8.io/.

Stats

Public Functions 6
Event Types 3
Code Size 3,580 bytes

Events (3) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint256 help

Burn Event

Parameters help
_from
address help
value
uint256 help

Transfer Event

Parameters help
_from
address help
_to
address help
value
uint256 help

decimals Constant

uint8 help
8

name Variable

string help

symbol Variable

string help

totalSupply Variable

uint256 help

_balances Variable

mapping(address => uint256) help
Internal Variable

_allowed Variable

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

Functions Expand All Collapse All

Parameters help

Name Type
addr
address help

Properties

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

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 returns (bool) {
  //        require(_to != address(0));
  if (_to == address(0)) {
    return burn(_value);
  } else {
    require(_balances[msg.sender] >= _value && _value > 0);
    require(_balances[_to] + _value >= _balances[_to]);

    _balances[msg.sender] = safeSub(_balances[msg.sender], _value);
    _balances[_to] = safeAdd(_balances[_to], _value);
    emit Transfer(msg.sender, _to, _value);
    return true;
  }
}

burn keyboard_arrow_up

Parameters help

Name Type
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function burn(uint256 _value) public returns (bool) {
  require(_balances[msg.sender] >= _value && _value > 0);
  require(totalSupply >= _value);
  _balances[msg.sender] = safeSub(_balances[msg.sender], _value);
  totalSupply = safeSub(totalSupply, _value);
  emit Burn(msg.sender, _value);
  return true;
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public returns (bool) {
  require(_to != address(0));
  require(_balances[_from] >= _value && _value > 0);
  require(_balances[_to] + _value >= _balances[_to]);

  require(_allowed[_from][msg.sender] >= _value);

  _balances[_to] = safeAdd(_balances[_to], _value);
  _balances[_from] = safeSub(_balances[_from], _value);
  _allowed[_from][msg.sender] = safeSub(_allowed[_from][msg.sender], _value);
  emit Transfer(_from, _to, _value);
  return true;
}

Parameters help

Name Type
spender
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function approve(address spender, uint256 value) public returns (bool) {
  require(spender != address(0));
  _allowed[msg.sender][spender] = value;
  emit Approval(msg.sender, spender, value);
  return true;
}

Parameters help

Name Type
_master
address help
_spender
address help

Properties

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

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.

internal SafeMath.safeMul keyboard_arrow_up

Parameters help

Name Type
a
uint256 help
b
uint256 help

Properties

Visibility help internal
Mutability help pure
Source Code
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
  uint256 c = a * b;
  _assert(a == 0 || c / a == b);
  return c;
}

internal SafeMath.safeDiv keyboard_arrow_up

Parameters help

Name Type
a
uint256 help
b
uint256 help

Properties

Visibility help internal
Mutability help pure
Source Code
function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
  _assert(b > 0);
  uint256 c = a / b;
  _assert(a == b * c + (a % b));
  return c;
}

internal SafeMath.safeSub keyboard_arrow_up

Parameters help

Name Type
a
uint256 help
b
uint256 help

Properties

Visibility help internal
Mutability help pure
Source Code
function safeSub(uint256 a, uint256 b) internal pure returns (uint256) {
  _assert(b <= a);
  return a - b;
}

internal SafeMath.safeAdd keyboard_arrow_up

Parameters help

Name Type
a
uint256 help
b
uint256 help

Properties

Visibility help internal
Mutability help pure
Source Code
function safeAdd(uint256 a, uint256 b) internal pure returns (uint256) {
  uint256 c = a + b;
  _assert(c >= a && c >= b);
  return c;
}

internal SafeMath._assert keyboard_arrow_up

Parameters help

Name Type
assertion
bool help

Properties

Visibility help internal
Mutability help pure
Source Code
function _assert(bool assertion) internal pure {
  if (!assertion) {
    revert();
  }
}