Blockwell

Cryptaur

ERC20

This contract is an ERC20 token.

Name Cryptaur
Symbol CPT
Decimals 8
Total Supply 27,662,180,148 CPT

About link description

Cryptaur (CPT) is a cryptocurrency and operates on the Ethereum platform. Cryptaur has a current supply of 27,662,180,148.278465 with 13,485,673,470.554075 in circulation. The last known price of Cryptaur is 0.00019205 USD and is up 4.12 over the last 24 hours. It is currently trading on 2 active market(s) with $6,953.02 traded over the last 24 hours. More information can be found at https://cryptaur.com/.

Stats

Public Functions 9
Event Types 3
Code Size 3,982 bytes

Events (3) keyboard_arrow_up

Approval Event

Parameters help
owner
address help
spender
address help
value
uint help

Mint Event

Parameters help
minter
address help
tokens
uint help
originalCoinType
uint8 help
originalTxHash
bytes32 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint help

cryptaurBackend Variable

address help

crowdsaleFinished Variable

bool help

totalSupply Variable

uint help

standard Variable

string help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

owner Variable

address help

candidate Variable

address help

balanceOf Variable

mapping(address => uint256) help

allowed Variable

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

Functions Expand All Collapse All

changeOwner keyboard_arrow_up

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function changeOwner(address _owner) public onlyOwner {
  candidate = _owner;
}

confirmOwner keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function confirmOwner() public {
  require(candidate == msg.sender);
  owner = candidate;
  delete candidate;
}

changeBackend keyboard_arrow_up

Parameters help

Name Type
_cryptaurBackend
address help

Properties

Visibility help public
Mutability help transaction
Source Code
function changeBackend(address _cryptaurBackend) public onlyOwner {
  cryptaurBackend = _cryptaurBackend;
}

mintTokens keyboard_arrow_up

Parameters help

Name Type
_minter
address help
_tokens
uint help
_originalCoinType
uint8 help
_originalTxHash
bytes32 help

Properties

Visibility help public
Mutability help transaction
Source Code
function mintTokens(
  address _minter,
  uint256 _tokens,
  uint8 _originalCoinType,
  bytes32 _originalTxHash
) public {
  require(msg.sender == cryptaurBackend);
  require(!crowdsaleFinished);
  balanceOf[_minter] += _tokens;
  totalSupply += _tokens;
  Transfer(this, _minter, _tokens);
  Mint(_minter, _tokens, _originalCoinType, _originalTxHash);
}

finishCrowdsale keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function finishCrowdsale() public onlyOwner {
  crowdsaleFinished = true;
}

Parameters help

Name Type
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Source Code
function transfer(address _to, uint256 _value) public onlyPayloadSize(2 * 32) {
  require(balanceOf[msg.sender] >= _value);
  require(balanceOf[_to] + _value >= balanceOf[_to]);
  balanceOf[msg.sender] -= _value;
  balanceOf[_to] += _value;
  Transfer(msg.sender, _to, _value);
}

Parameters help

Name Type
_from
address help
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public onlyPayloadSize(3 * 32) {
  require(balanceOf[_from] >= _value);
  require(balanceOf[_to] + _value >= balanceOf[_to]); // overflow
  require(allowed[_from][msg.sender] >= _value);
  balanceOf[_from] -= _value;
  balanceOf[_to] += _value;
  allowed[_from][msg.sender] -= _value;
  Transfer(_from, _to, _value);
}

Parameters help

Name Type
_spender
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function approve(address _spender, uint256 _value) public {
  allowed[msg.sender][_spender] = _value;
  Approval(msg.sender, _spender, _value);
}

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];
}

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.