Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
15.621652809500741745 ETH
Eth Value
$52,124.34 (@ $3,336.67/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 15,646 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 21020640 | 66 days ago | IN | 0 ETH | 0.00054977 | ||||
Withdraw | 19112394 | 333 days ago | IN | 0 ETH | 0.00155141 | ||||
Withdraw | 19112380 | 333 days ago | IN | 0 ETH | 0.00133098 | ||||
Withdraw | 12626083 | 1293 days ago | IN | 0 ETH | 0.00034176 | ||||
Re Load Xaddr | 8169333 | 1990 days ago | IN | 0 ETH | 0.00035583 | ||||
Buy Xaddr | 6987296 | 2188 days ago | IN | 0.00007875 ETH | 0.00140048 | ||||
Withdraw | 6966711 | 2192 days ago | IN | 0 ETH | 0.00010967 | ||||
Withdraw | 6931937 | 2198 days ago | IN | 0 ETH | 0.00007666 | ||||
Withdraw | 6931664 | 2198 days ago | IN | 0 ETH | 0.00006837 | ||||
Re Load Xaddr | 6704893 | 2235 days ago | IN | 0 ETH | 0.00018097 | ||||
Withdraw | 6704891 | 2235 days ago | IN | 0 ETH | 0.00025024 | ||||
Withdraw | 6691017 | 2237 days ago | IN | 0 ETH | 0.00037536 | ||||
Withdraw | 6677684 | 2240 days ago | IN | 0 ETH | 0.00037536 | ||||
Withdraw | 6640142 | 2246 days ago | IN | 0 ETH | 0.00018768 | ||||
Withdraw | 6596842 | 2253 days ago | IN | 0 ETH | 0.00058867 | ||||
Withdraw | 6582271 | 2255 days ago | IN | 0 ETH | 0.00046198 | ||||
Buy Xaddr | 6508033 | 2267 days ago | IN | 0.000225 ETH | 0.00087174 | ||||
Withdraw | 6507310 | 2267 days ago | IN | 0 ETH | 0.00037536 | ||||
Withdraw | 6505935 | 2268 days ago | IN | 0 ETH | 0.00012399 | ||||
Re Load Xname | 6505730 | 2268 days ago | IN | 0 ETH | 0.00031128 | ||||
Buy Xaddr | 6495728 | 2269 days ago | IN | 0.00007875 ETH | 0.0008671 | ||||
Withdraw | 6493352 | 2270 days ago | IN | 0 ETH | 0.00019024 | ||||
Withdraw | 6484714 | 2271 days ago | IN | 0 ETH | 0.00018768 | ||||
Withdraw | 6484611 | 2271 days ago | IN | 0 ETH | 0.00025024 | ||||
Withdraw | 6484259 | 2271 days ago | IN | 0 ETH | 0.00028614 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21020640 | 66 days ago | 0.05864992 ETH | ||||
19112394 | 333 days ago | 0.1907394 ETH | ||||
19112380 | 333 days ago | 0.10472541 ETH | ||||
12626083 | 1293 days ago | 0.07636071 ETH | ||||
8169333 | 1990 days ago | 0.00000062 ETH | ||||
6987296 | 2188 days ago | 0.00000236 ETH | ||||
6966711 | 2192 days ago | 0.00488481 ETH | ||||
6931937 | 2198 days ago | 0.07108959 ETH | ||||
6931664 | 2198 days ago | 0.05874734 ETH | ||||
6704891 | 2235 days ago | 0.07603871 ETH | ||||
6691017 | 2237 days ago | 0.17807733 ETH | ||||
6677684 | 2240 days ago | 0.31572342 ETH | ||||
6640142 | 2246 days ago | 0.00690377 ETH | ||||
6596842 | 2253 days ago | 0.00691448 ETH | ||||
6596842 | 2253 days ago | 0.00000148 ETH | ||||
6582271 | 2255 days ago | 0.00000148 ETH | ||||
6508033 | 2267 days ago | 0.00000675 ETH | ||||
6507310 | 2267 days ago | 0.00266812 ETH | ||||
6505935 | 2268 days ago | 0.15200959 ETH | ||||
6505730 | 2268 days ago | 0.00000137 ETH | ||||
6495728 | 2269 days ago | 0.00000236 ETH | ||||
6493352 | 2270 days ago | 0.00151198 ETH | ||||
6484714 | 2271 days ago | 0.05913534 ETH | ||||
6484611 | 2271 days ago | 0.04588957 ETH | ||||
6484254 | 2271 days ago | 0.20382773 ETH |
Loading...
Loading
Contract Name:
Fomo
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-08-20 */ pragma solidity ^0.4.24; //============================================================================== // _ _ _ _|_ _ . // (/_\/(/_| | | _\ . //============================================================================== 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 modularShort is F3Devents {} contract Fomo is modularShort { using SafeMath for *; using NameFilter for string; using F3DKeysCalcShort for uint256; PlayerBookInterface constant private PlayerBook = PlayerBookInterface(0x591C66bA5a3429FcAD0Fe11A0F58e56fE36b5A73); //============================================================================== // _ _ _ |`. _ _ _ |_ | _ _ . // (_(_)| |~|~|(_||_|| (_||_)|(/__\ . (game settings) //=================_|=========================================================== address private admin = msg.sender; string constant public name = "Fomo War"; string constant public symbol = "FW"; uint256 private rndGap_ = 1 seconds; // length of ICO phase 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 = Thor // 1 = Captain // 2 = IronMan // 3 = Hulk // Team allocation percentages // (F3D, P3D) + (Pot , Referrals, Community), We are not giving any part to P3D holder. // Referrals / Community rewards are mathematically designed to come from the winner's share of the pot. fees_[0] = F3Ddatasets.TeamFee(32,0); //50% to pot, 15% to aff, 3% to com, 0% to pot swap, 0% to air drop pot fees_[1] = F3Ddatasets.TeamFee(45,0); //37% to pot, 15% to aff, 3% to com, 0% to pot swap, 0% to air drop pot fees_[2] = F3Ddatasets.TeamFee(62,0); //20% to pot, 15% to aff, 3% to com, 0% to pot swap, 0% to air drop pot fees_[3] = F3Ddatasets.TeamFee(47,0); //35% to pot, 15% to aff, 3% to com, 0% to pot swap, 0% to air drop pot // how to split up the final pot based on which team was picked // (F3D, P3D) potSplit_[0] = F3Ddatasets.PotSplit(47,0); //25% to winner, 25% to next round, 3% to com potSplit_[1] = F3Ddatasets.PotSplit(47,0); //25% to winner, 25% to next round, 3% to com potSplit_[2] = F3Ddatasets.PotSplit(62,0); //25% to winner, 10% to next round, 3% to com potSplit_[3] = F3Ddatasets.PotSplit(62,0); //25% to winner, 10% to next round,3% 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, "ouch, ccontract is not ready yet !"); _; } /** * @dev prevents contracts from interacting with fomo3d */ modifier isHuman() { require(msg.sender == tx.origin, "nope, you're not an Human buddy !!"); _; } /** * @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(25)) / 100 ), (plyr_[_pID].gen).add( getPlayerVaultsHelper(_pID, _rID).sub(plyrRnds_[_pID][_rID].mask) ), plyr_[_pID].aff ); // if the 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 < 10000000000000000000000 && plyrRnds_[_pID][_rID].eth.add(_eth) > 100000000000000000000) { uint256 _availableLimit = (100000000000000000000).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; } // 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, _eth, _team, _eventData_); _eventData_ = distributeInternal(_rID, _pID, _eth, _affID, _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(25)) / 100; uint256 _com = (_pot.mul(3)) / 100; 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 awards admin.transfer(_com); // distribute gen portion to key holders round_[_rID].mask = _ppt.add(round_[_rID].mask); // 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 _eth, uint256 _team, F3Ddatasets.EventReturns memory _eventData_) private returns(F3Ddatasets.EventReturns) { // // pay 3% out to community rewards uint256 _com = (_eth.mul(3)) / 100; uint256 _p3d; if (!address(admin).call.value(_com)()) { _p3d = _com; _com = 0; } // pay p3d _p3d = _p3d.add((_eth.mul(fees_[_team].p3d)) / (100)); if (_p3d > 0) { round_[_rID].pot = round_[_rID].pot.add(_p3d); // set 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 _affID, uint256 _team, uint256 _keys, F3Ddatasets.EventReturns memory _eventData_) private returns(F3Ddatasets.EventReturns) { // calculate gen share uint256 _gen = (_eth.mul(fees_[_team].gen)) / 100; // distribute share to affiliate 15% uint256 _aff = (_eth.mul(15)) / 100; // update eth balance (eth = eth - (com share + pot swap share + aff share)) _eth = _eth.sub(((_eth.mul(18)) / 100).add((_eth.mul(fees_[_team].p3d)) / 100)); // calculate pot uint256 _pot = _eth.sub(_gen); // 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 { _gen = _gen.add(_aff); } // 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 and 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 admin just can activate require(msg.sender == admin, "only admin can activate"); // can only be ran once require(activated_ == false, "FOMO Free already activated"); // activate the contract activated_ = true; // let's start the first round rID_ = 1; round_[1].strt = now - rndGap_; round_[1].end = now + rndInit_ ; } } //============================================================================== // __|_ _ __|_ _ . // _\ | | |_|(_ | _\ . //============================================================================== 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 F3DKeysCalcShort { 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 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); } 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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":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":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"}]
Contract Creation Code
608060405260008054600160a060020a0319163317815560018055600355600e805460ff1916905534801561003357600080fd5b5060408051808201825260208082526000818301818152818052600c80845293517f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e855517f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e95583518085018552602d8152808301828152600180845285855291517fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c55517fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5d5584518086018652603e808252818501848152600280865287875292517f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd72055517f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd7215586518088018852602f808252818701868152600380885298885291517fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd75590517fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd85587518089018952818152808701868152868052600d80895291517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ee55517f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ef558851808a018a5291825281870186815294865280875290517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c55592517ffd54ff1ed53f34a900b24c5ba64f85761163b5d82d98a47b9bd80e45466993c65586518088018852818152808601858152928552838652517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc2495590517f10a81eed9d63d16face5e76357905348e6253d3394086026bb2bf2145d7cc24a558551808701909652855284830182815293909152905290517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e255517f26b4a10d0f0b04925c23bd4480ee147c916e5e87a7d68206a533dad160ac81e355614d4e806103426000396000f3006080604052600436106101b65763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663018a25e8811461035a57806306fdde0314610381578063079ce3271461040b5780630f15f4c01461042b57806310f01eba1461044057806311a09ae71461046157806324c33d33146104765780632660316e146104ed5780632ce219991461051c5780632e19ebdc1461054d578063349cdcac146105655780633ccfd60b146105835780633ddd46981461059857806349cc635d146105f45780635893d4811461061e578063624ae5c014610639578063630664341461064e578063685ffd8314610684578063747dff42146106d757806382bfc739146107625780638f38f309146107895780638f7140ea14610797578063921dec21146107b257806395d89b411461080557806398a0871d1461081a578063a2bccae914610831578063a65b37a114610872578063c519500e14610880578063c7e284b814610898578063ce89c80c146108ad578063cf808000146108c8578063d53b2679146108e0578063d87574e0146108f5578063de7874f31461090a578063ee0b5d8b14610964575b6101be614c49565b600e5460009060ff16151560011461021c576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b33321461026f576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca008110156102c7576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610317576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b610320836109bd565b336000908152600560209081526040808320548084526007909252909120600601549194509250610355908390600286610c71565b505050005b34801561036657600080fd5b5061036f610eae565b60408051918252519081900360200190f35b34801561038d57600080fd5b50610396610f71565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d05781810151838201526020016103b8565b50505050905090810190601f1680156103fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041757600080fd5b50610429600435602435604435610fa8565b005b34801561043757600080fd5b506104296111b6565b34801561044c57600080fd5b5061036f600160a060020a03600435166112e3565b34801561046d57600080fd5b5061036f6112f5565b34801561048257600080fd5b5061048e6004356112fb565b604080519c8d5260208d019b909b528b8b019990995296151560608b015260808a019590955260a089019390935260c088019190915260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b3480156104f957600080fd5b5061050860043560243561135e565b604080519115158252519081900360200190f35b34801561052857600080fd5b5061053460043561137e565b6040805192835260208301919091528051918290030190f35b34801561055957600080fd5b5061036f600435611397565b34801561057157600080fd5b506104296004356024356044356113a9565b34801561058f57600080fd5b5061042961158b565b6040805160206004803580820135601f810184900484028501840190955284845261042994369492936024939284019190819084018382808284375094975050600160a060020a03853516955050505050602001351515611910565b34801561060057600080fd5b50610429600435600160a060020a0360243516604435606435611ad3565b34801561062a57600080fd5b5061036f600435602435611cc4565b34801561064557600080fd5b5061036f611ce1565b34801561065a57600080fd5b50610666600435611ce7565b60408051938452602084019290925282820152519081900360600190f35b6040805160206004803580820135601f8101849004840285018401909552848452610429943694929360249392840191908190840183828082843750949750508435955050505050602001351515611e8d565b3480156106e357600080fd5b506106ec611f79565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b34801561076e57600080fd5b50610429600160a060020a0360043516602435604435612177565b610429600435602435612379565b3480156107a357600080fd5b50610429600435602435612566565b6040805160206004803580820135601f8101849004840285018401909552848452610429943694929360249392840191908190840183828082843750949750508435955050505050602001351515612643565b34801561081157600080fd5b5061039661272f565b610429600160a060020a0360043516602435612766565b34801561083d57600080fd5b5061084c600435602435612983565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6104296004356024356129b5565b34801561088c57600080fd5b50610534600435612bb6565b3480156108a457600080fd5b5061036f612bcf565b3480156108b957600080fd5b5061036f600435602435612c5e565b3480156108d457600080fd5b5061036f600435612d06565b3480156108ec57600080fd5b50610508612db6565b34801561090157600080fd5b5061036f612dbf565b34801561091657600080fd5b50610922600435612dc5565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561097057600080fd5b50610985600160a060020a0360043516612e0c565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6109c5614c49565b336000908152600560205260408120549080821515610c6857604080517fe56556a9000000000000000000000000000000000000000000000000000000008152336004820152905173591c66ba5a3429fcad0fe11a0f58e56fe36b5a739163e56556a99160248083019260209291908290030181600087803b158015610a4a57600080fd5b505af1158015610a5e573d6000803e3d6000fd5b505050506040513d6020811015610a7457600080fd5b5051604080517f82e37b2c00000000000000000000000000000000000000000000000000000000815260048101839052905191945073591c66ba5a3429fcad0fe11a0f58e56fe36b5a73916382e37b2c916024808201926020929091908290030181600087803b158015610ae757600080fd5b505af1158015610afb573d6000803e3d6000fd5b505050506040513d6020811015610b1157600080fd5b5051604080517fe3c08adf00000000000000000000000000000000000000000000000000000000815260048101869052905191935073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739163e3c08adf916024808201926020929091908290030181600087803b158015610b8457600080fd5b505af1158015610b98573d6000803e3d6000fd5b505050506040513d6020811015610bae57600080fd5b505133600081815260056020908152604080832088905587835260079091529020805473ffffffffffffffffffffffffffffffffffffffff1916909117905590508115610c3757600082815260066020908152604080832086905585835260078252808320600190810186905560098352818420868552909252909120805460ff191690911790555b8015801590610c465750828114155b15610c605760008381526007602052604090206006018190555b845160010185525b50929392505050565b600480546001546000828152600a6020526040902090920154909142910181118015610cdf57506000828152600a602052604090206002015481111580610cdf57506000828152600a602052604090206002015481118015610cdf57506000828152600a6020526040902054155b15610cf757610cf2828734888888612ee2565b610ea6565b6000828152600a602052604090206002015481118015610d2957506000828152600a602052604090206003015460ff16155b15610e71576000828152600a60205260409020600301805460ff19166001179055610d53836131f2565b925080670de0b6b3a764000002836000015101836000018181525050858360200151018360200181815250507fa7801a70b37e729a11492aad44fd3dba89b4149f0609dc0f6837bf9e57e2671a3360076000898152602001908152602001600020600101543486600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a15b600086815260076020526040902060030154610e93903463ffffffff6135b516565b6000878152600760205260409020600301555b505050505050565b600480546001546000828152600a602052604081209093015442910181118015610f1a57506000828152600a602052604090206002015481111580610f1a57506000828152600a602052604090206002015481118015610f1a57506000828152600a6020526040902054155b15610f62576000828152600a6020526040902060050154610f5b90670de0b6b3a764000090610f4f908263ffffffff6135b516565b9063ffffffff61361616565b9250610f6c565b6544364c5bb00092505b505090565b60408051808201909152600881527f466f6d6f20576172000000000000000000000000000000000000000000000000602082015281565b610fb0614c49565b600e54600090819060ff161515600114611010576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214611063576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b83633b9aca008110156110bb576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561110b576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b33600090815260056020526040902054925086158061113a575060008381526007602052604090206001015487145b15611158576000838152600760205260409020600601549150611195565b6000878152600660208181526040808420548785526007909252909220015490925082146111955760008381526007602052604090206006018290555b61119e86613643565b95506111ad8383888888613668565b50505050505050565b600054600160a060020a03163314611218576040805160e560020a62461bcd02815260206004820152601760248201527f6f6e6c792061646d696e2063616e206163746976617465000000000000000000604482015290519081900360640190fd5b600e5460ff1615611273576040805160e560020a62461bcd02815260206004820152601b60248201527f464f4d4f204672656520616c7265616479206163746976617465640000000000604482015290519081900360640190fd5b600e805460ff1916600190811790915560048190558054600091909152600a602052429081037fbbc70db1b6c7afd11e79c0fb0051300458f1a3acb8ee9789d9b6b26c61ad9bcb55610e10017fbbc70db1b6c7afd11e79c0fb0051300458f1a3acb8ee9789d9b6b26c61ad9bc955565b60056020526000908152604090205481565b60035481565b600a60208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a01549a8a0154600b909a0154989a9799969860ff90961697949693959294919390928c565b600960209081526000928352604080842090915290825290205460ff1681565b600c602052600090815260409020805460019091015482565b60066020526000908152604090205481565b6113b1614c49565b600e5460009060ff16151560011461140f576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214611462576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b82633b9aca008110156114ba576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561150a576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b33600090815260056020526040902054915085158061152857508186145b15611546576000828152600760205260409020600601549550611573565b60008281526007602052604090206006015486146115735760008281526007602052604090206006018690555b61157c85613643565b9450610ea68287878787613668565b600080600080611599614c49565b600e5460ff1615156001146115f4576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214611647576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b60045433600090815260056020908152604080832054848452600a9092529091206002015491965042955093508411801561169457506000858152600a602052604090206003015460ff16155b80156116ad57506000858152600a602052604090205415155b15611853576000858152600a60205260409020600301805460ff191660011790556116d7816131f2565b90506116e283613887565b9150600082111561173357600083815260076020526040808220549051600160a060020a039091169184156108fc02918591818181858888f19350505050158015611731573d6000803e3d6000fd5b505b83670de0b6b3a764000002816000015101816000018181525050828160200151018160200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc33600760008681526020019081526020016000206001015484846000015185602001518660400151876060015188608001518960a001518a60c001518b60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a1611909565b61185c83613887565b915060008211156118ad57600083815260076020526040808220549051600160a060020a039091169184156108fc02918591818181858888f193505050501580156118ab573d6000803e3d6000fd5b505b6000838152600760209081526040918290206001015482513381529182015280820184905260608101869052905184917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b5050505050565b6000808080808033321461196a576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b6119738961390e565b604080517faa4d490b000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052600160a060020a038c1660448301528a151560648301528251939950975034965073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739263aa4d490b9288926084808201939182900301818588803b158015611a0457600080fd5b505af1158015611a18573d6000803e3d6000fd5b50505050506040513d6040811015611a2f57600080fd5b508051602091820151600160a060020a0380891660008181526005865260408082205485835260078852918190208054600190910154825188151581529889018790529416878201526060870193909352608086018a90524260a0870152915193975091955093508892909184917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a4505050505050505050565b3373591c66ba5a3429fcad0fe11a0f58e56fe36b5a7314611b64576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0383166000908152600560205260409020548414611b9f57600160a060020a03831660009081526005602052604090208490555b6000828152600660205260409020548414611bc65760008281526006602052604090208490555b600084815260076020526040902054600160a060020a03848116911614611c1c576000848152600760205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385161790555b6000848152600760205260409020600101548214611c495760008481526007602052604090206001018290555b6000848152600760205260409020600601548114611c765760008481526007602052604090206006018190555b600084815260096020908152604080832085845290915290205460ff161515611cbe5760008481526009602090815260408083208584529091529020805460ff191660011790555b50505050565b600b60209081526000928352604080842090915290825290205481565b60045481565b6004546000818152600a60205260408120600201549091829182919042118015611d2357506000818152600a602052604090206003015460ff16155b8015611d3c57506000818152600a602052604090205415155b15611e5d576000818152600a6020526040902054851415611e21576000818152600a6020526040902060070154611daa90606490611d8190601963ffffffff61412116565b811515611d8a57fe5b60008881526007602052604090206002015491900463ffffffff6135b516565b6000868152600860209081526040808320858452909152902060020154611e0390611de590611dd98986614198565b9063ffffffff61426616565b6000888152600760205260409020600301549063ffffffff6135b516565b60008781526007602052604090206004015491955093509150611e85565b600085815260076020908152604080832060029081015460088452828520868652909352922090910154611e0390611de590611dd98986614198565b60008581526007602052604090206002810154600590910154611e0390611de59088906142c6565b509193909250565b60008080808080333214611ee7576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b611ef08961390e565b604080517f745ea0c1000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018c90528a151560648301528251939950975034965073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739263745ea0c19288926084808201939182900301818588803b158015611a0457600080fd5b60008060008060008060008060008060008060008060006004549050600a60008281526020019081526020016000206009015481600a600084815260200190815260200160002060050154600a600085815260200190815260200160002060020154600a600086815260200190815260200160002060040154600a600087815260200190815260200160002060070154600a600088815260200190815260200160002060000154600a02600a6000898152602001908152602001600020600101540160076000600a60008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660076000600a60008c815260200190815260200160002060000154815260200190815260200160002060010154600b60008b8152602001908152602001600020600080815260200190815260200160002054600b60008c815260200190815260200160002060006001815260200190815260200160002054600b60008d815260200190815260200160002060006002815260200190815260200160002054600b60008e8152602001908152602001600020600060038152602001908152602001600020546002546103e802600354019e509e509e509e509e509e509e509e509e509e509e509e509e509e5050909192939495969798999a9b9c9d565b61217f614c49565b600e54600090819060ff1615156001146121df576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612232576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b83633b9aca0081101561228a576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156122da576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b336000908152600560205260409020549250600160a060020a038716158061230a5750600160a060020a03871633145b15612328576000838152600760205260409020600601549150611195565b600160a060020a038716600090815260056020908152604080832054868452600790925290912060060154909250821461119557600083815260076020526040902060060182905561119e86613643565b612381614c49565b600e5460009060ff1615156001146123df576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612432576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca0081101561248a576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156124da576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b6124e3836109bd565b33600090815260056020526040902054909350915084158061250457508185145b1561252257600082815260076020526040902060060154945061254f565b600082815260076020526040902060060154851461254f5760008281526007602052604090206006018590555b61255884613643565b935061190982868686610c71565b3373591c66ba5a3429fcad0fe11a0f58e56fe36b5a73146125f7576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600082815260096020908152604080832084845290915290205460ff16151561263f5760008281526009602090815260408083208484529091529020805460ff191660011790555b5050565b6000808080808033321461269d576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b6126a68961390e565b604080517fc0942dfd000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018c90528a151560648301528251939950975034965073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739263c0942dfd9288926084808201939182900301818588803b158015611a0457600080fd5b60408051808201909152600281527f4657000000000000000000000000000000000000000000000000000000000000602082015281565b61276e614c49565b600e54600090819060ff1615156001146127ce576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612821576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca00811015612879576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156128c9576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b6128d2846109bd565b336000908152600560205260409020549094509250600160a060020a03861615806129055750600160a060020a03861633145b1561292357600083815260076020526040902060060154915061296c565b600160a060020a038616600090815260056020908152604080832054868452600790925290912060060154909250821461296c5760008381526007602052604090206006018290555b61297585613643565b9450610ea683838787610c71565b600860209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b6129bd614c49565b600e54600090819060ff161515600114612a1d576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612a70576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca00811015612ac8576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612b18576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b612b21846109bd565b336000908152600560205260409020549094509250851580612b53575060008381526007602052604090206001015486145b15612b7157600083815260076020526040902060060154915061296c565b60008681526006602081815260408084205487855260079092529092200154909250821461296c57600083815260076020526040902060060182905561297585613643565b600d602052600090815260409020805460019091015482565b6004546000818152600a60205260408120600201549091904290811015612c55576001546000838152600a602052604090206004015401811115612c2f576000828152600a6020526040902060020154610f5b908263ffffffff61426616565b6001546000838152600a6020526040902060040154610f5b91018263ffffffff61426616565b60009250610f6c565b6001546000838152600a6020526040812060040154909142910181118015612cc857506000848152600a602052604090206002015481111580612cc857506000848152600a602052604090206002015481118015612cc857506000848152600a6020526040902054155b15612cf6576000848152600a6020526040902060060154612cef908463ffffffff61432416565b9150612cff565b612cef83614345565b5092915050565b600480546001546000828152600a602052604081209093015442910181118015612d7257506000828152600a602052604090206002015481111580612d7257506000828152600a602052604090206002015481118015612d7257506000828152600a6020526040902054155b15612da6576000828152600a6020526040902060050154612d9f908590610f4f908263ffffffff6135b516565b9250612daf565b612d9f846143bd565b5050919050565b600e5460ff1681565b60025481565b6007602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b6000806000806000806000806000600454915050600160a060020a0389166000908152600560208181526040808420548085526007808452828620600180820154600887528589208a8a5287529488200154968390529352600283015492909301549293849391929091612ea390612e859086906142c6565b6000878152600760205260409020600301549063ffffffff6135b516565b600095865260076020908152604080882060040154600883528189209989529890915290952054939e929d50909b509950919750919550909350915050565b6000858152600860209081526040808320898452909152812060010154819081901515612f1657612f13888561442a565b93505b6000898152600a602052604090206006015469021e19e0c9bab2400000118015612f72575060008881526008602090815260408083208c845290915290205468056bc75e2d6310000090612f70908963ffffffff6135b516565b115b15612ffa5760008881526008602090815260408083208c8452909152902054612fab9068056bc75e2d631000009063ffffffff61426616565b9250612fbd878463ffffffff61426616565b600089815260076020526040902060030154909250612fe2908363ffffffff6135b516565b60008981526007602052604090206003015591955085915b633b9aca008711156131e7576000898152600a6020526040902060060154613028908863ffffffff61432416565b9050670de0b6b3a7640000811061309f57613043818a61448a565b6000898152600a6020526040902054881461306a576000898152600a602052604090208890555b6000898152600a60205260409020600101548514613097576000898152600a602052604090206001018590555b835160640184525b60035484516103e890910201845260008881526008602090815260408083208c84529091529020600101546130db90829063ffffffff6135b516565b60008981526008602090815260408083208d845290915290206001810191909155546131089088906135b5565b60008981526008602090815260408083208d8452825280832093909355600a9052206005015461313f90829063ffffffff6135b516565b60008a8152600a6020526040902060058101919091556006015461316a90889063ffffffff6135b516565b60008a8152600a6020908152604080832060060193909355600b8152828220888352905220546131a190889063ffffffff6135b516565b60008a8152600b602090815260408083208984529091529020556131c789888787614568565b93506131d88989898989868a614668565b93506131e788868984886148ae565b505050505050505050565b6131fa614c49565b6004546000818152600a60205260408120805460018201546007909201549092808080808080606461323389601963ffffffff61412116565b81151561323c57fe5b049650606461325289600363ffffffff61412116565b81151561325b57fe5b60008b8152600d60205260409020549190049650606490613283908a9063ffffffff61412116565b81151561328c57fe5b60008b8152600d602052604090206001015491900495506064906132b7908a9063ffffffff61412116565b8115156132c057fe5b0493506132db84611dd987818a818e8e63ffffffff61426616565b60008c8152600a602052604090206005015490935061330886670de0b6b3a764000063ffffffff61412116565b81151561331157fe5b60008d8152600a6020526040902060050154919004925061335f90670de0b6b3a76400009061334790859063ffffffff61412116565b81151561335057fe5b8791900463ffffffff61426616565b9050600081111561338f5761337a858263ffffffff61426616565b945061338c838263ffffffff6135b516565b92505b60008a8152600760205260409020600201546133b290889063ffffffff6135b516565b60008b8152600760205260408082206002019290925580549151600160a060020a039092169188156108fc0291899190818181858888f193505050501580156133ff573d6000803e3d6000fd5b5060008b8152600a602052604090206008015461342390839063ffffffff6135b516565b600a60008d815260200190815260200160002060080181905550600a60008c815260200190815260200160002060020154620f4240028d60000151018d60000181815250508867016345785d8a0000028a6a52b7d2dcc80cd2e4000000028e6020015101018d6020018181525050600760008b815260200190815260200160002060000160009054906101000a9004600160a060020a03168d60400190600160a060020a03169081600160a060020a031681525050600760008b8152602001908152602001600020600101548d606001906000191690816000191681525050868d6080018181525050848d60e0018181525050838d60c0018181525050828d60a00181815250506004600081548092919060010191905055508a806001019b505042600a60008d81526020019081526020016000206004018190555061358660015461357a610e10426135b590919063ffffffff16565b9063ffffffff6135b516565b60008c8152600a6020526040902060028101919091556007018390558c9b505050505050505050505050919050565b81810182811015613610576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b600061363c61363361362e858563ffffffff61426616565b6143bd565b611dd9856143bd565b9392505050565b6000808210806136535750600382115b1561366057506002613663565b50805b919050565b600480546001546000828152600a60205260409020909201549091429101811180156136d657506000828152600a6020526040902060020154811115806136d657506000828152600a6020526040902060020154811180156136d657506000828152600a6020526040902054155b1561370d576136e884611dd989613887565b600088815260076020526040902060030155613708828886898988612ee2565b6111ad565b6000828152600a60205260409020600201548111801561373f57506000828152600a602052604090206003015460ff16155b156111ad576000828152600a60205260409020600301805460ff19166001179055613769836131f2565b925080670de0b6b3a764000002836000015101836000018181525050868360200151018360200181815250507f88261ac70d02d5ea73e54fa6da17043c974de1021109573ec1f6f57111c823dd33600760008a815260200190815260200160002060010154856000015186602001518760400151886060015189608001518a60a001518b60c001518c60e00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019a505050505050505050505060405180910390a150505050505050565b60008181526007602052604081206005015481906138a6908490614a1c565b6000838152600760205260409020600481015460038201546002909201546138d89261357a919063ffffffff6135b516565b905060008111156139045760008381526007602052604081206002810182905560038101829055600401555b8091505b50919050565b80516000908290828080602084118015906139295750600084115b15156139a5576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b8460008151811015156139b457fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015613a1b575084600185038151811015156139f357fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613a97576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b846000815181101515613aa657fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a021415613be957846001815181101515613ae057fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515613b5d576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b846001815181101515613b6c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515613be9576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b838210156140b95784517f400000000000000000000000000000000000000000000000000000000000000090869084908110613c2657fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613c9a575084517f5b0000000000000000000000000000000000000000000000000000000000000090869084908110613c7b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15613d07578482815181101515613cad57fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a028583815181101515613cde57fe5b906020010190600160f860020a031916908160001a905350821515613d0257600192505b6140ae565b8482815181101515613d1557fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021480613de5575084517f600000000000000000000000000000000000000000000000000000000000000090869084908110613d7157fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613de5575084517f7b0000000000000000000000000000000000000000000000000000000000000090869084908110613dc657fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80613e8f575084517f2f0000000000000000000000000000000000000000000000000000000000000090869084908110613e1b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613e8f575084517f3a0000000000000000000000000000000000000000000000000000000000000090869084908110613e7057fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515613f0b576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8482815181101515613f1957fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415613ff8578482600101815181101515613f5557fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515613ff8576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b821580156140a4575084517f30000000000000000000000000000000000000000000000000000000000000009086908490811061403157fe5b90602001015160f860020a900460f860020a02600160f860020a03191610806140a4575084517f39000000000000000000000000000000000000000000000000000000000000009086908490811061408557fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b156140ae57600192505b600190910190613bee565b600183151514614113576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b600082151561413257506000613610565b5081810281838281151561414257fe5b0414613610576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b60008281526008602090815260408083208484528252808320600190810154600a8085528386206005810154938101548752600d8652938620548787529452600790920154670de0b6b3a764000093614255939261424992909161422091879160649161420a9163ffffffff61412116565b81151561421357fe5b049063ffffffff61412116565b81151561422957fe5b6000888152600a602052604090206008015491900463ffffffff6135b516565b9063ffffffff61412116565b81151561425e57fe5b049392505050565b6000828211156142c0576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b600082815260086020818152604080842085855282528084206002810154600190910154600a9093529084209092015461363c9291670de0b6b3a76400009161430e91614121565b81151561431757fe5b049063ffffffff61426616565b600061363c61433284614345565b611dd9614345868663ffffffff6135b516565b60006309502f906143ad6d03b2a1d15167e7c5699bfde00000611dd96143a87a0dac7055469777a6122ee4310dd6c14410500f290484000000000061357a6b01027e72f1f12813088000006142498a670de0b6b3a764000063ffffffff61412116565b614ab3565b8115156143b657fe5b0492915050565b60006143d0670de0b6b3a7640000614b06565b6143ad60026144036143f086670de0b6b3a764000063ffffffff61412116565b65886c8f6730709063ffffffff61412116565b81151561440c57fe5b0461357a61441986614b06565b6304a817c89063ffffffff61412116565b614432614c49565b6000838152600760205260409020600501541561446657600083815260076020526040902060050154614466908490614a1c565b506004546000838152600760205260409020600501558051600a0181528092915050565b6000818152600a6020526040812060020154429190821180156144b957506000838152600a6020526040902054155b156144dd576144d68261357a601e670de0b6b3a764000088614213565b905061450a565b6000838152600a60205260409020600201546145079061357a601e670de0b6b3a764000088614213565b90505b61451d620151808363ffffffff6135b516565b81101561453d576000838152600a60205260409020600201819055611cbe565b614550620151808363ffffffff6135b516565b6000848152600a602052604090206002015550505050565b614570614c49565b600080606461458687600363ffffffff61412116565b81151561458f57fe5b60008054604051939092049450600160a060020a0390911691849181818185875af19250505015156145c057506000905b6000858152600c6020526040902060010154614602906064906145ea90899063ffffffff61412116565b8115156145f357fe5b8391900463ffffffff6135b516565b9050600081111561465d576000878152600a602052604090206007015461462f908263ffffffff6135b516565b6000888152600a602052604090206007015560c084015161465790829063ffffffff6135b516565b60c08501525b509195945050505050565b614670614c49565b6000848152600c6020526040812054819081908190606490614699908c9063ffffffff61412116565b8115156146a257fe5b04935060646146b88b600f63ffffffff61412116565b8115156146c157fe5b04925061473561472860646146f5600c60008d8152602001908152602001600020600101548e61412190919063ffffffff16565b8115156146fe57fe5b0460646147128e601263ffffffff61412116565b81151561471b57fe5b049063ffffffff6135b516565b8b9063ffffffff61426616565b99506147478a8563ffffffff61426616565b91508a8914158015614769575060008981526007602052604090206001015415155b156148095760008981526007602052604090206004015461479190849063ffffffff6135b516565b60008a815260076020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101859052426060830152518c918e918c917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a461481c565b614819848463ffffffff6135b516565b93505b6148288c8c868a614b12565b9050600081111561484657614843848263ffffffff61426616565b93505b60008c8152600a602052604090206007015461486c9061357a848463ffffffff6135b516565b60008d8152600a602052604090206007015560e086015161489490859063ffffffff6135b516565b60e087015250610100850152509198975050505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600454751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160076000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600254604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a15050505050565b6000614a2883836142c6565b90506000811115614aae57600083815260076020526040902060030154614a5690829063ffffffff6135b516565b6000848152600760209081526040808320600301939093556008815282822085835290522060020154614a9090829063ffffffff6135b516565b60008481526008602090815260408083208684529091529020600201555b505050565b6000806002614ac38460016135b5565b811515614acc57fe5b0490508291505b81811015613908578091506002614af58285811515614aee57fe5b04836135b5565b811515614afe57fe5b049050614ad3565b60006136108283614121565b6000848152600a602052604081206005015481908190614b4086670de0b6b3a764000063ffffffff61412116565b811515614b4957fe5b6000898152600a60205260409020600801549190049250614b7190839063ffffffff6135b516565b6000888152600a6020526040902060080155670de0b6b3a7640000614b9c838663ffffffff61412116565b811515614ba557fe5b60008881526008602081815260408084208d8552825280842060020154600a9092529092200154929091049250614bf69161357a908490670de0b6b3a76400009061430e908a63ffffffff61412116565b60008781526008602090815260408083208b8452825280832060020193909355600a90522060050154614c3e90670de0b6b3a76400009061334790859063ffffffff61412116565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a03168152602001600080191681526020016000815260200160008152602001600081526020016000815260200160008152509056006e6f70652c20796f75277265206e6f7420616e2048756d616e20627564647920706f636b6574206c696e743a206e6f7420612076616c69642063757272656e636f7563682c2063636f6e7472616374206973206e6f74207265616479207965746e6f20766974616c696b2c206e6f000000000000000000000000000000000000a165627a7a72305820f164638545c33425ec843548f67fb7495265481dc4794593de20e5f967247f230029
Deployed Bytecode
0x6080604052600436106101b65763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663018a25e8811461035a57806306fdde0314610381578063079ce3271461040b5780630f15f4c01461042b57806310f01eba1461044057806311a09ae71461046157806324c33d33146104765780632660316e146104ed5780632ce219991461051c5780632e19ebdc1461054d578063349cdcac146105655780633ccfd60b146105835780633ddd46981461059857806349cc635d146105f45780635893d4811461061e578063624ae5c014610639578063630664341461064e578063685ffd8314610684578063747dff42146106d757806382bfc739146107625780638f38f309146107895780638f7140ea14610797578063921dec21146107b257806395d89b411461080557806398a0871d1461081a578063a2bccae914610831578063a65b37a114610872578063c519500e14610880578063c7e284b814610898578063ce89c80c146108ad578063cf808000146108c8578063d53b2679146108e0578063d87574e0146108f5578063de7874f31461090a578063ee0b5d8b14610964575b6101be614c49565b600e5460009060ff16151560011461021c576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b33321461026f576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca008110156102c7576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610317576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b610320836109bd565b336000908152600560209081526040808320548084526007909252909120600601549194509250610355908390600286610c71565b505050005b34801561036657600080fd5b5061036f610eae565b60408051918252519081900360200190f35b34801561038d57600080fd5b50610396610f71565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103d05781810151838201526020016103b8565b50505050905090810190601f1680156103fd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561041757600080fd5b50610429600435602435604435610fa8565b005b34801561043757600080fd5b506104296111b6565b34801561044c57600080fd5b5061036f600160a060020a03600435166112e3565b34801561046d57600080fd5b5061036f6112f5565b34801561048257600080fd5b5061048e6004356112fb565b604080519c8d5260208d019b909b528b8b019990995296151560608b015260808a019590955260a089019390935260c088019190915260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b3480156104f957600080fd5b5061050860043560243561135e565b604080519115158252519081900360200190f35b34801561052857600080fd5b5061053460043561137e565b6040805192835260208301919091528051918290030190f35b34801561055957600080fd5b5061036f600435611397565b34801561057157600080fd5b506104296004356024356044356113a9565b34801561058f57600080fd5b5061042961158b565b6040805160206004803580820135601f810184900484028501840190955284845261042994369492936024939284019190819084018382808284375094975050600160a060020a03853516955050505050602001351515611910565b34801561060057600080fd5b50610429600435600160a060020a0360243516604435606435611ad3565b34801561062a57600080fd5b5061036f600435602435611cc4565b34801561064557600080fd5b5061036f611ce1565b34801561065a57600080fd5b50610666600435611ce7565b60408051938452602084019290925282820152519081900360600190f35b6040805160206004803580820135601f8101849004840285018401909552848452610429943694929360249392840191908190840183828082843750949750508435955050505050602001351515611e8d565b3480156106e357600080fd5b506106ec611f79565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b34801561076e57600080fd5b50610429600160a060020a0360043516602435604435612177565b610429600435602435612379565b3480156107a357600080fd5b50610429600435602435612566565b6040805160206004803580820135601f8101849004840285018401909552848452610429943694929360249392840191908190840183828082843750949750508435955050505050602001351515612643565b34801561081157600080fd5b5061039661272f565b610429600160a060020a0360043516602435612766565b34801561083d57600080fd5b5061084c600435602435612983565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6104296004356024356129b5565b34801561088c57600080fd5b50610534600435612bb6565b3480156108a457600080fd5b5061036f612bcf565b3480156108b957600080fd5b5061036f600435602435612c5e565b3480156108d457600080fd5b5061036f600435612d06565b3480156108ec57600080fd5b50610508612db6565b34801561090157600080fd5b5061036f612dbf565b34801561091657600080fd5b50610922600435612dc5565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561097057600080fd5b50610985600160a060020a0360043516612e0c565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b6109c5614c49565b336000908152600560205260408120549080821515610c6857604080517fe56556a9000000000000000000000000000000000000000000000000000000008152336004820152905173591c66ba5a3429fcad0fe11a0f58e56fe36b5a739163e56556a99160248083019260209291908290030181600087803b158015610a4a57600080fd5b505af1158015610a5e573d6000803e3d6000fd5b505050506040513d6020811015610a7457600080fd5b5051604080517f82e37b2c00000000000000000000000000000000000000000000000000000000815260048101839052905191945073591c66ba5a3429fcad0fe11a0f58e56fe36b5a73916382e37b2c916024808201926020929091908290030181600087803b158015610ae757600080fd5b505af1158015610afb573d6000803e3d6000fd5b505050506040513d6020811015610b1157600080fd5b5051604080517fe3c08adf00000000000000000000000000000000000000000000000000000000815260048101869052905191935073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739163e3c08adf916024808201926020929091908290030181600087803b158015610b8457600080fd5b505af1158015610b98573d6000803e3d6000fd5b505050506040513d6020811015610bae57600080fd5b505133600081815260056020908152604080832088905587835260079091529020805473ffffffffffffffffffffffffffffffffffffffff1916909117905590508115610c3757600082815260066020908152604080832086905585835260078252808320600190810186905560098352818420868552909252909120805460ff191690911790555b8015801590610c465750828114155b15610c605760008381526007602052604090206006018190555b845160010185525b50929392505050565b600480546001546000828152600a6020526040902090920154909142910181118015610cdf57506000828152600a602052604090206002015481111580610cdf57506000828152600a602052604090206002015481118015610cdf57506000828152600a6020526040902054155b15610cf757610cf2828734888888612ee2565b610ea6565b6000828152600a602052604090206002015481118015610d2957506000828152600a602052604090206003015460ff16155b15610e71576000828152600a60205260409020600301805460ff19166001179055610d53836131f2565b925080670de0b6b3a764000002836000015101836000018181525050858360200151018360200181815250507fa7801a70b37e729a11492aad44fd3dba89b4149f0609dc0f6837bf9e57e2671a3360076000898152602001908152602001600020600101543486600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a15b600086815260076020526040902060030154610e93903463ffffffff6135b516565b6000878152600760205260409020600301555b505050505050565b600480546001546000828152600a602052604081209093015442910181118015610f1a57506000828152600a602052604090206002015481111580610f1a57506000828152600a602052604090206002015481118015610f1a57506000828152600a6020526040902054155b15610f62576000828152600a6020526040902060050154610f5b90670de0b6b3a764000090610f4f908263ffffffff6135b516565b9063ffffffff61361616565b9250610f6c565b6544364c5bb00092505b505090565b60408051808201909152600881527f466f6d6f20576172000000000000000000000000000000000000000000000000602082015281565b610fb0614c49565b600e54600090819060ff161515600114611010576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214611063576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b83633b9aca008110156110bb576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561110b576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b33600090815260056020526040902054925086158061113a575060008381526007602052604090206001015487145b15611158576000838152600760205260409020600601549150611195565b6000878152600660208181526040808420548785526007909252909220015490925082146111955760008381526007602052604090206006018290555b61119e86613643565b95506111ad8383888888613668565b50505050505050565b600054600160a060020a03163314611218576040805160e560020a62461bcd02815260206004820152601760248201527f6f6e6c792061646d696e2063616e206163746976617465000000000000000000604482015290519081900360640190fd5b600e5460ff1615611273576040805160e560020a62461bcd02815260206004820152601b60248201527f464f4d4f204672656520616c7265616479206163746976617465640000000000604482015290519081900360640190fd5b600e805460ff1916600190811790915560048190558054600091909152600a602052429081037fbbc70db1b6c7afd11e79c0fb0051300458f1a3acb8ee9789d9b6b26c61ad9bcb55610e10017fbbc70db1b6c7afd11e79c0fb0051300458f1a3acb8ee9789d9b6b26c61ad9bc955565b60056020526000908152604090205481565b60035481565b600a60208190526000918252604090912080546001820154600283015460038401546004850154600586015460068701546007880154600889015460098a01549a8a0154600b909a0154989a9799969860ff90961697949693959294919390928c565b600960209081526000928352604080842090915290825290205460ff1681565b600c602052600090815260409020805460019091015482565b60066020526000908152604090205481565b6113b1614c49565b600e5460009060ff16151560011461140f576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214611462576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b82633b9aca008110156114ba576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af680000081111561150a576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b33600090815260056020526040902054915085158061152857508186145b15611546576000828152600760205260409020600601549550611573565b60008281526007602052604090206006015486146115735760008281526007602052604090206006018690555b61157c85613643565b9450610ea68287878787613668565b600080600080611599614c49565b600e5460ff1615156001146115f4576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214611647576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b60045433600090815260056020908152604080832054848452600a9092529091206002015491965042955093508411801561169457506000858152600a602052604090206003015460ff16155b80156116ad57506000858152600a602052604090205415155b15611853576000858152600a60205260409020600301805460ff191660011790556116d7816131f2565b90506116e283613887565b9150600082111561173357600083815260076020526040808220549051600160a060020a039091169184156108fc02918591818181858888f19350505050158015611731573d6000803e3d6000fd5b505b83670de0b6b3a764000002816000015101816000018181525050828160200151018160200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc33600760008681526020019081526020016000206001015484846000015185602001518660400151876060015188608001518960a001518a60c001518b60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a1611909565b61185c83613887565b915060008211156118ad57600083815260076020526040808220549051600160a060020a039091169184156108fc02918591818181858888f193505050501580156118ab573d6000803e3d6000fd5b505b6000838152600760209081526040918290206001015482513381529182015280820184905260608101869052905184917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b5050505050565b6000808080808033321461196a576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b6119738961390e565b604080517faa4d490b000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052600160a060020a038c1660448301528a151560648301528251939950975034965073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739263aa4d490b9288926084808201939182900301818588803b158015611a0457600080fd5b505af1158015611a18573d6000803e3d6000fd5b50505050506040513d6040811015611a2f57600080fd5b508051602091820151600160a060020a0380891660008181526005865260408082205485835260078852918190208054600190910154825188151581529889018790529416878201526060870193909352608086018a90524260a0870152915193975091955093508892909184917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a4505050505050505050565b3373591c66ba5a3429fcad0fe11a0f58e56fe36b5a7314611b64576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0383166000908152600560205260409020548414611b9f57600160a060020a03831660009081526005602052604090208490555b6000828152600660205260409020548414611bc65760008281526006602052604090208490555b600084815260076020526040902054600160a060020a03848116911614611c1c576000848152600760205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385161790555b6000848152600760205260409020600101548214611c495760008481526007602052604090206001018290555b6000848152600760205260409020600601548114611c765760008481526007602052604090206006018190555b600084815260096020908152604080832085845290915290205460ff161515611cbe5760008481526009602090815260408083208584529091529020805460ff191660011790555b50505050565b600b60209081526000928352604080842090915290825290205481565b60045481565b6004546000818152600a60205260408120600201549091829182919042118015611d2357506000818152600a602052604090206003015460ff16155b8015611d3c57506000818152600a602052604090205415155b15611e5d576000818152600a6020526040902054851415611e21576000818152600a6020526040902060070154611daa90606490611d8190601963ffffffff61412116565b811515611d8a57fe5b60008881526007602052604090206002015491900463ffffffff6135b516565b6000868152600860209081526040808320858452909152902060020154611e0390611de590611dd98986614198565b9063ffffffff61426616565b6000888152600760205260409020600301549063ffffffff6135b516565b60008781526007602052604090206004015491955093509150611e85565b600085815260076020908152604080832060029081015460088452828520868652909352922090910154611e0390611de590611dd98986614198565b60008581526007602052604090206002810154600590910154611e0390611de59088906142c6565b509193909250565b60008080808080333214611ee7576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b611ef08961390e565b604080517f745ea0c1000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018c90528a151560648301528251939950975034965073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739263745ea0c19288926084808201939182900301818588803b158015611a0457600080fd5b60008060008060008060008060008060008060008060006004549050600a60008281526020019081526020016000206009015481600a600084815260200190815260200160002060050154600a600085815260200190815260200160002060020154600a600086815260200190815260200160002060040154600a600087815260200190815260200160002060070154600a600088815260200190815260200160002060000154600a02600a6000898152602001908152602001600020600101540160076000600a60008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660076000600a60008c815260200190815260200160002060000154815260200190815260200160002060010154600b60008b8152602001908152602001600020600080815260200190815260200160002054600b60008c815260200190815260200160002060006001815260200190815260200160002054600b60008d815260200190815260200160002060006002815260200190815260200160002054600b60008e8152602001908152602001600020600060038152602001908152602001600020546002546103e802600354019e509e509e509e509e509e509e509e509e509e509e509e509e509e5050909192939495969798999a9b9c9d565b61217f614c49565b600e54600090819060ff1615156001146121df576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612232576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b83633b9aca0081101561228a576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156122da576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b336000908152600560205260409020549250600160a060020a038716158061230a5750600160a060020a03871633145b15612328576000838152600760205260409020600601549150611195565b600160a060020a038716600090815260056020908152604080832054868452600790925290912060060154909250821461119557600083815260076020526040902060060182905561119e86613643565b612381614c49565b600e5460009060ff1615156001146123df576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612432576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca0081101561248a576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156124da576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b6124e3836109bd565b33600090815260056020526040902054909350915084158061250457508185145b1561252257600082815260076020526040902060060154945061254f565b600082815260076020526040902060060154851461254f5760008281526007602052604090206006018590555b61255884613643565b935061190982868686610c71565b3373591c66ba5a3429fcad0fe11a0f58e56fe36b5a73146125f7576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600082815260096020908152604080832084845290915290205460ff16151561263f5760008281526009602090815260408083208484529091529020805460ff191660011790555b5050565b6000808080808033321461269d576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b6126a68961390e565b604080517fc0942dfd000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018c90528a151560648301528251939950975034965073591c66ba5a3429fcad0fe11a0f58e56fe36b5a739263c0942dfd9288926084808201939182900301818588803b158015611a0457600080fd5b60408051808201909152600281527f4657000000000000000000000000000000000000000000000000000000000000602082015281565b61276e614c49565b600e54600090819060ff1615156001146127ce576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612821576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca00811015612879576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af68000008111156128c9576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b6128d2846109bd565b336000908152600560205260409020549094509250600160a060020a03861615806129055750600160a060020a03861633145b1561292357600083815260076020526040902060060154915061296c565b600160a060020a038616600090815260056020908152604080832054868452600790925290912060060154909250821461296c5760008381526007602052604090206006018290555b61297585613643565b9450610ea683838787610c71565b600860209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b6129bd614c49565b600e54600090819060ff161515600114612a1d576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ce3833981519152604482015260f060020a61202102606482015290519081900360840190fd5b333214612a70576040805160e560020a62461bcd0281526020600482015260226024820152600080516020614ca3833981519152604482015260f060020a61212102606482015290519081900360840190fd5b34633b9aca00811015612ac8576040805160e560020a62461bcd0281526020600482015260216024820152600080516020614cc3833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612b18576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020614d03833981519152604482015290519081900360640190fd5b612b21846109bd565b336000908152600560205260409020549094509250851580612b53575060008381526007602052604090206001015486145b15612b7157600083815260076020526040902060060154915061296c565b60008681526006602081815260408084205487855260079092529092200154909250821461296c57600083815260076020526040902060060182905561297585613643565b600d602052600090815260409020805460019091015482565b6004546000818152600a60205260408120600201549091904290811015612c55576001546000838152600a602052604090206004015401811115612c2f576000828152600a6020526040902060020154610f5b908263ffffffff61426616565b6001546000838152600a6020526040902060040154610f5b91018263ffffffff61426616565b60009250610f6c565b6001546000838152600a6020526040812060040154909142910181118015612cc857506000848152600a602052604090206002015481111580612cc857506000848152600a602052604090206002015481118015612cc857506000848152600a6020526040902054155b15612cf6576000848152600a6020526040902060060154612cef908463ffffffff61432416565b9150612cff565b612cef83614345565b5092915050565b600480546001546000828152600a602052604081209093015442910181118015612d7257506000828152600a602052604090206002015481111580612d7257506000828152600a602052604090206002015481118015612d7257506000828152600a6020526040902054155b15612da6576000828152600a6020526040902060050154612d9f908590610f4f908263ffffffff6135b516565b9250612daf565b612d9f846143bd565b5050919050565b600e5460ff1681565b60025481565b6007602052600090815260409020805460018201546002830154600384015460048501546005860154600690960154600160a060020a039095169593949293919290919087565b6000806000806000806000806000600454915050600160a060020a0389166000908152600560208181526040808420548085526007808452828620600180820154600887528589208a8a5287529488200154968390529352600283015492909301549293849391929091612ea390612e859086906142c6565b6000878152600760205260409020600301549063ffffffff6135b516565b600095865260076020908152604080882060040154600883528189209989529890915290952054939e929d50909b509950919750919550909350915050565b6000858152600860209081526040808320898452909152812060010154819081901515612f1657612f13888561442a565b93505b6000898152600a602052604090206006015469021e19e0c9bab2400000118015612f72575060008881526008602090815260408083208c845290915290205468056bc75e2d6310000090612f70908963ffffffff6135b516565b115b15612ffa5760008881526008602090815260408083208c8452909152902054612fab9068056bc75e2d631000009063ffffffff61426616565b9250612fbd878463ffffffff61426616565b600089815260076020526040902060030154909250612fe2908363ffffffff6135b516565b60008981526007602052604090206003015591955085915b633b9aca008711156131e7576000898152600a6020526040902060060154613028908863ffffffff61432416565b9050670de0b6b3a7640000811061309f57613043818a61448a565b6000898152600a6020526040902054881461306a576000898152600a602052604090208890555b6000898152600a60205260409020600101548514613097576000898152600a602052604090206001018590555b835160640184525b60035484516103e890910201845260008881526008602090815260408083208c84529091529020600101546130db90829063ffffffff6135b516565b60008981526008602090815260408083208d845290915290206001810191909155546131089088906135b5565b60008981526008602090815260408083208d8452825280832093909355600a9052206005015461313f90829063ffffffff6135b516565b60008a8152600a6020526040902060058101919091556006015461316a90889063ffffffff6135b516565b60008a8152600a6020908152604080832060060193909355600b8152828220888352905220546131a190889063ffffffff6135b516565b60008a8152600b602090815260408083208984529091529020556131c789888787614568565b93506131d88989898989868a614668565b93506131e788868984886148ae565b505050505050505050565b6131fa614c49565b6004546000818152600a60205260408120805460018201546007909201549092808080808080606461323389601963ffffffff61412116565b81151561323c57fe5b049650606461325289600363ffffffff61412116565b81151561325b57fe5b60008b8152600d60205260409020549190049650606490613283908a9063ffffffff61412116565b81151561328c57fe5b60008b8152600d602052604090206001015491900495506064906132b7908a9063ffffffff61412116565b8115156132c057fe5b0493506132db84611dd987818a818e8e63ffffffff61426616565b60008c8152600a602052604090206005015490935061330886670de0b6b3a764000063ffffffff61412116565b81151561331157fe5b60008d8152600a6020526040902060050154919004925061335f90670de0b6b3a76400009061334790859063ffffffff61412116565b81151561335057fe5b8791900463ffffffff61426616565b9050600081111561338f5761337a858263ffffffff61426616565b945061338c838263ffffffff6135b516565b92505b60008a8152600760205260409020600201546133b290889063ffffffff6135b516565b60008b8152600760205260408082206002019290925580549151600160a060020a039092169188156108fc0291899190818181858888f193505050501580156133ff573d6000803e3d6000fd5b5060008b8152600a602052604090206008015461342390839063ffffffff6135b516565b600a60008d815260200190815260200160002060080181905550600a60008c815260200190815260200160002060020154620f4240028d60000151018d60000181815250508867016345785d8a0000028a6a52b7d2dcc80cd2e4000000028e6020015101018d6020018181525050600760008b815260200190815260200160002060000160009054906101000a9004600160a060020a03168d60400190600160a060020a03169081600160a060020a031681525050600760008b8152602001908152602001600020600101548d606001906000191690816000191681525050868d6080018181525050848d60e0018181525050838d60c0018181525050828d60a00181815250506004600081548092919060010191905055508a806001019b505042600a60008d81526020019081526020016000206004018190555061358660015461357a610e10426135b590919063ffffffff16565b9063ffffffff6135b516565b60008c8152600a6020526040902060028101919091556007018390558c9b505050505050505050505050919050565b81810182811015613610576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b92915050565b600061363c61363361362e858563ffffffff61426616565b6143bd565b611dd9856143bd565b9392505050565b6000808210806136535750600382115b1561366057506002613663565b50805b919050565b600480546001546000828152600a60205260409020909201549091429101811180156136d657506000828152600a6020526040902060020154811115806136d657506000828152600a6020526040902060020154811180156136d657506000828152600a6020526040902054155b1561370d576136e884611dd989613887565b600088815260076020526040902060030155613708828886898988612ee2565b6111ad565b6000828152600a60205260409020600201548111801561373f57506000828152600a602052604090206003015460ff16155b156111ad576000828152600a60205260409020600301805460ff19166001179055613769836131f2565b925080670de0b6b3a764000002836000015101836000018181525050868360200151018360200181815250507f88261ac70d02d5ea73e54fa6da17043c974de1021109573ec1f6f57111c823dd33600760008a815260200190815260200160002060010154856000015186602001518760400151886060015189608001518a60a001518b60c001518c60e00151604051808b600160a060020a0316600160a060020a031681526020018a6000191660001916815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019a505050505050505050505060405180910390a150505050505050565b60008181526007602052604081206005015481906138a6908490614a1c565b6000838152600760205260409020600481015460038201546002909201546138d89261357a919063ffffffff6135b516565b905060008111156139045760008381526007602052604081206002810182905560038101829055600401555b8091505b50919050565b80516000908290828080602084118015906139295750600084115b15156139a5576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b8460008151811015156139b457fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015613a1b575084600185038151811015156139f357fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b1515613a97576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b846000815181101515613aa657fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a021415613be957846001815181101515613ae057fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515613b5d576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b846001815181101515613b6c57fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a0214151515613be9576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b838210156140b95784517f400000000000000000000000000000000000000000000000000000000000000090869084908110613c2657fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613c9a575084517f5b0000000000000000000000000000000000000000000000000000000000000090869084908110613c7b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b15613d07578482815181101515613cad57fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a028583815181101515613cde57fe5b906020010190600160f860020a031916908160001a905350821515613d0257600192505b6140ae565b8482815181101515613d1557fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021480613de5575084517f600000000000000000000000000000000000000000000000000000000000000090869084908110613d7157fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613de5575084517f7b0000000000000000000000000000000000000000000000000000000000000090869084908110613dc657fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80613e8f575084517f2f0000000000000000000000000000000000000000000000000000000000000090869084908110613e1b57fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015613e8f575084517f3a0000000000000000000000000000000000000000000000000000000000000090869084908110613e7057fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515613f0b576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8482815181101515613f1957fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415613ff8578482600101815181101515613f5557fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515613ff8576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b821580156140a4575084517f30000000000000000000000000000000000000000000000000000000000000009086908490811061403157fe5b90602001015160f860020a900460f860020a02600160f860020a03191610806140a4575084517f39000000000000000000000000000000000000000000000000000000000000009086908490811061408557fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b156140ae57600192505b600190910190613bee565b600183151514614113576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b600082151561413257506000613610565b5081810281838281151561414257fe5b0414613610576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b60008281526008602090815260408083208484528252808320600190810154600a8085528386206005810154938101548752600d8652938620548787529452600790920154670de0b6b3a764000093614255939261424992909161422091879160649161420a9163ffffffff61412116565b81151561421357fe5b049063ffffffff61412116565b81151561422957fe5b6000888152600a602052604090206008015491900463ffffffff6135b516565b9063ffffffff61412116565b81151561425e57fe5b049392505050565b6000828211156142c0576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b600082815260086020818152604080842085855282528084206002810154600190910154600a9093529084209092015461363c9291670de0b6b3a76400009161430e91614121565b81151561431757fe5b049063ffffffff61426616565b600061363c61433284614345565b611dd9614345868663ffffffff6135b516565b60006309502f906143ad6d03b2a1d15167e7c5699bfde00000611dd96143a87a0dac7055469777a6122ee4310dd6c14410500f290484000000000061357a6b01027e72f1f12813088000006142498a670de0b6b3a764000063ffffffff61412116565b614ab3565b8115156143b657fe5b0492915050565b60006143d0670de0b6b3a7640000614b06565b6143ad60026144036143f086670de0b6b3a764000063ffffffff61412116565b65886c8f6730709063ffffffff61412116565b81151561440c57fe5b0461357a61441986614b06565b6304a817c89063ffffffff61412116565b614432614c49565b6000838152600760205260409020600501541561446657600083815260076020526040902060050154614466908490614a1c565b506004546000838152600760205260409020600501558051600a0181528092915050565b6000818152600a6020526040812060020154429190821180156144b957506000838152600a6020526040902054155b156144dd576144d68261357a601e670de0b6b3a764000088614213565b905061450a565b6000838152600a60205260409020600201546145079061357a601e670de0b6b3a764000088614213565b90505b61451d620151808363ffffffff6135b516565b81101561453d576000838152600a60205260409020600201819055611cbe565b614550620151808363ffffffff6135b516565b6000848152600a602052604090206002015550505050565b614570614c49565b600080606461458687600363ffffffff61412116565b81151561458f57fe5b60008054604051939092049450600160a060020a0390911691849181818185875af19250505015156145c057506000905b6000858152600c6020526040902060010154614602906064906145ea90899063ffffffff61412116565b8115156145f357fe5b8391900463ffffffff6135b516565b9050600081111561465d576000878152600a602052604090206007015461462f908263ffffffff6135b516565b6000888152600a602052604090206007015560c084015161465790829063ffffffff6135b516565b60c08501525b509195945050505050565b614670614c49565b6000848152600c6020526040812054819081908190606490614699908c9063ffffffff61412116565b8115156146a257fe5b04935060646146b88b600f63ffffffff61412116565b8115156146c157fe5b04925061473561472860646146f5600c60008d8152602001908152602001600020600101548e61412190919063ffffffff16565b8115156146fe57fe5b0460646147128e601263ffffffff61412116565b81151561471b57fe5b049063ffffffff6135b516565b8b9063ffffffff61426616565b99506147478a8563ffffffff61426616565b91508a8914158015614769575060008981526007602052604090206001015415155b156148095760008981526007602052604090206004015461479190849063ffffffff6135b516565b60008a815260076020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101859052426060830152518c918e918c917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a461481c565b614819848463ffffffff6135b516565b93505b6148288c8c868a614b12565b9050600081111561484657614843848263ffffffff61426616565b93505b60008c8152600a602052604090206007015461486c9061357a848463ffffffff6135b516565b60008d8152600a602052604090206007015560e086015161489490859063ffffffff6135b516565b60e087015250610100850152509198975050505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a76400000282600001510101816000018181525050600454751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160076000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600254604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a15050505050565b6000614a2883836142c6565b90506000811115614aae57600083815260076020526040902060030154614a5690829063ffffffff6135b516565b6000848152600760209081526040808320600301939093556008815282822085835290522060020154614a9090829063ffffffff6135b516565b60008481526008602090815260408083208684529091529020600201555b505050565b6000806002614ac38460016135b5565b811515614acc57fe5b0490508291505b81811015613908578091506002614af58285811515614aee57fe5b04836135b5565b811515614afe57fe5b049050614ad3565b60006136108283614121565b6000848152600a602052604081206005015481908190614b4086670de0b6b3a764000063ffffffff61412116565b811515614b4957fe5b6000898152600a60205260409020600801549190049250614b7190839063ffffffff6135b516565b6000888152600a6020526040902060080155670de0b6b3a7640000614b9c838663ffffffff61412116565b811515614ba557fe5b60008881526008602081815260408084208d8552825280842060020154600a9092529092200154929091049250614bf69161357a908490670de0b6b3a76400009061430e908a63ffffffff61412116565b60008781526008602090815260408083208b8452825280832060020193909355600a90522060050154614c3e90670de0b6b3a76400009061334790859063ffffffff61412116565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a03168152602001600080191681526020016000815260200160008152602001600081526020016000815260200160008152509056006e6f70652c20796f75277265206e6f7420616e2048756d616e20627564647920706f636b6574206c696e743a206e6f7420612076616c69642063757272656e636f7563682c2063636f6e7472616374206973206e6f74207265616479207965746e6f20766974616c696b2c206e6f000000000000000000000000000000000000a165627a7a72305820f164638545c33425ec843548f67fb7495265481dc4794593de20e5f967247f230029
Swarm Source
bzzr://f164638545c33425ec843548f67fb7495265481dc4794593de20e5f967247f23
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,336.67 | 15.6217 | $52,124.34 |
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.