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
Functions
transfer keyboard_arrow_up
Requirements help
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;
}
approve keyboard_arrow_up
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;
}
transferFrom keyboard_arrow_up
Requirements help
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
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.