ETH Price: $2,427.00 (-2.22%)

Contract

0xe82719202e5965Cf5D9B6673B7503a3b92DE20be
 
Transaction Hash
Method
Block
From
To
Collect All Fees206039082024-08-25 6:46:2344 days ago1724568383IN
Rubixi
0 ETH0.000033161.07320687
Transfer206038882024-08-25 6:42:2344 days ago1724568143IN
Rubixi
0.000036 ETH0.000043511.00713959
Dynamic Pyramid206038752024-08-25 6:39:4744 days ago1724567987IN
Rubixi
0 ETH0.00002270.96251311
Collect All Fees204713762024-08-06 18:39:3562 days ago1722969575IN
Rubixi
0 ETH0.000067562.87034694
Change Owner204713602024-08-06 18:36:2362 days ago1722969383IN
Rubixi
0 ETH0.000076613.19064887
Change Owner203401792024-07-19 11:08:1180 days ago1721387291IN
Rubixi
0 ETH0.000148146.09256631
Dynamic Pyramid203401712024-07-19 11:06:3580 days ago1721387195IN
Rubixi
0 ETH0.000167956.36402836
Dynamic Pyramid202686222024-07-09 11:25:1190 days ago1720524311IN
Rubixi
0 ETH0.000075053.18132115
Collect Fees In ...202278422024-07-03 18:41:5996 days ago1720032119IN
Rubixi
0 ETH0.000188977.93426562
Collect Percent ...202278382024-07-03 18:41:1196 days ago1720032071IN
Rubixi
0 ETH0.000183167.75224002
Change Fee Perce...202278362024-07-03 18:40:4796 days ago1720032047IN
Rubixi
0 ETH0.000184217.71439887
Collect All Fees202278012024-07-03 18:33:4796 days ago1720031627IN
Rubixi
0 ETH0.000200088.5006119
Change Owner202277832024-07-03 18:30:1196 days ago1720031411IN
Rubixi
0 ETH0.000174647.26999052
Dynamic Pyramid202257532024-07-03 11:41:4796 days ago1720006907IN
Rubixi
0 ETH0.000160696.0889436
Change Owner201853662024-06-27 20:18:59102 days ago1719519539IN
Rubixi
0 ETH0.000153056.37116346
Change Owner201853122024-06-27 20:07:59102 days ago1719518879IN
Rubixi
0 ETH0.000196168.16570499
Change Fee Perce...197408162024-04-26 16:48:47164 days ago1714150127IN
Rubixi
0 ETH0.0004952410.76482586
Dynamic Pyramid197407862024-04-26 16:42:35164 days ago1714149755IN
Rubixi
0 ETH0.0002782410.54267965
Collect All Fees196553212024-04-14 17:40:11176 days ago1713116411IN
Rubixi
0 ETH0.0004275218.16337243
Change Owner196553152024-04-14 17:38:47176 days ago1713116327IN
Rubixi
0 ETH0.0004561718.99867113
Collect All Fees193205052024-02-27 17:53:59223 days ago1709056439IN
Rubixi
0 ETH0.0106239842.49595074
Dynamic Pyramid193190532024-02-27 13:01:23223 days ago1709038883IN
Rubixi
0 ETH0.0012697248.11017794
Dynamic Pyramid187012182023-12-02 20:50:47310 days ago1701550247IN
Rubixi
0 ETH0.0008309931.48676998
Collect All Fees184153972023-10-23 20:37:23350 days ago1698093443IN
Rubixi
0 ETH0.0012897636.53009516
Dynamic Pyramid184153962023-10-23 20:37:11350 days ago1698093431IN
Rubixi
0 ETH0.0008965833.97167812
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
206039082024-08-25 6:46:2344 days ago1724568383
Rubixi
0.000036 ETH
172885352023-05-18 19:32:35508 days ago1684438355
Rubixi
0.00001 ETH
166976012023-02-24 10:27:59591 days ago1677234479
Rubixi
0.00001 ETH
143340232022-03-06 14:59:54946 days ago1646578794
Rubixi
0.005 ETH
143337132022-03-06 13:54:07946 days ago1646574847
Rubixi
0.01 ETH
143330002022-03-06 11:16:25946 days ago1646565385
Rubixi
0.01 ETH
143327012022-03-06 10:07:28946 days ago1646561248
Rubixi
0.01731856 ETH
143325352022-03-06 9:31:14946 days ago1646559074
Rubixi
0.00192428 ETH
143325352022-03-06 9:31:14946 days ago1646559074
Rubixi
0.01 ETH
143324612022-03-06 9:13:11946 days ago1646557991
Rubixi
0.00102698 ETH
143324612022-03-06 9:13:11946 days ago1646557991
Rubixi
0.01 ETH
143297342022-03-05 23:03:57947 days ago1646521437
Rubixi
0.00002998 ETH
143297182022-03-05 22:59:34947 days ago1646521174
Rubixi
0.00044972 ETH
143296752022-03-05 22:48:19947 days ago1646520499
Rubixi
0.00074999 ETH
137731742021-12-09 20:33:271033 days ago1639082007
Rubixi
0.0000069 ETH
63819182018-09-23 1:33:562207 days ago1537666436
Rubixi
0.001 ETH
63779942018-09-22 10:12:112207 days ago1537611131
Rubixi
0.001 ETH
53291772018-03-27 4:32:462387 days ago1522125166
Rubixi
0.00001 ETH
51826252018-03-02 10:49:112411 days ago1519987751
Rubixi
0.0009 ETH
42006442017-08-25 1:04:332601 days ago1503623073
Rubixi
0.039 ETH
24356242016-10-14 0:25:432916 days ago1476404743
Rubixi
0 ETH
24356242016-10-14 0:25:432916 days ago1476404743
Rubixi
0 ETH
24356242016-10-14 0:25:432916 days ago1476404743
Rubixi
0 ETH
24356242016-10-14 0:25:432916 days ago1476404743
Rubixi
0 ETH
24356242016-10-14 0:25:432916 days ago1476404743
Rubixi
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Rubixi

Compiler Version
v0.2.1-2016-01-30-91a6b35

Optimization Enabled:
Yes with 200 runs

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

contract Rubixi {

        //Declare variables for storage critical to contract
        uint private balance = 0;
        uint private collectedFees = 0;
        uint private feePercent = 10;
        uint private pyramidMultiplier = 300;
        uint private payoutOrder = 0;

        address private creator;

        //Sets creator
        function DynamicPyramid() {
                creator = msg.sender;
        }

        modifier onlyowner {
                if (msg.sender == creator) _
        }

        struct Participant {
                address etherAddress;
                uint payout;
        }

        Participant[] private participants;

        //Fallback function
        function() {
                init();
        }

        //init function run on fallback
        function init() private {
                //Ensures only tx with value of 1 ether or greater are processed and added to pyramid
                if (msg.value < 1 ether) {
                        collectedFees += msg.value;
                        return;
                }

                uint _fee = feePercent;
                //50% fee rebate on any ether value of 50 or greater
                if (msg.value >= 50 ether) _fee /= 2;

                addPayout(_fee);
        }

        //Function called for valid tx to the contract 
        function addPayout(uint _fee) private {
                //Adds new address to participant array
                participants.push(Participant(msg.sender, (msg.value * pyramidMultiplier) / 100));

                //These statements ensure a quicker payout system to later pyramid entrants, so the pyramid has a longer lifespan
                if (participants.length == 10) pyramidMultiplier = 200;
                else if (participants.length == 25) pyramidMultiplier = 150;

                // collect fees and update contract balance
                balance += (msg.value * (100 - _fee)) / 100;
                collectedFees += (msg.value * _fee) / 100;

                //Pays earlier participiants if balance sufficient
                while (balance > participants[payoutOrder].payout) {
                        uint payoutToSend = participants[payoutOrder].payout;
                        participants[payoutOrder].etherAddress.send(payoutToSend);

                        balance -= participants[payoutOrder].payout;
                        payoutOrder += 1;
                }
        }

        //Fee functions for creator
        function collectAllFees() onlyowner {
                if (collectedFees == 0) throw;

                creator.send(collectedFees);
                collectedFees = 0;
        }

        function collectFeesInEther(uint _amt) onlyowner {
                _amt *= 1 ether;
                if (_amt > collectedFees) collectAllFees();

                if (collectedFees == 0) throw;

                creator.send(_amt);
                collectedFees -= _amt;
        }

        function collectPercentOfFees(uint _pcent) onlyowner {
                if (collectedFees == 0 || _pcent > 100) throw;

                uint feesToCollect = collectedFees / 100 * _pcent;
                creator.send(feesToCollect);
                collectedFees -= feesToCollect;
        }

        //Functions for changing variables related to the contract
        function changeOwner(address _owner) onlyowner {
                creator = _owner;
        }

        function changeMultiplier(uint _mult) onlyowner {
                if (_mult > 300 || _mult < 120) throw;

                pyramidMultiplier = _mult;
        }

        function changeFeePercentage(uint _fee) onlyowner {
                if (_fee > 10) throw;

                feePercent = _fee;
        }

        //Functions to provide information to end-user using JSON interface or other interfaces
        function currentMultiplier() constant returns(uint multiplier, string info) {
                multiplier = pyramidMultiplier;
                info = 'This multiplier applies to you as soon as transaction is received, may be lowered to hasten payouts or increased if payouts are fast enough. Due to no float or decimals, multiplier is x100 for a fractional multiplier e.g. 250 is actually a 2.5x multiplier. Capped at 3x max and 1.2x min.';
        }

        function currentFeePercentage() constant returns(uint fee, string info) {
                fee = feePercent;
                info = 'Shown in % form. Fee is halved(50%) for amounts equal or greater than 50 ethers. (Fee may change, but is capped to a maximum of 10%)';
        }

        function currentPyramidBalanceApproximately() constant returns(uint pyramidBalance, string info) {
                pyramidBalance = balance / 1 ether;
                info = 'All balance values are measured in Ethers, note that due to no decimal placing, these values show up as integers only, within the contract itself you will get the exact decimal value you are supposed to';
        }

        function nextPayoutWhenPyramidBalanceTotalsApproximately() constant returns(uint balancePayout) {
                balancePayout = participants[payoutOrder].payout / 1 ether;
        }

        function feesSeperateFromBalanceApproximately() constant returns(uint fees) {
                fees = collectedFees / 1 ether;
        }

        function totalParticipants() constant returns(uint count) {
                count = participants.length;
        }

        function numberOfParticipantsWaitingForPayout() constant returns(uint count) {
                count = participants.length - payoutOrder;
        }

        function participantDetails(uint orderInPyramid) constant returns(address Address, uint Payout) {
                if (orderInPyramid <= participants.length) {
                        Address = participants[orderInPyramid].etherAddress;
                        Payout = participants[orderInPyramid].payout / 1 ether;
                }
        }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"currentPyramidBalanceApproximately","outputs":[{"name":"pyramidBalance","type":"uint256"},{"name":"info","type":"string"}],"type":"function"},{"constant":true,"inputs":[],"name":"feesSeperateFromBalanceApproximately","outputs":[{"name":"fees","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_pcent","type":"uint256"}],"name":"collectPercentOfFees","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"nextPayoutWhenPyramidBalanceTotalsApproximately","outputs":[{"name":"balancePayout","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[],"name":"DynamicPyramid","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"collectAllFees","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"currentMultiplier","outputs":[{"name":"multiplier","type":"uint256"},{"name":"info","type":"string"}],"type":"function"},{"constant":true,"inputs":[],"name":"currentFeePercentage","outputs":[{"name":"fee","type":"uint256"},{"name":"info","type":"string"}],"type":"function"},{"constant":true,"inputs":[{"name":"orderInPyramid","type":"uint256"}],"name":"participantDetails","outputs":[{"name":"Address","type":"address"},{"name":"Payout","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"totalParticipants","outputs":[{"name":"count","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"changeOwner","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_amt","type":"uint256"}],"name":"collectFeesInEther","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_mult","type":"uint256"}],"name":"changeMultiplier","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"numberOfParticipantsWaitingForPayout","outputs":[{"name":"count","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_fee","type":"uint256"}],"name":"changeFeePercentage","outputs":[],"type":"function"}]

606060405260008080556001819055600a60025561012c60035560048190556109db90819061002d90396000f3606060405236156100b95760e060020a600035046309dfdc7181146100dd578063253459e31461011c5780634229616d1461013d57806357d4021b1461017857806367f809e9146101b7578063686f2c90146101ce5780636fbaaa1e146101fa5780638a5fb3ca1461022e5780639dbc4f9b14610260578063a26dbf26146102ed578063a6f9dae1146102f5578063b402295014610328578063ced9267014610366578063d11f13df1461039e578063fae14192146103ab575b6103d66103d86000670de0b6b3a76400003410156104755760018054340190555b50565b6040805160208181018352600080835283519054610100820190945260ca8082526103da94670de0b6b3a7640000900493926107d29083013990509091565b600154670de0b6b3a764000090045b60408051918252519081900360200190f35b6103d6600435600554600090600160a060020a039081163390911614156105955760015481148061016e5750606482115b1561055a57610002565b61012b6000670de0b6b3a7640000600660005060046000505481548110156100025792526002919091026000805160206109bb83398151915201540490565b6103d660058054600160a060020a03191633179055565b6103d65b600554600160a060020a039081163390911614156103d857600154600014156104ef57610002565b6103da6040805160208181018352600082528251600354610140820190945261011f808252909161089c9083013990509091565b6103da604080516020818101835260008252825160025460c082019094526084808252909161074e9083013990509091565b61044f600435600654600090819083116102e85760068054849081101561000257508054818352600285027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0154600160a060020a03169350670de0b6b3a764000091908590811015610002575050600284026000805160206109bb83398151915201540490505b915091565b60065461012b565b6103d6600435600554600160a060020a039081163390911614156100da5760058054600160a060020a0319168217905550565b6103d6600435600554600160a060020a039081163390911614156100da57600154670de0b6b3a76400009190910290811115610519576105196101d2565b6103d6600435600554600160a060020a039081163390911614156100da5761012c8111806103945750607881105b1561059957610002565b600654600454900361012b565b6103d660043560055433600160a060020a03908116911614156100da57600a81111561059e57610002565b005b565b60405180838152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156104405780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6040518083600160a060020a031681526020018281526020019250505060405180910390f35b506002546802b5e3af16b1880000341061048e57600290045b6100da816000600660005080548060010182818154818355818115116105a3576002028160020283600052602060002091820191016105a391905b80821115610607578054600160a060020a031916815560006001919091019081556104c9565b600154600554604051600160a060020a03919091169160009182818181858883f150505060015550565b6001546000141561052957610002565b600554604051600160a060020a039190911690600090839082818181858883f1505060018054919091039055505050565b506001546005546040516064909204830291600160a060020a039190911690600090839082818181858883f150506001805491909103905550505b5050565b600355565b600255565b50505091909060005260206000209060020201600050604080518082019091523380825260035460643491909102046020929092018290528254600160a060020a0319161782556001919091015550600654600a141561060b5760c860035561061c565b5090565b6006546019141561061c5760966003555b6000805460648481033490810282900490920190925560018054918502929092040190555b600454600680549091908110156100025760009182526002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0190506001015460005411156105955760045460068054909190811015610002576002026000805160206109bb8339815191520154600454825491935090811015610002576002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0154604051600160a060020a03919091169150600090839082818181858883f19350505050506006600050600460005054815481101561000257600091825281546002919091026000805160206109bb8339815191520154900390556004805460010190556106415653686f776e20696e202520666f726d2e204665652069732068616c766564283530252920666f7220616d6f756e747320657175616c206f722067726561746572207468616e203530206574686572732e2028466565206d6179206368616e67652c206275742069732063617070656420746f2061206d6178696d756d206f662031302529416c6c2062616c616e63652076616c75657320617265206d6561737572656420696e204574686572732c206e6f746520746861742064756520746f206e6f20646563696d616c20706c6163696e672c2074686573652076616c7565732073686f7720757020617320696e746567657273206f6e6c792c2077697468696e2074686520636f6e747261637420697473656c6620796f752077696c6c206765742074686520657861637420646563696d616c2076616c756520796f752061726520737570706f73656420746f54686973206d756c7469706c696572206170706c69657320746f20796f7520617320736f6f6e206173207472616e73616374696f6e2069732072656365697665642c206d6179206265206c6f776572656420746f2068617374656e207061796f757473206f7220696e63726561736564206966207061796f75747320617265206661737420656e6f7567682e2044756520746f206e6f20666c6f6174206f7220646563696d616c732c206d756c7469706c696572206973207831303020666f722061206672616374696f6e616c206d756c7469706c69657220652e672e203235302069732061637475616c6c79206120322e3578206d756c7469706c6965722e20436170706564206174203378206d617820616e6420312e3278206d696e2ef652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40

Deployed Bytecode

0x606060405236156100b95760e060020a600035046309dfdc7181146100dd578063253459e31461011c5780634229616d1461013d57806357d4021b1461017857806367f809e9146101b7578063686f2c90146101ce5780636fbaaa1e146101fa5780638a5fb3ca1461022e5780639dbc4f9b14610260578063a26dbf26146102ed578063a6f9dae1146102f5578063b402295014610328578063ced9267014610366578063d11f13df1461039e578063fae14192146103ab575b6103d66103d86000670de0b6b3a76400003410156104755760018054340190555b50565b6040805160208181018352600080835283519054610100820190945260ca8082526103da94670de0b6b3a7640000900493926107d29083013990509091565b600154670de0b6b3a764000090045b60408051918252519081900360200190f35b6103d6600435600554600090600160a060020a039081163390911614156105955760015481148061016e5750606482115b1561055a57610002565b61012b6000670de0b6b3a7640000600660005060046000505481548110156100025792526002919091026000805160206109bb83398151915201540490565b6103d660058054600160a060020a03191633179055565b6103d65b600554600160a060020a039081163390911614156103d857600154600014156104ef57610002565b6103da6040805160208181018352600082528251600354610140820190945261011f808252909161089c9083013990509091565b6103da604080516020818101835260008252825160025460c082019094526084808252909161074e9083013990509091565b61044f600435600654600090819083116102e85760068054849081101561000257508054818352600285027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0154600160a060020a03169350670de0b6b3a764000091908590811015610002575050600284026000805160206109bb83398151915201540490505b915091565b60065461012b565b6103d6600435600554600160a060020a039081163390911614156100da5760058054600160a060020a0319168217905550565b6103d6600435600554600160a060020a039081163390911614156100da57600154670de0b6b3a76400009190910290811115610519576105196101d2565b6103d6600435600554600160a060020a039081163390911614156100da5761012c8111806103945750607881105b1561059957610002565b600654600454900361012b565b6103d660043560055433600160a060020a03908116911614156100da57600a81111561059e57610002565b005b565b60405180838152602001806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600f02600301f150905090810190601f1680156104405780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b6040518083600160a060020a031681526020018281526020019250505060405180910390f35b506002546802b5e3af16b1880000341061048e57600290045b6100da816000600660005080548060010182818154818355818115116105a3576002028160020283600052602060002091820191016105a391905b80821115610607578054600160a060020a031916815560006001919091019081556104c9565b600154600554604051600160a060020a03919091169160009182818181858883f150505060015550565b6001546000141561052957610002565b600554604051600160a060020a039190911690600090839082818181858883f1505060018054919091039055505050565b506001546005546040516064909204830291600160a060020a039190911690600090839082818181858883f150506001805491909103905550505b5050565b600355565b600255565b50505091909060005260206000209060020201600050604080518082019091523380825260035460643491909102046020929092018290528254600160a060020a0319161782556001919091015550600654600a141561060b5760c860035561061c565b5090565b6006546019141561061c5760966003555b6000805460648481033490810282900490920190925560018054918502929092040190555b600454600680549091908110156100025760009182526002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0190506001015460005411156105955760045460068054909190811015610002576002026000805160206109bb8339815191520154600454825491935090811015610002576002027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0154604051600160a060020a03919091169150600090839082818181858883f19350505050506006600050600460005054815481101561000257600091825281546002919091026000805160206109bb8339815191520154900390556004805460010190556106415653686f776e20696e202520666f726d2e204665652069732068616c766564283530252920666f7220616d6f756e747320657175616c206f722067726561746572207468616e203530206574686572732e2028466565206d6179206368616e67652c206275742069732063617070656420746f2061206d6178696d756d206f662031302529416c6c2062616c616e63652076616c75657320617265206d6561737572656420696e204574686572732c206e6f746520746861742064756520746f206e6f20646563696d616c20706c6163696e672c2074686573652076616c7565732073686f7720757020617320696e746567657273206f6e6c792c2077697468696e2074686520636f6e747261637420697473656c6620796f752077696c6c206765742074686520657861637420646563696d616c2076616c756520796f752061726520737570706f73656420746f54686973206d756c7469706c696572206170706c69657320746f20796f7520617320736f6f6e206173207472616e73616374696f6e2069732072656365697665642c206d6179206265206c6f776572656420746f2068617374656e207061796f757473206f7220696e63726561736564206966207061796f75747320617265206661737420656e6f7567682e2044756520746f206e6f20666c6f6174206f7220646563696d616c732c206d756c7469706c696572206973207831303020666f722061206672616374696f6e616c206d756c7469706c69657220652e672e203235302069732061637475616c6c79206120322e3578206d756c7469706c6965722e20436170706564206174203378206d617820616e6420312e3278206d696e2ef652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40

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.