ETH Price: $3,222.08 (+2.92%)

Token

CoinPaws (CPS)
 

Overview

Max Total Supply

8,800,000,000 CPS

Holders

48,361

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 10 Decimals)

Balance
48,114 CPS

Value
$0.00
0xefb4f4da43b2f0e5b7f75fd38f138139cd705cd7
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:
CoinPaws

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.6;

contract CoinPaws {

  string public name = "CoinPaws";
  string public symbol = "CPS";
  uint public decimals = 10;
  uint public INITIAL_SUPPLY = 88000000000000000000;
  
    mapping(address => uint) balances;
  mapping (address => mapping (address => uint)) allowed;
  uint256 public _totalSupply;
  address public _creator;
  bool bIsFreezeAll = false;
  
  event Transfer(address indexed from, address indexed to, uint value);
  event Approval(address indexed owner, address indexed spender, uint value);
  
  function safeSub(uint a, uint b) internal pure returns (uint) {
    assert(b <= a);
    return a - b;
  }

  function safeAdd(uint a, uint b) internal pure returns (uint) {
    uint c = a + b;
    assert(c>=a && c>=b);
    return c;
  }

  
  function totalSupply() public constant returns (uint256 total) {
	total = _totalSupply;
  }

  function transfer(address _to, uint _value) public returns (bool success) {
    require(bIsFreezeAll == false);
    balances[msg.sender] = safeSub(balances[msg.sender], _value);
    balances[_to] = safeAdd(balances[_to], _value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  function transferFrom(address _from, address _to, uint _value) public returns (bool success) {
    require(bIsFreezeAll == false);
    var _allowance = allowed[_from][msg.sender];
    balances[_to] = safeAdd(balances[_to], _value);
    balances[_from] = safeSub(balances[_from], _value);
    allowed[_from][msg.sender] = safeSub(_allowance, _value);
    Transfer(_from, _to, _value);
    return true;
  }

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

  function approve(address _spender, uint _value) public returns (bool success) {
	require(bIsFreezeAll == false);
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

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

  function freezeAll() public 
  {
	require(msg.sender == _creator);
	bIsFreezeAll = !bIsFreezeAll;
  }
  
  function CoinPaws() public {
    _totalSupply = INITIAL_SUPPLY;
	_creator = 0x370249e149b3A4eBfB3bf58A2D3eb858a88D734A;
	balances[_creator] = INITIAL_SUPPLY;
	bIsFreezeAll = false;
  }
  
  function destroy() public  {
	require(msg.sender == _creator);
	selfdestruct(_creator);
  }

}

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":"total","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":"INITIAL_SUPPLY","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":true,"inputs":[],"name":"_totalSupply","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":"destroy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"freezeAll","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_creator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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"},{"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"}]

606060405260408051908101604052600881527f436f696e506177730000000000000000000000000000000000000000000000006020820152600090805161004b92916020019061011e565b5060408051908101604052600381527f43505300000000000000000000000000000000000000000000000000000000006020820152600190805161009392916020019061011e565b50600a6002556804c53ecdc18a6000006003556007805460a060020a60ff021916905534156100c157600080fd5b600354600681905560078054600160a060020a03191673370249e149b3a4ebfb3bf58a2d3eb858a88d734a17808255600160a060020a0316600090815260046020526040902091909155805460a060020a60ff02191690556101b9565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015f57805160ff191683800117855561018c565b8280016001018555821561018c579182015b8281111561018c578251825591602001919060010190610171565b5061019892915061019c565b5090565b6101b691905b8082111561019857600081556001016101a2565b90565b6107a3806101c86000396000f3006060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b95780632ff2e9dc146101e1578063313ce567146101f45780633eaaf86b1461020757806370a082311461021a57806383197ef01461023957806395d89b411461024e57806399464c8914610261578063a9059cbb14610274578063bc8bde6414610296578063dd62ed3e146102c5575b600080fd5b34156100df57600080fd5b6100e76102ea565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a0360043516602435610388565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a761040b565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a0360043581169060243516604435610411565b34156101ec57600080fd5b6101a761052c565b34156101ff57600080fd5b6101a7610532565b341561021257600080fd5b6101a7610538565b341561022557600080fd5b6101a7600160a060020a036004351661053e565b341561024457600080fd5b61024c610559565b005b341561025957600080fd5b6100e7610582565b341561026c57600080fd5b61024c6105ed565b341561027f57600080fd5b610180600160a060020a036004351660243561063a565b34156102a157600080fd5b6102a9610707565b604051600160a060020a03909116815260200160405180910390f35b34156102d057600080fd5b6101a7600160a060020a0360043581169060243516610716565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103805780601f1061035557610100808354040283529160200191610380565b820191906000526020600020905b81548152906001019060200180831161036357829003601f168201915b505050505081565b60075460009060a060020a900460ff16156103a257600080fd5b600160a060020a03338116600081815260056020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60065490565b600754600090819060a060020a900460ff161561042d57600080fd5b50600160a060020a03808516600090815260056020908152604080832033851684528252808320549387168352600490915290205461046c9084610741565b600160a060020a03808616600090815260046020526040808220939093559087168152205461049b9084610765565b600160a060020a0386166000908152600460205260409020556104be8184610765565b600160a060020a03808716600081815260056020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b60035481565b60025481565b60065481565b600160a060020a031660009081526004602052604090205490565b60075433600160a060020a0390811691161461057457600080fd5b600754600160a060020a0316ff5b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103805780601f1061035557610100808354040283529160200191610380565b60075433600160a060020a0390811691161461060857600080fd5b6007805474ff000000000000000000000000000000000000000019811660a060020a9182900460ff1615909102179055565b60075460009060a060020a900460ff161561065457600080fd5b600160a060020a0333166000908152600460205260409020546106779083610765565b600160a060020a0333811660009081526004602052604080822093909355908516815220546106a69083610741565b600160a060020a0380851660008181526004602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600754600160a060020a031681565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60008282018381108015906107565750828110155b151561075e57fe5b9392505050565b60008282111561077157fe5b509003905600a165627a7a723058201f737f70320f2f78cb517b1e39a2306593603ebecbfddc922eddad175f6655e60029

Deployed Bytecode

0x6060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b95780632ff2e9dc146101e1578063313ce567146101f45780633eaaf86b1461020757806370a082311461021a57806383197ef01461023957806395d89b411461024e57806399464c8914610261578063a9059cbb14610274578063bc8bde6414610296578063dd62ed3e146102c5575b600080fd5b34156100df57600080fd5b6100e76102ea565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a0360043516602435610388565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a761040b565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a0360043581169060243516604435610411565b34156101ec57600080fd5b6101a761052c565b34156101ff57600080fd5b6101a7610532565b341561021257600080fd5b6101a7610538565b341561022557600080fd5b6101a7600160a060020a036004351661053e565b341561024457600080fd5b61024c610559565b005b341561025957600080fd5b6100e7610582565b341561026c57600080fd5b61024c6105ed565b341561027f57600080fd5b610180600160a060020a036004351660243561063a565b34156102a157600080fd5b6102a9610707565b604051600160a060020a03909116815260200160405180910390f35b34156102d057600080fd5b6101a7600160a060020a0360043581169060243516610716565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103805780601f1061035557610100808354040283529160200191610380565b820191906000526020600020905b81548152906001019060200180831161036357829003601f168201915b505050505081565b60075460009060a060020a900460ff16156103a257600080fd5b600160a060020a03338116600081815260056020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60065490565b600754600090819060a060020a900460ff161561042d57600080fd5b50600160a060020a03808516600090815260056020908152604080832033851684528252808320549387168352600490915290205461046c9084610741565b600160a060020a03808616600090815260046020526040808220939093559087168152205461049b9084610765565b600160a060020a0386166000908152600460205260409020556104be8184610765565b600160a060020a03808716600081815260056020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3506001949350505050565b60035481565b60025481565b60065481565b600160a060020a031660009081526004602052604090205490565b60075433600160a060020a0390811691161461057457600080fd5b600754600160a060020a0316ff5b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103805780601f1061035557610100808354040283529160200191610380565b60075433600160a060020a0390811691161461060857600080fd5b6007805474ff000000000000000000000000000000000000000019811660a060020a9182900460ff1615909102179055565b60075460009060a060020a900460ff161561065457600080fd5b600160a060020a0333166000908152600460205260409020546106779083610765565b600160a060020a0333811660009081526004602052604080822093909355908516815220546106a69083610741565b600160a060020a0380851660008181526004602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b600754600160a060020a031681565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b60008282018381108015906107565750828110155b151561075e57fe5b9392505050565b60008282111561077157fe5b509003905600a165627a7a723058201f737f70320f2f78cb517b1e39a2306593603ebecbfddc922eddad175f6655e60029

Swarm Source

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