ETH Price: $3,165.78 (-7.57%)

Contract

0x745081d072745D3C025A552b3Ee6e1DA5567eeAB
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer55762162018-05-08 5:41:072381 days ago1525758067IN
0x745081d0...A5567eeAB
0.001 ETH0.000172553
Transfer55545082018-05-04 11:10:212384 days ago1525432221IN
0x745081d0...A5567eeAB
0.0001 ETH0.000287595
Transfer53921852018-04-06 16:49:262412 days ago1523033366IN
0x745081d0...A5567eeAB
0.0001 ETH0.000057511
Transfer53906732018-04-06 10:45:542412 days ago1523011554IN
0x745081d0...A5567eeAB
0.0005 ETH0.000042511
Transfer53905282018-04-06 10:09:092412 days ago1523009349IN
0x745081d0...A5567eeAB
0.0005 ETH0.000172553
Transfer53873542018-04-05 21:49:062413 days ago1522964946IN
0x745081d0...A5567eeAB
0.0005 ETH0.000287595
Transfer53803702018-04-04 17:45:442414 days ago1522863944IN
0x745081d0...A5567eeAB
0.001 ETH0.000057511
Transfer53786232018-04-04 10:43:582414 days ago1522838638IN
0x745081d0...A5567eeAB
0.001 ETH0.000057511
Transfer53593382018-04-01 6:07:232418 days ago1522562843IN
0x745081d0...A5567eeAB
0.0005 ETH0.000172553
Transfer53589092018-04-01 4:19:002418 days ago1522556340IN
0x745081d0...A5567eeAB
0.01 ETH0.000127553
Transfer53588892018-04-01 4:13:582418 days ago1522556038IN
0x745081d0...A5567eeAB
0.001 ETH0.000127553
Transfer53574602018-03-31 22:47:272418 days ago1522536447IN
0x745081d0...A5567eeAB
0.0005 ETH0.000172553
Transfer53560442018-03-31 17:06:432418 days ago1522516003IN
0x745081d0...A5567eeAB
0.0004 ETH0.000115032
Transfer53557832018-03-31 16:06:372418 days ago1522512397IN
0x745081d0...A5567eeAB
0.001 ETH0.000153
Transfer53556602018-03-31 15:36:422418 days ago1522510602IN
0x745081d0...A5567eeAB
0.001 ETH0.000127553
Transfer53556472018-03-31 15:32:392418 days ago1522510359IN
0x745081d0...A5567eeAB
0.001 ETH0.000127553
Transfer53556062018-03-31 15:21:392418 days ago1522509699IN
0x745081d0...A5567eeAB
0.001 ETH0.000230074
Transfer53555942018-03-31 15:19:082418 days ago1522509548IN
0x745081d0...A5567eeAB
0.01 ETH0.000127553
Transfer53543762018-03-31 10:44:042418 days ago1522493044IN
0x745081d0...A5567eeAB
0.002 ETH0.000170074
Transfer53543732018-03-31 10:43:192418 days ago1522492999IN
0x745081d0...A5567eeAB
0.01 ETH0.000230074
Transfer53543042018-03-31 10:26:212418 days ago1522491981IN
0x745081d0...A5567eeAB
0.03 ETH0.000085032
Transfer53542492018-03-31 10:13:002418 days ago1522491180IN
0x745081d0...A5567eeAB
0.09 ETH0.000172553
Transfer53542272018-03-31 10:06:152418 days ago1522490775IN
0x745081d0...A5567eeAB
0.08 ETH0.000170074
Transfer53542152018-03-31 10:03:442418 days ago1522490624IN
0x745081d0...A5567eeAB
0.05 ETH0.000230074
Transfer53541962018-03-31 9:59:462418 days ago1522490386IN
0x745081d0...A5567eeAB
0.001 ETH0.000115032
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
55762162018-05-08 5:41:072381 days ago1525758067
0x745081d0...A5567eeAB
0.001 ETH
55545082018-05-04 11:10:212384 days ago1525432221
0x745081d0...A5567eeAB
0.0001 ETH
53921852018-04-06 16:49:262412 days ago1523033366
0x745081d0...A5567eeAB
0.0001 ETH
53906732018-04-06 10:45:542412 days ago1523011554
0x745081d0...A5567eeAB
0.0005 ETH
53905282018-04-06 10:09:092412 days ago1523009349
0x745081d0...A5567eeAB
0.0005 ETH
53873542018-04-05 21:49:062413 days ago1522964946
0x745081d0...A5567eeAB
0.0005 ETH
53803702018-04-04 17:45:442414 days ago1522863944
0x745081d0...A5567eeAB
0.001 ETH
53786232018-04-04 10:43:582414 days ago1522838638
0x745081d0...A5567eeAB
0.001 ETH
53593382018-04-01 6:07:232418 days ago1522562843
0x745081d0...A5567eeAB
0.0005 ETH
53589092018-04-01 4:19:002418 days ago1522556340
0x745081d0...A5567eeAB
0.01 ETH
53588892018-04-01 4:13:582418 days ago1522556038
0x745081d0...A5567eeAB
0.001 ETH
53574602018-03-31 22:47:272418 days ago1522536447
0x745081d0...A5567eeAB
0.0005 ETH
53560442018-03-31 17:06:432418 days ago1522516003
0x745081d0...A5567eeAB
0.0004 ETH
53556602018-03-31 15:36:422418 days ago1522510602
0x745081d0...A5567eeAB
0.001 ETH
53556472018-03-31 15:32:392418 days ago1522510359
0x745081d0...A5567eeAB
0.001 ETH
53556062018-03-31 15:21:392418 days ago1522509699
0x745081d0...A5567eeAB
0.001 ETH
53555942018-03-31 15:19:082418 days ago1522509548
0x745081d0...A5567eeAB
0.01 ETH
53543762018-03-31 10:44:042418 days ago1522493044
0x745081d0...A5567eeAB
0.002 ETH
53543732018-03-31 10:43:192418 days ago1522492999
0x745081d0...A5567eeAB
0.01 ETH
53543042018-03-31 10:26:212418 days ago1522491981
0x745081d0...A5567eeAB
0.03 ETH
53542492018-03-31 10:13:002418 days ago1522491180
0x745081d0...A5567eeAB
0.09 ETH
53542272018-03-31 10:06:152418 days ago1522490775
0x745081d0...A5567eeAB
0.08 ETH
53542152018-03-31 10:03:442418 days ago1522490624
0x745081d0...A5567eeAB
0.05 ETH
53541962018-03-31 9:59:462418 days ago1522490386
0x745081d0...A5567eeAB
0.001 ETH
53541522018-03-31 9:49:592418 days ago1522489799
0x745081d0...A5567eeAB
0.001 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PapaBearToken

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.16;

interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }

contract PapaBearToken {
    // Public variables of the token
    string public name = "PapaBearToken";
    string public symbol = "PBEAR";
    uint8 public decimals = 18;
    uint256 public totalSupply;
    uint256 public supplyMultiplier = 1000000000;
    uint256 public buyPrice = 10000000;
    address public creator;
    // This creates an array with all balances
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    // This generates a public event on the blockchain that will notify clients
    event Transfer(address indexed from, address indexed to, uint256 value);
    event FundTransfer(address backer, uint amount, bool isContribution);
    
    
    /**
     * Constructor function
     *
     * Initializes contract with initial supply tokens to the creator of the contract
     */
    function PapaBearToken() public {
        totalSupply = supplyMultiplier * 10 ** uint256(decimals);  // Update total supply with the decimal amount
        balanceOf[msg.sender] = totalSupply;    // assign total created tokens
        creator = msg.sender;
    }
    /**
     * Internal transfer, only can be called by this contract
     */
    function _transfer(address _from, address _to, uint _value) internal {
        // Prevent transfer to 0x0 address. Use burn() instead
        require(_to != 0x0);
        // Check if the sender has enough
        require(balanceOf[_from] >= _value);
        // Check for overflows
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        // Subtract from the sender
        balanceOf[_from] -= _value;
        // Add the same to the recipient
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
      
    }

    /**
     * Transfer tokens
     *
     * Send `_value` tokens to `_to` from your account
     *
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    
    
    /// @notice Buy tokens from contract by sending ether
    function () payable internal {
        uint amount = msg.value * buyPrice;                    
        uint amountRaised;                                     
        amountRaised += msg.value;                           
        require(balanceOf[creator] >= amount);                      
        balanceOf[msg.sender] += amount;                 
        balanceOf[creator] -= amount;                       
        Transfer(creator, msg.sender, amount);             
        creator.transfer(amountRaised);
    }

 }

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"creator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"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":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"supplyMultiplier","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","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":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"isContribution","type":"bool"}],"name":"FundTransfer","type":"event"}]

60606040526040805190810160405280600d81526020017f5061706142656172546f6b656e000000000000000000000000000000000000008152506000908051906020019061004f92919061017e565b506040805190810160405280600581526020017f50424541520000000000000000000000000000000000000000000000000000008152506001908051906020019061009b92919061017e565b506012600260006101000a81548160ff021916908360ff160217905550633b9aca006004556298968060055534156100d257600080fd5b600260009054906101000a900460ff1660ff16600a0a60045402600381905550600354600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555033600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610223565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101bf57805160ff19168380011785556101ed565b828001600101855582156101ed579182015b828111156101ec5782518255916020019190600101906101d1565b5b5090506101fa91906101fe565b5090565b61022091905b8082111561021c576000816000905550600101610204565b5090565b90565b6109e8806102326000396000f3006060604052600436106100a4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146102cc57806306fdde031461032157806318160ddd146103af578063313ce567146103d857806370a082311461040757806373f64212146104545780638620410b1461047d57806395d89b41146104a6578063a9059cbb14610534578063dd62ed3e14610576575b6000806005543402915034810190508160076000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561012357600080fd5b81600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508160076000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156102c857600080fd5b5050005b34156102d757600080fd5b6102df6105e2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561032c57600080fd5b610334610608565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610374578082015181840152602081019050610359565b50505050905090810190601f1680156103a15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103ba57600080fd5b6103c26106a6565b6040518082815260200191505060405180910390f35b34156103e357600080fd5b6103eb6106ac565b604051808260ff1660ff16815260200191505060405180910390f35b341561041257600080fd5b61043e600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106bf565b6040518082815260200191505060405180910390f35b341561045f57600080fd5b6104676106d7565b6040518082815260200191505060405180910390f35b341561048857600080fd5b6104906106dd565b6040518082815260200191505060405180910390f35b34156104b157600080fd5b6104b96106e3565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104f95780820151818401526020810190506104de565b50505050905090810190601f1680156105265780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561053f57600080fd5b610574600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610781565b005b341561058157600080fd5b6105cc600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610790565b6040518082815260200191505060405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b505050505081565b60035481565b600260009054906101000a900460ff1681565b60076020528060005260406000206000915090505481565b60045481565b60055481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107795780601f1061074e57610100808354040283529160200191610779565b820191906000526020600020905b81548152906001019060200180831161075c57829003601f168201915b505050505081565b61078c3383836107b5565b5050565b6008602052816000526040600020602052806000526040600020600091509150505481565b60008273ffffffffffffffffffffffffffffffffffffffff16141515156107db57600080fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561082957600080fd5b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401101515156108b857600080fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050505600a165627a7a723058204f5f91880f7f89cc8e47beda80b8d564638a5eb7f59a54fbd2e03843883a462a0029

Deployed Bytecode

0x6060604052600436106100a4576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146102cc57806306fdde031461032157806318160ddd146103af578063313ce567146103d857806370a082311461040757806373f64212146104545780638620410b1461047d57806395d89b41146104a6578063a9059cbb14610534578063dd62ed3e14610576575b6000806005543402915034810190508160076000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561012357600080fd5b81600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508160076000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156102c857600080fd5b5050005b34156102d757600080fd5b6102df6105e2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561032c57600080fd5b610334610608565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610374578082015181840152602081019050610359565b50505050905090810190601f1680156103a15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103ba57600080fd5b6103c26106a6565b6040518082815260200191505060405180910390f35b34156103e357600080fd5b6103eb6106ac565b604051808260ff1660ff16815260200191505060405180910390f35b341561041257600080fd5b61043e600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106bf565b6040518082815260200191505060405180910390f35b341561045f57600080fd5b6104676106d7565b6040518082815260200191505060405180910390f35b341561048857600080fd5b6104906106dd565b6040518082815260200191505060405180910390f35b34156104b157600080fd5b6104b96106e3565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104f95780820151818401526020810190506104de565b50505050905090810190601f1680156105265780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561053f57600080fd5b610574600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610781565b005b341561058157600080fd5b6105cc600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610790565b6040518082815260200191505060405180910390f35b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b505050505081565b60035481565b600260009054906101000a900460ff1681565b60076020528060005260406000206000915090505481565b60045481565b60055481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107795780601f1061074e57610100808354040283529160200191610779565b820191906000526020600020905b81548152906001019060200180831161075c57829003601f168201915b505050505081565b61078c3383836107b5565b5050565b6008602052816000526040600020602052806000526040600020600091509150505481565b60008273ffffffffffffffffffffffffffffffffffffffff16141515156107db57600080fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561082957600080fd5b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401101515156108b857600080fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050505600a165627a7a723058204f5f91880f7f89cc8e47beda80b8d564638a5eb7f59a54fbd2e03843883a462a0029

Swarm Source

bzzr://4f5f91880f7f89cc8e47beda80b8d564638a5eb7f59a54fbd2e03843883a462a

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  ]
[ 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.