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
State Variables (19) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) onlyOwner {
if (newOwner != address(0)) {
owner = newOwner;
}
}
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
notBeforeCrowdfundEnds checks for the following:
Requirements help
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;
}
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
Modifiers help
notBeforeCrowdfundEnds checks for the following:
Requirements help
_amount
must be less than or equal to
the result of calling allowance with _from, the sender's address
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;
}
approve keyboard_arrow_up
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
Modifiers help
onlyOwner checks for the following:
nonZeroAddress checks for the following:
Requirements help
Source Code
function setCrowdfundAddress(address _crowdfundAddress)
external
onlyOwner
nonZeroAddress(_crowdfundAddress)
{
require(crowdfundAddress == 0x0);
crowdfundAddress = _crowdfundAddress;
addToBalance(crowdfundAddress, icoSupply);
}
transferFromCrowdfund keyboard_arrow_up
Modifiers help
onlyCrowdfund checks for the following:
nonZeroAmount checks for the following:
nonZeroAddress checks for the following:
Requirements help
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.
Modifiers help
checkVanbexTeamVestingPeriod checks for the following:
onlyOwner checks for the following:
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.
Modifiers help
onlyOwner checks for the following:
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.
Modifiers help
onlyCrowdfund checks for the following:
Requirements help
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
Modifiers help
onlyOwner checks for the following:
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
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
Modifiers help
onlyOwner checks for the following:
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);
}