ETH Price: $3,103.94 (-0.21%)
Gas: 4 Gwei

Contract

0x0bb42BCF54F3fE87a7985328dBB63dfDFE3891f0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer113587352020-11-30 7:28:401267 days ago1606721320IN
0x0bb42BCF...DFE3891f0
0 ETH0.0004407912.00000134
Transfer112170532020-11-08 13:39:181288 days ago1604842758IN
0x0bb42BCF...DFE3891f0
0 ETH0.0007756315.00000134
Transfer111655352020-10-31 15:36:411296 days ago1604158601IN
0x0bb42BCF...DFE3891f0
0 ETH0.0010339420.00000112
Transfer111249542020-10-25 10:10:411302 days ago1603620641IN
0x0bb42BCF...DFE3891f0
0 ETH0.0007756315.00000134
Transfer111249542020-10-25 10:10:411302 days ago1603620641IN
0x0bb42BCF...DFE3891f0
0 ETH0.0007756315.00000112
Transfer110852032020-10-19 7:53:301309 days ago1603094010IN
0x0bb42BCF...DFE3891f0
0 ETH0.0014995629.00000112
Transfer110728602020-10-17 10:24:061310 days ago1602930246IN
0x0bb42BCF...DFE3891f0
0 ETH0.0008788417.00000134
Transfer110728602020-10-17 10:24:061310 days ago1602930246IN
0x0bb42BCF...DFE3891f0
0 ETH0.0008788417.00000134
Transfer110728602020-10-17 10:24:061310 days ago1602930246IN
0x0bb42BCF...DFE3891f0
0 ETH0.0008788417.00000134
Transfer110681192020-10-16 16:49:151311 days ago1602866955IN
0x0bb42BCF...DFE3891f0
0 ETH0.001705633.00000112
Approve110315482020-10-11 2:36:081317 days ago1602383768IN
0x0bb42BCF...DFE3891f0
0 ETH0.0016378437
Transfer110270072020-10-10 9:43:071317 days ago1602322987IN
0x0bb42BCF...DFE3891f0
0 ETH0.0021727842.00000134
Approve110200992020-10-09 8:12:201319 days ago1602231140IN
0x0bb42BCF...DFE3891f0
0 ETH0.0028728664.90000023
Transfer110200632020-10-09 8:03:441319 days ago1602230624IN
0x0bb42BCF...DFE3891f0
0 ETH0.0017631848.00000134
Transfer109243552020-09-24 8:59:471334 days ago1600937987IN
0x0bb42BCF...DFE3891f0
0 ETH0.0029386480.00000112
Transfer108357252020-09-10 18:41:561347 days ago1599763316IN
0x0bb42BCF...DFE3891f0
0 ETH0.0029386480
0x60a06040108154652020-09-07 15:56:111350 days ago1599494171IN
 Contract Creation
0 ETH0.0801553135

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x473877aF...F2d593041
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
PATPAT

Compiler Version
v0.4.4+commit.4633f3de

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-12-10
*/

pragma solidity ^0.4.4;

contract Token {

    /// @return total amount of tokens
    function totalSupply() constant returns (uint256 supply) {}

    /// @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 `_addr` to spend `_value` tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _value The amount of wei 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 {

    function transfer(address _to, uint256 _value) returns (bool success) {
        //Default assumes totalSupply can't be over max (2^256 - 1).
        //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
        //Replace the if with this one instead.
        //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[msg.sender] >= _value && _value > 0) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            Transfer(msg.sender, _to, _value);
            return true;
        } else { return false; }
    }

    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        //same as above. Replace this line with the following if you want to protect against wrapping uints.
        //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
            balances[_to] += _value;
            balances[_from] -= _value;
            allowed[_from][msg.sender] -= _value;
            Transfer(_from, _to, _value);
            return true;
        } else { return false; }
    }

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

    function approve(address _spender, uint256 _value) 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) balances;
    mapping (address => mapping (address => uint256)) allowed;
    uint256 public totalSupply;
}


//name this contract whatever you'd like
contract PATPAT is StandardToken {

    function () {
        //if ether is sent to this address, send it back.
        throw;
    }

    /* Public variables of the token */

    /*
    NOTE:
    The following variables are OPTIONAL vanities. One does not have to include them.
    They allow one to customise the token contract & in no way influences the core functionality.
    Some wallets/interfaces might not even bother to look at this information.
    */
    string public name;                   //fancy name: eg Simon Bucks
    uint8 public decimals;                //How many decimals to show. ie. There could 1000 base units with 3 decimals. Meaning 0.980 SBX = 980 base units. It's like comparing 1 wei to 1 ether.
    string public symbol;                 //An identifier: eg SBX
    string public version = '1.0';       //human 0.1 standard. Just an arbitrary versioning scheme.

//
// CHANGE THESE VALUES FOR YOUR TOKEN
//

//make sure this function name matches the contract name above. So if you're token is called TutorialToken, make sure the //contract name above is also TutorialToken instead of ERC20Token

    function PATPAT(
        ) {
        balances[msg.sender] = 200000000;               // Give the creator all initial tokens (100000 for example)
        totalSupply = 200000000;                        // Update total supply (100000 for example)
        name = "PATPAT";                                   // Set the name for display purposes
        decimals = 2;                            // Amount of decimals for display purposes
        symbol = "PATPAT";                               // Set the symbol for display purposes
    }

    /* Approves and then calls the receiving contract */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);

        //call the receiveApproval function on the contract you want to be notified. This crafts the function signature manually so one doesn't have to include a contract in here just for this.
        //receiveApproval(address _from, uint256 _value, address _tokenContract, bytes _extraData)
        //it is assumed that when does this that the call *should* succeed, otherwise one would use vanilla approve instead.
        if(!_spender.call(bytes4(bytes32(sha3("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)) { throw; }
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"type":"constructor"},{"payable":false,"type":"fallback"},{"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"}]

Deployed Bytecode

0x6060604052361561008d5760e060020a600035046306fdde03811461009a578063095ea7b3146100ff57806318160ddd1461017857806323b872dd14610186578063313ce5671461027f57806354fd4d501461029057806370a08231146102f557806395d89b4114610328578063a9059cbb1461038d578063cae9ca5114610436578063dd62ed3e14610601575b346100025761063a610002565b346100025761063c60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281529291908301828280156106ff5780601f106106d4576101008083540402835291602001916106ff565b34610002576106aa600435602435600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b346100025761031660025481565b34610002576106aa600435602435604435600160a060020a0383166000908152602081905260408120548290108015906101e75750600160a060020a0380851660009081526001602090815260408083203390941683529290522054829010155b80156101f35750600082115b1561070757600160a060020a0380841660008181526020818152604080832080548801905588851680845281842080548990039055600183528184203390961684529482529182902080548790039055815186815291519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600161070b565b34610002576106be60045460ff1681565b346100025761063c60068054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281529291908301828280156106ff5780601f106106d4576101008083540402835291602001916106ff565b3461000257600160a060020a03600435166000908152602081905260409020545b60408051918252519081900360200190f35b346100025761063c60058054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281529291908301828280156106ff5780601f106106d4576101008083540402835291602001916106ff565b34610002576106aa600435602435600160a060020a0333166000908152602081905260408120548290108015906103c45750600082115b1561071257600160a060020a0333811660008181526020818152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3506001610172565b3461000257604080516020600460443581810135601f81018490048402850184019095528484526106aa948235946024803595606494929391909201918190840183828082843750949650505050505050600160a060020a03338116600081815260016020908152604080832094881680845294825280832087905580518781529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a383600160a060020a031660405180807f72656365697665417070726f76616c28616464726573732c75696e743235362c81526020017f616464726573732c627974657329000000000000000000000000000000000000815260200150602e019050604051809103902060e060020a9004338530866040518560e060020a0281526004018085600160a060020a0316815260200184815260200183600160a060020a031681526020018280519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156105d95780820380516001836020036101000a031916815260200191505b509450505050506000604051808303816000876161da5a03f192505050151561071a57610002565b3461000257610316600435602435600160a060020a03808316600090815260016020908152604080832093851683529290522054610172565b005b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561069c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b604080519115158252519081900360200190f35b6040805160ff9092168252519081900360200190f35b820191906000526020600020905b8154815290600101906020018083116106e257829003601f168201915b505050505081565b5060005b9392505050565b506000610172565b50600161070b56

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.