ETH Price: $3,321.28 (+3.12%)

Contract

0xDcE3A5A521D3580B29231d81165351cB38D22FEA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer90920092019-12-12 2:40:091868 days ago1576118409IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000297018
Transfer74736152019-03-31 2:57:522124 days ago1554001072IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000155623
Transfer74219502019-03-23 1:09:142132 days ago1553303354IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000184695
Transfer72356962019-02-18 10:21:222164 days ago1550485282IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0004085111.04
Transfer71616782019-02-02 3:31:292181 days ago1549078289IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000264885.1
Transfer66945272018-11-13 3:18:252262 days ago1542079105IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000274617.434375
Transfer66945122018-11-13 3:14:522262 days ago1542078892IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000383877.4
Transfer66945082018-11-13 3:13:472262 days ago1542078827IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000383877.4
Transfer66892022018-11-12 6:38:012262 days ago1542004681IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003687510
Transfer66891992018-11-12 6:36:582262 days ago1542004618IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0005193910
Transfer66891962018-11-12 6:36:252262 days ago1542004585IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891882018-11-12 6:34:182262 days ago1542004458IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0005193910
Transfer66891842018-11-12 6:33:202262 days ago1542004400IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891752018-11-12 6:31:132262 days ago1542004273IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891722018-11-12 6:30:422262 days ago1542004242IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891662018-11-12 6:29:592262 days ago1542004199IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891632018-11-12 6:28:302262 days ago1542004110IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0005193910
Transfer66891632018-11-12 6:28:302262 days ago1542004110IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891592018-11-12 6:27:312262 days ago1542004051IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891572018-11-12 6:26:592262 days ago1542004019IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0003693910
Transfer66891472018-11-12 6:25:182262 days ago1542003918IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000367549.95
Transfer66891232018-11-12 6:19:382262 days ago1542003578IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000184695
Transfer66712582018-11-09 8:16:482265 days ago1541751408IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0005193910
Transfer66211492018-11-01 2:53:342274 days ago1541040814IN
0xDcE3A5A5...B38D22FEA
0 ETH0.0004234811.46434867
Transfer65910272018-10-27 4:14:532279 days ago1540613693IN
0xDcE3A5A5...B38D22FEA
0 ETH0.000185015
View all transactions

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PPGold

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-07-11
*/

pragma solidity ^0.4.21;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }
    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

contract PPGold{
    using SafeMath for uint256;
    
    /* Events */
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    
    /* Storage */
    string public constant name = 'PPGold';
    string public constant symbol = 'PPG';
    uint8 public constant decimals = 18;
    address public constant holder = 0x2A97197f759620e66B8cbC5131557031994a8A94;
    
    mapping(address => uint256) balances;
    mapping (address => mapping (address => uint256)) internal allowed;

    uint256 totalSupply_ = 21*10**6*(10**uint(decimals));
    
    /* Getters */
    function totalSupply() public view returns (uint256) {
        return totalSupply_;
    }
    
    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balances[_owner];
    }
    
    function allowance(address _owner, address _spender) public view returns (uint256) {
        return allowed[_owner][_spender];
    }
    
    /* Methods */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
        require(_to != address(0));
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
        emit Transfer(_from, _to, _value);
        return true;
    }
    
    function approve(address _spender, uint256 _value) public returns (bool) {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
        allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }
    
    function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
        uint oldValue = allowed[msg.sender][_spender];
        if (_subtractedValue > oldValue) {
            allowed[msg.sender][_spender] = 0;
        } else {
            allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
        }
        emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
        return true;
    }
    
    function transfer(address _to, uint256 _value) public returns (bool) {
        require(_to != address(0));
        require(_value <= balances[msg.sender]);

        // SafeMath.sub will throw if there is not enough balance.
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        emit Transfer(msg.sender, _to, _value);
        return true;
    }
    
    constructor () public {
        balances[holder] = totalSupply_;
    }
  
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"holder","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

60806040526a115eec47f6cf7e3500000060025534801561001f57600080fd5b50600254732a97197f759620e66b8cbc5131557031994a8a9460009081526020527f5b24443ed0bdb8cb4a528a791249a876b899681154a5a64480cf28219aac100b55610865806100716000396000f3006080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806366188463146101fc57806370a082311461022057806395d89b4114610241578063a9059cbb14610256578063d73dd6231461027a578063dd62ed3e1461029e578063e534155d146102c5575b600080fd5b3480156100ca57600080fd5b506100d36102f6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a036004351660243561032d565b604080519115158252519081900360200190f35b34801561018c57600080fd5b50610195610393565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610399565b3480156101dd57600080fd5b506101e6610510565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610515565b34801561022c57600080fd5b50610195600160a060020a0360043516610605565b34801561024d57600080fd5b506100d3610620565b34801561026257600080fd5b5061016c600160a060020a0360043516602435610657565b34801561028657600080fd5b5061016c600160a060020a0360043516602435610738565b3480156102aa57600080fd5b50610195600160a060020a03600435811690602435166107d1565b3480156102d157600080fd5b506102da6107fc565b60408051600160a060020a039092168252519081900360200190f35b60408051808201909152600681527f5050476f6c640000000000000000000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831615156103b057600080fd5b600160a060020a0384166000908152602081905260409020548211156103d557600080fd5b600160a060020a038416600090815260016020908152604080832033845290915290205482111561040557600080fd5b600160a060020a03841660009081526020819052604090205461042e908363ffffffff61081416565b600160a060020a038086166000908152602081905260408082209390935590851681522054610463908363ffffffff61082616565b600160a060020a038085166000908152602081815260408083209490945591871681526001825282812033825290915220546104a5908363ffffffff61081416565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b601281565b336000908152600160209081526040808320600160a060020a03861684529091528120548083111561056a57336000908152600160209081526040808320600160a060020a038816845290915281205561059f565b61057a818463ffffffff61081416565b336000908152600160209081526040808320600160a060020a03891684529091529020555b336000818152600160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f5050470000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561066e57600080fd5b3360009081526020819052604090205482111561068a57600080fd5b336000908152602081905260409020546106aa908363ffffffff61081416565b3360009081526020819052604080822092909255600160a060020a038516815220546106dc908363ffffffff61082616565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b336000908152600160209081526040808320600160a060020a038616845290915281205461076c908363ffffffff61082616565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b732a97197f759620e66b8cbc5131557031994a8a9481565b60008282111561082057fe5b50900390565b8181018281101561083357fe5b929150505600a165627a7a72305820db70d9a1f6b93b0d1964db3d2957e804c5dab58aa9bf59bb4a16cdddb7599d8b0029

Deployed Bytecode

0x6080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806366188463146101fc57806370a082311461022057806395d89b4114610241578063a9059cbb14610256578063d73dd6231461027a578063dd62ed3e1461029e578063e534155d146102c5575b600080fd5b3480156100ca57600080fd5b506100d36102f6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a036004351660243561032d565b604080519115158252519081900360200190f35b34801561018c57600080fd5b50610195610393565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610399565b3480156101dd57600080fd5b506101e6610510565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610515565b34801561022c57600080fd5b50610195600160a060020a0360043516610605565b34801561024d57600080fd5b506100d3610620565b34801561026257600080fd5b5061016c600160a060020a0360043516602435610657565b34801561028657600080fd5b5061016c600160a060020a0360043516602435610738565b3480156102aa57600080fd5b50610195600160a060020a03600435811690602435166107d1565b3480156102d157600080fd5b506102da6107fc565b60408051600160a060020a039092168252519081900360200190f35b60408051808201909152600681527f5050476f6c640000000000000000000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831615156103b057600080fd5b600160a060020a0384166000908152602081905260409020548211156103d557600080fd5b600160a060020a038416600090815260016020908152604080832033845290915290205482111561040557600080fd5b600160a060020a03841660009081526020819052604090205461042e908363ffffffff61081416565b600160a060020a038086166000908152602081905260408082209390935590851681522054610463908363ffffffff61082616565b600160a060020a038085166000908152602081815260408083209490945591871681526001825282812033825290915220546104a5908363ffffffff61081416565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b601281565b336000908152600160209081526040808320600160a060020a03861684529091528120548083111561056a57336000908152600160209081526040808320600160a060020a038816845290915281205561059f565b61057a818463ffffffff61081416565b336000908152600160209081526040808320600160a060020a03891684529091529020555b336000818152600160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f5050470000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561066e57600080fd5b3360009081526020819052604090205482111561068a57600080fd5b336000908152602081905260409020546106aa908363ffffffff61081416565b3360009081526020819052604080822092909255600160a060020a038516815220546106dc908363ffffffff61082616565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b336000908152600160209081526040808320600160a060020a038616845290915281205461076c908363ffffffff61082616565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b732a97197f759620e66b8cbc5131557031994a8a9481565b60008282111561082057fe5b50900390565b8181018281101561083357fe5b929150505600a165627a7a72305820db70d9a1f6b93b0d1964db3d2957e804c5dab58aa9bf59bb4a16cdddb7599d8b0029

Swarm Source

bzzr://db70d9a1f6b93b0d1964db3d2957e804c5dab58aa9bf59bb4a16cdddb7599d8b

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.