ETH Price: $2,836.38 (-10.01%)
 

Overview

ETH Balance

0.283312581298137691 ETH

Eth Value

$803.58 (@ $2,836.38/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw61149002018-08-09 6:27:252369 days ago1533796045IN
0x5A5ED076...158aE9d7c
0 ETH0.0121124457
Buy Xaddr61072022018-08-07 23:28:202371 days ago1533684500IN
0x5A5ED076...158aE9d7c
0.01 ETH0.000666112
Buy Xaddr61071972018-08-07 23:26:332371 days ago1533684393IN
0x5A5ED076...158aE9d7c
0.000075 ETH0.0021944411
Buy Xaddr61071852018-08-07 23:22:342371 days ago1533684154IN
0x5A5ED076...158aE9d7c
0.00007875 ETH0.000322221
Buy Xaddr61030622018-08-07 6:26:042371 days ago1533623164IN
0x5A5ED076...158aE9d7c
0.00082535 ETH0.001422615
Buy Xaddr61030572018-08-07 6:24:272371 days ago1533623067IN
0x5A5ED076...158aE9d7c
0.00007503 ETH0.000284521
Register Name Xn...60977652018-08-06 8:59:402372 days ago1533545980IN
0x5A5ED076...158aE9d7c
0.01 ETH0.00086053
Withdraw60961752018-08-06 2:38:232372 days ago1533523103IN
0x5A5ED076...158aE9d7c
0 ETH0.000100382
Withdraw60931742018-08-05 14:33:452373 days ago1533479625IN
0x5A5ED076...158aE9d7c
0 ETH0.000231078
Withdraw60931692018-08-05 14:32:272373 days ago1533479547IN
0x5A5ED076...158aE9d7c
0 ETH0.001990548
Withdraw60871212018-08-04 13:53:082374 days ago1533390788IN
0x5A5ED076...158aE9d7c
0 ETH0.000502638
Buy Xaddr60863962018-08-04 10:59:322374 days ago1533380372IN
0x5A5ED076...158aE9d7c
0.31965973 ETH0.0249596100
Withdraw60859762018-08-04 9:15:592374 days ago1533374159IN
0x5A5ED076...158aE9d7c
0 ETH0.0032829100
Buy Xaddr60859712018-08-04 9:14:582374 days ago1533374098IN
0x5A5ED076...158aE9d7c
0.00007957 ETH0.001637458
Buy Xaddr60859662018-08-04 9:13:362374 days ago1533374016IN
0x5A5ED076...158aE9d7c
0.37695273 ETH0.002994078
Buy Xaddr60858182018-08-04 8:39:062374 days ago1533371946IN
0x5A5ED076...158aE9d7c
0.01 ETH0.0229197100
Buy Xaddr60816702018-08-03 16:14:332375 days ago1533312873IN
0x5A5ED076...158aE9d7c
0.00750236 ETH0.000569043
Buy Xaddr60816052018-08-03 15:58:582375 days ago1533311938IN
0x5A5ED076...158aE9d7c
0.0075758 ETH0.000614043
Buy Xaddr60815592018-08-03 15:46:192375 days ago1533311179IN
0x5A5ED076...158aE9d7c
0.00007875 ETH0.000961793
Buy Xaddr60815462018-08-03 15:44:062375 days ago1533311046IN
0x5A5ED076...158aE9d7c
0.01 ETH0.000871013
Register Name Xn...60739642018-08-02 8:32:572376 days ago1533198777IN
0x5A5ED076...158aE9d7c
0.01 ETH0.000381032
Register Name Xn...60739152018-08-02 8:21:472376 days ago1533198107IN
0x5A5ED076...158aE9d7c
0.01 ETH0.000616743
Buy Xaddr60734222018-08-02 6:19:532376 days ago1533190793IN
0x5A5ED076...158aE9d7c
0.37695273 ETH0.000868512
Activate60732752018-08-02 5:39:442376 days ago1533188384IN
0x5A5ED076...158aE9d7c
0 ETH0.0036017641
Buy Xaddr60727312018-08-02 3:30:352376 days ago1533180635IN
0x5A5ED076...158aE9d7c
0.01 ETH0.000046362
View all transactions

Latest 24 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
61149002018-08-09 6:27:252369 days ago1533796045
0x5A5ED076...158aE9d7c
0.04137861 ETH
61149002018-08-09 6:27:252369 days ago1533796045
0x5A5ED076...158aE9d7c
0.00058599 ETH
61072022018-08-07 23:28:202371 days ago1533684500
0x5A5ED076...158aE9d7c
0.0029 ETH
61071972018-08-07 23:26:332371 days ago1533684393
0x5A5ED076...158aE9d7c
0.00196656 ETH
61071852018-08-07 23:22:342371 days ago1533684154
0x5A5ED076...158aE9d7c
0.00002283 ETH
61030622018-08-07 6:26:042371 days ago1533623164
0x5A5ED076...158aE9d7c
0.00023935 ETH
61030572018-08-07 6:24:272371 days ago1533623067
0x5A5ED076...158aE9d7c
0.00002175 ETH
60977652018-08-06 8:59:402372 days ago1533545980
0x5A5ED076...158aE9d7c
0.0029 ETH
60961752018-08-06 2:38:232372 days ago1533523103
0x5A5ED076...158aE9d7c
0.11493193 ETH
60931692018-08-05 14:32:272373 days ago1533479547
0x5A5ED076...158aE9d7c
0.07933236 ETH
60931692018-08-05 14:32:272373 days ago1533479547
0x5A5ED076...158aE9d7c
0.03271462 ETH
60871212018-08-04 13:53:082374 days ago1533390788
0x5A5ED076...158aE9d7c
0.28640407 ETH
60863962018-08-04 10:59:322374 days ago1533380372
0x5A5ED076...158aE9d7c
0.09270132 ETH
60859762018-08-04 9:15:592374 days ago1533374159
0x5A5ED076...158aE9d7c
0.33359586 ETH
60859712018-08-04 9:14:582374 days ago1533374098
0x5A5ED076...158aE9d7c
0.00002307 ETH
60859662018-08-04 9:13:362374 days ago1533374016
0x5A5ED076...158aE9d7c
0.10931629 ETH
60858182018-08-04 8:39:062374 days ago1533371946
0x5A5ED076...158aE9d7c
0.00182398 ETH
60816702018-08-03 16:14:332375 days ago1533312873
0x5A5ED076...158aE9d7c
0.00217568 ETH
60816052018-08-03 15:58:582375 days ago1533311938
0x5A5ED076...158aE9d7c
0.00219698 ETH
60815592018-08-03 15:46:192375 days ago1533311179
0x5A5ED076...158aE9d7c
0.00002283 ETH
60815462018-08-03 15:44:062375 days ago1533311046
0x5A5ED076...158aE9d7c
0.01857738 ETH
60739642018-08-02 8:32:572376 days ago1533198777
0x5A5ED076...158aE9d7c
0.0029 ETH
60739152018-08-02 8:21:472376 days ago1533198107
0x5A5ED076...158aE9d7c
0.0029 ETH
60734222018-08-02 6:19:532376 days ago1533190793
0x5A5ED076...158aE9d7c
0.10931629 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EthKillerLong

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-07-28
*/

pragma solidity ^0.4.24;

// _____.___.              __   .__.__     _____             .___.__  _____.__           .___
// \__  |   | ____   ____ |  | _|__|__|   /     \   ____   __| _/|__|/ ____\__| ____   __| _/
//  /   |   |/  _ \_/ ___\|  |/ /  |  |  /  \ /  \ /  _ \ / __ | |  \   __\|  |/ __ \ / __ | 
//  \____   (  <_> )  \___|    <|  |  | /    Y    (  <_> ) /_/ | |  ||  |  |  \  ___// /_/ | 
//  / ______|\____/ \___  >__|_ \__|__| \____|__  /\____/\____ | |__||__|  |__|\___  >____ | 
//  \/                  \/     \/               \/            \/                   \/     \/ 
// Team Just Copyright Received.
// [email protected] modified
//==============================================================================
//     _    _  _ _|_ _  .
//    (/_\/(/_| | | _\  .
//==============================================================================
contract F3Devents {
    // 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 P3DAmount,
        uint256 genAmount,
        uint256 potAmount,
        uint256 airDropPot
    );
    
	// 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 P3DAmount,
        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 P3DAmount,
        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 P3DAmount,
        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
    );
}

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

contract modularLong is F3Devents {}

contract EthKillerLong is modularLong {
    using SafeMath for *;
    using NameFilter for string;
    using F3DKeysCalcLong for uint256;

    address public teamAddress = 0xc2daaf4e63af76b394dea9a98a1fa650fc626b91;

    function setTeamAddress(address addr) isOwner() public {
        teamAddress = addr;
    }
    function gameSettings(uint256 rndExtra, uint256 rndGap) isOwner() public {
        rndExtra_ = rndExtra;
        rndGap_ = rndGap;
    }
//==============================================================================
//     _ _  _  |`. _     _ _ |_ | _  _  .
//    (_(_)| |~|~|(_||_|| (_||_)|(/__\  .  (game settings)
//=================_|===========================================================
    string constant public name = "Eth Killer Long Official";
    string constant public symbol = "EKL";
    uint256 private rndExtra_ = 0;     // length of the very first ICO 
    uint256 private rndGap_ = 0;         // length of ICO phase, set to 1 year for EOS.
    uint256 constant private rndInit_ = 12 hours;                // 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_ = 24 hours;                // max length a round timer can be
//==============================================================================
//     _| _ _|_ _    _ _ _|_    _   .
//    (_|(_| | (_|  _\(/_ | |_||_)  .  (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
    uint256 public registrationFee_ = 10 finney;            // price to register a name
//****************
// 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 => F3Ddatasets.Player) public plyr_;   // (pID => data) player data
    mapping (uint256 => mapping (uint256 => F3Ddatasets.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)
    uint256 private playerCount = 0;
    uint256 private totalWinnersKeys_;
    uint256 constant private winnerNum_ = 5; // sync change in structure Round.plyrs

    ///////////// playerbook  ///////////
    function registerName(address _addr, bytes32 _name, uint256 _affCode) private returns(bool, uint256) {
        require (msg.value >= registrationFee_, "umm.....  you have to pay the name fee");
        require(pIDxName_[_name] == 0, "sorry that names already taken");

        uint256 _pID = pIDxAddr_[_addr];
        bool isNew = false;
        if (_pID == 0) {
            isNew = true;
            playerCount++;
            _pID = playerCount;
            pIDxAddr_[_addr] = _pID;
            plyr_[_pID].name = _name;
            pIDxName_[_name] = _pID;
        }
        if (_affCode != 0 && _affCode != plyr_[_pID].laff && _affCode != _pID) {
            plyr_[_pID].laff = _affCode;
        } else if (_affCode == _pID) {
            _affCode = 0;
        }
        return (isNew, _affCode);
    }
    function registerNameXaddrFromDapp(address _addr, bytes32 _name, address _affCode) private returns(bool, uint256) {
        uint256 _affID = 0;
        if (_affCode != address(0) && _affCode != _addr) {
            _affID = pIDxAddr_[_affCode];
        }
        return registerName(_addr, _name, _affID);
    }
    function registerNameXnameFromDapp(address _addr, bytes32 _name, bytes32 _affCode) private returns(bool, uint256) {
        uint256 _affID = 0;
        if (_affCode != "" && _affCode != _name) {
            _affID = pIDxName_[_affCode];
        }
        return registerName(_addr, _name, _affID);
    }
//****************
// ROUND DATA 
//****************
    mapping (uint256 => F3Ddatasets.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 => F3Ddatasets.TeamFee) public fees_;          // (team => fees) fee distribution by team
    mapping (uint256 => F3Ddatasets.PotSplit) public potSplit_;     // (team => fees) pot split distribution by team
//==============================================================================
//     _ _  _  __|_ _    __|_ _  _  .
//    (_(_)| |_\ | | |_|(_ | (_)|   .  (initial data setup upon contract deploy)
//==============================================================================
    address owner;
    constructor()
        public
    {
        owner = msg.sender;
		// Team allocation structures
        // 0 = whales
        // 1 = bears
        // 2 = sneks
        // 3 = bulls

		// Team allocation percentages
        fees_[0] = F3Ddatasets.TeamFee(30,12);
        fees_[1] = F3Ddatasets.TeamFee(43,7);
        fees_[2] = F3Ddatasets.TeamFee(52,16);
        fees_[3] = F3Ddatasets.TeamFee(43,15);
        
        // how to split up the final pot based on which team was picked
        potSplit_[0] = F3Ddatasets.PotSplit(15,15);
        potSplit_[1] = F3Ddatasets.PotSplit(25,10);
        potSplit_[2] = F3Ddatasets.PotSplit(20,24);
        potSplit_[3] = F3Ddatasets.PotSplit(30,14);
    }
//==============================================================================
//     _ _  _  _|. |`. _  _ _  .
//    | | |(_)(_||~|~|(/_| _\  .  (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 isOwner() {
        require(owner == msg.sender, "sorry owner only");
        _;
    }

    /**
     * @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
        F3Ddatasets.EventReturns memory _eventData_ = determinePID(_eventData_);
            
        // fetch player id
        uint256 _pID = pIDxAddr_[msg.sender];
        
        // buy core 
        buyCore(_pID, plyr_[_pID].laff, 2, _eventData_);
    }

    function updateContract(address newContract) isOwner() public returns (bool) {
        if (round_[rID_].end < now) {
            Fomo3dContract nc = Fomo3dContract(newContract);
            newContract.transfer(address(this).balance);
            nc.setOldContractData(address(this));
            return (true);
        }
        return (false);
    }
    
    /**
     * @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
        F3Ddatasets.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
        F3Ddatasets.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 == 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);
        
        // 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
        F3Ddatasets.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
        F3Ddatasets.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
        F3Ddatasets.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
        F3Ddatasets.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 && hasPlayersInRound(_rID) == true)
        {
            // set up our tx event data
            F3Ddatasets.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 F3Devents.onWithdrawAndDistribute
            (
                msg.sender, 
                plyr_[_pID].name, 
                _eth, 
                _eventData_.compressedData, 
                _eventData_.compressedIDs, 
                _eventData_.winnerAddr, 
                _eventData_.winnerName, 
                _eventData_.amountWon, 
                _eventData_.newPot, 
                _eventData_.P3DAmount, 
                _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 F3Devents.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()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;
        (bool _isNewPlayer, uint256 _affID) = registerName(_addr, _name, _affCode);
        
        uint256 _pID = pIDxAddr_[_addr];
        
        // fire event
        emit F3Devents.onNewName(_pID, _addr, _name, _isNewPlayer, _affID, plyr_[_affID].addr, plyr_[_affID].name, _paid, now);
    }
    
    function registerNameXaddr(string _nameString, address _affCode)
        isHuman()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;
        (bool _isNewPlayer, uint256 _affID) = registerNameXaddrFromDapp(msg.sender, _name, _affCode);
        
        uint256 _pID = pIDxAddr_[_addr];
        
        // fire event
        emit F3Devents.onNewName(_pID, _addr, _name, _isNewPlayer, _affID, plyr_[_affID].addr, plyr_[_affID].name, _paid, now);
    }
    
    function registerNameXname(string _nameString, bytes32 _affCode)
        isHuman()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;
        (bool _isNewPlayer, uint256 _affID) = registerNameXnameFromDapp(msg.sender, _name, _affCode);
        
        uint256 _pID = pIDxAddr_[_addr];
        
        // fire event
        emit F3Devents.onNewName(_pID, _addr, _name, _isNewPlayer, _affID, plyr_[_affID].addr, plyr_[_affID].name, _paid, now);
    }
//==============================================================================
//     _  _ _|__|_ _  _ _  .
//    (_|(/_ |  | (/_| _\  . (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;
        
        // are we in a round?
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && hasPlayersInRound(_rID) == false)))
            return ( (round_[_rID].keys.add(1000000000000000000)).ethRec(1000000000000000000) );
        else // rounds over.  need price for new round
            return ( 75000000000000 ); // init
    }
    
    /**
     * @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);
    }
    
    function isWinner(uint256 _pID, uint256 _rID) private view returns (bool) {
        for (uint8 i = 0; i < winnerNum_; i++) {
            if (round_[_rID].plyrs[i] == _pID) {
                return (true);
            }
        }
        return (false);
    }

    /**
     * @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 && hasPlayersInRound(_rID) == true)
        {
            // if player is winner 
            if (isWinner(_pID, _rID))
            {
                calcTotalWinnerKeys(_rID);
                return
                (
                    (plyr_[_pID].win).add( (((round_[_rID].pot).mul(48)) / 100).mul(plyrRnds_[_pID][_rID].keys) / totalWinnersKeys_ ),
                    (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].gen)) / 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, uint256, address, bytes32, uint256, uint256, uint256, uint256, uint256)
    {
        // setup local rID
        // uint256 _rID = rID_;
        return
        (
            round_[rID_].ico,               //0
            rID_,                           //1
            round_[rID_].keys,              //2
            round_[rID_].end,               //3
            round_[rID_].strt,              //4
            round_[rID_].pot,               //5
            (round_[rID_].team + (round_[rID_].plyrs[winnerNum_ - 1] * 10)),     //6
            plyr_[round_[rID_].plyrs[winnerNum_ - 1]].addr,  //7
            plyr_[round_[rID_].plyrs[winnerNum_ - 1]].name,  //8
            rndTmEth_[rID_][0],             //9
            rndTmEth_[rID_][1],             //10
            rndTmEth_[rID_][2],             //11
            rndTmEth_[rID_][3],             //12
            airDropTracker_ + (airDropPot_ * 1000)              //13
        );
    }

    /**
     * @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)
//=====================_|=======================================================
    function hasPlayersInRound(uint256 _rID) private view returns (bool){
        for (uint8 i = 0; i < round_[_rID].plyrs.length; i++) {
            if (round_[_rID].plyrs[i] != 0) {
                return (true);
            }
        }
        return (false);
    }

    /**
     * @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, F3Ddatasets.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 && hasPlayersInRound(_rID) == false))) 
        {
            // 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 F3Devents.onBuyAndDistribute
                (
                    msg.sender, 
                    plyr_[_pID].name, 
                    msg.value, 
                    _eventData_.compressedData, 
                    _eventData_.compressedIDs, 
                    _eventData_.winnerAddr, 
                    _eventData_.winnerName, 
                    _eventData_.amountWon, 
                    _eventData_.newPot, 
                    _eventData_.P3DAmount, 
                    _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, F3Ddatasets.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 && hasPlayersInRound(_rID) == false))) 
        {
            // 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 F3Devents.onReLoadAndDistribute
            (
                msg.sender, 
                plyr_[_pID].name, 
                _eventData_.compressedData, 
                _eventData_.compressedIDs, 
                _eventData_.winnerAddr, 
                _eventData_.winnerName, 
                _eventData_.amountWon, 
                _eventData_.newPot, 
                _eventData_.P3DAmount, 
                _eventData_.genAmount
            );
        }
    }
    
    function contains(uint256 _pID, uint256[winnerNum_] memory array) private pure returns (bool) {
        for (uint8 i = 0; i < array.length; i++) {
            if (array[i] == _pID) {
                return (true);
            }
        }
        return (false);
    }

    function calcTotalWinnerKeys(uint256 _rID) private {
        uint256[winnerNum_] memory winnerPIDs;
        totalWinnersKeys_ = 0;
        for (uint8 i = 0; i < winnerNum_; i++) {
            if (!contains(round_[_rID].plyrs[i], winnerPIDs)) {
                winnerPIDs[i] = round_[_rID].plyrs[i];
                totalWinnersKeys_ = totalWinnersKeys_.add(plyrRnds_[round_[_rID].plyrs[i]][_rID].keys);
            }
        }
    }

    /**
     * @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, F3Ddatasets.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 < (100 ether) && plyrRnds_[_pID][_rID].eth.add(_eth) > (1 ether))
        {
            uint256 _availableLimit = (1 ether).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) 
        {
            
            // mint the new keys
            uint256 _keys = (round_[_rID].eth).keysRec(_eth);
            
            // if they bought at least 1 whole key
            if (_keys >= 1000000000000000000)
            {
                updateTimer(_keys, _rID);

                // set new leaders
                round_[_rID].plyrs[0] = round_[_rID].plyrs[1];
                round_[_rID].plyrs[1] = round_[_rID].plyrs[2];
                round_[_rID].plyrs[2] = round_[_rID].plyrs[3];
                round_[_rID].plyrs[3] = round_[_rID].plyrs[4];
                round_[_rID].plyrs[4] = _pID;
                if (round_[_rID].team != _team) {
                    round_[_rID].team = _team; 
                }
                
                // set the new leader bool to true
                _eventData_.compressedData = _eventData_.compressedData + 100;
            }
            
            // manage airdrops
            if (_eth >= 100000000000000000)
            {
                airDropTracker_++;
                if (airdrop() == true)
                {
                    // gib muni
                    uint256 _prize;
                    if (_eth >= 10000000000000000000)
                    {
                        // calculate prize and give it to winner
                        _prize = ((airDropPot_).mul(75)) / 100;
                        plyr_[_pID].win = (plyr_[_pID].win).add(_prize);
                        
                        // adjust airDropPot 
                        airDropPot_ = (airDropPot_).sub(_prize);
                        
                        // let event know a tier 3 prize was won 
                        _eventData_.compressedData += 300000000000000000000000000000000;
                    } else if (_eth >= 1000000000000000000 && _eth < 10000000000000000000) {
                        // calculate prize and give it to winner
                        _prize = ((airDropPot_).mul(50)) / 100;
                        plyr_[_pID].win = (plyr_[_pID].win).add(_prize);
                        
                        // adjust airDropPot 
                        airDropPot_ = (airDropPot_).sub(_prize);
                        
                        // let event know a tier 2 prize was won 
                        _eventData_.compressedData += 200000000000000000000000000000000;
                    } else if (_eth >= 100000000000000000 && _eth < 1000000000000000000) {
                        // calculate prize and give it to winner
                        _prize = ((airDropPot_).mul(25)) / 100;
                        plyr_[_pID].win = (plyr_[_pID].win).add(_prize);
                        
                        // adjust airDropPot 
                        airDropPot_ = (airDropPot_).sub(_prize);
                        
                        // let event know a tier 3 prize was won 
                        _eventData_.compressedData += 300000000000000000000000000000000;
                    }
                    // set airdrop happened bool to true
                    _eventData_.compressedData += 10000000000000000000000000000000;
                    // let event know how much was won 
                    _eventData_.compressedData += _prize * 1000000000000000000000000000000000;
                    
                    // reset air drop tracker
                    airDropTracker_ = 0;
                }
            }
    
            // store the air drop tracker number (number of buys since last airdrop)
            _eventData_.compressedData = _eventData_.compressedData + (airDropTracker_ * 1000);
            
            // 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]);
    
            // distribute eth
            _eventData_ = distributeExternal(_rID, _pID, _eth, _affID, _team, _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;
        
        // are we in a round?
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && hasPlayersInRound(_rID) == false)))
            return ( (round_[_rID].eth).keysRec(_eth) );
        else // rounds over.  need keys for new round
            return ( (_eth).keys() );
    }
    
    /** 
     * @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;
        
        // are we in a round?
        if (_now > round_[_rID].strt + rndGap_ && (_now <= round_[_rID].end || (_now > round_[_rID].end && hasPlayersInRound(_rID) == false)))
            return ( (round_[_rID].keys.add(_keys)).ethRec(_keys) );
        else // rounds over.  need price for new round
            return ( (_keys).eth() );
    }
//==============================================================================
//    _|_ _  _ | _  .
//     | (_)(_)|_\  .
//==============================================================================
    /**
     * @dev gets existing or registers new pID.  use this when a player may be new
     * @return pID 
     */
    function determinePID(F3Ddatasets.EventReturns memory _eventData_)
        private
        returns (F3Ddatasets.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 
            playerCount++;
            _pID = playerCount;
            bytes32 _name = plyr_[_pID].name;
            uint256 _laff = plyr_[_pID].laff;
            
            // set up player account 
            pIDxAddr_[msg.sender] = _pID;
            plyr_[_pID].addr = msg.sender;
            
            if (_name != "")
            {
                pIDxName_[_name] = _pID;
                plyr_[_pID].name = _name;
            }
            
            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, F3Ddatasets.EventReturns memory _eventData_)
        private
        returns (F3Ddatasets.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(F3Ddatasets.EventReturns memory _eventData_)
        private
        returns (F3Ddatasets.EventReturns)
    {
        // setup local rID
        uint256 _rID = rID_;
        
        // grab our winning player and team id's
        // uint256 _winPID = round_[_rID].plyrs[winnerNum_ - 1];
        // 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 = ((round_[_rID].pot).mul(48)) / 100;
        // uint256 _com = (_pot / 50);
        uint256 _gen = ((round_[_rID].pot).mul(potSplit_[round_[_rID].team].gen)) / 100;
        // uint256 _p3d = (_pot.mul(potSplit_[_winTID].p3d)) / 100;
        uint256 _fee = ((round_[_rID].pot) / 50).add(((round_[_rID].pot).mul(potSplit_[round_[_rID].team].p3d)) / 100);
        uint256 _res = ((((round_[_rID].pot).sub(_win)).sub(_fee)).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);
        }
        
        calcTotalWinnerKeys(_rID);
        // pay our winner
        plyr_[round_[_rID].plyrs[winnerNum_ - 1]].win = (_win.mul(plyrRnds_[round_[_rID].plyrs[winnerNum_ - 1]][_rID].keys) / totalWinnersKeys_).add(plyr_[round_[_rID].plyrs[winnerNum_ - 1]].win);
        for (uint8 i = 0; i < winnerNum_ - 1; i++) {
            plyr_[round_[_rID].plyrs[i]].win = (_win.mul(plyrRnds_[round_[_rID].plyrs[i]][_rID].keys) / totalWinnersKeys_).add(plyr_[round_[_rID].plyrs[i]].win);
        }
        
        // distribute gen portion to key holders
        round_[_rID].mask = _ppt.add(round_[_rID].mask);
        
        // send share for p3d to divies
        if (!teamAddress.send(_fee)) {
            // Nothing
        }
            
        // prepare event data
        _eventData_.compressedData = _eventData_.compressedData + (round_[_rID].end * 1000000);
        _eventData_.compressedIDs = _eventData_.compressedIDs + (round_[_rID].plyrs[winnerNum_ - 1] * 100000000000000000000000000) + (round_[_rID].team * 100000000000000000);
        _eventData_.winnerAddr = plyr_[round_[_rID].plyrs[winnerNum_ - 1]].addr;
        _eventData_.winnerName = plyr_[round_[_rID].plyrs[winnerNum_ - 1]].name;
        _eventData_.amountWon = _win;
        _eventData_.genAmount = _gen;
        _eventData_.P3DAmount = ((round_[_rID].pot).mul(potSplit_[round_[_rID].team].p3d)) / 100;
        _eventData_.newPot = _res;
        
        // start next round
        rID_++;
        _rID++;
        round_[_rID].strt = now;
        round_[_rID].end = now.add(rndInit_).add(rndGap_);
        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;
        // if (round_[_rID].end.sub(_now) <= (60 seconds) && hasPlayersInRound(_rID) == true) {
        //     return;
        // }
        
        // calculate time based on number of keys bought
        uint256 _newTime;
        if (_now > round_[_rID].end && hasPlayersInRound(_rID) == false)
            _newTime = (((_keys) / (1000000000000000000)).mul(rndInc_)).add(_now);
        else
            _newTime = (((_keys) / (1000000000000000000)).mul(rndInc_)).add(round_[_rID].end);
        
        // rndSubed_ 根据资金量扣减时间
        uint256 _rndEth = round_[_rID].eth; // 本轮eth总量
        uint256 _rndNeedSub = 0; // 本轮最大时间需减少的时间
        if (_rndEth >= (2000 ether)) {
            if (_rndEth <= (46000 ether)) { // sub hours
                _rndNeedSub = (1 hours).mul(_rndEth / (2000 ether));
            } else {
                _rndNeedSub = (1 hours).mul(23);
                uint256 _ethLeft = _rndEth.sub(46000 ether);
                if (_ethLeft <= (12000 ether)) {
                    _rndNeedSub = _rndNeedSub.add((590 seconds).mul(_ethLeft / (2000 ether)));
                } else { // 最后一分钟
                    _rndNeedSub = 999;
                }
            }
        }

        if (_rndNeedSub != 999) {
            uint256 _rndMax = rndMax_.sub(_rndNeedSub);
            // 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 generates a random number between 0-99 and checks to see if thats
     * resulted in an airdrop win
     * @return do we have a winner?
     */
    function airdrop()
        private 
        view 
        returns(bool)
    {
        uint256 seed = uint256(keccak256(abi.encodePacked(
            
            (block.timestamp).add
            (block.difficulty).add
            ((uint256(keccak256(abi.encodePacked(block.coinbase)))) / (now)).add
            (block.gaslimit).add
            ((uint256(keccak256(abi.encodePacked(msg.sender)))) / (now)).add
            (block.number)
            
        )));
        if((seed - ((seed / 1000) * 1000)) < airDropTracker_)
            return(true);
        else
            return(false);
    }

    /**
     * @dev distributes eth based on fees to com, aff, and p3d
     */
    function distributeExternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, F3Ddatasets.EventReturns memory _eventData_)
        private
        returns(F3Ddatasets.EventReturns)
    {
        // pay 2% out to community rewards
        uint256 _com = _eth / 50;
        uint256 _p3d;
        uint256 _long = _eth / 100;
        
        // distribute share to affiliate
        uint256 _aff = _eth / 10;
        
        // decide what to do with affiliate share of fees
        // 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);
            emit F3Devents.onAffiliatePayout(_affID, plyr_[_affID].addr, plyr_[_affID].name, _rID, _pID, _aff, now);
        } else {
            _p3d = _aff;
        }
        
        _p3d = _p3d.add((_eth.mul(fees_[_team].p3d)) / (100));
        if (_p3d > 0)
        {   
            // set up event data
            _eventData_.P3DAmount = _p3d.add(_eventData_.P3DAmount);
        }


        // deposit to divies contract
        // Divies.deposit.value(_p3d)();
        if (!teamAddress.send(_p3d.add(_com).add(_long))) {
            // Nothing
        }
        
        return(_eventData_);
    }
    
    function potSwap()
        external
        payable
    {
        // setup local rID
        uint256 _rID = rID_ + 1;
        
        round_[_rID].pot = round_[_rID].pot.add(msg.value);
        emit F3Devents.onPotSwapDeposit(_rID, msg.value);
    }
    
    /**
     * @dev distributes eth based on fees to gen and pot
     */
    function distributeInternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _team, uint256 _keys, F3Ddatasets.EventReturns memory _eventData_)
        private
        returns(F3Ddatasets.EventReturns)
    {
        // calculate gen share
        uint256 _gen = (_eth.mul(fees_[_team].gen)) / 100;
        
        // toss 1% into airdrop pot 
        uint256 _air = (_eth / 100);
        airDropPot_ = airDropPot_.add(_air);
        
        // update eth balance (eth = eth - (com share + pot swap share + aff share + p3d share + airdrop pot share))
        _eth = _eth.sub(((_eth.mul(14)) / 100).add((_eth.mul(fees_[_team].p3d)) / 100));
        
        // calculate 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);
        
        // 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, F3Ddatasets.EventReturns memory _eventData_)
        private
    {
        _eventData_.compressedData = _eventData_.compressedData + (now * 1000000000000000000) + (_team * 100000000000000000000000000000);
        _eventData_.compressedIDs = _eventData_.compressedIDs + _pID + (rID_ * 10000000000000000000000000000000000000000000000000000);
        
        emit F3Devents.onEndTx
        (
            _eventData_.compressedData,
            _eventData_.compressedIDs,
            plyr_[_pID].name,
            msg.sender,
            _eth,
            _keys,
            _eventData_.winnerAddr,
            _eventData_.winnerName,
            _eventData_.amountWon,
            _eventData_.newPot,
            _eventData_.P3DAmount,
            _eventData_.genAmount,
            _eventData_.potAmount,
            airDropPot_
        );
    }
//==============================================================================
//    (~ _  _    _._|_    .
//    _)(/_(_|_|| | | \/  .
//====================/=========================================================
    /** 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()
        isOwner()
        public
    {
		// make sure that its been linked.
        // require(address(otherF3D_) != address(0), "must link to other FoMo3D first");
        
        // can only be ran once
        require(activated_ == false, "fomo3d already activated");
        
        // activate the contract 
        activated_ = true;
        
        // lets start first round
        rID_ = 1;
        round_[1].strt = now + rndExtra_ - rndGap_;
        round_[1].end = now + rndInit_ + rndExtra_;
    }
}

//==============================================================================
//   __|_ _    __|_ _  .
//  _\ | | |_|(_ | _\  .
//==============================================================================
library F3Ddatasets {
    //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 P3DAmount;          // amount distributed to p3d
        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 
        uint256 ico;    // ICO phase investment
    }
    struct Round {
        uint256[5] plyrs;   // 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 ico;    // total eth sent in during ICO phase
        uint256 icoGen; // total eth for gen during ICO phase
        uint256 icoAvg; // average key price for ICO phase
    }
    struct TeamFee {
        uint256 gen;    // % of buy in thats paid to key holders of current round
        uint256 p3d;    // % of buy in thats paid to p3d holders
    }
    struct PotSplit {
        uint256 gen;    // % of pot thats paid to key holders of current round
        uint256 p3d;    // % of pot thats paid to p3d holders
    }
}

//==============================================================================
//  |  _      _ _ | _  .
//  |<(/_\/  (_(_||(_  .
//=======/======================================================================
library F3DKeysCalcLong {
    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)
        internal
        pure
        returns (uint256)
    {
        return(keys((_curEth).add(_newEth)).sub(keys(_curEth)));
    }
    
    /**
     * @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) 
        internal
        pure
        returns(uint256)
    {
        return ((((((_eth).mul(1000000000000000000)).mul(312500000000000000000000000)).add(5624988281256103515625000000000000000000000000000000000000000000)).sqrt()).sub(74999921875000000000000000000000)) / (156250000);
    }
    
    /**
     * @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());
    }
}

//==============================================================================
//  . _ _|_ _  _ |` _  _ _  _  .
//  || | | (/_| ~|~(_|(_(/__\  .
//==============================================================================

interface Fomo3dContract {
    function setOldContractData(address oldContract) external payable;
}

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

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);
    }
}

/**
 * @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":"airDropTracker_","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":"teamAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"round_","outputs":[{"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":"ico","type":"uint256"},{"name":"icoGen","type":"uint256"},{"name":"icoAvg","type":"uint256"}],"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":"gen","type":"uint256"},{"name":"p3d","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":false,"inputs":[{"name":"addr","type":"address"}],"name":"setTeamAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"rndExtra","type":"uint256"},{"name":"rndGap","type":"uint256"}],"name":"gameSettings","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"uint256"},{"name":"","type":"address"},{"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":"_affCode","type":"address"},{"name":"_team","type":"uint256"},{"name":"_eth","type":"uint256"}],"name":"reLoadXaddr","outputs":[],"payable":false,"stateMutability":"nonpayable","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"},{"name":"ico","type":"uint256"}],"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":true,"inputs":[{"name":"","type":"uint256"}],"name":"potSplit_","outputs":[{"name":"gen","type":"uint256"},{"name":"p3d","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":"airDropPot_","outputs":[{"name":"","type":"uint256"}],"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":false,"inputs":[{"name":"newContract","type":"address"}],"name":"updateContract","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"potSwap","outputs":[],"payable":true,"stateMutability":"payable","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"},{"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":"P3DAmount","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"},{"indexed":false,"name":"potAmount","type":"uint256"},{"indexed":false,"name":"airDropPot","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":"P3DAmount","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":"P3DAmount","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":"P3DAmount","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"}]

608060405260008054600160a060020a03191673c2daaf4e63af76b394dea9a98a1fa650fc626b91178155600181905560028190556004819055662386f26fc10000600655600b556011805460a060020a60ff021916905534801561006357600080fd5b5060118054600160a060020a03191633179055604080518082018252601e808252600c60208084019182526000808052600f80835294517ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3755591517ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3765584518086018652602b8082526007828401908152600180865287855292517f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88f55517f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f8905586518088018852603481526010818501818152600280885289875292517fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeead55517fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeeae558851808a018a52928352828501888152600380885289875293517f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc829682855517f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc8296829558851808a018a52888152808601988952868052818652517f6e0956cda88cad152e89927e53611735b61a5c762d1428573c6931b0a5efcb015596517f6e0956cda88cad152e89927e53611735b61a5c762d1428573c6931b0a5efcb02558751808901895260198152600a818601908152938652878552517f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f5591517f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b605586518088018852601481526018818501908152928552868452517f853b2fefe141400fef543280f93d98bd49996069f632d0d20236afeeed8e46a25590517f853b2fefe141400fef543280f93d98bd49996069f632d0d20236afeeed8e46a3558551808701909652928552600e858201908152929091529190915290517fb3edd0d534d647cffdae9f1294f11ad21f3fcf2814bea44c92bbb8d384a57d9e55517fb3edd0d534d647cffdae9f1294f11ad21f3fcf2814bea44c92bbb8d384a57d9f5561547d806103926000396000f3006080604052600436106101d75763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663018a25e8811461037e57806306fdde03146103a5578063079ce3271461042f5780630e07ef811461044f5780630f15f4c01461049d57806310f01eba146104b257806311a09ae7146104d3578063180603eb146104e85780631c75f085146104fd57806324c33d331461052e57806327d879241461059c5780632ce21999146105f35780632e19ebdc14610624578063349cdcac1461063c5780633ccfd60b1461065a5780635893d4811461066f578063624ae5c01461068a578063630664341461069f5780636690864e146106d55780637367f156146106f6578063747dff421461071157806382bfc7391461079c5780638f38f309146107c357806395d89b41146107d157806398a0871d146107e6578063a2bccae9146107fd578063a65b37a11461083e578063c519500e1461084c578063c7e284b814610864578063ce89c80c14610879578063cf80800014610894578063d53b2679146108ac578063d87574e0146108d5578063de7874f3146108ea578063e3db17b814610944578063ed78cf4a14610965578063ee0b5d8b1461096d578063f32306d2146109c6575b6101df615319565b60115460009060a060020a900460ff16151560011461024a576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015610291576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca008110156102e9576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610339576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b61034285610a14565b336000908152600760209081526040808320548084526009909252909120600601549196509450610377908590600288610afa565b5050505050005b34801561038a57600080fd5b50610393610d2e565b60408051918252519081900360200190f35b3480156103b157600080fd5b506103ba610ded565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103f45781810151838201526020016103dc565b50505050905090810190601f1680156104215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561043b57600080fd5b5061044d600435602435604435610e24565b005b6040805160206004803580820135601f810184900484028501840190955284845261044d94369492936024939284019190819084018382808284375094975050933594506110379350505050565b3480156104a957600080fd5b5061044d61113f565b3480156104be57600080fd5b50610393600160a060020a036004351661127d565b3480156104df57600080fd5b5061039361128f565b3480156104f457600080fd5b50610393611295565b34801561050957600080fd5b5061051261129b565b60408051600160a060020a039092168252519081900360200190f35b34801561053a57600080fd5b506105466004356112aa565b604080519b8c5260208c019a909a529715158a8a015260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b6040805160206004803580820135601f810184900484028501840190955284845261044d94369492936024939284019190819084018382808284375094975050509235600160a060020a0316935061130a92505050565b3480156105ff57600080fd5b5061060b600435611374565b6040805192835260208301919091528051918290030190f35b34801561063057600080fd5b5061039360043561138d565b34801561064857600080fd5b5061044d60043560243560443561139f565b34801561066657600080fd5b5061044d61158c565b34801561067b57600080fd5b50610393600435602435611911565b34801561069657600080fd5b5061039361192e565b3480156106ab57600080fd5b506106b7600435611934565b60408051938452602084019290925282820152519081900360600190f35b3480156106e157600080fd5b5061044d600160a060020a0360043516611b0e565b34801561070257600080fd5b5061044d600435602435611b8d565b34801561071d57600080fd5b50610726611be8565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b3480156107a857600080fd5b5061044d600160a060020a0360043516602435604435611d81565b61044d600435602435611f84565b3480156107dd57600080fd5b506103ba612172565b61044d600160a060020a03600435166024356121a9565b34801561080957600080fd5b506108186004356024356123c7565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61044d6004356024356123f9565b34801561085857600080fd5b5061060b6004356125fd565b34801561087057600080fd5b50610393612616565b34801561088557600080fd5b506103936004356024356126a5565b3480156108a057600080fd5b50610393600435612747565b3480156108b857600080fd5b506108c16127f3565b604080519115158252519081900360200190f35b3480156108e157600080fd5b50610393612803565b3480156108f657600080fd5b50610902600435612809565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561095057600080fd5b506108c1600160a060020a0360043516612850565b61044d612987565b34801561097957600080fd5b5061098e600160a060020a0360043516612a04565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6040805160206004803580820135601f810184900484028501840190955284845261044d9436949293602493928401919081908401838280828437509497505093359450612ad99350505050565b610a1c615319565b336000908152600760205260408120549080821515610af1575050600b8054600190810191829055600082815260096020818152604080842094850154600686015433808752600785529286208890559487905292909152835473ffffffffffffffffffffffffffffffffffffffff191617909255919250908115610ac0576000828152600860209081526040808320869055858352600990915290206001018290555b8015801590610acf5750828114155b15610ae95760008381526009602052604090206006018190555b845160010185525b50929392505050565b6005546002546000828152600d602052604090206008015442910181118015610b5f57506000828152600d602052604090206006015481111580610b5f57506000828152600d602052604090206006015481118015610b5f5750610b5d82612b43565b155b15610b7757610b72828734888888612b91565b610d26565b6000828152600d602052604090206006015481118015610ba957506000828152600d602052604090206007015460ff16155b15610cf1576000828152600d60205260409020600701805460ff19166001179055610bd3836130e1565b925080670de0b6b3a764000002836000015101836000018181525050858360200151018360200181815250507fa7801a70b37e729a11492aad44fd3dba89b4149f0609dc0f6837bf9e57e2671a3360096000898152602001908152602001600020600101543486600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a15b600086815260096020526040902060030154610d13903463ffffffff61362b16565b6000878152600960205260409020600301555b505050505050565b6005546002546000828152600d602052604081206008015490929142910181118015610d9657506000828152600d602052604090206006015481111580610d9657506000828152600d602052604090206006015481118015610d965750610d9482612b43565b155b15610dde576000828152600d6020526040902060090154610dd790670de0b6b3a764000090610dcb908263ffffffff61362b16565b9063ffffffff61368c16565b9250610de8565b6544364c5bb00092505b505090565b60408051808201909152601881527f457468204b696c6c6572204c6f6e67204f6666696369616c0000000000000000602082015281565b610e2c615319565b601154600090819060a060020a900460ff161515600114610e99576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015610ee0576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b85633b9aca00811015610f38576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610f88576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b336000908152600760205260409020549450881580610fb7575060008581526009602052604090206001015489145b15610fd5576000858152600960205260409020600601549350611014565b60008981526008602090815260408083205488845260099092529091206006015490945084146110145760008581526009602052604090206006018490555b61101d886136b9565b975061102c85858a8a8a6136de565b505050505050505050565b6000808080808033803b8015611085576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b61108e8a6138f4565b97503396503495506110a133898b614107565b600160a060020a03808a1660008181526007602090815260408083205486845260098352928190208054600190910154825189151581529384018890529516828201526060820194909452608081018c90524260a082015292519499509297509195508a9286917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a450505050505050505050565b601154600160a060020a0316331461118f576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b60115460a060020a900460ff16156111f1576040805160e560020a62461bcd02815260206004820152601860248201527f666f6d6f336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b6011805474ff0000000000000000000000000000000000000000191660a060020a179055600160058190556002548154600092909252600d602052429091019081037ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993cd5561a8c0017ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993cb55565b60076020526000908152604090205481565b60045481565b60065481565b600054600160a060020a031681565b600d60208190526000918252604090912060058101546006820154600783015460088401546009850154600a860154600b870154600c88015498880154600e890154600f909901549799969860ff9096169794969395929491939290918b565b6000808080808033803b8015611358576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b6113618a6138f4565b97503396503495506110a133898b614148565b600f602052600090815260409020805460019091015482565b60086020526000908152604090205481565b6113a7615319565b60115460009060a060020a900460ff161515600114611412576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015611459576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b84633b9aca008110156114b1576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611501576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b33600090815260076020526040902054935087158061151f57508388145b1561153d57600084815260096020526040902060060154975061156a565b600084815260096020526040902060060154881461156a5760008481526009602052604090206006018890555b611573876136b9565b965061158284898989896136de565b5050505050505050565b60008060008061159a615319565b60115460a060020a900460ff161515600114611602576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015611649576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b60055433600090815260076020908152604080832054848452600d9092529091206006015491985042975095508611801561169657506000878152600d602052604090206007015460ff16155b80156116ac57506116a687612b43565b15156001145b15611852576000878152600d60205260409020600701805460ff191660011790556116d6836130e1565b92506116e1856141a0565b9350600084111561173257600085815260096020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611730573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc3360096000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a1611908565b61185b856141a0565b935060008411156118ac57600085815260096020526040808220549051600160a060020a039091169186156108fc02918791818181858888f193505050501580156118aa573d6000803e3d6000fd5b505b6000858152600960209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b600e60209081526000928352604080842090915290825290205481565b60055481565b6005546000818152600d6020526040812060060154909182918291904211801561197057506000818152600d602052604090206007015460ff16155b8015611986575061198081612b43565b15156001145b15611ade576119958582614222565b15611aa2576119a381614273565b600c546000868152600a60209081526040808320858452825280832060010154600d909252909120600b0154611a2b9291611a02916064906119ec90603063ffffffff61436116565b8115156119f557fe5b049063ffffffff61436116565b811515611a0b57fe5b60008881526009602052604090206002015491900463ffffffff61362b16565b6000868152600a60209081526040808320858452909152902060020154611a8490611a6690611a5a89866143d8565b9063ffffffff61449016565b6000888152600960205260409020600301549063ffffffff61362b16565b60008781526009602052604090206004015491955093509150611b06565b6000858152600960209081526040808320600290810154600a8452828520868652909352922090910154611a8490611a6690611a5a89866143d8565b60008581526009602052604090206002810154600590910154611a8490611a669088906144f0565b509193909250565b601154600160a060020a03163314611b5e576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b601154600160a060020a03163314611bdd576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b600191909155600255565b6005546000818152600d60208190526040822090810154600982015460068301546008840154600b8501549596879687968796879687968796879687968796879687968796879692959491939092919060040154600580546000908152600d6020526040812091820154600a9093029092019160099160040154815260208082019290925260409081016000908120546005548252600d909352908120600160a060020a03909216916009919060040154815260200190815260200160002060010154600e60006005548152602001908152602001600020600080815260200190815260200160002054600e6000600554815260200190815260200160002060006001815260200190815260200160002054600e6000600554815260200190815260200160002060006002815260200190815260200160002054600e60006005548152602001908152602001600020600060038152602001908152602001600020546003546103e802600454019d509d509d509d509d509d509d509d509d509d509d509d509d509d50909192939495969798999a9b9c9d565b611d89615319565b601154600090819060a060020a900460ff161515600114611df6576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015611e3d576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b85633b9aca00811015611e95576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611ee5576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b336000908152600760205260409020549450600160a060020a0389161580611f155750600160a060020a03891633145b15611f33576000858152600960205260409020600601549350611014565b600160a060020a038916600090815260076020908152604080832054888452600990925290912060060154909450841461101457600085815260096020526040902060060184905561101d886136b9565b611f8c615319565b60115460009060a060020a900460ff161515600114611ff7576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b801561203e576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca00811015612096576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156120e6576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b6120ef85610a14565b33600090815260076020526040902054909550935086158061211057508387145b1561212e57600084815260096020526040902060060154965061215b565b600084815260096020526040902060060154871461215b5760008481526009602052604090206006018790555b612164866136b9565b955061190884888888610afa565b60408051808201909152600381527f454b4c0000000000000000000000000000000000000000000000000000000000602082015281565b6121b1615319565b601154600090819060a060020a900460ff16151560011461221e576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015612265576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca008110156122bd576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561230d576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b61231686610a14565b336000908152600760205260409020549096509450600160a060020a03881615806123495750600160a060020a03881633145b156123675760008581526009602052604090206006015493506123b0565b600160a060020a03881660009081526007602090815260408083205488845260099092529091206006015490945084146123b05760008581526009602052604090206006018490555b6123b9876136b9565b965061158285858989610afa565b600a60209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b612401615319565b601154600090819060a060020a900460ff16151560011461246e576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b80156124b5576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca0081101561250d576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561255d576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b61256686610a14565b336000908152600760205260409020549096509450871580612598575060008581526009602052604090206001015488145b156125b65760008581526009602052604090206006015493506123b0565b60008881526008602090815260408083205488845260099092529091206006015490945084146123b05760008581526009602052604090206006018490556123b9876136b9565b6010602052600090815260409020805460019091015482565b6005546000818152600d6020526040812060060154909190429081101561269c576002546000838152600d602052604090206008015401811115612676576000828152600d6020526040902060060154610dd7908263ffffffff61449016565b6002546000838152600d6020526040902060080154610dd791018263ffffffff61449016565b60009250610de8565b6002546000838152600d602052604081206008015490914291018111801561270957506000848152600d60205260409020600601548111158061270957506000848152600d602052604090206006015481118015612709575061270784612b43565b155b15612737576000848152600d60205260409020600a0154612730908463ffffffff61454d16565b9150612740565b6127308361456e565b5092915050565b6005546002546000828152600d6020526040812060080154909291429101811180156127af57506000828152600d6020526040902060060154811115806127af57506000828152600d6020526040902060060154811180156127af57506127ad82612b43565b155b156127e3576000828152600d60205260409020600901546127dc908590610dcb908263ffffffff61362b16565b92506127ec565b6127dc846145e6565b5050919050565b60115460a060020a900460ff1681565b60035481565b6009602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b6011546000908190600160a060020a031633146128a5576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b6005546000908152600d602052604090206006015442111561297c57506040518290600160a060020a03821690303180156108fc02916000818181858888f193505050501580156128fa573d6000803e3d6000fd5b50604080517fd3cce1d20000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a0383169163d3cce1d291602480830192600092919082900301818387803b15801561295b57600080fd5b505af115801561296f573d6000803e3d6000fd5b5050505060019150612981565b600091505b50919050565b6005546001016000818152600d60205260409020600b01546129af903463ffffffff61362b16565b6000828152600d6020908152604091829020600b01929092558051838152349281019290925280517f74b1d2f771e0eff1b2c36c38499febdbea80fe4013bdace4fc4b653322c2895c9281900390910190a150565b6000806000806000806000806000600554915050600160a060020a0389166000908152600760209081526040808320548084526009808452828520600180820154600a8752858820898952875294872001549583905293526002830154600590930154909384939091612a9a90612a7c9086906144f0565b6000878152600960205260409020600301549063ffffffff61362b16565b600095865260096020908152604080882060040154600a83528189209989529890915290952054939e929d50909b509950919750919550909350915050565b6000808080808033803b8015612b27576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b612b308a6138f4565b97503396503495506110a187898b614653565b6000805b6000839052600d602052600560ff8216101561297c576000838152600d6020526040902060ff821660058110612b7957fe5b015415612b895760019150612981565b600101612b47565b6000858152600a602090815260408083208984529091528120600101548190819081901515612bc757612bc4898661480f565b94505b60008a8152600d60205260409020600a015468056bc75e2d63100000118015612c2157506000898152600a602090815260408083208d8452909152902054670de0b6b3a764000090612c1f908a63ffffffff61362b16565b115b15612ca8576000898152600a602090815260408083208d8452909152902054612c5990670de0b6b3a76400009063ffffffff61449016565b9350612c6b888563ffffffff61449016565b60008a815260096020526040902060030154909350612c90908463ffffffff61362b16565b60008a81526009602052604090206003015592965086925b633b9aca008811156130d55760008a8152600d60205260409020600a0154612cd6908963ffffffff61454d16565b9150670de0b6b3a76400008210612d4c57612cf1828b61486e565b60008a8152600d6020526040902060018101805482556002820180549091556003820180549091556004820180549091558a9055600501548614612d445760008a8152600d602052604090206005018690555b845160640185525b67016345785d8a00008810612f8c57600480546001019055612d6c614a2e565b151560011415612f8c57678ac7230489e800008810612e0d57600354606490612d9c90604b63ffffffff61436116565b811515612da557fe5b60008b8152600960205260409020600201549190049150612dcc908263ffffffff61362b16565b60008a815260096020526040902060020155600354612df1908263ffffffff61449016565b60035584516d0eca8847c4129106ce8300000000018552612f61565b670de0b6b3a76400008810158015612e2c5750678ac7230489e8000088105b15612eb957600354606490612e4890603263ffffffff61436116565b811515612e5157fe5b60008b8152600960205260409020600201549190049150612e78908263ffffffff61362b16565b60008a815260096020526040902060020155600354612e9d908263ffffffff61449016565b60035584516d09dc5ada82b70b59df0200000000018552612f61565b67016345785d8a00008810158015612ed85750670de0b6b3a764000088105b15612f6157600354606490612ef490601963ffffffff61436116565b811515612efd57fe5b60008b8152600960205260409020600201549190049150612f24908263ffffffff61362b16565b60008a815260096020526040902060020155600354612f49908263ffffffff61449016565b60035584516d0eca8847c4129106ce83000000000185525b84516d314dc6448d9338c15b0a000000008202016c7e37be2022c0914b268000000001855260006004555b60045485516103e89091020185526000898152600a602090815260408083208d8452909152902060010154612fc890839063ffffffff61362b16565b60008a8152600a602090815260408083208e84529091529020600181019190915554612ff590899061362b565b60008a8152600a602090815260408083208e8452825280832093909355600d9052206009015461302c90839063ffffffff61362b16565b60008b8152600d602052604090206009810191909155600a015461305790899063ffffffff61362b16565b60008b8152600d60209081526040808320600a0193909355600e81528282208983529052205461308e90899063ffffffff61362b16565b60008b8152600e602090815260408083208a84529091529020556130b68a8a8a8a8a8a614c45565b94506130c68a8a8a89868a614dd1565b94506130d589878a8589614f29565b50505050505050505050565b6130e9615319565b6005546000818152600d60205260408120600b015481908190819081908190819060649061311e90603063ffffffff61436116565b81151561312757fe5b60008a8152600d60208181526040808420600581015485526010835290842054938e9052919052600b015492909104985060649161316a9163ffffffff61436116565b81151561317357fe5b60008a8152600d60208181526040808420600581015485526010835290842060010154938e9052919052600b01549290910497506131ee916064916131be919063ffffffff61436116565b8115156131c757fe5b60008b8152600d60205260409020600b0154919004906032905b049063ffffffff61362b16565b6000898152600d60205260409020600b015490955061321d908790611a5a90889082908c63ffffffff61449016565b6000898152600d602052604090206009015490945061324a87670de0b6b3a764000063ffffffff61436116565b81151561325357fe5b60008a8152600d602052604090206009015491900493506132a190670de0b6b3a76400009061328990869063ffffffff61436116565b81151561329257fe5b8891900463ffffffff61449016565b915060008211156132d1576132bc868363ffffffff61449016565b95506132ce848363ffffffff61362b16565b93505b6132da88614273565b6000888152600d6020818152604080842060048082015486526009845291852060020154600c548e8752949093526133559492939261334c92600a92905b0154815260200190815260200160002060008d8152602001908152602001600020600101548b61436190919063ffffffff16565b8115156131e157fe5b6000898152600d60209081526040808320600401548352600990915281206002019190915590505b600460ff8216101561342e576000888152600d602052604081206133f09160099160ff8516600581106133ac57fe5b0154815260200190815260200160002060020154600c5461334c600a6000600d60008f81526020019081526020016000206000018760ff1660058110151561331857fe5b6000898152600d602052604081206009919060ff85166005811061341057fe5b0154815260208101919091526040016000206002015560010161337d565b6000888152600d60205260409020600c015461345190849063ffffffff61362b16565b6000898152600d6020526040808220600c019290925580549151600160a060020a039092169187156108fc0291889190818181858888f150505050506000888152600d60208181526040832060068101548e51620f4240909102018e52928b905252600581015467016345785d8a000002906004015460208c810180516a52b7d2dcc80cd2e40000009093029092019290920190526000898152600d90915260408120600991906004015481526020808201929092526040908101600090812054600160a060020a03168d8301528a8152600d9092528120600991906004015481526020808201929092526040908101600090812060019081015460608f015260808e018b905260e08e018a90528b8252600d808552838320600581015484526010865293832090910154918c9052909252600b015460649161359a919063ffffffff61436116565b8115156135a357fe5b0460c08b015260a08a01849052600580546001908101909155979097016000818152600d602052604090204260089091018190556002549198916135ff916135f39061a8c063ffffffff61362b16565b9063ffffffff61362b16565b6000898152600d602052604090206006810191909155600b018490558998505050505050505050919050565b81810182811015613686576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b60006136b26136a96136a4858563ffffffff61449016565b6145e6565b611a5a856145e6565b9392505050565b6000808210806136c95750600382115b156136d6575060026136d9565b50805b919050565b6005546002546000828152600d60205260409020600801544291018111801561374357506000828152600d60205260409020600601548111158061374357506000828152600d602052604090206006015481118015613743575061374182612b43565b155b1561377a5761375584611a5a896141a0565b600088815260096020526040902060030155613775828886898988612b91565b611908565b6000828152600d6020526040902060060154811180156137ac57506000828152600d602052604090206007015460ff16155b15611908576000828152600d60205260409020600701805460ff191660011790556137d6836130e1565b925080670de0b6b3a764000002836000015101836000018181525050868360200151018360200181815250507f88261ac70d02d5ea73e54fa6da17043c974de1021109573ec1f6f57111c823dd33600960008a815260200190815260200160002060010154856000015186602001518760400151886060015189608001518a60a001518b60c001518c60e00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019a505050505050505050505060405180910390a150505050505050565b805160009082908280806020841180159061390f5750600084115b151561398b576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b84600081518110151561399a57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015613a01575084600185038151811015156139d957fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613a7d576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b846000815181101515613a8c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a021415613bcf57846001815181101515613ac657fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515613b43576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b846001815181101515613b5257fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515613bcf576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b8382101561409f5784517f400000000000000000000000000000000000000000000000000000000000000090869084908110613c0c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613c80575084517f5b0000000000000000000000000000000000000000000000000000000000000090869084908110613c6157fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15613ced578482815181101515613c9357fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a028583815181101515613cc457fe5b906020010190600160f860020a031916908160001a905350821515613ce857600192505b614094565b8482815181101515613cfb57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021480613dcb575084517f600000000000000000000000000000000000000000000000000000000000000090869084908110613d5757fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613dcb575084517f7b0000000000000000000000000000000000000000000000000000000000000090869084908110613dac57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80613e75575084517f2f0000000000000000000000000000000000000000000000000000000000000090869084908110613e0157fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613e75575084517f3a0000000000000000000000000000000000000000000000000000000000000090869084908110613e5657fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515613ef1576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8482815181101515613eff57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415613fde578482600101815181101515613f3b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515613fde576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8215801561408a575084517f30000000000000000000000000000000000000000000000000000000000000009086908490811061401757fe5b90602001015160f860020a900460f860020a02600160f860020a031916108061408a575084517f39000000000000000000000000000000000000000000000000000000000000009086908490811061406b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b1561409457600192505b600190910190613bd4565b6001831515146140f9576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b60008080831580159061411a5750838514155b1561413057506000838152600860205260409020545b61413b868683614653565b9250925050935093915050565b60008080600160a060020a03841615801590614176575085600160a060020a031684600160a060020a031614155b156141305750600160a060020a03831660009081526007602052604090205461413b868683614653565b60008181526009602052604081206005015481906141bf908490615097565b6000838152600960205260409020600481015460038201546002909201546141f1926135f3919063ffffffff61362b16565b9050600081111561368657600083815260096020526040812060028101829055600381018290556004015592915050565b6000805b60058160ff161015614269576000838152600d60205260409020849060ff83166005811061425057fe5b015414156142615760019150612740565b600101614226565b5060009392505050565b61427b615372565b6000600c8190555b60058160ff16101561435c576000838152600d602052604090206142b79060ff8316600581106142af57fe5b01548361512d565b1515614354576000838152600d6020526040902060ff8216600581106142d957fe5b01548260ff8316600581106142ea57fe5b602090810291909101919091526000848152600d9091526040812061435091600a9160ff85166005811061431a57fe5b01548152602001908152602001600020600085815260200190815260200160002060010154600c5461362b90919063ffffffff16565b600c555b600101614283565b505050565b600082151561437257506000613686565b5081810281838281151561438257fe5b0414613686576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b6000828152600a60209081526040808320848452825280832060010154600d808452828520600981015460058201548752601086529386205487875291909452600b90930154670de0b6b3a76400009361447f9361447392909161444a9187916064916119ec9163ffffffff61436116565b81151561445357fe5b6000888152600d60205260409020600c015491900463ffffffff61362b16565b9063ffffffff61436116565b81151561448857fe5b049392505050565b6000828211156144ea576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b6000828152600a6020908152604080832084845282528083206002810154600190910154600d909352908320600c01546136b292670de0b6b3a76400009161453791614361565b81151561454057fe5b049063ffffffff61449016565b60006136b261455b8461456e565b611a5a61456e868663ffffffff61362b16565b60006309502f906145d66d03b2a1d15167e7c5699bfde00000611a5a6145d17a0dac7055469777a6122ee4310dd6c14410500f29048400000000006135f36b01027e72f1f12813088000006144738a670de0b6b3a764000063ffffffff61436116565b615169565b8115156145df57fe5b0492915050565b60006145f9670de0b6b3a76400006151bc565b6145d6600261462c61461986670de0b6b3a764000063ffffffff61436116565b65886c8f6730709063ffffffff61436116565b81151561463557fe5b046135f3614642866151bc565b6304a817c89063ffffffff61436116565b60008060008060065434101515156146db576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6000868152600860205260409020541561473f576040805160e560020a62461bcd02815260206004820152601e60248201527f736f7272792074686174206e616d657320616c72656164792074616b656e0000604482015290519081900360640190fd5b5050600160a060020a038516600090815260076020526040812054908115156147ac575050600b8054600190810191829055600160a060020a0387166000908152600760209081526040808320859055848352600982528083208401899055888352600890915290208290555b84158015906147cc57506000828152600960205260409020600601548514155b80156147d85750818514155b156147f6576000828152600960205260409020600601859055614803565b8185141561480357600094505b96939550929350505050565b614817615319565b6000838152600960205260409020600501541561484b5760008381526009602052604090206005015461484b908490615097565b506005805460009384526009602052604090932001919091558051600a01815290565b6000818152600d602052604081206006015442919081908190819081908611801561489f575061489d87612b43565b155b156148c3576148bc866135f3601e670de0b6b3a76400008c6119f5565b94506148f0565b6000878152600d60205260409020600601546148ed906135f3601e670de0b6b3a76400008c6119f5565b94505b6000878152600d60205260408120600a015494509250686c6b935b8bbd40000084106149b4576909bdaa3d398e00c0000084116149455761493e610e10686c6b935b8bbd4000008604614361565b92506149b4565b614958610e10601763ffffffff61436116565b9250614974846909bdaa3d398e00c0000063ffffffff61449016565b915069028a857425466f80000082116149ae5761493e6149a161024e686c6b935b8bbd4000008504614361565b849063ffffffff61362b16565b6103e792505b6103e78314611582576149d0620151808463ffffffff61449016565b90506149e2818763ffffffff61362b16565b851015614a02576000878152600d60205260409020600601859055611582565b614a12818763ffffffff61362b16565b6000888152600d60205260409020600601555050505050505050565b600080614b9f436135f342336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b60208310614aa95780518252601f199092019160209182019101614a8a565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912092505050811515614adf57fe5b046135f3456135f342416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b60208310614b585780518252601f199092019160209182019101614b39565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912092505050811515614b8e57fe5b046135f3424463ffffffff61362b16565b604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b60208310614bed5780518252601f199092019160209182019101614bce565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060045490945092506103e89150839050046103e80282031015614c3c5760019150614c41565b600091505b5090565b614c4d615319565b60328504600060648704600a8804878a14801590614c7b575060008881526009602052604090206001015415155b15614d1b57600088815260096020526040902060040154614ca390829063ffffffff61362b16565b600089815260096020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101839052426060830152518b918d918b917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a4614d1f565b8092505b6000878152600f6020526040902060010154614d6190606490614d49908c9063ffffffff61436116565b811515614d5257fe5b8591900463ffffffff61362b16565b92506000831115614d885760c0860151614d8290849063ffffffff61362b16565b60c08701525b600054600160a060020a03166108fc614dab846135f3878963ffffffff61362b16565b6040518115909202916000818181858888f150989e9d5050505050505050505050505050565b614dd9615319565b6000848152600f6020526040812054819081908190606490614e02908b9063ffffffff61436116565b811515614e0b57fe5b049350606489049250614e298360035461362b90919063ffffffff16565b6003556000888152600f6020526040902060010154614e8490614e7790606490614e5a908d9063ffffffff61436116565b811515614e6357fe5b04606461334c8d600e63ffffffff61436116565b8a9063ffffffff61449016565b9850614e96898563ffffffff61449016565b9150614ea48b8b868a6151c8565b90506000811115614ec257614ebf848263ffffffff61449016565b93505b60008b8152600d60205260409020600b0154614ee8906135f3848463ffffffff61362b16565b60008c8152600d60205260409020600b015560e0860151614f1090859063ffffffff61362b16565b60e0870152506101008501525091979650505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600554751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160096000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600354604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a15050505050565b60006150a383836144f0565b9050600081111561435c576000838152600960205260409020600301546150d190829063ffffffff61362b16565b600084815260096020908152604080832060030193909355600a81528282208583529052206002015461510b90829063ffffffff61362b16565b6000848152600a60209081526040808320868452909152902060020155505050565b6000805b60058160ff16101561426957838360ff83166005811061514d57fe5b602002015114156151615760019150612740565b600101615131565b600080600261517984600161362b565b81151561518257fe5b0490508291505b818110156129815780915060026151ab82858115156151a457fe5b048361362b565b8115156151b457fe5b049050615189565b60006136868283614361565b6000848152600d6020526040812060090154819081906151f686670de0b6b3a764000063ffffffff61436116565b8115156151ff57fe5b6000898152600d60205260409020600c0154919004925061522790839063ffffffff61362b16565b6000888152600d60205260409020600c0155670de0b6b3a7640000615252838663ffffffff61436116565b81151561525b57fe5b6000888152600a602090815260408083208c8452825280832060020154600d909252909120600c01549290910492506152ae916135f3908490670de0b6b3a764000090614537908a63ffffffff61436116565b6000878152600a602090815260408083208b8452825280832060020193909355600d9052206009015461530e90670de0b6b3a7640000906152f690859063ffffffff61436116565b8115156152ff57fe5b8791900463ffffffff61449016565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a031681526020016000801916815260200160008152602001600081526020016000815260200160008152602001600081525090565b60a060405190810160405280600590602082028038833950919291505056006e20646973636f72640000000000000000000000000000000000000000000000706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f727279206f776e6572206f6e6c7900000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a723058202eb031b2ca53f420d83f6fa025ade13504e29a50a51728a5923bce34252cc7090029

Deployed Bytecode

0x6080604052600436106101d75763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663018a25e8811461037e57806306fdde03146103a5578063079ce3271461042f5780630e07ef811461044f5780630f15f4c01461049d57806310f01eba146104b257806311a09ae7146104d3578063180603eb146104e85780631c75f085146104fd57806324c33d331461052e57806327d879241461059c5780632ce21999146105f35780632e19ebdc14610624578063349cdcac1461063c5780633ccfd60b1461065a5780635893d4811461066f578063624ae5c01461068a578063630664341461069f5780636690864e146106d55780637367f156146106f6578063747dff421461071157806382bfc7391461079c5780638f38f309146107c357806395d89b41146107d157806398a0871d146107e6578063a2bccae9146107fd578063a65b37a11461083e578063c519500e1461084c578063c7e284b814610864578063ce89c80c14610879578063cf80800014610894578063d53b2679146108ac578063d87574e0146108d5578063de7874f3146108ea578063e3db17b814610944578063ed78cf4a14610965578063ee0b5d8b1461096d578063f32306d2146109c6575b6101df615319565b60115460009060a060020a900460ff16151560011461024a576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015610291576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca008110156102e9576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610339576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b61034285610a14565b336000908152600760209081526040808320548084526009909252909120600601549196509450610377908590600288610afa565b5050505050005b34801561038a57600080fd5b50610393610d2e565b60408051918252519081900360200190f35b3480156103b157600080fd5b506103ba610ded565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103f45781810151838201526020016103dc565b50505050905090810190601f1680156104215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561043b57600080fd5b5061044d600435602435604435610e24565b005b6040805160206004803580820135601f810184900484028501840190955284845261044d94369492936024939284019190819084018382808284375094975050933594506110379350505050565b3480156104a957600080fd5b5061044d61113f565b3480156104be57600080fd5b50610393600160a060020a036004351661127d565b3480156104df57600080fd5b5061039361128f565b3480156104f457600080fd5b50610393611295565b34801561050957600080fd5b5061051261129b565b60408051600160a060020a039092168252519081900360200190f35b34801561053a57600080fd5b506105466004356112aa565b604080519b8c5260208c019a909a529715158a8a015260608a0196909652608089019490945260a088019290925260c087015260e086015261010085015261012084015261014083015251908190036101600190f35b6040805160206004803580820135601f810184900484028501840190955284845261044d94369492936024939284019190819084018382808284375094975050509235600160a060020a0316935061130a92505050565b3480156105ff57600080fd5b5061060b600435611374565b6040805192835260208301919091528051918290030190f35b34801561063057600080fd5b5061039360043561138d565b34801561064857600080fd5b5061044d60043560243560443561139f565b34801561066657600080fd5b5061044d61158c565b34801561067b57600080fd5b50610393600435602435611911565b34801561069657600080fd5b5061039361192e565b3480156106ab57600080fd5b506106b7600435611934565b60408051938452602084019290925282820152519081900360600190f35b3480156106e157600080fd5b5061044d600160a060020a0360043516611b0e565b34801561070257600080fd5b5061044d600435602435611b8d565b34801561071d57600080fd5b50610726611be8565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b3480156107a857600080fd5b5061044d600160a060020a0360043516602435604435611d81565b61044d600435602435611f84565b3480156107dd57600080fd5b506103ba612172565b61044d600160a060020a03600435166024356121a9565b34801561080957600080fd5b506108186004356024356123c7565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61044d6004356024356123f9565b34801561085857600080fd5b5061060b6004356125fd565b34801561087057600080fd5b50610393612616565b34801561088557600080fd5b506103936004356024356126a5565b3480156108a057600080fd5b50610393600435612747565b3480156108b857600080fd5b506108c16127f3565b604080519115158252519081900360200190f35b3480156108e157600080fd5b50610393612803565b3480156108f657600080fd5b50610902600435612809565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561095057600080fd5b506108c1600160a060020a0360043516612850565b61044d612987565b34801561097957600080fd5b5061098e600160a060020a0360043516612a04565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6040805160206004803580820135601f810184900484028501840190955284845261044d9436949293602493928401919081908401838280828437509497505093359450612ad99350505050565b610a1c615319565b336000908152600760205260408120549080821515610af1575050600b8054600190810191829055600082815260096020818152604080842094850154600686015433808752600785529286208890559487905292909152835473ffffffffffffffffffffffffffffffffffffffff191617909255919250908115610ac0576000828152600860209081526040808320869055858352600990915290206001018290555b8015801590610acf5750828114155b15610ae95760008381526009602052604090206006018190555b845160010185525b50929392505050565b6005546002546000828152600d602052604090206008015442910181118015610b5f57506000828152600d602052604090206006015481111580610b5f57506000828152600d602052604090206006015481118015610b5f5750610b5d82612b43565b155b15610b7757610b72828734888888612b91565b610d26565b6000828152600d602052604090206006015481118015610ba957506000828152600d602052604090206007015460ff16155b15610cf1576000828152600d60205260409020600701805460ff19166001179055610bd3836130e1565b925080670de0b6b3a764000002836000015101836000018181525050858360200151018360200181815250507fa7801a70b37e729a11492aad44fd3dba89b4149f0609dc0f6837bf9e57e2671a3360096000898152602001908152602001600020600101543486600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a15b600086815260096020526040902060030154610d13903463ffffffff61362b16565b6000878152600960205260409020600301555b505050505050565b6005546002546000828152600d602052604081206008015490929142910181118015610d9657506000828152600d602052604090206006015481111580610d9657506000828152600d602052604090206006015481118015610d965750610d9482612b43565b155b15610dde576000828152600d6020526040902060090154610dd790670de0b6b3a764000090610dcb908263ffffffff61362b16565b9063ffffffff61368c16565b9250610de8565b6544364c5bb00092505b505090565b60408051808201909152601881527f457468204b696c6c6572204c6f6e67204f6666696369616c0000000000000000602082015281565b610e2c615319565b601154600090819060a060020a900460ff161515600114610e99576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015610ee0576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b85633b9aca00811015610f38576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610f88576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b336000908152600760205260409020549450881580610fb7575060008581526009602052604090206001015489145b15610fd5576000858152600960205260409020600601549350611014565b60008981526008602090815260408083205488845260099092529091206006015490945084146110145760008581526009602052604090206006018490555b61101d886136b9565b975061102c85858a8a8a6136de565b505050505050505050565b6000808080808033803b8015611085576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b61108e8a6138f4565b97503396503495506110a133898b614107565b600160a060020a03808a1660008181526007602090815260408083205486845260098352928190208054600190910154825189151581529384018890529516828201526060820194909452608081018c90524260a082015292519499509297509195508a9286917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a450505050505050505050565b601154600160a060020a0316331461118f576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b60115460a060020a900460ff16156111f1576040805160e560020a62461bcd02815260206004820152601860248201527f666f6d6f336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b6011805474ff0000000000000000000000000000000000000000191660a060020a179055600160058190556002548154600092909252600d602052429091019081037ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993cd5561a8c0017ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993cb55565b60076020526000908152604090205481565b60045481565b60065481565b600054600160a060020a031681565b600d60208190526000918252604090912060058101546006820154600783015460088401546009850154600a860154600b870154600c88015498880154600e890154600f909901549799969860ff9096169794969395929491939290918b565b6000808080808033803b8015611358576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b6113618a6138f4565b97503396503495506110a133898b614148565b600f602052600090815260409020805460019091015482565b60086020526000908152604090205481565b6113a7615319565b60115460009060a060020a900460ff161515600114611412576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015611459576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b84633b9aca008110156114b1576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611501576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b33600090815260076020526040902054935087158061151f57508388145b1561153d57600084815260096020526040902060060154975061156a565b600084815260096020526040902060060154881461156a5760008481526009602052604090206006018890555b611573876136b9565b965061158284898989896136de565b5050505050505050565b60008060008061159a615319565b60115460a060020a900460ff161515600114611602576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015611649576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b60055433600090815260076020908152604080832054848452600d9092529091206006015491985042975095508611801561169657506000878152600d602052604090206007015460ff16155b80156116ac57506116a687612b43565b15156001145b15611852576000878152600d60205260409020600701805460ff191660011790556116d6836130e1565b92506116e1856141a0565b9350600084111561173257600085815260096020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611730573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc3360096000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a1611908565b61185b856141a0565b935060008411156118ac57600085815260096020526040808220549051600160a060020a039091169186156108fc02918791818181858888f193505050501580156118aa573d6000803e3d6000fd5b505b6000858152600960209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b600e60209081526000928352604080842090915290825290205481565b60055481565b6005546000818152600d6020526040812060060154909182918291904211801561197057506000818152600d602052604090206007015460ff16155b8015611986575061198081612b43565b15156001145b15611ade576119958582614222565b15611aa2576119a381614273565b600c546000868152600a60209081526040808320858452825280832060010154600d909252909120600b0154611a2b9291611a02916064906119ec90603063ffffffff61436116565b8115156119f557fe5b049063ffffffff61436116565b811515611a0b57fe5b60008881526009602052604090206002015491900463ffffffff61362b16565b6000868152600a60209081526040808320858452909152902060020154611a8490611a6690611a5a89866143d8565b9063ffffffff61449016565b6000888152600960205260409020600301549063ffffffff61362b16565b60008781526009602052604090206004015491955093509150611b06565b6000858152600960209081526040808320600290810154600a8452828520868652909352922090910154611a8490611a6690611a5a89866143d8565b60008581526009602052604090206002810154600590910154611a8490611a669088906144f0565b509193909250565b601154600160a060020a03163314611b5e576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b601154600160a060020a03163314611bdd576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b600191909155600255565b6005546000818152600d60208190526040822090810154600982015460068301546008840154600b8501549596879687968796879687968796879687968796879687968796879692959491939092919060040154600580546000908152600d6020526040812091820154600a9093029092019160099160040154815260208082019290925260409081016000908120546005548252600d909352908120600160a060020a03909216916009919060040154815260200190815260200160002060010154600e60006005548152602001908152602001600020600080815260200190815260200160002054600e6000600554815260200190815260200160002060006001815260200190815260200160002054600e6000600554815260200190815260200160002060006002815260200190815260200160002054600e60006005548152602001908152602001600020600060038152602001908152602001600020546003546103e802600454019d509d509d509d509d509d509d509d509d509d509d509d509d509d50909192939495969798999a9b9c9d565b611d89615319565b601154600090819060a060020a900460ff161515600114611df6576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015611e3d576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b85633b9aca00811015611e95576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611ee5576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b336000908152600760205260409020549450600160a060020a0389161580611f155750600160a060020a03891633145b15611f33576000858152600960205260409020600601549350611014565b600160a060020a038916600090815260076020908152604080832054888452600990925290912060060154909450841461101457600085815260096020526040902060060184905561101d886136b9565b611f8c615319565b60115460009060a060020a900460ff161515600114611ff7576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b801561203e576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca00811015612096576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156120e6576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b6120ef85610a14565b33600090815260076020526040902054909550935086158061211057508387145b1561212e57600084815260096020526040902060060154965061215b565b600084815260096020526040902060060154871461215b5760008481526009602052604090206006018790555b612164866136b9565b955061190884888888610afa565b60408051808201909152600381527f454b4c0000000000000000000000000000000000000000000000000000000000602082015281565b6121b1615319565b601154600090819060a060020a900460ff16151560011461221e576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b8015612265576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca008110156122bd576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561230d576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b61231686610a14565b336000908152600760205260409020549096509450600160a060020a03881615806123495750600160a060020a03881633145b156123675760008581526009602052604090206006015493506123b0565b600160a060020a03881660009081526007602090815260408083205488845260099092529091206006015490945084146123b05760008581526009602052604090206006018490555b6123b9876136b9565b965061158285858989610afa565b600a60209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b612401615319565b601154600090819060a060020a900460ff16151560011461246e576040805160e560020a62461bcd02815260206004820152602960248201526000805160206153d28339815191526044820152600080516020615392833981519152606482015290519081900360840190fd5b33803b80156124b5576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b34633b9aca0081101561250d576040805160e560020a62461bcd02815260206004820152602160248201526000805160206153b2833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561255d576040805160e560020a62461bcd02815260206004820152600e60248201526000805160206153f2833981519152604482015290519081900360640190fd5b61256686610a14565b336000908152600760205260409020549096509450871580612598575060008581526009602052604090206001015488145b156125b65760008581526009602052604090206006015493506123b0565b60008881526008602090815260408083205488845260099092529091206006015490945084146123b05760008581526009602052604090206006018490556123b9876136b9565b6010602052600090815260409020805460019091015482565b6005546000818152600d6020526040812060060154909190429081101561269c576002546000838152600d602052604090206008015401811115612676576000828152600d6020526040902060060154610dd7908263ffffffff61449016565b6002546000838152600d6020526040902060080154610dd791018263ffffffff61449016565b60009250610de8565b6002546000838152600d602052604081206008015490914291018111801561270957506000848152600d60205260409020600601548111158061270957506000848152600d602052604090206006015481118015612709575061270784612b43565b155b15612737576000848152600d60205260409020600a0154612730908463ffffffff61454d16565b9150612740565b6127308361456e565b5092915050565b6005546002546000828152600d6020526040812060080154909291429101811180156127af57506000828152600d6020526040902060060154811115806127af57506000828152600d6020526040902060060154811180156127af57506127ad82612b43565b155b156127e3576000828152600d60205260409020600901546127dc908590610dcb908263ffffffff61362b16565b92506127ec565b6127dc846145e6565b5050919050565b60115460a060020a900460ff1681565b60035481565b6009602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b6011546000908190600160a060020a031633146128a5576040805160e560020a62461bcd0281526020600482015260106024820152600080516020615412833981519152604482015290519081900360640190fd5b6005546000908152600d602052604090206006015442111561297c57506040518290600160a060020a03821690303180156108fc02916000818181858888f193505050501580156128fa573d6000803e3d6000fd5b50604080517fd3cce1d20000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a0383169163d3cce1d291602480830192600092919082900301818387803b15801561295b57600080fd5b505af115801561296f573d6000803e3d6000fd5b5050505060019150612981565b600091505b50919050565b6005546001016000818152600d60205260409020600b01546129af903463ffffffff61362b16565b6000828152600d6020908152604091829020600b01929092558051838152349281019290925280517f74b1d2f771e0eff1b2c36c38499febdbea80fe4013bdace4fc4b653322c2895c9281900390910190a150565b6000806000806000806000806000600554915050600160a060020a0389166000908152600760209081526040808320548084526009808452828520600180820154600a8752858820898952875294872001549583905293526002830154600590930154909384939091612a9a90612a7c9086906144f0565b6000878152600960205260409020600301549063ffffffff61362b16565b600095865260096020908152604080882060040154600a83528189209989529890915290952054939e929d50909b509950919750919550909350915050565b6000808080808033803b8015612b27576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615432833981519152604482015290519081900360640190fd5b612b308a6138f4565b97503396503495506110a187898b614653565b6000805b6000839052600d602052600560ff8216101561297c576000838152600d6020526040902060ff821660058110612b7957fe5b015415612b895760019150612981565b600101612b47565b6000858152600a602090815260408083208984529091528120600101548190819081901515612bc757612bc4898661480f565b94505b60008a8152600d60205260409020600a015468056bc75e2d63100000118015612c2157506000898152600a602090815260408083208d8452909152902054670de0b6b3a764000090612c1f908a63ffffffff61362b16565b115b15612ca8576000898152600a602090815260408083208d8452909152902054612c5990670de0b6b3a76400009063ffffffff61449016565b9350612c6b888563ffffffff61449016565b60008a815260096020526040902060030154909350612c90908463ffffffff61362b16565b60008a81526009602052604090206003015592965086925b633b9aca008811156130d55760008a8152600d60205260409020600a0154612cd6908963ffffffff61454d16565b9150670de0b6b3a76400008210612d4c57612cf1828b61486e565b60008a8152600d6020526040902060018101805482556002820180549091556003820180549091556004820180549091558a9055600501548614612d445760008a8152600d602052604090206005018690555b845160640185525b67016345785d8a00008810612f8c57600480546001019055612d6c614a2e565b151560011415612f8c57678ac7230489e800008810612e0d57600354606490612d9c90604b63ffffffff61436116565b811515612da557fe5b60008b8152600960205260409020600201549190049150612dcc908263ffffffff61362b16565b60008a815260096020526040902060020155600354612df1908263ffffffff61449016565b60035584516d0eca8847c4129106ce8300000000018552612f61565b670de0b6b3a76400008810158015612e2c5750678ac7230489e8000088105b15612eb957600354606490612e4890603263ffffffff61436116565b811515612e5157fe5b60008b8152600960205260409020600201549190049150612e78908263ffffffff61362b16565b60008a815260096020526040902060020155600354612e9d908263ffffffff61449016565b60035584516d09dc5ada82b70b59df0200000000018552612f61565b67016345785d8a00008810158015612ed85750670de0b6b3a764000088105b15612f6157600354606490612ef490601963ffffffff61436116565b811515612efd57fe5b60008b8152600960205260409020600201549190049150612f24908263ffffffff61362b16565b60008a815260096020526040902060020155600354612f49908263ffffffff61449016565b60035584516d0eca8847c4129106ce83000000000185525b84516d314dc6448d9338c15b0a000000008202016c7e37be2022c0914b268000000001855260006004555b60045485516103e89091020185526000898152600a602090815260408083208d8452909152902060010154612fc890839063ffffffff61362b16565b60008a8152600a602090815260408083208e84529091529020600181019190915554612ff590899061362b565b60008a8152600a602090815260408083208e8452825280832093909355600d9052206009015461302c90839063ffffffff61362b16565b60008b8152600d602052604090206009810191909155600a015461305790899063ffffffff61362b16565b60008b8152600d60209081526040808320600a0193909355600e81528282208983529052205461308e90899063ffffffff61362b16565b60008b8152600e602090815260408083208a84529091529020556130b68a8a8a8a8a8a614c45565b94506130c68a8a8a89868a614dd1565b94506130d589878a8589614f29565b50505050505050505050565b6130e9615319565b6005546000818152600d60205260408120600b015481908190819081908190819060649061311e90603063ffffffff61436116565b81151561312757fe5b60008a8152600d60208181526040808420600581015485526010835290842054938e9052919052600b015492909104985060649161316a9163ffffffff61436116565b81151561317357fe5b60008a8152600d60208181526040808420600581015485526010835290842060010154938e9052919052600b01549290910497506131ee916064916131be919063ffffffff61436116565b8115156131c757fe5b60008b8152600d60205260409020600b0154919004906032905b049063ffffffff61362b16565b6000898152600d60205260409020600b015490955061321d908790611a5a90889082908c63ffffffff61449016565b6000898152600d602052604090206009015490945061324a87670de0b6b3a764000063ffffffff61436116565b81151561325357fe5b60008a8152600d602052604090206009015491900493506132a190670de0b6b3a76400009061328990869063ffffffff61436116565b81151561329257fe5b8891900463ffffffff61449016565b915060008211156132d1576132bc868363ffffffff61449016565b95506132ce848363ffffffff61362b16565b93505b6132da88614273565b6000888152600d6020818152604080842060048082015486526009845291852060020154600c548e8752949093526133559492939261334c92600a92905b0154815260200190815260200160002060008d8152602001908152602001600020600101548b61436190919063ffffffff16565b8115156131e157fe5b6000898152600d60209081526040808320600401548352600990915281206002019190915590505b600460ff8216101561342e576000888152600d602052604081206133f09160099160ff8516600581106133ac57fe5b0154815260200190815260200160002060020154600c5461334c600a6000600d60008f81526020019081526020016000206000018760ff1660058110151561331857fe5b6000898152600d602052604081206009919060ff85166005811061341057fe5b0154815260208101919091526040016000206002015560010161337d565b6000888152600d60205260409020600c015461345190849063ffffffff61362b16565b6000898152600d6020526040808220600c019290925580549151600160a060020a039092169187156108fc0291889190818181858888f150505050506000888152600d60208181526040832060068101548e51620f4240909102018e52928b905252600581015467016345785d8a000002906004015460208c810180516a52b7d2dcc80cd2e40000009093029092019290920190526000898152600d90915260408120600991906004015481526020808201929092526040908101600090812054600160a060020a03168d8301528a8152600d9092528120600991906004015481526020808201929092526040908101600090812060019081015460608f015260808e018b905260e08e018a90528b8252600d808552838320600581015484526010865293832090910154918c9052909252600b015460649161359a919063ffffffff61436116565b8115156135a357fe5b0460c08b015260a08a01849052600580546001908101909155979097016000818152600d602052604090204260089091018190556002549198916135ff916135f39061a8c063ffffffff61362b16565b9063ffffffff61362b16565b6000898152600d602052604090206006810191909155600b018490558998505050505050505050919050565b81810182811015613686576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b60006136b26136a96136a4858563ffffffff61449016565b6145e6565b611a5a856145e6565b9392505050565b6000808210806136c95750600382115b156136d6575060026136d9565b50805b919050565b6005546002546000828152600d60205260409020600801544291018111801561374357506000828152600d60205260409020600601548111158061374357506000828152600d602052604090206006015481118015613743575061374182612b43565b155b1561377a5761375584611a5a896141a0565b600088815260096020526040902060030155613775828886898988612b91565b611908565b6000828152600d6020526040902060060154811180156137ac57506000828152600d602052604090206007015460ff16155b15611908576000828152600d60205260409020600701805460ff191660011790556137d6836130e1565b925080670de0b6b3a764000002836000015101836000018181525050868360200151018360200181815250507f88261ac70d02d5ea73e54fa6da17043c974de1021109573ec1f6f57111c823dd33600960008a815260200190815260200160002060010154856000015186602001518760400151886060015189608001518a60a001518b60c001518c60e00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019a505050505050505050505060405180910390a150505050505050565b805160009082908280806020841180159061390f5750600084115b151561398b576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b84600081518110151561399a57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015613a01575084600185038151811015156139d957fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613a7d576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b846000815181101515613a8c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a021415613bcf57846001815181101515613ac657fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515613b43576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b846001815181101515613b5257fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515613bcf576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b8382101561409f5784517f400000000000000000000000000000000000000000000000000000000000000090869084908110613c0c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613c80575084517f5b0000000000000000000000000000000000000000000000000000000000000090869084908110613c6157fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15613ced578482815181101515613c9357fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a028583815181101515613cc457fe5b906020010190600160f860020a031916908160001a905350821515613ce857600192505b614094565b8482815181101515613cfb57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021480613dcb575084517f600000000000000000000000000000000000000000000000000000000000000090869084908110613d5757fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613dcb575084517f7b0000000000000000000000000000000000000000000000000000000000000090869084908110613dac57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80613e75575084517f2f0000000000000000000000000000000000000000000000000000000000000090869084908110613e0157fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613e75575084517f3a0000000000000000000000000000000000000000000000000000000000000090869084908110613e5657fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515613ef1576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8482815181101515613eff57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415613fde578482600101815181101515613f3b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515613fde576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8215801561408a575084517f30000000000000000000000000000000000000000000000000000000000000009086908490811061401757fe5b90602001015160f860020a900460f860020a02600160f860020a031916108061408a575084517f39000000000000000000000000000000000000000000000000000000000000009086908490811061406b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b1561409457600192505b600190910190613bd4565b6001831515146140f9576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b60008080831580159061411a5750838514155b1561413057506000838152600860205260409020545b61413b868683614653565b9250925050935093915050565b60008080600160a060020a03841615801590614176575085600160a060020a031684600160a060020a031614155b156141305750600160a060020a03831660009081526007602052604090205461413b868683614653565b60008181526009602052604081206005015481906141bf908490615097565b6000838152600960205260409020600481015460038201546002909201546141f1926135f3919063ffffffff61362b16565b9050600081111561368657600083815260096020526040812060028101829055600381018290556004015592915050565b6000805b60058160ff161015614269576000838152600d60205260409020849060ff83166005811061425057fe5b015414156142615760019150612740565b600101614226565b5060009392505050565b61427b615372565b6000600c8190555b60058160ff16101561435c576000838152600d602052604090206142b79060ff8316600581106142af57fe5b01548361512d565b1515614354576000838152600d6020526040902060ff8216600581106142d957fe5b01548260ff8316600581106142ea57fe5b602090810291909101919091526000848152600d9091526040812061435091600a9160ff85166005811061431a57fe5b01548152602001908152602001600020600085815260200190815260200160002060010154600c5461362b90919063ffffffff16565b600c555b600101614283565b505050565b600082151561437257506000613686565b5081810281838281151561438257fe5b0414613686576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b6000828152600a60209081526040808320848452825280832060010154600d808452828520600981015460058201548752601086529386205487875291909452600b90930154670de0b6b3a76400009361447f9361447392909161444a9187916064916119ec9163ffffffff61436116565b81151561445357fe5b6000888152600d60205260409020600c015491900463ffffffff61362b16565b9063ffffffff61436116565b81151561448857fe5b049392505050565b6000828211156144ea576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b6000828152600a6020908152604080832084845282528083206002810154600190910154600d909352908320600c01546136b292670de0b6b3a76400009161453791614361565b81151561454057fe5b049063ffffffff61449016565b60006136b261455b8461456e565b611a5a61456e868663ffffffff61362b16565b60006309502f906145d66d03b2a1d15167e7c5699bfde00000611a5a6145d17a0dac7055469777a6122ee4310dd6c14410500f29048400000000006135f36b01027e72f1f12813088000006144738a670de0b6b3a764000063ffffffff61436116565b615169565b8115156145df57fe5b0492915050565b60006145f9670de0b6b3a76400006151bc565b6145d6600261462c61461986670de0b6b3a764000063ffffffff61436116565b65886c8f6730709063ffffffff61436116565b81151561463557fe5b046135f3614642866151bc565b6304a817c89063ffffffff61436116565b60008060008060065434101515156146db576040805160e560020a62461bcd02815260206004820152602660248201527f756d6d2e2e2e2e2e2020796f75206861766520746f2070617920746865206e6160448201527f6d65206665650000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b6000868152600860205260409020541561473f576040805160e560020a62461bcd02815260206004820152601e60248201527f736f7272792074686174206e616d657320616c72656164792074616b656e0000604482015290519081900360640190fd5b5050600160a060020a038516600090815260076020526040812054908115156147ac575050600b8054600190810191829055600160a060020a0387166000908152600760209081526040808320859055848352600982528083208401899055888352600890915290208290555b84158015906147cc57506000828152600960205260409020600601548514155b80156147d85750818514155b156147f6576000828152600960205260409020600601859055614803565b8185141561480357600094505b96939550929350505050565b614817615319565b6000838152600960205260409020600501541561484b5760008381526009602052604090206005015461484b908490615097565b506005805460009384526009602052604090932001919091558051600a01815290565b6000818152600d602052604081206006015442919081908190819081908611801561489f575061489d87612b43565b155b156148c3576148bc866135f3601e670de0b6b3a76400008c6119f5565b94506148f0565b6000878152600d60205260409020600601546148ed906135f3601e670de0b6b3a76400008c6119f5565b94505b6000878152600d60205260408120600a015494509250686c6b935b8bbd40000084106149b4576909bdaa3d398e00c0000084116149455761493e610e10686c6b935b8bbd4000008604614361565b92506149b4565b614958610e10601763ffffffff61436116565b9250614974846909bdaa3d398e00c0000063ffffffff61449016565b915069028a857425466f80000082116149ae5761493e6149a161024e686c6b935b8bbd4000008504614361565b849063ffffffff61362b16565b6103e792505b6103e78314611582576149d0620151808463ffffffff61449016565b90506149e2818763ffffffff61362b16565b851015614a02576000878152600d60205260409020600601859055611582565b614a12818763ffffffff61362b16565b6000888152600d60205260409020600601555050505050505050565b600080614b9f436135f342336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b60208310614aa95780518252601f199092019160209182019101614a8a565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912092505050811515614adf57fe5b046135f3456135f342416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b60208310614b585780518252601f199092019160209182019101614b39565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912092505050811515614b8e57fe5b046135f3424463ffffffff61362b16565b604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b60208310614bed5780518252601f199092019160209182019101614bce565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060045490945092506103e89150839050046103e80282031015614c3c5760019150614c41565b600091505b5090565b614c4d615319565b60328504600060648704600a8804878a14801590614c7b575060008881526009602052604090206001015415155b15614d1b57600088815260096020526040902060040154614ca390829063ffffffff61362b16565b600089815260096020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101839052426060830152518b918d918b917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a4614d1f565b8092505b6000878152600f6020526040902060010154614d6190606490614d49908c9063ffffffff61436116565b811515614d5257fe5b8591900463ffffffff61362b16565b92506000831115614d885760c0860151614d8290849063ffffffff61362b16565b60c08701525b600054600160a060020a03166108fc614dab846135f3878963ffffffff61362b16565b6040518115909202916000818181858888f150989e9d5050505050505050505050505050565b614dd9615319565b6000848152600f6020526040812054819081908190606490614e02908b9063ffffffff61436116565b811515614e0b57fe5b049350606489049250614e298360035461362b90919063ffffffff16565b6003556000888152600f6020526040902060010154614e8490614e7790606490614e5a908d9063ffffffff61436116565b811515614e6357fe5b04606461334c8d600e63ffffffff61436116565b8a9063ffffffff61449016565b9850614e96898563ffffffff61449016565b9150614ea48b8b868a6151c8565b90506000811115614ec257614ebf848263ffffffff61449016565b93505b60008b8152600d60205260409020600b0154614ee8906135f3848463ffffffff61362b16565b60008c8152600d60205260409020600b015560e0860151614f1090859063ffffffff61362b16565b60e0870152506101008501525091979650505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600554751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160096000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600354604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a15050505050565b60006150a383836144f0565b9050600081111561435c576000838152600960205260409020600301546150d190829063ffffffff61362b16565b600084815260096020908152604080832060030193909355600a81528282208583529052206002015461510b90829063ffffffff61362b16565b6000848152600a60209081526040808320868452909152902060020155505050565b6000805b60058160ff16101561426957838360ff83166005811061514d57fe5b602002015114156151615760019150612740565b600101615131565b600080600261517984600161362b565b81151561518257fe5b0490508291505b818110156129815780915060026151ab82858115156151a457fe5b048361362b565b8115156151b457fe5b049050615189565b60006136868283614361565b6000848152600d6020526040812060090154819081906151f686670de0b6b3a764000063ffffffff61436116565b8115156151ff57fe5b6000898152600d60205260409020600c0154919004925061522790839063ffffffff61362b16565b6000888152600d60205260409020600c0155670de0b6b3a7640000615252838663ffffffff61436116565b81151561525b57fe5b6000888152600a602090815260408083208c8452825280832060020154600d909252909120600c01549290910492506152ae916135f3908490670de0b6b3a764000090614537908a63ffffffff61436116565b6000878152600a602090815260408083208b8452825280832060020193909355600d9052206009015461530e90670de0b6b3a7640000906152f690859063ffffffff61436116565b8115156152ff57fe5b8791900463ffffffff61449016565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a031681526020016000801916815260200160008152602001600081526020016000815260200160008152602001600081525090565b60a060405190810160405280600590602082028038833950919291505056006e20646973636f72640000000000000000000000000000000000000000000000706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f727279206f776e6572206f6e6c7900000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a723058202eb031b2ca53f420d83f6fa025ade13504e29a50a51728a5923bce34252cc7090029

Swarm Source

bzzr://2eb031b2ca53f420d83f6fa025ade13504e29a50a51728a5923bce34252cc709

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.