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.
State Variables (6) keyboard_arrow_up
Functions
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
allowance keyboard_arrow_up
transfer keyboard_arrow_up
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;
}
approve keyboard_arrow_up
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;
}
transferFrom keyboard_arrow_up
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;
}
approveAndCall keyboard_arrow_up
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;
}
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.