Sponsored:   Ubex.com - Token sale will end in just 4 days. 98% hard cap already reached. Don't Miss Out!
Contract Overview | Fomo3D_3
Balance: 0.131676979953464353 Ether
Ether Value: $27.72 (@ $210.54/ETH)
Transactions: 40750 txns
 Latest 25 txns From a total of 40750 Transactions
(+2 PendingTxns)

TxHash Age From To Value [TxFee]
0x87884f67dbc538f96c4573f6ad0f126bc62cf077d6b5ce093a9648f07e66fa10(pending)0xfa8317b9f24f95c7f127e1616cfb69ccb1687a86  IN  0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether(Pending)
0xcd061755d0d09d6c02d916723db0a0d29541a6f5ae99c2972ce2b2cd1ccd49bc(pending)0xd9bc3b23321ace50431d2b3be4ca6827b8e83115  IN  0xc7029ed9eba97a096e72607f4340c34049c7af480 Ether(Pending)
0x319e1f9c6a4a9596ee79fdbbb716d42bd41c76e61e2ea3c06042df7f72a4cd9828 mins ago0x9d3f10f5d553dda3f36e09ab0c3c757ba99e8894  IN   Fomo3D_30 Ether0.001910349
0x4572ff895bf28a9a92e9febcb0edda5e77afd915a329fa3a3928620a27fc972b34 mins ago0xb9b67d758aafe8bee0befbb27e1731eb6af365bc  IN   Fomo3D_30 Ether0.000761304
0xa3e9978dee8242fb051b8e578a28a294229fafcd0505c2349c30a40663b1d96a4 hrs 15 mins ago0x1fcfd25b25ccead63665cf867f4f7cba3e75de64  IN   Fomo3D_30 Ether0.00095163
0x3f5ed1fafee6d86c245df523297491c3025564467880bff6810bd53044e5c2d04 hrs 16 mins ago0x991f502e27810e229809ecdc44bff9a41a239cd4  IN   Fomo3D_30 Ether0.001485827
0xc7fcfb57db1b8a3818e19867beb65f7e168370276ef85e456f2f09b97afd1f307 hrs 41 mins ago0xba29faf969a0252bc58bab0c8b3d52b162470345  IN   Fomo3D_30 Ether0.0018678968
0x38310040d0c12c13140f01de05f833626f8b2d77d04b93cbf3b50beb9ecf75658 hrs 49 mins ago0x32fd2aaea4633b1600099bf63a1283a5136919a5  IN   Fomo3D_30 Ether0.000666141
0xa5927e1564ec758430bac7f4454802d0c77d100b4453ea080633463caeb1c8ef9 hrs 17 mins ago0x460cee44370d28749d2092065d8c241d5c22da3e  IN   Fomo3D_30 Ether0.000570978
0x131bb9e3a0b57dbf97be7e519cfc1ab869cf68c6e1ea75e45fdc352c5bae906b10 hrs 24 mins ago0x98278231af7fb93ec40a6deee59b443cc3c25bbc  IN   Fomo3D_30 Ether0.001273566
0x65799c6d5fd5160a04a9c920ba38e34288b3d57ecffe2744791dc9df894de1af10 hrs 24 mins ago0x7a8bdd1906be9d9a057c3afa1e64de98a3af3778  IN   Fomo3D_30 Ether0.001273566
0x8e3761eb7f04c358a7edf5b27bd75f0bbed03a7135bd2b1c3e9be579476cbd1c10 hrs 24 mins ago0x6235dc1c5d929c1841d6545af877ef83fecd976d  IN   Fomo3D_30 Ether0.001273566
0x226fed9f0dec71693f5fa8af46625197ac3b934809a35374e5d59e7889b627f810 hrs 26 mins ago0x14d5afc53f204c8fc3a79bf262ccdef500df10d8  IN   Fomo3D_30 Ether0.001273566
0x308c6e0af29bf8c222eb0fb4a6bb87f3b7be13a10530b81d4700e4f8c2fddb3410 hrs 27 mins ago0x6134dd437c51423410be01abb8d7cee427b90481  IN   Fomo3D_30 Ether0.001273566
0x8c2231d0fef3e9da8086baf745839a276c54fc02b93411f1cefd1d249d55fc5310 hrs 31 mins ago0x783b6292910486800ada4953cd794bfc328f52de  IN   Fomo3D_30 Ether0.001363566
0xb6c7c5490c661f64d68462b64bd834821addd4ac16b09348021fb1cb0b2729b210 hrs 32 mins ago0x4f15c5eb504180613c12a604b33b4d3fcdc1121c  IN   Fomo3D_30 Ether0.000570978
0x96b790e52400c4fbfd2d31e773f3025805d7157ba80f492fb640a362059abb0410 hrs 39 mins ago0x0a86aeda73c798d7b0e8fb70614e5664aa0e3668  IN   Fomo3D_30 Ether0.00318603761
0x912c60734ad04f3c067cdfd5e8a7150f16c20fdf510cd4c8de8662e239e2ccaa10 hrs 39 mins ago0xd2ead5adc89d18f49f1416ed0baec16a1483c5f3  IN   Fomo3D_30 Ether0.00424734261
0x18a9895ac83367339133e015d8a09e853ecb005d09707947561ea92f1d54dce410 hrs 39 mins ago0xd0a798cc47a2dd1df0c3c9f8c7dc9842e1c42ddb  IN   Fomo3D_30 Ether0.00636995261
0x9483f33f13139df2e13d63cdde7650a174fe95bd6956790e7cfbd8c4dbb9ad5710 hrs 39 mins ago0xb141345d41e1176cf5d160cb4f486d4fb3649957  IN   Fomo3D_30 Ether0.02122822261
0x14509a8db67f2796b64f5cd2efa22659c3b8294ceb74d5fdfad19cda058f244910 hrs 39 mins ago0xdb252e5bf87d672a9a0064a09c13920a0b482661  IN   Fomo3D_30 Ether0.001818088
0x8b12d28c9b0a177b51b6c003f18e1d92d250011988e4f138f7e7a15ea9f5266110 hrs 39 mins ago0x8b9e8497af97a6c2d68000e1a50e5e05efab7c1c  IN   Fomo3D_30 Ether0.010161748967
0x738bf8aa19abbc5df042f77f713ac3d7bb439dff43eaa38aa7f1d25b4b8e688a10 hrs 40 mins ago0x82ac858d89bde6d6ed372dd88bdf8caa66c4558c  IN   Fomo3D_30 Ether0.013431907485
0x1bcc054b10b72efc2db2aa698433fa8dc743f9a20ac302cd57bfaedfee67a67810 hrs 41 mins ago0xc9773c11d4b87a9b8894123057c0715e30e2cc25  IN   Fomo3D_30 Ether0.02122822261
0x498d91a6e1162d3975b83de5c8b960945ae85695466c8d98816af4a54458bf4c10 hrs 41 mins ago0x95e1fd92ba691b1c87f28e81168b06f00b15ad0c  IN   Fomo3D_30 Ether0.023606156439
[ 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
0xef79a1a8778a6f6727c4022d2ae3db81799ca3dcd39ca9840351491b440473f464009771 min ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.001737521085299635 Ether
0x57a51f00ee647481cc994e794d84bbf49e1db1bffc6d8a2fce213dbb1eb57472640089325 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000111378877062485 Ether
0x319e1f9c6a4a9596ee79fdbbb716d42bd41c76e61e2ea3c06042df7f72a4cd98640087928 mins ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.129828079991102233 Ether
0x319e1f9c6a4a9596ee79fdbbb716d42bd41c76e61e2ea3c06042df7f72a4cd98640087928 mins ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.160281646557542814 Ether
0x1bb5e0011c853e103aef54ff36cd00e20702eb5df6894e559151777edf3805b8640083239 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.008241839183873206 Ether
0x6d1f296a72a817377d98fbfd60549aa3a2fd5a35e259e3a79ce6fe620921d43e64007321 hr 6 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.037120628291658516 Ether
0xdc4132b6009c003be70420f0adcf0dfad2ab4b4500fe11517df376d78f2ecb7f64006761 hr 20 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000593863157851602 Ether
0xa8520ab5b5f38b91894f718f0112fb1f5e245c9a6ed2c60e49cb54e5ec73844f64006211 hr 31 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000137744140087101 Ether
0x0fda87718238222526d47b88b2b71785bef36cdc0414a7a2a02566e0ea86dad464006051 hr 34 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000143577863159283 Ether
0x67264e57d978a55d9e5a1fe90be8c04fa4c6e95d7cf6801f6465a1890bc7e55964005381 hr 52 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000371164395513642 Ether
0x30a5867a6f96697b06b9c2dd97c05ddee8c29462017fe2d5926ca7b3308d4e8c64003762 hrs 34 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000029689576387655 Ether
0xd19e68b1ed5b3d490640942c98d77130394e00862f02fa3ff014576e3271bd3964003392 hrs 43 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.020041708764990918 Ether
0x756372774cd86ccae09cfcfc12b102b952af11e90cb699efad9a0249b8e6034f64001453 hrs 26 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.00027265984324631 Ether
0x6c8e0c30e6553130f41d1cd6505c3b910e0db69bfe8fd37316e532056a8aac9064001453 hrs 26 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.00027265984324631 Ether
0x9708ebc7b15e894f57245a33eb8ce316ac69eb6cae2f8a5ebbfaedd111d1812b64001453 hrs 26 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.00027265984324631 Ether
0xce62a9113f45e966e60f9c7ed5695b54092ce5f4aab6a3c3f845a743b362575464000993 hrs 36 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000148447913188254 Ether
0x3f5ed1fafee6d86c245df523297491c3025564467880bff6810bd53044e5c2d063999064 hrs 16 mins ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.092635003741093707 Ether
0x3f5ed1fafee6d86c245df523297491c3025564467880bff6810bd53044e5c2d063999064 hrs 16 mins ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.114364243902725845 Ether
0x816437b00e0288183469189c4f3962cff7b0941596a7ccc244eb340d1208572f63998994 hrs 17 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.004824423116117659 Ether
0x3102f162c3b7972e1ff29677d72e8ffee5e480702932d0fb0fb07308c27b3ab563998834 hrs 20 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000037109923609568 Ether
0x51ffaf94a97866508ba004f40d6b656973b068c271425f7d3af0b87dd353572763997974 hrs 40 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.007421670659411777 Ether
0x73c79be30d8b7ccf45f6156d35d1b089bff39f2ea24d52ad90e0f2aabaab9e9563997414 hrs 56 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.001113187786411775 Ether
0x1ecce7f544fc0f77aef654241f13f7f485384c4f44f074dcb47b541bc6ae2a6763996685 hrs 12 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.002894222432170599 Ether
0x18cdfefa5d14a1ab2aec0d76c2fc1ca57ce89e2ac3c3085214dd4b1faca3dba263993836 hrs 18 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000133859760436762 Ether
0x45aa44b28395e5e54c7a903b963c353d6b89825772c1bb388472c57b08c9efcd63993296 hrs 33 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000519465735118026 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: Divies
Compiler Text: 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 transaction Difficulty 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.