Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,150 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 7241352 | 2142 days ago | IN | 0 ETH | 0.000126 | ||||
Transfer | 7026712 | 2185 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 7026712 | 2185 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 7013862 | 2187 days ago | IN | 0 ETH | 0.00184491 | ||||
Transfer | 6974962 | 2194 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6954751 | 2198 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6954715 | 2198 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6954695 | 2198 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6942896 | 2200 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6942888 | 2200 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6942883 | 2200 days ago | IN | 0 ETH | 0.00042 | ||||
Transfer | 6908357 | 2205 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6908347 | 2205 days ago | IN | 0 ETH | 0.00013499 | ||||
Transfer | 6908346 | 2205 days ago | IN | 0 ETH | 0.000063 | ||||
Transfer | 6903898 | 2206 days ago | IN | 0 ETH | 0.00184491 | ||||
Transfer | 6903556 | 2206 days ago | IN | 1 wei | 0.00023968 | ||||
Transfer | 6902439 | 2206 days ago | IN | 1 wei | 0.00018382 | ||||
Transfer | 6902270 | 2206 days ago | IN | 1 wei | 0.00020772 | ||||
Transfer | 6901805 | 2207 days ago | IN | 0 ETH | 0.00044998 | ||||
Transfer | 6901717 | 2207 days ago | IN | 0 ETH | 0.00184491 | ||||
Transfer | 6901403 | 2207 days ago | IN | 0.0000001 ETH | 0.00014167 | ||||
Transfer | 6901358 | 2207 days ago | IN | 0 ETH | 0.00184491 | ||||
Transfer | 6900716 | 2207 days ago | IN | 10 wei | 0.00013192 | ||||
Transfer | 6898351 | 2207 days ago | IN | 0 ETH | 0.000063 | ||||
Transfer | 6898333 | 2207 days ago | IN | 0 ETH | 0.00020009 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
6903556 | 2206 days ago | 1 wei | ||||
6902439 | 2206 days ago | 1 wei | ||||
6902270 | 2206 days ago | 1 wei | ||||
6901403 | 2207 days ago | 0.0000001 ETH | ||||
6900716 | 2207 days ago | 10 wei | ||||
6898333 | 2207 days ago | 0.04885396 ETH | ||||
6898324 | 2207 days ago | 0.00006222 ETH | ||||
6898321 | 2207 days ago | 0.56318644 ETH | ||||
6898227 | 2207 days ago | 0.04986271 ETH | ||||
6898207 | 2207 days ago | 0.05348644 ETH | ||||
6898174 | 2207 days ago | 0.00735593 ETH | ||||
6898043 | 2207 days ago | 0.07489322 ETH | ||||
6897960 | 2207 days ago | 0.00467674 ETH | ||||
6897943 | 2207 days ago | 0.00045633 ETH | ||||
6897794 | 2207 days ago | 0 ETH | ||||
6897794 | 2207 days ago | 0.00062474 ETH | ||||
6897710 | 2207 days ago | 0.12761387 ETH | ||||
6897702 | 2207 days ago | 0.00870786 ETH | ||||
6897643 | 2207 days ago | 0.10843118 ETH | ||||
6897625 | 2207 days ago | 1 wei | ||||
6897625 | 2207 days ago | 0.02205762 ETH | ||||
6897550 | 2207 days ago | 0.0395661 ETH | ||||
6897549 | 2207 days ago | 0.02632949 ETH | ||||
6897422 | 2207 days ago | 0.24481118 ETH | ||||
6897157 | 2207 days ago | 0 ETH |
Loading...
Loading
Contract Name:
Pandora
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-10-26 */ pragma solidity ^0.4.25; /* Project pandora The automatic Ethereum smart contract Absolute transparency https://pandora.gives */ contract Pandora { using SafeMath for uint256; // There is day percent 2%. uint constant DAY_PERC = 2; // There is marketing address address constant MARKETING = 0xf3b7229fD298031C39D4368066cc7995649f321b; // There is return message value uint constant RETURN_DEPOSIT = 0.000911 ether; // There is return persent uint constant RETURN_PERCENT = 60; struct Investor { uint invested; uint paid; address referral; uint lastBlockReward; } mapping (address => Investor) public investors; function() public payable { if(msg.value == 0) { payReward(); }else{ if (msg.value == RETURN_DEPOSIT){ returnDeposit(); }else { if (investors[msg.sender].invested == 0){ addInvestor(); }else{ payReward(); } payToMarketingReferral(); } } } function addInvestor() internal { address ref; if (msg.data.length != 0){ address referrer = bytesToAddress(msg.data); } if(investors[referrer].invested > 0){ ref = referrer; }else{ ref = MARKETING; } Investor memory investor; investor = Investor({ invested : msg.value, paid : 0, referral : ref, lastBlockReward : block.number }); investors[msg.sender] = investor; } function payReward() internal { Investor memory investor; investor = investors[msg.sender]; if (investor.invested != 0) { uint getPay = investor.invested*DAY_PERC/100*(block.number-investor.lastBlockReward)/5900; uint sumPay = getPay.add(investor.paid); if (sumPay > investor.invested.mul(2)) { getPay = investor.invested.mul(2).sub(investor.paid); investor.paid = 0; investor.lastBlockReward = block.number; investor.invested = msg.value; }else{ investor.paid += getPay; investor.lastBlockReward = block.number; investor.invested += msg.value; } investors[msg.sender] = investor; if(address(this).balance < getPay){ getPay = address(this).balance; } msg.sender.transfer(getPay); } } function returnDeposit() internal { if (msg.value == RETURN_DEPOSIT){ Investor memory investor; investor = investors[msg.sender]; if (investor.invested != 0){ uint getPay = ((investor.invested.sub(investor.paid)).mul(RETURN_PERCENT).div(100)).sub(msg.value); msg.sender.transfer(getPay); investor.paid = 0; investor.invested = 0; investors[msg.sender] = investor; } } } function payToMarketingReferral() internal { address referral = investors[msg.sender].referral; if (referral == MARKETING) { MARKETING.send(msg.value / 10); }else{ MARKETING.send(msg.value / 20); referral.send(msg.value / 20); } } function bytesToAddress(bytes _b) private pure returns (address addr) { assembly { addr := mload(add(_b, 20)) } } } library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two numbers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); // Solidity only automatically asserts 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; } /** * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two numbers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two numbers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investors","outputs":[{"name":"invested","type":"uint256"},{"name":"paid","type":"uint256"},{"name":"referral","type":"address"},{"name":"lastBlockReward","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
608060405234801561001057600080fd5b50610b66806100206000396000f300608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680636f7bc9be146100df575b600034141561005757610052610177565b6100dd565b66033c8cb763f0003414156100735761006e610460565b6100dc565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015414156100ca576100c56106a6565b6100d3565b6100d2610177565b5b6100db61084e565b5b5b005b3480156100eb57600080fd5b50610120600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109f3565b604051808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390f35b61017f610afb565b6000806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206080604051908101604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505092506000836000015114151561045b5761170c836060015143036064600286600001510281151561026d57fe5b040281151561027857fe5b049150610292836020015183610a4390919063ffffffff16565b90506102ac60028460000151610a6490919063ffffffff16565b811115610307576102e183602001516102d360028660000151610a6490919063ffffffff16565b610aa290919063ffffffff16565b915060008360200181815250504383606001818152505034836000018181525050610332565b8183602001818151019150818152505043836060018181525050348360000181815101915081815250505b826000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155905050813073ffffffffffffffffffffffffffffffffffffffff16311015610413573073ffffffffffffffffffffffffffffffffffffffff163191505b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610459573d6000803e3d6000fd5b505b505050565b610468610afb565b600066033c8cb763f0003414156106a2576000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206080604051908101604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509150600082600001511415156106a15761059a3461058c606461057e603c61057088602001518960000151610aa290919063ffffffff16565b610a6490919063ffffffff16565b610ac390919063ffffffff16565b610aa290919063ffffffff16565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156105e2573d6000803e3d6000fd5b5060008260200181815250506000826000018181525050816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301559050505b5b5050565b6000806106b1610afb565b6000803690501415156106fd576106fa6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050610aed565b91505b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154111561074f57819250610767565b73f3b7229fd298031c39d4368066cc7995649f321b92505b608060405190810160405280348152602001600081526020018473ffffffffffffffffffffffffffffffffffffffff168152602001438152509050806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155905050505050565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905073f3b7229fd298031c39d4368066cc7995649f321b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109575773f3b7229fd298031c39d4368066cc7995649f321b73ffffffffffffffffffffffffffffffffffffffff166108fc600a3481151561093657fe5b049081150290604051600060405180830381858888f19350505050506109f0565b73f3b7229fd298031c39d4368066cc7995649f321b73ffffffffffffffffffffffffffffffffffffffff166108fc60143481151561099157fe5b049081150290604051600060405180830381858888f19350505050508073ffffffffffffffffffffffffffffffffffffffff166108fc6014348115156109d357fe5b049081150290604051600060405180830381858888f19350505050505b50565b60006020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154905084565b6000808284019050838110151515610a5a57600080fd5b8091505092915050565b6000806000841415610a795760009150610a9b565b8284029050828482811515610a8a57fe5b04141515610a9757600080fd5b8091505b5092915050565b600080838311151515610ab457600080fd5b82840390508091505092915050565b600080600083111515610ad557600080fd5b8284811515610ae057fe5b0490508091505092915050565b600060148201519050919050565b6080604051908101604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250905600a165627a7a7230582038ce533b6c2bed44c52dc5c34ab40169bbd6d3af81e4a827aad00ecb330284340029
Deployed Bytecode
0x608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680636f7bc9be146100df575b600034141561005757610052610177565b6100dd565b66033c8cb763f0003414156100735761006e610460565b6100dc565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015414156100ca576100c56106a6565b6100d3565b6100d2610177565b5b6100db61084e565b5b5b005b3480156100eb57600080fd5b50610120600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109f3565b604051808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200194505050505060405180910390f35b61017f610afb565b6000806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206080604051908101604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152505092506000836000015114151561045b5761170c836060015143036064600286600001510281151561026d57fe5b040281151561027857fe5b049150610292836020015183610a4390919063ffffffff16565b90506102ac60028460000151610a6490919063ffffffff16565b811115610307576102e183602001516102d360028660000151610a6490919063ffffffff16565b610aa290919063ffffffff16565b915060008360200181815250504383606001818152505034836000018181525050610332565b8183602001818151019150818152505043836060018181525050348360000181815101915081815250505b826000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155905050813073ffffffffffffffffffffffffffffffffffffffff16311015610413573073ffffffffffffffffffffffffffffffffffffffff163191505b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610459573d6000803e3d6000fd5b505b505050565b610468610afb565b600066033c8cb763f0003414156106a2576000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206080604051908101604052908160008201548152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820154815250509150600082600001511415156106a15761059a3461058c606461057e603c61057088602001518960000151610aa290919063ffffffff16565b610a6490919063ffffffff16565b610ac390919063ffffffff16565b610aa290919063ffffffff16565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156105e2573d6000803e3d6000fd5b5060008260200181815250506000826000018181525050816000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301559050505b5b5050565b6000806106b1610afb565b6000803690501415156106fd576106fa6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050610aed565b91505b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154111561074f57819250610767565b73f3b7229fd298031c39d4368066cc7995649f321b92505b608060405190810160405280348152602001600081526020018473ffffffffffffffffffffffffffffffffffffffff168152602001438152509050806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030155905050505050565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905073f3b7229fd298031c39d4368066cc7995649f321b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109575773f3b7229fd298031c39d4368066cc7995649f321b73ffffffffffffffffffffffffffffffffffffffff166108fc600a3481151561093657fe5b049081150290604051600060405180830381858888f19350505050506109f0565b73f3b7229fd298031c39d4368066cc7995649f321b73ffffffffffffffffffffffffffffffffffffffff166108fc60143481151561099157fe5b049081150290604051600060405180830381858888f19350505050508073ffffffffffffffffffffffffffffffffffffffff166108fc6014348115156109d357fe5b049081150290604051600060405180830381858888f19350505050505b50565b60006020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060030154905084565b6000808284019050838110151515610a5a57600080fd5b8091505092915050565b6000806000841415610a795760009150610a9b565b8284029050828482811515610a8a57fe5b04141515610a9757600080fd5b8091505b5092915050565b600080838311151515610ab457600080fd5b82840390508091505092915050565b600080600083111515610ad557600080fd5b8284811515610ae057fe5b0490508091505092915050565b600060148201519050919050565b6080604051908101604052806000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815250905600a165627a7a7230582038ce533b6c2bed44c52dc5c34ab40169bbd6d3af81e4a827aad00ecb330284340029
Swarm Source
bzzr://38ce533b6c2bed44c52dc5c34ab40169bbd6d3af81e4a827aad00ecb33028434
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.