Request Token
ERC20
This contract is an ERC20 token.
Name
Request Token
Symbol
REQ
Decimals
18
Total Supply
999,966,002 REQ
About link description
Request (REQ) is a cryptocurrency and operates on the Ethereum platform. Request has a current supply of 999,881,816.4083943 with 999,881,815.5643944 in circulation. The last known price of Request is 0.04756163 USD and is down -0.93 over the last 24 hours. It is currently trading on 29 active market(s) with $767,869.61 traded over the last 24 hours. More information can be found at https://request.network/.
Identical Contracts
The following contracts have identical source code.
Stats
Public Functions
13
Event Types
4
Code Size
22,856 bytes
Events (4) keyboard_arrow_up
State Variables (7) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0));
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Source Code
function transfer(address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
// SafeMath.sub will throw if there is not enough balance.
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) public returns (bool) {
require(_to != address(0));
uint256 _allowance = allowed[_from][msg.sender];
// Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
// require (_value <= _allowance);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = _allowance.sub(_value);
Transfer(_from, _to, _value);
return true;
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value) public returns (bool) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
increaseApproval keyboard_arrow_up
Source Code
function increaseApproval(address _spender, uint256 _addedValue)
returns (bool success)
{
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(
_addedValue
);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
decreaseApproval keyboard_arrow_up
Source Code
function decreaseApproval(address _spender, uint256 _subtractedValue)
returns (bool success)
{
uint256 oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowed[msg.sender][_spender] = 0;
} else {
allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
}
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
transfer keyboard_arrow_up
Modifiers help
validDestination checks for the following:
onlyWhenTransferEnabled checks for the following:
Source Code
function transfer(address _to, uint256 _value)
public
validDestination(_to)
onlyWhenTransferEnabled
returns (bool)
{
return super.transfer(_to, _value);
}
transferFrom keyboard_arrow_up
Modifiers help
validDestination checks for the following:
onlyWhenTransferEnabled checks for the following:
Source Code
function transferFrom(
address _from,
address _to,
uint256 _value
) public validDestination(_to) onlyWhenTransferEnabled returns (bool) {
return super.transferFrom(_from, _to, _value);
}
burn keyboard_arrow_up
Modifiers help
onlyWhenTransferEnabled checks for the following:
Source Code
function burn(uint256 _value) public onlyWhenTransferEnabled returns (bool) {
balances[msg.sender] = balances[msg.sender].sub(_value);
totalSupply = totalSupply.sub(_value);
Burn(msg.sender, _value);
Transfer(msg.sender, address(0x0), _value);
return true;
}
burnFrom keyboard_arrow_up
emergencyERC20Drain keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function emergencyERC20Drain(ERC20 token, uint256 amount) public onlyOwner {
token.transfer(owner, amount);
}
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.