Contract 0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c

 

Contract Overview

Balance:
0.4125 Ether

EtherValue:
$60.44 (@ $146.52/ETH)
TxHash Block Age From To Value [TxFee]
0x1a7935fbb2862ce8da85eace68936209ad4a8205965f95d4c99b18158951cfef712543124 days 23 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0 Ether0.000350558
0x00e0df004a2f0a7b1d01bb8f20dfa81973439beb4d13aadcf433d88bec72a329712541624 days 23 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c1.25 Ether0.000875511
0x3f5b5f1afe4dc7e29c98e1fa0649521245fc97da5f3dd2c865b1c56695095bc3706672435 days 22 hrs ago0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000416936
0x520521934d659a155a3f28eb998e0524d1fe6d374da4da85d91f957e7727e91c706671635 days 22 hrs ago0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000373048
0xc0c4f4356df78ee25089c698dc1024f8a52235de5f58399eb63c8718b78b5e55706671135 days 22 hrs ago0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001511487
0xdeb720e7f31f2707d23913702be96cea7d2f23c88c18dea70b0cfe9ad29c91a8705595937 days 20 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.6 Ether0.000495108
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c6 Ether0.002952612
0x07abe79d355a7673b4c7d40774291ff04749c7a99a534bfc5b523a602dbba489705487738 days 50 mins ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c1.1 Ether0.0010236744
0x7119afd4c4d309e0eba3b340bbc5f7a86dc3ab38ef455b397592bdeca3845c5c705486138 days 55 mins ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.12 Ether0.000362052
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c4.611 Ether0.001645083
0x63a961a6cdb5db46ebe68542937209d9acced740ac56e0dac52dac1b0577b9e9692869759 days 21 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0 Ether0.000323592
0x06e8506c0f1c98027b9fd4fe2e3626dcef8dc4be48da83a82f8605ec370d95e7690431064 days 1 hr ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c6.7 Ether0.003632085
0x73050ec96b55efa7cfb3bd3cf2a0bb2fe2cd10cbd393dcf03797cdba9edd9bef688875966 days 15 hrs ago0x8e6380192ee64b194f4f1fa11fd8c15627efdb93 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000725235
0xbd2bd983c6473eb7132674fae77287c8c2ffdaaf79cbe97026193bfe1cad62bc688875366 days 15 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c2.85 Ether0.001567332
0x1a0e2347d47b3eb3f7aa1dc2cda44b82bdc743fa06b3086e38824d92ce739d01673111192 days 15 hrs ago0x8cb090e2f23319dd8ac6056b006a2c0d5eb2b0f0 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002034458
0x69dbee078b187f8be4e758f6f8aa546b254bcdec8838a2c3ae9eb7cd526ffd98673110692 days 15 hrs ago0x9fb16f1669545c3db1667aba486046846d72addb IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001527093
0xfe5adf3175b2598b3479b2d60b92f2c81d83e52b078466e57aedc1e57dec166a673090492 days 16 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c1.875 Ether0.001214655
0x5c2e0f44db5069193e3bf69b529b0e07963adf687010cff0105c493232295f52669891097 days 22 hrs ago0x39b95782715f1ef9ebb2eef44eb27791de466ea9 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000474946
0x50e0b636e88e1ab88deaa14b7dfa384463aa788154593be0f7bb7db8d858bd526532949125 days 2 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.922 Ether0.000495108
0x66260bb2d206424e68e20686fcd378f4fd452d17b4c966496e56a231093f9bfc6528094125 days 21 hrs ago0x9fb16f1669545c3db1667aba486046846d72addb IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001207332
0x5aabadc625f17b50d5919b64a426108921582879a70e25a728fa392e0b16fea46527632125 days 23 hrs ago0xd93e13bfae020a7a35d662e660dde8497cb99874 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001516689
0x4ad3054bd82aabe3634c6405dc2d57a398dad55eb96b38ec8aeb375219eda1a96527596125 days 23 hrs ago0xd93e13bfae020a7a35d662e660dde8497cb99874 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002209983
0x877345ac6fe9c12beffb94a10985db251bba2eb3ea3679a3f03f83c6d3b247b46522000126 days 21 hrs ago0x3e8252dc570b83d4f0ec9d39eaa0c24967bca301 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001506285
0xce129c9a3f11e13b73388085751f2cc4fd6e74618acb7ec6d911f707d1519bb96521335126 days 23 hrs ago0x94debc57081c4c58dd69f4dfce589b82fc3c2866 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000718044
0x664d9b370b853c6ae8e948abc3155686e355a322b83028687b951d72b2c9fb3c6521232127 days 14 mins ago0x94debc57081c4c58dd69f4dfce589b82fc3c2866 IN  0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000419316
[ 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
0x00e0df004a2f0a7b1d01bb8f20dfa81973439beb4d13aadcf433d88bec72a329712541624 days 23 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x8cb090e2f23319dd8ac6056b006a2c0d5eb2b0f00.625 Ether
0x00e0df004a2f0a7b1d01bb8f20dfa81973439beb4d13aadcf433d88bec72a329712541624 days 23 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x867e1996c36f57545c365b33edd48923873792f60.625 Ether
0xc0c4f4356df78ee25089c698dc1024f8a52235de5f58399eb63c8718b78b5e55706671135 days 22 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.025 Ether
0xc0c4f4356df78ee25089c698dc1024f8a52235de5f58399eb63c8718b78b5e55706671135 days 22 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0xdeb720e7f31f2707d23913702be96cea7d2f23c88c18dea70b0cfe9ad29c91a8705595937 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x39b95782715f1ef9ebb2eef44eb27791de466ea90.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x39b95782715f1ef9ebb2eef44eb27791de466ea90.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e0.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x11e53fd84b8f7615e1b3e1962894e1a13fd168b30.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x3e8252dc570b83d4f0ec9d39eaa0c24967bca3010.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x5eb2252ae256e28e784a0d8ae13893033aaf60ab0.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x5eb2252ae256e28e784a0d8ae13893033aaf60ab0.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x11e53fd84b8f7615e1b3e1962894e1a13fd168b30.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e0.625 Ether
0xb896412e701ed2429fdeeca866d757dd59bc5a3f3569e2efbee7855d97a64614705595437 days 20 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x6b9e9e10abb661b56b0602817c3f4bcd7f4d32c20.625 Ether
0x07abe79d355a7673b4c7d40774291ff04749c7a99a534bfc5b523a602dbba489705487738 days 50 mins ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.625 Ether
0x07abe79d355a7673b4c7d40774291ff04749c7a99a534bfc5b523a602dbba489705487738 days 50 mins ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.625 Ether
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.625 Ether
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.625 Ether
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.625 Ether
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.625 Ether
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x396cd23d8a6b95a9fdc87ac79cdaad590354ef3e0.625 Ether
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x8181d86de79a4b040ead04c88e3113ed6216a2030.625 Ether
0x8d7e56333ac2cd82d51158f97c55ffb0cbd26df5d87270eeedddda86d57ed67d705464538 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xc7d544f252e093e4d4b030a112fd42179ae6646d0.625 Ether
0x06e8506c0f1c98027b9fd4fe2e3626dcef8dc4be48da83a82f8605ec370d95e7690431064 days 1 hr ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xa2651b958f773fda2f43163253a8ba5132adf9d30.625 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

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


Contract Source Code
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
60806040526003805460a060020a60ff0219600160a060020a03199182167345febd925aa0439ee6bf2fff5996201e199efb5b1716909155610280600555600a805460ff191690556000805490911633179055610fc9806100616000396000f3006080604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166308ed8d16811461014d57806312065fe0146101695780631aa3a008146101905780631fc24caa1461019857806322f0f2f9146101b057806324ba506d146101c5578063417c73a7146101da5780634a49ac4c146101fb5780634b43b5821461021c578063537690381461023d5780635ad6fa5c1461025e5780635b23bf8a146102e85780635f504a82146102fd57806364e0bbc51461032e578063714f82601461034357806379ba50971461036e5780638da5cb5b1461038357806396029286146103985780639fb69839146103b9578063a4e2d634146103f4578063a6f9dae11461041d578063a84ec9291461043e578063b163cc381461045f578063cc724b2714610467578063e912ae4f1461047c575b600080fd5b34801561015957600080fd5b506101676004351515610491565b005b34801561017557600080fd5b5061017e6104bb565b60408051918252519081900360200190f35b6101676104c1565b3480156101a457600080fd5b50610167600435610612565b3480156101bc57600080fd5b5061016761062e565b3480156101d157600080fd5b5061017e610708565b3480156101e657600080fd5b50610167600160a060020a036004351661070e565b34801561020757600080fd5b50610167600160a060020a0360043516610749565b34801561022857600080fd5b50610167600160a060020a0360043516610781565b34801561024957600080fd5b5061017e600160a060020a03600435166107c7565b34801561026a57600080fd5b50610273610838565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ad578181015183820152602001610295565b50505050905090810190601f1680156102da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102f457600080fd5b506101676108c3565b34801561030957600080fd5b506103126108e4565b60408051600160a060020a039092168252519081900360200190f35b34801561033a57600080fd5b5061017e6108f3565b34801561034f57600080fd5b50610358610909565b6040805160ff9092168252519081900360200190f35b34801561037a57600080fd5b50610167610919565b34801561038f57600080fd5b50610312610961565b3480156103a457600080fd5b50610358600160a060020a0360043516610970565b3480156103c557600080fd5b506103d1600435610992565b60408051600160a060020a03909316835290151560208301528051918290030190f35b34801561040057600080fd5b506104096109ea565b604080519115158252519081900360200190f35b34801561042957600080fd5b50610167600160a060020a0360043516610a0e565b34801561044a57600080fd5b5061017e600160a060020a0360043516610a54565b6101676108c3565b34801561047357600080fd5b50610409610aed565b34801561048857600080fd5b5061017e610b0f565b600054600160a060020a031633146104a857600080fd5b600a805460ff1916911515919091179055565b30315b90565b6706f05b59d3b200003481146104d657600080fd5b6104de6109ea565b156104e857600080fd5b336000908152600460205260409020805460ff198116600160ff92831601821617909155600a5416151561052a5761051f33610b19565b151561052a57600080fd5b3360009081526009602052604090205460ff161561054757600080fd5b61054f610b4d565b6040805180820190915233815260006020820181815260078054600180820183559190935292517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6889092018054915173ffffffffffffffffffffffffffffffffffffffff19909216600160a060020a039093169290921774ff0000000000000000000000000000000000000000191660a060020a911515919091021790556006805461ffff19811661ffff9182169093011691909117905561060f610d5f565b50565b600054600160a060020a0316331461062957600080fd5b600555565b60008054600160a060020a0316331461064657600080fd5b5060005b6007548110156106a85760006004600060078481548110151561066957fe5b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff191660ff9290921691909117905560010161064a565b6106b460076000610f4e565b6008805461ffff19169055600354604051600160a060020a0390911690303180156108fc02916000818181858888f193505050501580156106f9573d6000803e3d6000fd5b50506006805461ffff19169055565b60075490565b600054600160a060020a0316331461072557600080fd5b600160a060020a03166000908152600960205260409020805460ff19166001179055565b600054600160a060020a0316331461076057600080fd5b600160a060020a03166000908152600960205260409020805460ff19169055565b600054600160a060020a0316331461079857600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600854600090819061ffff165b60075461ffff821610156108315783600160a060020a031660078261ffff168154811015156107ff57fe5b600091825260209091200154600160a060020a03161461082457600190910190610829565b610831565b6001016107d4565b5092915050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156108bb5780601f10610890576101008083540402835291602001916108bb565b820191906000526020600020905b81548152906001019060200180831161089e57829003601f168201915b505050505081565b600054600160a060020a031633146108da57600080fd5b6108e2610d5f565b565b600154600160a060020a031681565b3360009081526004602052604090205460ff1690565b60035460a060020a900460ff1681565b600154600160a060020a0316331461093057600080fd5b6001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600054600160a060020a031681565b600160a060020a03811660009081526004602052604090205460ff165b919050565b6000806007838154811015156109a457fe5b60009182526020909120015460078054600160a060020a0390921691859081106109ca57fe5b600091825260209091200154909460a060020a90910460ff169350915050565b60055460065460009161ffff90911610610a06575060016104be565b5060006104be565b600054600160a060020a03163314610a2557600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080805b60075461ffff82161015610adc5783600160a060020a031660078261ffff16815481101515610a8457fe5b600091825260209091200154600160a060020a03161415610ad4576007805461ffff8316908110610ab157fe5b60009182526020909120015460a060020a900460ff161515610ad4576001909101905b600101610a59565b506708ac7230489e80000292915050565b60008054600160a060020a03163314610b0557600080fd5b50600a5460ff1690565b60085461ffff1690565b600160a060020a038116600090815260046020819052604082205460ff161115610b455750600061098d565b50600161098d565b600354604051600091600160a060020a031690829067024150e3980040009082818181858883f19350505050158015610b8a573d6000803e3d6000fd5b5060038054600160ff60a060020a8084048216929092018116820274ff0000000000000000000000000000000000000000199093169290921792839055600792041610610bf6576003805474ff0000000000000000000000000000000000000000191660a060020a1790555b60035460a060020a900460ff1660011415610c26575073556fd37b59d20c62a778f0610fb1e905b112b7de610d23565b60035460a060020a900460ff1660021415610c5657507392f94ecdb1ba201cd0e4a0a9a9bccb1faa3a3de0610d23565b6003805460a060020a900460ff161415610c8557507341271507434e21dbd5f09624181d7cd70bf06cbf610d23565b60035460a060020a900460ff1660041415610cb5575073beb07c2d5beca948eb7d7eaf60a30e900f470f8d610d23565b60035460a060020a900460ff1660051415610ce5575073cd7c53462067f0d0b8809be9e3fb143679a270bb610d23565b60035460a060020a900460ff1660061415610d155750739184b1d0106c1b7663d4c3bbdbf019055bb813ac610d23565b50600354600160a060020a03165b604051600160a060020a038216906000906658d15e176280009082818181858883f19350505050158015610d5b573d6000803e3d6000fd5b5050565b60085461ffff165b60075461ffff82161015610edb576007805461ffff8316908110610d8757fe5b60009182526020909120015460a060020a900460ff1615610db8576008805461ffff191661ffff8316179055610ed3565b6708ac7230489e800030311015610dce57610edb565b6007805461ffff8316908110610de057fe5b6000918252602082200154604051600160a060020a0390911691906708ac7230489e80009082818181858883f19350505050158015610e23573d6000803e3d6000fd5b50600160078261ffff16815481101515610e3957fe5b60009182526020822001805492151560a060020a0274ff0000000000000000000000000000000000000000199093169290921790915560078054600492919061ffff8516908110610e8657fe5b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff19811660ff918216600019019091161790556008805461ffff191661ffff83161790555b600101610d67565b60055460085461ffff161061060f5761060f60005b6007548110156106a857600060046000600784815481101515610f0f57fe5b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff191660ff92909216919091179055600101610ef0565b508054600082559060005260206000209081019061060f91906104be91905b80821115610f9957805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610f6d565b50905600a165627a7a72305820c7fe8528732057a8955db34daf4f7bb5ca611f69c83c11082e7d843b9c02816c0029


   Swarm Source:
bzzr://c7fe8528732057a8955db34daf4f7bb5ca611f69c83c11082e7d843b9c02816c
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.