Contract Overview
Balance: 0.3065 Ether
Ether Value: $40.91 (@ $133.48/ETH)
Transactions: 179 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xbebad9646e48231bbb3c56d3888aaffb57d179d0at txn 0xc0151d11e4d3dc704a896efc3fb916655be0f9869c97fa89014821be8c971d57
 Latest 25 transactions from a total of 179 transactions

TxHash Age From To Value [TxFee]
0x1a0e2347d47b3eb3f7aa1dc2cda44b82bdc743fa06b3086e38824d92ce739d013 days 7 hrs ago0x8cb090e2f23319dd8ac6056b006a2c0d5eb2b0f0  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002034458
0x69dbee078b187f8be4e758f6f8aa546b254bcdec8838a2c3ae9eb7cd526ffd983 days 7 hrs ago0x9fb16f1669545c3db1667aba486046846d72addb  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001527093
0xfe5adf3175b2598b3479b2d60b92f2c81d83e52b078466e57aedc1e57dec166a3 days 8 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c1.875 Ether0.001214655
0x5c2e0f44db5069193e3bf69b529b0e07963adf687010cff0105c493232295f528 days 13 hrs ago0x39b95782715f1ef9ebb2eef44eb27791de466ea9  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000474946
0x50e0b636e88e1ab88deaa14b7dfa384463aa788154593be0f7bb7db8d858bd5235 days 17 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.922 Ether0.000495108
0x66260bb2d206424e68e20686fcd378f4fd452d17b4c966496e56a231093f9bfc36 days 12 hrs ago0x9fb16f1669545c3db1667aba486046846d72addb  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001207332
0x5aabadc625f17b50d5919b64a426108921582879a70e25a728fa392e0b16fea436 days 14 hrs ago0xd93e13bfae020a7a35d662e660dde8497cb99874  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001516689
0x4ad3054bd82aabe3634c6405dc2d57a398dad55eb96b38ec8aeb375219eda1a936 days 14 hrs ago0xd93e13bfae020a7a35d662e660dde8497cb99874  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002209983
0x877345ac6fe9c12beffb94a10985db251bba2eb3ea3679a3f03f83c6d3b247b437 days 12 hrs ago0x3e8252dc570b83d4f0ec9d39eaa0c24967bca301  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001506285
0xce129c9a3f11e13b73388085751f2cc4fd6e74618acb7ec6d911f707d1519bb937 days 15 hrs ago0x94debc57081c4c58dd69f4dfce589b82fc3c2866  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000718044
0x664d9b370b853c6ae8e948abc3155686e355a322b83028687b951d72b2c9fb3c37 days 15 hrs ago0x94debc57081c4c58dd69f4dfce589b82fc3c2866  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000419316
0xf3f01ef09c3f81c4b853e493c42aa831a5a0b8213046d867d710eb6305a09f7238 days 7 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.559 Ether0.000536367
0xd924b4dfefbf755e0c6cfbd3cc65be9dfaccc5c5a6bb87af3db09e7f0884d96c40 days 8 hrs ago0x8cb090e2f23319dd8ac6056b006a2c0d5eb2b0f0  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001965387
0x38f85b103fc826b0602beec02428a2cf186bbbdec2aecb71f42f12da868c5b8540 days 20 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.6 Ether0.000618849
0x3dd98ca4a6a9cdf0ecdd07b0a4ab80ef85fd179288ea7b65207b3382ac1eb3cc42 days 1 hr ago0x3b8da88918436adc5a4c9411e473d5da82ccf86c  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002230425
0x2609b0517c742c616d242547d32569321398bd4cc00f673bcedd046d98cccca742 days 13 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.388 Ether0.000787626
0x22e29c6b315ebe0f131fb7e19f92d33b82ef9d96bca1cc0ed7adaea8bc0e36e744 days 10 hrs ago0x3e8252dc570b83d4f0ec9d39eaa0c24967bca301  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001511487
0x6cda437c30f9724c4fc7030925c53e7e80a99a796e43ae3396f0c648552a0e4644 days 10 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.21 Ether0.000675108
0x1ca7b6d82b0d319b3f07ae196778a1fb20b90edde904c7f3e7c08f70cce94a7244 days 22 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c2.17 Ether0.00112122
0xfd4beb043e3c930ebf0554548095457771f9538abe8833d4990c2a3f84edb33445 days 4 hrs ago0x252cab6ea812f72fe3b784b98ff0d162b634e67e  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002204781
0xa2dc2f95623bd36fd18d049f20a3d38df5be8649bc92e99ff7628c31999c876046 days 21 hrs ago0x3b8da88918436adc5a4c9411e473d5da82ccf86c  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001845962
0xb4e9e8980134a4b0502e20addad20a04b47b0fb3591c740c0b2029a4438bc32f57 days 7 hrs ago0x45febd925aa0439ee6bf2fff5996201e199efb5b  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.45 Ether0.000393813
0x9f17915041382c76746358945b2a347b11c54d6fa774677ea769dceb0643c45957 days 10 hrs ago0xcd7c53462067f0d0b8809be9e3fb143679a270bb  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.001991751
0xdb8b76968aca0c17c7e5246681c0d35e1c96d9a67379d92ff0265b70e30c0b7257 days 10 hrs ago0xb510bd327bf12a7c95c231beb4d977f4af69c2ad  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.002220387
0xbf1f4edba259496b6bef76be7862e84dd0e063dd979bba486d4cd1d03574443d57 days 10 hrs ago0xb510bd327bf12a7c95c231beb4d977f4af69c2ad  IN   0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0.5 Ether0.000287
[ 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
0x1a0e2347d47b3eb3f7aa1dc2cda44b82bdc743fa06b3086e38824d92ce739d0167311113 days 7 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xc31b6117f2b079e365012c766f913b816f8f86e30.625 Ether
0x1a0e2347d47b3eb3f7aa1dc2cda44b82bdc743fa06b3086e38824d92ce739d0167311113 days 7 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x556fd37b59d20c62a778f0610fb1e905b112b7de0.025 Ether
0x1a0e2347d47b3eb3f7aa1dc2cda44b82bdc743fa06b3086e38824d92ce739d0167311113 days 7 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x69dbee078b187f8be4e758f6f8aa546b254bcdec8838a2c3ae9eb7cd526ffd9867311063 days 7 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x9184b1d0106c1b7663d4c3bbdbf019055bb813ac0.025 Ether
0x69dbee078b187f8be4e758f6f8aa546b254bcdec8838a2c3ae9eb7cd526ffd9867311063 days 7 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0xfe5adf3175b2598b3479b2d60b92f2c81d83e52b078466e57aedc1e57dec166a67309043 days 8 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x8cb090e2f23319dd8ac6056b006a2c0d5eb2b0f00.625 Ether
0xfe5adf3175b2598b3479b2d60b92f2c81d83e52b078466e57aedc1e57dec166a67309043 days 8 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xe96f1c4276f31a6221d3abb7dbb064d92601a34d0.625 Ether
0xfe5adf3175b2598b3479b2d60b92f2c81d83e52b078466e57aedc1e57dec166a67309043 days 8 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x9fb16f1669545c3db1667aba486046846d72addb0.625 Ether
0x50e0b636e88e1ab88deaa14b7dfa384463aa788154593be0f7bb7db8d858bd52653294935 days 17 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x459628b55e94d3c749823e90714cd85e048c360d0.625 Ether
0x66260bb2d206424e68e20686fcd378f4fd452d17b4c966496e56a231093f9bfc652809436 days 12 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x604699f36249a7b331d83f406da613c62e5ee8ff0.625 Ether
0x66260bb2d206424e68e20686fcd378f4fd452d17b4c966496e56a231093f9bfc652809436 days 12 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xcd7c53462067f0d0b8809be9e3fb143679a270bb0.025 Ether
0x66260bb2d206424e68e20686fcd378f4fd452d17b4c966496e56a231093f9bfc652809436 days 12 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x5aabadc625f17b50d5919b64a426108921582879a70e25a728fa392e0b16fea4652763236 days 14 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0xbeb07c2d5beca948eb7d7eaf60a30e900f470f8d0.025 Ether
0x5aabadc625f17b50d5919b64a426108921582879a70e25a728fa392e0b16fea4652763236 days 14 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x4ad3054bd82aabe3634c6405dc2d57a398dad55eb96b38ec8aeb375219eda1a9652759636 days 14 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x9fb16f1669545c3db1667aba486046846d72addb0.625 Ether
0x4ad3054bd82aabe3634c6405dc2d57a398dad55eb96b38ec8aeb375219eda1a9652759636 days 14 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x41271507434e21dbd5f09624181d7cd70bf06cbf0.025 Ether
0x4ad3054bd82aabe3634c6405dc2d57a398dad55eb96b38ec8aeb375219eda1a9652759636 days 14 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x877345ac6fe9c12beffb94a10985db251bba2eb3ea3679a3f03f83c6d3b247b4652200037 days 12 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x92f94ecdb1ba201cd0e4a0a9a9bccb1faa3a3de00.025 Ether
0x877345ac6fe9c12beffb94a10985db251bba2eb3ea3679a3f03f83c6d3b247b4652200037 days 12 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0xce129c9a3f11e13b73388085751f2cc4fd6e74618acb7ec6d911f707d1519bb9652133537 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x3e8252dc570b83d4f0ec9d39eaa0c24967bca3010.625 Ether
0xce129c9a3f11e13b73388085751f2cc4fd6e74618acb7ec6d911f707d1519bb9652133537 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x556fd37b59d20c62a778f0610fb1e905b112b7de0.025 Ether
0xce129c9a3f11e13b73388085751f2cc4fd6e74618acb7ec6d911f707d1519bb9652133537 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0x664d9b370b853c6ae8e948abc3155686e355a322b83028687b951d72b2c9fb3c652123237 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x9184b1d0106c1b7663d4c3bbdbf019055bb813ac0.025 Ether
0x664d9b370b853c6ae8e948abc3155686e355a322b83028687b951d72b2c9fb3c652123237 days 15 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x45febd925aa0439ee6bf2fff5996201e199efb5b0.1625 Ether
0xf3f01ef09c3f81c4b853e493c42aa831a5a0b8213046d867d710eb6305a09f72651734938 days 7 hrs ago0x4f2aa95e2b8f2f1604cf3a3f1d5f48e67aef9e4c0x92421097f5a6b24b45e94a5297e220622dcdbd5a0.625 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 GasUsed 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.