ETH Price: $3,138.59 (-0.77%)

Token

WPPTOKEN (WPP)
 

Overview

Max Total Supply

5,000,000,000 WPP

Holders

5,083

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.52 WPP

Value
$0.00
0xd58d40fe101cf288d585b6134009740b1877fe8a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

WPPTOKEN contract has migrated to 0x1955d744F9435522Be508D1Ba60E3c12D0690B6A.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WPPToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 999 runs

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

pragma solidity ^0.4.19;

/**
 * @title ERC20
 * @dev ERC20 interface
 */
contract ERC20 {
    function balanceOf(address who) public constant returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
    function allowance(address owner, address spender) public constant returns (uint256);
    function transferFrom(address from, address to, uint256 value) public returns (bool);
    function approve(address spender, uint256 value) public returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public{
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner public {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

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

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

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * The WPPToken contract does this and that...
 */
contract WPPToken is ERC20, Ownable {

	using SafeMath for uint256;

	uint256  public  totalSupply = 5000000000 * 1 ether;


	mapping  (address => uint256)             public          _balances;
    mapping  (address => mapping (address => uint256)) public  _approvals;

    string   public  name = "WPPTOKEN";
    string   public  symbol = "WPP";
    uint256  public  decimals = 18;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    

    constructor () public{
		_balances[owner] = totalSupply;
	}

    function totalSupply() public constant returns (uint256) {
        return totalSupply;
    }
    function balanceOf(address src) public constant returns (uint256) {
        return _balances[src];
    }
    function allowance(address src, address guy) public constant returns (uint256) {
        return _approvals[src][guy];
    }
    
    function transfer(address dst, uint256 wad) public returns (bool) {
        assert(_balances[msg.sender] >= wad);
        
        _balances[msg.sender] = _balances[msg.sender].sub(wad);
        _balances[dst] = _balances[dst].add(wad);
        
        emit Transfer(msg.sender, dst, wad);
        
        return true;
    }
    
    function transferFrom(address src, address dst, uint256 wad) public returns (bool) {
        assert(_balances[src] >= wad);
        assert(_approvals[src][msg.sender] >= wad);
        
        _approvals[src][msg.sender] = _approvals[src][msg.sender].sub(wad);
        _balances[src] = _balances[src].sub(wad);
        _balances[dst] = _balances[dst].add(wad);
        
        emit Transfer(src, dst, wad);
        
        return true;
    }
    
    function approve(address guy, uint256 wad) public returns (bool) {
        _approvals[msg.sender][guy] = wad;
        
        emit Approval(msg.sender, guy, wad);
        
        return true;
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"guy","type":"address"},{"name":"wad","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":"src","type":"address"},{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"_approvals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"_balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"},{"name":"guy","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

6b1027e72f1f1281308800000060015560c0604052600860808190527f575050544f4b454e00000000000000000000000000000000000000000000000060a090815261004e91600491906100da565b506040805180820190915260038082527f57505000000000000000000000000000000000000000000000000000000000006020909201918252610093916005916100da565b5060126006553480156100a557600080fd5b5060008054600160a060020a0319163317808255600154600160a060020a039190911682526002602052604090912055610175565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011b57805160ff1916838001178555610148565b82800160010185558215610148579182015b8281111561014857825182559160200191906001019061012d565b50610154929150610158565b5090565b61017291905b80821115610154576000815560010161015e565b90565b610948806101846000396000f3006080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461019857806323b872dd146101bf578063313ce567146101f6578063319d53e71461020b5780636ebcf6071461023f57806370a082311461026d5780638da5cb5b1461029b57806395d89b41146102d9578063a9059cbb146102ee578063dd62ed3e1461031f578063f2fde38b14610353575b600080fd5b3480156100d557600080fd5b506100de610383565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015f57600080fd5b5061018473ffffffffffffffffffffffffffffffffffffffff60043516602435610411565b604080519115158252519081900360200190f35b3480156101a457600080fd5b506101ad610484565b60408051918252519081900360200190f35b3480156101cb57600080fd5b5061018473ffffffffffffffffffffffffffffffffffffffff6004358116906024351660443561048a565b34801561020257600080fd5b506101ad610632565b34801561021757600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff60043581169060243516610638565b34801561024b57600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff60043516610655565b34801561027957600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff60043516610667565b3480156102a757600080fd5b506102b061068f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102e557600080fd5b506100de6106ab565b3480156102fa57600080fd5b5061018473ffffffffffffffffffffffffffffffffffffffff60043516602435610706565b34801561032b57600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff600435811690602435166107e9565b34801561035f57600080fd5b5061038173ffffffffffffffffffffffffffffffffffffffff60043516610821565b005b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104095780601f106103de57610100808354040283529160200191610409565b820191906000526020600020905b8154815290600101906020018083116103ec57829003601f168201915b505050505081565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260408120548211156104b957fe5b73ffffffffffffffffffffffffffffffffffffffff841660009081526003602090815260408083203384529091529020548211156104f357fe5b73ffffffffffffffffffffffffffffffffffffffff84166000908152600360209081526040808320338452909152902054610534908363ffffffff6108f416565b73ffffffffffffffffffffffffffffffffffffffff8516600081815260036020908152604080832033845282528083209490945591815260029091522054610582908363ffffffff6108f416565b73ffffffffffffffffffffffffffffffffffffffff80861660009081526002602052604080822093909355908516815220546105c4908363ffffffff61090616565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526002602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60065481565b600360209081526000928352604080842090915290825290205481565b60026020526000908152604090205481565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104095780601f106103de57610100808354040283529160200191610409565b3360009081526002602052604081205482111561071f57fe5b3360009081526002602052604090205461073f908363ffffffff6108f416565b336000908152600260205260408082209290925573ffffffffffffffffffffffffffffffffffffffff85168152205461077e908363ffffffff61090616565b73ffffffffffffffffffffffffffffffffffffffff84166000818152600260209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260036020908152604080832093909416825291909152205490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461084557600080fd5b73ffffffffffffffffffffffffffffffffffffffff8116151561086757600080fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008282111561090057fe5b50900390565b60008282018381101561091557fe5b93925050505600a165627a7a7230582005c5da800533b7f4ec6fed70dc65cc204e2a035c7fd18ca634c037580a39aa160029

Deployed Bytecode

0x6080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461019857806323b872dd146101bf578063313ce567146101f6578063319d53e71461020b5780636ebcf6071461023f57806370a082311461026d5780638da5cb5b1461029b57806395d89b41146102d9578063a9059cbb146102ee578063dd62ed3e1461031f578063f2fde38b14610353575b600080fd5b3480156100d557600080fd5b506100de610383565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015f57600080fd5b5061018473ffffffffffffffffffffffffffffffffffffffff60043516602435610411565b604080519115158252519081900360200190f35b3480156101a457600080fd5b506101ad610484565b60408051918252519081900360200190f35b3480156101cb57600080fd5b5061018473ffffffffffffffffffffffffffffffffffffffff6004358116906024351660443561048a565b34801561020257600080fd5b506101ad610632565b34801561021757600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff60043581169060243516610638565b34801561024b57600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff60043516610655565b34801561027957600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff60043516610667565b3480156102a757600080fd5b506102b061068f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102e557600080fd5b506100de6106ab565b3480156102fa57600080fd5b5061018473ffffffffffffffffffffffffffffffffffffffff60043516602435610706565b34801561032b57600080fd5b506101ad73ffffffffffffffffffffffffffffffffffffffff600435811690602435166107e9565b34801561035f57600080fd5b5061038173ffffffffffffffffffffffffffffffffffffffff60043516610821565b005b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104095780601f106103de57610100808354040283529160200191610409565b820191906000526020600020905b8154815290600101906020018083116103ec57829003601f168201915b505050505081565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600260205260408120548211156104b957fe5b73ffffffffffffffffffffffffffffffffffffffff841660009081526003602090815260408083203384529091529020548211156104f357fe5b73ffffffffffffffffffffffffffffffffffffffff84166000908152600360209081526040808320338452909152902054610534908363ffffffff6108f416565b73ffffffffffffffffffffffffffffffffffffffff8516600081815260036020908152604080832033845282528083209490945591815260029091522054610582908363ffffffff6108f416565b73ffffffffffffffffffffffffffffffffffffffff80861660009081526002602052604080822093909355908516815220546105c4908363ffffffff61090616565b73ffffffffffffffffffffffffffffffffffffffff80851660008181526002602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60065481565b600360209081526000928352604080842090915290825290205481565b60026020526000908152604090205481565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104095780601f106103de57610100808354040283529160200191610409565b3360009081526002602052604081205482111561071f57fe5b3360009081526002602052604090205461073f908363ffffffff6108f416565b336000908152600260205260408082209290925573ffffffffffffffffffffffffffffffffffffffff85168152205461077e908363ffffffff61090616565b73ffffffffffffffffffffffffffffffffffffffff84166000818152600260209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260036020908152604080832093909416825291909152205490565b60005473ffffffffffffffffffffffffffffffffffffffff16331461084557600080fd5b73ffffffffffffffffffffffffffffffffffffffff8116151561086757600080fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008282111561090057fe5b50900390565b60008282018381101561091557fe5b93925050505600a165627a7a7230582005c5da800533b7f4ec6fed70dc65cc204e2a035c7fd18ca634c037580a39aa160029

Swarm Source

bzzr://05c5da800533b7f4ec6fed70dc65cc204e2a035c7fd18ca634c037580a39aa16
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.