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 token and operates on the Ethereum platform. Cryptaur has a current supply of 27,662,180,148.279 with 12,910,321,436.554 in circulation. The last known price of Cryptaur is $0.000146 USD and is up 6.01% over the last 24 hours. It is currently trading on 2 active market(s) with $20,210.23 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

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

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) onlyOwner public {
        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, uint _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() onlyOwner public {
        crowdsaleFinished = true;
    }

transfer keyboard_arrow_up

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

transferFrom keyboard_arrow_up

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, uint _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);
    }

approve keyboard_arrow_up

Parameters help

Name Type
_spender
address help
_value
uint help

Properties

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

allowance keyboard_arrow_up

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 (uint remaining) {
        return allowed[_owner][_spender];
    }