Proton Token
ERC20
This contract is an ERC20 token.
Name
Proton Token
Symbol
PTT
Decimals
18
Total Supply
10,000,000,000 PTT
About
link
Proton Token (PTT) is a cryptocurrency token and operates on the Ethereum platform. Proton Token has a current supply of 10,000,000,000 with 8,292,071,228.097 in circulation. The last known price of Proton Token is $0.000055 USD and is up 13.22% over the last 24 hours. It is currently trading on 3 active market(s) with $80,677.56 traded over the last 24 hours. More information can be found at https://www.proton.global/.
Stats
Public Functions
11
Event Types
4
Code Size
6,219 bytes
Events (4) keyboard_arrow_up
Functions
transfer keyboard_arrow_up
Requirements help
Source Code
function transfer(address _to, uint256 _value) public {
_transfer(msg.sender, _to, _value);
}
transferFrom keyboard_arrow_up
Requirements help
Source Code
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
require(_value <= allowance[_from][msg.sender]);
allowance[_from][msg.sender] = SafeMath.safeSub(allowance[_from][msg.sender],_value);
_transfer(_from, _to, _value);
return true;
}
approve keyboard_arrow_up
approveAndCall keyboard_arrow_up
Source Code
function approveAndCall(address _spender, uint256 _value, bytes _extraData)
public
returns (bool success) {
tokenRecipient spender = tokenRecipient(_spender);
if (approve(_spender, _value)) {
spender.receiveApproval(msg.sender, _value, this, _extraData);
return true;
}
}
transferOwnership keyboard_arrow_up
burnFrom keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function burnFrom(address _from, uint256 _value) onlyOwner public returns (bool success) {
require(balanceOf[_from] >= _value);
require(_value <= allowance[_from][msg.sender]);
balanceOf[_from] = SafeMath.safeSub(balanceOf[_from], _value);
allowance[_from][msg.sender] = SafeMath.safeSub(allowance[_from][msg.sender], _value);
totalSupply = SafeMath.safeSub(totalSupply, _value);
Burn(_from, _value);
return true;
}
burn keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Requirements help
Source Code
function burn(uint256 _value) onlyOwner public returns (bool success) {
require(balanceOf[msg.sender] >= _value);
balanceOf[msg.sender] = SafeMath.safeSub(balanceOf[msg.sender], _value);
totalSupply = SafeMath.safeSub(totalSupply, _value);
Burn(msg.sender, _value);
return true;
}
freezeAccount keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function freezeAccount(address target, bool freeze) onlyOwner public {
frozenAccount[target] = freeze;
FrozenFunds(target, freeze);
}
constructor keyboard_arrow_up
withdrawEther keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function withdrawEther(uint256 amount) onlyOwner public {
msg.sender.transfer(amount);
}