Blockwell

SmartKey

ERC20

This contract is an ERC20 token.

Name SmartKey
Symbol Skey
Decimals 8
Total Supply 1,000,000,000 Skey

About link description

SmartKey (SKEY) is a cryptocurrency and operates on the Ethereum platform. SmartKey has a current supply of 1,000,000,000 with 181,631,354 in circulation. The last known price of SmartKey is 0.1110753 USD and is down -6.71 over the last 24 hours. It is currently trading on 4 active market(s) with $755,173.13 traded over the last 24 hours. More information can be found at https://smartkeyplatform.io.

Stats

Public Functions 3
Event Types 2
Code Size 1,826 bytes

Events (2) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

totalSupply Variable

uint256 help

balanceOf Variable

mapping(address => uint256) help

allowance Variable

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

Functions Expand All Collapse All

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 success) {
  require(balanceOf[msg.sender] >= value);

  balanceOf[msg.sender] -= value; // deduct from sender's balance
  balanceOf[to] += value; // add to recipient's balance
  emit Transfer(msg.sender, to, value);
  return true;
}

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 returns (bool success) {
  allowance[msg.sender][spender] = value;
  emit Approval(msg.sender, spender, value);
  return true;
}

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 returns (bool success) {
  require(value <= balanceOf[from]);
  require(value <= allowance[from][msg.sender]);

  balanceOf[from] -= value;
  balanceOf[to] += value;
  allowance[from][msg.sender] -= value;
  emit Transfer(from, to, value);
  return true;
}

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.