Sponsored:   Ubex.com - World roadshow: Seoul Sep 17-19, Singapore Sep 19-20, Dubai 18-23. Meet us!.
Contract Overview
Balance: 0.27 Ether
Ether Value: $65.21 (@ $241.52/ETH)
Transactions: 149 txns
 Latest 25 txns From a total of 149 Transactions

TxHash Age From To Value [TxFee]
0xb7a004dda9dfa6bb7abf2419453da27171dbf58154faf3fe1210299a012d93121 hr 22 mins ago0x8cb090e2f23319dd8ac6056b006a2c0d5eb2b0f0  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.0006259518
0xdde485d54c2ca13726c1a835f4b232190fc0557e733005fa627adf1787ac994c6 hrs 4 mins ago0x867e1996c36f57545c365b33edd48923873792f6  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001776891
0x89e49953843927a6cad20653da423fd776e426a1a194aa1ac2583432d200b64d1 day 1 hr ago0x39b95782715f1ef9ebb2eef44eb27791de466ea9  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000807135
0x23d7f088bc33b49680ba00cf6ffff1fe431f01c061d1f4030d09f81050fb932d1 day 4 hrs ago0x39b95782715f1ef9ebb2eef44eb27791de466ea9  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001511487
0x0dbcc7150f315f2082b7063eea92205c137531b58876b4b2740b51a0182a18592 days 27 mins ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.27 Ether0.000241368
0xf1db79ac0d83958680dee849f43b9eae28d096556966dcd9ea2972ca113edf0c4 days 4 hrs ago0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001949781
0xc43e966ca965f278b366ecb01947425c762a1942e5778bd546c57016da1484316 days 5 hrs ago0x11e53fd84b8f7615e1b3e1962894e1a13fd168b3  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001590962
0x52e41d8ed0464116ee60c679bb51a6ce99c81f7947836bfc0369848c22ac2e616 days 9 hrs ago0x3e8252dc570b83d4f0ec9d39eaa0c24967bca301  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001970589
0x280cdd8cf359c871906df771fcf8477a65726ca93e7438ea71bfd576e2f03edd6 days 15 hrs ago0x5eb2252ae256e28e784a0d8ae13893033aaf60ab  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000447615
0x59b140c4729b0304e260c3c797b406f81aef0b7b084692082919a8d65291431a6 days 15 hrs ago0x5eb2252ae256e28e784a0d8ae13893033aaf60ab  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000651525
0x6e2b106907483025d9f1c8ad65d249089679ffb869a59549b802a2649b8059c36 days 15 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001511487
0xb36add1f2c9d873372b0bafdfd34ca43b59caa087bf639eac15facf95bc039326 days 19 hrs ago0x11e53fd84b8f7615e1b3e1962894e1a13fd168b3  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.00259386
0x5e9c863cc7e9aef58b903b445c993156ab8c2e7f5f11d364c55e937929146a4d7 days 20 mins ago0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001590962
0xe02580e1d374e2737c074d68497e7daa04ce84f8d7a42768234bf01a66e223a97 days 30 mins ago0x6b9e9e10abb661b56b0602817c3f4bcd7f4d32c2  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002749257
0x5790b126c9c990400b3a8daae721f1dbccdee5685e36b79d0dc5f022f8bed59c7 days 49 mins ago0x41271507434e21dbd5f09624181d7cd70bf06cbf  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001521891
0x20bb031b92cd7408ce222ba7039a46aff12d2fd656da13427729b59bc193fc737 days 50 mins ago0x41271507434e21dbd5f09624181d7cd70bf06cbf  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001705185
0x83fe8c37a4ec63ab79a65be7ce7db69321808c0da13c41583f5704b7c16a6b1f7 days 51 mins ago0x41271507434e21dbd5f09624181d7cd70bf06cbf  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001511487
0x868eb297c91eb3644a59b9b6dafdf28147abf9cceaad43aaaf176b090078fa177 days 52 mins ago0x41271507434e21dbd5f09624181d7cd70bf06cbf  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002204781
0x4b424069af847e1561cfe5b1709ed050a6713eb344700562845da6a8e34501737 days 54 mins ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001590962
0x0dedb876438f7e692592ee24c9bb3839dcae8227128f0b49297d8bf211c7b6fb7 days 54 mins ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001970589
0xec89881c64217f0312fdfca39210e607f2f00e0b99e38a3c380c3ad23cb5274f7 days 57 mins ago0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001776891
0xea19579c066f50cd2ab91657fe34fb0ee7fd8d9c78682b2c8ed5e319a82d58577 days 1 hr ago0x8181d86de79a4b040ead04c88e3113ed6216a203  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002215185
0xed98047cf0db31558afe19447dcc8b4dfe03766c64eefffccfb537749f65f3f47 days 1 hr ago0xc7d544f252e093e4d4b030a112fd42179ae6646d  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.00207822
0x48d1b6783e6705ff414ea0e90b25e662e0c6d20605cea901986e32b8e4779df27 days 1 hr ago0xa2651b958f773fda2f43163253a8ba5132adf9d3  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002204781
0xd9e427dedb89db2859505dc87cf9f54053e4be5dc2dc01ec8abe091e18e1bd2a7 days 1 hr ago0x19e361e3cf55bad433ed107997728849b172a139  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001845962
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click Here To View More View All
ParentTxHash Block Age From To Value
0xb7a004dda9dfa6bb7abf2419453da27171dbf58154faf3fe1210299a012d931263758891 hr 22 mins ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.625 Ether
0xb7a004dda9dfa6bb7abf2419453da27171dbf58154faf3fe1210299a012d931263758891 hr 22 mins ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x9184b1d0106c1b7663d4c3bbdbf019055bb813ac0.025 Ether
0xb7a004dda9dfa6bb7abf2419453da27171dbf58154faf3fe1210299a012d931263758891 hr 22 mins ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0xdde485d54c2ca13726c1a835f4b232190fc0557e733005fa627adf1787ac994c63746546 hrs 4 mins ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xcd7c53462067f0d0b8809be9e3fb143679a270bb0.025 Ether
0xdde485d54c2ca13726c1a835f4b232190fc0557e733005fa627adf1787ac994c63746546 hrs 4 mins ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x89e49953843927a6cad20653da423fd776e426a1a194aa1ac2583432d200b64d63696811 day 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x9fb16f1669545c3db1667aba486046846d72addb0.625 Ether
0x89e49953843927a6cad20653da423fd776e426a1a194aa1ac2583432d200b64d63696811 day 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xbeb07c2d5beca948eb7d7eaf60a30e900f470f8d0.025 Ether
0x89e49953843927a6cad20653da423fd776e426a1a194aa1ac2583432d200b64d63696811 day 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x23d7f088bc33b49680ba00cf6ffff1fe431f01c061d1f4030d09f81050fb932d63691221 day 4 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.025 Ether
0x23d7f088bc33b49680ba00cf6ffff1fe431f01c061d1f4030d09f81050fb932d63691221 day 4 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0xf1db79ac0d83958680dee849f43b9eae28d096556966dcd9ea2972ca113edf0c63509344 days 4 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x87a7e71d145187ee9aadc86954d39cf0e94467510.625 Ether
0xf1db79ac0d83958680dee849f43b9eae28d096556966dcd9ea2972ca113edf0c63509344 days 4 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x92f94ecdb1ba201cd0e4a0a9a9bccb1faa3a3de00.025 Ether
0xf1db79ac0d83958680dee849f43b9eae28d096556966dcd9ea2972ca113edf0c63509344 days 4 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0xc43e966ca965f278b366ecb01947425c762a1942e5778bd546c57016da14843163384916 days 5 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x556fd37b59d20c62a778f0610fb1e905b112b7de0.025 Ether
0xc43e966ca965f278b366ecb01947425c762a1942e5778bd546c57016da14843163384916 days 5 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x52e41d8ed0464116ee60c679bb51a6ce99c81f7947836bfc0369848c22ac2e6163376276 days 9 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x459628b55e94d3c749823e90714cd85e048c360d0.625 Ether
0x52e41d8ed0464116ee60c679bb51a6ce99c81f7947836bfc0369848c22ac2e6163376276 days 9 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x9184b1d0106c1b7663d4c3bbdbf019055bb813ac0.025 Ether
0x52e41d8ed0464116ee60c679bb51a6ce99c81f7947836bfc0369848c22ac2e6163376276 days 9 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x280cdd8cf359c871906df771fcf8477a65726ca93e7438ea71bfd576e2f03edd63360546 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xcd7c53462067f0d0b8809be9e3fb143679a270bb0.025 Ether
0x280cdd8cf359c871906df771fcf8477a65726ca93e7438ea71bfd576e2f03edd63360546 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x59b140c4729b0304e260c3c797b406f81aef0b7b084692082919a8d65291431a63360416 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x3e8252dc570b83d4f0ec9d39eaa0c24967bca3010.625 Ether
0x59b140c4729b0304e260c3c797b406f81aef0b7b084692082919a8d65291431a63360416 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xbeb07c2d5beca948eb7d7eaf60a30e900f470f8d0.025 Ether
0x59b140c4729b0304e260c3c797b406f81aef0b7b084692082919a8d65291431a63360416 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x6e2b106907483025d9f1c8ad65d249089679ffb869a59549b802a2649b8059c363360056 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.025 Ether
0x6e2b106907483025d9f1c8ad65d249089679ffb869a59549b802a2649b8059c363360056 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Teris
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity 0.4.24;
contract Owned 
{
    address public owner;
    address public ownerCandidate;

    constructor() public {
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }
    
    function changeOwner(address _newOwner) public onlyOwner {
        ownerCandidate = _newOwner;
    }
    
    function acceptOwnership() public {
        require(msg.sender == ownerCandidate);  
        owner = ownerCandidate;
    }
}

contract Priced
{
    modifier costs(uint price)
    {
        //They must pay exactly 0.5 eth
        require(msg.value == price);
        _;
    }
}
//UPDATED 9/8/18: Added auto unlock
//                Changed the Register to track people so it does not have to loop through 
//UPDATED 9/10/18: Changed it to only accept 0.5 eth, anything over or under will just fail

contract Teris is Owned, Priced
{
    string public debugString;
    
    //Wallets
    address adminWallet = 0x45FEbD925Aa0439eE6bF2ffF5996201e199Efb5b;

    //wallet rotations
    uint8 public devWalletRotation = 0;
    
    //To set up for only 4 active transactions
    mapping(address => uint8) transactionLimits;
    
    //Lock the contract after 640 transactions! (uint16 stores up to 65,535)
    // Changednge to 10 for testing
    uint256 maxTransactions = 640;
    uint16 totalTransactions;
    modifier notLocked()
    {
        require(!isLocked());
        _;
    }
    
    //Structs
    struct Participant
    {
        address ethAddress;
        bool paid;
    }
    
    Participant[] allParticipants;
    uint16 lastPaidParticipant;
    
    //Set up a blacklist
     mapping(address => bool) blacklist;

    bool testing = false;
    
    /* ------------------------------------------------
    //              MAIN FUNCTIONS
    ---------------------------------------------------*/   

    //Silentflame - Added costs(500 finney)
    function register() public payable costs(500 finney) notLocked
    {
        //Silentflame - Added to remove exponential gas cost increase on register
        transactionLimits[msg.sender]++;    
        
        if(!testing)
        {
            require(_checkTransactions(msg.sender));
        }
        
        require(!blacklist[msg.sender]);
            
        
        //transfer eth to admin wallet
        _payFees();
        
        //add user to the participant list, as unpaid
        allParticipants.push(Participant(msg.sender, false));
        
        //Count this transaction
        totalTransactions++;
        
        //try and pay whoever you can
        _payout();
        
    }
    
    /* ------------------------------------------------
    //              INTERNAL FUNCTIONS
    ---------------------------------------------------*/
    
    function _checkTransactions(address _toCheck) private view returns(bool)
    {
        //Silentflame - Removed old logic!
        
        //Silentflame - Added to remove exponential gas cost increase on register
        if(transactionLimits[_toCheck] > 4)
            return false;
        else
            return true;
        
        
    }
    
    //Pays the Admin fees
    function _payFees() private
    {
        adminWallet.transfer(162500000000000000); // .1625
   

        address walletAddress ;
        devWalletRotation++;
        
        
        if(devWalletRotation >= 7)
            devWalletRotation = 1;
        
        if(devWalletRotation == 1)
            walletAddress = 0x556FD37b59D20C62A778F0610Fb1e905b112b7DE;
        else if(devWalletRotation == 2)
            walletAddress = 0x92f94ecdb1ba201cd0e4a0a9a9bccb1faa3a3de0;
        else if(devWalletRotation == 3)
            walletAddress = 0x41271507434E21dBd5F09624181d7Cd70Bf06Cbf;
        else if (devWalletRotation == 4)
            walletAddress = 0xbeb07c2d5beca948eb7d7eaf60a30e900f470f8d;
        else if (devWalletRotation == 5)
            walletAddress = 0xcd7c53462067f0d0b8809be9e3fb143679a270bb;
        else if (devWalletRotation == 6)
            walletAddress = 0x9184B1D0106c1b7663D4C3bBDBF019055BB813aC;
        else
            walletAddress = adminWallet;
            
            
            
        
        walletAddress.transfer(25000000000000000);
        

    }

    //Tries to pay people, starting from the last paid transaction
    function _payout() private
    {

        for(uint16 i = lastPaidParticipant; i < allParticipants.length; i++)
        {
            if(allParticipants[i].paid)
            {
                lastPaidParticipant = i;
                continue;
            }
            else
            {
                if(address(this).balance < 625000000000000000)
                    break;
                
                allParticipants[i].ethAddress.transfer(625000000000000000);
                allParticipants[i].paid = true;
                transactionLimits[allParticipants[i].ethAddress]--; //Silentflame - added to remove gas cost on register
                lastPaidParticipant = i;
            }
        }
        
        //Silentflame attemptAutoUnlock
        if(lastPaidParticipant >= maxTransactions)
            _unlockContract();
    }
    
    function _unlockContract() internal
    {
        //Clear all the transaction limits
        for(uint256 i = 0; i < allParticipants.length; i++)
        {
            transactionLimits[allParticipants[i].ethAddress] = 0;
        }
        
        //delete all the participants
        delete allParticipants;

        lastPaidParticipant = 0;
        
        //If there is any remaining funds (there shouldnt be) send it to trading wallet
        adminWallet.transfer(address(this).balance);
        totalTransactions = 0;
    }

    /* ------------------------------------------------
    //                ADMIN FUNCTIONS
    ---------------------------------------------------*/
    function changeMaxTransactions(uint256 _amount) public onlyOwner
    {
        maxTransactions = _amount;
    }
    
    function unlockContract() public onlyOwner
    {
         //Clear all the transaction limits
        for(uint256 i = 0; i < allParticipants.length; i++)
        {
            transactionLimits[allParticipants[i].ethAddress] = 0;
        }
        
        //delete all the participants
        delete allParticipants;

        lastPaidParticipant = 0;
        
        //If there is any remaining funds (there shouldnt be) send it to trading wallet
        adminWallet.transfer(address(this).balance);
        totalTransactions = 0;       
    }

    //Allows an injection to add balance into the contract without
    //creating a new contract.
    function addBalance() payable public onlyOwner
    {
        _payout();
    }
    
    function forcePayout() public onlyOwner
    {
        _payout();
    }
    
    function isTesting() public view onlyOwner returns(bool) 
    {
        return(testing);
    }
    
    function changeAdminWallet(address _newWallet) public onlyOwner
    {
        adminWallet = _newWallet;
    }
    
    function setTesting(bool _testing) public onlyOwner
    {
        testing = _testing;
    }
    
    function addToBlackList(address _addressToAdd) public onlyOwner
    {
        blacklist[_addressToAdd] = true;
    }
    
    function removeFromBlackList(address _addressToRemove) public onlyOwner
    {
        blacklist[_addressToRemove] = false;
    }

    /* ------------------------------------------------
    //                      GETTERS
    ---------------------------------------------------*/
    function checkMyTransactions() public view returns(uint256)
    {
        return transactionLimits[msg.sender];
    }
    
    function getPeopleBeforeMe(address _address) public view returns(uint256)
    {
        uint counter = 0;
        
        for(uint16 i = lastPaidParticipant; i < allParticipants.length; i++)
        {
            if(allParticipants[i].ethAddress != _address)
            {
                counter++;
            }
            else
            {
                break;
            }
        }
        
        return counter;
    }
    
    function getMyOwed(address _address) public view returns(uint256)
    {
        uint counter = 0;
        
        for(uint16 i = 0; i < allParticipants.length; i++)
        {
            if(allParticipants[i].ethAddress == _address)
            {
                if(!allParticipants[i].paid)
                {
                    counter++;
                }
            }
        }
        
        return (counter * 625000000000000000);
    }
    
    //For seeing how much balance is in the contract
    function getBalance() public view returns(uint256)
    {
        return address(this).balance;
    }
    
    //For seeing if the contract is locked
    function isLocked() public view returns(bool)
    {
        if(totalTransactions >= maxTransactions)
            return true;
        else
            return false;
    }

    //For seeing how many transactions a user has put into the system
    function getParticipantTransactions(address _address) public view returns(uint8)
    {
        return transactionLimits[_address];
    }
    
    //For getting the details about a transaction (the address and if the transaction was paid)
    function getTransactionInformation(uint _id) public view returns(address, bool)
    {
        return(allParticipants[_id].ethAddress, allParticipants[_id].paid);
    }

    //For getting the ID of the last Paid transaction
    function getLastPaidTransaction() public view returns(uint)
    {
        return (lastPaidParticipant);
    }
    
    //For getting how many transactions there are total
    function getNumberOfTransactions() public view returns(uint)
    {
        return (allParticipants.length);
    }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_testing","type":"bool"}],"name":"setTesting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"register","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"changeMaxTransactions","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unlockContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getNumberOfTransactions","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_addressToAdd","type":"address"}],"name":"addToBlackList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_addressToRemove","type":"address"}],"name":"removeFromBlackList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newWallet","type":"address"}],"name":"changeAdminWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getPeopleBeforeMe","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"debugString","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"forcePayout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ownerCandidate","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"checkMyTransactions","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"devWalletRotation","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getParticipantTransactions","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_id","type":"uint256"}],"name":"getTransactionInformation","outputs":[{"name":"","type":"address"},{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isLocked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getMyOwed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"addBalance","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"isTesting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getLastPaidTransaction","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

  Contract Creation Code Switch To Opcodes View
60806040526003805460a060020a60ff0219600160a060020a03199182167345febd925aa0439ee6bf2fff5996201e199efb5b1716909155610280600555600a805460ff191690556000805490911633179055610fc9806100616000396000f3006080604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166308ed8d16811461014d57806312065fe0146101695780631aa3a008146101905780631fc24caa1461019857806322f0f2f9146101b057806324ba506d146101c5578063417c73a7146101da5780634a49ac4c146101fb5780634b43b5821461021c578063537690381461023d5780635ad6fa5c1461025e5780635b23bf8a146102e85780635f504a82146102fd57806364e0bbc51461032e578063714f82601461034357806379ba50971461036e5780638da5cb5b1461038357806396029286146103985780639fb69839146103b9578063a4e2d634146103f4578063a6f9dae11461041d578063a84ec9291461043e578063b163cc381461045f578063cc724b2714610467578063e912ae4f1461047c575b600080fd5b34801561015957600080fd5b506101676004351515610491565b005b34801561017557600080fd5b5061017e6104bb565b60408051918252519081900360200190f35b6101676104c1565b3480156101a457600080fd5b50610167600435610612565b3480156101bc57600080fd5b5061016761062e565b3480156101d157600080fd5b5061017e610708565b3480156101e657600080fd5b50610167600160a060020a036004351661070e565b34801561020757600080fd5b50610167600160a060020a0360043516610749565b34801561022857600080fd5b50610167600160a060020a0360043516610781565b34801561024957600080fd5b5061017e600160a060020a03600435166107c7565b34801561026a57600080fd5b50610273610838565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ad578181015183820152602001610295565b50505050905090810190601f1680156102da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f457600080fd5b506101676108c3565b34801561030957600080fd5b506103126108e4565b60408051600160a060020a039092168252519081900360200190f35b34801561033a57600080fd5b5061017e6108f3565b34801561034f57600080fd5b50610358610909565b6040805160ff9092168252519081900360200190f35b34801561037a57600080fd5b50610167610919565b34801561038f57600080fd5b50610312610961565b3480156103a457600080fd5b50610358600160a060020a0360043516610970565b3480156103c557600080fd5b506103d1600435610992565b60408051600160a060020a03909316835290151560208301528051918290030190f35b34801561040057600080fd5b506104096109ea565b604080519115158252519081900360200190f35b34801561042957600080fd5b50610167600160a060020a0360043516610a0e565b34801561044a57600080fd5b5061017e600160a060020a0360043516610a54565b6101676108c3565b34801561047357600080fd5b50610409610aed565b34801561048857600080fd5b5061017e610b0f565b600054600160a060020a031633146104a857600080fd5b600a805460ff1916911515919091179055565b30315b90565b6706f05b59d3b200003481146104d657600080fd5b6104de6109ea565b156104e857600080fd5b336000908152600460205260409020805460ff198116600160ff92831601821617909155600a5416151561052a5761051f33610b19565b151561052a57600080fd5b3360009081526009602052604090205460ff161561054757600080fd5b61054f610b4d565b6040805180820190915233815260006020820181815260078054600180820183559190935292517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6889092018054915173ffffffffffffffffffffffffffffffffffffffff19909216600160a060020a039093169290921774ff0000000000000000000000000000000000000000191660a060020a911515919091021790556006805461ffff19811661ffff9182169093011691909117905561060f610d5f565b50565b600054600160a060020a0316331461062957600080fd5b600555565b60008054600160a060020a0316331461064657600080fd5b5060005b6007548110156106a85760006004600060078481548110151561066957fe5b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff191660ff9290921691909117905560010161064a565b6106b460076000610f4e565b6008805461ffff19169055600354604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156106f9573d6000803e3d6000fd5b50506006805461ffff19169055565b60075490565b600054600160a060020a0316331461072557600080fd5b600160a060020a03166000908152600960205260409020805460ff19166001179055565b600054600160a060020a0316331461076057600080fd5b600160a060020a03166000908152600960205260409020805460ff19169055565b600054600160a060020a0316331461079857600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600854600090819061ffff165b60075461ffff821610156108315783600160a060020a031660078261ffff168154811015156107ff57fe5b600091825260209091200154600160a060020a03161461082457600190910190610829565b610831565b6001016107d4565b5092915050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156108bb5780601f10610890576101008083540402835291602001916108bb565b820191906000526020600020905b81548152906001019060200180831161089e57829003601f168201915b505050505081565b600054600160a060020a031633146108da57600080fd5b6108e2610d5f565b565b600154600160a060020a031681565b3360009081526004602052604090205460ff1690565b60035460a060020a900460ff1681565b600154600160a060020a0316331461093057600080fd5b6001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600054600160a060020a031681565b600160a060020a03811660009081526004602052604090205460ff165b919050565b6000806007838154811015156109a457fe5b60009182526020909120015460078054600160a060020a0390921691859081106109ca57fe5b600091825260209091200154909460a060020a90910460ff169350915050565b60055460065460009161ffff90911610610a06575060016104be565b5060006104be565b600054600160a060020a03163314610a2557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080805b60075461ffff82161015610adc5783600160a060020a031660078261ffff16815481101515610a8457fe5b600091825260209091200154600160a060020a03161415610ad4576007805461ffff8316908110610ab157fe5b60009182526020909120015460a060020a900460ff161515610ad4576001909101905b600101610a59565b506708ac7230489e80000292915050565b60008054600160a060020a03163314610b0557600080fd5b50600a5460ff1690565b60085461ffff1690565b600160a060020a038116600090815260046020819052604082205460ff161115610b455750600061098d565b50600161098d565b600354604051600091600160a060020a031690829067024150e3980040009082818181858883f19350505050158015610b8a573d6000803e3d6000fd5b5060038054600160ff60a060020a8084048216929092018116820274ff0000000000000000000000000000000000000000199093169290921792839055600792041610610bf6576003805474ff0000000000000000000000000000000000000000191660a060020a1790555b60035460a060020a900460ff1660011415610c26575073556fd37b59d20c62a778f0610fb1e905b112b7de610d23565b60035460a060020a900460ff1660021415610c5657507392f94ecdb1ba201cd0e4a0a9a9bccb1faa3a3de0610d23565b6003805460a060020a900460ff161415610c8557507341271507434e21dbd5f09624181d7cd70bf06cbf610d23565b60035460a060020a900460ff1660041415610cb5575073beb07c2d5beca948eb7d7eaf60a30e900f470f8d610d23565b60035460a060020a900460ff1660051415610ce5575073cd7c53462067f0d0b8809be9e3fb143679a270bb610d23565b60035460a060020a900460ff1660061415610d155750739184b1d0106c1b7663d4c3bbdbf019055bb813ac610d23565b50600354600160a060020a03165b604051600160a060020a038216906000906658d15e176280009082818181858883f19350505050158015610d5b573d6000803e3d6000fd5b5050565b60085461ffff165b60075461ffff82161015610edb576007805461ffff8316908110610d8757fe5b60009182526020909120015460a060020a900460ff1615610db8576008805461ffff191661ffff8316179055610ed3565b6708ac7230489e800030311015610dce57610edb565b6007805461ffff8316908110610de057fe5b6000918252602082200154604051600160a060020a0390911691906708ac7230489e80009082818181858883f19350505050158015610e23573d6000803e3d6000fd5b50600160078261ffff16815481101515610e3957fe5b60009182526020822001805492151560a060020a0274ff0000000000000000000000000000000000000000199093169290921790915560078054600492919061ffff8516908110610e8657fe5b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff19811660ff918216600019019091161790556008805461ffff191661ffff83161790555b600101610d67565b60055460085461ffff161061060f5761060f60005b6007548110156106a857600060046000600784815481101515610f0f57fe5b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff191660ff92909216919091179055600101610ef0565b508054600082559060005260206000209081019061060f91906104be91905b80821115610f9957805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610f6d565b50905600a165627a7a72305820c7fe8528732057a8955db34daf4f7bb5ca611f69c83c11082e7d843b9c02816c0029

   Swarm Source:
bzzr://c7fe8528732057a8955db34daf4f7bb5ca611f69c83c11082e7d843b9c02816c

 

View All
Block Age transaction Difficulty Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.