ETH Price: $3,169.03 (-8.43%)
Gas: 3 Gwei

Token

PMD Token (PMD)
 

Overview

Max Total Supply

1,000,000,000 PMD

Holders

17,090

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,579,450.6501224 PMD

Value
$0.00
0x7aa12eef14db55884ab2fe0d097e0064ef7a8eca
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PMD

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-06-15
*/

pragma solidity ^0.4.24;


/**
 * @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 Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    emit Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    emit Unpause();
  }
}


contract Token {
    /* This is a slight change to the ERC20 base standard.
    function totalSupply() constant returns (uint256 supply);
    is replaced with:
    uint256 public totalSupply;
    This automatically creates a getter function for the totalSupply.
    This is moved to the base contract since public getter functions are not
    currently recognised as an implementation of the matching abstract
    function by the compiler.
    */
    /// total amount of tokens
    uint256 public totalSupply;

    /// @param _owner The address from which the balance will be retrieved
    /// @return The balance
    function balanceOf(address _owner) constant returns (uint256 balance);

    /// @notice send `_value` token to `_to` from `msg.sender`
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transfer(address _to, uint256 _value) returns (bool success);

    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
    /// @param _from The address of the sender
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);

    /// @notice `msg.sender` approves `_spender` to spend `_value` tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _value The amount of tokens to be approved for transfer
    /// @return Whether the approval was successful or not
    function approve(address _spender, uint256 _value) returns (bool success);

    /// @param _owner The address of the account owning tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens allowed to spent
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}



contract StandardToken is Token, Pausable {

    function transfer(address _to, uint256 _value) whenNotPaused public returns (bool success) {
        require(balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]);
        balances[msg.sender] -= _value;
        balances[_to] += _value;
        Transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) whenNotPaused public returns (bool success) {
        require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]);
        balances[_to] += _value;
        balances[_from] -= _value;
        allowed[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }

    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }

    function approve(address _spender, uint256 _value) whenNotPaused returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }

    mapping (address => uint256) public balances; // *added public
    mapping (address => mapping (address => uint256)) public allowed; // *added public
}



contract PMD is StandardToken {

    string public constant name = "PMD Token";
    string public constant symbol = "PMD";
    uint256 public constant decimals = 18;
    uint256 public constant totalSupply = 1000000000 * (10**decimals);
    uint256 public totalSupplied = 0;

    constructor() public {
        balances[msg.sender] = totalSupply;
        totalSupplied = 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":"success","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupplied","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"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"}]

60806040526001805460a060020a60ff0219169055600060045534801561002557600080fd5b5060018054600160a060020a0319163390811790915560009081526002602052604090206b033b2e3c9fd0803ce8000000908190556004556108ca8061006c6000396000f3006080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100f5578063095ea7b31461017f57806318160ddd146101b757806323b872dd146101de57806327e235e314610208578063313ce567146102295780633f4ba83a1461023e5780635c658165146102555780635c975abb1461027c578063630fd0ac1461029157806370a08231146102a65780638456cb59146102c75780638da5cb5b146102dc57806395d89b411461030d578063a9059cbb14610322578063dd62ed3e14610346578063f2fde38b1461036d575b600080fd5b34801561010157600080fd5b5061010a61038e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018b57600080fd5b506101a3600160a060020a03600435166024356103c5565b604080519115158252519081900360200190f35b3480156101c357600080fd5b506101cc610446565b60408051918252519081900360200190f35b3480156101ea57600080fd5b506101a3600160a060020a0360043581169060243516604435610456565b34801561021457600080fd5b506101cc600160a060020a0360043516610573565b34801561023557600080fd5b506101cc610585565b34801561024a57600080fd5b5061025361058a565b005b34801561026157600080fd5b506101cc600160a060020a0360043581169060243516610602565b34801561028857600080fd5b506101a361061f565b34801561029d57600080fd5b506101cc61062f565b3480156102b257600080fd5b506101cc600160a060020a0360043516610635565b3480156102d357600080fd5b50610253610650565b3480156102e857600080fd5b506102f16106cd565b60408051600160a060020a039092168252519081900360200190f35b34801561031957600080fd5b5061010a6106dc565b34801561032e57600080fd5b506101a3600160a060020a0360043516602435610713565b34801561035257600080fd5b506101cc600160a060020a03600435811690602435166107de565b34801561037957600080fd5b50610253600160a060020a0360043516610809565b60408051808201909152600981527f504d4420546f6b656e0000000000000000000000000000000000000000000000602082015281565b60015460009060a060020a900460ff16156103df57600080fd5b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6b033b2e3c9fd0803ce800000081565b60015460009060a060020a900460ff161561047057600080fd5b600160a060020a03841660009081526002602052604090205482118015906104bb5750600160a060020a03841660009081526003602090815260408083203384529091529020548211155b80156104e05750600160a060020a038316600090815260026020526040902054828101115b15156104eb57600080fd5b600160a060020a03808416600081815260026020908152604080832080548801905593881680835284832080548890039055600382528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60026020526000908152604090205481565b601281565b600154600160a060020a031633146105a157600080fd5b60015460a060020a900460ff1615156105b957600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600360209081526000928352604080842090915290825290205481565b60015460a060020a900460ff1681565b60045481565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a0316331461066757600080fd5b60015460a060020a900460ff161561067e57600080fd5b6001805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600154600160a060020a031681565b60408051808201909152600381527f504d440000000000000000000000000000000000000000000000000000000000602082015281565b60015460009060a060020a900460ff161561072d57600080fd5b3360009081526002602052604090205482118015906107655750600160a060020a038316600090815260026020526040902054828101115b151561077057600080fd5b33600081815260026020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600154600160a060020a0316331461082057600080fd5b600160a060020a038116151561083557600080fd5b600154604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820b352604545636a6da5b7513465419bbb6994ffc2bf858e9c4b0bf875a416039c0029

Deployed Bytecode

0x6080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100f5578063095ea7b31461017f57806318160ddd146101b757806323b872dd146101de57806327e235e314610208578063313ce567146102295780633f4ba83a1461023e5780635c658165146102555780635c975abb1461027c578063630fd0ac1461029157806370a08231146102a65780638456cb59146102c75780638da5cb5b146102dc57806395d89b411461030d578063a9059cbb14610322578063dd62ed3e14610346578063f2fde38b1461036d575b600080fd5b34801561010157600080fd5b5061010a61038e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014457818101518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018b57600080fd5b506101a3600160a060020a03600435166024356103c5565b604080519115158252519081900360200190f35b3480156101c357600080fd5b506101cc610446565b60408051918252519081900360200190f35b3480156101ea57600080fd5b506101a3600160a060020a0360043581169060243516604435610456565b34801561021457600080fd5b506101cc600160a060020a0360043516610573565b34801561023557600080fd5b506101cc610585565b34801561024a57600080fd5b5061025361058a565b005b34801561026157600080fd5b506101cc600160a060020a0360043581169060243516610602565b34801561028857600080fd5b506101a361061f565b34801561029d57600080fd5b506101cc61062f565b3480156102b257600080fd5b506101cc600160a060020a0360043516610635565b3480156102d357600080fd5b50610253610650565b3480156102e857600080fd5b506102f16106cd565b60408051600160a060020a039092168252519081900360200190f35b34801561031957600080fd5b5061010a6106dc565b34801561032e57600080fd5b506101a3600160a060020a0360043516602435610713565b34801561035257600080fd5b506101cc600160a060020a03600435811690602435166107de565b34801561037957600080fd5b50610253600160a060020a0360043516610809565b60408051808201909152600981527f504d4420546f6b656e0000000000000000000000000000000000000000000000602082015281565b60015460009060a060020a900460ff16156103df57600080fd5b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b6b033b2e3c9fd0803ce800000081565b60015460009060a060020a900460ff161561047057600080fd5b600160a060020a03841660009081526002602052604090205482118015906104bb5750600160a060020a03841660009081526003602090815260408083203384529091529020548211155b80156104e05750600160a060020a038316600090815260026020526040902054828101115b15156104eb57600080fd5b600160a060020a03808416600081815260026020908152604080832080548801905593881680835284832080548890039055600382528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60026020526000908152604090205481565b601281565b600154600160a060020a031633146105a157600080fd5b60015460a060020a900460ff1615156105b957600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600360209081526000928352604080842090915290825290205481565b60015460a060020a900460ff1681565b60045481565b600160a060020a031660009081526002602052604090205490565b600154600160a060020a0316331461066757600080fd5b60015460a060020a900460ff161561067e57600080fd5b6001805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600154600160a060020a031681565b60408051808201909152600381527f504d440000000000000000000000000000000000000000000000000000000000602082015281565b60015460009060a060020a900460ff161561072d57600080fd5b3360009081526002602052604090205482118015906107655750600160a060020a038316600090815260026020526040902054828101115b151561077057600080fd5b33600081815260026020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b600154600160a060020a0316331461082057600080fd5b600160a060020a038116151561083557600080fd5b600154604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820b352604545636a6da5b7513465419bbb6994ffc2bf858e9c4b0bf875a416039c0029

Swarm Source

bzzr://b352604545636a6da5b7513465419bbb6994ffc2bf858e9c4b0bf875a416039c
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.