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
State Variables (11) keyboard_arrow_up
Functions
changeOwner keyboard_arrow_up
confirmOwner keyboard_arrow_up
changeBackend keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function changeBackend(address _cryptaurBackend) public onlyOwner {
cryptaurBackend = _cryptaurBackend;
}
mintTokens keyboard_arrow_up
Parameters help
Requirements help
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
transfer keyboard_arrow_up
Modifiers help
onlyPayloadSize checks for the following:
Requirements 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
Modifiers help
onlyPayloadSize checks for the following:
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);
}
approve keyboard_arrow_up
allowance 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.