Contract 0x30b0d22416075184b8111c0e033fe6f33e6b7996

 

TxHash Block Age From To Value [TxFee]
0x55acf923d5943b8093518ae8c0bc0dec35c9c2cb8c9c5b36196661dfba12569c679726181 days 2 hrs ago0xfeb65cc3fe7490e71d929f37b14b516db627b877  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960.005 Ether0.000268923
0x560eabe533e18e52480c0e0509ed7b9532d51b7d2955f4a2067db4b7cf8d0dfc6184159182 days 2 hrs ago0x013f3b8c9f1c4f2f28fd9cc1e1cf3675ae920c76  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0x402b4f84fd654eee81e7ccf0e054eade4cab3fb47fb6b0667100206168abf4276168512184 days 18 hrs ago0xa8e8a03b6f20f24a6bbc850acb82500f69b25bc2  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000100392
0x899dca50bf10561cf8f1b96ae7a419cce4215677c8dd985ff83f681e610f05ba6118687193 days 4 hrs ago0x601974963ebfc94019744de0e371d12d95669f90  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.00025098
0x8b5b3029b169356d1a87afe4d7b6de6690ce7ef30ef44541b6303182913d951e5710033263 days 6 hrs ago0x85abe8e3bed0d4891ba201af1e212fe50bb65a26  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000351372
0xf3a9cf3740dd4f7ffb31f1f16465cdc8f26eedd8d2d13a7b31fc37de6f70df7d5681458268 days 7 hrs ago0x06f34eed3508ed9a221d1d862dae92fe1894d955  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000225882
0x766e78cf03afe26c4c87efb80034ccfb96acbe2c5ff799390bdef259f18fd48b5666936270 days 21 hrs ago0x53597a78f82c35b2f0452a2ee1c97be0c790d819  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.00025098
0x4aea9aac7323310ee767940a68e232ed77f2f6fd6e98b8f8f8ccbf5696abda1e5664857271 days 6 hrs ago0x8ec94b4a13a97463a539b927760de5b96292e67a  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.0001279998
0xf8ad92cbf53f7f9b7b459dfaf263c5d432877af65b9e47d8e354993948e8e6325663468271 days 12 hrs ago0x8ec94b4a13a97463a539b927760de5b96292e67a  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.0002534898
0xb27120b63b791b9d4e74b4fec156ff0467d40e56d200b94a9b04fbae4dcfe8fb5492848301 days 9 hrs ago0x4b7e257abda3317814469e103d2121ef3f71c847  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000050196
0x1a8260307e768ac6a5312c2effaccfd0a8aebe7126835e04d2bfab53e11695dc5492847301 days 9 hrs ago0x4b7e257abda3317814469e103d2121ef3f71c847  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000050196
0x3e30ed4a8962f16ac12d068e7987feeec502a3de5c0a3e209fc8a972e9411ba75492844301 days 9 hrs ago0x4b7e257abda3317814469e103d2121ef3f71c847  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000050196
0xb3c17ca0162d9e38ea44b99328bafa484a550b4f6ec45d07b1ee540348ba31aa5492839301 days 9 hrs ago0x4b7e257abda3317814469e103d2121ef3f71c847  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960.0001 Ether0.000089713
0x85b22b9cfabd226b542fa9d307215dac24c973cf58b088eefc467e6ed193cf245486125302 days 12 hrs ago0xa95b42b41d84d5cd176df38efdfa0d8706018f21  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.00002730504
0x81fc72bf9fe10a135aa4a1a33095aec82788e6fd6cbfa4cafe682ffae90cf5285417565314 days 4 hrs ago0x10ab6d4b3f63495f0c5a1a3a640f0990390d7453  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0x2f2eac7aab0826a49d0474a94e95c60a9fae4a119f642560bd0a2fef50fdb65d5399587317 days 4 hrs ago0x8537aa2911b193e5b377938a723d805bb0865670  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.0000527058
0xcbf9f19612a6e0827853ee4ced9d7b3dcc99009d41d2e9be21d014f4e621c8245381734320 days 3 hrs ago0x30ade5a9c8db1990b69f09e2c9e72c192aa95b1f  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0x26f9fd10f7ce191b2fc687d9f997000b96278b4c5ee6eaf7e54e11c518724a545322530330 days 38 mins ago0x035af4fb5ab3d22642469057559c7dfcddbd8a7f  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0xf008e71a19a0a32b525af7c43c68d1139841312cc232ab18447b5c6d3a9dd6005322529330 days 38 mins ago0x035af4fb5ab3d22642469057559c7dfcddbd8a7f  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0x2cb6f13b90bcd801a6071fdaac40c2c954d5d8f138d4925f4ae97e7c55a2e89f5322525330 days 39 mins ago0x035af4fb5ab3d22642469057559c7dfcddbd8a7f  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0x0fc049e3f941888f31efaeafaa74b413594756f5cb808252cfd5921e2b7663f55322505330 days 44 mins ago0x58023f890f468a4bf36c23e690f6642e9b0cdd46  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0x15654ae9063a05fbf112e3e5bf94c50839c488c911cd87a6b03cd6b11374712f5283773336 days 11 hrs ago0x0e8181843f34209b3d9252825d557c572efb9437  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000050196
0xe8cb1723722eb1bca953e56f7152c462d1943232ad7ef60427a73abdcdb7c19b5281874336 days 19 hrs ago0xf3c2f29bd3199c33d26cbc31d440f66d2065c4b3  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000092026
0xe9ff934a55d0993b8c9b802bbf250b3aeac8fd75fff2d994492612372b630fcf5273550338 days 5 hrs ago0x7d46f4c681d74aa85d97cd0466df50ee9d7618f1  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
0xfb68a657e8612c0679e412d9eabd1f31f16fff7360ae0ca3ae64d53efd0563645273534338 days 5 hrs ago0x7d46f4c681d74aa85d97cd0466df50ee9d7618f1  IN   0x30b0d22416075184b8111c0e033fe6f33e6b79960 Ether0.000025098
[ Download CSV Export 

Latest 25 Internal Transaction, Click here to view more Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x85b22b9cfabd226b542fa9d307215dac24c973cf58b088eefc467e6ed193cf245486125302 days 12 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xa95b42b41d84d5cd176df38efdfa0d8706018f210.001438079416742168 Ether
0xe8cb1723722eb1bca953e56f7152c462d1943232ad7ef60427a73abdcdb7c19b5281874336 days 19 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xf3c2f29bd3199c33d26cbc31d440f66d2065c4b30.013254700668092235 Ether
0x950f383017baa04efc04cf0236dd607cea40a188a674d33cefd9aa744ec4bd765270703338 days 16 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x3052e2dbf3c84cf0b9693ebe6a7ef1b11b93cd420.010763072590541515 Ether
0x1f800977746d8138a2f23d50e62d3aa52ccc49a6a557d8c0f67037ea9a3219c45232395345 days 4 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x0ce869e9b180e4a4294e81eeb7057306511350e90.000562925918386439 Ether
0xf9047095246a88cc788d830de1a00b02d751bce1b4f307e48002a5c248515dbc5208345349 days 7 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x457dea5f9c185419ea47ff80f896d98aadf1c7270.007456621036523455 Ether
0x42259e71e623d79d3c207a5c9516a04cb4c869a9af69a7938364af64faa55d0d5208321349 days 7 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x457dea5f9c185419ea47ff80f896d98aadf1c7270.007775337199630707 Ether
0x10ac0045c120d640c1976df87d961e6d78fdc788086c962b2437f3006e8408d45187099352 days 21 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x522273122b20212fe255875a4737b6f50cc720060.092409453794351816 Ether
0x2c6c713439d734d087d8fa121c6ab4e00bdcf04bd8449adbe3ea4e78f386a70a5186909352 days 22 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xaec539a116fa75e8bdcf016d3c146a25bc1af93b0.40815469990190913 Ether
0xdb37ff9e5217f51ca44f607a70274b8c9af71551ccd8405d41f1488b3138e1505186853352 days 22 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x576edaa88129ba71825225bb1a9f88805acb34c30.087785767322489014 Ether
0xa1552625fae459f6db7da81bf6e9c086732d9e56129257181bf7e45864d10e255185774353 days 2 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x02e05008c9a035e527c419e7f134e18cc2330a1a0.075920834570917077 Ether
0xf516e65574b044b99eccf61258271349c09f4a02e27de753c68f2739f17471395185758353 days 3 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x02e05008c9a035e527c419e7f134e18cc2330a1a0.006423070832423886 Ether
0x84b34a833040f4a8f0af9f1b691d44557566bc847386effe6a0bba531891bc175183120353 days 13 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x4469bc6bd2ba2acda7841c2350d0d1de7f26521f0.02655591687079687 Ether
0xb5663e5cf1fe1c70e4aa5cceb5da257dad714dbe9aff2d2bcd09b421017f332e5178812354 days 7 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x78cfd3e3a621c617142784cebbb4867c7fbb11140.00349414710920286 Ether
0xd1ffd81ff738122b11da5753011f921eda3fa4eb71634ae473283c05999ed9455178735354 days 7 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xbdf36e68cbb820b3082efba55bd14172b76b36070.063397999280648633 Ether
0xa2218b0916206a9e21f1c79cf9b80b503c60bca0169f48ec1553fdf6cbb98e415176018354 days 18 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x6e45f256c969b6027adbe0e990ac5ca4c5cebf840.139883226776653144 Ether
0x4fd6b6d12cafd8b5dc152a8e244ce5263f5dcdf3aebaffcf6be84c28d03bb4255174918354 days 23 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xdc00c6d42397b672988fada754e2f53ef3db9f9a0.028333526502322426 Ether
0x08c466ebcd89ed56d57f15387afcdc7dfaafac127fb9dda00ee245f31801d8575174901354 days 23 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xdc00c6d42397b672988fada754e2f53ef3db9f9a0.035463765828741934 Ether
0x01db1cafaeca01abac7285a9cca255b6c7be30b59a706d717e6c765c8adae6f45169292355 days 22 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x52311cc5b73ad0391bd381df48e69ec49ad8fec80.002 Ether
0x2843a4727fe092a42b888efbd2bd453f873abd492285fa25e75fe6b36aa071f95168133356 days 2 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xa586a3b8939e9c0dc72d88166f6f6bb7558eedce0.024570442222230644 Ether
0xa22e9d7f329cc8e2cf79fcb66be2415da5249879a7fe2acebc7643a01478756b5167410356 days 5 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960x02e05008c9a035e527c419e7f134e18cc2330a1a0.00012 Ether
0x89c186f4e6bd7e697bd80eb3e93ea69f18b2d880f96c270ac66605d1dff2bf825167353356 days 6 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xb58437d7155b5830aa2a7c6121dfdacbb7043c3f0.00156 Ether
0xbaf65ba2c22a983f68708b987e2f1a8e3ff30e198e8b42fede81815f0d45a6ef5167310356 days 6 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xb58437d7155b5830aa2a7c6121dfdacbb7043c3f0.00108 Ether
0x261182a04052b9ee808c9d59c21627658573ddb87625c51fa31cfc7df8b75c1e5167266356 days 6 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xb58437d7155b5830aa2a7c6121dfdacbb7043c3f0.00156 Ether
0x6d5a9d37f59c009574014244cfe77aa13551d83e62adb95f6dd681d17bb66d355167229356 days 6 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xb58437d7155b5830aa2a7c6121dfdacbb7043c3f0.00118 Ether
0x017e19f721c65d47953d18306b3e89ad43e13ae618833c94ee7f397989435c2e5164295356 days 18 hrs ago0x30b0d22416075184b8111c0e033fe6f33e6b79960xbb621b974969d4c1d825e746e4db0ba70bae90630.035905712416140425 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: OurRoulette
Compiler Version: v0.4.19+commit.c4cbbb05
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.19;

/*
    Our Roulette - A decentralized, crowdfunded game of Roulette
    
    Developer:
        Dadas1337
        
    Thanks to:
    
        FrontEnd help & tips:
            CiernaOvca
            Matt007
            Kebabist
            
        Chief-Shiller:
            M.Tejas
            
        Auditor:
            Inventor
            
    If the website ever goes down for any reason, just send a 0 ETH transaction
    with no data and at least 150 000 GAS to the contract address.
    Your shares will be sold and dividends withdrawn.
*/

contract OurRoulette{
    struct Bet{
        uint value;
        uint height; //result of a bet placed at height is determined by blocks at height+1 and height+2, bet can be resolved from height+3 upwards..
        uint tier; //min bet amount
        bytes betdata;
    }
    mapping (address => Bet) bets;
    
    //helper function used when calculating win amounts
    function GroupMultiplier(uint number,uint groupID) public pure returns(uint){
        uint80[12] memory groups=[ //matrix of bet multipliers for each group - 2bits per number
            0x30c30c30c30c30c30c0, //0: 3rd column
            0x0c30c30c30c30c30c30, //1: 2nd column
            0x030c30c30c30c30c30c, //2: 1st column
            0x0000000000003fffffc, //3: 1st 12
            0x0000003fffffc000000, //4: 2nd 12
            0x3fffffc000000000000, //5: 3rd 12
            0x0000000002aaaaaaaa8, //6: 1 to 18
            0x2222222222222222220, //7: even
            0x222208888a222088888, //8: red
            0x0888a22220888a22220, //9: black
            0x0888888888888888888, //10: odd
            0x2aaaaaaaa8000000000  //11: 19 to 36
        ];
        return (groups[groupID]>>(number*2))&3; //this function is only public so you can verify that group multipliers are working correctly
    }
    
    //returns a "random" number based on blockhashes and addresses
    function GetNumber(address adr,uint height) public view returns(uint){
        bytes32 hash1=block.blockhash(height+1);
        bytes32 hash2=block.blockhash(height+2);
        if(hash1==0 || hash2==0)return 69;//if the hash equals zero, it means that its too late now (blockhash can only get most recent 256 blocks)
        return ((uint)(keccak256(adr,hash1,hash2)))%37;
    }
    
    //returns user's payout from his last bet
    function BetPayout() public view returns (uint payout) {
        Bet memory tmp = bets[msg.sender];
        
        uint n=GetNumber(msg.sender,tmp.height);
        if(n==69)return 0; //unable to get blockhash - too late
        
        payout=((uint)(tmp.betdata[n]))*36; //if there is a bet on the winning number, set payout to the bet*36
        for(uint i=37;i<49;i++)payout+=((uint)(tmp.betdata[i]))*GroupMultiplier(n,i-37); //check all groups
        
        return payout*tmp.tier;
    }
    
    //claims last bet (if it exists), creates a new one and sends back any leftover balance
    function PlaceBet(uint tier,bytes betdata) public payable {
        Bet memory tmp = bets[msg.sender];
        uint balance=msg.value; //user's balance
        require(tier<(realReserve()/12500)); //tier has to be 12500 times lower than current balance
        
        require((tmp.height+2)<=(block.number-1)); //if there is a bet that can't be claimed yet, revert (this bet must be resolved before placing another one)
        if(tmp.height!=0&&((block.number-1)>=(tmp.height+2))){ //if there is an unclaimed bet that can be resolved...
            uint win=BetPayout();
            
            if(win>0&&tmp.tier>(realReserve()/12500)){
                // tier has to be 12500 times lower than current balance
                // if it isnt, refund the bet and cancel the new bet
                
                //   - this shouldnt ever happen, only in a very specific scenario where
                //     most of the people pull out at the same time.
                
                if(realReserve()>=tmp.value){
                    bets[msg.sender].height=0; //set bet height to 0 so it can't be claimed again
                    contractBalance-=tmp.value;
                    SubFromDividends(tmp.value);
                    msg.sender.transfer(tmp.value+balance); //refund both last bet and current bet
                }else msg.sender.transfer(balance); //if there isnt enough money to refund last bet, then refund at least the new bet
                                                    //again, this should never happen, its an extreme edge-case
                                                    //old bet can be claimed later, after the balance increases again

                return; //cancel the new bet
            }
            
            balance+=win; //if all is right, add last bet's payout to user's balance
        }
        
        uint betsz=0;
        for(uint i=0;i<49;i++)betsz+=(uint)(betdata[i]);
        require(betsz<=50); //bet size can't be greater than 50 "chips"
        
        betsz*=tier; //convert chips to wei
        require(betsz<=balance); //betsz must be smaller or equal to user's current balance
        
        tmp.height=block.number; //fill the new bet's structure
        tmp.value=betsz;
        tmp.tier=tier;
        tmp.betdata=betdata;
        
        bets[msg.sender]=tmp; //save it to storage
        
        balance-=betsz; //balance now contains (msg.value)+(winnings from last bet) - (current bet size)
        
        if(balance>0){
            contractBalance-=balance;
            if(balance>=msg.value){
                contractBalance-=(balance-msg.value);
                SubFromDividends(balance-msg.value);
            }else{
                contractBalance+=(msg.value-balance);
                AddToDividends(msg.value-balance);
            }

            msg.sender.transfer(balance); //send any leftover balance back to the user
        }else{
            contractBalance+=msg.value;
            AddToDividends(msg.value);
        }
    }
    
    //adds "value" to dividends
    function AddToDividends(uint256 value) internal {
        earningsPerToken+=(int256)((value*scaleFactor)/totalSupply);
    }
    
    //subtract "value" from dividends
    function SubFromDividends(uint256 value)internal {
        earningsPerToken-=(int256)((value*scaleFactor)/totalSupply);
    }
    
    //claims last bet
    function ClaimMyBet() public{
        Bet memory tmp = bets[msg.sender];
        require((tmp.height+2)<=(block.number-1)); //if it is a bet that can't be claimed yet
        
        uint win=BetPayout();
        
        if(win>0){
            if(bets[msg.sender].tier>(realReserve()/12500)){
                // tier has to be 12500 times lower than current balance
                // if it isnt, refund the bet
                
                //   - this shouldnt ever happen, only in a very specific scenario where
                //     most of the people pull out at the same time.
                
                if(realReserve()>=tmp.value){
                    bets[msg.sender].height=0; //set bet height to 0 so it can't be claimed again
                    contractBalance-=tmp.value;
                    SubFromDividends(tmp.value);
                    msg.sender.transfer(tmp.value);
                }
                
                //if the code gets here, it means that there isnt enough balance to refund the bet
                //bet can be claimed later, after the balance increases again
                return;
            }
            
            bets[msg.sender].height=0; //set bet height to 0 so it can't be claimed again
            contractBalance-=win;
            SubFromDividends(win);
            msg.sender.transfer(win);
        }
    }
    
    //public function used to fill user interface with data
    function GetMyBet() public view returns(uint, uint, uint, uint, bytes){
        return (bets[msg.sender].value,bets[msg.sender].height,bets[msg.sender].tier,BetPayout(),bets[msg.sender].betdata);
    }
    
//          --- EthPyramid code with fixed compiler warnings and support for negative dividends ---

/*
          ,/`.
        ,'/ __`.
      ,'_/_  _ _`.
    ,'__/_ ___ _  `.
  ,'_  /___ __ _ __ `.
 '-.._/___...-"-.-..__`.
  B

 EthPyramid. A no-bullshit, transparent, self-sustaining pyramid scheme.
 
 Inspired by https://test.jochen-hoenicke.de/eth/ponzitoken/

 Developers:
	Arc
	Divine
	Norsefire
	ToCsIcK
	
 Front-End:
	Cardioth
	tenmei
	Trendium
	
 Moral Support:
	DeadCow.Rat
	Dots
	FatKreamy
	Kaseylol
	QuantumDeath666
	Quentin
 
 Shit-Tier:
	HentaiChrist
 
*/
    
    // scaleFactor is used to convert Ether into tokens and vice-versa: they're of different
	// orders of magnitude, hence the need to bridge between the two.
	uint256 constant scaleFactor = 0x10000000000000000;  // 2^64

	// CRR = 50%
	// CRR is Cash Reserve Ratio (in this case Crypto Reserve Ratio).
	// For more on this: check out https://en.wikipedia.org/wiki/Reserve_requirement
	int constant crr_n = 1; // CRR numerator
	int constant crr_d = 2; // CRR denominator

	// The price coefficient. Chosen such that at 1 token total supply
	// the amount in reserve is 0.5 ether and token price is 1 Ether.
	int constant price_coeff = -0x296ABF784A358468C;

	// Array between each address and their number of tokens.
	mapping(address => uint256) public tokenBalance;
		
	// Array between each address and how much Ether has been paid out to it.
	// Note that this is scaled by the scaleFactor variable.
	mapping(address => int256) public payouts;

	// Variable tracking how many tokens are in existence overall.
	uint256 public totalSupply;

	// Aggregate sum of all payouts.
	// Note that this is scaled by the scaleFactor variable.
	int256 totalPayouts;

	// Variable tracking how much Ether each token is currently worth.
	// Note that this is scaled by the scaleFactor variable.
	int256 earningsPerToken;
	
	// Current contract balance in Ether
	uint256 public contractBalance;

	// The following functions are used by the front-end for display purposes.

	// Returns the number of tokens currently held by _owner.
	function balanceOf(address _owner) public constant returns (uint256 balance) {
		return tokenBalance[_owner];
	}

	// Withdraws all dividends held by the caller sending the transaction, updates
	// the requisite global variables, and transfers Ether back to the caller.
	function withdraw() public {
		// Retrieve the dividends associated with the address the request came from.
		uint256 balance = dividends(msg.sender);
		
		// Update the payouts array, incrementing the request address by `balance`.
		payouts[msg.sender] += (int256) (balance * scaleFactor);
		
		// Increase the total amount that's been paid out to maintain invariance.
		totalPayouts += (int256) (balance * scaleFactor);
		
		// Send the dividends to the address that requested the withdraw.
		contractBalance = sub(contractBalance, balance);
		msg.sender.transfer(balance);
	}

	// Converts the Ether accrued as dividends back into EPY tokens without having to
	// withdraw it first. Saves on gas and potential price spike loss.
	function reinvestDividends() public {
		// Retrieve the dividends associated with the address the request came from.
		uint256 balance = dividends(msg.sender);
		
		// Update the payouts array, incrementing the request address by `balance`.
		// Since this is essentially a shortcut to withdrawing and reinvesting, this step still holds.
		payouts[msg.sender] += (int256) (balance * scaleFactor);
		
		// Increase the total amount that's been paid out to maintain invariance.
		totalPayouts += (int256) (balance * scaleFactor);
		
		// Assign balance to a new variable.
		uint value_ = (uint) (balance);
		
		// If your dividends are worth less than 1 szabo, or more than a million Ether
		// (in which case, why are you even here), abort.
		if (value_ < 0.000001 ether || value_ > 1000000 ether)
			revert();
			
		// msg.sender is the address of the caller.
		address sender = msg.sender;
		
		// A temporary reserve variable used for calculating the reward the holder gets for buying tokens.
		// (Yes, the buyer receives a part of the distribution as well!)
		uint256 res = reserve() - balance;

		// 10% of the total Ether sent is used to pay existing holders.
		uint256 fee = div(value_, 10);
		
		// The amount of Ether used to purchase new tokens for the caller.
		uint256 numEther = value_ - fee;
		
		// The number of tokens which can be purchased for numEther.
		uint256 numTokens = calculateDividendTokens(numEther, balance);
		
		// The buyer fee, scaled by the scaleFactor variable.
		uint256 buyerFee = fee * scaleFactor;
		
		// Check that we have tokens in existence (this should always be true), or
		// else you're gonna have a bad time.
		if (totalSupply > 0) {
			// Compute the bonus co-efficient for all existing holders and the buyer.
			// The buyer receives part of the distribution for each token bought in the
			// same way they would have if they bought each token individually.
			uint256 bonusCoEff =
			    (scaleFactor - (res + numEther) * numTokens * scaleFactor / (totalSupply + numTokens) / numEther)
			    * (uint)(crr_d) / (uint)(crr_d-crr_n);
				
			// The total reward to be distributed amongst the masses is the fee (in Ether)
			// multiplied by the bonus co-efficient.
			uint256 holderReward = fee * bonusCoEff;
			
			buyerFee -= holderReward;

			// Fee is distributed to all existing token holders before the new tokens are purchased.
			// rewardPerShare is the amount gained per token thanks to this buy-in.
			uint256 rewardPerShare = holderReward / totalSupply;
			
			// The Ether value per token is increased proportionally.
			earningsPerToken += (int256)(rewardPerShare);
		}
		
		// Add the numTokens which were just created to the total supply. We're a crypto central bank!
		totalSupply = add(totalSupply, numTokens);
		
		// Assign the tokens to the balance of the buyer.
		tokenBalance[sender] = add(tokenBalance[sender], numTokens);
		
		// Update the payout array so that the buyer cannot claim dividends on previous purchases.
		// Also include the fee paid for entering the scheme.
		// First we compute how much was just paid out to the buyer...
		int256 payoutDiff  = ((earningsPerToken * (int256)(numTokens)) - (int256)(buyerFee));
		
		// Then we update the payouts array for the buyer with this amount...
		payouts[sender] += payoutDiff;
		
		// And then we finally add it to the variable tracking the total amount spent to maintain invariance.
		totalPayouts    += payoutDiff;
		
	}

	// Sells your tokens for Ether. This Ether is assigned to the callers entry
	// in the tokenBalance array, and therefore is shown as a dividend. A second
	// call to withdraw() must be made to invoke the transfer of Ether back to your address.
	function sellMyTokens() public {
		uint256 balance = balanceOf(msg.sender);
		sell(balance);
	}

	// The slam-the-button escape hatch. Sells the callers tokens for Ether, then immediately
	// invokes the withdraw() function, sending the resulting Ether to the callers address.
    function getMeOutOfHere() public {
		sellMyTokens();
        withdraw();
	}

	// Gatekeeper function to check if the amount of Ether being sent isn't either
	// too small or too large. If it passes, goes direct to buy().
	function fund() payable public {
		// Don't allow for funding if the amount of Ether sent is less than 1 szabo.
		if (msg.value > 0.000001 ether) {
		    contractBalance = add(contractBalance, msg.value);
			buy();
		} else {
			revert();
		}
    }

	// Function that returns the (dynamic) price of buying a finney worth of tokens.
	function buyPrice() public constant returns (uint) {
		return getTokensForEther(1 finney);
	}

	// Function that returns the (dynamic) price of selling a single token.
	function sellPrice() public constant returns (uint) {
        uint256 eth;
        uint256 penalty;
        (eth,penalty) = getEtherForTokens(1 finney);
        
        uint256 fee = div(eth, 10);
        return eth - fee;
    }

	// Calculate the current dividends associated with the caller address. This is the net result
	// of multiplying the number of tokens held by their current value in Ether and subtracting the
	// Ether that has already been paid out. Returns 0 in case of negative dividends
	function dividends(address _owner) public constant returns (uint256 amount) {
	    int256 r=((earningsPerToken * (int256)(tokenBalance[_owner])) - payouts[_owner]) / (int256)(scaleFactor);
	    if(r<0)return 0;
		return (uint256)(r);
	}
	
	// Returns real dividends, including negative values
	function realDividends(address _owner) public constant returns (int256 amount) {
	    return (((earningsPerToken * (int256)(tokenBalance[_owner])) - payouts[_owner]) / (int256)(scaleFactor));
	}

	// Internal balance function, used to calculate the dynamic reserve value.
	function balance() internal constant returns (uint256 amount) {
		// msg.value is the amount of Ether sent by the transaction.
		return contractBalance - msg.value;
	}

	function buy() internal {
		// Any transaction of less than 1 szabo is likely to be worth less than the gas used to send it.
		if (msg.value < 0.000001 ether || msg.value > 1000000 ether)
			revert();
						
		// msg.sender is the address of the caller.
		address sender = msg.sender;
		
		// 10% of the total Ether sent is used to pay existing holders.
		uint256 fee = div(msg.value, 10);
		
		// The amount of Ether used to purchase new tokens for the caller.
		uint256 numEther = msg.value - fee;
		
		// The number of tokens which can be purchased for numEther.
		uint256 numTokens = getTokensForEther(numEther);
		
		// The buyer fee, scaled by the scaleFactor variable.
		uint256 buyerFee = fee * scaleFactor;
		
		// Check that we have tokens in existence (this should always be true), or
		// else you're gonna have a bad time.
		if (totalSupply > 0) {
			// Compute the bonus co-efficient for all existing holders and the buyer.
			// The buyer receives part of the distribution for each token bought in the
			// same way they would have if they bought each token individually.
			uint256 bonusCoEff =
			    (scaleFactor - (reserve() + numEther) * numTokens * scaleFactor / (totalSupply + numTokens) / numEther)
			    * (uint)(crr_d) / (uint)(crr_d-crr_n);
				
			// The total reward to be distributed amongst the masses is the fee (in Ether)
			// multiplied by the bonus co-efficient.
			uint256 holderReward = fee * bonusCoEff;
			
			buyerFee -= holderReward;

			// Fee is distributed to all existing token holders before the new tokens are purchased.
			// rewardPerShare is the amount gained per token thanks to this buy-in.
			uint256 rewardPerShare = holderReward / totalSupply;
			
			// The Ether value per token is increased proportionally.
			earningsPerToken += (int256)(rewardPerShare);
			
		}

		// Add the numTokens which were just created to the total supply. We're a crypto central bank!
		totalSupply = add(totalSupply, numTokens);

		// Assign the tokens to the balance of the buyer.
		tokenBalance[sender] = add(tokenBalance[sender], numTokens);

		// Update the payout array so that the buyer cannot claim dividends on previous purchases.
		// Also include the fee paid for entering the scheme.
		// First we compute how much was just paid out to the buyer...
		int256 payoutDiff = ((earningsPerToken * (int256)(numTokens)) - (int256)(buyerFee));
		
		// Then we update the payouts array for the buyer with this amount...
		payouts[sender] += payoutDiff;
		
		// And then we finally add it to the variable tracking the total amount spent to maintain invariance.
		totalPayouts    += payoutDiff;
		
	}

	// Sell function that takes tokens and converts them into Ether. Also comes with a 10% fee
	// to discouraging dumping, and means that if someone near the top sells, the fee distributed
	// will be *significant*.
	function sell(uint256 amount) internal {
	    // Calculate the amount of Ether that the holders tokens sell for at the current sell price.
		uint256 numEthersBeforeFee;
		uint256 penalty;
		(numEthersBeforeFee,penalty) = getEtherForTokens(amount);
		
		// 10% of the resulting Ether is used to pay remaining holders, but only if there are any remaining holders.
		uint256 fee = 0;
		if(amount!=totalSupply) fee = div(numEthersBeforeFee, 10);
		
		// Net Ether for the seller after the fee has been subtracted.
        uint256 numEthers = numEthersBeforeFee - fee;
		
		// *Remove* the numTokens which were just sold from the total supply. We're /definitely/ a crypto central bank.
		totalSupply = sub(totalSupply, amount);
		
        // Remove the tokens from the balance of the buyer.
		tokenBalance[msg.sender] = sub(tokenBalance[msg.sender], amount);

        // Update the payout array so that the seller cannot claim future dividends unless they buy back in.
		// First we compute how much was just paid out to the seller...
		int256 payoutDiff = (earningsPerToken * (int256)(amount) + (int256)(numEthers * scaleFactor));
		
        // We reduce the amount paid out to the seller (this effectively resets their payouts value to zero,
		// since they're selling all of their tokens). This makes sure the seller isn't disadvantaged if
		// they decide to buy back in.
		payouts[msg.sender] -= payoutDiff;
		
		// Decrease the total amount that's been paid out to maintain invariance.
        totalPayouts -= payoutDiff;
		
		// Check that we have tokens in existence (this is a bit of an irrelevant check since we're
		// selling tokens, but it guards against division by zero).
		if (totalSupply > 0) {
			// Scale the Ether taken as the selling fee by the scaleFactor variable.
			uint256 etherFee = fee * scaleFactor;
			
			if(penalty>0)etherFee += (penalty * scaleFactor); //if there is any penalty, use it to settle the debt
			
			// Fee is distributed to all remaining token holders.
			// rewardPerShare is the amount gained per token thanks to this sell.
			uint256 rewardPerShare = etherFee / totalSupply;
			
			// The Ether value per token is increased proportionally.
			earningsPerToken += (int256)(rewardPerShare);
		}else payouts[msg.sender]+=(int256)(penalty); //if he is the last holder, give him his penalty too, so there is no leftover ETH in the contract
		
		int256 afterdiv=realDividends(msg.sender); //get his dividends - after this sale
		if(afterdiv<0){
		     //if he was so deeply in debt, that even after selling his share, he still doesn't break even,
		     //then we have to spread his debt between other users to maintain invariance
		     SubFromDividends((uint256)(afterdiv*-1));
		     totalPayouts -= payouts[msg.sender];
		     payouts[msg.sender]=0;
		     //again, this shouldnt ever happen. It is not possible to win in the Roulette so much,
		     //that this scenario will happen. I have only managed to reach it by using the testing functions,
		     //SubDiv() - removed on mainnet contract
		}
	}
	
	//returns value of all dividends currently held by all shareholders
	function totalDiv() public view returns (int256){
	    return ((earningsPerToken * (int256)(totalSupply))-totalPayouts)/(int256)(scaleFactor);
	}
	
	// Dynamic value of Ether in reserve, according to the CRR requirement. Designed to not decrease token value in case of negative dividends
	function reserve() internal constant returns (uint256 amount) {
	    int256 divs=totalDiv();
	    
	    if(divs<0)return balance()+(uint256)(divs*-1);
	    return balance()-(uint256)(divs);
	}
	
	// Dynamic value of Ether in reserve, according to the CRR requirement. Returns reserve including negative dividends
	function realReserve() public view returns (uint256 amount) {
	    int256 divs=totalDiv();
	    
	    if(divs<0){
	        uint256 udivs=(uint256)(divs*-1);
	        uint256 b=balance();
	        if(b<udivs)return 0;
	        return b-udivs;
	    }
	    return balance()-(uint256)(divs);
	}

	// Calculates the number of tokens that can be bought for a given amount of Ether, according to the
	// dynamic reserve and totalSupply values (derived from the buy and sell prices).
	function getTokensForEther(uint256 ethervalue) public constant returns (uint256 tokens) {
		return sub(fixedExp(fixedLog(reserve() + ethervalue)*crr_n/crr_d + price_coeff), totalSupply);
	}

	// Semantically similar to getTokensForEther, but subtracts the callers balance from the amount of Ether returned for conversion.
	function calculateDividendTokens(uint256 ethervalue, uint256 subvalue) public constant returns (uint256 tokens) {
		return sub(fixedExp(fixedLog(reserve() - subvalue + ethervalue)*crr_n/crr_d + price_coeff), totalSupply);
	}
	
	// Converts a number tokens into an Ether value. Doesn't account for negative dividends
	function getEtherForTokensOld(uint256 tokens) public constant returns (uint256 ethervalue) {
		// How much reserve Ether do we have left in the contract?
		uint256 reserveAmount = reserve();

		// If you're the Highlander (or bagholder), you get The Prize. Everything left in the vault.
		if (tokens == totalSupply)
			return reserveAmount;

		// If there would be excess Ether left after the transaction this is called within, return the Ether
		// corresponding to the equation in Dr Jochen Hoenicke's original Ponzi paper, which can be found
		// at https://test.jochen-hoenicke.de/eth/ponzitoken/ in the third equation, with the CRR numerator 
		// and denominator altered to 1 and 2 respectively.
		return sub(reserveAmount, fixedExp((fixedLog(totalSupply - tokens) - price_coeff) * crr_d/crr_n));
	}

	// Converts a number tokens into an Ether value. Accounts for negative dividends
	function getEtherForTokens(uint256 tokens) public constant returns (uint256 ethervalue,uint256 penalty) {
		uint256 eth=getEtherForTokensOld(tokens);
		int256 divs=totalDiv();
		if(divs>=0)return (eth,0);
		
		uint256 debt=(uint256)(divs*-1);
		penalty=(((debt*scaleFactor)/totalSupply)*tokens)/scaleFactor;
		
		if(penalty>eth)return (0,penalty);
		return (eth-penalty,penalty);
	}

	// You don't care about these, but if you really do they're hex values for 
	// co-efficients used to simulate approximations of the log and exp functions.
	int256  constant one        = 0x10000000000000000;
	uint256 constant sqrt2      = 0x16a09e667f3bcc908;
	uint256 constant sqrtdot5   = 0x0b504f333f9de6484;
	int256  constant ln2        = 0x0b17217f7d1cf79ac;
	int256  constant ln2_64dot5 = 0x2cb53f09f05cc627c8;
	int256  constant c1         = 0x1ffffffffff9dac9b;
	int256  constant c3         = 0x0aaaaaaac16877908;
	int256  constant c5         = 0x0666664e5e9fa0c99;
	int256  constant c7         = 0x049254026a7630acf;
	int256  constant c9         = 0x038bd75ed37753d68;
	int256  constant c11        = 0x03284a0c14610924f;

	// The polynomial R = c1*x + c3*x^3 + ... + c11 * x^11
	// approximates the function log(1+x)-log(1-x)
	// Hence R(s) = log((1+s)/(1-s)) = log(a)
	function fixedLog(uint256 a) internal pure returns (int256 log) {
		int32 scale = 0;
		while (a > sqrt2) {
			a /= 2;
			scale++;
		}
		while (a <= sqrtdot5) {
			a *= 2;
			scale--;
		}
		int256 s = (((int256)(a) - one) * one) / ((int256)(a) + one);
		int256 z = (s*s) / one;
		return scale * ln2 +
			(s*(c1 + (z*(c3 + (z*(c5 + (z*(c7 + (z*(c9 + (z*c11/one))
				/one))/one))/one))/one))/one);
	}

	int256 constant c2 =  0x02aaaaaaaaa015db0;
	int256 constant c4 = -0x000b60b60808399d1;
	int256 constant c6 =  0x0000455956bccdd06;
	int256 constant c8 = -0x000001b893ad04b3a;
	
	// The polynomial R = 2 + c2*x^2 + c4*x^4 + ...
	// approximates the function x*(exp(x)+1)/(exp(x)-1)
	// Hence exp(x) = (R(x)+x)/(R(x)-x)
	function fixedExp(int256 a) internal pure returns (uint256 exp) {
		int256 scale = (a + (ln2_64dot5)) / ln2 - 64;
		a -= scale*ln2;
		int256 z = (a*a) / one;
		int256 R = ((int256)(2) * one) +
			(z*(c2 + (z*(c4 + (z*(c6 + (z*c8/one))/one))/one))/one);
		exp = (uint256) (((R + a) * one) / (R - a));
		if (scale >= 0)
			exp <<= scale;
		else
			exp >>= -scale;
		return exp;
	}
	
	// The below are safemath implementations of the four arithmetic operators
	// designed to explicitly prevent over- and under-flows of integer values.

	function mul(uint256 a, uint256 b) internal pure returns (uint256) {
		if (a == 0) {
			return 0;
		}
		uint256 c = a * b;
		assert(c / a == b);
		return c;
	}

	function div(uint256 a, uint256 b) internal pure returns (uint256) {
		// assert(b > 0); // Solidity automatically throws 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;
	}

	function sub(uint256 a, uint256 b) internal pure returns (uint256) {
		assert(b <= a);
		return a - b;
	}

	function add(uint256 a, uint256 b) internal pure returns (uint256) {
		uint256 c = a + b;
		assert(c >= a);
		return c;
	}

	// This allows you to buy tokens by sending Ether directly to the smart contract
	// without including any transaction data (useful for, say, mobile wallet apps).
	function () payable public {
		// msg.value is the amount of Ether sent by the transaction.
		if (msg.value > 0) {
			fund();
		} else {
			getMeOutOfHere();
		}
	}
}

Contract ABI
[{"constant":true,"inputs":[],"name":"GetMyBet","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"ClaimMyBet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"realDividends","outputs":[{"name":"amount","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"adr","type":"address"},{"name":"height","type":"uint256"}],"name":"GetNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tier","type":"uint256"},{"name":"betdata","type":"bytes"}],"name":"PlaceBet","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"ethervalue","type":"uint256"}],"name":"getTokensForEther","outputs":[{"name":"tokens","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"payouts","outputs":[{"name":"","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"dividends","outputs":[{"name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"BetPayout","outputs":[{"name":"payout","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokens","type":"uint256"}],"name":"getEtherForTokensOld","outputs":[{"name":"ethervalue","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":"contractBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"reinvestDividends","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"number","type":"uint256"},{"name":"groupID","type":"uint256"}],"name":"GroupMultiplier","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"totalDiv","outputs":[{"name":"","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getMeOutOfHere","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"fund","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"tokens","type":"uint256"}],"name":"getEtherForTokens","outputs":[{"name":"ethervalue","type":"uint256"},{"name":"penalty","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"ethervalue","type":"uint256"},{"name":"subvalue","type":"uint256"}],"name":"calculateDividendTokens","outputs":[{"name":"tokens","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"realReserve","outputs":[{"name":"amount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sellMyTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"tokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

Contract Creation Code
6060604052341561000f57600080fd5b611a408061001e6000396000f3006060604052600436106101535763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302a2f06e81146101735780631015295c1461021a57806318160ddd1461022d5780631c990670146102525780631d2b63bf1461027157806324f731d5146102935780633ccfd60b146102de5780634b750334146102f157806362dbf2611461030457806365bcfbe71461031a57806368306e43146103395780636d15dc5a1461035857806370a082311461036b57806380aa57571461038a5780638620410b146103a05780638b7afe2e146103b3578063957b2e56146103c6578063a10daf4b146103d9578063a1ca70f4146103f2578063b1e3524214610405578063b60d428814610410578063b9f308f214610418578063bda5c45014610446578063cb6393221461045f578063e555c1a314610472578063eedc966a14610485575b6000341115610169576101646104a4565b610171565b6101716104d4565b005b341561017e57600080fd5b6101866104e4565b6040518086815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156101db5780820151838201526020016101c3565b50505050905090810190601f1680156102085780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b341561022557600080fd5b6101716105f6565b341561023857600080fd5b610240610826565b60405190815260200160405180910390f35b341561025d57600080fd5b610240600160a060020a036004351661082c565b341561027c57600080fd5b610240600160a060020a0360043516602435610862565b610171600480359060446024803590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108da95505050505050565b34156102e957600080fd5b610171610c46565b34156102fc57600080fd5b610240610cc8565b341561030f57600080fd5b610240600435610cfc565b341561032557600080fd5b610240600160a060020a0360043516610d44565b341561034457600080fd5b610240600160a060020a0360043516610d56565b341561036357600080fd5b610240610da4565b341561037657600080fd5b610240600160a060020a0360043516610f3f565b341561039557600080fd5b610240600435610f5a565b34156103ab57600080fd5b610240610fb9565b34156103be57600080fd5b610240610fd1565b34156103d157600080fd5b610171610fd7565b34156103e457600080fd5b610240600435602435611176565b34156103fd57600080fd5b61024061127d565b341561016957600080fd5b6101716104a4565b341561042357600080fd5b61042e60043561129e565b60405191825260208201526040908101905180910390f35b341561045157600080fd5b61024060043560243561131e565b341561046a57600080fd5b610240611349565b341561047d57600080fd5b6101716113a0565b341561049057600080fd5b610240600160a060020a03600435166113b6565b64e8d4a510003411156104cd576104bd600654346113c8565b6006556104c86113d7565b6104d2565b600080fd5b565b6104dc6113a0565b6104d2610c46565b6000806000806104f2611917565b600160a060020a033316600090815260208190526040902080546001820154600290920154909190610522610da4565b60008033600160a060020a0316600160a060020a03168152602001908152602001600020600301808054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105de5780601f106105b3576101008083540402835291602001916105de565b820191906000526020600020905b8154815290600101906020018083116105c157829003601f168201915b50505050509050945094509450945094509091929394565b6105fe611929565b600160a060020a03331660009081526020819052604080822090608090519081016040529081600082015481526020016001820154815260200160028201548152602001600382018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106da5780601f106106af576101008083540402835291602001916106da565b820191906000526020600020905b8154815290600101906020018083116106bd57829003601f168201915b505050505081525050915060014303826020015160020111156106fc57600080fd5b610704610da4565b90506000811115610822576130d461071a611349565b81151561072357fe5b600160a060020a0333166000908152602081905260409020600201549190049011156107c3578151610753611349565b106107be57600160a060020a03331660009081526020819052604081206001015581516006805491909103905561078a825161152b565b600160a060020a0333166108fc83519081150290604051600060405180830381858888f1935050505015156107be57600080fd5b610822565b600160a060020a0333166000908152602081905260408120600101556006805482900390556107f18161152b565b600160a060020a03331681156108fc0282604051600060405180830381858888f19350505050151561082257600080fd5b5050565b60035481565b600160a060020a0316600090815260026020908152604080832054600190925290912054600554604060020a9102919091030590565b600060018201406002830140811580610879575080155b1561088757604592506108d2565b6025858383604051600160a060020a03939093166c01000000000000000000000000028352601483019190915260348201526054016040519081900390208115156108ce57fe5b0692505b505092915050565b6108e2611929565b600160a060020a033316600090815260208190526040808220829182918291608090519081016040529081600082015481526020016001820154815260200160028201548152602001600382018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109c35780601f10610998576101008083540402835291602001916109c3565b820191906000526020600020905b8154815290600101906020018083116109a657829003601f168201915b50505050508152505094503493506130d46109dc611349565b8115156109e557fe5b0487106109f157600080fd5b6001430385602001516002011115610a0857600080fd5b846020015115801590610a25575084602001516002016001430310155b15610b1757610a32610da4565b9250600083118015610a5b57506130d4610a4a611349565b811515610a5357fe5b048560400151115b15610b12578451610a6a611349565b10610adc57600160a060020a033316600090815260208190526040812060010155845160068054919091039055610aa1855161152b565b600160a060020a0333166108fc858751019081150290604051600060405180830381858888f193505050501515610ad757600080fd5b610b0d565b600160a060020a03331684156108fc0285604051600060405180830381858888f193505050501515610b0d57600080fd5b610c3d565b928201925b5060009050805b6031811015610b5157858181518110610b3357fe5b016020015160f860020a908190048102049190910190600101610b1e565b6032821115610b5f57600080fd5b9086029083821115610b7057600080fd5b43602080870191909152828652604080870189905260608701889052600160a060020a03331660009081529182905290208590815181556020820151816001015560408201518160020155606082015181600301908051610bd5929160200190611957565b50505092819003926000841115610c2957600680548590039055348410610c12576006805434860390819003909155610c0d9061152b565b610adc565b6006805434869003908101909155610adc9061154e565b6006805434908101909155610c3d9061154e565b50505050505050565b6000610c5133610d56565b600160a060020a03331660009081526002602052604090208054604060020a8302908101909155600480549091019055600654909150610c919082611571565b600655600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515610cc557600080fd5b50565b600080600080610cde66038d7ea4c6800061129e565b9093509150610cee83600a611583565b905080830393505b50505090565b6000610d3e610d36680296abf784a358468b1960026001610d2587610d1f61159a565b016115d6565b02811515610d2f57fe5b05016116bb565b600354611571565b92915050565b60026020526000908152604090205481565b600160a060020a0381166000908152600260209081526040808320546001909252822054600554604060020a9102919091030581811215610d9a5760009150610d9e565b8091505b50919050565b6000610dae611929565b600160a060020a0333166000908152602081905260408082208291608090519081016040529081600082015481526020016001820154815260200160028201548152602001600382018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e8b5780601f10610e6057610100808354040283529160200191610e8b565b820191906000526020600020905b815481529060010190602001808311610e6e57829003601f168201915b5050505050815250509250610ea4338460200151610862565b91508160451415610eb85760009350610cf6565b82606001518281518110610ec857fe5b016020015160f860020a900460f860020a0260f860020a90046024029350602590505b6031811015610f3057610f018260258303611176565b83606001518281518110610f1157fe5b016020015160f860020a90819004810204029390930192600101610eeb565b82604001518402935050505090565b600160a060020a031660009081526001602052604090205490565b600080610f6561159a565b9050600354831415610f7957809150610d9e565b610fb281610fad60016002680296abf784a358468b19610f9c89600354036115d6565b0302811515610fa757fe5b056116bb565b611571565b9392505050565b6000610fcb66038d7ea4c68000610cfc565b90505b90565b60065481565b600080600080600080600080600080600080610ff233610d56565b600160a060020a03331660009081526002602052604090208054604060020a83029081019091556004805490910190559b508b9a5064e8d4a510008b1080611043575069d3c21bcecceda10000008b115b1561104d57600080fd5b3399508b61105961159a565b0398506110678b600a611583565b9750878b039650611078878d61131e565b9550604060020a88029450600060035411156110f45760016002036002888860035401604060020a8a8c8f0102028115156110af57fe5b048115156110b957fe5b04604060020a03028115156110ca57fe5b04935083880292508285039450600354838115156110e457fe5b6005805492909104918201905591505b611100600354876113c8565b600355600160a060020a038a1660009081526001602052604090205461112690876113c8565b600160a060020a03909a1660009081526001602090815260408083209c909c5560055460029091529a902080549a9096029490940398890190945550506004805490960190955550505050505050565b60006111806119d1565b610180604051908101604090815269030c30c30c30c30c30c0825268c30c30c30c30c30c3060208301526830c30c30c30c30c30c908201526303fffffc60608201526603fffffc00000060808201526903fffffc00000000000060a0820152642aaaaaaaa860c0820152690222222222222222222060e0820152690222208888a22208888861010082015268888a22220888a22220610120820152688888888888888888886101408201526902aaaaaaaa80000000006101608201529050600284028184600c811061124e57fe5b602002015169ffffffffffffffffffff169060020a900460031669ffffffffffffffffffff1691505092915050565b6000604060020a600454600354600554020381151561129857fe5b05905090565b60008060008060006112af86610f5a565b92506112b961127d565b9150600082126112d157919350600092508391611316565b81600019029050604060020a86600354604060020a84028115156112f157fe5b04028115156112fc57fe5b049350828411156113105760009450611316565b83830394505b505050915091565b6000610fb2610d36680296abf784a358468b1960026001610d25888861134261159a565b03016115d6565b60008060008061135761127d565b9250600083121561138e578260001902915061137161179f565b9050818110156113845760009350610cf6565b8181039350610cf6565b8261139761179f565b03935050505090565b60006113ab33610f3f565b9050610cc5816117a8565b60016020526000908152604090205481565b600082820183811015610fb257fe5b600080600080600080600080600064e8d4a51000341080611401575069d3c21bcecceda100000034115b1561140b57600080fd5b33985061141934600a611583565b9750873403965061142987610cfc565b9550604060020a88029450600060035411156114ac5760016002036002888860035401604060020a8a8c61145b61159a565b01020281151561146757fe5b0481151561147157fe5b04604060020a030281151561148257fe5b049350838802925082850394506003548381151561149c57fe5b6005805492909104918201905591505b6114b8600354876113c8565b600355600160a060020a0389166000908152600160205260409020546114de90876113c8565b600160a060020a0390991660009081526001602090815260408083209b909b5560055460029091529990208054999096029490940397880190945550506004805490950190945550505050565b600354604060020a820281151561153e57fe5b6005805492909104909103905550565b600354604060020a820281151561156157fe5b6005805492909104909101905550565b60008282111561157d57fe5b50900390565b600080828481151561159157fe5b04949350505050565b6000806115a561127d565b905060008112156115c55780600019026115bd61179f565b0191506115d2565b806115ce61179f565b0391505b5090565b60008080805b68016a09e667f3bcc9088511156115fe576002850494506001909201916115dc565b5b67b504f333f9de648485116116215760029490940293600019909201916115ff565b604060020a8501604060020a8087030281151561163a57fe5b05915050604060020a818002819005906801ffffffffff9dac9b67666664e5e9fa0c996738bd75ed37753d68673284a0c14610924f85028490050184028390056749254026a7630acf01840283900501830282900567aaaaaaac168779080183028290050183020567b17217f7d1cf79ac8460030b02019350505050919050565b6000808080604067b17217f7d1cf79ac682cb53f09f05cc627c887010503925067b17217f7d1cf79ac830285039450604060020a8586028115156116fb57fe5b059150604060020a672aaaaaaaaa015db0660455956bccdd06651b893ad04b3919850283900501840282900566b60b60808399d01901840282900501830205604060020a600202019050848103604060020a8683010281151561175a57fe5b0593506000831261177e578284600082121561177257fe5b9060020a029350611797565b8260000384600082121561178e57fe5b9060020a900493505b505050919050565b60065434900390565b6000806000806000806000806117bd8961129e565b60035491995097506000965089146117dd576117da88600a611583565b95505b85880394506117ee6003548a611571565b600355600160a060020a033316600090815260016020526040902054611814908a611571565b600160a060020a03331660009081526001602090815260408083209390935560055460029091529181208054928c02604060020a8902019283900390556004805483900390556003549195509011156118a657604060020a86029250600087111561188557604060020a8702830192505b6003548381151561189257fe5b6005805492909104918201905591506118c5565b600160a060020a03331660009081526002602052604090208054880190555b6118ce3361082c565b9050600081121561190c576118e6816000190261152b565b600160a060020a0333166000908152600260205260408120805460048054919091039055555b505050505050505050565b60206040519081016040526000815290565b608060405190810160405280600081526020016000815260200160008152602001611952611917565b905290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061199857805160ff19168380011785556119c5565b828001600101855582156119c5579182015b828111156119c55782518255916020019190600101906119aa565b506115d29291506119fa565b610180604051908101604052600c815b6000815260001990910190602001816119e15790505090565b610fce91905b808211156115d25760008155600101611a005600a165627a7a723058205fdba8090e8fcaf3aa227b29689c59a2be71f77fd685afab83631c554564252b0029


   Swarm Source:
bzzr://5fdba8090e8fcaf3aa227b29689c59a2be71f77fd685afab83631c554564252b
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.