Blockwell

Vibe

ERC20

This contract is an ERC20 token.

Name Vibe
Symbol VIB
Decimals 18
Total Supply 200,000,000 VIB

About link description

Viberate (VIB) is a cryptocurrency and operates on the Ethereum platform. Viberate has a current supply of 200,000,000 with 196,825,000 in circulation. The last known price of Viberate is 0.03122675 USD and is down -0.53 over the last 24 hours. It is currently trading on 16 active market(s) with $857,983.68 traded over the last 24 hours. More information can be found at https://www.viberate.com/.

Stats

Public Functions 12
Event Types 5
Code Size 6,848 bytes

Events (5) keyboard_arrow_up

Approval Event

Parameters help
_owner
address help
_spender
address help
_value
uint256 help

ContractLocked Event

Parameters help
_untilBlock
uint256 help
_reason
string help

Mint Event

Parameters help
_to
address help
_value
uint256 help

OwnerUpdate Event

Parameters help
_prevOwner
address help
_newOwner
address help

Transfer Event

Parameters help
_from
address help
_to
address help
_value
uint256 help

standard Variable

string help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

crowdsaleContractAddress Variable

address help

owner Variable

address help

newOwner Variable

address help

lockedUntilBlock Variable

uint256 help

supply Variable

uint256 help
Internal Variable

balances Variable

mapping(address => uint256) help
Internal Variable

allowances Variable

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

Functions Expand All Collapse All

Parameters help

Name Type
_newOwner
address help

Properties

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

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function acceptOwnership() public {
  require(msg.sender == newOwner);
  OwnerUpdate(owner, newOwner);
  owner = newOwner;
  newOwner = 0x0;
}

Parameters help

Name Type
_untilBlock
uint256 help
_reason
string help

Properties

Visibility help public
Mutability help transaction
Source Code
function lockUntil(uint256 _untilBlock, string _reason) onlyOwner {
  lockedUntilBlock = _untilBlock;
  ContractLocked(_untilBlock, _reason);
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help constant
Source Code
function totalSupply() constant returns (uint256) {
  return supply;
}

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
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

Source Code
function transfer(address _to, uint256 _value)
  lockAffected
  returns (bool success)
{
  require(_to != 0x0 && _to != address(this));
  balances[msg.sender] = balances[msg.sender].sub(_value); // Deduct senders balance
  balances[_to] = balances[_to].add(_value); // Add recivers blaance
  Transfer(msg.sender, _to, _value); // Raise Transfer event
  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
) lockAffected returns (bool success) {
  require(_to != 0x0 && _to != address(this));
  balances[_from] = balances[_from].sub(_value); // Deduct senders balance
  balances[_to] = balances[_to].add(_value); // Add recipient blaance
  allowances[_from][msg.sender] = allowances[_from][msg.sender].sub(_value); // Deduct allowance for this address
  Transfer(_from, _to, _value); // Raise Transfer event
  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)
  lockAffected
  returns (bool success)
{
  allowances[msg.sender][_spender] = _value; // Set allowance
  Approval(msg.sender, _spender, _value); // Raise Approval event
  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 allowances[_owner][_spender];
}

Parameters help

Name Type
_spender
address help
_value
uint256 help
_extraData
bytes help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function approveAndCall(
  address _spender,
  uint256 _value,
  bytes _extraData
) lockAffected returns (bool success) {
  ItokenRecipient spender = ItokenRecipient(_spender); // Cast spender to tokenRecipient contract
  approve(_spender, _value); // Set approval to contract for _value
  spender.receiveApproval(msg.sender, _value, this, _extraData); // Raise method on _spender contract
  return true;
}

Parameters help

Name Type
_to
address help
_amount
uint256 help

Properties

Visibility help public
Mutability help transaction
Source Code
function mintTokens(address _to, uint256 _amount) {
  require(msg.sender == crowdsaleContractAddress);

  supply = supply.add(_amount);
  balances[_to] = balances[_to].add(_amount);
  Mint(_to, _amount);
  Transfer(0x0, _to, _amount);
}

Parameters help

Name Type
_tokenAddress
address help
_to
address help
_amount
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function salvageTokensFromContract(
  address _tokenAddress,
  address _to,
  uint256 _amount
) onlyOwner {
  IERC20Token(_tokenAddress).transfer(_to, _amount);
}

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 Lockable.lockFromSelf keyboard_arrow_up

Parameters help

Name Type
_untilBlock
uint256 help
_reason
string help

Properties

Visibility help internal
Mutability help transaction
Source Code
function lockFromSelf(uint256 _untilBlock, string _reason) internal {
  lockedUntilBlock = _untilBlock;
  ContractLocked(_untilBlock, _reason);
}