Sponsored:   Color - Revolutionizing the Dapp Ecosystem, Bounty & Airdrop, Get 240,000 COL NOW!
Contract Overview
Balance: 0.336359961349208874 Ether
Ether Value: $92.32 (@ $274.47/ETH)
Transactions: 1111 txns
 Latest 25 txns from a total Of 1111 transactions
(+6 PendingTxns)

TxHash Age From To Value [TxFee]
0xd228d24e07d7aaed9c5cde494b9106f996826e4df1b173176ecfeffdd92f806e(pending)0x5b6b32f1ca239e04c068d8a9b05fd75ff2676687  IN  0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether(pending)
0x457537447f4f7b1c9ced5444c68a3a5892c06588551ccf84b929c56e334de85c(pending)0x5b6b32f1ca239e04c068d8a9b05fd75ff2676687  IN  0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether(pending)
0xe65c5b7eb745c92a9430ceb33f72d6b3b94de0842dffd6bab98b26c3dcdf8a99(pending)0x5b6b32f1ca239e04c068d8a9b05fd75ff2676687  IN  0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether(pending)
0x606a2e061d65b042d615dd32fd1c0fb17f033e81fd1019204750dc50060e6080(pending)0x5b6b32f1ca239e04c068d8a9b05fd75ff2676687  IN  0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether(pending)
0xdc3370f300c186177de6e22680157ce9de74e64695cc364533d55b8d79e6fb90(pending)0x5b6b32f1ca239e04c068d8a9b05fd75ff2676687  IN  0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether(pending)
0x612f19400d1c39c1c505b16490c0b4d7aa1807c651cf5132b5558545ea56532f(pending)0x5b6b32f1ca239e04c068d8a9b05fd75ff2676687  IN  0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether(pending)
0xb05b7ada4839d32178c4177c386e3f0a3158ae2c7eba5750d4d523e7409a2e1e21 hrs 9 mins ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0000687622
0xb014ae421b34fd3ec1c56bbe54a612705f863cd56bb48640a16c5eec659f30a72 days 2 hrs ago0x9b06ffcb22773a854c0467b2c05f1b5427133be8  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000227916
0xb77b62fa2bfabb2203cff7dd18a043a3c62a59ba8c9a81e77f061852daf879582 days 2 hrs ago0x9b06ffcb22773a854c0467b2c05f1b5427133be8  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000105788
0xc4c2e85a1acf177621c77490de4e1bb469e636a4f30f241780fe90a0c02eb79a3 days 5 hrs ago0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a72  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.001 Ether0.000621417
0xad492ee7ad0dcfb958f7117f3a2f9ac6af152ba85b884b9119c6562c6ab94d8a4 days 20 hrs ago0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a72  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.001 Ether0.001242834
0x0e5e36cb36328dcddf3f7d13c2d5283b3b68737a0e391d873d9250e3e61b3f375 days 15 hrs ago0x9b06ffcb22773a854c0467b2c05f1b5427133be8  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000341874
0x83609b428f52dc25643abcd49c7dc70e8ce86c9dcd646650040ea3daca8d9b705 days 20 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000158682
0xed4ec04b3a1d5ca65190fd0d3fcd21cd9f4e6c5effd25c822f546bda7eb394b06 days 5 hrs ago0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a72  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.001 Ether0.001242834
0xb2f2709ab78d15d85a90a7342b099fe09277d670afa87e153c284756a4583e4a7 days 3 hrs ago0x9b06ffcb22773a854c0467b2c05f1b5427133be8  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000455832
0x68c2ec35c05284ac067266286dcd74246550adc17fd6b558778dcf49ebc487867 days 3 hrs ago0x9b06ffcb22773a854c0467b2c05f1b5427133be8  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000211576
0xade06cde59a733ce8dadd82b0727f193372c0d824ba168bf0ec2d3713a3e6a6c7 days 10 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000211576
0xee871d945d878b8204512a11358eab5767d418dd3d5d848f56d0facea22b71b67 days 12 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00059689
0x9df0bb0975f54d56a12997e1e43f2c4fd1a13275c6ba50bfa7721a0b6f36cad77 days 12 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00026447
0xe0b2a18f6f5bfa150e8de22fdbc339dc99bbae29f48f4d37ef012f9b6b48d2217 days 18 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000158682
0xafcc21e21b30cde4973a24ff120cd3d69ce38d7c1cd9a656c85ad3850a97c2387 days 23 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0004165718
0xe910c2e296fe331b77937c04f00e43c30d74b8d034b6eefab264b2fea6b10b297 days 23 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.0001639714
0xf2c4108978515025c4c1be5cbe2a52c89aaa18a16526fc26de64128981897b4a8 days 9 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000455832
0xd0d295987ecd5c09c6e1f53b6e3b3dae5efb277e7001c9fee094a561a43e905f8 days 9 hrs ago0x73e998eb9e4b6e10dc899d5b453f67b4670118a1  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000211576
0x9f1c4e7e4a8f7fd3172a511c0b6bcda92f507c9f742f5f56b8cd9391a62b3d588 days 10 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  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
0xb05b7ada4839d32178c4177c386e3f0a3158ae2c7eba5750d4d523e7409a2e1e618344521 hrs 9 mins ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.336359961349208874 Ether
0xb014ae421b34fd3ec1c56bbe54a612705f863cd56bb48640a16c5eec659f30a761762652 days 2 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.460416180817798157 Ether
0xb014ae421b34fd3ec1c56bbe54a612705f863cd56bb48640a16c5eec659f30a761762652 days 2 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.460416180817798157 Ether
0xb77b62fa2bfabb2203cff7dd18a043a3c62a59ba8c9a81e77f061852daf8795861762582 days 2 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.920832361635596314 Ether
0xc4c2e85a1acf177621c77490de4e1bb469e636a4f30f241780fe90a0c02eb79a61695843 days 5 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.28707979541153143 Ether
0xc4c2e85a1acf177621c77490de4e1bb469e636a4f30f241780fe90a0c02eb79a61695843 days 5 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.287079795411531429 Ether
0xc4c2e85a1acf177621c77490de4e1bb469e636a4f30f241780fe90a0c02eb79a61695843 days 5 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.573159590823062859 Ether
0xad492ee7ad0dcfb958f7117f3a2f9ac6af152ba85b884b9119c6562c6ab94d8a61599414 days 20 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.182768502275915199 Ether
0xad492ee7ad0dcfb958f7117f3a2f9ac6af152ba85b884b9119c6562c6ab94d8a61599414 days 20 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.182768502275915199 Ether
0xad492ee7ad0dcfb958f7117f3a2f9ac6af152ba85b884b9119c6562c6ab94d8a61599414 days 20 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.364537004551830398 Ether
0x0e5e36cb36328dcddf3f7d13c2d5283b3b68737a0e391d873d9250e3e61b3f3761553025 days 15 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.220136115923531931 Ether
0x0e5e36cb36328dcddf3f7d13c2d5283b3b68737a0e391d873d9250e3e61b3f3761553025 days 15 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.22013611592353193 Ether
0x83609b428f52dc25643abcd49c7dc70e8ce86c9dcd646650040ea3daca8d9b7061541325 days 20 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.440272231847063861 Ether
0xed4ec04b3a1d5ca65190fd0d3fcd21cd9f4e6c5effd25c822f546bda7eb394b061517506 days 5 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.238609300980060898 Ether
0xed4ec04b3a1d5ca65190fd0d3fcd21cd9f4e6c5effd25c822f546bda7eb394b061517506 days 5 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.238609300980060898 Ether
0xed4ec04b3a1d5ca65190fd0d3fcd21cd9f4e6c5effd25c822f546bda7eb394b061517506 days 5 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.476218601960121796 Ether
0xb2f2709ab78d15d85a90a7342b099fe09277d670afa87e153c284756a4583e4a61463357 days 3 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.213099187235235593 Ether
0xb2f2709ab78d15d85a90a7342b099fe09277d670afa87e153c284756a4583e4a61463357 days 3 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.213099187235235592 Ether
0x68c2ec35c05284ac067266286dcd74246550adc17fd6b558778dcf49ebc4878661463017 days 3 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.317822865716683669 Ether
0xade06cde59a733ce8dadd82b0727f193372c0d824ba168bf0ec2d3713a3e6a6c61446697 days 10 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.108375508753787516 Ether
0xee871d945d878b8204512a11358eab5767d418dd3d5d848f56d0facea22b71b661442177 days 12 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.131446540918921148 Ether
0xee871d945d878b8204512a11358eab5767d418dd3d5d848f56d0facea22b71b661442177 days 12 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.131446540918921148 Ether
0x9df0bb0975f54d56a12997e1e43f2c4fd1a13275c6ba50bfa7721a0b6f36cad761442137 days 12 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.23062567400370412 Ether
0xe0b2a18f6f5bfa150e8de22fdbc339dc99bbae29f48f4d37ef012f9b6b48d22161426237 days 18 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.032267407834138176 Ether
0xafcc21e21b30cde4973a24ff120cd3d69ce38d7c1cd9a656c85ad3850a97c23861415157 days 23 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb9b7dc8f6b4b5a350d9f71cfa7bb659d3fb01a720.220666953654674194 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to EventStructWrongData (very low-severity), OneOfTwoConstructorsSkipped (very low-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: IronHands
Compiler Version: 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

-----Decoded View---------------
Found 2 constructor arguments :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [1] : 000000000000000000000000b3775fb83f7d12a36e0475abdd1fca35c091efbe


   Swarm Source:
bzzr://c1e88ec4a01aa5dc4c7eeca39f59b03f79872f8d2245ad87aaf0acb9599c6b85

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.