Blockwell

All Sports Coin

About link description

All Sports (SOC) is a cryptocurrency and operates on the Ethereum platform. All Sports has a current supply of 1,500,000,000 with 1,499,999,999.6973062 in circulation. The last known price of All Sports is 0.01733197 USD and is up 0.51 over the last 24 hours. It is currently trading on 8 active market(s) with $2,973,250.47 traded over the last 24 hours. More information can be found at https://www.allsportschain.com/.

Stats

Public Functions 1
Event Types 1
Code Size 3,740 bytes

Events (1) keyboard_arrow_up

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

owner Variable

address help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

totalSupply Variable

uint256 help

balanceOf Variable

mapping(address => uint256) help

Functions Expand All Collapse All

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function transfer(address _to, uint256 _value) public {
  _transfer(msg.sender, _to, _value);
}

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.

internal AllSportsCoin._transfer keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help internal
Mutability help transaction

Requirements help

Source Code
function _transfer(
  address _from,
  address _to,
  uint256 _value
) internal {
  require(_to != 0x0); // Prevent transfer to 0x0 address. Use burn() instead
  require(balanceOf[_from] >= _value); // Check if the sender has enough
  require(balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows
  balanceOf[_from] -= _value; // Subtract from the sender
  balanceOf[_to] += _value; // Add the same to the recipient
  Transfer(_from, _to, _value);
}

internal TokenERC20._transfer keyboard_arrow_up

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help internal
Mutability help transaction

Requirements help

Source Code
function _transfer(
  address _from,
  address _to,
  uint256 _value
) internal {
  // Prevent transfer to 0x0 address. Use burn() instead
  require(_to != 0x0);
  // Check if the sender has enough
  require(balanceOf[_from] >= _value);
  // Check for overflows
  require(balanceOf[_to] + _value > balanceOf[_to]);
  // Save this for an assertion in the future
  uint256 previousBalances = balanceOf[_from] + balanceOf[_to];
  // Subtract from the sender
  balanceOf[_from] -= _value;
  // Add the same to the recipient
  balanceOf[_to] += _value;
  Transfer(_from, _to, _value);
  // Asserts are used to use static analysis to find bugs in your code. They should never fail
  assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
}