Sponsored Link:   trade.io - The Future of Crypto Trading - A Better, Faster, Smarter Crypto Exchange - Pre-Register Now!
Contract Overview
Balance: 0.181213679880763016 Ether
Ether Value: $83.47 (@ $460.60/ETH)
Transactions: 20735 txns
Misc
Address Watch: Add To Watch List
Contract Creator: 0xf39e044e1ab204460e06e87c6dca2c6319fc69e3at txn 0x6689737f4c274a8174fca2028a5df35ceaa7340e58b2e6e81ebd7a54b0402414
Token Balances:
 Latest 25 txns from a total Of 20735 transactions
(+5 PendingTxns)

TxHash Age From To Value [TxFee]
0xfce792937982857889d8c91855ba46129006e4bc772d3c705e7cf0b9d1169d07(pending)0xc235f0f4a84503a4fdbc64ff493e7c9c0c7a893a  IN  0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether(pending)
0x9bf4c2659ab454d02c17070c1b9070bdc2ceb974d7ce1b897d7ce4e96effd830(pending)0xfa8317b9f24f95c7f127e1616cfb69ccb1687a86  IN  0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether(pending)
0x13a5b44b9255b2ca3aca59adc1bc65613514d2e20bf5d7a8b9164ae931adfb9e(pending)0x52e9c5021b0200dab548664a7dbccccf36bf9ce8  IN  0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether(pending)
0xa6dfca8ad82927b7d10c510ad852a3fd889a0f98cb108dcf39d5fa47da9dbb10(pending)0x3bd2033271d136495aff74303e06b714397cae38  IN  0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether(pending)
0x20a4fbecc6b10d5cb7d993490cc58575732e4ae14c4f8d07b58fe82fcb10bb99(pending)0x57e13a8e4ca62ccf158e8a4df8a0e2ab254cc68d  IN  0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether(pending)
0xcf52f108e48c536f81973b9f67096f4a9ac31fda328e3ac5d604ab85fad2bd14 25 secs ago0xd0a798cc47a2dd1df0c3c9f8c7dc9842e1c42ddb  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x14d912c5177aac3fcb8897b638958781274eb1d93580743f5c73a6ef671c88e7 25 secs ago0x7d7ab4e5ae1d56df3f513b4281bc9cbd21b22078  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00424522
0x8ee02799784dea11e8323aac1188d47d1f1ba03ecdc6e2b5ae06b5e01c30d49b1 min ago0xb141345d41e1176cf5d160cb4f486d4fb3649957  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x48920647914db434697ebf438b46e33ebb83736ace8bd9cf15f312589ed2e0251 min ago0xceffc460de7f51c26ab1b9585cf1244c948d61fa  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.003183915
0x5956aceca8e3af72e1348c517426fb79239dfafe3422838a35de834ecb900d221 min ago0x4d5fdf60fdbfc96cc836a0e16dec484f9be829f7  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.000424522
0x8a6a26d243606f4973652b15f7c3babeec951697a72941f2ff3638316c6a773d1 min ago0xf710dc1c69a5759d7f4d3e40b2453df5b442c453  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.000849044
0x38e86d111e5cc554ec0b3eb8895d6eaea446f1818cf4f964738424b14c38de5a1 min ago0x11bc7ced608967af4332045f27fed28ce2dc3ee3  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x388195103268459b900483dce558dee970be0de35fd87208024ecf63bd0b76d11 min ago0xc9773c11d4b87a9b8894123057c0715e30e2cc25  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0xfc6167d984b672dcaedf007b0702936f5fab5abc72bc931c9e93aeab57e042581 min ago0x1c0c14ae972350f17254ee4489cb125af3bdc7d2  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x70fb2972a300f6368665a193ce80fe09dd85afaf7be8813caacddb9201cfdde54 mins ago0x4a05cbff5dd6851b988ce7c1c808ca8d50afb0cd  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.003183915
0xee233e1fecdd6d2fcbe7a5d4a5620146b8254a672cc33310d1dac9853f7902175 mins ago0xfd4ddc1795a19ba1a0fdfd97029fd3a0a9a5ed99  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0xfc11620941f3d6581865971947c8dc1effb310af7230b36041fb263f9eaa967a5 mins ago0xfbef7678e47562e0a6d24f09bbd89ce993cf70b9  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0xa514159e2cda70cc05d39f7a7740dd069b7ba027c0f36091af25b16e3c4aa6016 mins ago0x622a90374c71cc7970a24e32b8380463b8da89ca  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0xef1774c35f9abdfb0f914942d8f1e17004eb8dcd14be74491b32defad05c4e536 mins ago0x8b9f187f35d2c0cd469c7d0328b682006c8b02b2  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x9982d2ecf06a0d70ddfe59b4e7d71844311f526f161e701e46a70e3435388d7b6 mins ago0xfbd6a9ca12c4a9155cfc992c95230bee4afdf14b  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x09cefbb4687f06f261a6078476d4a39cc233b72850dfd55b9917cb9f270e7d677 mins ago0x1082c6ebb8f30c4c8c0cb9a411f7390dae08e896  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x083583ec554ab0d37389ca9826f3571ffc97ec9c4271cabfe1f186c72247bdaa8 mins ago0xe5e97f12e37ce7bfb130729f89102a1180d4eb8b  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.00212473261
0x07f8e313571751514d1b2e504d290dc609e9c10ea400501ea1f856ffa6c519cf8 mins ago0x5af0467209fa07cecfd50ef15abdbc1417f44775  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.01486039261
0x1d404bf0aa18b3d44f79f26c85c1dc2119ca7d5256e9571be57e656b5dafcda38 mins ago0x9b1d95c93ecd5ec23bc883fa9899cfda8e38779a  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.002127067481
0x8bb5f1e01193315a6e8a662b15a80f1537ce939f7dd25db89b1b056871fffa738 mins ago0x7e1b96c2d0d79dfbd6891fe30ac15fddec9f5589  IN   0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether0.01486039261
[ 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
0xcf52f108e48c536f81973b9f67096f4a9ac31fda328e3ac5d604ab85fad2bd146008125 25 secs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.181213679880763016 Ether
0xcf52f108e48c536f81973b9f67096f4a9ac31fda328e3ac5d604ab85fad2bd146008125 25 secs ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.22372067578203686 Ether
0x14d912c5177aac3fcb8897b638958781274eb1d93580743f5c73a6ef671c88e76008125 25 secs ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.22372067578203686 Ether
0x14d912c5177aac3fcb8897b638958781274eb1d93580743f5c73a6ef671c88e76008125 25 secs ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.276198444719110829 Ether
0xddb5a5eab24853a062307dd6c8d1a726e71f83241ffc7076e7b11d94d913eb486008123 50 secs ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.106176004718140015 Ether
0x5e72150c76ef74f3b06567d2de9a8108de2dd2fcc68ef7bc1a7dc814fe3d3b686008123 50 secs ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000424708922817976 Ether
0x4fada2f4ee77f74323c355facbf74bd0e4927c09952ca3a516fd1f122f4f3a7260081211 min ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.053088598946631108 Ether
0x4fadd0e5a03359fa724baa8f3c976b62f9b745194e0308685482f5b01c3369c960081211 min ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000318529442117292 Ether
0x8ee02799784dea11e8323aac1188d47d1f1ba03ecdc6e2b5ae06b5e01c30d49b60081211 min ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.116190602689404438 Ether
0x8ee02799784dea11e8323aac1188d47d1f1ba03ecdc6e2b5ae06b5e01c30d49b60081211 min ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.143445262402657347 Ether
0x48920647914db434697ebf438b46e33ebb83736ace8bd9cf15f312589ed2e02560081211 min ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.143445262402657347 Ether
0x48920647914db434697ebf438b46e33ebb83736ace8bd9cf15f312589ed2e02560081211 min ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.177093002506891753 Ether
0x5956aceca8e3af72e1348c517426fb79239dfafe3422838a35de834ecb900d2260081201 min ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.177093002506891753 Ether
0x5956aceca8e3af72e1348c517426fb79239dfafe3422838a35de834ecb900d2260081201 min ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.218633379000972194 Ether
0x8a6a26d243606f4973652b15f7c3babeec951697a72941f2ff3638316c6a773d60081201 min ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.218633379000972194 Ether
0x8a6a26d243606f4973652b15f7c3babeec951697a72941f2ff3638316c6a773d60081201 min ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.269917841404690227 Ether
0x38e86d111e5cc554ec0b3eb8895d6eaea446f1818cf4f964738424b14c38de5a60081201 min ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.269917841404690227 Ether
0x38e86d111e5cc554ec0b3eb8895d6eaea446f1818cf4f964738424b14c38de5a60081201 min ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.333232008671029951 Ether
0x388195103268459b900483dce558dee970be0de35fd87208024ecf63bd0b76d160081201 min ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.333232008671029951 Ether
0x388195103268459b900483dce558dee970be0de35fd87208024ecf63bd0b76d160081201 min ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.411397555830825447 Ether
0xeb68ba1afa7e1ce6690053dcbadde458509e1f41c49fd6c56eb8efcaa278425b60081201 min ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.09533448294257665 Ether
0x45d8aa833324a0417d8e4fa7f44096f4892a64c31bff9fd8e2f831fdab61fcd460081191 min ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.010617571096780296 Ether
0xc152e847f479fbad799bfbe33909c6ac056d4474b526d71b19faa7165b1f8abf60081191 min ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.026544139317065559 Ether
0xfc6167d984b672dcaedf007b0702936f5fab5abc72bc931c9e93aeab57e0425860081181 min ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.278901362474402942 Ether
0xfc6167d984b672dcaedf007b0702936f5fab5abc72bc931c9e93aeab57e0425860081181 min ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.344322762924540236 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: Divies
Compiler Version: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  50



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.24;
/** title -Divies- v0.7.1
 * ┌┬┐┌─┐┌─┐┌┬┐   ╦╦ ╦╔═╗╔╦╗  ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐
 *  │ ├┤ ├─┤│││   ║║ ║╚═╗ ║   ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐
 *  ┴ └─┘┴ ┴┴ ┴  ╚╝╚═╝╚═╝ ╩   ┴  ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘
 *                                  _____                      _____
 *                                 (, /     /)       /) /)    (, /      /)          /)
 *          ┌─┐                      /   _ (/_      // //       /  _   // _   __  _(/
 *          ├─┤                  ___/___(/_/(__(_/_(/_(/_   ___/__/_)_(/_(_(_/ (_(_(_
 *          ┴ ┴                /   /          .-/ _____   (__ /                               
 *                            (__ /          (_/ (, /                                      /)™ 
 *                                                 /  __  __ __ __  _   __ __  _  _/_ _  _(/
 * ┌─┐┬─┐┌─┐┌┬┐┬ ┬┌─┐┌┬┐                          /__/ (_(__(_)/ (_/_)_(_)/ (_(_(_(__(/_(_(_
 * ├─┘├┬┘│ │ │││ ││   │                      (__ /              .-/  © Jekyll Island Inc. 2018
 * ┴  ┴└─└─┘─┴┘└─┘└─┘ ┴                                        (_/
 *          ______      .-./`)  ,---.  ,---. .-./`)      .-''-.      .-'''-.   .---.  
 *=========|    _ `''.  \ .-.') |   /  |   | \ .-.')   .'_ _   \    / _     \  \   /=========*
 *         | _ | ) _  \ / `-' \ |  |   |  .' / `-' \  / ( ` )   '  (`' )/`--'  |   |  
 *         |( ''_'  ) |  `-'`"` |  | _ |  |   `-'`"` . (_ o _)  | (_ o _).      \ /   
 *         | . (_) `. |  .---.  |  _( )_  |   .---.  |  (_,_)___|  (_,_). '.     v    
 *         |(_    ._) '  |   |  \ (_ o._) /   |   |  '  \   .---. .---.  \  :   _ _   
 *         |  (_.\.' /   |   |   \ (_,_) /    |   |   \  `-'    / \    `-'  |  (_I_)  
 *=========|       .'    |   |    \     /     |   |    \       /   \       /  (_(=)_)========* 
 *         '-----'`      '---'     `---`      '---'     `'-..-'     `-...-'    (_I_)  
 * ╔═╗┌─┐┌┐┌┌┬┐┬─┐┌─┐┌─┐┌┬┐  ╔═╗┌─┐┌┬┐┌─┐ ┌──────────┐
 * ║  │ ││││ │ ├┬┘├─┤│   │   ║  │ │ ││├┤  │ Inventor │
 * ╚═╝└─┘┘└┘ ┴ ┴└─┴ ┴└─┘ ┴   ╚═╝└─┘─┴┘└─┘ └──────────┘
 *         ┌──────────────────────────────────────────────────────────────────────┐
 *         │ Divies!, is a contract that adds an external dividend system to P3D. │
 *         │ All eth sent to this contract, can be distributed to P3D holders.    │
 *         │ Uses msg.sender as masternode for initial buy order.                 │
 *         └──────────────────────────────────────────────────────────────────────┘
 *                                ┌────────────────────┐
 *                                │ Setup Instructions │
 *                                └────────────────────┘
 * (Step 1) import this contracts interface into your contract
 * 
 *    import "./DiviesInterface.sol";
 * 
 * (Step 2) set up the interface and point it to this contract
 * 
 *    DiviesInterface private Divies = DiviesInterface(0xc7029Ed9EBa97A096e72607f4340c34049C7AF48);
 *                                ┌────────────────────┐
 *                                │ Usage Instructions │
 *                                └────────────────────┘
 * call as follows anywhere in your code:
 *   
 *    Divies.deposit.value(amount)();
 *          ex:  Divies.deposit.value(232000000000000000000)();
 */

interface HourglassInterface {
    function() payable external;
    function buy(address _playerAddress) payable external returns(uint256);
    function sell(uint256 _amountOfTokens) external;
    function reinvest() external;
    function withdraw() external;
    function exit() external;
    function dividendsOf(address _playerAddress) external view returns(uint256);
    function balanceOf(address _playerAddress) external view returns(uint256);
    function transfer(address _toAddress, uint256 _amountOfTokens) external returns(bool);
    function stakingRequirement() external view returns(uint256);
}

contract Divies {
    using SafeMath for uint256;
    using UintCompressor for uint256;

    HourglassInterface constant P3Dcontract_ = HourglassInterface(0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe);
    
    uint256 public pusherTracker_ = 100;
    mapping (address => Pusher) public pushers_;
    struct Pusher
    {
        uint256 tracker;
        uint256 time;
    }
    uint256 public rateLimiter_;
    
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    // MODIFIERS
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    modifier isHuman() {
        address _addr = msg.sender;
        uint256 _codeLength;
        
        assembly {_codeLength := extcodesize(_addr)}
        require(_codeLength == 0, "sorry humans only");
        _;
    }
    
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    // BALANCE
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    function balances()
        public
        view
        returns(uint256)
    {
        return (address(this).balance);
    }
    
    
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    // DEPOSIT
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    function deposit()
        external
        payable
    {
        
    }
    
    // used so the distribute function can call hourglass's withdraw
    function() external payable {}
    
    
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    // EVENTS
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    event onDistribute(
        address pusher,
        uint256 startingBalance,
        uint256 masternodePayout,
        uint256 finalBalance,
        uint256 compressedData
    );
    /* compression key
    [0-14] - timestamp
    [15-29] - caller pusher tracker 
    [30-44] - global pusher tracker 
    [45-46] - percent
    [47] - greedy
    */  
    
    
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    // DISTRIBUTE
    //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    function distribute(uint256 _percent)
        public
        isHuman()
    {
        // make sure _percent is within boundaries
        require(_percent > 0 && _percent < 100, "please pick a percent between 1 and 99");
        
        // data setup
        address _pusher = msg.sender;
        uint256 _bal = address(this).balance;
        uint256 _mnPayout;
        uint256 _compressedData;
        
        // limit pushers greed (use "if" instead of require for level 42 top kek)
        if (
            pushers_[_pusher].tracker <= pusherTracker_.sub(100) && // pusher is greedy: wait your turn
            pushers_[_pusher].time.add(1 hours) < now               // pusher is greedy: its not even been 1 hour
        )
        {
            // update pushers wait que 
            pushers_[_pusher].tracker = pusherTracker_;
            pusherTracker_++;
            
            // setup mn payout for event
            if (P3Dcontract_.balanceOf(_pusher) >= P3Dcontract_.stakingRequirement())
                _mnPayout = (_bal / 10) / 3;
            
            // setup _stop.  this will be used to tell the loop to stop
            uint256 _stop = (_bal.mul(100 - _percent)) / 100;
            
            // buy & sell    
            P3Dcontract_.buy.value(_bal)(_pusher);
            P3Dcontract_.sell(P3Dcontract_.balanceOf(address(this)));
            
            // setup tracker.  this will be used to tell the loop to stop
            uint256 _tracker = P3Dcontract_.dividendsOf(address(this));
    
            // reinvest/sell loop
            while (_tracker >= _stop) 
            {
                // lets burn some tokens to distribute dividends to p3d holders
                P3Dcontract_.reinvest();
                P3Dcontract_.sell(P3Dcontract_.balanceOf(address(this)));
                
                // update our tracker with estimates (yea. not perfect, but cheaper on gas)
                _tracker = (_tracker.mul(81)) / 100;
            }
            
            // withdraw
            P3Dcontract_.withdraw();
        } else {
            _compressedData = _compressedData.insert(1, 47, 47);
        }
        
        // update pushers timestamp  (do outside of "if" for super saiyan level top kek)
        pushers_[_pusher].time = now;
    
        // prep event compression data 
        _compressedData = _compressedData.insert(now, 0, 14);
        _compressedData = _compressedData.insert(pushers_[_pusher].tracker, 15, 29);
        _compressedData = _compressedData.insert(pusherTracker_, 30, 44);
        _compressedData = _compressedData.insert(_percent, 45, 46);
            
        // fire event
        emit onDistribute(_pusher, _bal, _mnPayout, address(this).balance, _compressedData);
    }
}

/**
* @title -UintCompressor- v0.1.9
* ┌┬┐┌─┐┌─┐┌┬┐   ╦╦ ╦╔═╗╔╦╗  ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐
*  │ ├┤ ├─┤│││   ║║ ║╚═╗ ║   ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐
*  ┴ └─┘┴ ┴┴ ┴  ╚╝╚═╝╚═╝ ╩   ┴  ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘
*                                  _____                      _____
*                                 (, /     /)       /) /)    (, /      /)          /)
*          ┌─┐                      /   _ (/_      // //       /  _   // _   __  _(/
*          ├─┤                  ___/___(/_/(__(_/_(/_(/_   ___/__/_)_(/_(_(_/ (_(_(_
*          ┴ ┴                /   /          .-/ _____   (__ /                               
*                            (__ /          (_/ (, /                                      /)™ 
*                                                 /  __  __ __ __  _   __ __  _  _/_ _  _(/
* ┌─┐┬─┐┌─┐┌┬┐┬ ┬┌─┐┌┬┐                          /__/ (_(__(_)/ (_/_)_(_)/ (_(_(_(__(/_(_(_
* ├─┘├┬┘│ │ │││ ││   │                      (__ /              .-/  © Jekyll Island Inc. 2018
* ┴  ┴└─└─┘─┴┘└─┘└─┘ ┴                                        (_/
*    _  _   __   __ _  ____     ___   __   _  _  ____  ____  ____  ____  ____   __   ____ 
*===/ )( \ (  ) (  ( \(_  _)===/ __) /  \ ( \/ )(  _ \(  _ \(  __)/ ___)/ ___) /  \ (  _ \===*
*   ) \/ (  )(  /    /  )(    ( (__ (  O )/ \/ \ ) __/ )   / ) _) \___ \\___ \(  O ) )   /
*===\____/ (__) \_)__) (__)====\___) \__/ \_)(_/(__)  (__\_)(____)(____/(____/ \__/ (__\_)===*
*
* ╔═╗┌─┐┌┐┌┌┬┐┬─┐┌─┐┌─┐┌┬┐  ╔═╗┌─┐┌┬┐┌─┐ ┌──────────┐
* ║  │ ││││ │ ├┬┘├─┤│   │   ║  │ │ ││├┤  │ Inventor │
* ╚═╝└─┘┘└┘ ┴ ┴└─┴ ┴└─┘ ┴   ╚═╝└─┘─┴┘└─┘ └──────────┘
*/

library UintCompressor {
    using SafeMath for *;
    
    function insert(uint256 _var, uint256 _include, uint256 _start, uint256 _end)
        internal
        pure
        returns(uint256)
    {
        // check conditions 
        require(_end < 77 && _start < 77, "start/end must be less than 77");
        require(_end >= _start, "end must be >= start");
        
        // format our start/end points
        _end = exponent(_end).mul(10);
        _start = exponent(_start);
        
        // check that the include data fits into its segment 
        require(_include < (_end / _start));
        
        // build middle
        if (_include > 0)
            _include = _include.mul(_start);
        
        return((_var.sub((_var / _start).mul(_start))).add(_include).add((_var / _end).mul(_end)));
    }
    
    function extract(uint256 _input, uint256 _start, uint256 _end)
	    internal
	    pure
	    returns(uint256)
    {
        // check conditions
        require(_end < 77 && _start < 77, "start/end must be less than 77");
        require(_end >= _start, "end must be >= start");
        
        // format our start/end points
        _end = exponent(_end).mul(10);
        _start = exponent(_start);
        
        // return requested section
        return((((_input / _start).mul(_start)).sub((_input / _end).mul(_end))) / _start);
    }
    
    function exponent(uint256 _position)
        private
        pure
        returns(uint256)
    {
        return((10).pwr(_position));
    }
}

/**
 * @title SafeMath v0.1.9
 * @dev Math operations with safety checks that throw on error
 * change notes:  original SafeMath library from OpenZeppelin modified by Inventor
 * - added sqrt
 * - added sq
 * - added pwr 
 * - changed asserts to requires with error log outputs
 * - removed div, its useless
 */
library SafeMath {
    
    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) 
        internal 
        pure 
        returns (uint256 c) 
    {
        if (a == 0) {
            return 0;
        }
        c = a * b;
        require(c / a == b, "SafeMath mul failed");
        return c;
    }

    /**
    * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b)
        internal
        pure
        returns (uint256) 
    {
        require(b <= a, "SafeMath sub failed");
        return a - b;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b)
        internal
        pure
        returns (uint256 c) 
    {
        c = a + b;
        require(c >= a, "SafeMath add failed");
        return c;
    }
    
    /**
     * @dev gives square root of given x.
     */
    function sqrt(uint256 x)
        internal
        pure
        returns (uint256 y) 
    {
        uint256 z = ((add(x,1)) / 2);
        y = x;
        while (z < y) 
        {
            y = z;
            z = ((add((x / z),z)) / 2);
        }
    }
    
    /**
     * @dev gives square. multiplies x by x
     */
    function sq(uint256 x)
        internal
        pure
        returns (uint256)
    {
        return (mul(x,x));
    }
    
    /**
     * @dev x to the power of y 
     */
    function pwr(uint256 x, uint256 y)
        internal 
        pure 
        returns (uint256)
    {
        if (x==0)
            return (0);
        else if (y==0)
            return (1);
        else 
        {
            uint256 z = x;
            for (uint256 i=1; i < y; i++)
                z = mul(z,x);
            return (z);
        }
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"pushers_","outputs":[{"name":"tracker","type":"uint256"},{"name":"time","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pusherTracker_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_percent","type":"uint256"}],"name":"distribute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rateLimiter_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"pusher","type":"address"},{"indexed":false,"name":"startingBalance","type":"uint256"},{"indexed":false,"name":"masternodePayout","type":"uint256"},{"indexed":false,"name":"finalBalance","type":"uint256"},{"indexed":false,"name":"compressedData","type":"uint256"}],"name":"onDistribute","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6080604052606460005534801561001557600080fd5b50610c0f806100256000396000f30060806040526004361061005e5763ffffffff60e060020a6000350416631f75c3908114610060578063521ceba71461009a5780637bb98a68146100c157806391c05b0b146100d6578063b519cf31146100ee578063d0e30db014610103575b005b34801561006c57600080fd5b50610081600160a060020a036004351661010b565b6040805192835260208301919091528051918290030190f35b3480156100a657600080fd5b506100af610124565b60408051918252519081900360200190f35b3480156100cd57600080fd5b506100af61012a565b3480156100e257600080fd5b5061005e60043561012f565b3480156100fa57600080fd5b506100af6108ad565b61005e6108b3565b6001602081905260009182526040909120805491015482565b60005481565b303190565b6000808080808033803b801561018f576040805160e560020a62461bcd02815260206004820152601160248201527f736f7272792068756d616e73206f6e6c79000000000000000000000000000000604482015290519081900360640190fd5b60008911801561019f5750606489105b151561021b576040805160e560020a62461bcd02815260206004820152602660248201527f706c65617365207069636b20612070657263656e74206265747765656e20312060448201527f616e642039390000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6000543398503031975061023690606463ffffffff6108b516565b600160a060020a0389166000908152600160205260409020541180159061028b5750600160a060020a03881660009081526001602081905260409091200154429061028990610e1063ffffffff61091a16565b105b1561079a5760008054600160a060020a038a168252600160208181526040808520849055919092018355805160e360020a630ada733d0281529051600080516020610bc4833981519152936356d399e893600480850194919392918390030190829087803b1580156102fc57600080fd5b505af1158015610310573d6000803e3d6000fd5b505050506040513d602081101561032657600080fd5b50516040805160e060020a6370a08231028152600160a060020a038b1660048201529051600080516020610bc4833981519152916370a082319160248083019260209291908290030181600087803b15801561038157600080fd5b505af1158015610395573d6000803e3d6000fd5b505050506040513d60208110156103ab57600080fd5b5051106103bc576003600a88040495505b60646103d0888b830363ffffffff61097516565b8115156103d957fe5b049350600080516020610bc4833981519152600160a060020a031663f088d547888a6040518363ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a031681526020019150506020604051808303818588803b15801561044557600080fd5b505af1158015610459573d6000803e3d6000fd5b50505050506040513d602081101561047057600080fd5b50506040805160e060020a6370a082310281523060048201529051600080516020610bc48339815191529163e4849b329183916370a082319160248083019260209291908290030181600087803b1580156104ca57600080fd5b505af11580156104de573d6000803e3d6000fd5b505050506040513d60208110156104f457600080fd5b50516040805160e060020a63ffffffff8516028152600481019290925251602480830192600092919082900301818387803b15801561053257600080fd5b505af1158015610546573d6000803e3d6000fd5b50506040805160e060020a6265318b0281523060048201529051600080516020610bc483398151915293506265318b925060248083019260209291908290030181600087803b15801561059857600080fd5b505af11580156105ac573d6000803e3d6000fd5b505050506040513d60208110156105c257600080fd5b505192505b83831061073157600080516020610bc4833981519152600160a060020a031663fdb5a03e6040518163ffffffff1660e060020a028152600401600060405180830381600087803b15801561061a57600080fd5b505af115801561062e573d6000803e3d6000fd5b50506040805160e060020a6370a082310281523060048201529051600080516020610bc4833981519152935063e4849b32925083916370a082319160248083019260209291908290030181600087803b15801561068a57600080fd5b505af115801561069e573d6000803e3d6000fd5b505050506040513d60208110156106b457600080fd5b50516040805160e060020a63ffffffff8516028152600481019290925251602480830192600092919082900301818387803b1580156106f257600080fd5b505af1158015610706573d6000803e3d6000fd5b50505050606461072060518561097590919063ffffffff16565b81151561072957fe5b0492506105c7565b600080516020610bc4833981519152600160a060020a0316633ccfd60b6040518163ffffffff1660e060020a028152600401600060405180830381600087803b15801561077d57600080fd5b505af1158015610791573d6000803e3d6000fd5b505050506107b1565b6107ae856001602f8063ffffffff6109ec16565b94505b600160a060020a038816600090815260016020819052604082204291018190556107e591879190600e63ffffffff6109ec16565b600160a060020a038916600090815260016020526040902054909550610816908690600f601d63ffffffff6109ec16565b600054909550610831908690601e602c63ffffffff6109ec16565b9450610847858a602d602e63ffffffff6109ec16565b60408051600160a060020a038b168152602081018a9052808201899052303160608201526080810183905290519196507fa0e5739b8aab1e9b0469db4a982bc2211bdf4b0ed8b8aebe2e0d89d10057657d919081900360a00190a1505050505050505050565b60025481565b565b60008282111561090f576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b508082035b92915050565b81810182811015610914576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b600082151561098657506000610914565b5081810281838281151561099657fe5b0414610914576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b6000604d821080156109fe5750604d83105b1515610a54576040805160e560020a62461bcd02815260206004820152601e60248201527f73746172742f656e64206d757374206265206c657373207468616e2037370000604482015290519081900360640190fd5b82821015610aac576040805160e560020a62461bcd02815260206004820152601460248201527f656e64206d757374206265203e3d207374617274000000000000000000000000604482015290519081900360640190fd5b610ac6600a610aba84610b5d565b9063ffffffff61097516565b9150610ad183610b5d565b92508282811515610ade57fe5b048410610aea57600080fd5b6000841115610b0657610b03848463ffffffff61097516565b93505b610b54610b25838488811515610b1857fe5b049063ffffffff61097516565b610b4886610b48610b3b88898c811515610b1857fe5b8a9063ffffffff6108b516565b9063ffffffff61091a16565b95945050505050565b6000610914600a8363ffffffff610b7016565b60008080841515610b845760009250610bbb565b831515610b945760019250610bbb565b5083905060015b83811015610bb757610bad8286610975565b9150600101610b9b565b8192505b5050929150505600000000000000000000000000b3775fb83f7d12a36e0475abdd1fca35c091efbea165627a7a72305820f4cd5b28e6e11c5e067d514b6263cff344aa1d96ddc0b7d95052bd9b569ed1790029

   Swarm Source:
bzzr://f4cd5b28e6e11c5e067d514b6263cff344aa1d96ddc0b7d95052bd9b569ed179

 

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.