ETH Price: $3,505.58 (+5.60%)

Contract

0xF45717552f12Ef7cb65e95476F217Ea008167Ae3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Lend Government ...33858662017-03-20 11:18:062860 days ago1490008686IN
PonziGovernmental
0.01 ETH0.000737120
Total Payed Out17431382016-06-21 6:29:463132 days ago1466490586IN
PonziGovernmental
0 ETH0.0004330220
Lend Government ...17198662016-06-17 9:11:193136 days ago1466154679IN
PonziGovernmental
0.001 ETH0.1266481550
Lend Government ...17198642016-06-17 9:11:013136 days ago1466154661IN
PonziGovernmental
0.001 ETH0.2528972550
Lend Government ...17198622016-06-17 9:10:233136 days ago1466154623IN
PonziGovernmental
0.001 ETH0.2528972550
Lend Government ...17198592016-06-17 9:09:323136 days ago1466154572IN
PonziGovernmental
0.001 ETH0.2528972550
Lend Government ...17198562016-06-17 9:08:213136 days ago1466154501IN
PonziGovernmental
0.001 ETH0.2528972550
0x50cdaa4417018092016-06-14 9:16:463139 days ago1465895806IN
PonziGovernmental
1 ETH0.0157521
0x50cdaa4417017662016-06-14 9:07:023139 days ago1465895222IN
PonziGovernmental
0.8236 ETH0.0157521
0x50cdaa4417017582016-06-14 9:05:413139 days ago1465895141IN
PonziGovernmental
0.01 ETH0.0157521
0x50cdaa4417013882016-06-14 7:35:283139 days ago1465889728IN
PonziGovernmental
0.001 ETH0.0989601421
0x50cdaa4417013432016-06-14 7:25:103139 days ago1465889110IN
PonziGovernmental
0.1 ETH0.00111321
0x50cdaa4417007392016-06-14 4:54:333139 days ago1465880073IN
PonziGovernmental
0.1 ETH0.000907221
Lend Government ...16973792016-06-13 15:34:533140 days ago1465832093IN
PonziGovernmental
0.001 ETH0.0025289550
Lend Government ...16973742016-06-13 15:33:353140 days ago1465832015IN
PonziGovernmental
0.001 ETH0.0025289550
Transfer16927242016-06-12 21:14:063140 days ago1465766046IN
PonziGovernmental
0.0000175 ETH0.00044121
0x50cdaa4416927122016-06-12 21:11:073140 days ago1465765867IN
PonziGovernmental
0 ETH0.000907221
0x50cdaa4416922552016-06-12 19:23:203141 days ago1465759400IN
PonziGovernmental
1.2721247 ETH0.000907221
0x50cdaa4416922152016-06-12 19:13:373141 days ago1465758817IN
PonziGovernmental
0.01 ETH0.001814421
0x50cdaa4416920732016-06-12 18:37:283141 days ago1465756648IN
PonziGovernmental
1.25205161 ETH0.000907221
0x50cdaa4416920142016-06-12 18:25:193141 days ago1465755919IN
PonziGovernmental
0.1 ETH0.000907221
Lend Government ...15296002016-05-16 19:47:473168 days ago1463428067IN
PonziGovernmental
0 ETH0.0925794620
Lend Government ...15295892016-05-16 19:44:403168 days ago1463427880IN
PonziGovernmental
1 ETH0.0926464620
Lend Government ...15295882016-05-16 19:44:323168 days ago1463427872IN
PonziGovernmental
1 ETH0.0926464620
Transfer14158822016-04-27 22:26:483186 days ago1461796008IN
PonziGovernmental
1 ETH0.150
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
33858662017-03-20 11:18:062860 days ago1490008686
PonziGovernmental
0.01 ETH
24407372016-10-14 20:34:163017 days ago1476477256
PonziGovernmental
0 ETH
24406982016-10-14 20:24:003017 days ago1476476640
PonziGovernmental
0 ETH
24406832016-10-14 20:22:093017 days ago1476476529
PonziGovernmental
0 ETH
24392452016-10-14 14:52:423017 days ago1476456762
PonziGovernmental
0 ETH
24392272016-10-14 14:48:173017 days ago1476456497
PonziGovernmental
0 ETH
24391002016-10-14 14:13:073017 days ago1476454387
PonziGovernmental
0 ETH
24390332016-10-14 13:55:243017 days ago1476453324
PonziGovernmental
0 ETH
24387992016-10-14 12:52:133017 days ago1476449533
PonziGovernmental
0 ETH
24387172016-10-14 12:29:493017 days ago1476448189
PonziGovernmental
0 ETH
24385172016-10-14 11:39:213017 days ago1476445161
PonziGovernmental
0 ETH
24385072016-10-14 11:35:483017 days ago1476444948
PonziGovernmental
0 ETH
24384912016-10-14 11:31:583017 days ago1476444718
PonziGovernmental
0 ETH
24384822016-10-14 11:29:083017 days ago1476444548
PonziGovernmental
0 ETH
24384762016-10-14 11:28:253017 days ago1476444505
PonziGovernmental
0 ETH
24384732016-10-14 11:27:153017 days ago1476444435
PonziGovernmental
0 ETH
24384652016-10-14 11:24:343017 days ago1476444274
PonziGovernmental
0 ETH
24384592016-10-14 11:22:493017 days ago1476444169
PonziGovernmental
0 ETH
24384382016-10-14 11:18:023017 days ago1476443882
PonziGovernmental
0 ETH
24384352016-10-14 11:17:303017 days ago1476443850
PonziGovernmental
0 ETH
24384332016-10-14 11:17:033017 days ago1476443823
PonziGovernmental
0 ETH
24384182016-10-14 11:13:043017 days ago1476443584
PonziGovernmental
0 ETH
24384112016-10-14 11:12:073017 days ago1476443527
PonziGovernmental
0 ETH
24383882016-10-14 11:07:593017 days ago1476443279
PonziGovernmental
0 ETH
24383682016-10-14 11:03:303017 days ago1476443010
PonziGovernmental
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Government

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

Optimization Enabled:
Yes with 200 runs

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

contract Government {

    // Global Variables
    uint32 public lastCreditorPayedOut;
    uint public lastTimeOfNewCredit;
    uint public profitFromCrash;
    address[] public creditorAddresses;
    uint[] public creditorAmounts;
    address public corruptElite;
    mapping (address => uint) buddies;
    uint constant TWELVE_HOURS = 43200;
    uint8 public round;

    function Government() {
        // The corrupt elite establishes a new government
        // this is the commitment of the corrupt Elite - everything that can not be saved from a crash
        profitFromCrash = msg.value;
        corruptElite = msg.sender;
        lastTimeOfNewCredit = block.timestamp;
    }

    function lendGovernmentMoney(address buddy) returns (bool) {
        uint amount = msg.value;
        // check if the system already broke down. If for 12h no new creditor gives new credit to the system it will brake down.
        // 12h are on average = 60*60*12/12.5 = 3456
        if (lastTimeOfNewCredit + TWELVE_HOURS < block.timestamp) {
            // Return money to sender
            msg.sender.send(amount);
            // Sends all contract money to the last creditor
            creditorAddresses[creditorAddresses.length - 1].send(profitFromCrash);
            corruptElite.send(this.balance);
            // Reset contract state
            lastCreditorPayedOut = 0;
            lastTimeOfNewCredit = block.timestamp;
            profitFromCrash = 0;
            creditorAddresses = new address[](0);
            creditorAmounts = new uint[](0);
            round += 1;
            return false;
        }
        else {
            // the system needs to collect at least 1% of the profit from a crash to stay alive
            if (amount >= 10 ** 18) {
                // the System has received fresh money, it will survive at leat 12h more
                lastTimeOfNewCredit = block.timestamp;
                // register the new creditor and his amount with 10% interest rate
                creditorAddresses.push(msg.sender);
                creditorAmounts.push(amount * 110 / 100);
                // now the money is distributed
                // first the corrupt elite grabs 5% - thieves!
                corruptElite.send(amount * 5/100);
                // 5% are going into the economy (they will increase the value for the person seeing the crash comming)
                if (profitFromCrash < 10000 * 10**18) {
                    profitFromCrash += amount * 5/100;
                }
                // if you have a buddy in the government (and he is in the creditor list) he can get 5% of your credits.
                // Make a deal with him.
                if(buddies[buddy] >= amount) {
                    buddy.send(amount * 5/100);
                }
                buddies[msg.sender] += amount * 110 / 100;
                // 90% of the money will be used to pay out old creditors
                if (creditorAmounts[lastCreditorPayedOut] <= address(this).balance - profitFromCrash) {
                    creditorAddresses[lastCreditorPayedOut].send(creditorAmounts[lastCreditorPayedOut]);
                    buddies[creditorAddresses[lastCreditorPayedOut]] -= creditorAmounts[lastCreditorPayedOut];
                    lastCreditorPayedOut += 1;
                }
                return true;
            }
            else {
                msg.sender.send(amount);
                return false;
            }
        }
    }

    // fallback function
    function() {
        lendGovernmentMoney(0);
    }

    function totalDebt() returns (uint debt) {
        for(uint i=lastCreditorPayedOut; i<creditorAmounts.length; i++){
            debt += creditorAmounts[i];
        }
    }

    function totalPayedOut() returns (uint payout) {
        for(uint i=0; i<lastCreditorPayedOut; i++){
            payout += creditorAmounts[i];
        }
    }

    // better don't do it (unless you are the corrupt elite and you want to establish trust in the system)
    function investInTheSystem() {
        profitFromCrash += msg.value;
    }

    // From time to time the corrupt elite inherits it's power to the next generation
    function inheritToNextGeneration(address nextGeneration) {
        if (msg.sender == corruptElite) {
            corruptElite = nextGeneration;
        }
    }

    function getCreditorAddresses() returns (address[]) {
        return creditorAddresses;
    }

    function getCreditorAmounts() returns (uint[]) {
        return creditorAmounts;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"lastCreditorPayedOut","outputs":[{"name":"","type":"uint32"}],"type":"function"},{"constant":true,"inputs":[],"name":"round","outputs":[{"name":"","type":"uint8"}],"type":"function"},{"constant":true,"inputs":[],"name":"corruptElite","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"lastTimeOfNewCredit","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"nextGeneration","type":"address"}],"name":"inheritToNextGeneration","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"investInTheSystem","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"totalPayedOut","outputs":[{"name":"payout","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"profitFromCrash","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[],"name":"getCreditorAmounts","outputs":[{"name":"","type":"uint256[]"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"creditorAddresses","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[],"name":"getCreditorAddresses","outputs":[{"name":"","type":"address[]"}],"type":"function"},{"constant":false,"inputs":[{"name":"buddy","type":"address"}],"name":"lendGovernmentMoney","outputs":[{"name":"","type":"bool"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"creditorAmounts","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[],"name":"totalDebt","outputs":[{"name":"debt","type":"uint256"}],"type":"function"},{"inputs":[],"type":"constructor"}]

60606040523460025560058054600160a060020a03191633179055426001556108ff8061002c6000396000f3606060405236156100ae5760e060020a600035046309f3295781146100bb578063146ca531146100ca5780633beea695146100d657806345941a38146100e85780634a1f0bf6146100f15780634f013184146101255780636831c16914610132578063719874da1461017857806381064e2d14610181578063ce43b0c0146101e9578063d3edcb5b1461021d578063d95a2d421461028c578063f42d1d30146103d5578063fc7b9c1814610400575b6104476104496000610293565b61044c60005463ffffffff1681565b61046560075460ff1681565b61047c600554600160a060020a031681565b61049960015481565b610447600435600554600160a060020a03908116339190911614156104495760058054600160a060020a0319168217905550565b6104476002805434019055565b6104996000805b60005463ffffffff168110156105d15760048054829081101561000257506000526000805160206108df83398151915281015490910190600101610139565b61049960025481565b6104ab60408051602081810183526000825282516004805480840283018401909552848252929390929183018282801561028157602002820191906000526020600020905b8160005054815260200190600101908083116101c6575b50505050509050610289565b61047c60043560038054829081101561000257506000526000805160206108bf8339815191520154600160a060020a031681565b6104ab60408051602081810183526000825282516003805480840283018401909552848252929390929183018282801561028157602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610262575b505050505090505b90565b6104996004355b600060003490504261a8c06001600050540110156104f557604051600160a060020a033316908390839082818181858883f1505060038054909350600019810192508210159050610002575080549083526002546040517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85a90920154600160a060020a03169184919082818181858883f150600554600160a060020a039081169450301631915082818181858883f15050815463ffffffff19168255504260015560028190556040519091508059106103695750595b818152602091820281018201604052600380548251808355600083905291936000805160206108bf8339815191529182019301821561053c579160200282015b8281111561053c5782518254600160a060020a03191617825560209290920191600191909101906103a9565b61049960043560048054829081101561000257506000526000805160206108df833981519152015481565b6104996000805463ffffffff165b6004548110156105d15760048054829081101561000257506000526000805160206108df8339815191528101549091019060010161040e565b005b50565b6040805163ffffffff9092168252519081900360200190f35b6040805160ff929092168252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b60408051918252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190602002808383829060006004602084601f0104600f02600301f1509050019250505060405180910390f35b670de0b6b3a764000081106106125742600190815560038054918201808255909190828183801582901161063a5781836000526020600020918201910161063a91906105dd565b506105629291505b808211156105d1578054600160a060020a0319168155600101610544565b505060006040518059106105735750595b818152602091820281018201604052600480548251808355600083905291936000805160206108df833981519152918201930182156105d5579160200282015b828111156105d55782518260005055916020019190600101906105b3565b5090565b506105f19291505b808211156105d157600081556001016105dd565b50506007805460ff19811660ff909116600101179055600091505b50919050565b604051600160a060020a03331690600090839082818181858883f15091945061060c92505050565b5050506000928352506020909120018054600160a060020a03191633179055600480546001810180835582818380158290116106895781836000526020600020918201910161068991906105dd565b505050600092835250602082206064606e8502819004919092015560405160058054600160a060020a03169392908502049082818181858883f193505050505069021e19e0c9bab240000060026000505410156106ef5760028054606460058402040190555b600160a060020a03831660009081526006602052604090205481901061073657604051600160a060020a03841690600090606460058502049082818181858883f150505050505b600160a060020a03338116600090815260066020526040812080546064606e860204019055546002546004805430909416319190910392909163ffffffff1690811015610002576000919091526000805160206108df8339815191520154116108b65760005460038054909163ffffffff16908110156100025760009182526000805160206108bf83398151915201909054906101000a9004600160a060020a0316600160a060020a031660006004600050600060009054906101000a900463ffffffff168154811015610002579082526000805160206108df833981519152018150546040516000818181858888f1505090546004805490935063ffffffff919091169150811015610002576000918252600380546000805160206108df83398151915283015493600693909291811015610002576000805160206108bf8339815191520154600160a060020a031682525060209190915260408120805492909203909155805463ffffffff811660010163ffffffff19919091161790555b6001915061060c56c2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b

Deployed Bytecode

0x606060405236156100ae5760e060020a600035046309f3295781146100bb578063146ca531146100ca5780633beea695146100d657806345941a38146100e85780634a1f0bf6146100f15780634f013184146101255780636831c16914610132578063719874da1461017857806381064e2d14610181578063ce43b0c0146101e9578063d3edcb5b1461021d578063d95a2d421461028c578063f42d1d30146103d5578063fc7b9c1814610400575b6104476104496000610293565b61044c60005463ffffffff1681565b61046560075460ff1681565b61047c600554600160a060020a031681565b61049960015481565b610447600435600554600160a060020a03908116339190911614156104495760058054600160a060020a0319168217905550565b6104476002805434019055565b6104996000805b60005463ffffffff168110156105d15760048054829081101561000257506000526000805160206108df83398151915281015490910190600101610139565b61049960025481565b6104ab60408051602081810183526000825282516004805480840283018401909552848252929390929183018282801561028157602002820191906000526020600020905b8160005054815260200190600101908083116101c6575b50505050509050610289565b61047c60043560038054829081101561000257506000526000805160206108bf8339815191520154600160a060020a031681565b6104ab60408051602081810183526000825282516003805480840283018401909552848252929390929183018282801561028157602002820191906000526020600020905b8154600160a060020a0316815260019190910190602001808311610262575b505050505090505b90565b6104996004355b600060003490504261a8c06001600050540110156104f557604051600160a060020a033316908390839082818181858883f1505060038054909350600019810192508210159050610002575080549083526002546040517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85a90920154600160a060020a03169184919082818181858883f150600554600160a060020a039081169450301631915082818181858883f15050815463ffffffff19168255504260015560028190556040519091508059106103695750595b818152602091820281018201604052600380548251808355600083905291936000805160206108bf8339815191529182019301821561053c579160200282015b8281111561053c5782518254600160a060020a03191617825560209290920191600191909101906103a9565b61049960043560048054829081101561000257506000526000805160206108df833981519152015481565b6104996000805463ffffffff165b6004548110156105d15760048054829081101561000257506000526000805160206108df8339815191528101549091019060010161040e565b005b50565b6040805163ffffffff9092168252519081900360200190f35b6040805160ff929092168252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b60408051918252519081900360200190f35b60405180806020018281038252838181518152602001915080519060200190602002808383829060006004602084601f0104600f02600301f1509050019250505060405180910390f35b670de0b6b3a764000081106106125742600190815560038054918201808255909190828183801582901161063a5781836000526020600020918201910161063a91906105dd565b506105629291505b808211156105d1578054600160a060020a0319168155600101610544565b505060006040518059106105735750595b818152602091820281018201604052600480548251808355600083905291936000805160206108df833981519152918201930182156105d5579160200282015b828111156105d55782518260005055916020019190600101906105b3565b5090565b506105f19291505b808211156105d157600081556001016105dd565b50506007805460ff19811660ff909116600101179055600091505b50919050565b604051600160a060020a03331690600090839082818181858883f15091945061060c92505050565b5050506000928352506020909120018054600160a060020a03191633179055600480546001810180835582818380158290116106895781836000526020600020918201910161068991906105dd565b505050600092835250602082206064606e8502819004919092015560405160058054600160a060020a03169392908502049082818181858883f193505050505069021e19e0c9bab240000060026000505410156106ef5760028054606460058402040190555b600160a060020a03831660009081526006602052604090205481901061073657604051600160a060020a03841690600090606460058502049082818181858883f150505050505b600160a060020a03338116600090815260066020526040812080546064606e860204019055546002546004805430909416319190910392909163ffffffff1690811015610002576000919091526000805160206108df8339815191520154116108b65760005460038054909163ffffffff16908110156100025760009182526000805160206108bf83398151915201909054906101000a9004600160a060020a0316600160a060020a031660006004600050600060009054906101000a900463ffffffff168154811015610002579082526000805160206108df833981519152018150546040516000818181858888f1505090546004805490935063ffffffff919091169150811015610002576000918252600380546000805160206108df83398151915283015493600693909291811015610002576000805160206108bf8339815191520154600160a060020a031682525060209190915260408120805492909203909155805463ffffffff811660010163ffffffff19919091161790555b6001915061060c56c2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.