Contract Overview | Fomo3D_3
Balance: 0.210209732610688476 Ether
Ether Value: $37.23 (@ $177.13/ETH)
Transactions: 41576 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xf39e044e1ab204460e06e87c6dca2c6319fc69e3at txn 0x6689737f4c274a8174fca2028a5df35ceaa7340e58b2e6e81ebd7a54b0402414
Token Balance:
 Latest 25 transactions from a total of 41576 transactions

TxHash Age From To Value [TxFee]
0xbb1b72e1da4f1de88a6b8725b596ddeb705754ab38378e24812dd472d4930fbf3 hrs 29 mins ago0x4378e45d5363588c426e4ba23542acb119c86310  IN   Fomo3D_30 Ether0.000849044
0xc983c11c1a679871dac1cf7d8636e0ecb3b7f1a96d74a186ac7f5b98658a77c33 hrs 58 mins ago0x940f4eaa8beb3bd7281c2c2ca1cd3a724e32aaf9  IN   Fomo3D_30 Ether0.002045349
0x51299ebdf556cac2186045a0103a24a9b69d25df68cabd014d02f8c9034f5c4718 hrs 20 mins ago0x154deaa0a9bfb8a6314b057d92c3f67bd012c506  IN   Fomo3D_30 Ether0.006635031
0x7d7676c48702c8e02880c39054deb34bde5dcb2e6a37b6c7e090357b2ad478701 day 20 mins ago0xb03a329d58681ca200c4c43f9a0c75c865bb6835  IN   Fomo3D_30 Ether0.00057192963
0x51775ed675b50d5286e6b8a8a5c06745542969c823eb455c85fc4686b6e7cf4c1 day 20 mins ago0xa215f1b06e7945d331f2df30961027123947a40d  IN   Fomo3D_30 Ether0.00062902743
0x7baf972776b56433b4b41799a589186a2aa297a6918e7c2063f26f8b1a27c0561 day 12 hrs ago0x788c77f0dc39f1688ddf0b2731be0f0fc0a8ef56  IN   Fomo3D_30 Ether0.000666141
0x3a51158f6bc4efb4a4767ebbfd556c2c80ecd5257544f2fbfe900062eb28b27c1 day 15 hrs ago0x58e90f6e19563ce82c4a0010cece699b3e1a6723  IN   Fomo3D_30 Ether0.001485827
0x1a1d4be65bb980384a58c8b2561b375b77452fa5f385730733731957f1fe783c1 day 17 hrs ago0x055b5003b21978c09ada00183878b170c6e08cbe  IN   Fomo3D_30 Ether0.0003901683
0x42faa7d7317ab85496fde1e7ed83562c2563c3ea97bb17a9adaabb5e2f7f5cd51 day 17 hrs ago0x055b5003b21978c09ada00183878b170c6e08cbe  IN   Fomo3D_30 Ether0.00095163
0xd9f9db9c8ece16e3046fcc62105d37534dc5628acd4bc6d4a5185eff8d9be6c91 day 20 hrs ago0xa39334d8363d6aaf50372313efaa4cf8bdd50a30  IN   Fomo3D_30 Ether0.000849044
0x73904ad2ca0542e24d41e9aee1ee7ed0d092c2e9d6fcdeddaf4c7abbdd5bfaf42 days 35 mins ago0x4157a0e74cb32c9966f2b0d72ba206f78f800d3e  IN   Fomo3D_30 Ether0.0006792352
0x751d8bc5fc24cc23e5e8e917d131ac353afaee827babb2ecef3c5d6c1e0683a82 days 37 mins ago0x32fd2aaea4633b1600099bf63a1283a5136919a5  IN   Fomo3D_30 Ether0.000909044
0xa28a0cfe7230c99c5676b9448544db5538bdef3298ec95794fa3418763f5ff362 days 1 hr ago0x71b52a62a639f1a404f346b22feaf8ecc9c570f2  IN   Fomo3D_30 Ether0.0009317701
0x9f1fb42f9a6773c004db265181a11b375e103df577aaec314af7dbe07ac86b172 days 1 hr ago0x448aa1a41432c0bd7a469d23fd84c58ef0edaec4  IN   Fomo3D_30 Ether0.000666141
0xbb80af2ee0a71c81ad194bc8602366add1c43133e98a2a7eb346144301b4a4972 days 2 hrs ago0x9d3f10f5d553dda3f36e09ab0c3c757ba99e8894  IN   Fomo3D_30 Ether0.0007272352
0xcf0f1574ff6598e87af3ddc5ba652ac4c77fb757ca6e7babc66ee490ac47947a2 days 2 hrs ago0xb4021a28e92e8bcda5234a5f24d0b559afc86965  IN   Fomo3D_30 Ether0.0007004613
0x5fec89100cebcb6ec823b83f7c40c04e36295c790beee1ebb106d9d02f9ede292 days 2 hrs ago0x5346c93f25e5c7318ee3c661803c15b50ae336ff  IN   Fomo3D_30 Ether0.000666141
0x2eba785d20ce7d95593e260704c7da6755c79c7010fa2f9be452b7192d438e972 days 2 hrs ago0x448aa1a41432c0bd7a469d23fd84c58ef0edaec4  IN   Fomo3D_30 Ether0.00056
0x2eae11912e3f66f103e37411e8ed2cda30922526628d903f0def5a70a9407c272 days 3 hrs ago0x069b7f01c1af00cd051232d7cd49d90d7165a727  IN   Fomo3D_30 Ether0.000636783
0x7554e3cc0e365373bf48139aabfe825f8a43104d149a9abc5697bad8046225672 days 3 hrs ago0x132b6d150ce04c7aed350a8554ecc995c5cd0e03  IN   Fomo3D_30 Ether0.000849044
0x085c90d35e0793798176ea9e712558c2f6f17fa67da8df933a1d9a18cbffd9062 days 3 hrs ago0x73ed79c92e54889d5a12b9188ba4b1440fd432a8  IN   Fomo3D_30 Ether0.00212261
0x7a3683637ca65f77069cd4f5e0eb1989a3efbd6791d6e8f5d58832689f26b9032 days 4 hrs ago0x533b14f6d04ed3c63a68d5e80b7b1f6204fb4213  IN   Fomo3D_30 Ether0.00212261
0x3ab523d806cfa2d082c6b529e30a025d31a7db48c46350d547289627cdd51d072 days 4 hrs ago0x589a3ea1aef14b8e1aad3c3766e9106f87372c2e  IN   Fomo3D_30 Ether0.0006580091
0xe5e0508e668d1d4fc8b65911af49a1fbaf9778567ee56e4dec92eca0be0384623 days 12 hrs ago0x448aa1a41432c0bd7a469d23fd84c58ef0edaec4  IN   Fomo3D_30 Ether0.000285489
0x942c787544d860823305f110321055b8ba4e1133580319fec93e4ac983440d503 days 12 hrs ago0x5346c93f25e5c7318ee3c661803c15b50ae336ff  IN   Fomo3D_30 Ether0.000285489
[ 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
0x3d9fe884e889766e7eef4911917da56c4e8d4625f70d42e7bdd3de94b0258d86671597223 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000006191632873361 Ether
0xad4f9adfa6852e635119af0428993ecf16fb03615436ede4aade1b464017529367157641 hr 14 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.015463441558383624 Ether
0xba9b15e521960ddb18653321a3434d6ad60ba827770871ca2e039c1fcce1b0c467154312 hrs 33 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.0000078011 Ether
0xc0d24aa9b821e4330fd5b2ff3cc1416c86e0664f27b9df2d085f9f825097033b67152493 hrs 15 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.001003973993492803 Ether
0xbb1b72e1da4f1de88a6b8725b596ddeb705754ab38378e24812dd472d4930fbf67152003 hrs 29 mins ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.193728324325938688 Ether
0xbb1b72e1da4f1de88a6b8725b596ddeb705754ab38378e24812dd472d4930fbf67152003 hrs 29 mins ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.239170836367509769 Ether
0x9e09f3c06e72f92178d7f32ebb97c0bc56aacf72820435bd3515b1f24a58d0da67151683 hrs 36 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.0077140487480215 Ether
0xdc923c0f16ff87e2dcce8c8ee087e349e62685a3eaaedf755af0424350bcb95067151483 hrs 42 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000924635849762588 Ether
0x912197cd74e40dcedd377cd5948718aa8a237da780f839f81bf1ab9722f066ce67151093 hrs 49 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.0076965487480215 Ether
0x6211c57919ad1b4b0b4e16105c2f85cc3f654e35b5f705e73b48b40380c7284c67151033 hrs 50 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.05 Ether
0x928f0f069061a6a7838f34da1dc4bae2532010c89eace1195df842c1373c90c367150833 hrs 53 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000061101599520934 Ether
0xcbfd44159dd1f22a43815a0a40c8fa3a158f224d4691649fa404e2d70c5c0d7467150773 hrs 54 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.01898697139916266 Ether
0x766c1e3d526dcddccc56a201657b0131c2923769624a990a1231829c066e781567150733 hrs 56 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.0113804640894976 Ether
0xc983c11c1a679871dac1cf7d8636e0ecb3b7f1a96d74a186ac7f5b98658a77c367150643 hrs 58 mins ago0xb3775fb83f7d12a36e0475abdd1fca35c091efbe0xc7029ed9eba97a096e72607f4340c34049c7af480.142407065933522987 Ether
0xc983c11c1a679871dac1cf7d8636e0ecb3b7f1a96d74a186ac7f5b98658a77c367150643 hrs 58 mins ago0xc7029ed9eba97a096e72607f4340c34049c7af480xb3775fb83f7d12a36e0475abdd1fca35c091efbe0.17581123733584069 Ether
0xc1952591cdf6b4a5ef110a52b3c9d2bad682b886898feb94f0cd109a6d3b345967150633 hrs 58 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.00378567552983254 Ether
0xfe1c38ef49a0a6776d3c446a8d9fd8db0a277b110dd579d3f385ca0c35a2341167150494 hrs 2 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.01503064062500002 Ether
0xd804059d5ae8568d7825408bf120dfb10b304b7b5056a37557858d4620f37cb767150464 hrs 3 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.0000075 Ether
0x7e6727492ef13e29262ac835aac68184e7ce26b402a45b556c08ed0508a8e8e367150444 hrs 3 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.005 Ether
0x3cd0519231c2e311cdcc9dd7f7e06ec6fbbd90df0404062a7f889c896fd5773767150444 hrs 3 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.02 Ether
0x8aa642994b74d905760b5915fd78de51000d3c72ccc7ab5a8f5e1083206c236867147735 hrs 3 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.124543084494694372 Ether
0x4ebc331fc4eca701633b0c32e0732d0de19c4ac249d03e11e7874471614ad4af67147675 hrs 6 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000016075345460872 Ether
0xff90369e7be5ea25b5f81699efaeda8207cc68c9f8c07645f855d7254ca4e9d367147655 hrs 6 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000016075313266946 Ether
0xc770b7e0fafd7445868118f215620bccda66ea3f36ab98859a73942f2014f51067147605 hrs 7 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.0000079589 Ether
0xf6a6c2dd822032a12ceb27ed537d8de6f1dd2d42f6be31594a575867dae04f7367147575 hrs 8 mins ago0xa62142888aba8370742be823c1782d17a0389da10xc7029ed9eba97a096e72607f4340c34049c7af480.000016075119786158 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 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.