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
State Variables (7) keyboard_arrow_up
Functions
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
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;
}
}
transferFrom keyboard_arrow_up
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;
}
}
approve keyboard_arrow_up
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;
}
allowance keyboard_arrow_up
isApprovedInvestor keyboard_arrow_up
getDeposit keyboard_arrow_up
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.