Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 91 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 9092009 | 1868 days ago | IN | 0 ETH | 0.00029701 | ||||
Transfer | 7473615 | 2124 days ago | IN | 0 ETH | 0.00015562 | ||||
Transfer | 7421950 | 2132 days ago | IN | 0 ETH | 0.00018469 | ||||
Transfer | 7235696 | 2164 days ago | IN | 0 ETH | 0.00040851 | ||||
Transfer | 7161678 | 2181 days ago | IN | 0 ETH | 0.00026488 | ||||
Transfer | 6694527 | 2262 days ago | IN | 0 ETH | 0.00027461 | ||||
Transfer | 6694512 | 2262 days ago | IN | 0 ETH | 0.00038387 | ||||
Transfer | 6694508 | 2262 days ago | IN | 0 ETH | 0.00038387 | ||||
Transfer | 6689202 | 2262 days ago | IN | 0 ETH | 0.00036875 | ||||
Transfer | 6689199 | 2262 days ago | IN | 0 ETH | 0.00051939 | ||||
Transfer | 6689196 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689188 | 2262 days ago | IN | 0 ETH | 0.00051939 | ||||
Transfer | 6689184 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689175 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689172 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689166 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689163 | 2262 days ago | IN | 0 ETH | 0.00051939 | ||||
Transfer | 6689163 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689159 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689157 | 2262 days ago | IN | 0 ETH | 0.00036939 | ||||
Transfer | 6689147 | 2262 days ago | IN | 0 ETH | 0.00036754 | ||||
Transfer | 6689123 | 2262 days ago | IN | 0 ETH | 0.00018469 | ||||
Transfer | 6671258 | 2265 days ago | IN | 0 ETH | 0.00051939 | ||||
Transfer | 6621149 | 2274 days ago | IN | 0 ETH | 0.00042348 | ||||
Transfer | 6591027 | 2279 days ago | IN | 0 ETH | 0.00018501 |
Loading...
Loading
Contract Name:
PPGold
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
60806040526a115eec47f6cf7e3500000060025534801561001f57600080fd5b50600254732a97197f759620e66b8cbc5131557031994a8a9460009081526020527f5b24443ed0bdb8cb4a528a791249a876b899681154a5a64480cf28219aac100b55610865806100716000396000f3006080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806366188463146101fc57806370a082311461022057806395d89b4114610241578063a9059cbb14610256578063d73dd6231461027a578063dd62ed3e1461029e578063e534155d146102c5575b600080fd5b3480156100ca57600080fd5b506100d36102f6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a036004351660243561032d565b604080519115158252519081900360200190f35b34801561018c57600080fd5b50610195610393565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610399565b3480156101dd57600080fd5b506101e6610510565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610515565b34801561022c57600080fd5b50610195600160a060020a0360043516610605565b34801561024d57600080fd5b506100d3610620565b34801561026257600080fd5b5061016c600160a060020a0360043516602435610657565b34801561028657600080fd5b5061016c600160a060020a0360043516602435610738565b3480156102aa57600080fd5b50610195600160a060020a03600435811690602435166107d1565b3480156102d157600080fd5b506102da6107fc565b60408051600160a060020a039092168252519081900360200190f35b60408051808201909152600681527f5050476f6c640000000000000000000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831615156103b057600080fd5b600160a060020a0384166000908152602081905260409020548211156103d557600080fd5b600160a060020a038416600090815260016020908152604080832033845290915290205482111561040557600080fd5b600160a060020a03841660009081526020819052604090205461042e908363ffffffff61081416565b600160a060020a038086166000908152602081905260408082209390935590851681522054610463908363ffffffff61082616565b600160a060020a038085166000908152602081815260408083209490945591871681526001825282812033825290915220546104a5908363ffffffff61081416565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b601281565b336000908152600160209081526040808320600160a060020a03861684529091528120548083111561056a57336000908152600160209081526040808320600160a060020a038816845290915281205561059f565b61057a818463ffffffff61081416565b336000908152600160209081526040808320600160a060020a03891684529091529020555b336000818152600160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f5050470000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561066e57600080fd5b3360009081526020819052604090205482111561068a57600080fd5b336000908152602081905260409020546106aa908363ffffffff61081416565b3360009081526020819052604080822092909255600160a060020a038516815220546106dc908363ffffffff61082616565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b336000908152600160209081526040808320600160a060020a038616845290915281205461076c908363ffffffff61082616565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b732a97197f759620e66b8cbc5131557031994a8a9481565b60008282111561082057fe5b50900390565b8181018281101561083357fe5b929150505600a165627a7a72305820db70d9a1f6b93b0d1964db3d2957e804c5dab58aa9bf59bb4a16cdddb7599d8b0029
Deployed Bytecode
0x6080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806366188463146101fc57806370a082311461022057806395d89b4114610241578063a9059cbb14610256578063d73dd6231461027a578063dd62ed3e1461029e578063e534155d146102c5575b600080fd5b3480156100ca57600080fd5b506100d36102f6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a036004351660243561032d565b604080519115158252519081900360200190f35b34801561018c57600080fd5b50610195610393565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610399565b3480156101dd57600080fd5b506101e6610510565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610515565b34801561022c57600080fd5b50610195600160a060020a0360043516610605565b34801561024d57600080fd5b506100d3610620565b34801561026257600080fd5b5061016c600160a060020a0360043516602435610657565b34801561028657600080fd5b5061016c600160a060020a0360043516602435610738565b3480156102aa57600080fd5b50610195600160a060020a03600435811690602435166107d1565b3480156102d157600080fd5b506102da6107fc565b60408051600160a060020a039092168252519081900360200190f35b60408051808201909152600681527f5050476f6c640000000000000000000000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6000600160a060020a03831615156103b057600080fd5b600160a060020a0384166000908152602081905260409020548211156103d557600080fd5b600160a060020a038416600090815260016020908152604080832033845290915290205482111561040557600080fd5b600160a060020a03841660009081526020819052604090205461042e908363ffffffff61081416565b600160a060020a038086166000908152602081905260408082209390935590851681522054610463908363ffffffff61082616565b600160a060020a038085166000908152602081815260408083209490945591871681526001825282812033825290915220546104a5908363ffffffff61081416565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b601281565b336000908152600160209081526040808320600160a060020a03861684529091528120548083111561056a57336000908152600160209081526040808320600160a060020a038816845290915281205561059f565b61057a818463ffffffff61081416565b336000908152600160209081526040808320600160a060020a03891684529091529020555b336000818152600160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600381527f5050470000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561066e57600080fd5b3360009081526020819052604090205482111561068a57600080fd5b336000908152602081905260409020546106aa908363ffffffff61081416565b3360009081526020819052604080822092909255600160a060020a038516815220546106dc908363ffffffff61082616565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b336000908152600160209081526040808320600160a060020a038616845290915281205461076c908363ffffffff61082616565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b732a97197f759620e66b8cbc5131557031994a8a9481565b60008282111561082057fe5b50900390565b8181018281101561083357fe5b929150505600a165627a7a72305820db70d9a1f6b93b0d1964db3d2957e804c5dab58aa9bf59bb4a16cdddb7599d8b0029
Swarm Source
bzzr://db70d9a1f6b93b0d1964db3d2957e804c5dab58aa9bf59bb4a16cdddb7599d8b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.