Blockwell

Fuel Token

ERC20

This contract is an ERC20 token.

Name Fuel Token
Symbol FUEL
Decimals 18
Total Supply 1,000,000,000 FUEL

About link description

Etherparty (FUEL) is a cryptocurrency and operates on the Ethereum platform. Etherparty has a current supply of 1,000,000,000. The last known price of Etherparty is 0.0008182 USD and is down -1.55 over the last 24 hours. It is currently trading on 2 active market(s) with $79,260.13 traded over the last 24 hours. More information can be found at https://etherparty.com/.

Stats

Public Functions 12
Event Types 4
Code Size 13,611 bytes

Library Use

Uses SafeMath for uint.

Events (4) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

CrowdfundFinalized Event

Parameters help
tokensRemaining
uint help

PresaleFinalized Event

Parameters help
tokensRemaining
uint help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

name Constant

string help
Fuel Token

symbol Constant

string help
FUEL

decimals Variable

uint8 help

vanbexTeamSupply Variable

uint256 help

platformSupply Variable

uint256 help

presaleSupply Variable

uint256 help

presaleAmountRemaining Variable

uint256 help

icoSupply Variable

uint256 help

incentivisingEffortsSupply Variable

uint256 help

crowdfundEndsAt Variable

uint256 help

vanbexTeamVestingPeriod Variable

uint256 help

crowdfundAddress Variable

address help

vanbexTeamAddress Variable

address help

platformAddress Variable

address help

incentivisingEffortsAddress Variable

address help

presaleFinalized Variable

bool help

crowdfundFinalized Variable

bool help

totalSupply Variable

uint256 help

owner Variable

address help

balances Variable

mapping(address => uint256) help
Internal Variable

allowed Variable

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

Functions Expand All Collapse All

transferOwnership keyboard_arrow_up

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferOwnership(address newOwner) onlyOwner {
  if (newOwner != address(0)) {
    owner = newOwner;
  }
}

Parameters help

Name Type
_owner
address help

Properties

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

Parameters help

Name Type
_to
address help
_amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transfer(address _to, uint256 _amount)
  notBeforeCrowdfundEnds
  returns (bool success)
{
  require(balanceOf(msg.sender) >= _amount);
  addToBalance(_to, _amount);
  decrementBalance(msg.sender, _amount);
  Transfer(msg.sender, _to, _amount);
  return true;
}

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

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

Parameters help

Name Type
_from
address help
_to
address help
_amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _amount
) notBeforeCrowdfundEnds returns (bool success) {
  require(allowance(_from, msg.sender) >= _amount);
  decrementBalance(_from, _amount);
  addToBalance(_to, _amount);
  allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount);
  Transfer(_from, _to, _amount);
  return true;
}

Parameters help

Name Type
_spender
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

One or more of the following:
Source Code
function approve(address _spender, uint256 _value) returns (bool success) {
  require((_value == 0) || (allowance(msg.sender, _spender) == 0));
  allowed[msg.sender][_spender] = _value;
  Approval(msg.sender, _spender, _value);
  return true;
}

setCrowdfundAddress keyboard_arrow_up

Parameters help

Name Type
_crowdfundAddress
address help

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function setCrowdfundAddress(address _crowdfundAddress)
  external
  onlyOwner
  nonZeroAddress(_crowdfundAddress)
{
  require(crowdfundAddress == 0x0);
  crowdfundAddress = _crowdfundAddress;
  addToBalance(crowdfundAddress, icoSupply);
}

transferFromCrowdfund keyboard_arrow_up

Parameters help

Name Type
_to
address help
_amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferFromCrowdfund(address _to, uint256 _amount)
  onlyCrowdfund
  nonZeroAmount(_amount)
  nonZeroAddress(_to)
  returns (bool success)
{
  require(balanceOf(crowdfundAddress) >= _amount);
  decrementBalance(crowdfundAddress, _amount);
  addToBalance(_to, _amount);
  Transfer(0x0, _to, _amount);
  return true;
}

releaseVanbexTeamTokens keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function releaseVanbexTeamTokens()
  checkVanbexTeamVestingPeriod
  onlyOwner
  returns (bool success)
{
  require(vanbexTeamSupply > 0);
  addToBalance(vanbexTeamAddress, vanbexTeamSupply);
  Transfer(0x0, vanbexTeamAddress, vanbexTeamSupply);
  vanbexTeamSupply = 0;
  return true;
}

finalizePresale keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Requirements help

Source Code
function finalizePresale() external onlyOwner returns (bool success) {
  require(presaleFinalized == false);
  uint256 amount = presaleAmountRemaining;
  if (amount != 0) {
    presaleAmountRemaining = 0;
    addToBalance(crowdfundAddress, amount);
  }
  presaleFinalized = true;
  PresaleFinalized(amount);
  return true;
}

finalizeCrowdfund keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function finalizeCrowdfund() external onlyCrowdfund {
  require(presaleFinalized == true && crowdfundFinalized == false);
  uint256 amount = balanceOf(crowdfundAddress);
  if (amount > 0) {
    balances[crowdfundAddress] = 0;
    addToBalance(platformAddress, amount);
    Transfer(crowdfundAddress, platformAddress, amount);
  }
  crowdfundFinalized = true;
  CrowdfundFinalized(amount);
}

deliverPresaleFuelBalances keyboard_arrow_up

Parameters help

Name Type
_batchOfAddresses
address[] help
_amountOfFuel
uint[] help

Properties

Visibility help public
Mutability help transaction
Source Code
function deliverPresaleFuelBalances(
  address[] _batchOfAddresses,
  uint256[] _amountOfFuel
) external onlyOwner returns (bool success) {
  for (uint256 i = 0; i < _batchOfAddresses.length; i++) {
    deliverPresaleFuelBalance(_batchOfAddresses[i], _amountOfFuel[i]);
  }
  return true;
}

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 FuelToken.deliverPresaleFuelBalance keyboard_arrow_up

Parameters help

Name Type
_accountHolder
address help
_amountOfBoughtFuel
uint help

Properties

Visibility help internal
Mutability help transaction

Requirements help

Source Code
function deliverPresaleFuelBalance(
  address _accountHolder,
  uint256 _amountOfBoughtFuel
) internal onlyOwner {
  require(presaleAmountRemaining > 0);
  addToBalance(_accountHolder, _amountOfBoughtFuel);
  Transfer(0x0, _accountHolder, _amountOfBoughtFuel);
  presaleAmountRemaining = presaleAmountRemaining.sub(_amountOfBoughtFuel);
}

internal FuelToken.addToBalance keyboard_arrow_up

Parameters help

Name Type
_address
address help
_amount
uint help

Properties

Visibility help internal
Mutability help transaction
Source Code
function addToBalance(address _address, uint256 _amount) internal {
  balances[_address] = balances[_address].add(_amount);
}

internal FuelToken.decrementBalance keyboard_arrow_up

Parameters help

Name Type
_address
address help
_amount
uint help

Properties

Visibility help internal
Mutability help transaction
Source Code
function decrementBalance(address _address, uint256 _amount) internal {
  balances[_address] = balances[_address].sub(_amount);
}