ERC20
This contract is an ERC20 token.
Name
PayPie
Symbol
PPP
Decimals
18
Total Supply
165,000,000 PPP
About
link
description
PayPie (PPP) is a cryptocurrency token and operates on the Ethereum platform. PayPie has a current supply of 165,000,000 with 82,500,000 in circulation. The last known price of PayPie is $0.014741 USD and is up 4.66% over the last 24 hours. It is currently trading on 2 active market(s) with $0 traded over the last 24 hours. More information can be found at https://www.paypie.bb/.
Stats
Public Functions
13
Event Types
2
Code Size
6,750 bytes
Events (2) keyboard_arrow_up
Functions
transferOwnership keyboard_arrow_up
kill keyboard_arrow_up
balanceOf keyboard_arrow_up
allowance keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
onlyUnlocked checks for the following:
Source Code
function transfer(address _to, uint _value) public onlyUnlocked returns(bool) {
balances[msg.sender] = safeSub(balances[msg.sender], _value);
balances[_to] = safeAdd(balances[_to], _value);
Transfer(msg.sender, _to, _value);
return true;
}
transferFrom keyboard_arrow_up
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint _value) public returns(bool) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
unlock keyboard_arrow_up
lock keyboard_arrow_up
burn keyboard_arrow_up
Modifiers help
onlyAuthorized checks for the following:
Source Code
function burn( address _member, uint256 _value) public onlyAuthorized returns(bool) {
balances[_member] = safeSub(balances[_member], _value);
totalSupply = safeSub(totalSupply, _value);
Transfer(_member, 0x0, _value);
return true;
}
transferFrom keyboard_arrow_up
Modifiers help
onlyUnlocked checks for the following:
Requirements help
Source Code
function transferFrom(address _from, address _to, uint256 _value) public onlyUnlocked returns(bool success) {
require(_to != address(0));
require (balances[_from] >= _value); // Check if the sender has enough
require (_value <= allowed[_from][msg.sender]); // Check if allowed is greater or equal
balances[_from] = safeSub(balances[_from], _value); // Subtract from the sender
balances[_to] = safeAdd(balances[_to],_value); // Add the same to the recipient
allowed[_from][msg.sender] = safeSub(allowed[_from][msg.sender],_value); // decrease allowed amount
Transfer(_from, _to, _value);
return true;
}
increaseApproval keyboard_arrow_up
Source Code
function increaseApproval (address _spender, uint _addedValue) public returns (bool success) {
allowed[msg.sender][_spender] = safeAdd(allowed[msg.sender][_spender], _addedValue);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
decreaseApproval keyboard_arrow_up
Source Code
function decreaseApproval (address _spender, uint _subtractedValue) public returns (bool success) {
uint oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowed[msg.sender][_spender] = 0;
} else {
allowed[msg.sender][_spender] = safeSub(oldValue, _subtractedValue);
}
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}