Blockwell

Gene Source Code Chain

ERC20

This contract is an ERC20 token.

Name Gene Source Code Chain
Symbol Gene
Decimals 18
Total Supply 2,000,000,000 Gene

About link

Gene Source Code Chain (GENE) is a cryptocurrency and operates on the Ethereum platform. Gene Source Code Chain has a current supply of 2,000,000,000 with 375,244,800 in circulation. The last known price of Gene Source Code Chain is 0.00019184 USD and is up 1.79 over the last 24 hours. It is currently trading on 1 active market(s) with $0.00 traded over the last 24 hours. More information can be found at http://www.gscchain.org/.

Stats

Public Functions 7
Event Types 2
Code Size 2,819 bytes

Events (2) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint256 help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

valueFounder Constant

uint256 help
2000000000000000000000000000

name Variable

string help

symbol Variable

string help

decimals Variable

uint256 help

totalSupply Variable

uint256 help

stopped Variable

bool help

balanceOf Variable

mapping(address => uint256) help

allowance Variable

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

owner Variable

address help
Internal Variable

Functions Expand All Collapse All

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function transfer(address _to, uint256 _value)
  isRunning
  validAddress
  returns (bool success)
{
  require(balanceOf[msg.sender] >= _value);
  require(balanceOf[_to] + _value >= balanceOf[_to]);
  balanceOf[msg.sender] -= _value;
  balanceOf[_to] += _value;
  Transfer(msg.sender, _to, _value);
  return true;
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) isRunning validAddress returns (bool success) {
  require(balanceOf[_from] >= _value);
  require(balanceOf[_to] + _value >= balanceOf[_to]);
  require(allowance[_from][msg.sender] >= _value);
  balanceOf[_to] += _value;
  balanceOf[_from] -= _value;
  allowance[_from][msg.sender] -= _value;
  Transfer(_from, _to, _value);
  return true;
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function approve(address _spender, uint256 _value)
  isRunning
  validAddress
  returns (bool success)
{
  require(_value == 0 || allowance[msg.sender][_spender] == 0);
  allowance[msg.sender][_spender] = _value;
  Approval(msg.sender, _spender, _value);
  return true;
}

stop keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function stop() isOwner {
  stopped = true;
}

start keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function start() isOwner {
  stopped = false;
}

setName keyboard_arrow_up

Parameters help

Name Type
_name
string help

Properties

Visibility help public
Mutability help transaction
Source Code
function setName(string _name) isOwner {
  name = _name;
}

burn keyboard_arrow_up

Parameters help

Name Type
_value
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function burn(uint256 _value) {
  require(balanceOf[msg.sender] >= _value);
  balanceOf[msg.sender] -= _value;
  balanceOf[0x0] += _value;
  Transfer(msg.sender, 0x0, _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.