Blockwell

BitCapitalVendorToken

ERC20

This contract is an ERC20 token.

Name BitCapitalVendorToken
Symbol BCV
Decimals 8
Total Supply 1,200,000,000 BCV

About link

BitCapitalVendor (BCV) is a cryptocurrency and operates on the Ethereum platform. BitCapitalVendor has a current supply of 1,200,000,000 with 1,021,199,994.51 in circulation. The last known price of BitCapitalVendor is 0.00203185 USD and is down -2.44 over the last 24 hours. It is currently trading on 4 active market(s) with $93,275.80 traded over the last 24 hours. More information can be found at https://www.bitcv.com.

Stats

Public Functions 9
Event Types 2
Code Size 5,633 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

decimals Constant

uint256 help
8

symbol Constant

string help
BCV

name Constant

string help
BitCapitalVendorToken

_totalSupply Variable

uint256 help

owner Variable

address help

totalTokenSold Variable

uint256 help

balances Variable

mapping(address => uint256) help
Internal Variable

allowed Variable

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

approvedInvestorList Variable

mapping(address => bool) help
Internal Variable

deposit Variable

mapping(address => uint256) help
Internal Variable

Functions Expand All Collapse All

Parameters help

This function has no parameters.

Properties

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

Parameters help

Name Type
_addr
address help

Properties

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

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) public returns (bool) {
  // if sender's balance has enough unit and amount >= 0,
  //      and the sum is not overflow,
  // then do transfer
  if (
    (balances[msg.sender] >= _amount) &&
    (_amount >= 0) &&
    (balances[_to] + _amount > balances[_to])
  ) {
    balances[msg.sender] -= _amount;
    balances[_to] += _amount;
    Transfer(msg.sender, _to, _amount);
    return true;
  } else {
    return false;
  }
}

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
) public returns (bool success) {
  if (
    balances[_from] >= _amount &&
    _amount > 0 &&
    allowed[_from][msg.sender] >= _amount
  ) {
    balances[_from] -= _amount;
    allowed[_from][msg.sender] -= _amount;
    balances[_to] += _amount;
    Transfer(_from, _to, _amount);
    return true;
  } else {
    return false;
  }
}

Parameters help

Name Type
_spender
address help
_amount
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

One or more of the following:
Source Code
function approve(address _spender, uint256 _amount)
  public
  returns (bool success)
{
  require((_amount == 0) || (allowed[msg.sender][_spender] == 0));
  allowed[msg.sender][_spender] = _amount;
  Approval(msg.sender, _spender, _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)
  public
  constant
  returns (uint256 remaining)
{
  return allowed[_owner][_spender];
}

isApprovedInvestor keyboard_arrow_up

Parameters help

Name Type
_addr
address help

Properties

Visibility help public
Mutability help constant
Source Code
function isApprovedInvestor(address _addr) public constant returns (bool) {
  return approvedInvestorList[_addr];
}

getDeposit keyboard_arrow_up

Parameters help

Name Type
_addr
address help

Properties

Visibility help public
Mutability help constant
Source Code
function getDeposit(address _addr) public constant returns (uint256) {
  return deposit[_addr];
}

constructor keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help payable
Source Code
function() public payable {
  revert();
}

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.