Blockwell

STPT

ERC20

This contract is an ERC20 token.

Name STPT
Symbol STPT
Decimals 18
Total Supply 1,942,420,283 STPT

About link description

Standard Tokenization Protocol (STPT) is a cryptocurrency and operates on the Ethereum platform. Standard Tokenization Protocol has a current supply of 1,942,420,283.027067 with 1,123,059,889.027067 in circulation. The last known price of Standard Tokenization Protocol is 0.04154724 USD and is down -2.52 over the last 24 hours. It is currently trading on 22 active market(s) with $4,660,970.63 traded over the last 24 hours. More information can be found at https://stp.network/.

Stats

Public Functions 8
Event Types 2
Code Size 7,105 bytes

Library Use

Uses SafeMath for uint.

Events (2) keyboard_arrow_up

Approval Event

Parameters help
tokenOwner
address help
spender
address help
tokens
uint help

Transfer Event

Parameters help
from
address help
to
address help
tokens
uint help

symbol Variable

string help

name Variable

string help

decimals Variable

uint8 help

_totalSupply Variable

uint help
Internal Variable

balances Variable

mapping(address => uint) help
Internal Variable

allowed Variable

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

Functions Expand All Collapse All

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help constant
Source Code
function totalSupply() public constant returns (uint256) {
  return _totalSupply - balances[address(0)];
}

Parameters help

Name Type
tokenOwner
address help

Properties

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

Parameters help

Name Type
tokenOwner
address help
spender
address help

Properties

Visibility help public
Mutability help constant
Source Code
function allowance(address tokenOwner, address spender)
  public
  constant
  returns (uint256 remaining)
{
  return allowed[tokenOwner][spender];
}

Parameters help

Name Type
to
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function transfer(address to, uint256 tokens) public returns (bool success) {
  balances[msg.sender] = balances[msg.sender].sub(tokens);
  balances[to] = balances[to].add(tokens);
  emit Transfer(msg.sender, to, tokens);
  return true;
}

Parameters help

Name Type
spender
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address spender, uint256 tokens)
  public
  returns (bool success)
{
  allowed[msg.sender][spender] = tokens;
  emit Approval(msg.sender, spender, tokens);
  return true;
}

Parameters help

Name Type
from
address help
to
address help
tokens
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferFrom(
  address from,
  address to,
  uint256 tokens
) public returns (bool success) {
  balances[from] = balances[from].sub(tokens);
  allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens);
  balances[to] = balances[to].add(tokens);
  emit Transfer(from, to, tokens);
  return true;
}

Parameters help

Name Type
spender
address help
tokens
uint help
data
bytes help

Properties

Visibility help public
Mutability help transaction
Source Code
function approveAndCall(
  address spender,
  uint256 tokens,
  bytes data
) public returns (bool success) {
  allowed[msg.sender][spender] = tokens;
  emit Approval(msg.sender, spender, tokens);
  ApproveAndCallFallBack(spender).receiveApproval(
    msg.sender,
    tokens,
    this,
    data
  );
  return true;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help payable
Source Code
function() public payable {
  revert();
}

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.