ETH Price: $2,626.52 (+7.47%)

Contract

0x19b115365671A818eD62aA326D91E6E4713F8900
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer66347992018-11-03 8:43:462172 days ago1541234626IN
0x19b11536...4713F8900
0 ETH0.000084284
Transfer66141172018-10-30 23:13:012175 days ago1540941181IN
0x19b11536...4713F8900
0 ETH0.000042142
Transfer66053502018-10-29 12:44:582177 days ago1540817098IN
0x19b11536...4713F8900
0.001 ETH0.000284473
Transfer65957262018-10-27 22:48:162178 days ago1540680496IN
0x19b11536...4713F8900
0.5 ETH0.000284473
Transfer65921892018-10-27 8:48:292179 days ago1540630109IN
0x19b11536...4713F8900
0.01 ETH0.000063583
Transfer65915402018-10-27 6:15:242179 days ago1540620924IN
0x19b11536...4713F8900
0.02 ETH0.000853429
Transfer65910772018-10-27 4:26:492179 days ago1540614409IN
0x19b11536...4713F8900
0 ETH0.000084284
Transfer65906762018-10-27 2:53:092179 days ago1540608789IN
0x19b11536...4713F8900
0.01 ETH0.000568956
Transfer65899662018-10-27 0:09:122179 days ago1540598952IN
0x19b11536...4713F8900
1 ETH0.000380484.0125
Transfer65899182018-10-26 23:58:222179 days ago1540598302IN
0x19b11536...4713F8900
0.5 ETH0.000474125
Transfer65898662018-10-26 23:47:382179 days ago1540597658IN
0x19b11536...4713F8900
0.4 ETH0.00037934
Transfer65898652018-10-26 23:47:102179 days ago1540597630IN
0x19b11536...4713F8900
0.25 ETH0.0028447530
Transfer65898322018-10-26 23:40:462179 days ago1540597246IN
0x19b11536...4713F8900
0.5 ETH0.000425355
Transfer65897202018-10-26 23:17:332179 days ago1540595853IN
0x19b11536...4713F8900
2.8 ETH0.0022594530
Transfer65896572018-10-26 23:04:332179 days ago1540595073IN
0x19b11536...4713F8900
0.6 ETH0.000255213
Transfer65896062018-10-26 22:51:262179 days ago1540594286IN
0x19b11536...4713F8900
0.7 ETH0.0011909814
Transfer65896022018-10-26 22:50:362179 days ago1540594236IN
0x19b11536...4713F8900
1.3 ETH0.0013275514
Transfer65895962018-10-26 22:49:212179 days ago1540594161IN
0x19b11536...4713F8900
1.3 ETH0.0002967414
Transfer65895652018-10-26 22:42:482179 days ago1540593768IN
0x19b11536...4713F8900
0.2 ETH0.0013275514
Transfer65895392018-10-26 22:37:412179 days ago1540593461IN
0x19b11536...4713F8900
1.499 ETH0.0011909814
Transfer65895202018-10-26 22:32:572179 days ago1540593177IN
0x19b11536...4713F8900
2 ETH0.0011909814
Transfer65895172018-10-26 22:32:112179 days ago1540593131IN
0x19b11536...4713F8900
1 ETH0.0014009814
Transfer65895042018-10-26 22:28:382179 days ago1540592918IN
0x19b11536...4713F8900
0.15 ETH0.001317912
Transfer65894972018-10-26 22:27:212179 days ago1540592841IN
0x19b11536...4713F8900
0.12 ETH0.0002543512
Transfer65894912018-10-26 22:25:242179 days ago1540592724IN
0x19b11536...4713F8900
0.1 ETH0.0002543512
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
66053502018-10-29 12:44:582177 days ago1540817098
0x19b11536...4713F8900
0.00092 ETH
66053502018-10-29 12:44:582177 days ago1540817098
0x19b11536...4713F8900
0.00008 ETH
65957262018-10-27 22:48:162178 days ago1540680496
0x19b11536...4713F8900
0.46 ETH
65957262018-10-27 22:48:162178 days ago1540680496
0x19b11536...4713F8900
0.04 ETH
65915402018-10-27 6:15:242179 days ago1540620924
0x19b11536...4713F8900
0.0184 ETH
65915402018-10-27 6:15:242179 days ago1540620924
0x19b11536...4713F8900
0.0016 ETH
65906762018-10-27 2:53:092179 days ago1540608789
0x19b11536...4713F8900
0.0092 ETH
65906762018-10-27 2:53:092179 days ago1540608789
0x19b11536...4713F8900
0.0008 ETH
65899662018-10-27 0:09:122179 days ago1540598952
0x19b11536...4713F8900
0.92 ETH
65899662018-10-27 0:09:122179 days ago1540598952
0x19b11536...4713F8900
0.08 ETH
65899182018-10-26 23:58:222179 days ago1540598302
0x19b11536...4713F8900
0.46 ETH
65899182018-10-26 23:58:222179 days ago1540598302
0x19b11536...4713F8900
0.04 ETH
65898662018-10-26 23:47:382179 days ago1540597658
0x19b11536...4713F8900
0.368 ETH
65898662018-10-26 23:47:382179 days ago1540597658
0x19b11536...4713F8900
0.032 ETH
65898652018-10-26 23:47:102179 days ago1540597630
0x19b11536...4713F8900
0.23 ETH
65898652018-10-26 23:47:102179 days ago1540597630
0x19b11536...4713F8900
0.02 ETH
65898322018-10-26 23:40:462179 days ago1540597246
0x19b11536...4713F8900
0.20538 ETH
65898322018-10-26 23:40:462179 days ago1540597246
0x19b11536...4713F8900
0.25462 ETH
65898322018-10-26 23:40:462179 days ago1540597246
0x19b11536...4713F8900
0.04 ETH
65897202018-10-26 23:17:332179 days ago1540595853
0x19b11536...4713F8900
0.52538 ETH
65897202018-10-26 23:17:332179 days ago1540595853
0x19b11536...4713F8900
0.91 ETH
65897202018-10-26 23:17:332179 days ago1540595853
0x19b11536...4713F8900
1.14062 ETH
65897202018-10-26 23:17:332179 days ago1540595853
0x19b11536...4713F8900
0.224 ETH
65896572018-10-26 23:04:332179 days ago1540595073
0x19b11536...4713F8900
0.54938 ETH
65896572018-10-26 23:04:332179 days ago1540595073
0x19b11536...4713F8900
0.00262 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BigProfit

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.25;


contract BigProfit {
    //Address for promo expences
    address constant private PROMO = 0xCA06c1a5028071E1ffd00711f15EdeFC562E35B5;
    //Percent for promo expences
    uint constant public PROMO_PERCENT = 8;
    //How many percent for your deposit to be multiplied
    uint constant public MULTIPLIER = 130;

    //The deposit structure holds all the info about the deposit made
    struct Deposit {
        address depositor; //The depositor address
        uint128 deposit;   //The deposit amount
        uint128 expect;    //How much we should pay out (initially it is 130% of deposit)
    }

    Deposit[] private queue;  //The queue
    uint public currentReceiverIndex = 0; //The index of the first depositor in the queue. The receiver of investments!

    //This function receives all the deposits
    //stores them and make immediate payouts
    function () public payable {
        if(msg.value > 0){
            require(gasleft() >= 220000, "We require more gas!"); //We need gas to process queue
            require(msg.value <= 10 ether); //Do not allow too big investments to stabilize payouts

            //Add the investor into the queue. Mark that he expects to receive 130% of deposit back
            queue.push(Deposit(msg.sender, uint128(msg.value), uint128(msg.value*MULTIPLIER/100)));

            //Send some promo to enable this contract to leave long-long time
            uint promo = msg.value*PROMO_PERCENT/100;
            PROMO.transfer(promo);

            //Pay to first investors in line
            pay();
        }
    }

    //Used to pay to current investors
    //Each new transaction processes 1 - 4+ investors in the head of queue 
    //depending on balance and gas left
    function pay() private {
        //Try to send all the money on contract to the first investors in line
        uint128 money = uint128(address(this).balance);

        //We will do cycle on the queue
        for(uint i=0; i<queue.length; i++){

            uint idx = currentReceiverIndex + i;  //get the index of the currently first investor

            Deposit storage dep = queue[idx]; //get the info of the first investor

            if(money >= dep.expect){  //If we have enough money on the contract to fully pay to investor
                dep.depositor.transfer(dep.expect); //Send money to him
                money -= dep.expect;            //update money left

                //this investor is fully paid, so remove him
                delete queue[idx];
            }else{
                //Here we don't have enough money so partially pay to investor
                dep.depositor.transfer(money); //Send to him everything we have
                dep.expect -= money;       //Update the expected amount
                break;                     //Exit cycle
            }

            if(gasleft() <= 50000)         //Check the gas left. If it is low, exit the cycle
                break;                     //The next investor will process the line further
        }

        currentReceiverIndex += i; //Update the index of the current first investor
    }

    //Get the deposit info by its index
    //You can get deposit index from
    function getDeposit(uint idx) public view returns (address depositor, uint deposit, uint expect){
        Deposit storage dep = queue[idx];
        return (dep.depositor, dep.deposit, dep.expect);
    }

    //Get the count of deposits of specific investor
    function getDepositsCount(address depositor) public view returns (uint) {
        uint c = 0;
        for(uint i=currentReceiverIndex; i<queue.length; ++i){
            if(queue[i].depositor == depositor)
                c++;
        }
        return c;
    }

    //Get all deposits (index, deposit, expect) of a specific investor
    function getDeposits(address depositor) public view returns (uint[] idxs, uint128[] deposits, uint128[] expects) {
        uint c = getDepositsCount(depositor);

        idxs = new uint[](c);
        deposits = new uint128[](c);
        expects = new uint128[](c);

        if(c > 0) {
            uint j = 0;
            for(uint i=currentReceiverIndex; i<queue.length; ++i){
                Deposit storage dep = queue[i];
                if(dep.depositor == depositor){
                    idxs[j] = i;
                    deposits[j] = dep.deposit;
                    expects[j] = dep.expect;
                    j++;
                }
            }
        }
    }
    
    //Get current queue size
    function getQueueLength() public view returns (uint) {
        return queue.length - currentReceiverIndex;
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"MULTIPLIER","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentReceiverIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"depositor","type":"address"}],"name":"getDeposits","outputs":[{"name":"idxs","type":"uint256[]"},{"name":"deposits","type":"uint128[]"},{"name":"expects","type":"uint128[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"idx","type":"uint256"}],"name":"getDeposit","outputs":[{"name":"depositor","type":"address"},{"name":"deposit","type":"uint256"},{"name":"expect","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getQueueLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PROMO_PERCENT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"depositor","type":"address"}],"name":"getDepositsCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

6080604052600060015534801561001557600080fd5b50610841806100256000396000f3006080604052600436106100825763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663059f8b1681146102515780632d95663b1461027857806394f649dd1461028d5780639f9fb9681461038c578063b8f77005146103cc578063c533a5a3146103e1578063c67f7df5146103f6575b60008034111561024e5762035b605a10156100fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57652072657175697265206d6f72652067617321000000000000000000000000604482015290519081900360640190fd5b678ac7230489e8000034111561011357600080fd5b50604080516060810182523381526001608060020a033481811660208401908152606460828302819004841685870190815260008054600181018255818052965160029097027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5638101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039099169890981790975592517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564909601805491516fffffffffffffffffffffffffffffffff19909216968616969096178516608060020a91909516029390931790935592516008909302049173ca06c1a5028071e1ffd00711f15edefc562e35b5916108fc841502918491818181858888f19350505050158015610245573d6000803e3d6000fd5b5061024e610417565b50005b34801561025d57600080fd5b506102666105b0565b60408051918252519081900360200190f35b34801561028457600080fd5b506102666105b5565b34801561029957600080fd5b506102ae600160a060020a03600435166105bb565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156102f65781810151838201526020016102de565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561033557818101518382015260200161031d565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101561037457818101518382015260200161035c565b50505050905001965050505050505060405180910390f35b34801561039857600080fd5b506103a460043561074b565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b3480156103d857600080fd5b506102666107a4565b3480156103ed57600080fd5b506102666107ae565b34801561040257600080fd5b50610266600160a060020a03600435166107b3565b3031600080805b6000548310156105a2578260015401915060008281548110151561043e57fe5b600091825260209091206002909102016001810154909150608060020a90046001608060020a039081169085161061051f5780546001820154604051600160a060020a03909216916001608060020a03608060020a9092049190911680156108fc02916000818181858888f193505050501580156104c0573d6000803e3d6000fd5b508060010160109054906101000a90046001608060020a0316840393506000828154811015156104ec57fe5b600091825260208220600290910201805473ffffffffffffffffffffffffffffffffffffffff1916815560010155610589565b8054604051600160a060020a03909116906001608060020a03861680156108fc02916000818181858888f19350505050158015610560573d6000803e3d6000fd5b506001810180546001608060020a03608060020a808304821688900382160291161790556105a2565b61c3505a11610597576105a2565b60019092019161041e565b505060018054909101905550565b608281565b60015481565b60608060606000806000806105cf886107b3565b9350836040519080825280602002602001820160405280156105fb578160200160208202803883390190505b50965083604051908082528060200260200182016040528015610628578160200160208202803883390190505b50955083604051908082528060200260200182016040528015610655578160200160208202803883390190505b5094506000841115610740576000925060015491505b60005482101561074057600080548390811061068357fe5b600091825260209091206002909102018054909150600160a060020a0389811691161415610735578187848151811015156106ba57fe5b60209081029091010152600181015486516001608060020a03909116908790859081106106e357fe5b6001608060020a039283166020918202909201015260018201548651608060020a9091049091169086908590811061071757fe5b6001608060020a039092166020928302909101909101526001909201915b81600101915061066b565b505050509193909250565b60008060008060008581548110151561076057fe5b600091825260209091206002909102018054600190910154600160a060020a03909116966001608060020a038083169750608060020a909204909116945092505050565b6001546000540390565b600881565b60015460009081905b60005481101561080e5783600160a060020a03166000828154811015156107df57fe5b6000918252602090912060029091020154600160a060020a03161415610806576001909101905b6001016107bc565b50929150505600a165627a7a723058204de581cabe9cf62af649bc65e49ce2d558f48d195906723e8d5750d61577b60a0029

Deployed Bytecode

0x6080604052600436106100825763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663059f8b1681146102515780632d95663b1461027857806394f649dd1461028d5780639f9fb9681461038c578063b8f77005146103cc578063c533a5a3146103e1578063c67f7df5146103f6575b60008034111561024e5762035b605a10156100fe57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f57652072657175697265206d6f72652067617321000000000000000000000000604482015290519081900360640190fd5b678ac7230489e8000034111561011357600080fd5b50604080516060810182523381526001608060020a033481811660208401908152606460828302819004841685870190815260008054600181018255818052965160029097027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5638101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039099169890981790975592517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564909601805491516fffffffffffffffffffffffffffffffff19909216968616969096178516608060020a91909516029390931790935592516008909302049173ca06c1a5028071e1ffd00711f15edefc562e35b5916108fc841502918491818181858888f19350505050158015610245573d6000803e3d6000fd5b5061024e610417565b50005b34801561025d57600080fd5b506102666105b0565b60408051918252519081900360200190f35b34801561028457600080fd5b506102666105b5565b34801561029957600080fd5b506102ae600160a060020a03600435166105bb565b60405180806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b838110156102f65781810151838201526020016102de565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561033557818101518382015260200161031d565b50505050905001848103825285818151815260200191508051906020019060200280838360005b8381101561037457818101518382015260200161035c565b50505050905001965050505050505060405180910390f35b34801561039857600080fd5b506103a460043561074b565b60408051600160a060020a039094168452602084019290925282820152519081900360600190f35b3480156103d857600080fd5b506102666107a4565b3480156103ed57600080fd5b506102666107ae565b34801561040257600080fd5b50610266600160a060020a03600435166107b3565b3031600080805b6000548310156105a2578260015401915060008281548110151561043e57fe5b600091825260209091206002909102016001810154909150608060020a90046001608060020a039081169085161061051f5780546001820154604051600160a060020a03909216916001608060020a03608060020a9092049190911680156108fc02916000818181858888f193505050501580156104c0573d6000803e3d6000fd5b508060010160109054906101000a90046001608060020a0316840393506000828154811015156104ec57fe5b600091825260208220600290910201805473ffffffffffffffffffffffffffffffffffffffff1916815560010155610589565b8054604051600160a060020a03909116906001608060020a03861680156108fc02916000818181858888f19350505050158015610560573d6000803e3d6000fd5b506001810180546001608060020a03608060020a808304821688900382160291161790556105a2565b61c3505a11610597576105a2565b60019092019161041e565b505060018054909101905550565b608281565b60015481565b60608060606000806000806105cf886107b3565b9350836040519080825280602002602001820160405280156105fb578160200160208202803883390190505b50965083604051908082528060200260200182016040528015610628578160200160208202803883390190505b50955083604051908082528060200260200182016040528015610655578160200160208202803883390190505b5094506000841115610740576000925060015491505b60005482101561074057600080548390811061068357fe5b600091825260209091206002909102018054909150600160a060020a0389811691161415610735578187848151811015156106ba57fe5b60209081029091010152600181015486516001608060020a03909116908790859081106106e357fe5b6001608060020a039283166020918202909201015260018201548651608060020a9091049091169086908590811061071757fe5b6001608060020a039092166020928302909101909101526001909201915b81600101915061066b565b505050509193909250565b60008060008060008581548110151561076057fe5b600091825260209091206002909102018054600190910154600160a060020a03909116966001608060020a038083169750608060020a909204909116945092505050565b6001546000540390565b600881565b60015460009081905b60005481101561080e5783600160a060020a03166000828154811015156107df57fe5b6000918252602090912060029091020154600160a060020a03161415610806576001909101905b6001016107bc565b50929150505600a165627a7a723058204de581cabe9cf62af649bc65e49ce2d558f48d195906723e8d5750d61577b60a0029

Swarm Source

bzzr://4de581cabe9cf62af649bc65e49ce2d558f48d195906723e8d5750d61577b60a

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.