ETH Price: $2,604.41 (+2.36%)

Contract

0x4D32DF060c8cb4aa1851830110a0A4dC96692371
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Recycle After En...63599032018-09-19 10:23:092194 days ago1537352589IN
0x4D32DF06...C96692371
0 ETH0.00010867.8
Buy Xid63592782018-09-19 7:49:232194 days ago1537343363IN
0x4D32DF06...C96692371
0.00075 ETH0.0042282214
Withdraw63592612018-09-19 7:44:332194 days ago1537343073IN
0x4D32DF06...C96692371
0 ETH0.0024145513.2
Buy Xaddr63591472018-09-19 7:17:562194 days ago1537341476IN
0x4D32DF06...C96692371
0.00750023 ETH0.0026361113.2
Buy Xaddr63591152018-09-19 7:10:582194 days ago1537341058IN
0x4D32DF06...C96692371
0.00075002 ETH0.0037397113.2
Buy Xid63591112018-09-19 7:09:462194 days ago1537340986IN
0x4D32DF06...C96692371
0.01 ETH0.002104096.42069
Buy Xid63590732018-09-19 7:00:122194 days ago1537340412IN
0x4D32DF06...C96692371
0.00075 ETH0.0035589912.4
Buy Xaddr63590072018-09-19 6:45:082194 days ago1537339508IN
0x4D32DF06...C96692371
0.01 ETH0.001580956.6
Buy Xaddr63590052018-09-19 6:44:552194 days ago1537339495IN
0x4D32DF06...C96692371
0.0007875 ETH0.001237616.2
Buy Xid63589632018-09-19 6:34:332194 days ago1537338873IN
0x4D32DF06...C96692371
0.01 ETH0.0052128814
Buy Xaddr63589252018-09-19 6:24:072194 days ago1537338247IN
0x4D32DF06...C96692371
0.00075 ETH0.001953756.00000005
Register Name XI...63588862018-09-19 6:15:442194 days ago1537337744IN
0x4D32DF06...C96692371
0.01 ETH0.002044246.4
Activate63587992018-09-19 5:56:382194 days ago1537336598IN
0x4D32DF06...C96692371
0 ETH0.000717917
0x6080604063587822018-09-19 5:51:432194 days ago1537336303IN
 Create: Star3Dlong
0 ETH0.041638617

Latest 18 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
63599032018-09-19 10:23:092194 days ago1537352589
0x4D32DF06...C96692371
0.01059272 ETH
63592782018-09-19 7:49:232194 days ago1537343363
0x4D32DF06...C96692371
0.000075 ETH
63592612018-09-19 7:44:332194 days ago1537343073
0x4D32DF06...C96692371
0.00256031 ETH
63592612018-09-19 7:44:332194 days ago1537343073
0x4D32DF06...C96692371
0.00008648 ETH
63591472018-09-19 7:17:562194 days ago1537341476
0x4D32DF06...C96692371
0.000075 ETH
63591472018-09-19 7:17:562194 days ago1537341476
0x4D32DF06...C96692371
0.0000975 ETH
63591472018-09-19 7:17:562194 days ago1537341476
0x4D32DF06...C96692371
0.00675021 ETH
63591152018-09-19 7:10:582194 days ago1537341058
0x4D32DF06...C96692371
0.000075 ETH
63591152018-09-19 7:10:582194 days ago1537341058
0x4D32DF06...C96692371
0.0000975 ETH
63591112018-09-19 7:09:462194 days ago1537340986
0x4D32DF06...C96692371
0.001 ETH
63590732018-09-19 7:00:122194 days ago1537340412
0x4D32DF06...C96692371
0.000075 ETH
63590052018-09-19 6:44:552194 days ago1537339495
0x4D32DF06...C96692371
0.00001075 ETH
63589632018-09-19 6:34:332194 days ago1537338873
0x4D32DF06...C96692371
0.0001 ETH
63589632018-09-19 6:34:332194 days ago1537338873
0x4D32DF06...C96692371
0.009 ETH
63589252018-09-19 6:24:072194 days ago1537338247
0x4D32DF06...C96692371
0.0000075 ETH
63589252018-09-19 6:24:072194 days ago1537338247
0x4D32DF06...C96692371
0.00000975 ETH
63589252018-09-19 6:24:072194 days ago1537338247
0x4D32DF06...C96692371
0.000675 ETH
63588862018-09-19 6:15:442194 days ago1537337744
0x4D32DF06...C96692371
0.01 ETH
Loading...
Loading
Contract Self Destruct called at Txn Hash 0xb9a2b59b75f3162860f8cb8118a163082e1f225e4eeca8522dc73e8bd9416248


Contract Source Code Verified (Exact Match)

Contract Name:
Star3Dlong

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-09-19
*/

pragma solidity ^0.4.24;
/**
 * @title -FoMo-3D v0.7.1
 * ┌┬┐┌─┐┌─┐┌┬┐   ╦╦ ╦╔═╗╔╦╗  ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐
 *  │ ├┤ ├─┤│││   ║║ ║╚═╗ ║   ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐
 *  ┴ └─┘┴ ┴┴ ┴  ╚╝╚═╝╚═╝ ╩   ┴  ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘
 *                                  _____                      _____
 *                                 (, /     /)       /) /)    (, /      /)          /)
 *          ┌─┐                      /   _ (/_      // //       /  _   // _   __  _(/
 *          ├─┤                  ___/___(/_/(__(_/_(/_(/_   ___/__/_)_(/_(_(_/ (_(_(_
 *          ┴ ┴                /   /          .-/ _____   (__ /
 *                            (__ /          (_/ (, /                                      /)™
 *                                                 /  __  __ __ __  _   __ __  _  _/_ _  _(/
 * ┌─┐┬─┐┌─┐┌┬┐┬ ┬┌─┐┌┬┐                          /__/ (_(__(_)/ (_/_)_(_)/ (_(_(_(__(/_(_(_
 * ├─┘├┬┘│ │ │││ ││   │                      (__ /              .-/  © Jekyll Island Inc. 2018
 * ┴  ┴└─└─┘─┴┘└─┘└─┘ ┴                                        (_/   .--,-``-.
 *========,---,.======================____==========================/   /     '.=======,---,====*
 *      ,'  .' |                    ,'  , `.                       / ../        ;    .'  .' `\
 *    ,---.'   |    ,---.        ,-+-,.' _ |    ,---.              \ ``\  .`-    ' ,---.'     \
 *    |   |   .'   '   ,'\    ,-+-. ;   , ||   '   ,'\      ,---,.  \___\/   \   : |   |  .`\  |
 *    :   :  :    /   /   |  ,--.'|'   |  ||  /   /   |   ,'  .' |       \   :   | :   : |  '  |
 *    :   |  |-, .   ; ,. : |   |  ,', |  |, .   ; ,. : ,---.'   |       /  /   /  |   ' '  ;  :
 *    |   :  ;/| '   | |: : |   | /  | |--'  '   | |: : |   |  .'        \  \   \  '   | ;  .  |
 *    |   |   .' '   | .; : |   : |  | ,     '   | .; : :   |.'      ___ /   :   | |   | :  |  '
 *    '   :  '   |   :    | |   : |  |/      |   :    | `---'       /   /\   /   : '   : | /  ;
 *    |   |  |    \   \  /  |   | |`-'        \   \  /             / ,,/  ',-    . |   | '` ,/
 *    |   :  \     `----'   |   ;/             `----'              \ ''\        ;  ;   :  .'
 *====|   | ,'=============='---'==========(long version)===========\   \     .'===|   ,.'======*
 *    `----'                                                         `--`-,,-'     '---'
 *             ╔═╗┌─┐┌─┐┬┌─┐┬┌─┐┬   ┌─────────────────────────┐ ╦ ╦┌─┐┌┐ ╔═╗┬┌┬┐┌─┐
 *             ║ ║├┤ ├┤ ││  │├─┤│   │   https://exitscam.me   │ ║║║├┤ ├┴┐╚═╗│ │ ├┤
 *             ╚═╝└  └  ┴└─┘┴┴ ┴┴─┘ └─┬─────────────────────┬─┘ ╚╩╝└─┘└─┘╚═╝┴ ┴ └─┘
 *   ┌────────────────────────────────┘                     └──────────────────────────────┐
 *   │╔═╗┌─┐┬  ┬┌┬┐┬┌┬┐┬ ┬   ╔╦╗┌─┐┌─┐┬┌─┐┌┐┌   ╦┌┐┌┌┬┐┌─┐┬─┐┌─┐┌─┐┌─┐┌─┐   ╔═╗┌┬┐┌─┐┌─┐┬┌─│
 *   │╚═╗│ ││  │ │││ │ └┬┘ ═  ║║├┤ └─┐││ ┬│││ ═ ║│││ │ ├┤ ├┬┘├┤ ├─┤│  ├┤  ═ ╚═╗ │ ├─┤│  ├┴┐│
 *   │╚═╝└─┘┴─┘┴─┴┘┴ ┴  ┴    ═╩╝└─┘└─┘┴└─┘┘└┘   ╩┘└┘ ┴ └─┘┴└─└  ┴ ┴└─┘└─┘   ╚═╝ ┴ ┴ ┴└─┘┴ ┴│
 *   │    ┌──────────┐           ┌───────┐            ┌─────────┐              ┌────────┐  │
 *   └────┤ Inventor ├───────────┤ Justo ├────────────┤ Sumpunk ├──────────────┤ Mantso ├──┘
 *        └──────────┘           └───────┘            └─────────┘              └────────┘
 *   ┌─────────────────────────────────────────────────────────┐ ╔╦╗┬ ┬┌─┐┌┐┌┬┌─┌─┐  ╔╦╗┌─┐
 *   │ Ambius, Aritz Cracker, Cryptoknight, Crypto McPump,     │  ║ ├─┤├─┤│││├┴┐└─┐   ║ │ │
 *   │ Capex, JogFera, The Shocker, Daok, Randazzz, PumpRabbi, │  ╩ ┴ ┴┴ ┴┘└┘┴ ┴└─┘   ╩ └─┘
 *   │ Kadaz, Incognito Jo, Lil Stronghands, Ninja Turtle,     └───────────────────────────┐
 *   │ Psaints, Satoshi, Vitalik, Nano 2nd, Bogdanoffs         Isaac Newton, Nikola Tesla, │
 *   │ Le Comte De Saint Germain, Albert Einstein, Socrates, & all the volunteer moderator │
 *   │ & support staff, content, creators, autonomous agents, and indie devs for P3D.      │
 *   │              Without your help, we wouldn't have the time to code this.             │
 *   └─────────────────────────────────────────────────────────────────────────────────────┘
 *
 * This product is protected under license.  Any unauthorized copy, modification, or use without
 * express written consent from the creators is prohibited.
 *
 * WARNING:  THIS PRODUCT IS HIGHLY ADDICTIVE.  IF YOU HAVE AN ADDICTIVE NATURE.  DO NOT PLAY.
 */

//==============================================================================
//     _    _  _ _|_ _  .
//    (/_\/(/_| | | _\  .
//==============================================================================
contract Star3Devents {
    // fired whenever a player registers a name
    event onNewName
    (
        uint256 indexed playerID,
        address indexed playerAddress,
        bytes32 indexed playerName,
        bool isNewPlayer,
        uint256 affiliateID,
        address affiliateAddress,
        bytes32 affiliateName,
        uint256 amountPaid,
        uint256 timeStamp
    );

    // fired at end of buy or reload
    event onEndTx
    (
        uint256 compressedData,
        uint256 compressedIDs,
        bytes32 playerName,
        address playerAddress,
        uint256 ethIn,
        uint256 keysBought,
        address winnerAddr,
        bytes32 winnerName,
        uint256 amountWon,
        uint256 newPot,
        uint256 genAmount,
        uint256 potAmount
    );

	// fired whenever theres a withdraw
    event onWithdraw
    (
        uint256 indexed playerID,
        address playerAddress,
        bytes32 playerName,
        uint256 ethOut,
        uint256 timeStamp
    );

    // fired whenever a withdraw forces end round to be ran
    event onWithdrawAndDistribute
    (
        address playerAddress,
        bytes32 playerName,
        uint256 ethOut,
        uint256 compressedData,
        uint256 compressedIDs,
        address winnerAddr,
        bytes32 winnerName,
        uint256 amountWon,
        uint256 newPot,
        uint256 genAmount
    );

    // (fomo3d long only) fired whenever a player tries a buy after round timer
    // hit zero, and causes end round to be ran.
    event onBuyAndDistribute
    (
        address playerAddress,
        bytes32 playerName,
        uint256 ethIn,
        uint256 compressedData,
        uint256 compressedIDs,
        address winnerAddr,
        bytes32 winnerName,
        uint256 amountWon,
        uint256 newPot,
        uint256 genAmount
    );

    // (fomo3d long only) fired whenever a player tries a reload after round timer
    // hit zero, and causes end round to be ran.
    event onReLoadAndDistribute
    (
        address playerAddress,
        bytes32 playerName,
        uint256 compressedData,
        uint256 compressedIDs,
        address winnerAddr,
        bytes32 winnerName,
        uint256 amountWon,
        uint256 newPot,
        uint256 genAmount
    );

    // fired whenever an affiliate is paid
    event onAffiliatePayout
    (
        uint256 indexed affiliateID,
        address affiliateAddress,
        bytes32 affiliateName,
        uint256 indexed roundID,
        uint256 indexed buyerID,
        uint256 amount,
        uint256 timeStamp
    );

    // received pot swap deposit
    event onPotSwapDeposit
    (
        uint256 roundID,
        uint256 amountAddedToPot
    );
}

interface CompanyShareInterface {
    function deposit() external payable;
}

//==============================================================================
//   _ _  _ _|_ _ _  __|_   _ _ _|_    _   .
//  (_(_)| | | | (_|(_ |   _\(/_ | |_||_)  .
//====================================|=========================================

contract modularLong is Star3Devents {}

contract Star3Dlong is modularLong {
    using SafeMath for *;
    using NameFilter for string;
    using Star3DKeysCalcLong for uint256;

    address public admin;
//==============================================================================
//     _ _  _  |`. _     _ _ |_ | _  _  .
//    (_(_)| |~|~|(_||_|| (_||_)|(/__\  .  (game settings)
//=================_|===========================================================
    string constant public name = "Save the planet";
    string constant public symbol = "Star";
    CompanyShareInterface constant private CompanyShare = CompanyShareInterface(0xdba6f4fe7e8a358150fc861148c3a19b22242743);

    uint256 private pID_ = 0;   // total number of players
	uint256 private rndExtra_ = 0;     // length of the very first ICO
    uint256 private rndGap_ = 1 seconds;         // length of ICO phase, set to 1 year for EOS.
    uint256 constant private rndInit_ = 30 minutes;                // round timer starts at this
    uint256 constant private rndInc_ = 30 seconds;              // every full key purchased adds this much to the timer
    uint256 constant private rndMax_ = 30 minutes;                // max length a round timer can be
    uint256 public registrationFee_ = 10 finney;            // price to register a name

//==============================================================================
//     _| _ _|_ _    _ _ _|_    _   .
//    (_|(_| | (_|  _\(/_ | |_||_)  .  (data used to store game info that changes)
//=============================|================================================
//	uint256 public airDropPot_;             // person who gets the airdrop wins part of this pot
//    uint256 public airDropTracker_ = 0;     // incremented each time a "qualified" tx occurs.  used to determine winning air drop
    uint256 public rID_;    // round id number / total rounds that have happened
//****************
// PLAYER DATA 
//****************
    mapping (address => uint256) public pIDxAddr_;          // (addr => pID) returns player id by address
    mapping (bytes32 => uint256) public pIDxName_;          // (name => pID) returns player id by name
    mapping (uint256 => Star3Ddatasets.Player) public plyr_;   // (pID => data) player data
    mapping (uint256 => mapping (uint256 => Star3Ddatasets.PlayerRounds)) public plyrRnds_;    // (pID => rID => data) player round data by player id & round id
    mapping (uint256 => mapping (bytes32 => bool)) public plyrNames_; // (pID => name => bool) list of names a player owns.  (used so you can change your display name amongst any name you own)
//****************
// ROUND DATA
//****************
    mapping (uint256 => Star3Ddatasets.Round) public round_;   // (rID => data) round data
    mapping (uint256 => mapping(uint256 => uint256)) public rndTmEth_;      // (rID => tID => data) eth in per team, by round id and team id
//****************
// TEAM FEE DATA
//****************
    mapping (uint256 => Star3Ddatasets.TeamFee) public fees_;          // (team => fees) fee distribution by team
    mapping (uint256 => Star3Ddatasets.PotSplit) public potSplit_;     // (team => fees) pot split distribution by team
//==============================================================================
//     _ _  _  __|_ _    __|_ _  _  .
//    (_(_)| |_\ | | |_|(_ | (_)|   .  (initial data setup upon contract deploy)
//==============================================================================
    constructor()
        public
    {
        admin = msg.sender;
		// Team allocation structures
        // 0 = whales
        // 1 = bears
        // 2 = sneks
        // 3 = bulls

		// Team allocation percentages
        // (Star, None) + (Pot , Referrals, Community)
            // Referrals / Community rewards are mathematically designed to come from the winner's share of the pot.
        fees_[0] = Star3Ddatasets.TeamFee(32, 45, 10, 3);   //32% to pot, 56% to gen, 2% to dev, 48% to winner, 10% aff 3% affLeader
        fees_[1] = Star3Ddatasets.TeamFee(45, 32, 10, 3);   //45% to pot, 35% to gen, 2% to dev, 48% to winner, 10% aff 3% affLeader
        fees_[2] = Star3Ddatasets.TeamFee(50, 27, 10, 3);  //50% to pot, 30% to gen, 2% to dev, 48% to winner, 10% aff 3% affLeader
        fees_[3] = Star3Ddatasets.TeamFee(40, 37, 10, 3);   //48% to pot, 40% to gen, 2% to dev, 48% to winner, 10% aff 3% affLeader

//        // how to split up the final pot based on which team was picked
//        // (Star, None)
        potSplit_[0] = Star3Ddatasets.PotSplit(20, 30);  //48% to winner, 20% to next round, 30% to gen, 2% to com
        potSplit_[1] = Star3Ddatasets.PotSplit(15, 35);   //48% to winner, 15% to next round, 35% to gen, 2% to com
        potSplit_[2] = Star3Ddatasets.PotSplit(25, 25);  //48% to winner, 25% to next round, 25% to gen, 2% to com
        potSplit_[3] = Star3Ddatasets.PotSplit(30, 20);  //48% to winner, 30% to next round, 20% to gen, 2% to com
	}
//==============================================================================
//     _ _  _  _|. |`. _  _ _  .
//    | | |(_)(_||~|~|(/_| _\  .  (these are safety checks)
//==============================================================================
    /**
     * @dev used to make sure no one can interact with contract until it has
     * been activated.
     */
    modifier isActivated() {
        require(activated_ == true, "its not ready yet.  check ?eta in discord");
        _;
    }

    modifier isRegisteredName()
    {
        uint256 _pID = pIDxAddr_[msg.sender];
        require(plyr_[_pID].name == "" || _pID == 0, "already has name");
        _;
    }
    /**
     * @dev prevents contracts from interacting with fomo3d
     */
    modifier isHuman() {
        address _addr = msg.sender;
        uint256 _codeLength;

        assembly {_codeLength := extcodesize(_addr)}
        require(_codeLength == 0, "sorry humans only");
        _;
    }

    /**
     * @dev sets boundaries for incoming tx
     */
    modifier isWithinLimits(uint256 _eth) {
        require(_eth >= 1000000000, "pocket lint: not a valid currency");
        require(_eth <= 100000000000000000000000, "no vitalik, no");
        _;
    }

//==============================================================================
//     _    |_ |. _   |`    _  __|_. _  _  _  .
//    |_)|_||_)||(_  ~|~|_|| |(_ | |(_)| |_\  .  (use these to interact with contract)
//====|=========================================================================
    /**
     * @dev emergency buy uses last stored affiliate ID and team snek
     */
    function()
        isActivated()
        isHuman()
        isWithinLimits(msg.value)
        public
        payable
    {
        // set up our tx event data and determine if player is new or not
        Star3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);

        // fetch player id
        uint256 _pID = pIDxAddr_[msg.sender];

        // buy core
        buyCore(_pID, plyr_[_pID].laff, 2, _eventData_);
    }

    /**
     * @dev converts all incoming ethereum to keys.
     * -functionhash- 0x8f38f309 (using ID for affiliate)
     * -functionhash- 0x98a0871d (using address for affiliate)
     * -functionhash- 0xa65b37a1 (using name for affiliate)
     * @param _affCode the ID/address/name of the player who gets the affiliate fee
     * @param _team what team is the player playing for?
     */
    function buyXid(uint256 _affCode, uint256 _team)
        isActivated()
        isHuman()
        isWithinLimits(msg.value)
        public
        payable
    {
        // set up our tx event data and determine if player is new or not
        Star3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);

        // fetch player id
        uint256 _pID = pIDxAddr_[msg.sender];

        // manage affiliate residuals
        // if no affiliate code was given or player tried to use their own, lolz
        if (_affCode == 0 || _affCode == _pID)
        {
            // use last stored affiliate code
            _affCode = plyr_[_pID].laff;

        // if affiliate code was given & its not the same as previously stored
        } else if (_affCode != plyr_[_pID].laff) {
            // update last affiliate
            plyr_[_pID].laff = _affCode;
        }

        // verify a valid team was selected
        _team = verifyTeam(_team);

        // buy core
        buyCore(_pID, _affCode, _team, _eventData_);
    }

    function buyXaddr(address _affCode, uint256 _team)
        isActivated()
        isHuman()
        isWithinLimits(msg.value)
        public
        payable
    {
        // set up our tx event data and determine if player is new or not
        Star3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);

        // fetch player id
        uint256 _pID = pIDxAddr_[msg.sender];

        // verify a valid team was selected
        _team = verifyTeam(_team);
        // manage affiliate residuals
        uint256 _affID;
        // if no affiliate code was given or player tried to use their own, lolz
        if (_affCode == address(0) || _affCode == msg.sender)
        {
            // use last stored affiliate code
            _affID = plyr_[_pID].laff;

        // if affiliate code was given
        } else {
            // get affiliate ID from aff Code
            _affID = pIDxAddr_[_affCode];

            // if affID is not the same as previously stored
            if (_affID != plyr_[_pID].laff)
            {
                // update last affiliate
                plyr_[_pID].laff = _affID;
            }
        }
        // buy core
        buyCore(_pID, _affID, _team, _eventData_);
    }

    function buyXname(bytes32 _affCode, uint256 _team)
        isActivated()
        isHuman()
        isWithinLimits(msg.value)
        public
        payable
    {
        // set up our tx event data and determine if player is new or not
        Star3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);

        // fetch player id
        uint256 _pID = pIDxAddr_[msg.sender];

        // manage affiliate residuals
        uint256 _affID;
        // if no affiliate code was given or player tried to use their own, lolz
        if (_affCode == '' || _affCode == plyr_[_pID].name)
        {
            // use last stored affiliate code
            _affID = plyr_[_pID].laff;

        // if affiliate code was given
        } else {
            // get affiliate ID from aff Code
            _affID = pIDxName_[_affCode];

            // if affID is not the same as previously stored
            if (_affID != plyr_[_pID].laff)
            {
                // update last affiliate
                plyr_[_pID].laff = _affID;
            }
        }

        // verify a valid team was selected
        _team = verifyTeam(_team);

        // buy core
        buyCore(_pID, _affID, _team, _eventData_);
    }

    /**
     * @dev essentially the same as buy, but instead of you sending ether
     * from your wallet, it uses your unwithdrawn earnings.
     * -functionhash- 0x349cdcac (using ID for affiliate)
     * -functionhash- 0x82bfc739 (using address for affiliate)
     * -functionhash- 0x079ce327 (using name for affiliate)
     * @param _affCode the ID/address/name of the player who gets the affiliate fee
     * @param _team what team is the player playing for?
     * @param _eth amount of earnings to use (remainder returned to gen vault)
     */
    function reLoadXid(uint256 _affCode, uint256 _team, uint256 _eth)
        isActivated()
        isHuman()
        isWithinLimits(_eth)
        public
    {
        // set up our tx event data
        Star3Ddatasets.EventReturns memory _eventData_;

        // fetch player ID
        uint256 _pID = pIDxAddr_[msg.sender];

        // manage affiliate residuals
        // if no affiliate code was given or player tried to use their own, lolz
        if (_affCode == 0 || _affCode == _pID)
        {
            // use last stored affiliate code
            _affCode = plyr_[_pID].laff;

        // if affiliate code was given & its not the same as previously stored
        } else if (_affCode != plyr_[_pID].laff) {
            // update last affiliate
            plyr_[_pID].laff = _affCode;
        }

        // verify a valid team was selected
        _team = verifyTeam(_team);

        // reload core
        reLoadCore(_pID, _affCode, _team, _eth, _eventData_);
    }

    function reLoadXaddr(address _affCode, uint256 _team, uint256 _eth)
        isActivated()
        isHuman()
        isWithinLimits(_eth)
        public
    {
        // set up our tx event data
        Star3Ddatasets.EventReturns memory _eventData_;

        // fetch player ID
        uint256 _pID = pIDxAddr_[msg.sender];

        // manage affiliate residuals
        uint256 _affID;
        // if no affiliate code was given or player tried to use their own, lolz
        if (_affCode == address(0) || _affCode == msg.sender)
        {
            // use last stored affiliate code
            _affID = plyr_[_pID].laff;

        // if affiliate code was given
        } else {
            // get affiliate ID from aff Code
            _affID = pIDxAddr_[_affCode];

            // if affID is not the same as previously stored
            if (_affID != plyr_[_pID].laff)
            {
                // update last affiliate
                plyr_[_pID].laff = _affID;
            }
        }

        // verify a valid team was selected
        _team = verifyTeam(_team);

        // reload core
        reLoadCore(_pID, _affID, _team, _eth, _eventData_);
    }

    function reLoadXname(bytes32 _affCode, uint256 _team, uint256 _eth)
        isActivated()
        isHuman()
        isWithinLimits(_eth)
        public
    {
        // set up our tx event data
        Star3Ddatasets.EventReturns memory _eventData_;

        // fetch player ID
        uint256 _pID = pIDxAddr_[msg.sender];

        // manage affiliate residuals
        uint256 _affID;
        // if no affiliate code was given or player tried to use their own, lolz
        if (_affCode == '' || _affCode == plyr_[_pID].name)
        {
            // use last stored affiliate code
            _affID = plyr_[_pID].laff;

        // if affiliate code was given
        } else {
            // get affiliate ID from aff Code
            _affID = pIDxName_[_affCode];

            // if affID is not the same as previously stored
            if (_affID != plyr_[_pID].laff)
            {
                // update last affiliate
                plyr_[_pID].laff = _affID;
            }
        }

        // verify a valid team was selected
        _team = verifyTeam(_team);

        // reload core
        reLoadCore(_pID, _affID, _team, _eth, _eventData_);
    }

    /**
     * @dev withdraws all of your earnings.
     * -functionhash- 0x3ccfd60b
     */
    function withdraw()
        isActivated()
        isHuman()
        public
    {
        // setup local rID
        uint256 _rID = rID_;

        // grab time
        uint256 _now = now;

        // fetch player ID
        uint256 _pID = pIDxAddr_[msg.sender];

        // setup temp var for player eth
        uint256 _eth;

        // check to see if round has ended and no one has run round end yet
        if (_now > round_[_rID].end && round_[_rID].ended == false && round_[_rID].plyr != 0)
        {
            // set up our tx event data
            Star3Ddatasets.EventReturns memory _eventData_;

            // end the round (distributes pot)
			round_[_rID].ended = true;
            _eventData_ = endRound(_eventData_);

			// get their earnings
            _eth = withdrawEarnings(_pID);

            // gib moni
            if (_eth > 0)
                plyr_[_pID].addr.transfer(_eth);

            // build event data
            _eventData_.compressedData = _eventData_.compressedData + (_now * 1000000000000000000);
            _eventData_.compressedIDs = _eventData_.compressedIDs + _pID;

            // fire withdraw and distribute event
            emit Star3Devents.onWithdrawAndDistribute
            (
                msg.sender,
                plyr_[_pID].name,
                _eth,
                _eventData_.compressedData,
                _eventData_.compressedIDs,
                _eventData_.winnerAddr,
                _eventData_.winnerName,
                _eventData_.amountWon,
                _eventData_.newPot,
                _eventData_.genAmount
            );

        // in any other situation
        } else {
            // get their earnings
            _eth = withdrawEarnings(_pID);

            // gib moni
            if (_eth > 0)
                plyr_[_pID].addr.transfer(_eth);

            // fire withdraw event
            emit Star3Devents.onWithdraw(_pID, msg.sender, plyr_[_pID].name, _eth, _now);
        }
    }


    /**
     * @dev use these to register names.  they are just wrappers that will send the
     * registration requests to the PlayerBook contract.  So registering here is the
     * same as registering there.  UI will always display the last name you registered.
     * but you will still own all previously registered names to use as affiliate
     * links.
     * - must pay a registration fee.
     * - name must be unique
     * - names will be converted to lowercase
     * - name cannot start or end with a space
     * - cannot have more than 1 space in a row
     * - cannot be only numbers
     * - cannot start with 0x
     * - name must be at least 1 char
     * - max length of 32 characters long
     * - allowed characters: a-z, 0-9, and space
     * -functionhash- 0x921dec21 (using ID for affiliate)
     * -functionhash- 0x3ddd4698 (using address for affiliate)
     * -functionhash- 0x685ffd83 (using name for affiliate)
     * @param _nameString players desired name
     * @param _affCode affiliate ID, address, or name of who referred you
     * (this might cost a lot of gas)
     */
    function registerNameXID(string _nameString, uint256 _affCode)
        isHuman()
        isRegisteredName()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;

        bool _isNewPlayer = isNewPlayer(_addr);
        require (msg.value >= registrationFee_, "umm.....  you have to pay the name fee");

        Star3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);

        uint256 _pID = makePlayerID(msg.sender);
        uint256 _affID = _affCode;
        if (_affID != 0 && _affID != plyr_[_pID].laff && _affID != _pID)
        {
            // update last affiliate
            plyr_[_pID].laff = _affID;
        } else if (_affID == _pID) {
            _affID = 0;
        }
        registerNameCore(_pID, _name);
        // fire event
        emit Star3Devents.onNewName(_pID, _addr, _name, _isNewPlayer, _affID, plyr_[_affID].addr, plyr_[_affID].name, _paid, now);
    }

    function registerNameXaddr(string _nameString, address _affCode)
        isHuman()
        isRegisteredName()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;

        require (msg.value >= registrationFee_, "umm.....  you have to pay the name fee");

        bool _isNewPlayer = isNewPlayer(_addr);

        Star3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);

        uint256 _pID = makePlayerID(msg.sender);
        uint256 _affID;
        if (_affCode != address(0) && _affCode != _addr)
        {
            // get affiliate ID from aff Code
            _affID = pIDxAddr_[_affCode];

            // if affID is not the same as previously stored
            if (_affID != plyr_[_pID].laff)
            {
                // update last affiliate
                plyr_[_pID].laff = _affID;
            }
        }

        registerNameCore(_pID, _name);
        // fire event
        emit Star3Devents.onNewName(_pID, _addr, _name, _isNewPlayer, _affID, plyr_[_affID].addr, plyr_[_affID].name, _paid, now);
    }

    function registerNameXname(string _nameString, bytes32 _affCode)
        isHuman()
        isRegisteredName()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;

        require (msg.value >= registrationFee_, "umm.....  you have to pay the name fee");

        bool _isNewPlayer = isNewPlayer(_addr);

        Star3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);
        uint256 _pID = makePlayerID(msg.sender);

        uint256 _affID;
        if (_affCode != "" && _affCode != _name)
        {
            // get affiliate ID from aff Code
            _affID = pIDxName_[_affCode];

            // if affID is not the same as previously stored
            if (_affID != plyr_[_pID].laff)
            {
                // update last affiliate
                plyr_[_pID].laff = _affID;
            }
        }

        registerNameCore(_pID, _name);
        // fire event
        emit Star3Devents.onNewName(_pID, _addr, _name, _isNewPlayer, _affID, plyr_[_affID].addr, plyr_[_affID].name, _paid, now);
    }

    function registerNameCore(uint256 _pID, bytes32 _name)
        private
    {

        // if names already has been used, require that current msg sender owns the name
        if (pIDxName_[_name] != 0)
            require(plyrNames_[_pID][_name] == true, "sorry that names already taken");

        // add name to player profile, registry, and name book
        plyr_[_pID].name = _name;
        pIDxName_[_name] = _pID;
        if (plyrNames_[_pID][_name] == false)
        {
            plyrNames_[_pID][_name] = true;
        }
        // registration fee goes directly to community rewards
        CompanyShare.deposit.value(msg.value)();
    }

    function isNewPlayer(address _addr)
    public
    view
    returns (bool)
    {
        if (pIDxAddr_[_addr] == 0)
        {
            // set the new player bool to true
            return (true);
        } else {
            return (false);
        }
    }
//==============================================================================
//     _  _ _|__|_ _  _ _  .
//    (_|(/_ |  | (/_| _\  . (for UI & viewing things on etherscan)
//=====_|=======================================================================
    /**
     * @dev return the price buyer will pay for next 1 individual key.
     * -functionhash- 0x018a25e8
     * @return price for next key bought (in wei format)
     */
    function getBuyPrice()
        public
        view
        returns(uint256)
    {
        // setup local rID
        uint256 _rID = rID_;

        // grab time
        uint256 _now = now;

        uint256 _timePrice = getBuyPriceTimes();
        // are we in a round?
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && round_[_rID].plyr == 0)))
            return (((round_[_rID].keys.add(1000000000000000000)).ethRec(1000000000000000000)).mul(_timePrice));
        else // rounds over.  need price for new round
            return ( 750000000000000 ); // init
    }

    function getBuyPriceTimes()
        public
        view
        returns(uint256)
    {
        uint256 timeLeft = getTimeLeft();
        if(timeLeft <= 300)
        {
            return 10;
        }else{
            return 1;
        }
    }
    /**
     * @dev returns time left.  dont spam this, you'll ddos yourself from your node
     * provider
     * -functionhash- 0xc7e284b8
     * @return time left in seconds
     */
    function getTimeLeft()
        public
        view
        returns(uint256)
    {
        // setup local rID
        uint256 _rID = rID_;

        // grab time
        uint256 _now = now;

        if (_now < round_[_rID].end)
            if (_now > round_[_rID].strt + rndGap_)
                return( (round_[_rID].end).sub(_now) );
            else
                return( (round_[_rID].strt + rndGap_).sub(_now) );
        else
            return(0);
    }

    /**
     * @dev returns player earnings per vaults
     * -functionhash- 0x63066434
     * @return winnings vault
     * @return general vault
     * @return affiliate vault
     */
    function getPlayerVaults(uint256 _pID)
        public
        view
        returns(uint256 ,uint256, uint256)
    {
        // setup local rID
        uint256 _rID = rID_;

        // if round has ended.  but round end has not been run (so contract has not distributed winnings)
        if (now > round_[_rID].end && round_[_rID].ended == false && round_[_rID].plyr != 0)
        {
            // if player is winner
            if (round_[_rID].plyr == _pID)
            {
                return
                (
                    (plyr_[_pID].win).add( ((round_[_rID].pot).mul(48)) / 100 ),
                    (plyr_[_pID].gen).add(  getPlayerVaultsHelper(_pID, _rID).sub(plyrRnds_[_pID][_rID].mask)   ),
                    plyr_[_pID].aff
                );
            // if player is not the winner
            } else {
                return
                (
                    plyr_[_pID].win,
                    (plyr_[_pID].gen).add(  getPlayerVaultsHelper(_pID, _rID).sub(plyrRnds_[_pID][_rID].mask)  ),
                    plyr_[_pID].aff
                );
            }

        // if round is still going on, or round has ended and round end has been ran
        } else {
            return
            (
                plyr_[_pID].win,
                (plyr_[_pID].gen).add(calcUnMaskedEarnings(_pID, plyr_[_pID].lrnd)),
                plyr_[_pID].aff
            );
        }
    }

    /**
     * solidity hates stack limits.  this lets us avoid that hate
     */
    function getPlayerVaultsHelper(uint256 _pID, uint256 _rID)
        private
        view
        returns(uint256)
    {
        return(  ((((round_[_rID].mask).add(((((round_[_rID].pot).mul(potSplit_[round_[_rID].team].endGen)) / 100).mul(1000000000000000000)) / (round_[_rID].keys))).mul(plyrRnds_[_pID][_rID].keys)) / 1000000000000000000)  );
    }

    /**
     * @dev returns all current round info needed for front end
     * -functionhash- 0x747dff42
     * @return eth invested during ICO phase
     * @return round id
     * @return total keys for round
     * @return time round ends
     * @return time round started
     * @return current pot
     * @return current team ID & player ID in lead
     * @return current player in leads address
     * @return current player in leads name
     * @return whales eth in for round
     * @return bears eth in for round
     * @return sneks eth in for round
     * @return bulls eth in for round
     * @return airdrop tracker # & airdrop pot
     */
    function getCurrentRoundInfo()
        public
        view
        returns(uint256, uint256, uint256, uint256, uint256, uint256, address, bytes32, uint256, uint256, uint256, uint256)
    {
        // setup local rID
        uint256 _rID = rID_;

        return
        (
            _rID,                           //0
            round_[_rID].keys,              //1
            round_[_rID].end,               //2
            round_[_rID].strt,              //3
            round_[_rID].pot,               //4
            (round_[_rID].team + (round_[_rID].plyr * 10)),     //5
            plyr_[round_[_rID].plyr].addr,  //6
            plyr_[round_[_rID].plyr].name,  //7
            rndTmEth_[_rID][0],             //8
            rndTmEth_[_rID][1],             //9
            rndTmEth_[_rID][2],             //10
            rndTmEth_[_rID][3]             //11
        );
    }

    /**
     * @dev returns player info based on address.  if no address is given, it will
     * use msg.sender
     * -functionhash- 0xee0b5d8b
     * @param _addr address of the player you want to lookup
     * @return player ID
     * @return player name
     * @return keys owned (current round)
     * @return winnings vault
     * @return general vault
     * @return affiliate vault
	 * @return player round eth
     */
    function getPlayerInfoByAddress(address _addr)
        public
        view
        returns(uint256, bytes32, uint256, uint256, uint256, uint256, uint256)
    {
        // setup local rID
        uint256 _rID = rID_;

        if (_addr == address(0))
        {
            _addr == msg.sender;
        }
        uint256 _pID = pIDxAddr_[_addr];

        return
        (
            _pID,                               //0
            plyr_[_pID].name,                   //1
            plyrRnds_[_pID][_rID].keys,         //2
            plyr_[_pID].win,                    //3
            (plyr_[_pID].gen).add(calcUnMaskedEarnings(_pID, plyr_[_pID].lrnd)),       //4
            plyr_[_pID].aff,                    //5
            plyrRnds_[_pID][_rID].eth           //6
        );
    }

//==============================================================================
//     _ _  _ _   | _  _ . _  .
//    (_(_)| (/_  |(_)(_||(_  . (this + tools + calcs + modules = our softwares engine)
//=====================_|=======================================================
    /**
     * @dev logic runs whenever a buy order is executed.  determines how to handle
     * incoming eth depending on if we are in an active round or not
     */
    function buyCore(uint256 _pID, uint256 _affID, uint256 _team, Star3Ddatasets.EventReturns memory _eventData_)
        private
    {
        // setup local rID
        uint256 _rID = rID_;

        // grab time
        uint256 _now = now;

        // if round is active
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && round_[_rID].plyr == 0)))
        {
            // call core
            core(_rID, _pID, msg.value, _affID, _team, _eventData_);

        // if round is not active
        } else {
            // check to see if end round needs to be ran
            if (_now > round_[_rID].end && round_[_rID].ended == false)
            {
                // end the round (distributes pot) & start new round
			    round_[_rID].ended = true;
                _eventData_ = endRound(_eventData_);

                // build event data
                _eventData_.compressedData = _eventData_.compressedData + (_now * 1000000000000000000);
                _eventData_.compressedIDs = _eventData_.compressedIDs + _pID;

                // fire buy and distribute event
                emit Star3Devents.onBuyAndDistribute
                (
                    msg.sender,
                    plyr_[_pID].name,
                    msg.value,
                    _eventData_.compressedData,
                    _eventData_.compressedIDs,
                    _eventData_.winnerAddr,
                    _eventData_.winnerName,
                    _eventData_.amountWon,
                    _eventData_.newPot,
                    _eventData_.genAmount
                );
            }

            // put eth in players vault
            plyr_[_pID].gen = plyr_[_pID].gen.add(msg.value);
        }
    }

    /**
     * @dev logic runs whenever a reload order is executed.  determines how to handle
     * incoming eth depending on if we are in an active round or not
     */
    function reLoadCore(uint256 _pID, uint256 _affID, uint256 _team, uint256 _eth, Star3Ddatasets.EventReturns memory _eventData_)
        private
    {
        // setup local rID
        uint256 _rID = rID_;

        // grab time
        uint256 _now = now;

        // if round is active
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && round_[_rID].plyr == 0)))
        {
            // get earnings from all vaults and return unused to gen vault
            // because we use a custom safemath library.  this will throw if player
            // tried to spend more eth than they have.
            plyr_[_pID].gen = withdrawEarnings(_pID).sub(_eth);

            // call core
            core(_rID, _pID, _eth, _affID, _team, _eventData_);

        // if round is not active and end round needs to be ran
        } else if (_now > round_[_rID].end && round_[_rID].ended == false) {
            // end the round (distributes pot) & start new round
            round_[_rID].ended = true;
            _eventData_ = endRound(_eventData_);

            // build event data
            _eventData_.compressedData = _eventData_.compressedData + (_now * 1000000000000000000);
            _eventData_.compressedIDs = _eventData_.compressedIDs + _pID;

            // fire buy and distribute event
            emit Star3Devents.onReLoadAndDistribute
            (
                msg.sender,
                plyr_[_pID].name,
                _eventData_.compressedData,
                _eventData_.compressedIDs,
                _eventData_.winnerAddr,
                _eventData_.winnerName,
                _eventData_.amountWon,
                _eventData_.newPot,
                _eventData_.genAmount
            );
        }
    }

    /**
     * @dev this is the core logic for any buy/reload that happens while a round
     * is live.
     */
    function core(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, Star3Ddatasets.EventReturns memory _eventData_)
        private
    {
        // if player is new to round
        if (plyrRnds_[_pID][_rID].keys == 0)
            _eventData_ = managePlayer(_pID, _eventData_);

        // early round eth limiter
        if (round_[_rID].eth < 100000000000000000000 && plyrRnds_[_pID][_rID].eth.add(_eth) > 1000000000000000000)
        {
            uint256 _availableLimit = (1000000000000000000).sub(plyrRnds_[_pID][_rID].eth);
            uint256 _refund = _eth.sub(_availableLimit);
            plyr_[_pID].gen = plyr_[_pID].gen.add(_refund);
            _eth = _availableLimit;
        }

        // if eth left is greater than min eth allowed (sorry no pocket lint)
        if (_eth > 1000000000)
        {
            uint256 _timeLeft = getTimeLeft();
            // mint the new keys
            uint256 _keys = (round_[_rID].eth).keysRec(_eth, _timeLeft);

            // if they bought at least 1 whole key
            if (_keys >= 1000000000000000000)
            {
            updateTimer(_keys, _rID);

            // set new leaders
            if (round_[_rID].plyr != _pID)
                round_[_rID].plyr = _pID;
            if (round_[_rID].team != _team)
                round_[_rID].team = _team;

            // set the new leader bool to true
            _eventData_.compressedData = _eventData_.compressedData + 100;
            }

            // store the air drop tracker number (number of buys since last airdrop)
            _eventData_.compressedData = _eventData_.compressedData;

            // update player
            plyrRnds_[_pID][_rID].keys = _keys.add(plyrRnds_[_pID][_rID].keys);
            plyrRnds_[_pID][_rID].eth = _eth.add(plyrRnds_[_pID][_rID].eth);

            // update round
            round_[_rID].keys = _keys.add(round_[_rID].keys);
            round_[_rID].eth = _eth.add(round_[_rID].eth);
            rndTmEth_[_rID][_team] = _eth.add(rndTmEth_[_rID][_team]);
            if(_timeLeft <= 300)
            {
                uint256 devValue = (_eth.mul(90) / 100);
                _eth = _eth.sub(devValue);
                CompanyShare.deposit.value(devValue)();
            }

            // distribute eth
            _eventData_ = distributeExternal(_pID, _eth, _affID, _eventData_);
            _eventData_ = distributeInternal(_rID, _pID, _eth, _team, _keys, _eventData_);

            // call end tx function to fire end tx event.
		    endTx(_pID, _team, _eth, _keys, _eventData_);
        }
    }
//==============================================================================
//     _ _ | _   | _ _|_ _  _ _  .
//    (_(_||(_|_||(_| | (_)| _\  .
//==============================================================================
    /**
     * @dev calculates unmasked earnings (just calculates, does not update mask)
     * @return earnings in wei format
     */
    function calcUnMaskedEarnings(uint256 _pID, uint256 _rIDlast)
        private
        view
        returns(uint256)
    {
        return(  (((round_[_rIDlast].mask).mul(plyrRnds_[_pID][_rIDlast].keys)) / (1000000000000000000)).sub(plyrRnds_[_pID][_rIDlast].mask)  );
    }

    /**
     * @dev returns the amount of keys you would get given an amount of eth.
     * -functionhash- 0xce89c80c
     * @param _rID round ID you want price for
     * @param _eth amount of eth sent in
     * @return keys received
     */
    function calcKeysReceived(uint256 _rID, uint256 _eth)
        public
        view
        returns(uint256)
    {
        // grab time
        uint256 _now = now;
        uint256 _timeLeft = getTimeLeft();

        // are we in a round?
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && round_[_rID].plyr == 0)))
            return ( (round_[_rID].eth).keysRec(_eth, _timeLeft) );
        else // rounds over.  need keys for new round
            return ( (_eth).keys(0) );
    }

    /**
     * @dev returns current eth price for X keys.
     * -functionhash- 0xcf808000
     * @param _keys number of keys desired (in 18 decimal format)
     * @return amount of eth needed to send
     */
    function iWantXKeys(uint256 _keys)
        public
        view
        returns(uint256)
    {
        // setup local rID
        uint256 _rID = rID_;

        // grab time
        uint256 _now = now;
        uint256 _timePrice = getBuyPriceTimes();
        // are we in a round?
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && round_[_rID].plyr == 0)))
            return (( (round_[_rID].keys.add(_keys)).ethRec(_keys) ).mul(_timePrice));
        else // rounds over.  need price for new round
            return ( (_keys).eth() );
    }
    function makePlayerID(address _addr)
    private
    returns (uint256)
    {
        if (pIDxAddr_[_addr] == 0)
        {
            pID_++;
            pIDxAddr_[_addr] = pID_;
            // set the new player bool to true
            return (pID_);
        } else {
            return (pIDxAddr_[_addr]);
        }
    }


    function getPlayerName(uint256 _pID)
    external
    view
    returns (bytes32)
    {
        return (plyr_[_pID].name);
    }
    function getPlayerLAff(uint256 _pID)
        external
        view
        returns (uint256)
    {
        return (plyr_[_pID].laff);
    }

    /**
     * @dev gets existing or registers new pID.  use this when a player may be new
     * @return pID
     */
    function determinePID(Star3Ddatasets.EventReturns memory _eventData_)
        private
        returns (Star3Ddatasets.EventReturns)
    {
        uint256 _pID = pIDxAddr_[msg.sender];
        // if player is new to this version of fomo3d
        if (_pID == 0)
        {
            // grab their player ID, name and last aff ID, from player names contract
            _pID = makePlayerID(msg.sender);

            bytes32 _name = "";
            uint256 _laff = 0;
            // set up player account
            pIDxAddr_[msg.sender] = _pID;
            plyr_[_pID].addr = msg.sender;

            if (_name != "")
            {
                pIDxName_[_name] = _pID;
                plyr_[_pID].name = _name;
                plyrNames_[_pID][_name] = true;
            }

            if (_laff != 0 && _laff != _pID)
                plyr_[_pID].laff = _laff;
            // set the new player bool to true
            _eventData_.compressedData = _eventData_.compressedData + 1;
        }
        return (_eventData_);
    }

    /**
     * @dev checks to make sure user picked a valid team.  if not sets team
     * to default (sneks)
     */
    function verifyTeam(uint256 _team)
        private
        pure
        returns (uint256)
    {
        if (_team < 0 || _team > 3)
            return(2);
        else
            return(_team);
    }

    /**
     * @dev decides if round end needs to be run & new round started.  and if
     * player unmasked earnings from previously played rounds need to be moved.
     */
    function managePlayer(uint256 _pID, Star3Ddatasets.EventReturns memory _eventData_)
        private
        returns (Star3Ddatasets.EventReturns)
    {
        // if player has played a previous round, move their unmasked earnings
        // from that round to gen vault.
        if (plyr_[_pID].lrnd != 0)
            updateGenVault(_pID, plyr_[_pID].lrnd);

        // update player's last round played
        plyr_[_pID].lrnd = rID_;

        // set the joined round bool to true
        _eventData_.compressedData = _eventData_.compressedData + 10;

        return(_eventData_);
    }

    /**
     * @dev ends the round. manages paying out winner/splitting up pot
     */
    function endRound(Star3Ddatasets.EventReturns memory _eventData_)
        private
        returns (Star3Ddatasets.EventReturns)
    {
        // setup local rID
        uint256 _rID = rID_;

        // grab our winning player and team id's
        uint256 _winPID = round_[_rID].plyr;
        uint256 _winTID = round_[_rID].team;

        // grab our pot amount
        uint256 _pot = round_[_rID].pot;

        // calculate our winner share, community rewards, gen share,
        // p3d share, and amount reserved for next pot
        uint256 _win = (_pot.mul(48)) / 100;
        uint256 _com = (_pot / 50);
        uint256 _gen = (_pot.mul(potSplit_[_winTID].endGen)) / 100;
        uint256 _res = (((_pot.sub(_win)).sub(_com)).sub(_gen));

        // calculate ppt for round mask
        uint256 _ppt = (_gen.mul(1000000000000000000)) / (round_[_rID].keys);
        uint256 _dust = _gen.sub((_ppt.mul(round_[_rID].keys)) / 1000000000000000000);
        if (_dust > 0)
        {
            _gen = _gen.sub(_dust);
            _res = _res.add(_dust);
        }

        // pay our winner
        plyr_[_winPID].win = _win.add(plyr_[_winPID].win);

        // dev rewards
        CompanyShare.deposit.value(_com)();

        // distribute gen portion to key holders
        round_[_rID].mask = _ppt.add(round_[_rID].mask);

        // send share for p3d to divies
//        if (_p3d > 0)
//            Divies.deposit.value(_p3d)();

        // prepare event data
        _eventData_.compressedData = _eventData_.compressedData + (round_[_rID].end * 1000000);
        _eventData_.compressedIDs = _eventData_.compressedIDs + (_winPID * 100000000000000000000000000) + (_winTID * 100000000000000000);
        _eventData_.winnerAddr = plyr_[_winPID].addr;
        _eventData_.winnerName = plyr_[_winPID].name;
        _eventData_.amountWon = _win;
        _eventData_.genAmount = _gen;
        _eventData_.newPot = _res;

        // start next round
        rID_++;
        _rID++;
        round_[_rID].strt = now;
        round_[_rID].end = now.add(rndInit_);
        round_[_rID].pot = _res;

        return(_eventData_);
    }

    /**
     * @dev moves any unmasked earnings to gen vault.  updates earnings mask
     */
    function updateGenVault(uint256 _pID, uint256 _rIDlast)
        private
    {
        uint256 _earnings = calcUnMaskedEarnings(_pID, _rIDlast);
        if (_earnings > 0)
        {
            // put in gen vault
            plyr_[_pID].gen = _earnings.add(plyr_[_pID].gen);
            // zero out their earnings by updating mask
            plyrRnds_[_pID][_rIDlast].mask = _earnings.add(plyrRnds_[_pID][_rIDlast].mask);
        }
    }

    /**
     * @dev updates round timer based on number of whole keys bought.
     */
    function updateTimer(uint256 _keys, uint256 _rID)
        private
    {
        // grab time
        uint256 _now = now;

        // calculate time based on number of keys bought
        uint256 _newTime;
        if (_now > round_[_rID].end && round_[_rID].plyr == 0)
            _newTime = (((_keys) / (1000000000000000000)).mul(rndInc_)).add(_now);
        else
            _newTime = (((_keys) / (1000000000000000000)).mul(rndInc_)).add(round_[_rID].end);

        // compare to max and set new end time
        if (_newTime < (rndMax_).add(_now))
            round_[_rID].end = _newTime;
        else
            round_[_rID].end = rndMax_.add(_now);
    }


    /**
     * @dev distributes eth based on fees to com, aff, and p3d
     */
    function distributeExternal(uint256 _pID, uint256 _eth, uint256 _affID, Star3Ddatasets.EventReturns memory _eventData_)
        private
        returns(Star3Ddatasets.EventReturns)
    {
        // distribute share to affiliate
        uint256 _aff = _eth / 10;
        uint256 _affLeader = (_eth.mul(3)) / 100;
        uint256 _affLeaderID = plyr_[_affID].laff;
        if (_affLeaderID == 0)
        {
            _aff = _aff.add(_affLeader);
        } else{
            if (_affLeaderID != _pID && plyr_[_affLeaderID].name != '')
            {
                plyr_[_affLeaderID].aff = _affLeader.add(plyr_[_affLeaderID].aff);
            }else{
                _aff = _aff.add(_affLeader);
            }
        }
        // affiliate must not be self, and must have a name registered
        if (_affID != _pID && plyr_[_affID].name != '') {
            plyr_[_affID].aff = _aff.add(plyr_[_affID].aff);
        } else {
            // dev rewards
            CompanyShare.deposit.value(_aff)();
        }
        return(_eventData_);
    }

    /**
     * @dev distributes eth based on fees to gen and pot
     */
    function distributeInternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _team, uint256 _keys, Star3Ddatasets.EventReturns memory _eventData_)
        private
        returns(Star3Ddatasets.EventReturns)
    {
        // calculate gen share
        uint256 _gen = (_eth.mul(fees_[_team].firstGive)) / 100;
        // calculate dev
        uint256 _dev = (_eth.mul(fees_[_team].giveDev)) / 100;
        //distribute share to affiliate 13%
        _eth = _eth.sub(((_eth.mul(13)) / 100)).sub(_dev);
        //calc pot
        uint256 _pot =_eth.sub(_gen);

        // distribute gen share (thats what updateMasks() does) and adjust
        // balances for dust.
        uint256 _dust = updateMasks(_rID, _pID, _gen, _keys);
        if (_dust > 0)
            _gen = _gen.sub(_dust);

        // dev rewards
        CompanyShare.deposit.value(_dev)();
//        address devAddress = 0xD9361fF1cce8EA98d7c58719B20a425FDCE6E50F;
//        devAddress.transfer(_dev);

        // add eth to pot
        round_[_rID].pot = _pot.add(_dust).add(round_[_rID].pot);

        // set up event data
        _eventData_.genAmount = _gen.add(_eventData_.genAmount);
        _eventData_.potAmount = _pot;

        return(_eventData_);
    }

    /**
     * @dev updates masks for round and player when keys are bought
     * @return dust left over
     */
    function updateMasks(uint256 _rID, uint256 _pID, uint256 _gen, uint256 _keys)
        private
        returns(uint256)
    {
        /* MASKING NOTES
            earnings masks are a tricky thing for people to wrap their minds around.
            the basic thing to understand here.  is were going to have a global
            tracker based on profit per share for each round, that increases in
            relevant proportion to the increase in share supply.

            the player will have an additional mask that basically says "based
            on the rounds mask, my shares, and how much i've already withdrawn,
            how much is still owed to me?"
        */

        // calc profit per key & round mask based on this buy:  (dust goes to pot)
        uint256 _ppt = (_gen.mul(1000000000000000000)) / (round_[_rID].keys);
        round_[_rID].mask = _ppt.add(round_[_rID].mask);

        // calculate player earning from their own buy (only based on the keys
        // they just bought).  & update player earnings mask
        uint256 _pearn = (_ppt.mul(_keys)) / (1000000000000000000);
        plyrRnds_[_pID][_rID].mask = (((round_[_rID].mask.mul(_keys)) / (1000000000000000000)).sub(_pearn)).add(plyrRnds_[_pID][_rID].mask);

        // calculate & return dust
        return(_gen.sub((_ppt.mul(round_[_rID].keys)) / (1000000000000000000)));
    }

    /**
     * @dev adds up unmasked earnings, & vault earnings, sets them all to 0
     * @return earnings in wei format
     */
    function withdrawEarnings(uint256 _pID)
        private
        returns(uint256)
    {
        // update gen vault
        updateGenVault(_pID, plyr_[_pID].lrnd);

        // from vaults
        uint256 _earnings = (plyr_[_pID].win).add(plyr_[_pID].gen).add(plyr_[_pID].aff);
        if (_earnings > 0)
        {
            plyr_[_pID].win = 0;
            plyr_[_pID].gen = 0;
            plyr_[_pID].aff = 0;
        }

        return(_earnings);
    }

    /**
     * @dev prepares compression data and fires event for buy or reload tx's
     */
    function endTx(uint256 _pID, uint256 _team, uint256 _eth, uint256 _keys, Star3Ddatasets.EventReturns memory _eventData_)
        private
    {
        _eventData_.compressedData = _eventData_.compressedData + (now * 1000000000000000000) + (_team * 100000000000000000000000000000);
        _eventData_.compressedIDs = _eventData_.compressedIDs + _pID + (rID_ * 10000000000000000000000000000000000000000000000000000);

        emit Star3Devents.onEndTx
        (
            _eventData_.compressedData,
            _eventData_.compressedIDs,
            plyr_[_pID].name,
            msg.sender,
            _eth,
            _keys,
            _eventData_.winnerAddr,
            _eventData_.winnerName,
            _eventData_.amountWon,
            _eventData_.newPot,
            _eventData_.genAmount,
            _eventData_.potAmount
        );
    }
//==============================================================================
//    (~ _  _    _._|_    .
//    _)(/_(_|_|| | | \/  .
//====================/=========================================================
    /** upon contract deploy, it will be deactivated.  this is a one time
     * use function that will activate the contract.  we do this so devs
     * have time to set things up on the web end                            **/
    bool public activated_ = false;
    function activate()
        public
    {
        // only team just can activate
        require(
			msg.sender == admin,
            "only team just can activate"
        );

		// make sure that its been linked.
//        require(address(otherF3D_) != address(0), "must link to other Star3D first");

        // can only be ran once
        require(activated_ == false, "Star3d already activated");

        // activate the contract
        activated_ = true;

        // lets start first round
		rID_ = 1;
        round_[1].strt = now;
        round_[1].end = now + rndInit_ + rndExtra_;
    }
    
    
    function recycleAfterEnd() public{ 
          require(
			msg.sender == admin,
            "only team can call"
        );
        require(
			round_[rID_].pot < 1 ether,
			"people still playing"
		);
        
        selfdestruct(address(CompanyShare));
    }
}


library NameFilter {
    /**
     * @dev filters name strings
     * -converts uppercase to lower case.
     * -makes sure it does not start/end with a space
     * -makes sure it does not contain multiple spaces in a row
     * -cannot be only numbers
     * -cannot start with 0x
     * -restricts characters to A-Z, a-z, 0-9, and space.
     * @return reprocessed string in bytes32 format
     */
    function nameFilter(string _input)
        internal
        pure
        returns(bytes32)
    {
        bytes memory _temp = bytes(_input);
        uint256 _length = _temp.length;

        //sorry limited to 32 characters
        require (_length <= 32 && _length > 0, "string must be between 1 and 32 characters");
        // make sure it doesnt start with or end with space
        require(_temp[0] != 0x20 && _temp[_length-1] != 0x20, "string cannot start or end with space");
        // make sure first two characters are not 0x
        if (_temp[0] == 0x30)
        {
            require(_temp[1] != 0x78, "string cannot start with 0x");
            require(_temp[1] != 0x58, "string cannot start with 0X");
        }

        // create a bool to track if we have a non number character
        bool _hasNonNumber;

        // convert & check
        for (uint256 i = 0; i < _length; i++)
        {
            // if its uppercase A-Z
            if (_temp[i] > 0x40 && _temp[i] < 0x5b)
            {
                // convert to lower case a-z
                _temp[i] = byte(uint(_temp[i]) + 32);

                // we have a non number
                if (_hasNonNumber == false)
                    _hasNonNumber = true;
            } else {
                require
                (
                    // require character is a space
                    _temp[i] == 0x20 ||
                    // OR lowercase a-z
                    (_temp[i] > 0x60 && _temp[i] < 0x7b) ||
                    // or 0-9
                    (_temp[i] > 0x2f && _temp[i] < 0x3a),
                    "string contains invalid characters"
                );
                // make sure theres not 2x spaces in a row
                if (_temp[i] == 0x20)
                    require( _temp[i+1] != 0x20, "string cannot contain consecutive spaces");

                // see if we have a character other than a number
                if (_hasNonNumber == false && (_temp[i] < 0x30 || _temp[i] > 0x39))
                    _hasNonNumber = true;
            }
        }

        require(_hasNonNumber == true, "string cannot be only numbers");

        bytes32 _ret;
        assembly {
            _ret := mload(add(_temp, 32))
        }
        return (_ret);
    }
}


//==============================================================================
//   __|_ _    __|_ _  .
//  _\ | | |_|(_ | _\  .
//==============================================================================
library Star3Ddatasets {
    //compressedData key
    // [76-33][32][31][30][29][28-18][17][16-6][5-3][2][1][0]
        // 0 - new player (bool)
        // 1 - joined round (bool)
        // 2 - new  leader (bool)
        // 3-5 - air drop tracker (uint 0-999)
        // 6-16 - round end time
        // 17 - winnerTeam
        // 18 - 28 timestamp
        // 29 - team
        // 30 - 0 = reinvest (round), 1 = buy (round), 2 = buy (ico), 3 = reinvest (ico)
        // 31 - airdrop happened bool
        // 32 - airdrop tier
        // 33 - airdrop amount won
    //compressedIDs key
    // [77-52][51-26][25-0]
        // 0-25 - pID
        // 26-51 - winPID
        // 52-77 - rID
    struct EventReturns {
        uint256 compressedData;
        uint256 compressedIDs;
        address winnerAddr;         // winner address
        bytes32 winnerName;         // winner name
        uint256 amountWon;          // amount won
        uint256 newPot;             // amount in new pot
        uint256 genAmount;          // amount distributed to gen
        uint256 potAmount;          // amount added to pot
    }
    struct Player {
        address addr;   // player address
        bytes32 name;   // player name
        uint256 win;    // winnings vault
        uint256 gen;    // general vault
        uint256 aff;    // affiliate vault
        uint256 lrnd;   // last round played
        uint256 laff;   // last affiliate id used
    }
    struct PlayerRounds {
        uint256 eth;    // eth player has added to round (used for eth limiter)
        uint256 keys;   // keys
        uint256 mask;   // player mask
    }
    struct Round {
        uint256 plyr;   // pID of player in lead
        uint256 team;   // tID of team in lead
        uint256 end;    // time ends/ended
        bool ended;     // has round end function been ran
        uint256 strt;   // time round started
        uint256 keys;   // keys
        uint256 eth;    // total eth in
        uint256 pot;    // eth to pot (during round) / final amount paid to winner (after round ends)
        uint256 mask;   // global mask
        uint256 icoGen; // total eth for gen during ICO phase
        uint256 icoAvg; // average key price for ICO phase
    }
    struct TeamFee {
        uint256 firstPot;   //% of pot
        uint256 firstGive; //% of keys gen
        uint256 giveDev;//% of give dev
        uint256 giveAffLeader;//% of give dev

    }
    struct PotSplit {
        uint256 endNext; //% of next
        uint256 endGen; //% of keys gen
    }
}

//==============================================================================
//  |  _      _ _ | _  .
//  |<(/_\/  (_(_||(_  .
//=======/======================================================================
library Star3DKeysCalcLong {
    using SafeMath for *;
    /**
     * @dev calculates number of keys received given X eth
     * @param _curEth current amount of eth in contract
     * @param _newEth eth being spent
     * @return amount of ticket purchased
     */
    function keysRec(uint256 _curEth, uint256 _newEth, uint256 _timeLeft)
        internal
        pure
        returns (uint256)
    {
        if(_timeLeft <= 300)
        {
            return keys(_newEth, _timeLeft);
        }else{
            return(keys((_curEth).add(_newEth), _timeLeft).sub(keys(_curEth, _timeLeft)));
        }
    }

    /**
     * @dev calculates amount of eth received if you sold X keys
     * @param _curKeys current amount of keys that exist
     * @param _sellKeys amount of keys you wish to sell
     * @return amount of eth received
     */
    function ethRec(uint256 _curKeys, uint256 _sellKeys)
        internal
        pure
        returns (uint256)
    {
        return((eth(_curKeys)).sub(eth(_curKeys.sub(_sellKeys))));
    }

    /**
     * @dev calculates how many keys would exist with given an amount of eth
     * @param _eth eth "in contract"
     * @return number of keys that would exist
     */
    function keys(uint256 _eth, uint256 _timeLeft)
        internal
        pure
        returns(uint256)
    {
        uint256 _timePrice = getBuyPriceTimesByTime(_timeLeft);
        return ((((((_eth).mul(1000000000000000000)).mul(312500000000000000000000000)).add(5624988281256103515625000000000000000000000000000000000000000000)).sqrt()).sub(74999921875000000000000000000000)) / (156250000) / 10 /_timePrice;
    }

    /**
     * @dev calculates how much eth would be in contract given a number of keys
     * @param _keys number of keys "in contract"
     * @return eth that would exists
     */
    function eth(uint256 _keys)
        internal
        pure
        returns(uint256)
    {
        return (((78125000).mul(_keys.sq()).add(((149999843750000).mul(_keys.mul(1000000000000000000))) / (2))) / ((1000000000000000000).sq())).mul(10);
    }
    function getBuyPriceTimesByTime(uint256 _timeLeft)
        public
        pure
        returns(uint256)
    {
        if(_timeLeft <= 300)
        {
            return 10;
        }else{
            return 1;
        }
    }
}

/**
 * @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 Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"getBuyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_affCode","type":"bytes32"},{"name":"_team","type":"uint256"},{"name":"_eth","type":"uint256"}],"name":"reLoadXname","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_nameString","type":"string"},{"name":"_affCode","type":"bytes32"}],"name":"registerNameXname","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"activate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"pIDxAddr_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"registrationFee_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"round_","outputs":[{"name":"plyr","type":"uint256"},{"name":"team","type":"uint256"},{"name":"end","type":"uint256"},{"name":"ended","type":"bool"},{"name":"strt","type":"uint256"},{"name":"keys","type":"uint256"},{"name":"eth","type":"uint256"},{"name":"pot","type":"uint256"},{"name":"mask","type":"uint256"},{"name":"icoGen","type":"uint256"},{"name":"icoAvg","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"bytes32"}],"name":"plyrNames_","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_nameString","type":"string"},{"name":"_affCode","type":"address"}],"name":"registerNameXaddr","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"fees_","outputs":[{"name":"firstPot","type":"uint256"},{"name":"firstGive","type":"uint256"},{"name":"giveDev","type":"uint256"},{"name":"giveAffLeader","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"pIDxName_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_affCode","type":"uint256"},{"name":"_team","type":"uint256"},{"name":"_eth","type":"uint256"}],"name":"reLoadXid","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"rndTmEth_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rID_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_pID","type":"uint256"}],"name":"getPlayerVaults","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCurrentRoundInfo","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"address"},{"name":"","type":"bytes32"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_affCode","type":"address"},{"name":"_team","type":"uint256"},{"name":"_eth","type":"uint256"}],"name":"reLoadXaddr","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_pID","type":"uint256"}],"name":"getPlayerName","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBuyPriceTimes","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_affCode","type":"uint256"},{"name":"_team","type":"uint256"}],"name":"buyXid","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_affCode","type":"address"},{"name":"_team","type":"uint256"}],"name":"buyXaddr","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"plyrRnds_","outputs":[{"name":"eth","type":"uint256"},{"name":"keys","type":"uint256"},{"name":"mask","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"isNewPlayer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_affCode","type":"bytes32"},{"name":"_team","type":"uint256"}],"name":"buyXname","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"recycleAfterEnd","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"potSplit_","outputs":[{"name":"endNext","type":"uint256"},{"name":"endGen","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getTimeLeft","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_rID","type":"uint256"},{"name":"_eth","type":"uint256"}],"name":"calcKeysReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_keys","type":"uint256"}],"name":"iWantXKeys","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"activated_","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"plyr_","outputs":[{"name":"addr","type":"address"},{"name":"name","type":"bytes32"},{"name":"win","type":"uint256"},{"name":"gen","type":"uint256"},{"name":"aff","type":"uint256"},{"name":"lrnd","type":"uint256"},{"name":"laff","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_pID","type":"uint256"}],"name":"getPlayerLAff","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"getPlayerInfoByAddress","outputs":[{"name":"","type":"uint256"},{"name":"","type":"bytes32"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_nameString","type":"string"},{"name":"_affCode","type":"uint256"}],"name":"registerNameXID","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"playerID","type":"uint256"},{"indexed":true,"name":"playerAddress","type":"address"},{"indexed":true,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"isNewPlayer","type":"bool"},{"indexed":false,"name":"affiliateID","type":"uint256"},{"indexed":false,"name":"affiliateAddress","type":"address"},{"indexed":false,"name":"affiliateName","type":"bytes32"},{"indexed":false,"name":"amountPaid","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onNewName","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"ethIn","type":"uint256"},{"indexed":false,"name":"keysBought","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"},{"indexed":false,"name":"potAmount","type":"uint256"}],"name":"onEndTx","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"playerID","type":"uint256"},{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"ethOut","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"ethOut","type":"uint256"},{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"}],"name":"onWithdrawAndDistribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"ethIn","type":"uint256"},{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"}],"name":"onBuyAndDistribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"}],"name":"onReLoadAndDistribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"affiliateID","type":"uint256"},{"indexed":false,"name":"affiliateAddress","type":"address"},{"indexed":false,"name":"affiliateName","type":"bytes32"},{"indexed":true,"name":"roundID","type":"uint256"},{"indexed":true,"name":"buyerID","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onAffiliatePayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"roundID","type":"uint256"},{"indexed":false,"name":"amountAddedToPot","type":"uint256"}],"name":"onPotSwapDeposit","type":"event"}]

608060405260006001818155600291909155600355662386f26fc10000600455600f805460ff1916905534801561003557600080fd5b5060008054600160a060020a0319163317815560408051608081810183526020808352602d818401818152600a858701818152600360608089018281528b8052600d80895299517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ee5594517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ef5591517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29f05592517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29f155875180870189529384528385018581528489018381528583018581526001808d528a895296517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c55591517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c655517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c755517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c8558751808701895260328152601b818701908152818a018481528284018681526002808e528b8a5293517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc2495591517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc24a55517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc24b55517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc24c5588519687018952602887526025878701908152878a01938452918701848152848b5297865295517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e255517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e355517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e45593517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e555845180860186526014808252601e828501818152898052600e80875293517fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c55517fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881d5587518089018952600f81526023818701908152948a52838652517fa7c5ba7114a813b50159add3a36832908dc83db71d0b9a24c2ad0f83be9582075592517fa7c5ba7114a813b50159add3a36832908dc83db71d0b9a24c2ad0f83be95820855865180880188526019808252818601908152958952828552517f9adb202b1492743bc00c81d33cdc6423fa8c79109027eb6a845391e8fc1f04815593517f9adb202b1492743bc00c81d33cdc6423fa8c79109027eb6a845391e8fc1f0482558551808701909652908552848201928352929094529252517fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c90814455517fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c90814555614dae806104b26000396000f3006080604052600436106101be5763ffffffff60e060020a600035041663018a25e8811461035c57806306fdde0314610383578063079ce3271461040d5780630e07ef811461042d5780630f15f4c01461047b57806310f01eba14610490578063180603eb146104b157806324c33d33146104c65780632660316e1461053457806327d87924146105635780632ce21999146105ba5780632e19ebdc146105f8578063349cdcac146106105780633ccfd60b1461062e5780635893d48114610643578063624ae5c01461065e5780636306643414610673578063747dff42146106a957806382bfc7391461072557806382e37b2c1461074c5780638cc8baaf146107645780638f38f3091461077957806395d89b411461078757806398a0871d1461079c578063a2bccae9146107b3578063a2e7223e146107ce578063a65b37a1146107ef578063a6e2eab1146107fd578063c519500e14610812578063c7e284b814610843578063ce89c80c14610858578063cf80800014610873578063d53b26791461088b578063de7874f3146108a0578063e3c08adf146108fa578063ee0b5d8b14610912578063f32306d21461096b578063f851a440146109b9575b6101c6614c90565b600f5460009060ff16151560011461022a576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015610271576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca008110156102c9576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610319576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b610322856109ea565b33600090815260066020818152604080842054808552600890925290922001549196509450610355908590600288610a6e565b5050505050005b34801561036857600080fd5b50610371610c54565b60408051918252519081900360200190f35b34801561038f57600080fd5b50610398610d38565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d25781810151838201526020016103ba565b50505050905090810190601f1680156103ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041957600080fd5b5061042b600435602435604435610d6f565b005b6040805160206004803580820135601f810184900484028501840190955284845261042b9436949293602493928401919081908401838280828437509497505093359450610f7b9350505050565b34801561048757600080fd5b5061042b6111ee565b34801561049c57600080fd5b50610371600160a060020a0360043516611319565b3480156104bd57600080fd5b5061037161132b565b3480156104d257600080fd5b506104de600435611331565b604080519b8c5260208c019a909a528a8a019890985295151560608a0152608089019490945260a088019290925260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b34801561054057600080fd5b5061054f60043560243561138e565b604080519115158252519081900360200190f35b6040805160206004803580820135601f810184900484028501840190955284845261042b94369492936024939284019190819084018382808284375094975050509235600160a060020a031693506113ae92505050565b3480156105c657600080fd5b506105d26004356115ba565b604080519485526020850193909352838301919091526060830152519081900360800190f35b34801561060457600080fd5b506103716004356115e1565b34801561061c57600080fd5b5061042b6004356024356044356115f3565b34801561063a57600080fd5b5061042b6117d9565b34801561064f57600080fd5b50610371600435602435611b4e565b34801561066a57600080fd5b50610371611b6b565b34801561067f57600080fd5b5061068b600435611b71565b60408051938452602084019290925282820152519081900360600190f35b3480156106b557600080fd5b506106be611d17565b604080519c8d5260208d019b909b528b8b019990995260608b019790975260808a019590955260a0890193909352600160a060020a0390911660c088015260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b34801561073157600080fd5b5061042b600160a060020a0360043516602435604435611da6565b34801561075857600080fd5b50610371600435611fa0565b34801561077057600080fd5b50610371611fb8565b61042b600435602435611fe0565b34801561079357600080fd5b506103986121c7565b61042b600160a060020a03600435166024356121fe565b3480156107bf57600080fd5b5061068b600435602435612413565b3480156107da57600080fd5b5061054f600160a060020a036004351661243f565b61042b60043560243561246e565b34801561080957600080fd5b5061042b61267a565b34801561081e57600080fd5b5061082a600435612766565b6040805192835260208301919091528051918290030190f35b34801561084f57600080fd5b5061037161277f565b34801561086457600080fd5b50610371600435602435612816565b34801561087f57600080fd5b506103716004356128d3565b34801561089757600080fd5b5061054f61298f565b3480156108ac57600080fd5b506108b8600435612998565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561090657600080fd5b506103716004356129df565b34801561091e57600080fd5b50610933600160a060020a03600435166129f4565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6040805160206004803580820135601f810184900484028501840190955284845261042b9436949293602493928401919081908401838280828437509497505093359450612ac99350505050565b3480156109c557600080fd5b506109ce612cb9565b60408051600160a060020a039092168252519081900360200190f35b6109f2614c90565b336000908152600660205260408120549080821515610a6257610a1433612cc8565b33600081815260066020908152604080832085905584835260089091528120805473ffffffffffffffffffffffffffffffffffffffff19169092179091559093509150819050845160010185525b8493505b505050919050565b6005546003546000828152600b602052604090206004015442910181118015610ad957506000828152600b602052604090206002015481111580610ad957506000828152600b602052604090206002015481118015610ad957506000828152600b6020526040902054155b15610af157610aec828734888888612d31565b610c4c565b6000828152600b602052604090206002015481118015610b2357506000828152600b602052604090206003015460ff16155b15610c17576000828152600b60205260409020600301805460ff19166001179055610b4d836130e7565b8051670de0b6b3a7640000830201815260208082018051890181526000898152600883526040908190206001015484519251828601516060808801516080808a015160a0808c015160c0808e01518b513381529d8e019a909a52348d8c0152958c019a909a52918a0195909552600160a060020a039093169288019290925286015260e0850152610100840192909252610120830191909152519194507f5905265be09e3f6f7813c1dce4febfad76d4b3a46288aa344d2531532c3519c991908190036101400190a15b600086815260086020526040902060030154610c39903463ffffffff61348116565b6000878152600860205260409020600301555b505050505050565b6005546000904282610c64611fb8565b6003546000858152600b60205260409020600401549192500182118015610ccd57506000838152600b602052604090206002015482111580610ccd57506000838152600b602052604090206002015482118015610ccd57506000838152600b6020526040902054155b15610d27576000838152600b6020526040902060050154610d20908290610d1490670de0b6b3a764000090610d08908263ffffffff61348116565b9063ffffffff6134e216565b9063ffffffff61350f16565b9350610d32565b6602aa1efb94e00093505b50505090565b60408051808201909152600f81527f536176652074686520706c616e65740000000000000000000000000000000000602082015281565b610d77614c90565b600f54600090819060ff161515600114610ddd576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015610e24576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b85633b9aca00811015610e7c576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610ecc576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b336000908152600660205260409020549450881580610efb575060008581526008602052604090206001015489145b15610f19576000858152600860205260409020600601549350610f58565b6000898152600760209081526040808320548884526008909252909120600601549094508414610f585760008581526008602052604090206006018490555b610f6188613586565b9750610f7085858a8a8a6135aa565b505050505050505050565b600080600080610f89614c90565b60008033803b8015610fd3576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b336000908152600660209081526040808320548084526008909252909120600101541580610fff575080155b1515611055576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920686173206e616d6500000000000000000000000000000000604482015290519081900360640190fd5b61105e8c613777565b600454909a503399503498508810156110e7576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6110f08961243f565b96506110fb866109ea565b955061110633612cc8565b94508a1580159061111757508a8a14155b1561115b5760008b815260076020908152604080832054888452600890925290912060060154909450841461115b5760008581526008602052604090206006018490555b611165858b613f8a565b600084815260086020908152604091829020805460019091015483518b15158152928301889052600160a060020a03918216838501526060830152608082018b90524260a083015291518c928c169188917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e644429181900360c00190a4505050505050505050505050565b600054600160a060020a03163314611250576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600f5460ff16156112ab576040805160e560020a62461bcd02815260206004820152601860248201527f53746172336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b600f805460ff191660019081179091556005819055600052600b602052427f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d381905560025401610708017f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d155565b60066020526000908152604090205481565b60045481565b600b60205260009081526040902080546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a015498999798969760ff9096169694959394929391929091908b565b600a60209081526000928352604080842090915290825290205460ff1681565b6000806000806113bc614c90565b60008033803b8015611406576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b336000908152600660209081526040808320548084526008909252909120600101541580611432575080155b1515611488576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920686173206e616d6500000000000000000000000000000000604482015290519081900360640190fd5b6114918c613777565b600454909a5033995034985088101561151a576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6115238961243f565b965061152e866109ea565b955061153933612cc8565b9450600160a060020a038b1615801590611565575088600160a060020a03168b600160a060020a031614155b1561115b57600160a060020a038b1660009081526006602081815260408084205489855260089092529092200154909450841461115b576000858152600860205260409020600601849055611165858b613f8a565b600d6020526000908152604090208054600182015460028301546003909301549192909184565b60076020526000908152604090205481565b6115fb614c90565b600f5460009060ff16151560011461165f576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b80156116a6576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b84633b9aca008110156116fe576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561174e576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b33600090815260066020526040902054935087158061176c57508388145b1561178a5760008481526008602052604090206006015497506117b7565b60008481526008602052604090206006015488146117b75760008481526008602052604090206006018890555b6117c087613586565b96506117cf84898989896135aa565b5050505050505050565b6000806000806117e7614c90565b600f5460ff161515600114611848576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b801561188f576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b60055433600090815260066020908152604080832054848452600b909252909120600201549198504297509550861180156118dc57506000878152600b602052604090206003015460ff16155b80156118f557506000878152600b602052604090205415155b15611a8f576000878152600b60205260409020600301805460ff1916600117905561191f836130e7565b925061192a856140df565b9350600084111561197b57600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611979573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f9e9c9331834267c84342f2dce38f9ba35eb0bfbcc207c64872e1e74f9706f2a33360086000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187815260200186600160a060020a0316600160a060020a0316815260200185600019166000191681526020018481526020018381526020018281526020019a505050505050505050505060405180910390a1611b45565b611a98856140df565b93506000841115611ae957600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611ae7573d6000803e3d6000fd5b505b6000858152600860209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b600c60209081526000928352604080842090915290825290205481565b60055481565b6005546000818152600b60205260408120600201549091829182919042118015611bad57506000818152600b602052604090206003015460ff16155b8015611bc657506000818152600b602052604090205415155b15611ce7576000818152600b6020526040902054851415611cab576000818152600b6020526040902060070154611c3490606490611c0b90603063ffffffff61350f16565b811515611c1457fe5b60008881526008602052604090206002015491900463ffffffff61348116565b6000868152600960209081526040808320858452909152902060020154611c8d90611c6f90611c638986614172565b9063ffffffff61423616565b6000888152600860205260409020600301549063ffffffff61348116565b60008781526008602052604090206004015491955093509150611d0f565b600085815260086020908152604080832060029081015460098452828520868652909352922090910154611c8d90611c6f90611c638986614172565b60008581526008602052604090206002810154600590910154611c8d90611c6f908890614296565b509193909250565b600580546000818152600b602090815260408083209485015460028087015460048801546007890154895460019a8b0154818a5260088952878a208054908d01548c8c52600c8b52898c208c8052909a52888b20549c8b52888b2054968b52888b205460038c5298909a20549a9c969b949a93999298600a9092020196600160a060020a039092169590949290565b611dae614c90565b600f54600090819060ff161515600114611e14576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015611e5b576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b85633b9aca00811015611eb3576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611f03576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b336000908152600660205260409020549450600160a060020a0389161580611f335750600160a060020a03891633145b15611f51576000858152600860205260409020600601549350610f58565b600160a060020a038916600090815260066020818152604080842054898552600890925290922001549094508414610f58576000858152600860205260409020600601849055610f6188613586565b6000818152600860205260409020600101545b919050565b600080611fc361277f565b905061012c8111611fd757600a9150611fdc565b600191505b5090565b611fe8614c90565b600f5460009060ff16151560011461204c576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015612093576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca008110156120eb576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561213b576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b612144856109ea565b33600090815260066020526040902054909550935086158061216557508387145b156121835760008481526008602052604090206006015496506121b0565b60008481526008602052604090206006015487146121b05760008481526008602052604090206006018790555b6121b986613586565b9550611b4584888888610a6e565b60408051808201909152600481527f5374617200000000000000000000000000000000000000000000000000000000602082015281565b612206614c90565b600f54600090819060ff16151560011461226c576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b80156122b3576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca0081101561230b576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561235b576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b612364866109ea565b33600090815260066020526040902054909650945061238287613586565b9650600160a060020a03881615806123a25750600160a060020a03881633145b156123c0576000858152600860205260409020600601549350612407565b600160a060020a0388166000908152600660208181526040808420548985526008909252909220015490945084146124075760008581526008602052604090206006018490555b6117cf85858989610a6e565b600960209081526000928352604080842090915290825290208054600182015460029092015490919083565b600160a060020a038116600090815260066020526040812054151561246657506001611fb3565b506000611fb3565b612476614c90565b600f54600090819060ff1615156001146124dc576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015612523576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca0081101561257b576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156125cb576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b6125d4866109ea565b336000908152600660205260409020549096509450871580612606575060008581526008602052604090206001015488145b15612624576000858152600860205260409020600601549350612663565b60008881526007602090815260408083205488845260089092529091206006015490945084146126635760008581526008602052604090206006018490555b61266c87613586565b96506117cf85858989610a6e565b600054600160a060020a031633146126dc576040805160e560020a62461bcd02815260206004820152601260248201527f6f6e6c79207465616d2063616e2063616c6c0000000000000000000000000000604482015290519081900360640190fd5b6005546000908152600b6020526040902060070154670de0b6b3a76400001161274f576040805160e560020a62461bcd02815260206004820152601460248201527f70656f706c65207374696c6c20706c6179696e67000000000000000000000000604482015290519081900360640190fd5b73dba6f4fe7e8a358150fc861148c3a19b22242743ff5b600e602052600090815260409020805460019091015482565b6005546000818152600b6020526040812060020154909190429081101561280c576003546000838152600b6020526040902060040154018111156127e6576000828152600b60205260409020600201546127df908263ffffffff61423616565b9250612811565b6003546000838152600b60205260409020600401546127df91018263ffffffff61423616565b600092505b505090565b6000428161282261277f565b6003546000878152600b6020526040902060040154919250018211801561288b57506000858152600b60205260409020600201548211158061288b57506000858152600b60205260409020600201548211801561288b57506000858152600b6020526040902054155b156128ba576000858152600b60205260409020600601546128b390858363ffffffff6142f316565b92506128cb565b6128b384600063ffffffff61433116565b505092915050565b60055460009042826128e3611fb8565b6003546000858152600b6020526040902060040154919250018211801561294c57506000838152600b60205260409020600201548211158061294c57506000838152600b60205260409020600201548211801561294c57506000838152600b6020526040902054155b15612986576000838152600b602052604090206005015461297f908290610d14908890610d08908263ffffffff61348116565b9350610a66565b61297f856143ce565b600f5460ff1681565b6008602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b60009081526008602052604090206006015490565b6000806000806000806000806000600554915050600160a060020a038916600090815260066020908152604080832054808452600880845282852060018082015460098752858820898952875294872001549583905293526002830154600590930154909384939091612a8a90612a6c908690614296565b6000878152600860205260409020600301549063ffffffff61348116565b600095865260086020908152604080882060040154600983528189209989529890915290952054939e929d50909b509950919750919550909350915050565b600080600080612ad7614c90565b60008033803b8015612b21576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b336000908152600660209081526040808320548084526008909252909120600101541580612b4d575080155b1515612ba3576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920686173206e616d6500000000000000000000000000000000604482015290519081900360640190fd5b612bac8c613777565b9950339850349750612bbd8961243f565b600454909750341015612c40576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b612c49866109ea565b9550612c5433612cc8565b94508a93508315801590612c7957506000858152600860205260409020600601548414155b8015612c855750848414155b15612ca357600085815260086020526040902060060184905561115b565b8484141561115b5760009350611165858b613f8a565b600054600160a060020a031681565b600160a060020a0381166000908152600660205260408120541515612d12575060018054810190819055600160a060020a0382166000908152600660205260409020819055611fb3565b50600160a060020a038116600090815260066020526040902054611fb3565b600085815260096020908152604080832089845290915281206001015481908190819081901515612d6957612d668a87614440565b95505b60008b8152600b602052604090206006015468056bc75e2d63100000118015612dc3575060008a81526009602090815260408083208e8452909152902054670de0b6b3a764000090612dc1908b63ffffffff61348116565b115b15612e4a5760008a81526009602090815260408083208e8452909152902054612dfb90670de0b6b3a76400009063ffffffff61423616565b9450612e0d898663ffffffff61423616565b60008b815260086020526040902060030154909450612e32908563ffffffff61348116565b60008b81526008602052604090206003015593975087935b633b9aca008911156130da57612e5e61277f565b60008c8152600b6020526040902060060154909350612e84908a8563ffffffff6142f316565b9150670de0b6b3a76400008210612efb57612e9f828c61449f565b60008b8152600b60205260409020548a14612ec65760008b8152600b602052604090208a90555b60008b8152600b60205260409020600101548714612ef35760008b8152600b602052604090206001018790555b855160640186525b60008a81526009602090815260408083208e8452909152902060010154612f2990839063ffffffff61348116565b60008b81526009602090815260408083208f84529091529020600181019190915554612f56908a90613481565b60008b81526009602090815260408083208f8452825280832093909355600b90522060050154612f8d90839063ffffffff61348116565b60008c8152600b60205260409020600581019190915560060154612fb8908a9063ffffffff61348116565b60008c8152600b6020908152604080832060060193909355600c81528282208a835290522054612fef908a9063ffffffff61348116565b60008c8152600c602090815260408083208b845290915290205561012c83116130af5760646130258a605a63ffffffff61350f16565b81151561302e57fe5b049050613041898263ffffffff61423616565b985073dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0826040518263ffffffff1660e060020a0281526004016000604051808303818588803b15801561309557600080fd5b505af11580156130a9573d6000803e3d6000fd5b50505050505b6130bb8a8a8a8961457c565b95506130cb8b8b8b8a868b614721565b95506130da8a888b858a6148d7565b5050505050505050505050565b6130ef614c90565b6005546000818152600b602052604081208054600182015460079092015490928080808080606461312788603063ffffffff61350f16565b81151561313057fe5b04955060328760008a8152600e6020526040902060010154919004955060649061316190899063ffffffff61350f16565b81151561316a57fe5b04935061318384611c6387818b8b63ffffffff61423616565b60008b8152600b60205260409020600501549093506131b085670de0b6b3a764000063ffffffff61350f16565b8115156131b957fe5b60008c8152600b6020526040902060050154919004925061320790670de0b6b3a7640000906131ef90859063ffffffff61350f16565b8115156131f857fe5b8691900463ffffffff61423616565b9050600081111561323757613222848263ffffffff61423616565b9350613234838263ffffffff61348116565b92505b60008981526008602052604090206002015461325a90879063ffffffff61348116565b60008a8152600860205260408082206002019290925581517fd0e30db0000000000000000000000000000000000000000000000000000000008152915173dba6f4fe7e8a358150fc861148c3a19b222427439263d0e30db092899260048084019382900301818588803b1580156132d057600080fd5b505af11580156132e4573d6000803e3d6000fd5b50505060008c8152600b602052604090206008015461330c925084915063ffffffff61348116565b600b60008c815260200190815260200160002060080181905550600b60008b815260200190815260200160002060020154620f4240028c60000151018c60000181815250508767016345785d8a000002896a52b7d2dcc80cd2e4000000028d6020015101018c6020018181525050600860008a815260200190815260200160002060000160009054906101000a9004600160a060020a03168c60400190600160a060020a03169081600160a060020a031681525050600860008a8152602001908152602001600020600101548c606001906000191690816000191681525050858c6080018181525050838c60c0018181525050828c60a001818152505060056000815480929190600101919050555089806001019a505042600b60008c8152602001908152602001600020600401819055506134536107084261348190919063ffffffff16565b60008b8152600b6020526040902060028101919091556007018390558b9a5050505050505050505050919050565b818101828110156134dc576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b60006135086134ff6134fa858563ffffffff61423616565b6143ce565b611c63856143ce565b9392505050565b6000821515613520575060006134dc565b5081810281838281151561353057fe5b04146134dc576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b6000808210806135965750600382115b156135a357506002611fb3565b5080611fb3565b6005546003546000828152600b60205260409020600401544291018111801561361557506000828152600b60205260409020600201548111158061361557506000828152600b60205260409020600201548111801561361557506000828152600b6020526040902054155b1561364c5761362784611c63896140df565b600088815260086020526040902060030155613647828886898988612d31565b611b45565b6000828152600b60205260409020600201548111801561367e57506000828152600b602052604090206003015460ff16155b15611b45576000828152600b60205260409020600301805460ff191660011790556136a8836130e7565b8051670de0b6b3a76400008302018152602080820180518a01815260008a8152600883526040908190206001015484519251828601516060808801516080808a015160a0808c015160c0808e01518b513381529d8e019a909a528c8b019b909b52948b0196909652600160a060020a0390941690890152928701929092529385019390935260e0840192909252610100830191909152519194507f603a740c9291cc914e0c8d16b355cdb091aefd5d9bbdf4f95371ce756f5e8a4091908190036101200190a150505050505050565b80516000908290828080602084118015906137925750600084115b151561380e576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b84600081518110151561381d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a02141580156138845750846001850381518110151561385c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613900576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b84600081518110151561390f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a021415613a525784600181518110151561394957fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a02141515156139c6576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b8460018151811015156139d557fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515613a52576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b83821015613f225784517f400000000000000000000000000000000000000000000000000000000000000090869084908110613a8f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613b03575084517f5b0000000000000000000000000000000000000000000000000000000000000090869084908110613ae457fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15613b70578482815181101515613b1657fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a028583815181101515613b4757fe5b906020010190600160f860020a031916908160001a905350821515613b6b57600192505b613f17565b8482815181101515613b7e57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021480613c4e575084517f600000000000000000000000000000000000000000000000000000000000000090869084908110613bda57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613c4e575084517f7b0000000000000000000000000000000000000000000000000000000000000090869084908110613c2f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80613cf8575084517f2f0000000000000000000000000000000000000000000000000000000000000090869084908110613c8457fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613cf8575084517f3a0000000000000000000000000000000000000000000000000000000000000090869084908110613cd957fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515613d74576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8482815181101515613d8257fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415613e61578482600101815181101515613dbe57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515613e61576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b82158015613f0d575084517f300000000000000000000000000000000000000000000000000000000000000090869084908110613e9a57fe5b90602001015160f860020a900460f860020a02600160f860020a0319161080613f0d575084517f390000000000000000000000000000000000000000000000000000000000000090869084908110613eee57fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b15613f1757600192505b600190910190613a57565b600183151514613f7c576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b60008181526007602052604090205415614014576000828152600a6020908152604080832084845290915290205460ff161515600114614014576040805160e560020a62461bcd02815260206004820152601e60248201527f736f7272792074686174206e616d657320616c72656164792074616b656e0000604482015290519081900360640190fd5b600082815260086020908152604080832060010184905583835260078252808320859055848352600a825280832084845290915290205460ff161515614079576000828152600a602090815260408083208484529091529020805460ff191660011790555b73dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0346040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156140cb57600080fd5b505af1158015611b45573d6000803e3d6000fd5b60008181526008602052604081206005015481906140fe908490614a2e565b60008381526008602052604090206004810154600382015460029092015461413c92614130919063ffffffff61348116565b9063ffffffff61348116565b905060008111156141685760008381526008602052604081206002810182905560038101829055600401555b8091505b50919050565b60008281526009602090815260408083208484528252808320600190810154600b8085528386206005810154818501548852600e8752948720909301548787529452600790910154670de0b6b3a76400009361422593610d149290916141fc9187916064916141e69163ffffffff61350f16565b8115156141ef57fe5b049063ffffffff61350f16565b81151561420557fe5b6000888152600b602052604090206008015491900463ffffffff61348116565b81151561422e57fe5b049392505050565b600082821115614290576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b600082815260096020908152604080832084845282528083206002810154600190910154600b9093529083206008015461350892670de0b6b3a7640000916142dd9161350f565b8115156142e657fe5b049063ffffffff61423616565b600061012c821161430f576143088383614331565b9050613508565b61430861431c8584614331565b611c6361432f878763ffffffff61348116565b855b60008061433d83614ac5565b905080600a6309502f906143a86d03b2a1d15167e7c5699bfde00000611c636143a37a0dac7055469777a6122ee4310dd6c14410500f29048400000000006141306b01027e72f1f1281308800000610d148e670de0b6b3a764000063ffffffff61350f16565b614ae0565b8115156143b157fe5b048115156143bb57fe5b048115156143c557fe5b04949350505050565b60006134dc600a6143e6670de0b6b3a7640000614b33565b6141e6600261441961440688670de0b6b3a764000063ffffffff61350f16565b65886c8f6730709063ffffffff61350f16565b81151561442257fe5b0461413061442f88614b33565b6304a817c89063ffffffff61350f16565b614448614c90565b6000838152600860205260409020600501541561447c5760008381526008602052604090206005015461447c908490614a2e565b506005805460009384526008602052604090932001919091558051600a01815290565b6000818152600b6020526040812060020154429190821180156144ce57506000838152600b6020526040902054155b156144f2576144eb82614130601e670de0b6b3a7640000886141ef565b905061451f565b6000838152600b602052604090206002015461451c90614130601e670de0b6b3a7640000886141ef565b90505b6145316107088363ffffffff61348116565b811015614551576000838152600b60205260409020600201819055614576565b6145636107088363ffffffff61348116565b6000848152600b60205260409020600201555b50505050565b614584614c90565b600a8404600080606461459888600361350f565b8115156145a157fe5b600088815260086020526040902060060154919004925090508015156145d8576145d1838363ffffffff61348116565b925061464a565b8781141580156145f8575060008181526008602052604090206001015415155b156146375760008181526008602052604090206004015461462090839063ffffffff61348116565b60008281526008602052604090206004015561464a565b614647838363ffffffff61348116565b92505b87861415801561466a575060008681526008602052604090206001015415155b156146a95760008681526008602052604090206004015461469290849063ffffffff61348116565b600087815260086020526040902060040155614715565b73dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156146fb57600080fd5b505af115801561470f573d6000803e3d6000fd5b50505050505b50929695505050505050565b614729614c90565b6000848152600d6020526040812060010154819081908190606490614755908b9063ffffffff61350f16565b81151561475e57fe5b60008a8152600d60205260409020600201549190049450606490614789908b9063ffffffff61350f16565b81151561479257fe5b0492506147c783611c6360646147af8d600d63ffffffff61350f16565b8115156147b857fe5b8d91900463ffffffff61423616565b98506147d9898563ffffffff61423616565b91506147e78b8b868a614b3f565b9050600081111561480557614802848263ffffffff61423616565b93505b73dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b15801561485757600080fd5b505af115801561486b573d6000803e3d6000fd5b50505060008d8152600b602052604090206007015461489792509050614130848463ffffffff61348116565b60008c8152600b602052604090206007015560c08601516148bf90859063ffffffff61348116565b60c08701525060e08501525091979650505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600554751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f9a7c9c87d6b6f6612f5105b409490de2755b5b67db0172ab189b7431e57c7c848160000151826020015160086000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e00151604051808d81526020018c81526020018b600019166000191681526020018a600160a060020a0316600160a060020a0316815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019c5050505050505050505050505060405180910390a15050505050565b6000614a3a8383614296565b90506000811115614ac057600083815260086020526040902060030154614a6890829063ffffffff61348116565b6000848152600860209081526040808320600301939093556009815282822085835290522060020154614aa290829063ffffffff61348116565b60008481526009602090815260408083208684529091529020600201555b505050565b600061012c8211614ad85750600a611fb3565b506001611fb3565b6000806002614af0846001613481565b811515614af957fe5b0490508291505b8181101561416c578091506002614b228285811515614b1b57fe5b0483613481565b811515614b2b57fe5b049050614b00565b60006134dc828361350f565b6000848152600b602052604081206005015481908190614b6d86670de0b6b3a764000063ffffffff61350f16565b811515614b7657fe5b6000898152600b60205260409020600801549190049250614b9e90839063ffffffff61348116565b6000888152600b6020526040902060080155670de0b6b3a7640000614bc9838663ffffffff61350f16565b811515614bd257fe5b60008881526009602090815260408083208c8452825280832060020154600b90925290912060080154929091049250614c2591614130908490670de0b6b3a7640000906142dd908a63ffffffff61350f16565b60008781526009602090815260408083208b8452825280832060020193909355600b90522060050154614c8590670de0b6b3a764000090614c6d90859063ffffffff61350f16565b811515614c7657fe5b8791900463ffffffff61423616565b979650505050505050565b6101006040519081016040528060008152602001600081526020016000600160a060020a031681526020016000801916815260200160008152602001600081526020016000815260200160008152509056006e20646973636f72640000000000000000000000000000000000000000000000706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a72305820a160418904fb476ec2565dd714a0bc7917145d87c1c2fd19995880d8851ebf360029

Deployed Bytecode

0x6080604052600436106101be5763ffffffff60e060020a600035041663018a25e8811461035c57806306fdde0314610383578063079ce3271461040d5780630e07ef811461042d5780630f15f4c01461047b57806310f01eba14610490578063180603eb146104b157806324c33d33146104c65780632660316e1461053457806327d87924146105635780632ce21999146105ba5780632e19ebdc146105f8578063349cdcac146106105780633ccfd60b1461062e5780635893d48114610643578063624ae5c01461065e5780636306643414610673578063747dff42146106a957806382bfc7391461072557806382e37b2c1461074c5780638cc8baaf146107645780638f38f3091461077957806395d89b411461078757806398a0871d1461079c578063a2bccae9146107b3578063a2e7223e146107ce578063a65b37a1146107ef578063a6e2eab1146107fd578063c519500e14610812578063c7e284b814610843578063ce89c80c14610858578063cf80800014610873578063d53b26791461088b578063de7874f3146108a0578063e3c08adf146108fa578063ee0b5d8b14610912578063f32306d21461096b578063f851a440146109b9575b6101c6614c90565b600f5460009060ff16151560011461022a576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015610271576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca008110156102c9576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610319576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b610322856109ea565b33600090815260066020818152604080842054808552600890925290922001549196509450610355908590600288610a6e565b5050505050005b34801561036857600080fd5b50610371610c54565b60408051918252519081900360200190f35b34801561038f57600080fd5b50610398610d38565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d25781810151838201526020016103ba565b50505050905090810190601f1680156103ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041957600080fd5b5061042b600435602435604435610d6f565b005b6040805160206004803580820135601f810184900484028501840190955284845261042b9436949293602493928401919081908401838280828437509497505093359450610f7b9350505050565b34801561048757600080fd5b5061042b6111ee565b34801561049c57600080fd5b50610371600160a060020a0360043516611319565b3480156104bd57600080fd5b5061037161132b565b3480156104d257600080fd5b506104de600435611331565b604080519b8c5260208c019a909a528a8a019890985295151560608a0152608089019490945260a088019290925260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b34801561054057600080fd5b5061054f60043560243561138e565b604080519115158252519081900360200190f35b6040805160206004803580820135601f810184900484028501840190955284845261042b94369492936024939284019190819084018382808284375094975050509235600160a060020a031693506113ae92505050565b3480156105c657600080fd5b506105d26004356115ba565b604080519485526020850193909352838301919091526060830152519081900360800190f35b34801561060457600080fd5b506103716004356115e1565b34801561061c57600080fd5b5061042b6004356024356044356115f3565b34801561063a57600080fd5b5061042b6117d9565b34801561064f57600080fd5b50610371600435602435611b4e565b34801561066a57600080fd5b50610371611b6b565b34801561067f57600080fd5b5061068b600435611b71565b60408051938452602084019290925282820152519081900360600190f35b3480156106b557600080fd5b506106be611d17565b604080519c8d5260208d019b909b528b8b019990995260608b019790975260808a019590955260a0890193909352600160a060020a0390911660c088015260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b34801561073157600080fd5b5061042b600160a060020a0360043516602435604435611da6565b34801561075857600080fd5b50610371600435611fa0565b34801561077057600080fd5b50610371611fb8565b61042b600435602435611fe0565b34801561079357600080fd5b506103986121c7565b61042b600160a060020a03600435166024356121fe565b3480156107bf57600080fd5b5061068b600435602435612413565b3480156107da57600080fd5b5061054f600160a060020a036004351661243f565b61042b60043560243561246e565b34801561080957600080fd5b5061042b61267a565b34801561081e57600080fd5b5061082a600435612766565b6040805192835260208301919091528051918290030190f35b34801561084f57600080fd5b5061037161277f565b34801561086457600080fd5b50610371600435602435612816565b34801561087f57600080fd5b506103716004356128d3565b34801561089757600080fd5b5061054f61298f565b3480156108ac57600080fd5b506108b8600435612998565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561090657600080fd5b506103716004356129df565b34801561091e57600080fd5b50610933600160a060020a03600435166129f4565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6040805160206004803580820135601f810184900484028501840190955284845261042b9436949293602493928401919081908401838280828437509497505093359450612ac99350505050565b3480156109c557600080fd5b506109ce612cb9565b60408051600160a060020a039092168252519081900360200190f35b6109f2614c90565b336000908152600660205260408120549080821515610a6257610a1433612cc8565b33600081815260066020908152604080832085905584835260089091528120805473ffffffffffffffffffffffffffffffffffffffff19169092179091559093509150819050845160010185525b8493505b505050919050565b6005546003546000828152600b602052604090206004015442910181118015610ad957506000828152600b602052604090206002015481111580610ad957506000828152600b602052604090206002015481118015610ad957506000828152600b6020526040902054155b15610af157610aec828734888888612d31565b610c4c565b6000828152600b602052604090206002015481118015610b2357506000828152600b602052604090206003015460ff16155b15610c17576000828152600b60205260409020600301805460ff19166001179055610b4d836130e7565b8051670de0b6b3a7640000830201815260208082018051890181526000898152600883526040908190206001015484519251828601516060808801516080808a015160a0808c015160c0808e01518b513381529d8e019a909a52348d8c0152958c019a909a52918a0195909552600160a060020a039093169288019290925286015260e0850152610100840192909252610120830191909152519194507f5905265be09e3f6f7813c1dce4febfad76d4b3a46288aa344d2531532c3519c991908190036101400190a15b600086815260086020526040902060030154610c39903463ffffffff61348116565b6000878152600860205260409020600301555b505050505050565b6005546000904282610c64611fb8565b6003546000858152600b60205260409020600401549192500182118015610ccd57506000838152600b602052604090206002015482111580610ccd57506000838152600b602052604090206002015482118015610ccd57506000838152600b6020526040902054155b15610d27576000838152600b6020526040902060050154610d20908290610d1490670de0b6b3a764000090610d08908263ffffffff61348116565b9063ffffffff6134e216565b9063ffffffff61350f16565b9350610d32565b6602aa1efb94e00093505b50505090565b60408051808201909152600f81527f536176652074686520706c616e65740000000000000000000000000000000000602082015281565b610d77614c90565b600f54600090819060ff161515600114610ddd576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015610e24576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b85633b9aca00811015610e7c576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610ecc576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b336000908152600660205260409020549450881580610efb575060008581526008602052604090206001015489145b15610f19576000858152600860205260409020600601549350610f58565b6000898152600760209081526040808320548884526008909252909120600601549094508414610f585760008581526008602052604090206006018490555b610f6188613586565b9750610f7085858a8a8a6135aa565b505050505050505050565b600080600080610f89614c90565b60008033803b8015610fd3576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b336000908152600660209081526040808320548084526008909252909120600101541580610fff575080155b1515611055576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920686173206e616d6500000000000000000000000000000000604482015290519081900360640190fd5b61105e8c613777565b600454909a503399503498508810156110e7576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6110f08961243f565b96506110fb866109ea565b955061110633612cc8565b94508a1580159061111757508a8a14155b1561115b5760008b815260076020908152604080832054888452600890925290912060060154909450841461115b5760008581526008602052604090206006018490555b611165858b613f8a565b600084815260086020908152604091829020805460019091015483518b15158152928301889052600160a060020a03918216838501526060830152608082018b90524260a083015291518c928c169188917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e644429181900360c00190a4505050505050505050505050565b600054600160a060020a03163314611250576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600f5460ff16156112ab576040805160e560020a62461bcd02815260206004820152601860248201527f53746172336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b600f805460ff191660019081179091556005819055600052600b602052427f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d381905560025401610708017f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d155565b60066020526000908152604090205481565b60045481565b600b60205260009081526040902080546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a909a015498999798969760ff9096169694959394929391929091908b565b600a60209081526000928352604080842090915290825290205460ff1681565b6000806000806113bc614c90565b60008033803b8015611406576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b336000908152600660209081526040808320548084526008909252909120600101541580611432575080155b1515611488576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920686173206e616d6500000000000000000000000000000000604482015290519081900360640190fd5b6114918c613777565b600454909a5033995034985088101561151a576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6115238961243f565b965061152e866109ea565b955061153933612cc8565b9450600160a060020a038b1615801590611565575088600160a060020a03168b600160a060020a031614155b1561115b57600160a060020a038b1660009081526006602081815260408084205489855260089092529092200154909450841461115b576000858152600860205260409020600601849055611165858b613f8a565b600d6020526000908152604090208054600182015460028301546003909301549192909184565b60076020526000908152604090205481565b6115fb614c90565b600f5460009060ff16151560011461165f576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b80156116a6576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b84633b9aca008110156116fe576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561174e576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b33600090815260066020526040902054935087158061176c57508388145b1561178a5760008481526008602052604090206006015497506117b7565b60008481526008602052604090206006015488146117b75760008481526008602052604090206006018890555b6117c087613586565b96506117cf84898989896135aa565b5050505050505050565b6000806000806117e7614c90565b600f5460ff161515600114611848576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b801561188f576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b60055433600090815260066020908152604080832054848452600b909252909120600201549198504297509550861180156118dc57506000878152600b602052604090206003015460ff16155b80156118f557506000878152600b602052604090205415155b15611a8f576000878152600b60205260409020600301805460ff1916600117905561191f836130e7565b925061192a856140df565b9350600084111561197b57600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611979573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f9e9c9331834267c84342f2dce38f9ba35eb0bfbcc207c64872e1e74f9706f2a33360086000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187815260200186600160a060020a0316600160a060020a0316815260200185600019166000191681526020018481526020018381526020018281526020019a505050505050505050505060405180910390a1611b45565b611a98856140df565b93506000841115611ae957600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611ae7573d6000803e3d6000fd5b505b6000858152600860209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b600c60209081526000928352604080842090915290825290205481565b60055481565b6005546000818152600b60205260408120600201549091829182919042118015611bad57506000818152600b602052604090206003015460ff16155b8015611bc657506000818152600b602052604090205415155b15611ce7576000818152600b6020526040902054851415611cab576000818152600b6020526040902060070154611c3490606490611c0b90603063ffffffff61350f16565b811515611c1457fe5b60008881526008602052604090206002015491900463ffffffff61348116565b6000868152600960209081526040808320858452909152902060020154611c8d90611c6f90611c638986614172565b9063ffffffff61423616565b6000888152600860205260409020600301549063ffffffff61348116565b60008781526008602052604090206004015491955093509150611d0f565b600085815260086020908152604080832060029081015460098452828520868652909352922090910154611c8d90611c6f90611c638986614172565b60008581526008602052604090206002810154600590910154611c8d90611c6f908890614296565b509193909250565b600580546000818152600b602090815260408083209485015460028087015460048801546007890154895460019a8b0154818a5260088952878a208054908d01548c8c52600c8b52898c208c8052909a52888b20549c8b52888b2054968b52888b205460038c5298909a20549a9c969b949a93999298600a9092020196600160a060020a039092169590949290565b611dae614c90565b600f54600090819060ff161515600114611e14576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015611e5b576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b85633b9aca00811015611eb3576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611f03576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b336000908152600660205260409020549450600160a060020a0389161580611f335750600160a060020a03891633145b15611f51576000858152600860205260409020600601549350610f58565b600160a060020a038916600090815260066020818152604080842054898552600890925290922001549094508414610f58576000858152600860205260409020600601849055610f6188613586565b6000818152600860205260409020600101545b919050565b600080611fc361277f565b905061012c8111611fd757600a9150611fdc565b600191505b5090565b611fe8614c90565b600f5460009060ff16151560011461204c576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015612093576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca008110156120eb576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561213b576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b612144856109ea565b33600090815260066020526040902054909550935086158061216557508387145b156121835760008481526008602052604090206006015496506121b0565b60008481526008602052604090206006015487146121b05760008481526008602052604090206006018790555b6121b986613586565b9550611b4584888888610a6e565b60408051808201909152600481527f5374617200000000000000000000000000000000000000000000000000000000602082015281565b612206614c90565b600f54600090819060ff16151560011461226c576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b80156122b3576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca0081101561230b576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561235b576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b612364866109ea565b33600090815260066020526040902054909650945061238287613586565b9650600160a060020a03881615806123a25750600160a060020a03881633145b156123c0576000858152600860205260409020600601549350612407565b600160a060020a0388166000908152600660208181526040808420548985526008909252909220015490945084146124075760008581526008602052604090206006018490555b6117cf85858989610a6e565b600960209081526000928352604080842090915290825290208054600182015460029092015490919083565b600160a060020a038116600090815260066020526040812054151561246657506001611fb3565b506000611fb3565b612476614c90565b600f54600090819060ff1615156001146124dc576040805160e560020a62461bcd0281526020600482015260296024820152600080516020614d238339815191526044820152600080516020614ce3833981519152606482015290519081900360840190fd5b33803b8015612523576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b34633b9aca0081101561257b576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614d03833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156125cb576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d43833981519152604482015290519081900360640190fd5b6125d4866109ea565b336000908152600660205260409020549096509450871580612606575060008581526008602052604090206001015488145b15612624576000858152600860205260409020600601549350612663565b60008881526007602090815260408083205488845260089092529091206006015490945084146126635760008581526008602052604090206006018490555b61266c87613586565b96506117cf85858989610a6e565b600054600160a060020a031633146126dc576040805160e560020a62461bcd02815260206004820152601260248201527f6f6e6c79207465616d2063616e2063616c6c0000000000000000000000000000604482015290519081900360640190fd5b6005546000908152600b6020526040902060070154670de0b6b3a76400001161274f576040805160e560020a62461bcd02815260206004820152601460248201527f70656f706c65207374696c6c20706c6179696e67000000000000000000000000604482015290519081900360640190fd5b73dba6f4fe7e8a358150fc861148c3a19b22242743ff5b600e602052600090815260409020805460019091015482565b6005546000818152600b6020526040812060020154909190429081101561280c576003546000838152600b6020526040902060040154018111156127e6576000828152600b60205260409020600201546127df908263ffffffff61423616565b9250612811565b6003546000838152600b60205260409020600401546127df91018263ffffffff61423616565b600092505b505090565b6000428161282261277f565b6003546000878152600b6020526040902060040154919250018211801561288b57506000858152600b60205260409020600201548211158061288b57506000858152600b60205260409020600201548211801561288b57506000858152600b6020526040902054155b156128ba576000858152600b60205260409020600601546128b390858363ffffffff6142f316565b92506128cb565b6128b384600063ffffffff61433116565b505092915050565b60055460009042826128e3611fb8565b6003546000858152600b6020526040902060040154919250018211801561294c57506000838152600b60205260409020600201548211158061294c57506000838152600b60205260409020600201548211801561294c57506000838152600b6020526040902054155b15612986576000838152600b602052604090206005015461297f908290610d14908890610d08908263ffffffff61348116565b9350610a66565b61297f856143ce565b600f5460ff1681565b6008602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b60009081526008602052604090206006015490565b6000806000806000806000806000600554915050600160a060020a038916600090815260066020908152604080832054808452600880845282852060018082015460098752858820898952875294872001549583905293526002830154600590930154909384939091612a8a90612a6c908690614296565b6000878152600860205260409020600301549063ffffffff61348116565b600095865260086020908152604080882060040154600983528189209989529890915290952054939e929d50909b509950919750919550909350915050565b600080600080612ad7614c90565b60008033803b8015612b21576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614d63833981519152604482015290519081900360640190fd5b336000908152600660209081526040808320548084526008909252909120600101541580612b4d575080155b1515612ba3576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920686173206e616d6500000000000000000000000000000000604482015290519081900360640190fd5b612bac8c613777565b9950339850349750612bbd8961243f565b600454909750341015612c40576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b612c49866109ea565b9550612c5433612cc8565b94508a93508315801590612c7957506000858152600860205260409020600601548414155b8015612c855750848414155b15612ca357600085815260086020526040902060060184905561115b565b8484141561115b5760009350611165858b613f8a565b600054600160a060020a031681565b600160a060020a0381166000908152600660205260408120541515612d12575060018054810190819055600160a060020a0382166000908152600660205260409020819055611fb3565b50600160a060020a038116600090815260066020526040902054611fb3565b600085815260096020908152604080832089845290915281206001015481908190819081901515612d6957612d668a87614440565b95505b60008b8152600b602052604090206006015468056bc75e2d63100000118015612dc3575060008a81526009602090815260408083208e8452909152902054670de0b6b3a764000090612dc1908b63ffffffff61348116565b115b15612e4a5760008a81526009602090815260408083208e8452909152902054612dfb90670de0b6b3a76400009063ffffffff61423616565b9450612e0d898663ffffffff61423616565b60008b815260086020526040902060030154909450612e32908563ffffffff61348116565b60008b81526008602052604090206003015593975087935b633b9aca008911156130da57612e5e61277f565b60008c8152600b6020526040902060060154909350612e84908a8563ffffffff6142f316565b9150670de0b6b3a76400008210612efb57612e9f828c61449f565b60008b8152600b60205260409020548a14612ec65760008b8152600b602052604090208a90555b60008b8152600b60205260409020600101548714612ef35760008b8152600b602052604090206001018790555b855160640186525b60008a81526009602090815260408083208e8452909152902060010154612f2990839063ffffffff61348116565b60008b81526009602090815260408083208f84529091529020600181019190915554612f56908a90613481565b60008b81526009602090815260408083208f8452825280832093909355600b90522060050154612f8d90839063ffffffff61348116565b60008c8152600b60205260409020600581019190915560060154612fb8908a9063ffffffff61348116565b60008c8152600b6020908152604080832060060193909355600c81528282208a835290522054612fef908a9063ffffffff61348116565b60008c8152600c602090815260408083208b845290915290205561012c83116130af5760646130258a605a63ffffffff61350f16565b81151561302e57fe5b049050613041898263ffffffff61423616565b985073dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0826040518263ffffffff1660e060020a0281526004016000604051808303818588803b15801561309557600080fd5b505af11580156130a9573d6000803e3d6000fd5b50505050505b6130bb8a8a8a8961457c565b95506130cb8b8b8b8a868b614721565b95506130da8a888b858a6148d7565b5050505050505050505050565b6130ef614c90565b6005546000818152600b602052604081208054600182015460079092015490928080808080606461312788603063ffffffff61350f16565b81151561313057fe5b04955060328760008a8152600e6020526040902060010154919004955060649061316190899063ffffffff61350f16565b81151561316a57fe5b04935061318384611c6387818b8b63ffffffff61423616565b60008b8152600b60205260409020600501549093506131b085670de0b6b3a764000063ffffffff61350f16565b8115156131b957fe5b60008c8152600b6020526040902060050154919004925061320790670de0b6b3a7640000906131ef90859063ffffffff61350f16565b8115156131f857fe5b8691900463ffffffff61423616565b9050600081111561323757613222848263ffffffff61423616565b9350613234838263ffffffff61348116565b92505b60008981526008602052604090206002015461325a90879063ffffffff61348116565b60008a8152600860205260408082206002019290925581517fd0e30db0000000000000000000000000000000000000000000000000000000008152915173dba6f4fe7e8a358150fc861148c3a19b222427439263d0e30db092899260048084019382900301818588803b1580156132d057600080fd5b505af11580156132e4573d6000803e3d6000fd5b50505060008c8152600b602052604090206008015461330c925084915063ffffffff61348116565b600b60008c815260200190815260200160002060080181905550600b60008b815260200190815260200160002060020154620f4240028c60000151018c60000181815250508767016345785d8a000002896a52b7d2dcc80cd2e4000000028d6020015101018c6020018181525050600860008a815260200190815260200160002060000160009054906101000a9004600160a060020a03168c60400190600160a060020a03169081600160a060020a031681525050600860008a8152602001908152602001600020600101548c606001906000191690816000191681525050858c6080018181525050838c60c0018181525050828c60a001818152505060056000815480929190600101919050555089806001019a505042600b60008c8152602001908152602001600020600401819055506134536107084261348190919063ffffffff16565b60008b8152600b6020526040902060028101919091556007018390558b9a5050505050505050505050919050565b818101828110156134dc576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b60006135086134ff6134fa858563ffffffff61423616565b6143ce565b611c63856143ce565b9392505050565b6000821515613520575060006134dc565b5081810281838281151561353057fe5b04146134dc576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b6000808210806135965750600382115b156135a357506002611fb3565b5080611fb3565b6005546003546000828152600b60205260409020600401544291018111801561361557506000828152600b60205260409020600201548111158061361557506000828152600b60205260409020600201548111801561361557506000828152600b6020526040902054155b1561364c5761362784611c63896140df565b600088815260086020526040902060030155613647828886898988612d31565b611b45565b6000828152600b60205260409020600201548111801561367e57506000828152600b602052604090206003015460ff16155b15611b45576000828152600b60205260409020600301805460ff191660011790556136a8836130e7565b8051670de0b6b3a76400008302018152602080820180518a01815260008a8152600883526040908190206001015484519251828601516060808801516080808a015160a0808c015160c0808e01518b513381529d8e019a909a528c8b019b909b52948b0196909652600160a060020a0390941690890152928701929092529385019390935260e0840192909252610100830191909152519194507f603a740c9291cc914e0c8d16b355cdb091aefd5d9bbdf4f95371ce756f5e8a4091908190036101200190a150505050505050565b80516000908290828080602084118015906137925750600084115b151561380e576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b84600081518110151561381d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a02141580156138845750846001850381518110151561385c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613900576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b84600081518110151561390f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a021415613a525784600181518110151561394957fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a02141515156139c6576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b8460018151811015156139d557fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515613a52576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b83821015613f225784517f400000000000000000000000000000000000000000000000000000000000000090869084908110613a8f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613b03575084517f5b0000000000000000000000000000000000000000000000000000000000000090869084908110613ae457fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15613b70578482815181101515613b1657fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a028583815181101515613b4757fe5b906020010190600160f860020a031916908160001a905350821515613b6b57600192505b613f17565b8482815181101515613b7e57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021480613c4e575084517f600000000000000000000000000000000000000000000000000000000000000090869084908110613bda57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613c4e575084517f7b0000000000000000000000000000000000000000000000000000000000000090869084908110613c2f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80613cf8575084517f2f0000000000000000000000000000000000000000000000000000000000000090869084908110613c8457fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613cf8575084517f3a0000000000000000000000000000000000000000000000000000000000000090869084908110613cd957fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515613d74576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8482815181101515613d8257fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415613e61578482600101815181101515613dbe57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515613e61576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b82158015613f0d575084517f300000000000000000000000000000000000000000000000000000000000000090869084908110613e9a57fe5b90602001015160f860020a900460f860020a02600160f860020a0319161080613f0d575084517f390000000000000000000000000000000000000000000000000000000000000090869084908110613eee57fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b15613f1757600192505b600190910190613a57565b600183151514613f7c576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b60008181526007602052604090205415614014576000828152600a6020908152604080832084845290915290205460ff161515600114614014576040805160e560020a62461bcd02815260206004820152601e60248201527f736f7272792074686174206e616d657320616c72656164792074616b656e0000604482015290519081900360640190fd5b600082815260086020908152604080832060010184905583835260078252808320859055848352600a825280832084845290915290205460ff161515614079576000828152600a602090815260408083208484529091529020805460ff191660011790555b73dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0346040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156140cb57600080fd5b505af1158015611b45573d6000803e3d6000fd5b60008181526008602052604081206005015481906140fe908490614a2e565b60008381526008602052604090206004810154600382015460029092015461413c92614130919063ffffffff61348116565b9063ffffffff61348116565b905060008111156141685760008381526008602052604081206002810182905560038101829055600401555b8091505b50919050565b60008281526009602090815260408083208484528252808320600190810154600b8085528386206005810154818501548852600e8752948720909301548787529452600790910154670de0b6b3a76400009361422593610d149290916141fc9187916064916141e69163ffffffff61350f16565b8115156141ef57fe5b049063ffffffff61350f16565b81151561420557fe5b6000888152600b602052604090206008015491900463ffffffff61348116565b81151561422e57fe5b049392505050565b600082821115614290576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b600082815260096020908152604080832084845282528083206002810154600190910154600b9093529083206008015461350892670de0b6b3a7640000916142dd9161350f565b8115156142e657fe5b049063ffffffff61423616565b600061012c821161430f576143088383614331565b9050613508565b61430861431c8584614331565b611c6361432f878763ffffffff61348116565b855b60008061433d83614ac5565b905080600a6309502f906143a86d03b2a1d15167e7c5699bfde00000611c636143a37a0dac7055469777a6122ee4310dd6c14410500f29048400000000006141306b01027e72f1f1281308800000610d148e670de0b6b3a764000063ffffffff61350f16565b614ae0565b8115156143b157fe5b048115156143bb57fe5b048115156143c557fe5b04949350505050565b60006134dc600a6143e6670de0b6b3a7640000614b33565b6141e6600261441961440688670de0b6b3a764000063ffffffff61350f16565b65886c8f6730709063ffffffff61350f16565b81151561442257fe5b0461413061442f88614b33565b6304a817c89063ffffffff61350f16565b614448614c90565b6000838152600860205260409020600501541561447c5760008381526008602052604090206005015461447c908490614a2e565b506005805460009384526008602052604090932001919091558051600a01815290565b6000818152600b6020526040812060020154429190821180156144ce57506000838152600b6020526040902054155b156144f2576144eb82614130601e670de0b6b3a7640000886141ef565b905061451f565b6000838152600b602052604090206002015461451c90614130601e670de0b6b3a7640000886141ef565b90505b6145316107088363ffffffff61348116565b811015614551576000838152600b60205260409020600201819055614576565b6145636107088363ffffffff61348116565b6000848152600b60205260409020600201555b50505050565b614584614c90565b600a8404600080606461459888600361350f565b8115156145a157fe5b600088815260086020526040902060060154919004925090508015156145d8576145d1838363ffffffff61348116565b925061464a565b8781141580156145f8575060008181526008602052604090206001015415155b156146375760008181526008602052604090206004015461462090839063ffffffff61348116565b60008281526008602052604090206004015561464a565b614647838363ffffffff61348116565b92505b87861415801561466a575060008681526008602052604090206001015415155b156146a95760008681526008602052604090206004015461469290849063ffffffff61348116565b600087815260086020526040902060040155614715565b73dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156146fb57600080fd5b505af115801561470f573d6000803e3d6000fd5b50505050505b50929695505050505050565b614729614c90565b6000848152600d6020526040812060010154819081908190606490614755908b9063ffffffff61350f16565b81151561475e57fe5b60008a8152600d60205260409020600201549190049450606490614789908b9063ffffffff61350f16565b81151561479257fe5b0492506147c783611c6360646147af8d600d63ffffffff61350f16565b8115156147b857fe5b8d91900463ffffffff61423616565b98506147d9898563ffffffff61423616565b91506147e78b8b868a614b3f565b9050600081111561480557614802848263ffffffff61423616565b93505b73dba6f4fe7e8a358150fc861148c3a19b22242743600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b15801561485757600080fd5b505af115801561486b573d6000803e3d6000fd5b50505060008d8152600b602052604090206007015461489792509050614130848463ffffffff61348116565b60008c8152600b602052604090206007015560c08601516148bf90859063ffffffff61348116565b60c08701525060e08501525091979650505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600554751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f9a7c9c87d6b6f6612f5105b409490de2755b5b67db0172ab189b7431e57c7c848160000151826020015160086000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e00151604051808d81526020018c81526020018b600019166000191681526020018a600160a060020a0316600160a060020a0316815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019c5050505050505050505050505060405180910390a15050505050565b6000614a3a8383614296565b90506000811115614ac057600083815260086020526040902060030154614a6890829063ffffffff61348116565b6000848152600860209081526040808320600301939093556009815282822085835290522060020154614aa290829063ffffffff61348116565b60008481526009602090815260408083208684529091529020600201555b505050565b600061012c8211614ad85750600a611fb3565b506001611fb3565b6000806002614af0846001613481565b811515614af957fe5b0490508291505b8181101561416c578091506002614b228285811515614b1b57fe5b0483613481565b811515614b2b57fe5b049050614b00565b60006134dc828361350f565b6000848152600b602052604081206005015481908190614b6d86670de0b6b3a764000063ffffffff61350f16565b811515614b7657fe5b6000898152600b60205260409020600801549190049250614b9e90839063ffffffff61348116565b6000888152600b6020526040902060080155670de0b6b3a7640000614bc9838663ffffffff61350f16565b811515614bd257fe5b60008881526009602090815260408083208c8452825280832060020154600b90925290912060080154929091049250614c2591614130908490670de0b6b3a7640000906142dd908a63ffffffff61350f16565b60008781526009602090815260408083208b8452825280832060020193909355600b90522060050154614c8590670de0b6b3a764000090614c6d90859063ffffffff61350f16565b811515614c7657fe5b8791900463ffffffff61423616565b979650505050505050565b6101006040519081016040528060008152602001600081526020016000600160a060020a031681526020016000801916815260200160008152602001600081526020016000815260200160008152509056006e20646973636f72640000000000000000000000000000000000000000000000706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a72305820a160418904fb476ec2565dd714a0bc7917145d87c1c2fd19995880d8851ebf360029

Swarm Source

bzzr://a160418904fb476ec2565dd714a0bc7917145d87c1c2fd19995880d8851ebf36

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.