Neutrino System Base Token
ERC20
This contract is an ERC20 token.
Name
Neutrino System Base Token
Symbol
NSBT
Decimals
6
Total Supply
1,000,000,000,000 NSBT
About link description
Neutrino Token (NSBT) is a cryptocurrency and operates on the Ethereum platform. Neutrino Token has a current supply of 2,157,585.778175. The last known price of Neutrino Token is 23.78247134 USD and is up 4.17 over the last 24 hours. It is currently trading on 6 active market(s) with $133,397.67 traded over the last 24 hours. More information can be found at https://neutrino.at/.
Stats
Public Functions
11
Event Types
2
Code Size
4,610 bytes
State Variables (6) keyboard_arrow_up
Functions
name keyboard_arrow_up
symbol keyboard_arrow_up
decimals keyboard_arrow_up
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Requirements help
Source Code
function transfer(address recipient, uint256 amount)
public
virtual
override
returns (bool)
{
_transfer(msg.sender, recipient, amount);
return true;
}
allowance keyboard_arrow_up
approve keyboard_arrow_up
Requirements help
Source Code
function approve(address spender, uint256 amount)
public
virtual
override
returns (bool)
{
_approve(msg.sender, spender, amount);
return true;
}
transferFrom keyboard_arrow_up
Requirements help
Source Code
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 allowanceSender = _allowances[sender][msg.sender];
require(
amount <= allowanceSender,
"ERC20: transfer amount exceeds allowance"
);
_approve(sender, msg.sender, allowanceSender - amount);
return true;
}
increaseAllowance keyboard_arrow_up
Requirements help
Source Code
function increaseAllowance(address spender, uint256 addedValue)
public
virtual
returns (bool)
{
uint256 sum = _allowances[msg.sender][spender] + addedValue;
require(sum >= addedValue, "SafeMath: addition overflow");
_approve(msg.sender, spender, sum);
return true;
}
decreaseAllowance keyboard_arrow_up
Requirements help
Source Code
function decreaseAllowance(address spender, uint256 subtractedValue)
public
virtual
returns (bool)
{
uint256 temp = _allowances[msg.sender][spender];
require(subtractedValue <= temp, "ERC20: decreased allowance below zero");
_approve(msg.sender, spender, temp - subtractedValue);
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.
internal ERC20._transfer keyboard_arrow_up
Requirements help
Source Code
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
uint256 temp = _balances[sender];
require(amount <= temp, "ERC20: transfer amount exceeds balance");
_balances[sender] = temp - amount;
temp = _balances[recipient];
require(temp + amount >= temp, "SafeMath: addition overflow");
_balances[recipient] = temp + amount;
emit Transfer(sender, recipient, amount);
}
internal ERC20._approve keyboard_arrow_up
Requirements help
Source Code
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}