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
Events (3) 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, 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
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, 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);
}