Latest 25 txns From a total of 1274 Transactions

TxHash Age From To Value [TxFee]
0x09a565a5bb1fb339d52adb81a09b041be31420516e35b2bc2a0cee05c7d7fb5b22 hrs 39 mins ago0x56f248c36642b58251d44e3328e735c01cba875d  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0003156
0x350c81cddf5df5545319034138ebf88cfbac4c7eaa7bc7716069ac0520cb4b1d1 day 3 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000537512
0x1d639b2747e1d0a1dddd864d72c65eba37dfbcebd02fc804095facaaa17e81301 day 3 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000211576
0x4551939dcd03bd6a83415a577c3a7add5813284314b6fe0c9311d63309f2f3f21 day 18 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000211576
0x798411b882cd0472f56a6d132086f0fca22ca9efde30d122f5929de1275b92202 days 6 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0011818422
0x66546d04fbe24c86d59c624d90a34890ebd6f4371242179229378303efcd09a82 days 6 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000476046
0x94d3a4396470a0048b187459306d2dcf38b29e55a10f9f28b12445d3a54f70783 days 3 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00026447
0x0df8b61fee14c8335eabb5e3097222054efe945869dd22ec2ffd12a7a6ecc5804 days 2 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00067189
0xe927e5937b522f1ab6891b41d5c7389be7f9658bc1ea68e06a75a8a5bbecc7bd4 days 2 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00026447
0x0dead5f9aa13a59137b1ef670e505f44b49ab3b576dad0009706ac82d537a3da5 days 17 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000238756
0x0b5df7dc8abcb511436c59ce4a4216ac8abb0220bc2379994917dd01a48073495 days 17 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000105788
0xc4f2a56a304e762be6075a36bf610da8bd83872b1dd9834c0613471ba1c268f26 days 4 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.001612536
0x3af84622a6b0a57d0fc89414c8408231631af78edc09d7db29ef8276858b69ff6 days 4 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0001163668
0x40d0928347a8acae111dc3d9ad171f0328826ee2bdd491654819643bf4a5c1256 days 20 hrs ago0x57904d98795bc0f9bc22dcea43a2093660fad3bc  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0119378
0x773f34d34933ef90c31b2a7d876d551a86929dfa1c37d6b2b72ef786adfb47d36 days 20 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000050778
0xcab6ec0e01d7cf369cf9c9420d764728502e0f688820177e4780cb43f0ed577b6 days 20 hrs ago0x57904d98795bc0f9bc22dcea43a2093660fad3bc  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00052894
0x6e31b2071af24abb68e09ff23cc6fa5ee74b2bff470506c8be0f82d2cc4967f07 days 11 hrs ago0x8693c7d2fb33caf09ec65811fb6c891dcb3ee915  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0001880307
0x3683f484aa826c9b087a4e548222c27c9d1c54fd79e5204974868b084f00cb227 days 17 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000105788
0x361df771813efd56c46a14b530d5a662724613048c4b2d90e1adbdae9bd9c2668 days 2 hrs ago0x703b16787180a94c2f9f2510f08edb59aa899568  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.0006421309
0xac83b6c82ecc6cdf8f74b2b6a73a884519274c45434c10cb52af447eb1f7d28b9 days 5 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000537512
0xcb8ab940d972a020a165d686bfe87ac521edd87977b4b1996e5a5c2525f061eb9 days 5 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000211576
0xa87de67b60a9b5fac598a37b05865ab1f6853d486995635020bdec9b3c16395c10 days 1 hr ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000399170187
0xebaf30df29afff98b52b8a6cc134f1a0822c8fbae94f1233310e5bdea9a16abd10 days 1 hr ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00026447
0x488303ba8cf7ba4336b34a889ab62f24dc3fd92f3ed6ee8757521893c6c3384f10 days 8 hrs ago0x8693c7d2fb33caf09ec65811fb6c891dcb3ee915  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000455832
0xb74d8b4f062136fcf0920abe6ac5b8de239abca0f22e314dbed5a8df6032665a10 days 8 hrs ago0x8693c7d2fb33caf09ec65811fb6c891dcb3ee915  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000211576
[ 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
0x350c81cddf5df5545319034138ebf88cfbac4c7eaa7bc7716069ac0520cb4b1d65510131 day 3 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.122697348893802684 Ether
0x350c81cddf5df5545319034138ebf88cfbac4c7eaa7bc7716069ac0520cb4b1d65510131 day 3 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.122697348893802683 Ether
0x1d639b2747e1d0a1dddd864d72c65eba37dfbcebd02fc804095facaaa17e813065510101 day 3 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.090182756034477997 Ether
0x4551939dcd03bd6a83415a577c3a7add5813284314b6fe0c9311d63309f2f3f265471971 day 18 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.15521194175312737 Ether
0x798411b882cd0472f56a6d132086f0fca22ca9efde30d122f5929de1275b922065440832 days 6 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.070361078720497568 Ether
0x798411b882cd0472f56a6d132086f0fca22ca9efde30d122f5929de1275b922065440832 days 6 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.070361078720497567 Ether
0x66546d04fbe24c86d59c624d90a34890ebd6f4371242179229378303efcd09a865440792 days 6 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.062490169091260234 Ether
0x94d3a4396470a0048b187459306d2dcf38b29e55a10f9f28b12445d3a54f707865387693 days 3 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.078231988349734901 Ether
0x0df8b61fee14c8335eabb5e3097222054efe945869dd22ec2ffd12a7a6ecc58065329384 days 2 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.049942737836487109 Ether
0x0df8b61fee14c8335eabb5e3097222054efe945869dd22ec2ffd12a7a6ecc58065329384 days 2 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.049942737836487108 Ether
0xe927e5937b522f1ab6891b41d5c7389be7f9658bc1ea68e06a75a8a5bbecc7bd65329364 days 2 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.099885475672974217 Ether
0x0dead5f9aa13a59137b1ef670e505f44b49ab3b576dad0009706ac82d537a3da65228975 days 17 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.06424968613857714 Ether
0x0dead5f9aa13a59137b1ef670e505f44b49ab3b576dad0009706ac82d537a3da65228975 days 17 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.06424968613857714 Ether
0x0b5df7dc8abcb511436c59ce4a4216ac8abb0220bc2379994917dd01a480734965228925 days 17 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.12849937227715428 Ether
0xc4f2a56a304e762be6075a36bf610da8bd83872b1dd9834c0613471ba1c268f265202056 days 4 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.079682060253930886 Ether
0xc4f2a56a304e762be6075a36bf610da8bd83872b1dd9834c0613471ba1c268f265202056 days 4 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.079682060253930885 Ether
0x3af84622a6b0a57d0fc89414c8408231631af78edc09d7db29ef8276858b69ff65200236 days 4 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.159364120507861771 Ether
0x40d0928347a8acae111dc3d9ad171f0328826ee2bdd491654819643bf4a5c12565160156 days 20 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.430323016368791509 Ether
0x40d0928347a8acae111dc3d9ad171f0328826ee2bdd491654819643bf4a5c12565160156 days 20 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.430323016368791508 Ether
0xcab6ec0e01d7cf369cf9c9420d764728502e0f688820177e4780cb43f0ed577b65160136 days 20 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.860646032737583017 Ether
0x6e31b2071af24abb68e09ff23cc6fa5ee74b2bff470506c8be0f82d2cc4967f065122737 days 11 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.039563481240163666 Ether
0x6e31b2071af24abb68e09ff23cc6fa5ee74b2bff470506c8be0f82d2cc4967f065122737 days 11 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.039563481240163666 Ether
0x3683f484aa826c9b087a4e548222c27c9d1c54fd79e5204974868b084f00cb2265106307 days 17 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.079126962480327332 Ether
0x361df771813efd56c46a14b530d5a662724613048c4b2d90e1adbdae9bd9c26665084428 days 2 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x703b16787180a94c2f9f2510f08edb59aa8995680.820945334271703881 Ether
0x361df771813efd56c46a14b530d5a662724613048c4b2d90e1adbdae9bd9c26665084428 days 2 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.820945334271703881 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), OneOfTwoConstructorsSkipped (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: IronHands
Compiler Text: v0.4.22+commit.4cb486ee
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.21;

/**
 * 
 * 
 *   __________                                                          
 *   \______   \ ____   ____   _____   ________________    ____    ____  
 *    |    |  _//  _ \ /  _ \ /     \_/ __ \_  __ \__  \  /    \  / ___\ 
 *    |    |   (  <_> |  <_> )  Y Y  \  ___/|  | \// __ \|   |  \/ /_/  >
 *    |______  /\____/ \____/|__|_|  /\___  >__|  (____  /___|  /\___  / 
 *           \/                    \/     \/           \/     \//_____/  
 *          .____    .__             .__    .___.__  __                  
 *          |    |   |__| ________ __|__| __| _/|__|/  |_ ___.__.        
 *          |    |   |  |/ ____/  |  \  |/ __ | |  \   __<   |  |        
 *          |    |___|  < <_|  |  |  /  / /_/ | |  ||  |  \___  |        
 *          |_______ \__|\__   |____/|__\____ | |__||__|  / ____|        
 *                  \/      |__|             \/           \/             
 *    _____          __               .__    ___________                .___
 *   /     \  __ ___/  |_ __ _______  |  |   \_   _____/_ __  ____    __| _/
 *  /  \ /  \|  |  \   __\  |  \__  \ |  |    |    __)|  |  \/    \  / __ | 
 * /    Y    \  |  /|  | |  |  // __ \|  |__  |     \ |  |  /   |  \/ /_/ | 
 * \____|__  /____/ |__| |____/(____  /____/  \___  / |____/|___|  /\____ | 
 *         \/                       \/            \/             \/      \/ 
 *     ___________            __               .__                          
 *     \_   _____/___ _____ _/  |_ __ _________|__| ____    ____            
 *      |    __)/ __ \\__  \\   __\  |  \_  __ \  |/    \  / ___\           
 *      |     \\  ___/ / __ \|  | |  |  /|  | \/  |   |  \/ /_/  >          
 *      \___  / \___  >____  /__| |____/ |__|  |__|___|  /\___  /           
 *          \/      \/     \/                          \//_____/           
 *                   _          _           _            _                      
 *                  /\ \       /\ \        /\ \         /\ \     _              
 *                  \ \ \     /  \ \      /  \ \       /  \ \   /\_\            
 *                  /\ \_\   / /\ \ \    / /\ \ \     / /\ \ \_/ / /            
 *                 / /\/_/  / / /\ \_\  / / /\ \ \   / / /\ \___/ /             
 *                / / /    / / /_/ / / / / /  \ \_\ / / /  \/____/              
 *               / / /    / / /__\/ / / / /   / / // / /    / / /               
 *              / / /    / / /_____/ / / /   / / // / /    / / /                
 *          ___/ / /__  / / /\ \ \  / / /___/ / // / /    / / /                 
 *         /\__\/_/___\/ / /  \ \ \/ / /____\/ // / /    / / /                  
 *         \/_________/\/_/    \_\/\/_________/ \/_/     \/_/                   
 *          _       _    _                   _             _            _        
 *         / /\    / /\ / /\                /\ \     _    /\ \         / /\      
 *        / / /   / / // /  \              /  \ \   /\_\ /  \ \____   / /  \     
 *       / /_/   / / // / /\ \            / /\ \ \_/ / // /\ \_____\ / / /\ \__  
 *      / /\ \__/ / // / /\ \ \          / / /\ \___/ // / /\/___  // / /\ \___\ 
 *     / /\ \___\/ // / /  \ \ \        / / /  \/____// / /   / / / \ \ \ \/___/ 
 *    / / /\/___/ // / /___/ /\ \      / / /    / / // / /   / / /   \ \ \       
 *   / / /   / / // / /_____/ /\ \    / / /    / / // / /   / / /_    \ \ \      
 *  / / /   / / // /_________/\ \ \  / / /    / / / \ \ \__/ / //_/\__/ / /      
 * / / /   / / // / /_       __\ \_\/ / /    / / /   \ \___\/ / \ \/___/ /       
 * \/_/    \/_/ \_\___\     /____/_/\/_/     \/_/     \/_____/   \_____\/        
 *                                                                                        
 *                          .___ __________________ ________                
 *       _____    ____    __| _/ \______   \_____  \\______ \               
 *       \__  \  /    \  / __ |   |     ___/ _(__  < |    |  \              
 *        / __ \|   |  \/ /_/ |   |    |    /       \|    `   \             
 *       (____  /___|  /\____ |   |____|   /______  /_______  /             
 *            \/     \/      \/                   \/        \/                    
 *
 * ATTENTION!
 * 
 * This code? IS NOT DESIGNED FOR ACTUAL USE.
 * 
 * The author of this code really wishes you wouldn't send your ETH to it.
 * 
 * No, seriously. It's probablly illegal anyway. So don't do it.
 * 
 * Let me repeat that: Don't actually send money to this contract. You are 
 * likely breaking several local and national laws in doing so.
 * 
 * This code is intended to educate. Nothing else. If you use it, expect S.W.A.T 
 * teams at your door. I wrote this code because I wanted to experiment
 * with smart contracts, and I think code should be open source. So consider
 * it public domain, No Rights Reserved. Participating in pyramid schemes
 * is genuinely illegal so just don't even think about going beyond
 * reading the code and understanding how it works.
 * 
 * Seriously. I'm not kidding. It's probablly broken in some critical way anyway
 * and will suck all your money out your wallet, install a virus on your computer
 * sleep with your wife, kidnap your children and sell them into slavery,
 * make you forget to file your taxes, and give you cancer.
 * 
 * So.... tl;dr: This contract sucks, don't send money to it.
 * 
 * What it does:
 * 
 * It takes 50% of the ETH in it and buys tokens.
 * It takes 50% of the ETH in it and pays back depositors.
 * Depositors get in line and are paid out in order of deposit, plus the deposit
 * percent.
 * The tokens collect dividends, which in turn pay into the payout pool
 * to be split 50/50.
 * 
 * If your seeing this contract in it's initial configuration, it should be
 * set to 200% (double deposits), and pointed at PoWH:
 * 0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe
 * 
 * But you should verify this for yourself.
 *  
 *  
 */

contract ERC20Interface {
    function transfer(address to, uint256 tokens) public returns (bool success);
}

contract POWH {
    
    function buy(address) public payable returns(uint256);
    function withdraw() public;
    function myTokens() public view returns(uint256);
    function myDividends(bool) public view returns(uint256);
}

contract Owned {
    address public owner;
    address public ownerCandidate;

    function Owned() 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 IronHands is Owned {
    
    /**
     * Modifiers
     */
     
    /**
     * Only owners are allowed.
     */
    modifier onlyOwner(){
        require(msg.sender == owner);
        _;
    }
    
    /**
     * The tokens can never be stolen.
     */
    modifier notPowh(address aContract){
        require(aContract != address(weak_hands));
        _;
    }
   
    /**
     * Events
     */
    event Deposit(uint256 amount, address depositer);
    event Purchase(uint256 amountSpent, uint256 tokensReceived);
    event Payout(uint256 amount, address creditor);
    event Dividends(uint256 amount);
    event Donation(uint256 amount, address donator);
    event ContinuityBreak(uint256 position, address skipped, uint256 amount);
    event ContinuityAppeal(uint256 oldPosition, uint256 newPosition, address appealer);

    /**
     * Structs
     */
    struct Participant {
        address etherAddress;
        uint256 payout;
    }

    //Total ETH managed over the lifetime of the contract
    uint256 throughput;
    //Total ETH received from dividends
    uint256 dividends;
    //The percent to return to depositers. 100 for 00%, 200 to double, etc.
    uint256 public multiplier;
    //Where in the line we are with creditors
    uint256 public payoutOrder = 0;
    //How much is owed to people
    uint256 public backlog = 0;
    //The creditor line
    Participant[] public participants;
    //How much each person is owed
    mapping(address => uint256) public creditRemaining;
    //What we will be buying
    POWH weak_hands;

    /**
     * Constructor
     */
    function IronHands(uint multiplierPercent, address powh) public {
        multiplier = multiplierPercent;
        weak_hands = POWH(powh);
    }
    
    
    /**
     * Fallback function allows anyone to send money for the cost of gas which
     * goes into the pool. Used by withdraw/dividend payouts so it has to be cheap.
     */
    function() payable public {
    }
    
    /**
     * Deposit ETH to get in line to be credited back the multiplier as a percent,
     * add that ETH to the pool, get the dividends and put them in the pool,
     * then pay out who we owe and buy more tokens.
     */ 
    function deposit() payable public {
        //You have to send more than 1000000 wei.
        require(msg.value > 1000000);
        //Compute how much to pay them
        uint256 amountCredited = (msg.value * multiplier) / 100;
        //Get in line to be paid back.
        participants.push(Participant(msg.sender, amountCredited));
        //Increase the backlog by the amount owed
        backlog += amountCredited;
        //Increase the amount owed to this address
        creditRemaining[msg.sender] += amountCredited;
        //Emit a deposit event.
        emit Deposit(msg.value, msg.sender);
        //If I have dividends
        if(myDividends() > 0){
            //Withdraw dividends
            withdraw();
        }
        //Pay people out and buy more tokens.
        payout();
    }
    
    /**
     * Take 50% of the money and spend it on tokens, which will pay dividends later.
     * Take the other 50%, and use it to pay off depositors.
     */
    function payout() public {
        //Take everything in the pool
        uint balance = address(this).balance;
        //It needs to be something worth splitting up
        require(balance > 1);
        //Increase our total throughput
        throughput += balance;
        //Split it into two parts
        uint investment = balance / 2;
        //Take away the amount we are investing from the amount to send
        balance -= investment;
        //Invest it in more tokens.
        uint256 tokens = weak_hands.buy.value(investment).gas(1000000)(msg.sender);
        //Record that tokens were purchased
        emit Purchase(investment, tokens);
        //While we still have money to send
        while (balance > 0) {
            //Either pay them what they are owed or however much we have, whichever is lower.
            uint payoutToSend = balance < participants[payoutOrder].payout ? balance : participants[payoutOrder].payout;
            //if we have something to pay them
            if(payoutToSend > 0){
                //subtract how much we've spent
                balance -= payoutToSend;
                //subtract the amount paid from the amount owed
                backlog -= payoutToSend;
                //subtract the amount remaining they are owed
                creditRemaining[participants[payoutOrder].etherAddress] -= payoutToSend;
                //credit their account the amount they are being paid
                participants[payoutOrder].payout -= payoutToSend;
                //Try and pay them, making best effort. But if we fail? Run out of gas? That's not our problem any more.
                if(participants[payoutOrder].etherAddress.call.value(payoutToSend).gas(1000000)()){
                    //Record that they were paid
                    emit Payout(payoutToSend, participants[payoutOrder].etherAddress);
                }else{
                    //undo the accounting, they are being skipped because they are not payable.
                    balance += payoutToSend;
                    backlog += payoutToSend;
                    creditRemaining[participants[payoutOrder].etherAddress] += payoutToSend;
                    participants[payoutOrder].payout += payoutToSend;
                }

            }
            //If we still have balance left over
            if(balance > 0){
                // go to the next person in line
                payoutOrder += 1;
            }
            //If we've run out of people to pay, stop
            if(payoutOrder >= participants.length){
                return;
            }
        }
    }
    
    /**
     * Number of tokens the contract owns.
     */
    function myTokens() public view returns(uint256){
        return weak_hands.myTokens();
    }
    
    /**
     * Number of dividends owed to the contract.
     */
    function myDividends() public view returns(uint256){
        return weak_hands.myDividends(true);
    }
    
    /**
     * Number of dividends received by the contract.
     */
    function totalDividends() public view returns(uint256){
        return dividends;
    }
    
    
    /**
     * Request dividends be paid out and added to the pool.
     */
    function withdraw() public {
        uint256 balance = address(this).balance;
        weak_hands.withdraw.gas(1000000)();
        uint256 dividendsPaid = address(this).balance - balance;
        dividends += dividendsPaid;
        emit Dividends(dividendsPaid);
    }
    
    /**
     * A charitible contribution will be added to the pool.
     */
    function donate() payable public {
        emit Donation(msg.value, msg.sender);
    }
    
    /**
     * Number of participants who are still owed.
     */
    function backlogLength() public view returns (uint256){
        return participants.length - payoutOrder;
    }
    
    /**
     * Total amount still owed in credit to depositors.
     */
    function backlogAmount() public view returns (uint256){
        return backlog;
    } 
    
    /**
     * Total number of deposits in the lifetime of the contract.
     */
    function totalParticipants() public view returns (uint256){
        return participants.length;
    }
    
    /**
     * Total amount of ETH that the contract has delt with so far.
     */
    function totalSpent() public view returns (uint256){
        return throughput;
    }
    
    /**
     * Amount still owed to an individual address
     */
    function amountOwed(address anAddress) public view returns (uint256) {
        return creditRemaining[anAddress];
    }
     
     /**
      * Amount owed to this person.
      */
    function amountIAmOwed() public view returns (uint256){
        return amountOwed(msg.sender);
    }
    
    /**
     * A trap door for when someone sends tokens other than the intended ones so the overseers can decide where to send them.
     */
    function transferAnyERC20Token(address tokenAddress, address tokenOwner, uint tokens) public onlyOwner notPowh(tokenAddress) returns (bool success) {
        return ERC20Interface(tokenAddress).transfer(tokenOwner, tokens);
    }
    
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"amountIAmOwed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"multiplier","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"myDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"participants","outputs":[{"name":"etherAddress","type":"address"},{"name":"payout","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"backlog","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"backlogAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ownerCandidate","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"payout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"payoutOrder","outputs":[{"name":"","type":"uint256"}],"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":"myTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDividends","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"backlogLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalParticipants","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"tokenOwner","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"anAddress","type":"address"}],"name":"amountOwed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"donate","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"totalSpent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"creditRemaining","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"multiplierPercent","type":"uint256"},{"name":"powh","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"depositer","type":"address"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amountSpent","type":"uint256"},{"indexed":false,"name":"tokensReceived","type":"uint256"}],"name":"Purchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"creditor","type":"address"}],"name":"Payout","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"Dividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"donator","type":"address"}],"name":"Donation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"position","type":"uint256"},{"indexed":false,"name":"skipped","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"ContinuityBreak","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"oldPosition","type":"uint256"},{"indexed":false,"name":"newPosition","type":"uint256"},{"indexed":false,"name":"appealer","type":"address"}],"name":"ContinuityAppeal","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60806040526000600555600060065534801561001a57600080fd5b506040516040806115688339810180604052810190808051906020019092919080519060200190929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160048190555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050611488806100e06000396000f300608060405260043610610133576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a44b9cf146101355780631b3ed722146101605780633151ecfc1461018b57806335c1d349146101b657806339af05131461022a5780633ccfd60b146102555780633febb0701461026c5780635f504a821461029757806363bd1d4a146102ee5780636cff6f9d1461030557806379ba5097146103305780638da5cb5b14610347578063949e8acd1461039e578063997664d7146103c9578063a0ca0a57146103f4578063a26dbf261461041f578063a6f9dae11461044a578063d0e30db01461048d578063d493b9ac14610497578063e5cf22971461051c578063ed88c68e14610573578063fb346eab1461057d578063ff5d18ca146105a8575b005b34801561014157600080fd5b5061014a6105ff565b6040518082815260200191505060405180910390f35b34801561016c57600080fd5b5061017561060f565b6040518082815260200191505060405180910390f35b34801561019757600080fd5b506101a0610615565b6040518082815260200191505060405180910390f35b3480156101c257600080fd5b506101e1600480360381019080803590602001909291905050506106ed565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390f35b34801561023657600080fd5b5061023f610740565b6040518082815260200191505060405180910390f35b34801561026157600080fd5b5061026a610746565b005b34801561027857600080fd5b5061028161086d565b6040518082815260200191505060405180910390f35b3480156102a357600080fd5b506102ac610877565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102fa57600080fd5b5061030361089d565b005b34801561031157600080fd5b5061031a610da9565b6040518082815260200191505060405180910390f35b34801561033c57600080fd5b50610345610daf565b005b34801561035357600080fd5b5061035c610e6f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103aa57600080fd5b506103b3610e94565b6040518082815260200191505060405180910390f35b3480156103d557600080fd5b506103de610f5c565b6040518082815260200191505060405180910390f35b34801561040057600080fd5b50610409610f66565b6040518082815260200191505060405180910390f35b34801561042b57600080fd5b50610434610f77565b6040518082815260200191505060405180910390f35b34801561045657600080fd5b5061048b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f84565b005b610495611023565b005b3480156104a357600080fd5b50610502600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111e1565b604051808215151515815260200191505060405180910390f35b34801561052857600080fd5b5061055d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611384565b6040518082815260200191505060405180910390f35b61057b6113cd565b005b34801561058957600080fd5b5061059261143a565b6040518082815260200191505060405180910390f35b3480156105b457600080fd5b506105e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611444565b6040518082815260200191505060405180910390f35b600061060a33611384565b905090565b60045481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663688abbf760016040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082151515158152602001915050602060405180830381600087803b1580156106ad57600080fd5b505af11580156106c1573d6000803e3d6000fd5b505050506040513d60208110156106d757600080fd5b8101908080519060200190929190505050905090565b6007818154811015156106fc57fe5b90600052602060002090600202016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b60065481565b6000803073ffffffffffffffffffffffffffffffffffffffff16319150600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633ccfd60b620f42406040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600088803b1580156107ed57600080fd5b5087f1158015610801573d6000803e3d6000fd5b5050505050813073ffffffffffffffffffffffffffffffffffffffff1631039050806003600082825401925050819055507fd7cefab74b4b11d01e168f9d1e2a28e7bf8263c3acf9b9fdb802fa666a49455b816040518082815260200191505060405180910390a15050565b6000600654905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000803073ffffffffffffffffffffffffffffffffffffffff163193506001841115156108cc57600080fd5b836002600082825401925050819055506002848115156108e857fe5b0492508284039350600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f088d54784620f424090336040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019150506020604051808303818589803b1580156109b257600080fd5b5088f11580156109c6573d6000803e3d6000fd5b5050505050506040513d60208110156109de57600080fd5b810190808051906020019092919050505091507f350df6fcc944b226b77efc36902e19b43c566d75173622086e809d46dfbc22208383604051808381526020018281526020019250505060405180910390a15b6000841115610da2576007600554815481101515610a4b57fe5b9060005260206000209060020201600101548410610a8b576007600554815481101515610a7457fe5b906000526020600020906002020160010154610a8d565b835b90506000811115610d6d5780840393508060066000828254039250508190555080600860006007600554815481101515610ac357fe5b906000526020600020906002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550806007600554815481101515610b4e57fe5b9060005260206000209060020201600101600082825403925050819055506007600554815481101515610b7d57fe5b906000526020600020906002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681620f424090604051600060405180830381858888f1935050505015610c97577f9b5d1a613fa5f0790b36b13103706e31fca06b229d87e9915b29fc20c1d76490816007600554815481101515610c1857fe5b906000526020600020906002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610d6c565b80840193508060066000828254019250508190555080600860006007600554815481101515610cc257fe5b906000526020600020906002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550806007600554815481101515610d4d57fe5b9060005260206000209060020201600101600082825401925050819055505b5b6000841115610d885760016005600082825401925050819055505b600780549050600554101515610d9d57610da3565b610a31565b5b50505050565b60055481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e0b57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663949e8acd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610f1c57600080fd5b505af1158015610f30573d6000803e3d6000fd5b505050506040513d6020811015610f4657600080fd5b8101908080519060200190929190505050905090565b6000600354905090565b600060055460078054905003905090565b6000600780549050905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610fdf57600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000620f42403411151561103657600080fd5b6064600454340281151561104657fe5b049050600760408051908101604052803373ffffffffffffffffffffffffffffffffffffffff168152602001838152509080600181540180825580915050906001820390600052602060002090600202016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050508060066000828254019250508190555080600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507f4bcc17093cdf51079c755de089be5a85e70fa374ec656c194480fbdcda224a533433604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a160006111c7610615565b11156111d6576111d5610746565b5b6111de61089d565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561123e57600080fd5b83600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561129c57600080fd5b8473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561133f57600080fd5b505af1158015611353573d6000803e3d6000fd5b505050506040513d602081101561136957600080fd5b81019080805190602001909291905050509150509392505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f82add2011d2b1a1fad8fc5ffd954181c064e8f5198c9fcd5caa9749911ed18b93433604051808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1565b6000600254905090565b600860205280600052604060002060009150905054815600a165627a7a72305820c1e88ec4a01aa5dc4c7eeca39f59b03f79872f8d2245ad87aaf0acb9599c6b85002900000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000b3775fb83f7d12a36e0475abdd1fca35c091efbe

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000b3775fb83f7d12a36e0475abdd1fca35c091efbe

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [1] : 000000000000000000000000b3775fb83f7d12a36e0475abdd1fca35c091efbe


   Swarm Source:
bzzr://c1e88ec4a01aa5dc4c7eeca39f59b03f79872f8d2245ad87aaf0acb9599c6b85

 

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.