Blockwell

PayPie

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 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.02238091 USD and is up 1.79 over the last 24 hours. It is currently trading on 1 active market(s) with $0.00 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

Approval Event

Parameters help
owner
address help
spender
address help
value
uint help

Transfer Event

Parameters help
from
address help
to
address help
value
uint help

name Variable

string help

symbol Variable

string help

decimals Variable

uint8 help

version Variable

string help

initialSupply Variable

uint help

totalSupply Variable

uint help

locked Variable

bool help

preSaleAddress Variable

address help

totalSupply Variable

uint help

owner Variable

address help

balances Variable

mapping(address => uint) help
Internal Variable

allowed Variable

mapping(address => mapping(address => uint)) help
Internal Variable

Functions Expand All Collapse All

Parameters help

Name Type
newOwner
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) public onlyOwner {
  if (newOwner != address(0)) owner = newOwner;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction
Source Code
function kill() public {
  if (msg.sender == owner) selfdestruct(owner);
}

Parameters help

Name Type
_owner
address help

Properties

Visibility help public
Mutability help view
Source Code
function balanceOf(address _owner) public view returns (uint256 balance) {
  return balances[_owner];
}

Parameters help

Name Type
_owner
address help
_spender
address help

Properties

Visibility help public
Mutability help view
Source Code
function allowance(address _owner, address _spender)
  public
  view
  returns (uint256 remaining)
{
  return allowed[_owner][_spender];
}

Parameters help

Name Type
_to
address help
_value
uint help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyUnlocked checks for the following:
Source Code
function transfer(address _to, uint256 _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;
}

Parameters help

Name Type
from
address help
to
address help
value
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function transferFrom(
  address from,
  address to,
  uint256 value
) public returns (bool ok);

Parameters help

Name Type
_spender
address help
_value
uint help

Properties

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

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAuthorized checks for the following:
Source Code
function unlock() public onlyAuthorized {
  locked = false;
}

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAuthorized checks for the following:
Source Code
function lock() public onlyAuthorized {
  locked = true;
}

Parameters help

Name Type
_member
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

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

Parameters help

Name Type
_from
address help
_to
address help
_value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyUnlocked checks for the following:
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;
}

Parameters help

Name Type
_spender
address help
_addedValue
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function increaseApproval(address _spender, uint256 _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;
}

Parameters help

Name Type
_spender
address help
_subtractedValue
uint help

Properties

Visibility help public
Mutability help transaction
Source Code
function decreaseApproval(address _spender, uint256 _subtractedValue)
  public
  returns (bool success)
{
  uint256 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;
}

Internal Functions Expand All Collapse All

Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.

internal SafeMath.safeMul keyboard_arrow_up

Parameters help

Name Type
a
uint help
b
uint help

Properties

Visibility help internal
Mutability help pure
Source Code
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
  uint256 c = a * b;
  assert(a == 0 || c / a == b);
  return c;
}

internal SafeMath.safeSub keyboard_arrow_up

Parameters help

Name Type
a
uint help
b
uint help

Properties

Visibility help internal
Mutability help pure

Requirements help

Source Code
function safeSub(uint256 a, uint256 b) internal pure returns (uint256) {
  assert(b <= a);
  return a - b;
}

internal SafeMath.safeAdd keyboard_arrow_up

Parameters help

Name Type
a
uint help
b
uint help

Properties

Visibility help internal
Mutability help pure
Source Code
function safeAdd(uint256 a, uint256 b) internal pure returns (uint256) {
  uint256 c = a + b;
  assert(c >= a && c >= b);
  return c;
}