ETH Price: $3,473.56 (+4.64%)

Contract

0xA62142888ABa8370742bE823c1782D17A0389Da1
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw215937152025-01-10 11:15:477 days ago1736507747IN
Fomo3D: Long
0 ETH0.000346375.20724515
Withdraw215868212025-01-09 12:08:238 days ago1736424503IN
Fomo3D: Long
0 ETH0.000407085.75501096
Withdraw215621902025-01-06 1:37:1111 days ago1736127431IN
Fomo3D: Long
0 ETH0.000595198.41448566
Withdraw215621802025-01-06 1:35:1111 days ago1736127311IN
Fomo3D: Long
0 ETH0.000451997.20720045
Withdraw215039092024-12-28 22:20:3519 days ago1735424435IN
Fomo3D: Long
0 ETH0.000308524.36173395
Withdraw211883842024-11-14 20:41:2364 days ago1731616883IN
Fomo3D: Long
0 ETH0.0029001341
Withdraw209150002024-10-07 16:52:47102 days ago1728319967IN
Fomo3D: Long
0 ETH0.0021011438.11952563
Pot Swap209149962024-10-07 16:51:59102 days ago1728319919IN
Fomo3D: Long
0.001 ETH0.0018268238.21254344
Withdraw207235322024-09-10 23:36:23128 days ago1726011383IN
Fomo3D: Long
0 ETH0.000233993.30811742
Withdraw207176342024-09-10 3:48:35129 days ago1725940115IN
Fomo3D: Long
0 ETH0.000173352.45073238
Withdraw207176332024-09-10 3:48:23129 days ago1725940103IN
Fomo3D: Long
0 ETH0.000152962.16250193
Withdraw206363852024-08-29 19:39:47141 days ago1724960387IN
Fomo3D: Long
0 ETH0.002943541.61308879
Withdraw206142172024-08-26 17:19:47144 days ago1724692787IN
Fomo3D: Long
0 ETH0.000130941.85126913
Withdraw205976392024-08-24 9:43:23146 days ago1724492603IN
Fomo3D: Long
0 ETH0.000087691.31841261
Withdraw205976302024-08-24 9:41:35146 days ago1724492495IN
Fomo3D: Long
0 ETH0.000086441.22210595
Withdraw205976222024-08-24 9:39:59146 days ago1724492399IN
Fomo3D: Long
0 ETH0.000084881.20003599
Withdraw205976002024-08-24 9:35:23146 days ago1724492123IN
Fomo3D: Long
0 ETH0.000082561.16730951
Withdraw204933852024-08-09 20:18:47161 days ago1723234727IN
Fomo3D: Long
0 ETH0.000286094.30099294
Withdraw204932532024-08-09 19:52:23161 days ago1723233143IN
Fomo3D: Long
0 ETH0.000167482.36779391
Withdraw204932512024-08-09 19:51:59161 days ago1723233119IN
Fomo3D: Long
0 ETH0.000156642.21448108
Withdraw204932472024-08-09 19:51:11161 days ago1723233071IN
Fomo3D: Long
0 ETH0.000169732.39965011
Withdraw204932452024-08-09 19:50:47161 days ago1723233047IN
Fomo3D: Long
0 ETH0.000182562.5809475
Withdraw204932432024-08-09 19:50:23161 days ago1723233023IN
Fomo3D: Long
0 ETH0.000168272.37894518
Withdraw204932412024-08-09 19:49:59161 days ago1723232999IN
Fomo3D: Long
0 ETH0.000171442.42369928
Withdraw204932392024-08-09 19:49:35161 days ago1723232975IN
Fomo3D: Long
0 ETH0.000170462.4099066
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
215937152025-01-10 11:15:477 days ago1736507747
Fomo3D: Long
0.07147967 ETH
215868212025-01-09 12:08:238 days ago1736424503
Fomo3D: Long
0.02888986 ETH
215621902025-01-06 1:37:1111 days ago1736127431
Fomo3D: Long
0.00065823 ETH
215621802025-01-06 1:35:1111 days ago1736127311
Fomo3D: Long
0.0001449 ETH
215039092024-12-28 22:20:3519 days ago1735424435
Fomo3D: Long
0.01077084 ETH
211883842024-11-14 20:41:2364 days ago1731616883
Fomo3D: Long
0.00033177 ETH
207235322024-09-10 23:36:23128 days ago1726011383
Fomo3D: Long
0.00336375 ETH
207176342024-09-10 3:48:35129 days ago1725940115
Fomo3D: Long
0.02846578 ETH
207176332024-09-10 3:48:23129 days ago1725940103
Fomo3D: Long
0.00504559 ETH
206363852024-08-29 19:39:47141 days ago1724960387
Fomo3D: Long
0.03233957 ETH
206142172024-08-26 17:19:47144 days ago1724692787
Fomo3D: Long
0.00222086 ETH
205976392024-08-24 9:43:23146 days ago1724492603
Fomo3D: Long
0.00135874 ETH
205976302024-08-24 9:41:35146 days ago1724492495
Fomo3D: Long
0.00111093 ETH
205976222024-08-24 9:39:59146 days ago1724492399
Fomo3D: Long
0.00164747 ETH
205976002024-08-24 9:35:23146 days ago1724492123
Fomo3D: Long
0.00148974 ETH
204933852024-08-09 20:18:47161 days ago1723234727
Fomo3D: Long
0.00175258 ETH
204932532024-08-09 19:52:23161 days ago1723233143
Fomo3D: Long
0.00197406 ETH
204932512024-08-09 19:51:59161 days ago1723233119
Fomo3D: Long
0.00178062 ETH
204932472024-08-09 19:51:11161 days ago1723233071
Fomo3D: Long
0.00191576 ETH
204932452024-08-09 19:50:47161 days ago1723233047
Fomo3D: Long
0.00184721 ETH
204932432024-08-09 19:50:23161 days ago1723233023
Fomo3D: Long
0.00167259 ETH
204932412024-08-09 19:49:59161 days ago1723232999
Fomo3D: Long
0.00169493 ETH
204932392024-08-09 19:49:35161 days ago1723232975
Fomo3D: Long
0.00181279 ETH
204731882024-08-07 0:43:47163 days ago1722991427
Fomo3D: Long
0.01 ETH
204731882024-08-07 0:43:47163 days ago1722991427
Fomo3D: Long
0.01 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FoMo3Dlong

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 50 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

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

//==============================================================================
//     _    _  _ _|_ _  .
//    (/_\/(/_| | | _\  .
//==============================================================================
contract 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 FoMo3Dlong is modularLong {
    using SafeMath for *;
    using NameFilter for string;
    using F3DKeysCalcLong for uint256;
	
	otherFoMo3D private otherF3D_;
    DiviesInterface constant private Divies = DiviesInterface(0xc7029Ed9EBa97A096e72607f4340c34049C7AF48);
    JIincForwarderInterface constant private Jekyll_Island_Inc = JIincForwarderInterface(0xdd4950F977EE28D2C132f1353D1595035Db444EE);
	PlayerBookInterface constant private PlayerBook = PlayerBookInterface(0xD60d353610D9a5Ca478769D371b53CEfAA7B6E4c);
    F3DexternalSettingsInterface constant private extSettings = F3DexternalSettingsInterface(0x32967D6c142c2F38AB39235994e2DDF11c37d590);
//==============================================================================
//     _ _  _  |`. _     _ _ |_ | _  _  .
//    (_(_)| |~|~|(_||_|| (_||_)|(/__\  .  (game settings)
//=================_|===========================================================
    string constant public name = "FoMo3D Long Official";
    string constant public symbol = "F3D";
	uint256 private rndExtra_ = extSettings.getLongExtra();     // length of the very first ICO 
    uint256 private rndGap_ = extSettings.getLongGap();         // length of ICO phase, set to 1 year for EOS.
    uint256 constant private rndInit_ = 1 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
//****************
// 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)
//****************
// 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)
//==============================================================================
    constructor()
        public
    {
		// Team allocation structures
        // 0 = whales
        // 1 = bears
        // 2 = sneks
        // 3 = bulls

		// Team allocation percentages
        // (F3D, P3D) + (Pot , Referrals, Community)
            // Referrals / Community rewards are mathematically designed to come from the winner's share of the pot.
        fees_[0] = F3Ddatasets.TeamFee(30,6);   //50% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot
        fees_[1] = F3Ddatasets.TeamFee(43,0);   //43% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot
        fees_[2] = F3Ddatasets.TeamFee(56,10);  //20% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot
        fees_[3] = F3Ddatasets.TeamFee(43,8);   //35% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot
        
        // how to split up the final pot based on which team was picked
        // (F3D, P3D)
        potSplit_[0] = F3Ddatasets.PotSplit(15,10);  //48% to winner, 25% to next round, 2% to com
        potSplit_[1] = F3Ddatasets.PotSplit(25,0);   //48% to winner, 25% to next round, 2% to com
        potSplit_[2] = F3Ddatasets.PotSplit(20,20);  //48% to winner, 10% to next round, 2% to com
        potSplit_[3] = F3Ddatasets.PotSplit(30,10);  //48% to winner, 10% to next round, 2% to com
	}
//==============================================================================
//     _ _  _  _|. |`. _  _ _  .
//    | | |(_)(_||~|~|(/_| _\  .  (these are safety checks)
//==============================================================================
    /**
     * @dev used to make sure no one can interact with contract until it has 
     * been activated. 
     */
    modifier isActivated() {
        require(activated_ == true, "its not ready yet.  check ?eta in discord"); 
        _;
    }
    
    /**
     * @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_);
    }
    
    /**
     * @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 && round_[_rID].plyr != 0)
        {
            // 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
     * @param _all set to true if you want this to push your info to all games 
     * (this might cost a lot of gas)
     */
    function registerNameXID(string _nameString, uint256 _affCode, bool _all)
        isHuman()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;
        (bool _isNewPlayer, uint256 _affID) = PlayerBook.registerNameXIDFromDapp.value(_paid)(_addr, _name, _affCode, _all);
        
        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, bool _all)
        isHuman()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;
        (bool _isNewPlayer, uint256 _affID) = PlayerBook.registerNameXaddrFromDapp.value(msg.value)(msg.sender, _name, _affCode, _all);
        
        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, bool _all)
        isHuman()
        public
        payable
    {
        bytes32 _name = _nameString.nameFilter();
        address _addr = msg.sender;
        uint256 _paid = msg.value;
        (bool _isNewPlayer, uint256 _affID) = PlayerBook.registerNameXnameFromDapp.value(msg.value)(msg.sender, _name, _affCode, _all);
        
        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 && round_[_rID].plyr == 0)))
            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);
    }
    
    /**
     * @dev returns player earnings per vaults 
     * -functionhash- 0x63066434
     * @return winnings vault
     * @return general vault
     * @return affiliate vault
     */
    function getPlayerVaults(uint256 _pID)
        public
        view
        returns(uint256 ,uint256, uint256)
    {
        // setup local rID
        uint256 _rID = rID_;
        
        // if round has ended.  but round end has not been run (so contract has not distributed winnings)
        if (now > round_[_rID].end && round_[_rID].ended == false && round_[_rID].plyr != 0)
        {
            // if player is winner 
            if (round_[_rID].plyr == _pID)
            {
                return
                (
                    (plyr_[_pID].win).add( ((round_[_rID].pot).mul(48)) / 100 ),
                    (plyr_[_pID].gen).add(  getPlayerVaultsHelper(_pID, _rID).sub(plyrRnds_[_pID][_rID].mask)   ),
                    plyr_[_pID].aff
                );
            // if player is not the winner
            } else {
                return
                (
                    plyr_[_pID].win,
                    (plyr_[_pID].gen).add(  getPlayerVaultsHelper(_pID, _rID).sub(plyrRnds_[_pID][_rID].mask)  ),
                    plyr_[_pID].aff
                );
            }
            
        // if round is still going on, or round has ended and round end has been ran
        } else {
            return
            (
                plyr_[_pID].win,
                (plyr_[_pID].gen).add(calcUnMaskedEarnings(_pID, plyr_[_pID].lrnd)),
                plyr_[_pID].aff
            );
        }
    }
    
    /**
     * solidity hates stack limits.  this lets us avoid that hate 
     */
    function getPlayerVaultsHelper(uint256 _pID, uint256 _rID)
        private
        view
        returns(uint256)
    {
        return(  ((((round_[_rID].mask).add(((((round_[_rID].pot).mul(potSplit_[round_[_rID].team].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].plyr * 10)),     //6
            plyr_[round_[_rID].plyr].addr,  //7
            plyr_[round_[_rID].plyr].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)
//=====================_|=======================================================
    /**
     * @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 && round_[_rID].plyr == 0))) 
        {
            // call core 
            core(_rID, _pID, msg.value, _affID, _team, _eventData_);
        
        // if round is not active     
        } else {
            // check to see if end round needs to be ran
            if (_now > round_[_rID].end && round_[_rID].ended == false) 
            {
                // end the round (distributes pot) & start new round
			    round_[_rID].ended = true;
                _eventData_ = endRound(_eventData_);
                
                // build event data
                _eventData_.compressedData = _eventData_.compressedData + (_now * 1000000000000000000);
                _eventData_.compressedIDs = _eventData_.compressedIDs + _pID;
                
                // fire buy and distribute event 
                emit 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 && round_[_rID].plyr == 0))) 
        {
            // get earnings from all vaults and return unused to gen vault
            // because we use a custom safemath library.  this will throw if player 
            // tried to spend more eth than they have.
            plyr_[_pID].gen = withdrawEarnings(_pID).sub(_eth);
            
            // call core 
            core(_rID, _pID, _eth, _affID, _team, _eventData_);
        
        // if round is not active and end round needs to be ran   
        } else if (_now > round_[_rID].end && round_[_rID].ended == false) {
            // end the round (distributes pot) & start new round
            round_[_rID].ended = true;
            _eventData_ = endRound(_eventData_);
                
            // build event data
            _eventData_.compressedData = _eventData_.compressedData + (_now * 1000000000000000000);
            _eventData_.compressedIDs = _eventData_.compressedIDs + _pID;
                
            // fire buy and distribute event 
            emit F3Devents.onReLoadAndDistribute
            (
                msg.sender, 
                plyr_[_pID].name, 
                _eventData_.compressedData, 
                _eventData_.compressedIDs, 
                _eventData_.winnerAddr, 
                _eventData_.winnerName, 
                _eventData_.amountWon, 
                _eventData_.newPot, 
                _eventData_.P3DAmount, 
                _eventData_.genAmount
            );
        }
    }
    
    /**
     * @dev this is the core logic for any buy/reload that happens while a round 
     * is live.
     */
    function core(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, 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 < 100000000000000000000 && plyrRnds_[_pID][_rID].eth.add(_eth) > 1000000000000000000)
        {
            uint256 _availableLimit = (1000000000000000000).sub(plyrRnds_[_pID][_rID].eth);
            uint256 _refund = _eth.sub(_availableLimit);
            plyr_[_pID].gen = plyr_[_pID].gen.add(_refund);
            _eth = _availableLimit;
        }
        
        // if eth left is greater than min eth allowed (sorry no pocket lint)
        if (_eth > 1000000000) 
        {
            
            // 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
            if (round_[_rID].plyr != _pID)
                round_[_rID].plyr = _pID;  
            if (round_[_rID].team != _team)
                round_[_rID].team = _team; 
            
            // set the new leader bool to true
            _eventData_.compressedData = _eventData_.compressedData + 100;
        }
            
            // 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 && round_[_rID].plyr == 0)))
            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 && round_[_rID].plyr == 0)))
            return ( (round_[_rID].keys.add(_keys)).ethRec(_keys) );
        else // rounds over.  need price for new round
            return ( (_keys).eth() );
    }
//==============================================================================
//    _|_ _  _ | _  .
//     | (_)(_)|_\  .
//==============================================================================
    /**
	 * @dev receives name/player info from names contract 
     */
    function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff)
        external
    {
        require (msg.sender == address(PlayerBook), "your not playerNames contract... hmmm..");
        if (pIDxAddr_[_addr] != _pID)
            pIDxAddr_[_addr] = _pID;
        if (pIDxName_[_name] != _pID)
            pIDxName_[_name] = _pID;
        if (plyr_[_pID].addr != _addr)
            plyr_[_pID].addr = _addr;
        if (plyr_[_pID].name != _name)
            plyr_[_pID].name = _name;
        if (plyr_[_pID].laff != _laff)
            plyr_[_pID].laff = _laff;
        if (plyrNames_[_pID][_name] == false)
            plyrNames_[_pID][_name] = true;
    }
    
    /**
     * @dev receives entire player name list 
     */
    function receivePlayerNameList(uint256 _pID, bytes32 _name)
        external
    {
        require (msg.sender == address(PlayerBook), "your not playerNames contract... hmmm..");
        if(plyrNames_[_pID][_name] == false)
            plyrNames_[_pID][_name] = true;
    }   
        
    /**
     * @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 
            _pID = PlayerBook.getPlayerID(msg.sender);
            bytes32 _name = PlayerBook.getPlayerName(_pID);
            uint256 _laff = PlayerBook.getPlayerLAff(_pID);
            
            // set up player account 
            pIDxAddr_[msg.sender] = _pID;
            plyr_[_pID].addr = msg.sender;
            
            if (_name != "")
            {
                pIDxName_[_name] = _pID;
                plyr_[_pID].name = _name;
                plyrNames_[_pID][_name] = true;
            }
            
            if (_laff != 0 && _laff != _pID)
                plyr_[_pID].laff = _laff;
            
            // set the new player bool to true
            _eventData_.compressedData = _eventData_.compressedData + 1;
        } 
        return (_eventData_);
    }
    
    /**
     * @dev checks to make sure user picked a valid team.  if not sets team 
     * to default (sneks)
     */
    function verifyTeam(uint256 _team)
        private
        pure
        returns (uint256)
    {
        if (_team < 0 || _team > 3)
            return(2);
        else
            return(_team);
    }
    
    /**
     * @dev decides if round end needs to be run & new round started.  and if 
     * player unmasked earnings from previously played rounds need to be moved.
     */
    function managePlayer(uint256 _pID, 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].plyr;
        uint256 _winTID = round_[_rID].team;
        
        // grab our pot amount
        uint256 _pot = round_[_rID].pot;
        
        // calculate our winner share, community rewards, gen share, 
        // p3d share, and amount reserved for next pot 
        uint256 _win = (_pot.mul(48)) / 100;
        uint256 _com = (_pot / 50);
        uint256 _gen = (_pot.mul(potSplit_[_winTID].gen)) / 100;
        uint256 _p3d = (_pot.mul(potSplit_[_winTID].p3d)) / 100;
        uint256 _res = (((_pot.sub(_win)).sub(_com)).sub(_gen)).sub(_p3d);
        
        // calculate ppt for round mask
        uint256 _ppt = (_gen.mul(1000000000000000000)) / (round_[_rID].keys);
        uint256 _dust = _gen.sub((_ppt.mul(round_[_rID].keys)) / 1000000000000000000);
        if (_dust > 0)
        {
            _gen = _gen.sub(_dust);
            _res = _res.add(_dust);
        }
        
        // pay our winner
        plyr_[_winPID].win = _win.add(plyr_[_winPID].win);
        
        // community rewards
        if (!address(Jekyll_Island_Inc).call.value(_com)(bytes4(keccak256("deposit()"))))
        {
            // This ensures Team Just cannot influence the outcome of FoMo3D with
            // bank migrations by breaking outgoing transactions.
            // Something we would never do. But that's not the point.
            // We spent 2000$ in eth re-deploying just to patch this, we hold the 
            // highest belief that everything we create should be trustless.
            // Team JUST, The name you shouldn't have to trust.
            _p3d = _p3d.add(_com);
            _com = 0;
        }
        
        // distribute gen portion to key holders
        round_[_rID].mask = _ppt.add(round_[_rID].mask);
        
        // send share for p3d to divies
        if (_p3d > 0)
            Divies.deposit.value(_p3d)();
            
        // prepare event data
        _eventData_.compressedData = _eventData_.compressedData + (round_[_rID].end * 1000000);
        _eventData_.compressedIDs = _eventData_.compressedIDs + (_winPID * 100000000000000000000000000) + (_winTID * 100000000000000000);
        _eventData_.winnerAddr = plyr_[_winPID].addr;
        _eventData_.winnerName = plyr_[_winPID].name;
        _eventData_.amountWon = _win;
        _eventData_.genAmount = _gen;
        _eventData_.P3DAmount = _p3d;
        _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;
        
        // calculate time based on number of keys bought
        uint256 _newTime;
        if (_now > round_[_rID].end && round_[_rID].plyr == 0)
            _newTime = (((_keys) / (1000000000000000000)).mul(rndInc_)).add(_now);
        else
            _newTime = (((_keys) / (1000000000000000000)).mul(rndInc_)).add(round_[_rID].end);
        
        // compare to max and set new end time
        if (_newTime < (rndMax_).add(_now))
            round_[_rID].end = _newTime;
        else
            round_[_rID].end = rndMax_.add(_now);
    }
    
    /**
     * @dev 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;
        if (!address(Jekyll_Island_Inc).call.value(_com)(bytes4(keccak256("deposit()"))))
        {
            // This ensures Team Just cannot influence the outcome of FoMo3D with
            // bank migrations by breaking outgoing transactions.
            // Something we would never do. But that's not the point.
            // We spent 2000$ in eth re-deploying just to patch this, we hold the 
            // highest belief that everything we create should be trustless.
            // Team JUST, The name you shouldn't have to trust.
            _p3d = _com;
            _com = 0;
        }
        
        // pay 1% out to FoMo3D short
        uint256 _long = _eth / 100;
        otherF3D_.potSwap.value(_long)();
        
        // 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;
        }
        
        // pay out p3d
        _p3d = _p3d.add((_eth.mul(fees_[_team].p3d)) / (100));
        if (_p3d > 0)
        {
            // deposit to divies contract
            Divies.deposit.value(_p3d)();
            
            // set up event data
            _eventData_.P3DAmount = _p3d.add(_eventData_.P3DAmount);
        }
        
        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()
        public
    {
        // only team just can activate 
        require(
            msg.sender == 0x18E90Fc6F70344f53EBd4f6070bf6Aa23e2D748C ||
            msg.sender == 0x8b4DA1827932D71759687f925D17F81Fc94e3A9D ||
            msg.sender == 0x8e0d985f3Ec1857BEc39B76aAabDEa6B31B67d53 ||
            msg.sender == 0x7ac74Fcc1a71b106F12c55ee8F802C9F672Ce40C ||
			msg.sender == 0xF39e044e1AB204460e06E87c6dca2c6319fC69E3,
            "only team just can activate"
        );

		// 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_;
    }
    function setOtherFomo(address _otherF3D)
        public
    {
        // only team just can activate 
        require(
            msg.sender == 0x18E90Fc6F70344f53EBd4f6070bf6Aa23e2D748C ||
            msg.sender == 0x8b4DA1827932D71759687f925D17F81Fc94e3A9D ||
            msg.sender == 0x8e0d985f3Ec1857BEc39B76aAabDEa6B31B67d53 ||
            msg.sender == 0x7ac74Fcc1a71b106F12c55ee8F802C9F672Ce40C ||
			msg.sender == 0xF39e044e1AB204460e06E87c6dca2c6319fC69E3,
            "only team just can activate"
        );

        // make sure that it HASNT yet been linked.
        require(address(otherF3D_) == address(0), "silly dev, you already did that");
        
        // set up other fomo3d (fast or long) for pot swap
        otherF3D_ = otherFoMo3D(_otherF3D);
    }
}

//==============================================================================
//   __|_ _    __|_ _  .
//  _\ | | |_|(_ | _\  .
//==============================================================================
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 plyr;   // pID of player in lead
        uint256 team;   // tID of team in lead
        uint256 end;    // time ends/ended
        bool ended;     // has round end function been ran
        uint256 strt;   // time round started
        uint256 keys;   // keys
        uint256 eth;    // total eth in
        uint256 pot;    // eth to pot (during round) / final amount paid to winner (after round ends)
        uint256 mask;   // global mask
        uint256 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 otherFoMo3D {
    function potSwap() external payable;
}

interface F3DexternalSettingsInterface {
    function getFastGap() external returns(uint256);
    function getLongGap() external returns(uint256);
    function getFastExtra() external returns(uint256);
    function getLongExtra() external returns(uint256);
}

interface DiviesInterface {
    function deposit() external payable;
}

interface JIincForwarderInterface {
    function deposit() external payable returns(bool);
    function status() external view returns(address, address, bool);
    function startMigration(address _newCorpBank) external returns(bool);
    function cancelMigration() external returns(bool);
    function finishMigration() external returns(bool);
    function setup(address _firstCorpBank) external;
}

interface PlayerBookInterface {
    function getPlayerID(address _addr) external returns (uint256);
    function getPlayerName(uint256 _pID) external view returns (bytes32);
    function getPlayerLAff(uint256 _pID) external view returns (uint256);
    function getPlayerAddr(uint256 _pID) external view returns (address);
    function getNameFee() external view returns (uint256);
    function registerNameXIDFromDapp(address _addr, bytes32 _name, uint256 _affCode, bool _all) external payable returns(bool, uint256);
    function registerNameXaddrFromDapp(address _addr, bytes32 _name, address _affCode, bool _all) external payable returns(bool, uint256);
    function registerNameXnameFromDapp(address _addr, bytes32 _name, bytes32 _affCode, bool _all) external payable returns(bool, uint256);
}

/**
* @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":"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":"","type":"uint256"}],"name":"round_","outputs":[{"name":"plyr","type":"uint256"},{"name":"team","type":"uint256"},{"name":"end","type":"uint256"},{"name":"ended","type":"bool"},{"name":"strt","type":"uint256"},{"name":"keys","type":"uint256"},{"name":"eth","type":"uint256"},{"name":"pot","type":"uint256"},{"name":"mask","type":"uint256"},{"name":"ico","type":"uint256"},{"name":"icoGen","type":"uint256"},{"name":"icoAvg","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"bytes32"}],"name":"plyrNames_","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":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":false,"inputs":[{"name":"_nameString","type":"string"},{"name":"_affCode","type":"address"},{"name":"_all","type":"bool"}],"name":"registerNameXaddr","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_pID","type":"uint256"},{"name":"_addr","type":"address"},{"name":"_name","type":"bytes32"},{"name":"_laff","type":"uint256"}],"name":"receivePlayerInfo","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":"_nameString","type":"string"},{"name":"_affCode","type":"bytes32"},{"name":"_all","type":"bool"}],"name":"registerNameXname","outputs":[],"payable":true,"stateMutability":"payable","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":false,"inputs":[{"name":"_pID","type":"uint256"},{"name":"_name","type":"bytes32"}],"name":"receivePlayerNameList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_nameString","type":"string"},{"name":"_affCode","type":"uint256"},{"name":"_all","type":"bool"}],"name":"registerNameXID","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":false,"inputs":[{"name":"_otherF3D","type":"address"}],"name":"setOtherFomo","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"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"},{"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"}]

608060408190527f4ccbe8880000000000000000000000000000000000000000000000000000000081527332967d6c142c2f38ab39235994e2ddf11c37d59090634ccbe88890608490602090600481600087803b1580156200006057600080fd5b505af115801562000075573d6000803e3d6000fd5b505050506040513d60208110156200008c57600080fd5b5051600155604080517f114719c500000000000000000000000000000000000000000000000000000000815290517332967d6c142c2f38ab39235994e2ddf11c37d5909163114719c59160048083019260209291908290030181600087803b158015620000f857600080fd5b505af11580156200010d573d6000803e3d6000fd5b505050506040513d60208110156200012457600080fd5b50516002556000600455600f805460ff191690553480156200014557600080fd5b50604080518082018252601e808252600660208084019182526000808052600d80835294517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ee5591517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ef5584518086018652602b808252818301848152600180865287855292517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c555517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c6558651808801885260388152600a818501818152600280885289875292517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc24955517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc24a558851808a018a529283526008838601908152600380885298865292517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e25591517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e35587518089018952600f8152808501838152868052600e80875291517fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c55517fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881d558851808a018a5260198152808601878152948752818652517fa7c5ba7114a813b50159add3a36832908dc83db71d0b9a24c2ad0f83be9582075592517fa7c5ba7114a813b50159add3a36832908dc83db71d0b9a24c2ad0f83be95820855875180890189526014808252818601908152918652838552517f9adb202b1492743bc00c81d33cdc6423fa8c79109027eb6a845391e8fc1f048155517f9adb202b1492743bc00c81d33cdc6423fa8c79109027eb6a845391e8fc1f0482558651808801909752938652858201938452939091529190915290517fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c90814455517fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c908145556153f080620004616000396000f3006080604052600436106101b35763ffffffff60e060020a600035041663018a25e8811461035257806306fdde0314610379578063079ce327146104035780630f15f4c01461042357806310f01eba1461043857806311a09ae71461045957806324c33d331461046e5780632660316e146104e55780632ce21999146105145780632e19ebdc14610545578063349cdcac1461055d5780633ccfd60b1461057b5780633ddd46981461059057806349cc635d146105ec5780635893d48114610616578063624ae5c0146106315780636306643414610646578063685ffd831461067c578063747dff42146106cf57806382bfc7391461075a5780638f38f309146107815780638f7140ea1461078f578063921dec21146107aa57806395d89b41146107fd57806398a0871d14610812578063a2bccae914610829578063a65b37a11461086a578063b483c05414610878578063c519500e14610899578063c7e284b8146108b1578063ce89c80c146108c6578063cf808000146108e1578063d53b2679146108f9578063d87574e01461090e578063de7874f314610923578063ed78cf4a1461097d578063ee0b5d8b14610985575b6101bb6152cb565b600f5460009060ff161515600114610220576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015610267576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca008110156102bf576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561030f576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b610318856109de565b3360009081526006602081815260408084205480855260089092529092200154919650945061034b908590600288610c31565b5050505050005b34801561035e57600080fd5b50610367610e6b565b60408051918252519081900360200190f35b34801561038557600080fd5b5061038e610f30565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103c85781810151838201526020016103b0565b50505050905090810190601f1680156103f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561040f57600080fd5b50610421600435602435604435610f67565b005b34801561042f57600080fd5b50610421611174565b34801561044457600080fd5b50610367600160a060020a036004351661138c565b34801561046557600080fd5b5061036761139e565b34801561047a57600080fd5b506104866004356113a4565b604080519c8d5260208d019b909b528b8b019990995296151560608b015260808a019590955260a089019390935260c088019190915260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b3480156104f157600080fd5b50610500600435602435611407565b604080519115158252519081900360200190f35b34801561052057600080fd5b5061052c600435611427565b6040805192835260208301919091528051918290030190f35b34801561055157600080fd5b50610367600435611440565b34801561056957600080fd5b50610421600435602435604435611452565b34801561058757600080fd5b50610421611639565b6040805160206004803580820135601f810184900484028501840190955284845261042194369492936024939284019190819084018382808284375094975050600160a060020a038535169550505050506020013515156119bb565b3480156105f857600080fd5b50610421600435600160a060020a0360243516604435606435611b58565b34801561062257600080fd5b50610367600435602435611d23565b34801561063d57600080fd5b50610367611d40565b34801561065257600080fd5b5061065e600435611d46565b60408051938452602084019290925282820152519081900360600190f35b6040805160206004803580820135601f8101849004840285018401909552848452610421943694929360249392840191908190840183828082843750949750508435955050505050602001351515611eec565b3480156106db57600080fd5b506106e4611fb0565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b34801561076657600080fd5b50610421600160a060020a03600435166024356044356121ae565b6104216004356024356123a9565b34801561079b57600080fd5b50610421600435602435612591565b6040805160206004803580820135601f8101849004840285018401909552848452610421943694929360249392840191908190840183828082843750949750508435955050505050602001351515612655565b34801561080957600080fd5b5061038e612719565b610421600160a060020a0360043516602435612739565b34801561083557600080fd5b5061084460043560243561294f565b604080519485526020850193909352838301919091526060830152519081900360800190f35b610421600435602435612981565b34801561088457600080fd5b50610421600160a060020a0360043516612b7f565b3480156108a557600080fd5b5061052c600435612ce7565b3480156108bd57600080fd5b50610367612d00565b3480156108d257600080fd5b50610367600435602435612d8f565b3480156108ed57600080fd5b50610367600435612e37565b34801561090557600080fd5b50610500612ee9565b34801561091a57600080fd5b50610367612ef2565b34801561092f57600080fd5b5061093b600435612ef8565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b610421612f3f565b34801561099157600080fd5b506109a6600160a060020a0360043516612fbc565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6109e66152cb565b336000908152600660205260408120549080821515610c28576040805160e060020a63e56556a902815233600482015290516000805160206153258339815191529163e56556a99160248083019260209291908290030181600087803b158015610a4f57600080fd5b505af1158015610a63573d6000803e3d6000fd5b505050506040513d6020811015610a7957600080fd5b50516040805160e260020a6320b8decb028152600481018390529051919450600080516020615325833981519152916382e37b2c916024808201926020929091908290030181600087803b158015610ad057600080fd5b505af1158015610ae4573d6000803e3d6000fd5b505050506040513d6020811015610afa57600080fd5b50516040805160e060020a63e3c08adf0281526004810186905290519193506000805160206153258339815191529163e3c08adf916024808201926020929091908290030181600087803b158015610b5157600080fd5b505af1158015610b65573d6000803e3d6000fd5b505050506040513d6020811015610b7b57600080fd5b5051336000818152600660209081526040808320889055878352600890915290208054600160a060020a031916909117905590508115610bf7576000828152600760209081526040808320869055858352600882528083206001908101869055600a8352818420868552909252909120805460ff191690911790555b8015801590610c065750828114155b15610c205760008381526008602052604090206006018190555b845160010185525b50929392505050565b6005546002546000828152600b602052604090206004015442910181118015610c9c57506000828152600b602052604090206002015481111580610c9c57506000828152600b602052604090206002015481118015610c9c57506000828152600b6020526040902054155b15610cb457610caf828734888888613091565b610e63565b6000828152600b602052604090206002015481118015610ce657506000828152600b602052604090206003015460ff16155b15610e2e576000828152600b60205260409020600301805460ff19166001179055610d10836135e2565b925080670de0b6b3a764000002836000015101836000018181525050858360200151018360200181815250507fa7801a70b37e729a11492aad44fd3dba89b4149f0609dc0f6837bf9e57e2671a3360086000898152602001908152602001600020600101543486600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a15b600086815260086020526040902060030154610e50903463ffffffff613a4416565b6000878152600860205260409020600301555b505050505050565b6005546002546000828152600b602052604081206004015490929142910181118015610ed957506000828152600b602052604090206002015481111580610ed957506000828152600b602052604090206002015481118015610ed957506000828152600b6020526040902054155b15610f21576000828152600b6020526040902060050154610f1a90670de0b6b3a764000090610f0e908263ffffffff613a4416565b9063ffffffff613aa516565b9250610f2b565b6544364c5bb00092505b505090565b60408051808201909152601481527f466f4d6f3344204c6f6e67204f6666696369616c000000000000000000000000602082015281565b610f6f6152cb565b600f54600090819060ff161515600114610fd6576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b801561101d576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b85633b9aca00811015611075576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156110c5576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b3360009081526006602052604090205494508815806110f4575060008581526008602052604090206001015489145b15611112576000858152600860205260409020600601549350611151565b60008981526007602090815260408083205488845260089092529091206006015490945084146111515760008581526008602052604090206006018490555b61115a88613ad2565b975061116985858a8a8a613af7565b505050505050505050565b7318e90fc6f70344f53ebd4f6070bf6aa23e2d748c3314806111a95750738b4da1827932d71759687f925d17f81fc94e3a9d33145b806111c75750738e0d985f3ec1857bec39b76aaabdea6b31b67d5333145b806111e55750737ac74fcc1a71b106f12c55ee8f802c9f672ce40c33145b80611203575073f39e044e1ab204460e06e87c6dca2c6319fc69e333145b1515611259576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600054600160a060020a031615156112bb576040805160e560020a62461bcd02815260206004820152601f60248201527f6d757374206c696e6b20746f206f7468657220466f4d6f334420666972737400604482015290519081900360640190fd5b600f5460ff1615611316576040805160e560020a62461bcd02815260206004820152601860248201527f666f6d6f336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b600f805460ff1916600190811790915560058190556002548154600092909252600b602052429091019081037f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d355610e10017f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d155565b60066020526000908152604090205481565b60045481565b600b60208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a8b01549a909b0154989a9799969860ff90961697949693959294919390928c565b600a60209081526000928352604080842090915290825290205460ff1681565b600d602052600090815260409020805460019091015482565b60076020526000908152604090205481565b61145a6152cb565b600f5460009060ff1615156001146114bf576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015611506576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b84633b9aca0081101561155e576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156115ae576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b3360009081526006602052604090205493508715806115cc57508388145b156115ea576000848152600860205260409020600601549750611617565b60008481526008602052604090206006015488146116175760008481526008602052604090206006018890555b61162087613ad2565b965061162f8489898989613af7565b5050505050505050565b6000806000806116476152cb565b600f5460ff1615156001146116a9576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b80156116f0576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b60055433600090815260066020908152604080832054848452600b9092529091206002015491985042975095508611801561173d57506000878152600b602052604090206003015460ff16155b801561175657506000878152600b602052604090205415155b156118fc576000878152600b60205260409020600301805460ff19166001179055611780836135e2565b925061178b85613d13565b935060008411156117dc57600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f193505050501580156117da573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc3360086000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a16119b2565b61190585613d13565b9350600084111561195657600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611954573d6000803e3d6000fd5b505b6000858152600860209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b6000808080808033803b8015611a09576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b611a128b613d9a565b6040805160e060020a63aa4d490b028152336004820181905260248201849052600160a060020a038e1660448301528c151560648301528251939b5099503498506000805160206153258339815191529263aa4d490b928a926084808201939182900301818588803b158015611a8757600080fd5b505af1158015611a9b573d6000803e3d6000fd5b50505050506040513d6040811015611ab257600080fd5b508051602091820151600160a060020a03808b1660008181526006865260408082205485835260088852918190208054600190910154825188151581529889018790529416878201526060870193909352608086018c90524260a0870152915193995091975095508a92909186917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a45050505050505050505050565b3360008051602061532583398151915214611bd0576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e604482015260c960020a66103436b6b6971702606482015290519081900360840190fd5b600160a060020a0383166000908152600660205260409020548414611c0b57600160a060020a03831660009081526006602052604090208490555b6000828152600760205260409020548414611c325760008281526007602052604090208490555b600084815260086020526040902054600160a060020a03848116911614611c7b5760008481526008602052604090208054600160a060020a031916600160a060020a0385161790555b6000848152600860205260409020600101548214611ca85760008481526008602052604090206001018290555b6000848152600860205260409020600601548114611cd55760008481526008602052604090206006018190555b6000848152600a6020908152604080832085845290915290205460ff161515611d1d576000848152600a602090815260408083208584529091529020805460ff191660011790555b50505050565b600c60209081526000928352604080842090915290825290205481565b60055481565b6005546000818152600b60205260408120600201549091829182919042118015611d8257506000818152600b602052604090206003015460ff16155b8015611d9b57506000818152600b602052604090205415155b15611ebc576000818152600b6020526040902054851415611e80576000818152600b6020526040902060070154611e0990606490611de090603063ffffffff6144b516565b811515611de957fe5b60008881526008602052604090206002015491900463ffffffff613a4416565b6000868152600960209081526040808320858452909152902060020154611e6290611e4490611e38898661452c565b9063ffffffff6145fa16565b6000888152600860205260409020600301549063ffffffff613a4416565b60008781526008602052604090206004015491955093509150611ee4565b600085815260086020908152604080832060029081015460098452828520868652909352922090910154611e6290611e4490611e38898661452c565b60008581526008602052604090206002810154600590910154611e6290611e4490889061465a565b509193909250565b6000808080808033803b8015611f3a576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b611f438b613d9a565b6040805160e060020a63745ea0c1028152336004820181905260248201849052604482018e90528c151560648301528251939b5099503498506000805160206153258339815191529263745ea0c1928a926084808201939182900301818588803b158015611a8757600080fd5b60008060008060008060008060008060008060008060006005549050600b60008281526020019081526020016000206009015481600b600084815260200190815260200160002060050154600b600085815260200190815260200160002060020154600b600086815260200190815260200160002060040154600b600087815260200190815260200160002060070154600b600088815260200190815260200160002060000154600a02600b6000898152602001908152602001600020600101540160086000600b60008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660086000600b60008c815260200190815260200160002060000154815260200190815260200160002060010154600c60008b8152602001908152602001600020600080815260200190815260200160002054600c60008c815260200190815260200160002060006001815260200190815260200160002054600c60008d815260200190815260200160002060006002815260200190815260200160002054600c60008e8152602001908152602001600020600060038152602001908152602001600020546003546103e802600454019e509e509e509e509e509e509e509e509e509e509e509e509e509e5050909192939495969798999a9b9c9d565b6121b66152cb565b600f54600090819060ff16151560011461221d576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015612264576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b85633b9aca008110156122bc576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561230c576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b336000908152600660205260409020549450600160a060020a038916158061233c5750600160a060020a03891633145b1561235a576000858152600860205260409020600601549350611151565b600160a060020a03891660009081526006602081815260408084205489855260089092529092200154909450841461115157600085815260086020526040902060060184905561115a88613ad2565b6123b16152cb565b600f5460009060ff161515600114612416576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b801561245d576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca008110156124b5576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612505576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b61250e856109de565b33600090815260066020526040902054909550935086158061252f57508387145b1561254d57600084815260086020526040902060060154965061257a565b600084815260086020526040902060060154871461257a5760008481526008602052604090206006018790555b61258386613ad2565b95506119b284888888610c31565b3360008051602061532583398151915214612609576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e604482015260c960020a66103436b6b6971702606482015290519081900360840190fd5b6000828152600a6020908152604080832084845290915290205460ff161515612651576000828152600a602090815260408083208484529091529020805460ff191660011790555b5050565b6000808080808033803b80156126a3576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b6126ac8b613d9a565b6040805160e060020a63c0942dfd028152336004820181905260248201849052604482018e90528c151560648301528251939b5099503498506000805160206153258339815191529263c0942dfd928a926084808201939182900301818588803b158015611a8757600080fd5b604080518082019091526003815260ea60020a62118cd102602082015281565b6127416152cb565b600f54600090819060ff1615156001146127a8576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b80156127ef576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca00811015612847576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612897576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b6128a0866109de565b336000908152600660205260409020549096509450600160a060020a03881615806128d35750600160a060020a03881633145b156128f1576000858152600860205260409020600601549350612938565b600160a060020a0388166000908152600660208181526040808420548985526008909252909220015490945084146129385760008581526008602052604090206006018490555b61294187613ad2565b965061162f85858989610c31565b600960209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b6129896152cb565b600f54600090819060ff1615156001146129f0576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015612a37576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca00811015612a8f576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612adf576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b612ae8866109de565b336000908152600660205260409020549096509450871580612b1a575060008581526008602052604090206001015488145b15612b38576000858152600860205260409020600601549350612938565b600088815260076020908152604080832054888452600890925290912060060154909450841461293857600085815260086020526040902060060184905561294187613ad2565b7318e90fc6f70344f53ebd4f6070bf6aa23e2d748c331480612bb45750738b4da1827932d71759687f925d17f81fc94e3a9d33145b80612bd25750738e0d985f3ec1857bec39b76aaabdea6b31b67d5333145b80612bf05750737ac74fcc1a71b106f12c55ee8f802c9f672ce40c33145b80612c0e575073f39e044e1ab204460e06e87c6dca2c6319fc69e333145b1515612c64576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600054600160a060020a031615612cc5576040805160e560020a62461bcd02815260206004820152601f60248201527f73696c6c79206465762c20796f7520616c726561647920646964207468617400604482015290519081900360640190fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b600e602052600090815260409020805460019091015482565b6005546000818152600b60205260408120600201549091904290811015612d86576002546000838152600b602052604090206004015401811115612d60576000828152600b6020526040902060020154610f1a908263ffffffff6145fa16565b6002546000838152600b6020526040902060040154610f1a91018263ffffffff6145fa16565b60009250610f2b565b6002546000838152600b6020526040812060040154909142910181118015612df957506000848152600b602052604090206002015481111580612df957506000848152600b602052604090206002015481118015612df957506000848152600b6020526040902054155b15612e27576000848152600b6020526040902060060154612e20908463ffffffff6146b716565b9150612e30565b612e20836146d8565b5092915050565b6005546002546000828152600b602052604081206004015490929142910181118015612ea557506000828152600b602052604090206002015481111580612ea557506000828152600b602052604090206002015481118015612ea557506000828152600b6020526040902054155b15612ed9576000828152600b6020526040902060050154612ed2908590610f0e908263ffffffff613a4416565b9250612ee2565b612ed284614750565b5050919050565b600f5460ff1681565b60035481565b6008602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b6005546001016000818152600b6020526040902060070154612f67903463ffffffff613a4416565b6000828152600b6020908152604091829020600701929092558051838152349281019290925280517f74b1d2f771e0eff1b2c36c38499febdbea80fe4013bdace4fc4b653322c2895c9281900390910190a150565b6000806000806000806000806000600554915050600160a060020a0389166000908152600660209081526040808320548084526008808452828520600180820154600987528588208989528752948720015495839052935260028301546005909301549093849390916130529061303490869061465a565b6000878152600860205260409020600301549063ffffffff613a4416565b600095865260086020908152604080882060040154600983528189209989529890915290952054939e929d50909b509950919750919550909350915050565b600085815260096020908152604080832089845290915281206001015481908190819015156130c7576130c489866147bd565b94505b60008a8152600b602052604090206006015468056bc75e2d63100000118015613121575060008981526009602090815260408083208d8452909152902054670de0b6b3a76400009061311f908a63ffffffff613a4416565b115b156131a85760008981526009602090815260408083208d845290915290205461315990670de0b6b3a76400009063ffffffff6145fa16565b935061316b888563ffffffff6145fa16565b60008a815260086020526040902060030154909350613190908463ffffffff613a4416565b60008a81526008602052604090206003015592965086925b633b9aca008811156135d65760008a8152600b60205260409020600601546131d6908963ffffffff6146b716565b9150670de0b6b3a7640000821061324d576131f1828b61481c565b60008a8152600b602052604090205489146132185760008a8152600b602052604090208990555b60008a8152600b602052604090206001015486146132455760008a8152600b602052604090206001018690555b845160640185525b67016345785d8a0000881061348d5760048054600101905561326d6148fa565b15156001141561348d57678ac7230489e80000881061330e5760035460649061329d90604b63ffffffff6144b516565b8115156132a657fe5b60008b81526008602052604090206002015491900491506132cd908263ffffffff613a4416565b60008a8152600860205260409020600201556003546132f2908263ffffffff6145fa16565b60035584516d0eca8847c4129106ce8300000000018552613462565b670de0b6b3a7640000881015801561332d5750678ac7230489e8000088105b156133ba5760035460649061334990603263ffffffff6144b516565b81151561335257fe5b60008b8152600860205260409020600201549190049150613379908263ffffffff613a4416565b60008a81526008602052604090206002015560035461339e908263ffffffff6145fa16565b60035584516d09dc5ada82b70b59df0200000000018552613462565b67016345785d8a000088101580156133d95750670de0b6b3a764000088105b15613462576003546064906133f590601963ffffffff6144b516565b8115156133fe57fe5b60008b8152600860205260409020600201549190049150613425908263ffffffff613a4416565b60008a81526008602052604090206002015560035461344a908263ffffffff6145fa16565b60035584516d0eca8847c4129106ce83000000000185525b84516d314dc6448d9338c15b0a000000008202016c7e37be2022c0914b268000000001855260006004555b60045485516103e890910201855260008981526009602090815260408083208d84529091529020600101546134c990839063ffffffff613a4416565b60008a81526009602090815260408083208e845290915290206001810191909155546134f6908990613a44565b60008a81526009602090815260408083208e8452825280832093909355600b9052206005015461352d90839063ffffffff613a4416565b60008b8152600b6020526040902060058101919091556006015461355890899063ffffffff613a4416565b60008b8152600b6020908152604080832060060193909355600c81528282208983529052205461358f90899063ffffffff613a4416565b60008b8152600c602090815260408083208a84529091529020556135b78a8a8a8a8a8a614b11565b94506135c78a8a8a89868a614dc0565b94506135d689878a8589614f2e565b50505050505050505050565b6135ea6152cb565b6005546000818152600b60205260408120805460018201546007909201549092808080808080606461362389603063ffffffff6144b516565b81151561362c57fe5b04965060328860008b8152600e6020526040902054919004965060649061365a908a9063ffffffff6144b516565b81151561366357fe5b60008b8152600e6020526040902060010154919004955060649061368e908a9063ffffffff6144b516565b81151561369757fe5b0493506136b284611e3887818a818e8e63ffffffff6145fa16565b60008c8152600b60205260409020600501549093506136df86670de0b6b3a764000063ffffffff6144b516565b8115156136e857fe5b60008d8152600b6020526040902060050154919004925061373690670de0b6b3a76400009061371e90859063ffffffff6144b516565b81151561372757fe5b8791900463ffffffff6145fa16565b9050600081111561376657613751858263ffffffff6145fa16565b9450613763838263ffffffff613a4416565b92505b60008a81526008602052604090206002015461378990889063ffffffff613a4416565b60008b81526008602052604080822060020192909255815160b860020a686465706f7369742829028152825190819003600901812063ffffffff60e060020a918290049081169091028252925173dd4950f977ee28d2c132f1353d1595035db444ee93928a9260048082019391829003018185885af1935050505015156138215761381a848763ffffffff613a4416565b9350600095505b60008b8152600b602052604090206008015461384490839063ffffffff613a4416565b60008c8152600b60205260408120600801919091558411156138cc5773c7029ed9eba97a096e72607f4340c34049c7af48600160a060020a031663d0e30db0856040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156138b257600080fd5b505af11580156138c6573d6000803e3d6000fd5b50505050505b600b60008c815260200190815260200160002060020154620f4240028d60000151018d60000181815250508867016345785d8a0000028a6a52b7d2dcc80cd2e4000000028e6020015101018d6020018181525050600860008b815260200190815260200160002060000160009054906101000a9004600160a060020a03168d60400190600160a060020a03169081600160a060020a031681525050600860008b8152602001908152602001600020600101548d606001906000191690816000191681525050868d6080018181525050848d60e0018181525050838d60c0018181525050828d60a00181815250506005600081548092919060010191905055508a806001019b505042600b60008d815260200190815260200160002060040181905550613a15600254613a09610e1042613a4490919063ffffffff16565b9063ffffffff613a4416565b60008c8152600b6020526040902060028101919091556007018390558c9b505050505050505050505050919050565b81810182811015613a9f576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b6000613acb613ac2613abd858563ffffffff6145fa16565b614750565b611e3885614750565b9392505050565b600080821080613ae25750600382115b15613aef57506002613af2565b50805b919050565b6005546002546000828152600b602052604090206004015442910181118015613b6257506000828152600b602052604090206002015481111580613b6257506000828152600b602052604090206002015481118015613b6257506000828152600b6020526040902054155b15613b9957613b7484611e3889613d13565b600088815260086020526040902060030155613b94828886898988613091565b6119b2565b6000828152600b602052604090206002015481118015613bcb57506000828152600b602052604090206003015460ff16155b156119b2576000828152600b60205260409020600301805460ff19166001179055613bf5836135e2565b925080670de0b6b3a764000002836000015101836000018181525050868360200151018360200181815250507f88261ac70d02d5ea73e54fa6da17043c974de1021109573ec1f6f57111c823dd33600860008a815260200190815260200160002060010154856000015186602001518760400151886060015189608001518a60a001518b60c001518c60e00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019a505050505050505050505060405180910390a150505050505050565b6000818152600860205260408120600501548190613d3290849061509c565b600083815260086020526040902060048101546003820154600290920154613d6492613a09919063ffffffff613a4416565b90506000811115613d905760008381526008602052604081206002810182905560038101829055600401555b8091505b50919050565b8051600090829082808060208411801590613db55750600084115b1515613e31576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b846000815181101515613e4057fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015613ea757508460018503815181101515613e7f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613f0e576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e64207769746820604482015260d860020a64737061636502606482015290519081900360840190fd5b846000815181101515613f1d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a02141561406057846001815181101515613f5757fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515613fd4576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b846001815181101515613fe357fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515614060576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b8382101561444d57845160fe60020a9086908490811061408157fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156140dc5750845160f860020a605b02908690849081106140bd57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b156141495784828151811015156140ef57fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a02858381518110151561412057fe5b906020010190600160f860020a031916908160001a90535082151561414457600192505b614442565b848281518110151561415757fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214806141f55750845160fd60020a6003029086908490811061419a57fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156141f55750845160f860020a607b02908690849081106141d657fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b8061426d5750845160f860020a602f029086908490811061421257fe5b90602001015160f860020a900460f860020a02600160f860020a03191611801561426d5750845160f960020a601d029086908490811061424e57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15156142d1576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c6964206368617261637465604482015260f060020a61727302606482015290519081900360840190fd5b84828151811015156142df57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214156143be57848260010181518110151561431b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a02141515156143be576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b821580156144385750845160fc60020a600302908690849081106143de57fe5b90602001015160f860020a900460f860020a02600160f860020a03191610806144385750845160f860020a6039029086908490811061441957fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b1561444257600192505b600190910190614065565b6001831515146144a7576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b60008215156144c657506000613a9f565b508181028183828115156144d657fe5b0414613a9f576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b60008281526009602090815260408083208484528252808320600190810154600b8085528386206005810154938101548752600e8652938620548787529452600790920154670de0b6b3a7640000936145e993926145dd9290916145b491879160649161459e9163ffffffff6144b516565b8115156145a757fe5b049063ffffffff6144b516565b8115156145bd57fe5b6000888152600b602052604090206008015491900463ffffffff613a4416565b9063ffffffff6144b516565b8115156145f257fe5b049392505050565b600082821115614654576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b600082815260096020908152604080832084845282528083206002810154600190910154600b90935290832060080154613acb92670de0b6b3a7640000916146a1916144b5565b8115156146aa57fe5b049063ffffffff6145fa16565b6000613acb6146c5846146d8565b611e386146d8868663ffffffff613a4416565b60006309502f906147406d03b2a1d15167e7c5699bfde00000611e3861473b7a0dac7055469777a6122ee4310dd6c14410500f2904840000000000613a096b01027e72f1f12813088000006145dd8a670de0b6b3a764000063ffffffff6144b516565b615133565b81151561474957fe5b0492915050565b6000614763670de0b6b3a7640000615186565b614740600261479661478386670de0b6b3a764000063ffffffff6144b516565b65886c8f6730709063ffffffff6144b516565b81151561479f57fe5b04613a096147ac86615186565b6304a817c89063ffffffff6144b516565b6147c56152cb565b600083815260086020526040902060050154156147f9576000838152600860205260409020600501546147f990849061509c565b506005805460009384526008602052604090932001919091558051600a01815290565b6000818152600b60205260408120600201544291908211801561484b57506000838152600b6020526040902054155b1561486f5761486882613a09601e670de0b6b3a7640000886145a7565b905061489c565b6000838152600b602052604090206002015461489990613a09601e670de0b6b3a7640000886145a7565b90505b6148af620151808363ffffffff613a4416565b8110156148cf576000838152600b60205260409020600201819055611d1d565b6148e2620151808363ffffffff613a4416565b6000848152600b602052604090206002015550505050565b600080614a6b43613a0942336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106149755780518252601f199092019160209182019101614956565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120925050508115156149ab57fe5b04613a0945613a0942416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b60208310614a245780518252601f199092019160209182019101614a05565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912092505050811515614a5a57fe5b04613a09424463ffffffff613a4416565b604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b60208310614ab95780518252601f199092019160209182019101614a9a565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060045490945092506103e89150839050046103e80282031015614b085760019150614b0d565b600091505b5090565b614b196152cb565b600080808060328904935073dd4950f977ee28d2c132f1353d1595035db444ee600160a060020a031684604051808060b860020a686465706f7369742829028152506009019050604051809103902060e060020a9004906040518263ffffffff1660e060020a02815260040160006040518083038185885af193505050501515614ba35760009392505b600080546040805160e160020a6376bc67a5028152905160648d049550600160a060020a039092169263ed78cf4a928692600480820193929182900301818588803b158015614bf157600080fd5b505af1158015614c05573d6000803e3d6000fd5b5050505050600a89811515614c1657fe5b049050898814158015614c39575060008881526008602052604090206001015415155b15614cd957600088815260086020526040902060040154614c6190829063ffffffff613a4416565b600089815260086020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101839052426060830152518b918d918b917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a4614cdd565b8092505b6000878152600d6020526040902060010154614d1f90606490614d07908c9063ffffffff6144b516565b811515614d1057fe5b8591900463ffffffff613a4416565b92506000831115614db15773c7029ed9eba97a096e72607f4340c34049c7af48600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b158015614d7c57600080fd5b505af1158015614d90573d6000803e3d6000fd5b50505060c0880151614dab925085915063ffffffff613a4416565b60c08701525b50939998505050505050505050565b614dc86152cb565b6000848152600d6020526040812054819081908190606490614df1908b9063ffffffff6144b516565b811515614dfa57fe5b049350606489049250614e1883600354613a4490919063ffffffff16565b6003556000888152600d6020526040902060010154614e8990614e7c90606490614e49908d9063ffffffff6144b516565b811515614e5257fe5b046064614e668d600e63ffffffff6144b516565b811515614e6f57fe5b049063ffffffff613a4416565b8a9063ffffffff6145fa16565b9850614e9b898563ffffffff6145fa16565b9150614ea98b8b868a615192565b90506000811115614ec757614ec4848263ffffffff6145fa16565b93505b60008b8152600b6020526040902060070154614eed90613a09848463ffffffff613a4416565b60008c8152600b602052604090206007015560e0860151614f1590859063ffffffff613a4416565b60e0870152506101008501525091979650505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600554751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160086000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600354604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a15050505050565b60006150a8838361465a565b9050600081111561512e576000838152600860205260409020600301546150d690829063ffffffff613a4416565b600084815260086020908152604080832060030193909355600981528282208583529052206002015461511090829063ffffffff613a4416565b60008481526009602090815260408083208684529091529020600201555b505050565b6000806002615143846001613a44565b81151561514c57fe5b0490508291505b81811015613d94578091506002615175828581151561516e57fe5b0483613a44565b81151561517e57fe5b049050615153565b6000613a9f82836144b5565b6000848152600b6020526040812060050154819081906151c086670de0b6b3a764000063ffffffff6144b516565b8115156151c957fe5b6000898152600b602052604090206008015491900492506151f190839063ffffffff613a4416565b6000888152600b6020526040902060080155670de0b6b3a764000061521c838663ffffffff6144b516565b81151561522557fe5b60008881526009602090815260408083208c8452825280832060020154600b9092529091206008015492909104925061527891613a09908490670de0b6b3a7640000906146a1908a63ffffffff6144b516565b60008781526009602090815260408083208b8452825280832060020193909355600b905220600501546152c090670de0b6b3a76400009061371e90859063ffffffff6144b516565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a0316815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815250905600000000000000000000000000d60d353610d9a5ca478769d371b53cefaa7b6e4c706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a723058206f8b39665294e7af61cb1bd73786a82218602d95def26221d12908a9b2a63c120029

Deployed Bytecode

0x6080604052600436106101b35763ffffffff60e060020a600035041663018a25e8811461035257806306fdde0314610379578063079ce327146104035780630f15f4c01461042357806310f01eba1461043857806311a09ae71461045957806324c33d331461046e5780632660316e146104e55780632ce21999146105145780632e19ebdc14610545578063349cdcac1461055d5780633ccfd60b1461057b5780633ddd46981461059057806349cc635d146105ec5780635893d48114610616578063624ae5c0146106315780636306643414610646578063685ffd831461067c578063747dff42146106cf57806382bfc7391461075a5780638f38f309146107815780638f7140ea1461078f578063921dec21146107aa57806395d89b41146107fd57806398a0871d14610812578063a2bccae914610829578063a65b37a11461086a578063b483c05414610878578063c519500e14610899578063c7e284b8146108b1578063ce89c80c146108c6578063cf808000146108e1578063d53b2679146108f9578063d87574e01461090e578063de7874f314610923578063ed78cf4a1461097d578063ee0b5d8b14610985575b6101bb6152cb565b600f5460009060ff161515600114610220576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015610267576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca008110156102bf576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561030f576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b610318856109de565b3360009081526006602081815260408084205480855260089092529092200154919650945061034b908590600288610c31565b5050505050005b34801561035e57600080fd5b50610367610e6b565b60408051918252519081900360200190f35b34801561038557600080fd5b5061038e610f30565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103c85781810151838201526020016103b0565b50505050905090810190601f1680156103f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561040f57600080fd5b50610421600435602435604435610f67565b005b34801561042f57600080fd5b50610421611174565b34801561044457600080fd5b50610367600160a060020a036004351661138c565b34801561046557600080fd5b5061036761139e565b34801561047a57600080fd5b506104866004356113a4565b604080519c8d5260208d019b909b528b8b019990995296151560608b015260808a019590955260a089019390935260c088019190915260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b3480156104f157600080fd5b50610500600435602435611407565b604080519115158252519081900360200190f35b34801561052057600080fd5b5061052c600435611427565b6040805192835260208301919091528051918290030190f35b34801561055157600080fd5b50610367600435611440565b34801561056957600080fd5b50610421600435602435604435611452565b34801561058757600080fd5b50610421611639565b6040805160206004803580820135601f810184900484028501840190955284845261042194369492936024939284019190819084018382808284375094975050600160a060020a038535169550505050506020013515156119bb565b3480156105f857600080fd5b50610421600435600160a060020a0360243516604435606435611b58565b34801561062257600080fd5b50610367600435602435611d23565b34801561063d57600080fd5b50610367611d40565b34801561065257600080fd5b5061065e600435611d46565b60408051938452602084019290925282820152519081900360600190f35b6040805160206004803580820135601f8101849004840285018401909552848452610421943694929360249392840191908190840183828082843750949750508435955050505050602001351515611eec565b3480156106db57600080fd5b506106e4611fb0565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b34801561076657600080fd5b50610421600160a060020a03600435166024356044356121ae565b6104216004356024356123a9565b34801561079b57600080fd5b50610421600435602435612591565b6040805160206004803580820135601f8101849004840285018401909552848452610421943694929360249392840191908190840183828082843750949750508435955050505050602001351515612655565b34801561080957600080fd5b5061038e612719565b610421600160a060020a0360043516602435612739565b34801561083557600080fd5b5061084460043560243561294f565b604080519485526020850193909352838301919091526060830152519081900360800190f35b610421600435602435612981565b34801561088457600080fd5b50610421600160a060020a0360043516612b7f565b3480156108a557600080fd5b5061052c600435612ce7565b3480156108bd57600080fd5b50610367612d00565b3480156108d257600080fd5b50610367600435602435612d8f565b3480156108ed57600080fd5b50610367600435612e37565b34801561090557600080fd5b50610500612ee9565b34801561091a57600080fd5b50610367612ef2565b34801561092f57600080fd5b5061093b600435612ef8565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b610421612f3f565b34801561099157600080fd5b506109a6600160a060020a0360043516612fbc565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6109e66152cb565b336000908152600660205260408120549080821515610c28576040805160e060020a63e56556a902815233600482015290516000805160206153258339815191529163e56556a99160248083019260209291908290030181600087803b158015610a4f57600080fd5b505af1158015610a63573d6000803e3d6000fd5b505050506040513d6020811015610a7957600080fd5b50516040805160e260020a6320b8decb028152600481018390529051919450600080516020615325833981519152916382e37b2c916024808201926020929091908290030181600087803b158015610ad057600080fd5b505af1158015610ae4573d6000803e3d6000fd5b505050506040513d6020811015610afa57600080fd5b50516040805160e060020a63e3c08adf0281526004810186905290519193506000805160206153258339815191529163e3c08adf916024808201926020929091908290030181600087803b158015610b5157600080fd5b505af1158015610b65573d6000803e3d6000fd5b505050506040513d6020811015610b7b57600080fd5b5051336000818152600660209081526040808320889055878352600890915290208054600160a060020a031916909117905590508115610bf7576000828152600760209081526040808320869055858352600882528083206001908101869055600a8352818420868552909252909120805460ff191690911790555b8015801590610c065750828114155b15610c205760008381526008602052604090206006018190555b845160010185525b50929392505050565b6005546002546000828152600b602052604090206004015442910181118015610c9c57506000828152600b602052604090206002015481111580610c9c57506000828152600b602052604090206002015481118015610c9c57506000828152600b6020526040902054155b15610cb457610caf828734888888613091565b610e63565b6000828152600b602052604090206002015481118015610ce657506000828152600b602052604090206003015460ff16155b15610e2e576000828152600b60205260409020600301805460ff19166001179055610d10836135e2565b925080670de0b6b3a764000002836000015101836000018181525050858360200151018360200181815250507fa7801a70b37e729a11492aad44fd3dba89b4149f0609dc0f6837bf9e57e2671a3360086000898152602001908152602001600020600101543486600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a15b600086815260086020526040902060030154610e50903463ffffffff613a4416565b6000878152600860205260409020600301555b505050505050565b6005546002546000828152600b602052604081206004015490929142910181118015610ed957506000828152600b602052604090206002015481111580610ed957506000828152600b602052604090206002015481118015610ed957506000828152600b6020526040902054155b15610f21576000828152600b6020526040902060050154610f1a90670de0b6b3a764000090610f0e908263ffffffff613a4416565b9063ffffffff613aa516565b9250610f2b565b6544364c5bb00092505b505090565b60408051808201909152601481527f466f4d6f3344204c6f6e67204f6666696369616c000000000000000000000000602082015281565b610f6f6152cb565b600f54600090819060ff161515600114610fd6576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b801561101d576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b85633b9aca00811015611075576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156110c5576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b3360009081526006602052604090205494508815806110f4575060008581526008602052604090206001015489145b15611112576000858152600860205260409020600601549350611151565b60008981526007602090815260408083205488845260089092529091206006015490945084146111515760008581526008602052604090206006018490555b61115a88613ad2565b975061116985858a8a8a613af7565b505050505050505050565b7318e90fc6f70344f53ebd4f6070bf6aa23e2d748c3314806111a95750738b4da1827932d71759687f925d17f81fc94e3a9d33145b806111c75750738e0d985f3ec1857bec39b76aaabdea6b31b67d5333145b806111e55750737ac74fcc1a71b106f12c55ee8f802c9f672ce40c33145b80611203575073f39e044e1ab204460e06e87c6dca2c6319fc69e333145b1515611259576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600054600160a060020a031615156112bb576040805160e560020a62461bcd02815260206004820152601f60248201527f6d757374206c696e6b20746f206f7468657220466f4d6f334420666972737400604482015290519081900360640190fd5b600f5460ff1615611316576040805160e560020a62461bcd02815260206004820152601860248201527f666f6d6f336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b600f805460ff1916600190811790915560058190556002548154600092909252600b602052429091019081037f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d355610e10017f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d155565b60066020526000908152604090205481565b60045481565b600b60208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a0154600a8b01549a909b0154989a9799969860ff90961697949693959294919390928c565b600a60209081526000928352604080842090915290825290205460ff1681565b600d602052600090815260409020805460019091015482565b60076020526000908152604090205481565b61145a6152cb565b600f5460009060ff1615156001146114bf576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015611506576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b84633b9aca0081101561155e576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156115ae576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b3360009081526006602052604090205493508715806115cc57508388145b156115ea576000848152600860205260409020600601549750611617565b60008481526008602052604090206006015488146116175760008481526008602052604090206006018890555b61162087613ad2565b965061162f8489898989613af7565b5050505050505050565b6000806000806116476152cb565b600f5460ff1615156001146116a9576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b80156116f0576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b60055433600090815260066020908152604080832054848452600b9092529091206002015491985042975095508611801561173d57506000878152600b602052604090206003015460ff16155b801561175657506000878152600b602052604090205415155b156118fc576000878152600b60205260409020600301805460ff19166001179055611780836135e2565b925061178b85613d13565b935060008411156117dc57600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f193505050501580156117da573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc3360086000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a16119b2565b61190585613d13565b9350600084111561195657600085815260086020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611954573d6000803e3d6000fd5b505b6000858152600860209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b6000808080808033803b8015611a09576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b611a128b613d9a565b6040805160e060020a63aa4d490b028152336004820181905260248201849052600160a060020a038e1660448301528c151560648301528251939b5099503498506000805160206153258339815191529263aa4d490b928a926084808201939182900301818588803b158015611a8757600080fd5b505af1158015611a9b573d6000803e3d6000fd5b50505050506040513d6040811015611ab257600080fd5b508051602091820151600160a060020a03808b1660008181526006865260408082205485835260088852918190208054600190910154825188151581529889018790529416878201526060870193909352608086018c90524260a0870152915193995091975095508a92909186917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a45050505050505050505050565b3360008051602061532583398151915214611bd0576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e604482015260c960020a66103436b6b6971702606482015290519081900360840190fd5b600160a060020a0383166000908152600660205260409020548414611c0b57600160a060020a03831660009081526006602052604090208490555b6000828152600760205260409020548414611c325760008281526007602052604090208490555b600084815260086020526040902054600160a060020a03848116911614611c7b5760008481526008602052604090208054600160a060020a031916600160a060020a0385161790555b6000848152600860205260409020600101548214611ca85760008481526008602052604090206001018290555b6000848152600860205260409020600601548114611cd55760008481526008602052604090206006018190555b6000848152600a6020908152604080832085845290915290205460ff161515611d1d576000848152600a602090815260408083208584529091529020805460ff191660011790555b50505050565b600c60209081526000928352604080842090915290825290205481565b60055481565b6005546000818152600b60205260408120600201549091829182919042118015611d8257506000818152600b602052604090206003015460ff16155b8015611d9b57506000818152600b602052604090205415155b15611ebc576000818152600b6020526040902054851415611e80576000818152600b6020526040902060070154611e0990606490611de090603063ffffffff6144b516565b811515611de957fe5b60008881526008602052604090206002015491900463ffffffff613a4416565b6000868152600960209081526040808320858452909152902060020154611e6290611e4490611e38898661452c565b9063ffffffff6145fa16565b6000888152600860205260409020600301549063ffffffff613a4416565b60008781526008602052604090206004015491955093509150611ee4565b600085815260086020908152604080832060029081015460098452828520868652909352922090910154611e6290611e4490611e38898661452c565b60008581526008602052604090206002810154600590910154611e6290611e4490889061465a565b509193909250565b6000808080808033803b8015611f3a576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b611f438b613d9a565b6040805160e060020a63745ea0c1028152336004820181905260248201849052604482018e90528c151560648301528251939b5099503498506000805160206153258339815191529263745ea0c1928a926084808201939182900301818588803b158015611a8757600080fd5b60008060008060008060008060008060008060008060006005549050600b60008281526020019081526020016000206009015481600b600084815260200190815260200160002060050154600b600085815260200190815260200160002060020154600b600086815260200190815260200160002060040154600b600087815260200190815260200160002060070154600b600088815260200190815260200160002060000154600a02600b6000898152602001908152602001600020600101540160086000600b60008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660086000600b60008c815260200190815260200160002060000154815260200190815260200160002060010154600c60008b8152602001908152602001600020600080815260200190815260200160002054600c60008c815260200190815260200160002060006001815260200190815260200160002054600c60008d815260200190815260200160002060006002815260200190815260200160002054600c60008e8152602001908152602001600020600060038152602001908152602001600020546003546103e802600454019e509e509e509e509e509e509e509e509e509e509e509e509e509e5050909192939495969798999a9b9c9d565b6121b66152cb565b600f54600090819060ff16151560011461221d576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015612264576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b85633b9aca008110156122bc576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561230c576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b336000908152600660205260409020549450600160a060020a038916158061233c5750600160a060020a03891633145b1561235a576000858152600860205260409020600601549350611151565b600160a060020a03891660009081526006602081815260408084205489855260089092529092200154909450841461115157600085815260086020526040902060060184905561115a88613ad2565b6123b16152cb565b600f5460009060ff161515600114612416576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b801561245d576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca008110156124b5576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612505576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b61250e856109de565b33600090815260066020526040902054909550935086158061252f57508387145b1561254d57600084815260086020526040902060060154965061257a565b600084815260086020526040902060060154871461257a5760008481526008602052604090206006018790555b61258386613ad2565b95506119b284888888610c31565b3360008051602061532583398151915214612609576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e604482015260c960020a66103436b6b6971702606482015290519081900360840190fd5b6000828152600a6020908152604080832084845290915290205460ff161515612651576000828152600a602090815260408083208484529091529020805460ff191660011790555b5050565b6000808080808033803b80156126a3576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b6126ac8b613d9a565b6040805160e060020a63c0942dfd028152336004820181905260248201849052604482018e90528c151560648301528251939b5099503498506000805160206153258339815191529263c0942dfd928a926084808201939182900301818588803b158015611a8757600080fd5b604080518082019091526003815260ea60020a62118cd102602082015281565b6127416152cb565b600f54600090819060ff1615156001146127a8576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b80156127ef576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca00811015612847576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612897576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b6128a0866109de565b336000908152600660205260409020549096509450600160a060020a03881615806128d35750600160a060020a03881633145b156128f1576000858152600860205260409020600601549350612938565b600160a060020a0388166000908152600660208181526040808420548985526008909252909220015490945084146129385760008581526008602052604090206006018490555b61294187613ad2565b965061162f85858989610c31565b600960209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b6129896152cb565b600f54600090819060ff1615156001146129f0576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615365833981519152604482015260ba60020a681b88191a5cd8dbdc9902606482015290519081900360840190fd5b33803b8015612a37576040805160e560020a62461bcd02815260206004820152601160248201526000805160206153a5833981519152604482015290519081900360640190fd5b34633b9aca00811015612a8f576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615345833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612adf576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615385833981519152604482015290519081900360640190fd5b612ae8866109de565b336000908152600660205260409020549096509450871580612b1a575060008581526008602052604090206001015488145b15612b38576000858152600860205260409020600601549350612938565b600088815260076020908152604080832054888452600890925290912060060154909450841461293857600085815260086020526040902060060184905561294187613ad2565b7318e90fc6f70344f53ebd4f6070bf6aa23e2d748c331480612bb45750738b4da1827932d71759687f925d17f81fc94e3a9d33145b80612bd25750738e0d985f3ec1857bec39b76aaabdea6b31b67d5333145b80612bf05750737ac74fcc1a71b106f12c55ee8f802c9f672ce40c33145b80612c0e575073f39e044e1ab204460e06e87c6dca2c6319fc69e333145b1515612c64576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600054600160a060020a031615612cc5576040805160e560020a62461bcd02815260206004820152601f60248201527f73696c6c79206465762c20796f7520616c726561647920646964207468617400604482015290519081900360640190fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b600e602052600090815260409020805460019091015482565b6005546000818152600b60205260408120600201549091904290811015612d86576002546000838152600b602052604090206004015401811115612d60576000828152600b6020526040902060020154610f1a908263ffffffff6145fa16565b6002546000838152600b6020526040902060040154610f1a91018263ffffffff6145fa16565b60009250610f2b565b6002546000838152600b6020526040812060040154909142910181118015612df957506000848152600b602052604090206002015481111580612df957506000848152600b602052604090206002015481118015612df957506000848152600b6020526040902054155b15612e27576000848152600b6020526040902060060154612e20908463ffffffff6146b716565b9150612e30565b612e20836146d8565b5092915050565b6005546002546000828152600b602052604081206004015490929142910181118015612ea557506000828152600b602052604090206002015481111580612ea557506000828152600b602052604090206002015481118015612ea557506000828152600b6020526040902054155b15612ed9576000828152600b6020526040902060050154612ed2908590610f0e908263ffffffff613a4416565b9250612ee2565b612ed284614750565b5050919050565b600f5460ff1681565b60035481565b6008602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b6005546001016000818152600b6020526040902060070154612f67903463ffffffff613a4416565b6000828152600b6020908152604091829020600701929092558051838152349281019290925280517f74b1d2f771e0eff1b2c36c38499febdbea80fe4013bdace4fc4b653322c2895c9281900390910190a150565b6000806000806000806000806000600554915050600160a060020a0389166000908152600660209081526040808320548084526008808452828520600180820154600987528588208989528752948720015495839052935260028301546005909301549093849390916130529061303490869061465a565b6000878152600860205260409020600301549063ffffffff613a4416565b600095865260086020908152604080882060040154600983528189209989529890915290952054939e929d50909b509950919750919550909350915050565b600085815260096020908152604080832089845290915281206001015481908190819015156130c7576130c489866147bd565b94505b60008a8152600b602052604090206006015468056bc75e2d63100000118015613121575060008981526009602090815260408083208d8452909152902054670de0b6b3a76400009061311f908a63ffffffff613a4416565b115b156131a85760008981526009602090815260408083208d845290915290205461315990670de0b6b3a76400009063ffffffff6145fa16565b935061316b888563ffffffff6145fa16565b60008a815260086020526040902060030154909350613190908463ffffffff613a4416565b60008a81526008602052604090206003015592965086925b633b9aca008811156135d65760008a8152600b60205260409020600601546131d6908963ffffffff6146b716565b9150670de0b6b3a7640000821061324d576131f1828b61481c565b60008a8152600b602052604090205489146132185760008a8152600b602052604090208990555b60008a8152600b602052604090206001015486146132455760008a8152600b602052604090206001018690555b845160640185525b67016345785d8a0000881061348d5760048054600101905561326d6148fa565b15156001141561348d57678ac7230489e80000881061330e5760035460649061329d90604b63ffffffff6144b516565b8115156132a657fe5b60008b81526008602052604090206002015491900491506132cd908263ffffffff613a4416565b60008a8152600860205260409020600201556003546132f2908263ffffffff6145fa16565b60035584516d0eca8847c4129106ce8300000000018552613462565b670de0b6b3a7640000881015801561332d5750678ac7230489e8000088105b156133ba5760035460649061334990603263ffffffff6144b516565b81151561335257fe5b60008b8152600860205260409020600201549190049150613379908263ffffffff613a4416565b60008a81526008602052604090206002015560035461339e908263ffffffff6145fa16565b60035584516d09dc5ada82b70b59df0200000000018552613462565b67016345785d8a000088101580156133d95750670de0b6b3a764000088105b15613462576003546064906133f590601963ffffffff6144b516565b8115156133fe57fe5b60008b8152600860205260409020600201549190049150613425908263ffffffff613a4416565b60008a81526008602052604090206002015560035461344a908263ffffffff6145fa16565b60035584516d0eca8847c4129106ce83000000000185525b84516d314dc6448d9338c15b0a000000008202016c7e37be2022c0914b268000000001855260006004555b60045485516103e890910201855260008981526009602090815260408083208d84529091529020600101546134c990839063ffffffff613a4416565b60008a81526009602090815260408083208e845290915290206001810191909155546134f6908990613a44565b60008a81526009602090815260408083208e8452825280832093909355600b9052206005015461352d90839063ffffffff613a4416565b60008b8152600b6020526040902060058101919091556006015461355890899063ffffffff613a4416565b60008b8152600b6020908152604080832060060193909355600c81528282208983529052205461358f90899063ffffffff613a4416565b60008b8152600c602090815260408083208a84529091529020556135b78a8a8a8a8a8a614b11565b94506135c78a8a8a89868a614dc0565b94506135d689878a8589614f2e565b50505050505050505050565b6135ea6152cb565b6005546000818152600b60205260408120805460018201546007909201549092808080808080606461362389603063ffffffff6144b516565b81151561362c57fe5b04965060328860008b8152600e6020526040902054919004965060649061365a908a9063ffffffff6144b516565b81151561366357fe5b60008b8152600e6020526040902060010154919004955060649061368e908a9063ffffffff6144b516565b81151561369757fe5b0493506136b284611e3887818a818e8e63ffffffff6145fa16565b60008c8152600b60205260409020600501549093506136df86670de0b6b3a764000063ffffffff6144b516565b8115156136e857fe5b60008d8152600b6020526040902060050154919004925061373690670de0b6b3a76400009061371e90859063ffffffff6144b516565b81151561372757fe5b8791900463ffffffff6145fa16565b9050600081111561376657613751858263ffffffff6145fa16565b9450613763838263ffffffff613a4416565b92505b60008a81526008602052604090206002015461378990889063ffffffff613a4416565b60008b81526008602052604080822060020192909255815160b860020a686465706f7369742829028152825190819003600901812063ffffffff60e060020a918290049081169091028252925173dd4950f977ee28d2c132f1353d1595035db444ee93928a9260048082019391829003018185885af1935050505015156138215761381a848763ffffffff613a4416565b9350600095505b60008b8152600b602052604090206008015461384490839063ffffffff613a4416565b60008c8152600b60205260408120600801919091558411156138cc5773c7029ed9eba97a096e72607f4340c34049c7af48600160a060020a031663d0e30db0856040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156138b257600080fd5b505af11580156138c6573d6000803e3d6000fd5b50505050505b600b60008c815260200190815260200160002060020154620f4240028d60000151018d60000181815250508867016345785d8a0000028a6a52b7d2dcc80cd2e4000000028e6020015101018d6020018181525050600860008b815260200190815260200160002060000160009054906101000a9004600160a060020a03168d60400190600160a060020a03169081600160a060020a031681525050600860008b8152602001908152602001600020600101548d606001906000191690816000191681525050868d6080018181525050848d60e0018181525050838d60c0018181525050828d60a00181815250506005600081548092919060010191905055508a806001019b505042600b60008d815260200190815260200160002060040181905550613a15600254613a09610e1042613a4490919063ffffffff16565b9063ffffffff613a4416565b60008c8152600b6020526040902060028101919091556007018390558c9b505050505050505050505050919050565b81810182811015613a9f576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b6000613acb613ac2613abd858563ffffffff6145fa16565b614750565b611e3885614750565b9392505050565b600080821080613ae25750600382115b15613aef57506002613af2565b50805b919050565b6005546002546000828152600b602052604090206004015442910181118015613b6257506000828152600b602052604090206002015481111580613b6257506000828152600b602052604090206002015481118015613b6257506000828152600b6020526040902054155b15613b9957613b7484611e3889613d13565b600088815260086020526040902060030155613b94828886898988613091565b6119b2565b6000828152600b602052604090206002015481118015613bcb57506000828152600b602052604090206003015460ff16155b156119b2576000828152600b60205260409020600301805460ff19166001179055613bf5836135e2565b925080670de0b6b3a764000002836000015101836000018181525050868360200151018360200181815250507f88261ac70d02d5ea73e54fa6da17043c974de1021109573ec1f6f57111c823dd33600860008a815260200190815260200160002060010154856000015186602001518760400151886060015189608001518a60a001518b60c001518c60e00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019a505050505050505050505060405180910390a150505050505050565b6000818152600860205260408120600501548190613d3290849061509c565b600083815260086020526040902060048101546003820154600290920154613d6492613a09919063ffffffff613a4416565b90506000811115613d905760008381526008602052604081206002810182905560038101829055600401555b8091505b50919050565b8051600090829082808060208411801590613db55750600084115b1515613e31576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b846000815181101515613e4057fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015613ea757508460018503815181101515613e7f57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613f0e576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e64207769746820604482015260d860020a64737061636502606482015290519081900360840190fd5b846000815181101515613f1d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a02141561406057846001815181101515613f5757fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515613fd4576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b846001815181101515613fe357fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515614060576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b8382101561444d57845160fe60020a9086908490811061408157fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156140dc5750845160f860020a605b02908690849081106140bd57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b156141495784828151811015156140ef57fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a02858381518110151561412057fe5b906020010190600160f860020a031916908160001a90535082151561414457600192505b614442565b848281518110151561415757fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214806141f55750845160fd60020a6003029086908490811061419a57fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156141f55750845160f860020a607b02908690849081106141d657fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b8061426d5750845160f860020a602f029086908490811061421257fe5b90602001015160f860020a900460f860020a02600160f860020a03191611801561426d5750845160f960020a601d029086908490811061424e57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15156142d1576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c6964206368617261637465604482015260f060020a61727302606482015290519081900360840190fd5b84828151811015156142df57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214156143be57848260010181518110151561431b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a02141515156143be576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b821580156144385750845160fc60020a600302908690849081106143de57fe5b90602001015160f860020a900460f860020a02600160f860020a03191610806144385750845160f860020a6039029086908490811061441957fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b1561444257600192505b600190910190614065565b6001831515146144a7576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b60008215156144c657506000613a9f565b508181028183828115156144d657fe5b0414613a9f576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b60008281526009602090815260408083208484528252808320600190810154600b8085528386206005810154938101548752600e8652938620548787529452600790920154670de0b6b3a7640000936145e993926145dd9290916145b491879160649161459e9163ffffffff6144b516565b8115156145a757fe5b049063ffffffff6144b516565b8115156145bd57fe5b6000888152600b602052604090206008015491900463ffffffff613a4416565b9063ffffffff6144b516565b8115156145f257fe5b049392505050565b600082821115614654576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b600082815260096020908152604080832084845282528083206002810154600190910154600b90935290832060080154613acb92670de0b6b3a7640000916146a1916144b5565b8115156146aa57fe5b049063ffffffff6145fa16565b6000613acb6146c5846146d8565b611e386146d8868663ffffffff613a4416565b60006309502f906147406d03b2a1d15167e7c5699bfde00000611e3861473b7a0dac7055469777a6122ee4310dd6c14410500f2904840000000000613a096b01027e72f1f12813088000006145dd8a670de0b6b3a764000063ffffffff6144b516565b615133565b81151561474957fe5b0492915050565b6000614763670de0b6b3a7640000615186565b614740600261479661478386670de0b6b3a764000063ffffffff6144b516565b65886c8f6730709063ffffffff6144b516565b81151561479f57fe5b04613a096147ac86615186565b6304a817c89063ffffffff6144b516565b6147c56152cb565b600083815260086020526040902060050154156147f9576000838152600860205260409020600501546147f990849061509c565b506005805460009384526008602052604090932001919091558051600a01815290565b6000818152600b60205260408120600201544291908211801561484b57506000838152600b6020526040902054155b1561486f5761486882613a09601e670de0b6b3a7640000886145a7565b905061489c565b6000838152600b602052604090206002015461489990613a09601e670de0b6b3a7640000886145a7565b90505b6148af620151808363ffffffff613a4416565b8110156148cf576000838152600b60205260409020600201819055611d1d565b6148e2620151808363ffffffff613a4416565b6000848152600b602052604090206002015550505050565b600080614a6b43613a0942336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106149755780518252601f199092019160209182019101614956565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120925050508115156149ab57fe5b04613a0945613a0942416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b60208310614a245780518252601f199092019160209182019101614a05565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912092505050811515614a5a57fe5b04613a09424463ffffffff613a4416565b604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b60208310614ab95780518252601f199092019160209182019101614a9a565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060045490945092506103e89150839050046103e80282031015614b085760019150614b0d565b600091505b5090565b614b196152cb565b600080808060328904935073dd4950f977ee28d2c132f1353d1595035db444ee600160a060020a031684604051808060b860020a686465706f7369742829028152506009019050604051809103902060e060020a9004906040518263ffffffff1660e060020a02815260040160006040518083038185885af193505050501515614ba35760009392505b600080546040805160e160020a6376bc67a5028152905160648d049550600160a060020a039092169263ed78cf4a928692600480820193929182900301818588803b158015614bf157600080fd5b505af1158015614c05573d6000803e3d6000fd5b5050505050600a89811515614c1657fe5b049050898814158015614c39575060008881526008602052604090206001015415155b15614cd957600088815260086020526040902060040154614c6190829063ffffffff613a4416565b600089815260086020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101839052426060830152518b918d918b917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a4614cdd565b8092505b6000878152600d6020526040902060010154614d1f90606490614d07908c9063ffffffff6144b516565b811515614d1057fe5b8591900463ffffffff613a4416565b92506000831115614db15773c7029ed9eba97a096e72607f4340c34049c7af48600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b158015614d7c57600080fd5b505af1158015614d90573d6000803e3d6000fd5b50505060c0880151614dab925085915063ffffffff613a4416565b60c08701525b50939998505050505050505050565b614dc86152cb565b6000848152600d6020526040812054819081908190606490614df1908b9063ffffffff6144b516565b811515614dfa57fe5b049350606489049250614e1883600354613a4490919063ffffffff16565b6003556000888152600d6020526040902060010154614e8990614e7c90606490614e49908d9063ffffffff6144b516565b811515614e5257fe5b046064614e668d600e63ffffffff6144b516565b811515614e6f57fe5b049063ffffffff613a4416565b8a9063ffffffff6145fa16565b9850614e9b898563ffffffff6145fa16565b9150614ea98b8b868a615192565b90506000811115614ec757614ec4848263ffffffff6145fa16565b93505b60008b8152600b6020526040902060070154614eed90613a09848463ffffffff613a4416565b60008c8152600b602052604090206007015560e0860151614f1590859063ffffffff613a4416565b60e0870152506101008501525091979650505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600554751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160086000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600354604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a15050505050565b60006150a8838361465a565b9050600081111561512e576000838152600860205260409020600301546150d690829063ffffffff613a4416565b600084815260086020908152604080832060030193909355600981528282208583529052206002015461511090829063ffffffff613a4416565b60008481526009602090815260408083208684529091529020600201555b505050565b6000806002615143846001613a44565b81151561514c57fe5b0490508291505b81811015613d94578091506002615175828581151561516e57fe5b0483613a44565b81151561517e57fe5b049050615153565b6000613a9f82836144b5565b6000848152600b6020526040812060050154819081906151c086670de0b6b3a764000063ffffffff6144b516565b8115156151c957fe5b6000898152600b602052604090206008015491900492506151f190839063ffffffff613a4416565b6000888152600b6020526040902060080155670de0b6b3a764000061521c838663ffffffff6144b516565b81151561522557fe5b60008881526009602090815260408083208c8452825280832060020154600b9092529091206008015492909104925061527891613a09908490670de0b6b3a7640000906146a1908a63ffffffff6144b516565b60008781526009602090815260408083208b8452825280832060020193909355600b905220600501546152c090670de0b6b3a76400009061371e90859063ffffffff6144b516565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a0316815260200160008019168152602001600081526020016000815260200160008152602001600081526020016000815250905600000000000000000000000000d60d353610d9a5ca478769d371b53cefaa7b6e4c706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a723058206f8b39665294e7af61cb1bd73786a82218602d95def26221d12908a9b2a63c120029

Swarm Source

bzzr://6f8b39665294e7af61cb1bd73786a82218602d95def26221d12908a9b2a63c12

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.