Latest 25 transactions from a total of 1402 transactions

TxHash Age From To Value [TxFee]
0xc2376a5ebbc4a849b3f218c29191dd3b9ed3caa5cd609d71da42d4428027d5393 hrs 57 mins ago0xe9fda71d86788813b4abf9782267bf4ca68fd4e6  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.001062795
0xe6834fa069952119a74e38519f7a75286528d4bffd82a251a778fa5a9d41df261 day 8 hrs ago0xe9fda71d86788813b4abf9782267bf4ca68fd4e6  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.001365354
0x31c35e58c754c20064b60de642d114a522526f60c619819fb9e390d8e250dfc92 days 22 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00018026078
0x97366fe07126aa5a90962160c86f6b0be71ee396603a2c684892d32813a1bd762 days 22 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00007986994
0x649991e0678deefbd7e3caad7080d6e8ca4bdef1f1292c858d6f770145b327024 days 14 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00020413638
0x225cbb8dad1ca205e61aab44bec104868b0e942184f4408dca874ed531b32ff74 days 14 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00009044874
0xd4502390f1840567aa638385212ffe8c47c7c30854ebd5eef58ef584e222ee696 days 12 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00062195938
0x5fd7d4eeea57be72d06ec596e7d04c10d137b00b67dbd80a5809c58b7308c6476 days 12 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00027557774
0xf446e450a5e4e00107fd72267113cc037828dd033a62f4435dda8e35df5b57e17 days 17 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00018026078
0x29697144e421aa6a80149771ccc9dbd41e908d545d573728740c637f2c97d7807 days 17 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000158682
0xb7d5af7b4df355684faa0aff5491431a3c9864421aedf78644d6394192ffb5a08 days 20 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00016832298
0xf2cca63fad20bf310be00e2ccaac9107769729c4403996351dcb2b22d74cc6ce8 days 20 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.00006929114
0x30c3cda4ec5350b273d7392a91938a14f47f1638fc24cc6589ea8af33f4ec09111 days 18 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000238756
0xfaf859fc70effcb6172e44235c16e3d4e7c4bd1e13fa053277f3844ab7d34ebf11 days 18 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000105788
0xdbdb2f90f641c0c15f8498c99be74984b592b0824110afe770e60512190c2efd12 days 23 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000238756
0x48dcf0d4b60fa7797359cb1dbaa99201119e7da4191b5a5fe08df7ac1d66804712 days 23 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000105788
0xa3a91edb8f08df668bb8ea7b4ae5adc046deebd000c85dcc6af4fbf68ac5db8a13 days 2 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000158682
0xa2068aa10d85962b5da8fd1af2230ed7e3a461967e1fcb22f148638df448e4a014 days 3 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000268756
0xb921265f444ad39fddbf2f3b44a238f112c7d6476d4c4efef36409974f1a643114 days 3 hrs ago0x2ca2aafc0406cf3beab5cddad5c210db41c9da59  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000105788
0x8795294591b1ea3c70712d9e997b046936dd8469885dd5cb7e07e45e51a8aa8f14 days 21 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.00028270347
0xc27d98760201c29f2d993ecac69a54ef9cbdff58e126155e0f026b47e85de72315 days 20 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.0003613503
0x1ba25d34fc54231273303c34e6a74536eb148dfdf406d1252d0f4fbdbc5eadbe16 days 21 hrs ago0xe9fda71d86788813b4abf9782267bf4ca68fd4e6  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.000425118
0x3b540d19bf551c4c7981dca54d2ea2f282cca7122672da1d6e0850e7b38e873e17 days 12 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.0003613503
0xb2fb6f909cd9054cfe8d312b6be57ac74bcc204165cae86d8d9caed881127a8317 days 17 hrs ago0x6ab12222e1207bb8bd69ca3b91f30e19274d39ba  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0001 Ether0.00032096409
0xf180cdc9a52e4ab77283398ec8ceba8acd237a0dafdffc748c670bd93d1289fd19 days 21 hrs ago0xeb0ec7a28e4b6b175806e21d9d3afe45792c5c7b  IN   0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0 Ether0.000238756
[ 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
0xc2376a5ebbc4a849b3f218c29191dd3b9ed3caa5cd609d71da42d4428027d53971088573 hrs 57 mins ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.066383902890779681 Ether
0xc2376a5ebbc4a849b3f218c29191dd3b9ed3caa5cd609d71da42d4428027d53971088573 hrs 57 mins ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.066383902890779681 Ether
0xc2376a5ebbc4a849b3f218c29191dd3b9ed3caa5cd609d71da42d4428027d53971088573 hrs 57 mins ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.132667805781559362 Ether
0xe6834fa069952119a74e38519f7a75286528d4bffd82a251a778fa5a9d41df2671028061 day 8 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.033604450812629919 Ether
0xe6834fa069952119a74e38519f7a75286528d4bffd82a251a778fa5a9d41df2671028061 day 8 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.033604450812629918 Ether
0xe6834fa069952119a74e38519f7a75286528d4bffd82a251a778fa5a9d41df2671028061 day 8 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.067108901625259837 Ether
0x31c35e58c754c20064b60de642d114a522526f60c619819fb9e390d8e250dfc970941502 days 22 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.04897691412903275 Ether
0x31c35e58c754c20064b60de642d114a522526f60c619819fb9e390d8e250dfc970941502 days 22 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.04897691412903275 Ether
0x97366fe07126aa5a90962160c86f6b0be71ee396603a2c684892d32813a1bd7670941482 days 22 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.0979538282580655 Ether
0x649991e0678deefbd7e3caad7080d6e8ca4bdef1f1292c858d6f770145b3270270846374 days 14 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.194295329543793815 Ether
0x649991e0678deefbd7e3caad7080d6e8ca4bdef1f1292c858d6f770145b3270270846374 days 14 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.194295329543793815 Ether
0x225cbb8dad1ca205e61aab44bec104868b0e942184f4408dca874ed531b32ff770846234 days 14 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.38859065908758763 Ether
0xd4502390f1840567aa638385212ffe8c47c7c30854ebd5eef58ef584e222ee6970741056 days 12 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.357469337461415864 Ether
0xd4502390f1840567aa638385212ffe8c47c7c30854ebd5eef58ef584e222ee6970741056 days 12 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.357469337461415864 Ether
0x5fd7d4eeea57be72d06ec596e7d04c10d137b00b67dbd80a5809c58b7308c64770741026 days 12 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.714938674922831728 Ether
0xf446e450a5e4e00107fd72267113cc037828dd033a62f4435dda8e35df5b57e170673787 days 17 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.038799196338990538 Ether
0xf446e450a5e4e00107fd72267113cc037828dd033a62f4435dda8e35df5b57e170673787 days 17 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.038799196338990538 Ether
0x29697144e421aa6a80149771ccc9dbd41e908d545d573728740c637f2c97d78070673027 days 17 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.077598392677981076 Ether
0xb7d5af7b4df355684faa0aff5491431a3c9864421aedf78644d6394192ffb5a070609458 days 20 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.078330594758798446 Ether
0xb7d5af7b4df355684faa0aff5491431a3c9864421aedf78644d6394192ffb5a070609458 days 20 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.078330594758798445 Ether
0xf2cca63fad20bf310be00e2ccaac9107769729c4403996351dcb2b22d74cc6ce70609368 days 20 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.156661189517596891 Ether
0x30c3cda4ec5350b273d7392a91938a14f47f1638fc24cc6589ea8af33f4ec091704470711 days 18 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.032294433542344105 Ether
0x30c3cda4ec5350b273d7392a91938a14f47f1638fc24cc6589ea8af33f4ec091704470711 days 18 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.032294433542344104 Ether
0xfaf859fc70effcb6172e44235c16e3d4e7c4bd1e13fa053277f3844ab7d34ebf704469311 days 18 hrs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0.064588867084688209 Ether
0xdbdb2f90f641c0c15f8498c99be74984b592b0824110afe770e60512190c2efd703789312 days 23 hrs ago0xe58b65d1c0c8e8b2a0e3a3acec633271531084ed0x64820e623f92a51a7c2efe184e1f529ecdd0eaee0.046463592754180051 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.