More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 43,267 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 20598184 | 139 days ago | IN | 0 ETH | 0.00007954 | ||||
Withdraw | 20598175 | 139 days ago | IN | 0 ETH | 0.00008478 | ||||
Withdraw | 20423411 | 163 days ago | IN | 0 ETH | 0.00105951 | ||||
Transfer | 20386782 | 168 days ago | IN | 0.0001 ETH | 0.00130622 | ||||
Transfer | 20386739 | 168 days ago | IN | 0.0001 ETH | 0.00094595 | ||||
Withdraw | 20368140 | 171 days ago | IN | 0 ETH | 0.00035912 | ||||
Withdraw | 20355806 | 173 days ago | IN | 0 ETH | 0.00038909 | ||||
Withdraw | 20355806 | 173 days ago | IN | 0 ETH | 0.00038909 | ||||
Withdraw | 20355806 | 173 days ago | IN | 0 ETH | 0.00038909 | ||||
Withdraw | 20355806 | 173 days ago | IN | 0 ETH | 0.00050848 | ||||
Withdraw | 20355806 | 173 days ago | IN | 0 ETH | 0.00036604 | ||||
Withdraw | 20355806 | 173 days ago | IN | 0 ETH | 0.00035506 | ||||
Withdraw | 20355806 | 173 days ago | IN | 0 ETH | 0.00051088 | ||||
Withdraw | 20274973 | 184 days ago | IN | 0 ETH | 0.00056202 | ||||
Withdraw | 20274958 | 184 days ago | IN | 0 ETH | 0.00057734 | ||||
Withdraw | 20274948 | 184 days ago | IN | 0 ETH | 0.00059835 | ||||
Withdraw | 20274939 | 184 days ago | IN | 0 ETH | 0.00053034 | ||||
Withdraw | 20274924 | 184 days ago | IN | 0 ETH | 0.00054879 | ||||
Withdraw | 20264483 | 185 days ago | IN | 0 ETH | 0.00022894 | ||||
Withdraw | 20264469 | 185 days ago | IN | 0 ETH | 0.00022856 | ||||
Withdraw | 20264452 | 185 days ago | IN | 0 ETH | 0.00099019 | ||||
Transfer | 20264370 | 185 days ago | IN | 0.00001 ETH | 0.00259843 | ||||
Transfer | 20264326 | 185 days ago | IN | 0.00001 ETH | 0.0012821 | ||||
Withdraw | 20264298 | 185 days ago | IN | 0 ETH | 0.000643 | ||||
Transfer | 20264298 | 185 days ago | IN | 0.1 ETH | 0.0047559 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20598184 | 139 days ago | 0.00110987 ETH | ||||
20598175 | 139 days ago | 0.00110605 ETH | ||||
20423411 | 163 days ago | 0.00650043 ETH | ||||
20423411 | 163 days ago | 0.00000527 ETH | ||||
20423411 | 163 days ago | 0.00000052 ETH | ||||
20386782 | 168 days ago | 0.00002 ETH | ||||
20386782 | 168 days ago | 0.000002 ETH | ||||
20386782 | 168 days ago | 0.00001074 ETH | ||||
20386782 | 168 days ago | 0.00000107 ETH | ||||
20386739 | 168 days ago | 0.00002 ETH | ||||
20386739 | 168 days ago | 0.000002 ETH | ||||
20368140 | 171 days ago | 0.0057919 ETH | ||||
20355806 | 173 days ago | 0.00137545 ETH | ||||
20355806 | 173 days ago | 0.0015906 ETH | ||||
20355806 | 173 days ago | 0.00176526 ETH | ||||
20355806 | 173 days ago | 0.00183837 ETH | ||||
20355806 | 173 days ago | 0.00268652 ETH | ||||
20355806 | 173 days ago | 0.00264849 ETH | ||||
20355806 | 173 days ago | 0.00291136 ETH | ||||
20274973 | 184 days ago | 0.00344144 ETH | ||||
20274958 | 184 days ago | 0.00627834 ETH | ||||
20274948 | 184 days ago | 0.00331548 ETH | ||||
20274939 | 184 days ago | 0.00965455 ETH | ||||
20274924 | 184 days ago | 0.00904427 ETH | ||||
20264483 | 185 days ago | 0.01970231 ETH |
Loading...
Loading
Contract Name:
FoMo3DSoon
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-07-28 */ pragma solidity ^0.4.24; /** * @title -FoMo-3D v0.7.1 * ┌┬┐┌─┐┌─┐┌┬┐ ╦╦ ╦╔═╗╔╦╗ ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐ * │ ├┤ ├─┤│││ ║║ ║╚═╗ ║ ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐ * ┴ └─┘┴ ┴┴ ┴ ╚╝╚═╝╚═╝ ╩ ┴ ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘ * _____ _____ * (, / /) /) /) (, / /) /) * ┌─┐ / _ (/_ // // / _ // _ __ _(/ * ├─┤ ___/___(/_/(__(_/_(/_(/_ ___/__/_)_(/_(_(_/ (_(_(_ * ┴ ┴ / / .-/ _____ (__ / * (__ / (_/ (, / /)™ * / __ __ __ __ _ __ __ _ _/_ _ _(/ * ┌─┐┬─┐┌─┐┌┬┐┬ ┬┌─┐┌┬┐ /__/ (_(__(_)/ (_/_)_(_)/ (_(_(_(__(/_(_(_ * ├─┘├┬┘│ │ │││ ││ │ (__ / .-/ © Jekyll Island Inc. 2018 * ┴ ┴└─└─┘─┴┘└─┘└─┘ ┴ (_/ .--,-``-. *========,---,.======================____==========================/ / '.=======,---,====* * ,' .' | ,' , `. / ../ ; .' .' `\ * ,---.' | ,---. ,-+-,.' _ | ,---. \ ``\ .`- ' ,---.' \ * | | .' ' ,'\ ,-+-. ; , || ' ,'\ ,---,. \___\/ \ : | | .`\ | * : : : / / | ,--.'|' | || / / | ,' .' | \ : | : : | ' | * : | |-, . ; ,. : | | ,', | |, . ; ,. : ,---.' | / / / | ' ' ; : * | : ;/| ' | |: : | | / | |--' ' | |: : | | .' \ \ \ ' | ; . | * | | .' ' | .; : | : | | , ' | .; : : |.' ___ / : | | | : | ' * ' : ' | : | | : | |/ | : | `---' / /\ / : ' : | / ; * | | | \ \ / | | |`-' \ \ / / ,,/ ',- . | | '` ,/ * | : \ `----' | ;/ `----' \ ''\ ; ; : .' *====| | ,'=============='---'==========(soon edition)===========\ \ .'===| ,.'======* * `----' `--`-,,-' '---' * ╔═╗┌─┐┌─┐┬┌─┐┬┌─┐┬ ┌─────────────────────────┐ ╦ ╦┌─┐┌┐ ╔═╗┬┌┬┐┌─┐ * ║ ║├┤ ├┤ ││ │├─┤│ │ https://exitscam.me │ ║║║├┤ ├┴┐╚═╗│ │ ├┤ * ╚═╝└ └ ┴└─┘┴┴ ┴┴─┘ └─┬─────────────────────┬─┘ ╚╩╝└─┘└─┘╚═╝┴ ┴ └─┘ * ┌────────────────────────────────┘ └──────────────────────────────┐ * │╔═╗┌─┐┬ ┬┌┬┐┬┌┬┐┬ ┬ ╔╦╗┌─┐┌─┐┬┌─┐┌┐┌ ╦┌┐┌┌┬┐┌─┐┬─┐┌─┐┌─┐┌─┐┌─┐ ╔═╗┌┬┐┌─┐┌─┐┬┌─│ * │╚═╗│ ││ │ │││ │ └┬┘ ═ ║║├┤ └─┐││ ┬│││ ═ ║│││ │ ├┤ ├┬┘├┤ ├─┤│ ├┤ ═ ╚═╗ │ ├─┤│ ├┴┐│ * │╚═╝└─┘┴─┘┴─┴┘┴ ┴ ┴ ═╩╝└─┘└─┘┴└─┘┘└┘ ╩┘└┘ ┴ └─┘┴└─└ ┴ ┴└─┘└─┘ ╚═╝ ┴ ┴ ┴└─┘┴ ┴│ * │ ┌──────────┐ ┌───────┐ ┌─────────┐ ┌────────┐ │ * └────┤ Inventor ├───────────┤ Justo ├────────────┤ Sumpunk ├──────────────┤ Mantso ├──┘ * └──────────┘ └───────┘ └─────────┘ └────────┘ * ┌─────────────────────────────────────────────────────────┐ ╔╦╗┬ ┬┌─┐┌┐┌┬┌─┌─┐ ╔╦╗┌─┐ * │ Ambius, Aritz Cracker, Cryptoknight, Crypto McPump, │ ║ ├─┤├─┤│││├┴┐└─┐ ║ │ │ * │ Capex, JogFera, The Shocker, Daok, Randazzz, PumpRabbi, │ ╩ ┴ ┴┴ ┴┘└┘┴ ┴└─┘ ╩ └─┘ * │ Kadaz, Incognito Jo, Lil Stronghands, Maojk, Psaints, └───────────────────────────┐ * │ P3DHeem, 3DCrypto, FaFiam, Crypto Yardi, Ninja Turtle, Psaints, Satoshi, Vitalik, │ * │ Justin Sun, Nano 2nd, Bogdanoffs Isaac Newton, Nikola Tesla, │ * │ Le Comte De Saint Germain, Albert Einstein, Socrates, & all the volunteer moderator │ * │ & support staff, content, creators, autonomous agents, and indie devs for P3D. │ * │ Without your help, we wouldn't have the time to code this. │ * └─────────────────────────────────────────────────────────────────────────────────────┘ * * This product is protected under license. Any unauthorized copy, modification, or use without * express written consent from the creators is prohibited. * * WARNING: THIS PRODUCT IS HIGHLY ADDICTIVE. IF YOU HAVE AN ADDICTIVE NATURE. DO NOT PLAY. */ //============================================================================== // _ _ _ _|_ _ . // (/_\/(/_| | | _\ . //============================================================================== contract F3Devents { // fired whenever a player registers a name event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, bytes32 affiliateName, uint256 amountPaid, uint256 timeStamp ); // fired at end of buy or reload event onEndTx ( uint256 compressedData, uint256 compressedIDs, bytes32 playerName, address playerAddress, uint256 ethIn, uint256 keysBought, address winnerAddr, bytes32 winnerName, uint256 amountWon, uint256 newPot, uint256 P3DAmount, uint256 genAmount, uint256 potAmount, uint256 airDropPot ); // fired whenever theres a withdraw event onWithdraw ( uint256 indexed playerID, address playerAddress, bytes32 playerName, uint256 ethOut, uint256 timeStamp ); // fired whenever a withdraw forces end round to be ran event onWithdrawAndDistribute ( address playerAddress, bytes32 playerName, uint256 ethOut, uint256 compressedData, uint256 compressedIDs, address winnerAddr, bytes32 winnerName, uint256 amountWon, uint256 newPot, uint256 P3DAmount, uint256 genAmount ); // (fomo3d long only) fired whenever a player tries a buy after round timer // hit zero, and causes end round to be ran. event onBuyAndDistribute ( address playerAddress, bytes32 playerName, uint256 ethIn, uint256 compressedData, uint256 compressedIDs, address winnerAddr, bytes32 winnerName, uint256 amountWon, uint256 newPot, uint256 P3DAmount, uint256 genAmount ); // (fomo3d long only) fired whenever a player tries a reload after round timer // hit zero, and causes end round to be ran. event onReLoadAndDistribute ( address playerAddress, bytes32 playerName, uint256 compressedData, uint256 compressedIDs, address winnerAddr, bytes32 winnerName, uint256 amountWon, uint256 newPot, uint256 P3DAmount, uint256 genAmount ); // fired whenever an affiliate is paid event onAffiliatePayout ( uint256 indexed affiliateID, address affiliateAddress, bytes32 affiliateName, uint256 indexed roundID, uint256 indexed buyerID, uint256 amount, uint256 timeStamp ); // received pot swap deposit event onPotSwapDeposit ( uint256 roundID, uint256 amountAddedToPot ); } contract FoMo3DSoon is F3Devents{ using SafeMath for uint256; using NameFilter for string; using F3DKeysCalcFast for uint256; DiviesInterface constant private Divies = DiviesInterface(0xC0c001140319C5f114F8467295b1F22F86929Ad0); JIincForwarderInterface constant private Jekyll_Island_Inc = JIincForwarderInterface(0xdd4950F977EE28D2C132f1353D1595035Db444EE); PlayerBookInterface constant private PlayerBook = PlayerBookInterface(0xD60d353610D9a5Ca478769D371b53CEfAA7B6E4c); //============================================================================== // _ _ _ |`. _ _ _ |_ | _ _ . // (_(_)| |~|~|(_||_|| (_||_)|(/__\ . (game settings) //=================_|=========================================================== string constant public name = "FoMo3D Soon(tm) Edition"; string constant public symbol = "F3D"; uint256 private rndGap_ = 60 seconds; // length of ICO phase, set to 1 year for EOS. uint256 constant private rndInit_ = 5 minutes; // round timer starts at this uint256 constant private rndInc_ = 5 minutes; // every full key purchased adds this much to the timer uint256 constant private rndMax_ = 5 minutes; // max length a round timer can be //============================================================================== // _| _ _|_ _ _ _ _|_ _ . // (_|(_| | (_| _\(/_ | |_||_) . (data used to store game info that changes) //=============================|================================================ uint256 public airDropPot_; // person who gets the airdrop wins part of this pot uint256 public airDropTracker_ = 0; // incremented each time a "qualified" tx occurs. used to determine winning air drop uint256 public rID_; // round id number / total rounds that have happened //**************** // PLAYER DATA //**************** mapping (address => uint256) public pIDxAddr_; // (addr => pID) returns player id by address mapping (bytes32 => uint256) public pIDxName_; // (name => pID) returns player id by name mapping (uint256 => F3Ddatasets.Player) public plyr_; // (pID => data) player data mapping (uint256 => mapping (uint256 => F3Ddatasets.PlayerRounds)) public plyrRnds_; // (pID => rID => data) player round data by player id & round id mapping (uint256 => mapping (bytes32 => bool)) public plyrNames_; // (pID => name => bool) list of names a player owns. (used so you can change your display name amongst any name you own) //**************** // ROUND DATA //**************** mapping (uint256 => F3Ddatasets.Round) public round_; // (rID => data) round data mapping (uint256 => mapping(uint256 => uint256)) public rndTmEth_; // (rID => tID => data) eth in per team, by round id and team id //**************** // TEAM FEE DATA //**************** mapping (uint256 => F3Ddatasets.TeamFee) public fees_; // (team => fees) fee distribution by team mapping (uint256 => F3Ddatasets.PotSplit) public potSplit_; // (team => fees) pot split distribution by team //============================================================================== // _ _ _ __|_ _ __|_ _ _ . // (_(_)| |_\ | | |_|(_ | (_)| . (initial data setup upon contract deploy) //============================================================================== constructor() public { // Team allocation structures // 0 = whales // 1 = bears // 2 = sneks // 3 = bulls // Team allocation percentages // (F3D, P3D) + (Pot , Referrals, Community) // Referrals / Community rewards are mathematically designed to come from the winner's share of the pot. fees_[0] = F3Ddatasets.TeamFee(30,6); //50% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot fees_[1] = F3Ddatasets.TeamFee(43,0); //43% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot fees_[2] = F3Ddatasets.TeamFee(56,10); //20% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot fees_[3] = F3Ddatasets.TeamFee(43,8); //35% to pot, 10% to aff, 2% to com, 1% to pot swap, 1% to air drop pot // how to split up the final pot based on which team was picked // (F3D, P3D) potSplit_[0] = F3Ddatasets.PotSplit(15,10); //48% to winner, 25% to next round, 2% to com potSplit_[1] = F3Ddatasets.PotSplit(25,0); //48% to winner, 25% to next round, 2% to com potSplit_[2] = F3Ddatasets.PotSplit(20,20); //48% to winner, 10% to next round, 2% to com potSplit_[3] = F3Ddatasets.PotSplit(30,10); //48% to winner, 10% to next round, 2% to com } //============================================================================== // _ _ _ _|. |`. _ _ _ . // | | |(_)(_||~|~|(/_| _\ . (these are safety checks) //============================================================================== /** * @dev used to make sure no one can interact with contract until it has * been activated. */ modifier isActivated() { require(activated_ == true, "its not ready yet. check ?eta in discord"); _; } /** * @dev prevents contracts from interacting with fomo3d */ modifier isHuman() { address _addr = msg.sender; require (_addr == tx.origin); uint256 _codeLength; assembly {_codeLength := extcodesize(_addr)} require(_codeLength == 0, "sorry humans only"); _; } /** * @dev sets boundaries for incoming tx */ modifier isWithinLimits(uint256 _eth) { require(_eth >= 1000000000, "pocket lint: not a valid currency"); require(_eth <= 100000000000000000000000, "no vitalik, no"); /** NOTE THIS NEEDS TO BE CHECKED **/ _; } //============================================================================== // _ |_ |. _ |` _ __|_. _ _ _ . // |_)|_||_)||(_ ~|~|_|| |(_ | |(_)| |_\ . (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) { // 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. * - during live round. this is accurate. (well... unless someone buys before * you do and ups the price! you better HURRY!) * - during ICO phase. this is the max you would get based on current eth * invested during ICO phase. if others invest after you, you will receive * less. (so distract them with meme vids till ICO is over) * -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; // is ICO phase over?? & theres eth in the round? if (_now > round_[_rID].strt + rndGap_ && round_[_rID].eth != 0 && _now <= round_[_rID].end) return ( (round_[_rID].keys.add(1000000000000000000)).ethRec(1000000000000000000) ); else if (_now <= round_[_rID].end) // round hasn't ended (in ICO phase, or ICO phase is over, but round eth is 0) return ( ((round_[_rID].ico.keys()).add(1000000000000000000)).ethRec(1000000000000000000) ); else // rounds over. need price for new round return ( 100000000000000 ); // 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; // are we in ICO phase? if (_now <= round_[_rID].strt + rndGap_) return( ((round_[_rID].end).sub(rndInit_)).sub(_now) ); else if (_now < round_[_rID].end) return( (round_[_rID].end).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) { uint256 _roundMask; uint256 _roundEth; uint256 _roundKeys; uint256 _roundPot; if (round_[_rID].eth == 0 && round_[_rID].ico > 0) { // create a temp round eth based on eth sent in during ICO phase _roundEth = round_[_rID].ico; // create a temp round keys based on keys bought during ICO phase _roundKeys = (round_[_rID].ico).keys(); // create a temp round mask based on eth and keys from ICO phase _roundMask = ((round_[_rID].icoGen).mul(1000000000000000000)) / _roundKeys; // create a temp rount pot based on pot, and dust from mask _roundPot = (round_[_rID].pot).add((round_[_rID].icoGen).sub((_roundMask.mul(_roundKeys)) / (1000000000000000000))); } else { _roundEth = round_[_rID].eth; _roundKeys = round_[_rID].keys; _roundMask = round_[_rID].mask; _roundPot = round_[_rID].pot; } uint256 _playerKeys; if (plyrRnds_[_pID][plyr_[_pID].lrnd].ico == 0) _playerKeys = plyrRnds_[_pID][plyr_[_pID].lrnd].keys; else _playerKeys = calcPlayerICOPhaseKeys(_pID, _rID); // if player is winner if (round_[_rID].plyr == _pID) { return ( (plyr_[_pID].win).add( (_roundPot.mul(48)) / 100 ), (plyr_[_pID].gen).add( getPlayerVaultsHelper(_pID, _roundMask, _roundPot, _roundKeys, _playerKeys) ), plyr_[_pID].aff ); // if player is not the winner } else { return ( plyr_[_pID].win, (plyr_[_pID].gen).add( getPlayerVaultsHelper(_pID, _roundMask, _roundPot, _roundKeys, _playerKeys) ), plyr_[_pID].aff ); } // if round is still going on, we are in ico phase, 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 _roundMask, uint256 _roundPot, uint256 _roundKeys, uint256 _playerKeys) private view returns(uint256) { return( (((_roundMask.add((((_roundPot.mul(potSplit_[round_[rID_].team].gen)) / 100).mul(1000000000000000000)) / _roundKeys)).mul(_playerKeys)) / 1000000000000000000).sub(plyrRnds_[_pID][rID_].mask) ); } /** * @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_; if (round_[_rID].eth != 0) { 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 ); } else { return ( round_[_rID].ico, //0 _rID, //1 (round_[_rID].ico).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 ico 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]; if (plyrRnds_[_pID][_rID].ico == 0) { 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 0 //6 ); } else { return ( _pID, //0 plyr_[_pID].name, //1 calcPlayerICOPhaseKeys(_pID, _rID), //2 plyr_[_pID].win, //3 (plyr_[_pID].gen).add(calcUnMaskedEarnings(_pID, plyr_[_pID].lrnd)), //4 plyr_[_pID].aff, //5 plyrRnds_[_pID][_rID].ico //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 ICO phase or not */ function buyCore(uint256 _pID, uint256 _affID, uint256 _team, F3Ddatasets.EventReturns memory _eventData_) private { // check to see if round has ended. and if player is new to round _eventData_ = manageRoundAndPlayer(_pID, _eventData_); // are we in ICO phase? if (now <= round_[rID_].strt + rndGap_) { // let event data know this is a ICO phase buy order _eventData_.compressedData = _eventData_.compressedData + 2000000000000000000000000000000; // ICO phase core icoPhaseCore(_pID, msg.value, _team, _affID, _eventData_); // round is live } else { // let event data know this is a buy order _eventData_.compressedData = _eventData_.compressedData + 1000000000000000000000000000000; // call core core(_pID, msg.value, _affID, _team, _eventData_); } } /** * @dev logic runs whenever a reload order is executed. determines how to handle * incoming eth depending on if we are in ICO phase or not */ function reLoadCore(uint256 _pID, uint256 _affID, uint256 _team, uint256 _eth, F3Ddatasets.EventReturns memory _eventData_) private { // check to see if round has ended. and if player is new to round _eventData_ = manageRoundAndPlayer(_pID, _eventData_); // 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); // are we in ICO phase? if (now <= round_[rID_].strt + rndGap_) { // let event data know this is an ICO phase reload _eventData_.compressedData = _eventData_.compressedData + 3000000000000000000000000000000; // ICO phase core icoPhaseCore(_pID, _eth, _team, _affID, _eventData_); // round is live } else { // call core core(_pID, _eth, _affID, _team, _eventData_); } } /** * @dev during ICO phase all eth sent in by each player. will be added to an * "investment pool". upon end of ICO phase, all eth will be used to buy keys. * each player receives an amount based on how much they put in, and the * the average price attained. */ function icoPhaseCore(uint256 _pID, uint256 _eth, uint256 _team, uint256 _affID, F3Ddatasets.EventReturns memory _eventData_) private { // setup local rID uint256 _rID = rID_; // if they bought at least 1 whole key (at time of purchase) if ((round_[_rID].ico).keysRec(_eth) >= 1000000000000000000 || round_[_rID].plyr == 0) { // 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; } // add eth to our players & rounds ICO phase investment. this will be used // to determine total keys and each players share plyrRnds_[_pID][_rID].ico = _eth.add(plyrRnds_[_pID][_rID].ico); round_[_rID].ico = _eth.add(round_[_rID].ico); // add eth in to team eth tracker rndTmEth_[_rID][_team] = _eth.add(rndTmEth_[_rID][_team]); // send eth share to com, p3d, affiliate, and fomo3d long _eventData_ = distributeExternal(_rID, _pID, _eth, _affID, _team, _eventData_); // calculate gen share uint256 _gen = (_eth.mul(fees_[_team].gen)) / 100; // add gen share to rounds ICO phase gen tracker (will be distributed // when round starts) round_[_rID].icoGen = _gen.add(round_[_rID].icoGen); // toss 1% into airdrop pot uint256 _air = (_eth / 100); airDropPot_ = airDropPot_.add(_air); // calculate pot share pot (eth = eth - (com share + pot swap share + aff share + p3d share + airdrop pot share)) - gen uint256 _pot = (_eth.sub(((_eth.mul(14)) / 100).add((_eth.mul(fees_[_team].p3d)) / 100))).sub(_gen); // add eth to pot round_[_rID].pot = _pot.add(round_[_rID].pot); // set up event data _eventData_.genAmount = _gen.add(_eventData_.genAmount); _eventData_.potAmount = _pot; // fire event endTx(_rID, _pID, _team, _eth, 0, _eventData_); } /** * @dev this is the core logic for any buy/reload that happens while a round * is live. */ function core(uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, F3Ddatasets.EventReturns memory _eventData_) private { // setup local rID uint256 _rID = rID_; // check to see if its a new round (past ICO phase) && keys were bought in ICO phase if (round_[_rID].eth == 0 && round_[_rID].ico > 0) roundClaimICOKeys(_rID); // if player is new to round and is owed keys from ICO phase if (plyrRnds_[_pID][_rID].keys == 0 && plyrRnds_[_pID][_rID].ico > 0) { // assign player their keys from ICO phase plyrRnds_[_pID][_rID].keys = calcPlayerICOPhaseKeys(_pID, _rID); // zero out ICO phase investment plyrRnds_[_pID][_rID].ico = 0; } // mint the new keys uint256 _keys = (round_[_rID].eth).keysRec(_eth); // if they bought at least 1 whole key if (_keys >= 1000000000000000000) { updateTimer(_keys, _rID); // set new leaders if (round_[_rID].plyr != _pID) round_[_rID].plyr = _pID; if (round_[_rID].team != _team) round_[_rID].team = _team; // set the new leader bool to true _eventData_.compressedData = _eventData_.compressedData + 100; } // manage airdrops if (_eth >= 100000000000000000) { airDropTracker_++; if (airdrop() == true) { // gib muni uint256 _prize; if (_eth >= 10000000000000000000) { // calculate prize and give it to winner _prize = ((airDropPot_).mul(75)) / 100; plyr_[_pID].win = (plyr_[_pID].win).add(_prize); // adjust airDropPot airDropPot_ = (airDropPot_).sub(_prize); // let event know a tier 3 prize was won _eventData_.compressedData += 300000000000000000000000000000000; } else if (_eth >= 1000000000000000000 && _eth < 10000000000000000000) { // calculate prize and give it to winner _prize = ((airDropPot_).mul(50)) / 100; plyr_[_pID].win = (plyr_[_pID].win).add(_prize); // adjust airDropPot airDropPot_ = (airDropPot_).sub(_prize); // let event know a tier 2 prize was won _eventData_.compressedData += 200000000000000000000000000000000; } else if (_eth >= 100000000000000000 && _eth < 1000000000000000000) { // calculate prize and give it to winner _prize = ((airDropPot_).mul(25)) / 100; plyr_[_pID].win = (plyr_[_pID].win).add(_prize); // adjust airDropPot airDropPot_ = (airDropPot_).sub(_prize); // let event know a tier 1 prize was won _eventData_.compressedData += 100000000000000000000000000000000; } // set airdrop happened bool to true _eventData_.compressedData += 10000000000000000000000000000000; // let event know how much was won _eventData_.compressedData += _prize * 1000000000000000000000000000000000; // reset air drop tracker airDropTracker_ = 0; } } // store the air drop tracker number (number of buys since last airdrop) _eventData_.compressedData = _eventData_.compressedData + (airDropTracker_ * 1000); // update player plyrRnds_[_pID][_rID].keys = _keys.add(plyrRnds_[_pID][_rID].keys); // update round round_[_rID].keys = _keys.add(round_[_rID].keys); round_[_rID].eth = _eth.add(round_[_rID].eth); rndTmEth_[_rID][_team] = _eth.add(rndTmEth_[_rID][_team]); // distribute eth _eventData_ = distributeExternal(_rID, _pID, _eth, _affID, _team, _eventData_); _eventData_ = distributeInternal(_rID, _pID, _eth, _team, _keys, _eventData_); // call end tx function to fire end tx event. endTx(_rID, _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) { // if player does not have unclaimed keys bought in ICO phase // return their earnings based on keys held only. if (plyrRnds_[_pID][_rIDlast].ico == 0) return( (((round_[_rIDlast].mask).mul(plyrRnds_[_pID][_rIDlast].keys)) / (1000000000000000000)).sub(plyrRnds_[_pID][_rIDlast].mask) ); else if (now > round_[_rIDlast].strt + rndGap_ && round_[_rIDlast].eth == 0) return( (((((round_[_rIDlast].icoGen).mul(1000000000000000000)) / (round_[_rIDlast].ico).keys()).mul(calcPlayerICOPhaseKeys(_pID, _rIDlast))) / (1000000000000000000)).sub(plyrRnds_[_pID][_rIDlast].mask) ); else return( (((round_[_rIDlast].mask).mul(calcPlayerICOPhaseKeys(_pID, _rIDlast))) / (1000000000000000000)).sub(plyrRnds_[_pID][_rIDlast].mask) ); // otherwise return earnings based on keys owed from ICO phase // (this would be a scenario where they only buy during ICO phase, and never // buy/reload during round) } /** * @dev average ico phase key price is total eth put in, during ICO phase, * divided by the number of keys that were bought with that eth. * -functionhash- 0xdcb6af48 * @return average key price */ function calcAverageICOPhaseKeyPrice(uint256 _rID) public view returns(uint256) { return( (round_[_rID].ico).mul(1000000000000000000) / (round_[_rID].ico).keys() ); } /** * @dev at end of ICO phase, each player is entitled to X keys based on final * average ICO phase key price, and the amount of eth they put in during ICO. * if a player participates in the round post ICO, these will be "claimed" and * added to their rounds total keys. if not, this will be used to calculate * their gen earnings throughout round and on round end. * -functionhash- 0x75661f4c * @return players keys bought during ICO phase */ function calcPlayerICOPhaseKeys(uint256 _pID, uint256 _rID) public view returns(uint256) { if (round_[_rID].icoAvg != 0 || round_[_rID].ico == 0 ) return( ((plyrRnds_[_pID][_rID].ico).mul(1000000000000000000)) / round_[_rID].icoAvg ); else return( ((plyrRnds_[_pID][_rID].ico).mul(1000000000000000000)) / calcAverageICOPhaseKeyPrice(_rID) ); } /** * @dev returns the amount of keys you would get given an amount of eth. * - during live round. this is accurate. (well... unless someone buys before * you do and ups the price! you better HURRY!) * - during ICO phase. this is the max you would get based on current eth * invested during ICO phase. if others invest after you, you will receive * less. (so distract them with meme vids till ICO is over) * -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; // is ICO phase over?? & theres eth in the round? if (_now > round_[_rID].strt + rndGap_ && round_[_rID].eth != 0 && _now <= round_[_rID].end) return ( (round_[_rID].eth).keysRec(_eth) ); else if (_now <= round_[_rID].end) // round hasn't ended (in ICO phase, or ICO phase is over, but round eth is 0) return ( (round_[_rID].ico).keysRec(_eth) ); else // rounds over. need keys for new round return ( (_eth).keys() ); } /** * @dev returns current eth price for X keys. * - during live round. this is accurate. (well... unless someone buys before * you do and ups the price! you better HURRY!) * - during ICO phase. this is the max you would get based on current eth * invested during ICO phase. if others invest after you, you will receive * less. (so distract them with meme vids till ICO is over) * -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; // is ICO phase over?? & theres eth in the round? if (_now > round_[_rID].strt + rndGap_ && round_[_rID].eth != 0 && _now <= round_[_rID].end) return ( (round_[_rID].keys.add(_keys)).ethRec(_keys) ); else if (_now <= round_[_rID].end) // round hasn't ended (in ICO phase, or ICO phase is over, but round eth is 0) return ( (((round_[_rID].ico).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 manageRoundAndPlayer(uint256 _pID, F3Ddatasets.EventReturns memory _eventData_) private returns (F3Ddatasets.EventReturns) { // setup local rID uint256 _rID = rID_; // grab time uint256 _now = now; // check to see if round has ended. we use > instead of >= so that LAST // second snipe tx can extend the round. if (_now > round_[_rID].end) { // check to see if round end has been run yet. (distributes pot) if (round_[_rID].ended == false) { _eventData_ = endRound(_eventData_); round_[_rID].ended = true; } // start next round in ICO phase rID_++; _rID++; round_[_rID].strt = _now; round_[_rID].end = _now.add(rndInit_).add(rndGap_); } // is player new to round? if (plyr_[_pID].lrnd != _rID) { // 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_; // check to round ended with ONLY ico phase transactions if (round_[_rID].eth == 0 && round_[_rID].ico > 0) roundClaimICOKeys(_rID); // grab our winning player and team id's uint256 _winPID = round_[_rID].plyr; uint256 _winTID = round_[_rID].team; // grab our pot amount uint256 _pot = round_[_rID].pot; // calculate our winner share, community rewards, gen share, // p3d share, and amount reserved for next pot uint256 _win = (_pot.mul(48)) / 100; uint256 _com = (_pot / 50); uint256 _gen = (_pot.mul(potSplit_[_winTID].gen)) / 100; uint256 _p3d = (_pot.mul(potSplit_[_winTID].p3d)) / 100; uint256 _res = (((_pot.sub(_win)).sub(_com)).sub(_gen)).sub(_p3d); // calculate ppt for round mask uint256 _ppt = (_gen.mul(1000000000000000000)) / (round_[_rID].keys); uint256 _dust = _gen.sub((_ppt.mul(round_[_rID].keys)) / 1000000000000000000); if (_dust > 0) { _gen = _gen.sub(_dust); _res = _res.add(_dust); } // pay our winner plyr_[_winPID].win = _win.add(plyr_[_winPID].win); // community rewards if (!address(Jekyll_Island_Inc).call.value(_com)(bytes4(keccak256("deposit()")))) { // This ensures Team Just cannot influence the outcome of FoMo3D with // bank migrations by breaking outgoing transactions. // Something we would never do. But that's not the point. // We spent 2000$ in eth re-deploying just to patch this, we hold the // highest belief that everything we create should be trustless. // Team JUST, The name you shouldn't have to trust. _p3d = _p3d.add(_com); _com = 0; } // distribute gen portion to key holders round_[_rID].mask = _ppt.add(round_[_rID].mask); // send share for p3d to divies if (_p3d > 0) Divies.deposit.value(_p3d)(); // fill next round pot with its share round_[_rID + 1].pot += _res; // 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; return(_eventData_); } /** * @dev takes keys bought during ICO phase, and adds them to round. pays * out gen rewards that accumulated during ICO phase */ function roundClaimICOKeys(uint256 _rID) private { // update round eth to account for ICO phase eth investment round_[_rID].eth = round_[_rID].ico; // add keys to round that were bought during ICO phase round_[_rID].keys = (round_[_rID].ico).keys(); // store average ICO key price round_[_rID].icoAvg = calcAverageICOPhaseKeyPrice(_rID); // set round mask from ICO phase uint256 _ppt = ((round_[_rID].icoGen).mul(1000000000000000000)) / (round_[_rID].keys); uint256 _dust = (round_[_rID].icoGen).sub((_ppt.mul(round_[_rID].keys)) / (1000000000000000000)); if (_dust > 0) round_[_rID].pot = (_dust).add(round_[_rID].pot); // <<< your adding to pot and havent updated event data // distribute gen portion to key holders round_[_rID].mask = _ppt.add(round_[_rID].mask); } /** * @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 { // calculate time based on number of keys bought uint256 _newTime = (((_keys) / (1000000000000000000)).mul(rndInc_)).add(round_[_rID].end); // grab time uint256 _now = now; // compare to max and set new end time if (_newTime < (rndMax_).add(_now)) round_[_rID].end = _newTime; else round_[_rID].end = rndMax_.add(_now); } /** * @dev generates a random number between 0-99 and checks to see if thats * resulted in an airdrop win * @return do we have a winner? */ function airdrop() private view returns(bool) { uint256 seed = uint256(keccak256(abi.encodePacked( (block.timestamp).add (block.difficulty).add ((uint256(keccak256(abi.encodePacked(block.coinbase)))) / (now)).add (block.gaslimit).add ((uint256(keccak256(abi.encodePacked(msg.sender)))) / (now)).add (block.number) ))); if((seed - ((seed / 1000) * 1000)) < airDropTracker_) return(true); else return(false); } /** * @dev distributes eth based on fees to com, aff, and p3d */ function distributeExternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, uint256 _team, F3Ddatasets.EventReturns memory _eventData_) private returns(F3Ddatasets.EventReturns) { // pay 2% out to community rewards uint256 _com = _eth / 50; uint256 _p3d; if (!address(Jekyll_Island_Inc).call.value(_com)(bytes4(keccak256("deposit()")))) { // This ensures Team Just cannot influence the outcome of FoMo3D with // bank migrations by breaking outgoing transactions. // Something we would never do. But that's not the point. // We spent 2000$ in eth re-deploying just to patch this, we hold the // highest belief that everything we create should be trustless. // Team JUST, The name you shouldn't have to trust. _p3d = _com; _com = 0; } // pay 1% out to FoMo3D long uint256 _long = _eth / 100; round_[_rID + 1].pot += _long; // distribute share to affiliate uint256 _aff = _eth / 10; // decide what to do with affiliate share of fees // affiliate must not be self, and must have a name registered if (_affID != _pID && plyr_[_affID].name != '') { plyr_[_affID].aff = _aff.add(plyr_[_affID].aff); emit F3Devents.onAffiliatePayout(_affID, plyr_[_affID].addr, plyr_[_affID].name, _rID, _pID, _aff, now); } else { _p3d = _aff; } // pay out p3d _p3d = _p3d.add((_eth.mul(fees_[_team].p3d)) / (100)); if (_p3d > 0) { // deposit to divies contract Divies.deposit.value(_p3d)(); // set up event data _eventData_.P3DAmount = _p3d.add(_eventData_.P3DAmount); } return(_eventData_); } function potSwap() external payable { // setup local rID uint256 _rID = rID_ + 1; round_[_rID].pot = round_[_rID].pot.add(msg.value); emit F3Devents.onPotSwapDeposit(_rID, msg.value); } /** * @dev distributes eth based on fees to gen and pot */ function distributeInternal(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _team, uint256 _keys, F3Ddatasets.EventReturns memory _eventData_) private returns(F3Ddatasets.EventReturns) { // calculate gen share uint256 _gen = (_eth.mul(fees_[_team].gen)) / 100; // toss 1% into airdrop pot uint256 _air = (_eth / 100); airDropPot_ = airDropPot_.add(_air); // update eth balance (eth = eth - (com share + pot swap share + aff share + p3d share + airdrop pot share)) _eth = _eth.sub(((_eth.mul(14)) / 100).add((_eth.mul(fees_[_team].p3d)) / 100)); // calculate pot uint256 _pot = _eth.sub(_gen); // distribute gen share (thats what updateMasks() does) and adjust // balances for dust. uint256 _dust = updateMasks(_rID, _pID, _gen, _keys); if (_dust > 0) _gen = _gen.sub(_dust); // add eth to pot round_[_rID].pot = _pot.add(_dust).add(round_[_rID].pot); // set up event data _eventData_.genAmount = _gen.add(_eventData_.genAmount); _eventData_.potAmount = _pot; return(_eventData_); } /** * @dev updates masks for round and player when keys are bought * @return dust left over */ function updateMasks(uint256 _rID, uint256 _pID, uint256 _gen, uint256 _keys) private returns(uint256) { /* MASKING NOTES earnings masks are a tricky thing for people to wrap their minds around. the basic thing to understand here. is were going to have a global tracker based on profit per share for each round, that increases in relevant proportion to the increase in share supply. the player will have an additional mask that basically says "based on the rounds mask, my shares, and how much i've already withdrawn, how much is still owed to me?" */ // calc profit per key & round mask based on this buy: (dust goes to pot) uint256 _ppt = (_gen.mul(1000000000000000000)) / (round_[_rID].keys); round_[_rID].mask = _ppt.add(round_[_rID].mask); // calculate player earning from their own buy (only based on the keys // they just bought). & update player earnings mask uint256 _pearn = (_ppt.mul(_keys)) / (1000000000000000000); plyrRnds_[_pID][_rID].mask = (((round_[_rID].mask.mul(_keys)) / (1000000000000000000)).sub(_pearn)).add(plyrRnds_[_pID][_rID].mask); // calculate & return dust return(_gen.sub((_ppt.mul(round_[_rID].keys)) / (1000000000000000000))); } /** * @dev adds up unmasked earnings, & vault earnings, sets them all to 0 * @return earnings in wei format */ function withdrawEarnings(uint256 _pID) private returns(uint256) { // update gen vault updateGenVault(_pID, plyr_[_pID].lrnd); // from vaults uint256 _earnings = (plyr_[_pID].win).add(plyr_[_pID].gen).add(plyr_[_pID].aff); if (_earnings > 0) { plyr_[_pID].win = 0; plyr_[_pID].gen = 0; plyr_[_pID].aff = 0; } return(_earnings); } /** * @dev prepares compression data and fires event for buy or reload tx's */ function endTx(uint256 _rID, uint256 _pID, uint256 _team, uint256 _eth, uint256 _keys, F3Ddatasets.EventReturns memory _eventData_) private { _eventData_.compressedData = _eventData_.compressedData + (now * 1000000000000000000) + (_team * 100000000000000000000000000000); _eventData_.compressedIDs = _eventData_.compressedIDs + _pID + (_rID * 10000000000000000000000000000000000000000000000000000); emit F3Devents.onEndTx ( _eventData_.compressedData, _eventData_.compressedIDs, plyr_[_pID].name, msg.sender, _eth, _keys, _eventData_.winnerAddr, _eventData_.winnerName, _eventData_.amountWon, _eventData_.newPot, _eventData_.P3DAmount, _eventData_.genAmount, _eventData_.potAmount, airDropPot_ ); } //============================================================================== // (~ _ _ _._|_ . // _)(/_(_|_|| | | \/ . //====================/========================================================= /** upon contract deploy, it will be deactivated. this is a one time * use function that will activate the contract. we do this so devs * have time to set things up on the web end **/ bool public activated_ = false; function activate() public { // only team just can activate require( msg.sender == 0x18E90Fc6F70344f53EBd4f6070bf6Aa23e2D748C || msg.sender == 0x8b4DA1827932D71759687f925D17F81Fc94e3A9D || msg.sender == 0x8e0d985f3Ec1857BEc39B76aAabDEa6B31B67d53 || msg.sender == 0x7ac74Fcc1a71b106F12c55ee8F802C9F672Ce40C || msg.sender == 0xF39e044e1AB204460e06E87c6dca2c6319fC69E3, "only team just can activate" ); // can only be ran once require(activated_ == false, "fomo3d already activated"); // activate the contract activated_ = true; // lets start first round in ICO phase rID_ = 1; round_[1].strt = now; round_[1].end = now + rndInit_ + rndGap_; } } //============================================================================== // __|_ _ __|_ _ . // _\ | | |_|(_ | _\ . //============================================================================== 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 F3DKeysCalcFast { 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(200000000000000000000000000000000)).add(2500000000000000000000000000000000000000000000000000000000000000)).sqrt()).sub(50000000000000000000000000000000)) / (100000000000000); } /** * @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 ((50000000000000).mul(_keys.sq()).add(((100000000000000).mul(_keys.mul(1000000000000000000))) / (2))) / ((1000000000000000000).sq()); } } //============================================================================== // . _ _|_ _ _ |` _ _ _ _ . // || | | (/_| ~|~(_|(_(/__\ . //============================================================================== interface DiviesInterface { function deposit() external payable; } interface JIincForwarderInterface { function deposit() external payable returns(bool); function status() external view returns(address, address, bool); function startMigration(address _newCorpBank) external returns(bool); function cancelMigration() external returns(bool); function finishMigration() external returns(bool); function setup(address _firstCorpBank) external; } interface PlayerBookInterface { function getPlayerID(address _addr) external returns (uint256); function getPlayerName(uint256 _pID) external view returns (bytes32); function getPlayerLAff(uint256 _pID) external view returns (uint256); function getPlayerAddr(uint256 _pID) external view returns (address); function getNameFee() external view returns (uint256); function registerNameXIDFromDapp(address _addr, bytes32 _name, uint256 _affCode, bool _all) external payable returns(bool, uint256); function registerNameXaddrFromDapp(address _addr, bytes32 _name, address _affCode, bool _all) external payable returns(bool, uint256); function registerNameXnameFromDapp(address _addr, bytes32 _name, bytes32 _affCode, bool _all) external payable returns(bool, uint256); } /** * @title -Name Filter- v0.1.9 * ┌┬┐┌─┐┌─┐┌┬┐ ╦╦ ╦╔═╗╔╦╗ ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐ * │ ├┤ ├─┤│││ ║║ ║╚═╗ ║ ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐ * ┴ └─┘┴ ┴┴ ┴ ╚╝╚═╝╚═╝ ╩ ┴ ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘ * _____ _____ * (, / /) /) /) (, / /) /) * ┌─┐ / _ (/_ // // / _ // _ __ _(/ * ├─┤ ___/___(/_/(__(_/_(/_(/_ ___/__/_)_(/_(_(_/ (_(_(_ * ┴ ┴ / / .-/ _____ (__ / * (__ / (_/ (, / /)™ * / __ __ __ __ _ __ __ _ _/_ _ _(/ * ┌─┐┬─┐┌─┐┌┬┐┬ ┬┌─┐┌┬┐ /__/ (_(__(_)/ (_/_)_(_)/ (_(_(_(__(/_(_(_ * ├─┘├┬┘│ │ │││ ││ │ (__ / .-/ © Jekyll Island Inc. 2018 * ┴ ┴└─└─┘─┴┘└─┘└─┘ ┴ (_/ * _ __ _ ____ ____ _ _ _____ ____ ___ *=============| |\ | / /\ | |\/| | |_ =====| |_ | | | | | | | |_ | |_)==============* *=============|_| \| /_/--\ |_| | |_|__=====|_| |_| |_|__ |_| |_|__ |_| \==============* * * ╔═╗┌─┐┌┐┌┌┬┐┬─┐┌─┐┌─┐┌┬┐ ╔═╗┌─┐┌┬┐┌─┐ ┌──────────┐ * ║ │ ││││ │ ├┬┘├─┤│ │ ║ │ │ ││├┤ │ Inventor │ * ╚═╝└─┘┘└┘ ┴ ┴└─┴ ┴└─┘ ┴ ╚═╝└─┘─┴┘└─┘ └──────────┘ */ library NameFilter { /** * @dev filters name strings * -converts uppercase to lower case. * -makes sure it does not start/end with a space * -makes sure it does not contain multiple spaces in a row * -cannot be only numbers * -cannot start with 0x * -restricts characters to A-Z, a-z, 0-9, and space. * @return reprocessed string in bytes32 format */ function nameFilter(string _input) internal pure returns(bytes32) { bytes memory _temp = bytes(_input); uint256 _length = _temp.length; //sorry limited to 32 characters require (_length <= 32 && _length > 0, "string must be between 1 and 32 characters"); // make sure it doesnt start with or end with space require(_temp[0] != 0x20 && _temp[_length-1] != 0x20, "string cannot start or end with space"); // make sure first two characters are not 0x if (_temp[0] == 0x30) { require(_temp[1] != 0x78, "string cannot start with 0x"); require(_temp[1] != 0x58, "string cannot start with 0X"); } // create a bool to track if we have a non number character bool _hasNonNumber; // convert & check for (uint256 i = 0; i < _length; i++) { // if its uppercase A-Z if (_temp[i] > 0x40 && _temp[i] < 0x5b) { // convert to lower case a-z _temp[i] = byte(uint(_temp[i]) + 32); // we have a non number if (_hasNonNumber == false) _hasNonNumber = true; } else { require ( // require character is a space _temp[i] == 0x20 || // OR lowercase a-z (_temp[i] > 0x60 && _temp[i] < 0x7b) || // or 0-9 (_temp[i] > 0x2f && _temp[i] < 0x3a), "string contains invalid characters" ); // make sure theres not 2x spaces in a row if (_temp[i] == 0x20) require( _temp[i+1] != 0x20, "string cannot contain consecutive spaces"); // see if we have a character other than a number if (_hasNonNumber == false && (_temp[i] < 0x30 || _temp[i] > 0x39)) _hasNonNumber = true; } } require(_hasNonNumber == true, "string cannot be only numbers"); bytes32 _ret; assembly { _ret := mload(add(_temp, 32)) } return (_ret); } } /** * @title SafeMath v0.1.9 * @dev Math operations with safety checks that throw on error * change notes: original SafeMath library from OpenZeppelin modified by Inventor * - added sqrt * - added sq * - added pwr * - changed asserts to requires with error log outputs * - removed div, its useless */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; require(c / a == b, "SafeMath mul failed"); return c; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath sub failed"); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; require(c >= a, "SafeMath add failed"); return c; } /** * @dev gives square root of given x. */ function sqrt(uint256 x) internal pure returns (uint256 y) { uint256 z = ((add(x,1)) / 2); y = x; while (z < y) { y = z; z = ((add((x / z),z)) / 2); } } /** * @dev gives square. multiplies x by x */ function sq(uint256 x) internal pure returns (uint256) { return (mul(x,x)); } /** * @dev x to the power of y */ function pwr(uint256 x, uint256 y) internal pure returns (uint256) { if (x==0) return (0); else if (y==0) return (1); else { uint256 z = x; for (uint256 i=1; i < y; i++) z = mul(z,x); return (z); } } }
Contract Security Audit
- 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":true,"inputs":[{"name":"_pID","type":"uint256"},{"name":"_rID","type":"uint256"}],"name":"calcPlayerICOPhaseKeys","outputs":[{"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":"_rID","type":"uint256"}],"name":"calcAverageICOPhaseKeyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"plyr_","outputs":[{"name":"addr","type":"address"},{"name":"name","type":"bytes32"},{"name":"win","type":"uint256"},{"name":"gen","type":"uint256"},{"name":"aff","type":"uint256"},{"name":"lrnd","type":"uint256"},{"name":"laff","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"potSwap","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"getPlayerInfoByAddress","outputs":[{"name":"","type":"uint256"},{"name":"","type":"bytes32"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"playerID","type":"uint256"},{"indexed":true,"name":"playerAddress","type":"address"},{"indexed":true,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"isNewPlayer","type":"bool"},{"indexed":false,"name":"affiliateID","type":"uint256"},{"indexed":false,"name":"affiliateAddress","type":"address"},{"indexed":false,"name":"affiliateName","type":"bytes32"},{"indexed":false,"name":"amountPaid","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onNewName","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"ethIn","type":"uint256"},{"indexed":false,"name":"keysBought","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"P3DAmount","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"},{"indexed":false,"name":"potAmount","type":"uint256"},{"indexed":false,"name":"airDropPot","type":"uint256"}],"name":"onEndTx","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"playerID","type":"uint256"},{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"ethOut","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"ethOut","type":"uint256"},{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"P3DAmount","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"}],"name":"onWithdrawAndDistribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"ethIn","type":"uint256"},{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"P3DAmount","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"}],"name":"onBuyAndDistribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"playerAddress","type":"address"},{"indexed":false,"name":"playerName","type":"bytes32"},{"indexed":false,"name":"compressedData","type":"uint256"},{"indexed":false,"name":"compressedIDs","type":"uint256"},{"indexed":false,"name":"winnerAddr","type":"address"},{"indexed":false,"name":"winnerName","type":"bytes32"},{"indexed":false,"name":"amountWon","type":"uint256"},{"indexed":false,"name":"newPot","type":"uint256"},{"indexed":false,"name":"P3DAmount","type":"uint256"},{"indexed":false,"name":"genAmount","type":"uint256"}],"name":"onReLoadAndDistribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"affiliateID","type":"uint256"},{"indexed":false,"name":"affiliateAddress","type":"address"},{"indexed":false,"name":"affiliateName","type":"bytes32"},{"indexed":true,"name":"roundID","type":"uint256"},{"indexed":true,"name":"buyerID","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"timeStamp","type":"uint256"}],"name":"onAffiliatePayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"roundID","type":"uint256"},{"indexed":false,"name":"amountAddedToPot","type":"uint256"}],"name":"onPotSwapDeposit","type":"event"}]
Contract Creation Code
6080604052603c6000908155600255600d805460ff1916905534801561002457600080fd5b50604080518082018252601e808252600660208084019182526000808052600b80835294517fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f765591517fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f775584518086018652602b808252818301848152600180865287855292517f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5cf55517f72c6bfb7988af3a1efa6568f02a999bc52252641c659d85961ca3d372b57d5d0558651808801885260388152600a818501818152600280885289875292517fa50eece07c7db1631545c0069bd8f5f54d5935e215d59097edf258a44ba9163455517fa50eece07c7db1631545c0069bd8f5f54d5935e215d59097edf258a44ba91635558851808a018a529283526008838601908152600380885298865292517f64c15cc42be7899b001f818cf4433057002112c418d1d3a67cd5cb453051d33e5591517f64c15cc42be7899b001f818cf4433057002112c418d1d3a67cd5cb453051d33f5587518089018952600f8152808501838152868052600c80875291517f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e855517f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e9558851808a018a5260198152808601878152948752818652517fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c5592517fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5d55875180890189526014808252818601908152918652838552517f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd72055517f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd721558651808801909752938652858201938452939091529190915290517fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd755517fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd855615b5780620003406000396000f3006080604052600436106101be5763ffffffff60e060020a600035041663018a25e8811461036b57806306fdde0314610392578063079ce3271461041c5780630f15f4c01461043c57806310f01eba1461045157806311a09ae71461047257806324c33d33146104875780632660316e146104fe5780632ce219991461052d5780632e19ebdc1461055e578063349cdcac146105765780633ccfd60b146105945780633ddd4698146105a957806349cc635d146106055780635893d4811461062f578063624ae5c01461064a578063630664341461065f578063685ffd8314610695578063747dff42146106e857806375661f4c1461077357806382bfc7391461078e5780638f38f309146107b55780638f7140ea146107c3578063921dec21146107de57806395d89b411461083157806398a0871d14610846578063a2bccae91461085d578063a65b37a11461089e578063c519500e146108ac578063c7e284b8146108c4578063ce89c80c146108d9578063cf808000146108f4578063d53b26791461090c578063d87574e014610921578063dcb6af4814610936578063de7874f31461094e578063ed78cf4a146109a8578063ee0b5d8b146109b0575b6101c6615a32565b600d5460009060ff16151560011461022a576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461023957600080fd5b50803b8015610280576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca008110156102d8576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610328576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b61033185610a09565b33600090815260046020908152604080832054808452600692839052922001549196509450610364908590600288610cbe565b5050505050005b34801561037757600080fd5b50610380610d34565b60408051918252519081900360200190f35b34801561039e57600080fd5b506103a7610e3e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103e15781810151838201526020016103c9565b50505050905090810190601f16801561040e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561042857600080fd5b5061043a600435602435604435610e75565b005b34801561044857600080fd5b5061043a611090565b34801561045d57600080fd5b50610380600160a060020a036004351661123f565b34801561047e57600080fd5b50610380611251565b34801561049357600080fd5b5061049f600435611257565b604080519c8d5260208d019b909b528b8b019990995296151560608b015260808a019590955260a089019390935260c088019190915260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b34801561050a57600080fd5b506105196004356024356112c4565b604080519115158252519081900360200190f35b34801561053957600080fd5b506105456004356112e4565b6040805192835260208301919091528051918290030190f35b34801561056a57600080fd5b506103806004356112fd565b34801561058257600080fd5b5061043a60043560243560443561130f565b3480156105a057600080fd5b5061043a611507565b6040805160206004803580820135601f810184900484028501840190955284845261043a94369492936024939284019190819084018382808284375094975050600160a060020a0385351695505050505060200135151561187e565b34801561061157600080fd5b5061043a600435600160a060020a0360243516604435606435611a45565b34801561063b57600080fd5b50610380600435602435611c37565b34801561065657600080fd5b50610380611c54565b34801561066b57600080fd5b50610677600435611c5a565b60408051938452602084019290925282820152519081900360600190f35b6040805160206004803580820135601f810184900484028501840190955284845261043a943694929360249392840191908190840183828082843750949750508435955050505050602001351515611f2f565b3480156106f457600080fd5b506106fd61201d565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b34801561077f57600080fd5b50610380600435602435612400565b34801561079a57600080fd5b5061043a600160a060020a03600435166024356044356124cd565b61043a6004356024356126d8565b3480156107cf57600080fd5b5061043a6004356024356128d1565b6040805160206004803580820135601f810184900484028501840190955284845261043a9436949293602493928401919081908401838280828437509497505084359550505050506020013515156129ae565b34801561083d57600080fd5b506103a7612a9c565b61043a600160a060020a0360043516602435612ad3565b34801561086957600080fd5b50610878600435602435612cf9565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61043a600435602435612d2b565b3480156108b857600080fd5b50610545600435612f37565b3480156108d057600080fd5b50610380612f50565b3480156108e557600080fd5b50610380600435602435612fed565b34801561090057600080fd5b506103806004356130b8565b34801561091857600080fd5b50610519613193565b34801561092d57600080fd5b5061038061319c565b34801561094257600080fd5b506103806004356131a2565b34801561095a57600080fd5b506109666004356131fa565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b61043a613242565b3480156109bc57600080fd5b506109d1600160a060020a03600435166132bf565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b610a11615a32565b336000908152600460205260408120549080821515610cb557604080517fe56556a9000000000000000000000000000000000000000000000000000000008152336004820152905173d60d353610d9a5ca478769d371b53cefaa7b6e4c9163e56556a99160248083019260209291908290030181600087803b158015610a9657600080fd5b505af1158015610aaa573d6000803e3d6000fd5b505050506040513d6020811015610ac057600080fd5b5051604080517f82e37b2c00000000000000000000000000000000000000000000000000000000815260048101839052905191945073d60d353610d9a5ca478769d371b53cefaa7b6e4c916382e37b2c916024808201926020929091908290030181600087803b158015610b3357600080fd5b505af1158015610b47573d6000803e3d6000fd5b505050506040513d6020811015610b5d57600080fd5b5051604080517fe3c08adf00000000000000000000000000000000000000000000000000000000815260048101869052905191935073d60d353610d9a5ca478769d371b53cefaa7b6e4c9163e3c08adf916024808201926020929091908290030181600087803b158015610bd057600080fd5b505af1158015610be4573d6000803e3d6000fd5b505050506040513d6020811015610bfa57600080fd5b505133600081815260046020908152604080832088905587835260069091529020805473ffffffffffffffffffffffffffffffffffffffff1916909117905590508115610c8357600082815260056020908152604080832086905585835260068252808320600190810186905560088352818420868552909252909120805460ff191690911790555b8015801590610c925750828114155b15610cad576000838152600660208190526040909120018190555b845160010185525b50929392505050565b610cc88482613430565b6000805460035482526009602052604090912060040154919250014211610d0e5780516c193e5939a08ce9dbd480000000018152610d09843484868561355b565b610d2e565b80516c0c9f2c9cd04674edea40000000018152610d2e8434858585613835565b50505050565b600354600080548282526009602052604082206004015491929142910181118015610d6f575060008281526009602052604090206006015415155b8015610d8c57506000828152600960205260409020600201548111155b15610dd457600082815260096020526040902060050154610dcd90670de0b6b3a764000090610dc1908263ffffffff613cea16565b9063ffffffff613d4516565b9250610e39565b6000828152600960205260409020600201548111610e2f57610dcd670de0b6b3a7640000610dc1670de0b6b3a7640000610e236009600088815260200190815260200160002060090154613d72565b9063ffffffff613cea16565b655af3107a400092505b505090565b60408051808201909152601781527f466f4d6f334420536f6f6e28746d292045646974696f6e000000000000000000602082015281565b610e7d615a32565b600d54600090819060ff161515600114610ee3576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b336000328214610ef257600080fd5b50803b8015610f39576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b85633b9aca00811015610f91576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610fe1576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b336000908152600460205260409020549450881580611010575060008581526006602052604090206001015489145b1561102f5760008581526006602081905260409091200154935061106d565b60008981526005602090815260408083205488845260069283905292200154909450841461106d576000858152600660208190526040909120018490555b61107688613dea565b975061108585858a8a8a613e0e565b505050505050505050565b7318e90fc6f70344f53ebd4f6070bf6aa23e2d748c3314806110c55750738b4da1827932d71759687f925d17f81fc94e3a9d33145b806110e35750738e0d985f3ec1857bec39b76aaabdea6b31b67d5333145b806111015750737ac74fcc1a71b106f12c55ee8f802c9f672ce40c33145b8061111f575073f39e044e1ab204460e06e87c6dca2c6319fc69e333145b1515611175576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600d5460ff16156111d0576040805160e560020a62461bcd02815260206004820152601860248201527f666f6d6f336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b600d805460ff19166001908117909155600381905560009081526009602052427f92e85d02570a8092d09a6e3a57665bc3815a2699a4074001bf1ccabf660f5a3a81905590540161012c017f92e85d02570a8092d09a6e3a57665bc3815a2699a4074001bf1ccabf660f5a3855565b60046020526000908152604090205481565b60025481565b60096020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff169080600401549080600501549080600601549080600701549080600801549080600901549080600a01549080600b015490508c565b600860209081526000928352604080842090915290825290205460ff1681565b600b602052600090815260409020805460019091015482565b60056020526000908152604090205481565b611317615a32565b600d5460009060ff16151560011461137b576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461138a57600080fd5b50803b80156113d1576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b84633b9aca00811015611429576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611479576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b33600090815260046020526040902054935087158061149757508388145b156114b6576000848152600660208190526040909120015497506114e5565b6000848152600660208190526040909120015488146114e5576000848152600660208190526040909120018890555b6114ee87613dea565b96506114fd8489898989613e0e565b5050505050505050565b600080600080611515615a32565b600d5460ff161515600114611576576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461158557600080fd5b50803b80156115cc576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b60035433600090815260046020908152604080832054848452600990925290912060020154919850429750955086118015611619575060008781526009602052604090206003015460ff16155b156117bf576000878152600960205260409020600301805460ff1916600117905561164383613e92565b925061164e8561428f565b9350600084111561169f57600085815260066020526040808220549051600160a060020a039091169186156108fc02918791818181858888f1935050505015801561169d573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc3360066000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a1611875565b6117c88561428f565b9350600084111561181957600085815260066020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611817573d6000803e3d6000fd5b505b6000858152600660209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b60008080808080338132821461189357600080fd5b50803b80156118da576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b6118e38b614316565b604080517faa4d490b000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052600160a060020a038e1660448301528c151560648301528251939b50995034985073d60d353610d9a5ca478769d371b53cefaa7b6e4c9263aa4d490b928a926084808201939182900301818588803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b50505050506040513d604081101561199f57600080fd5b508051602091820151600160a060020a03808b1660008181526004865260408082205485835260068852918190208054600190910154825188151581529889018790529416878201526060870193909352608086018c90524260a0870152915193995091975095508a92909186917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a45050505050505050505050565b3373d60d353610d9a5ca478769d371b53cefaa7b6e4c14611ad6576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0383166000908152600460205260409020548414611b1157600160a060020a03831660009081526004602052604090208490555b6000828152600560205260409020548414611b385760008281526005602052604090208490555b600084815260066020526040902054600160a060020a03848116911614611b8e576000848152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385161790555b6000848152600660205260409020600101548214611bbb5760008481526006602052604090206001018290555b600084815260066020819052604090912001548114611bea576000848152600660208190526040909120018190555b600084815260086020908152604080832085845290915290205460ff161515610d2e5760008481526008602090815260408083208584529091529020805460ff1916600117905550505050565b600a60209081526000928352604080842090915290825290205481565b60035481565b60008060008060008060008060006003549550600960008781526020019081526020016000206002015442118015611ca4575060008681526009602052604090206003015460ff16155b15611efa57600086815260096020526040902060060154158015611cd75750600086815260096020819052604082200154115b15611da257600086815260096020819052604090912001549350611cfa84613d72565b6000878152600960205260409020600a01549093508390611d2990670de0b6b3a764000063ffffffff614b2916565b811515611d3257fe5b049450611d9b611d7d670de0b6b3a7640000611d54888763ffffffff614b2916565b811515611d5d57fe5b60008a8152600960205260409020600a015491900463ffffffff614ba016565b6000888152600960205260409020600701549063ffffffff613cea16565b9150611dd0565b6000868152600960205260409020600681015460058201546008830154600790930154929750909550935091505b60008a8152600760209081526040808320600683528184206005015484529091529020600301541515611e2a5750600089815260076020908152604080832060068352818420600501548452909152902060010154611e37565b611e348a87612400565b90505b6000868152600960205260409020548a1415611ed857611e8c6064611e6384603063ffffffff614b2916565b811515611e6c57fe5b60008d81526006602052604090206002015491900463ffffffff613cea16565b611eba611e9c8c88868887614c00565b60008d8152600660205260409020600301549063ffffffff613cea16565b60008c815260066020526040902060040154919a5098509650611f22565b60008a815260066020526040902060020154611eba611e9c8c88868887614c00565b60008a81526006602052604090206002810154600590910154611eba90611e9c908d90614cb7565b5050505050509193909250565b600080808080803381328214611f4457600080fd5b50803b8015611f8b576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b611f948b614316565b604080517f745ea0c1000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018e90528c151560648301528251939b50995034985073d60d353610d9a5ca478769d371b53cefaa7b6e4c9263745ea0c1928a926084808201939182900301818588803b15801561197457600080fd5b600080600080600080600080600080600080600080600060035490506009600082815260200190815260200160002060060154600014151561222f5760096000828152602001908152602001600020600901548160096000848152602001908152602001600020600501546009600085815260200190815260200160002060020154600960008681526020019081526020016000206004015460096000878152602001908152602001600020600701546009600088815260200190815260200160002060000154600a0260096000898152602001908152602001600020600101540160066000600960008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660066000600960008c815260200190815260200160002060000154815260200190815260200160002060010154600a60008b8152602001908152602001600020600080815260200190815260200160002054600a60008c815260200190815260200160002060006001815260200190815260200160002054600a60008d815260200190815260200160002060006002815260200190815260200160002054600a60008e8152602001908152602001600020600060038152602001908152602001600020546001546103e802600254019e509e509e509e509e509e509e509e509e509e509e509e509e509e506123ef565b600081815260096020819052604090912001548161224c82613d72565b6009600085815260200190815260200160002060020154600960008681526020019081526020016000206004015460096000878152602001908152602001600020600701546009600088815260200190815260200160002060000154600a0260096000898152602001908152602001600020600101540160066000600960008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660066000600960008c815260200190815260200160002060000154815260200190815260200160002060010154600a60008b8152602001908152602001600020600080815260200190815260200160002054600a60008c815260200190815260200160002060006001815260200190815260200160002054600a60008d815260200190815260200160002060006002815260200190815260200160002054600a60008e8152602001908152602001600020600060038152602001908152602001600020546001546103e802600254019e509e509e509e509e509e509e509e509e509e509e509e509e509e505b50909192939495969798999a9b9c9d565b6000818152600960205260408120600b015415158061242f575060008281526009602081905260409091200154155b15612489576000828152600960209081526040808320600b0154868452600783528184208685529092529091206003015461247890670de0b6b3a764000063ffffffff614b2916565b81151561248157fe5b0490506124c7565b612492826131a2565b600084815260076020908152604080832086845290915290206003015461247890670de0b6b3a764000063ffffffff614b2916565b92915050565b6124d5615a32565b600d54600090819060ff16151560011461253b576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461254a57600080fd5b50803b8015612591576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b85633b9aca008110156125e9576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612639576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b336000908152600460205260409020549450600160a060020a03891615806126695750600160a060020a03891633145b156126885760008581526006602081905260409091200154935061106d565b600160a060020a03891660009081526004602090815260408083205488845260069283905292200154909450841461106d5760008581526006602081905260409091200184905561107688613dea565b6126e0615a32565b600d5460009060ff161515600114612744576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461275357600080fd5b50803b801561279a576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca008110156127f2576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612842576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b61284b85610a09565b33600090815260046020526040902054909550935086158061286c57508387145b1561288b576000848152600660208190526040909120015496506128ba565b6000848152600660208190526040909120015487146128ba576000848152600660208190526040909120018790555b6128c386613dea565b955061187584888888610cbe565b3373d60d353610d9a5ca478769d371b53cefaa7b6e4c14612962576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600082815260086020908152604080832084845290915290205460ff1615156129aa5760008281526008602090815260408083208484529091529020805460ff191660011790555b5050565b6000808080808033813282146129c357600080fd5b50803b8015612a0a576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b612a138b614316565b604080517fc0942dfd000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018e90528c151560648301528251939b50995034985073d60d353610d9a5ca478769d371b53cefaa7b6e4c9263c0942dfd928a926084808201939182900301818588803b15801561197457600080fd5b60408051808201909152600381527f4633440000000000000000000000000000000000000000000000000000000000602082015281565b612adb615a32565b600d54600090819060ff161515600114612b41576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b336000328214612b5057600080fd5b50803b8015612b97576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca00811015612bef576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612c3f576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b612c4886610a09565b336000908152600460205260409020549096509450600160a060020a0388161580612c7b5750600160a060020a03881633145b15612c9a57600085815260066020819052604090912001549350612ce2565b600160a060020a038816600090815260046020908152604080832054888452600692839052922001549094508414612ce2576000858152600660208190526040909120018490555b612ceb87613dea565b96506114fd85858989610cbe565b600760209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b612d33615a32565b600d54600090819060ff161515600114612d99576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b336000328214612da857600080fd5b50803b8015612def576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca00811015612e47576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612e97576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b612ea086610a09565b336000908152600460205260409020549096509450871580612ed2575060008581526006602052604090206001015488145b15612ef157600085815260066020819052604090912001549350612ce2565b600088815260056020908152604080832054888452600692839052922001549094508414612ce257600085815260066020819052604090912001849055612ceb87613dea565b600c602052600090815260409020805460019091015482565b60035460008054828252600960205260408220600401549192914291018111612fa957600082815260096020526040902060020154610dcd908290612f9d9061012c63ffffffff614ba016565b9063ffffffff614ba016565b600082815260096020526040902060020154811015612fe457600082815260096020526040902060020154610dcd908263ffffffff614ba016565b60009250610e39565b600080548382526009602052604082206004015442910181118015613022575060008481526009602052604090206006015415155b801561303f57506000848152600960205260409020600201548111155b1561306d57600084815260096020526040902060060154613066908463ffffffff614e3216565b91506130b1565b60008481526009602052604090206002015481116130a85760008481526009602081905260409091200154613066908463ffffffff614e3216565b61306683613d72565b5092915050565b6003546000805482825260096020526040822060040154919291429101811180156130f3575060008281526009602052604090206006015415155b801561311057506000828152600960205260409020600201548111155b156131445760008281526009602052604090206005015461313d908590610dc1908263ffffffff613cea16565b925061318c565b60008281526009602052604090206002015481116131835761313d84610dc186610e236009600088815260200190815260200160002060090154613d72565b61313d84614e58565b5050919050565b600d5460ff1681565b60015481565b6000818152600960208190526040822001546131bd90613d72565b600083815260096020819052604090912001546131e890670de0b6b3a764000063ffffffff614b2916565b8115156131f157fe5b0490505b919050565b60066020819052600091825260409091208054600182015460028301546003840154600485015460058601549590960154600160a060020a0390941695929491939092919087565b60035460010160008181526009602052604090206007015461326a903463ffffffff613cea16565b600082815260096020908152604091829020600701929092558051838152349281019290925280517f74b1d2f771e0eff1b2c36c38499febdbea80fe4013bdace4fc4b653322c2895c9281900390910190a150565b6000806000806000806000806000600354915050600160a060020a038916600090815260046020908152604080832054808452600783528184208585529092529091206003015415156133a257600081815260066020818152604080842060018082015460078552838720898852855292862001549486905292909152600282015460059092015484939192906133799061335b908690614cb7565b6000878152600660205260409020600301549063ffffffff613cea16565b600086815260066020526040812060040154959e50939c50919a50985096509094509250613423565b60008181526006602052604090206001015481906133c08285612400565b600084815260066020526040902060028101546005909101546133e89061335b908790614cb7565b600086815260066020908152604080832060040154600783528184208b855290925290912060030154959e50939c50919a5098509650945092505b5050919395979092949650565b613438615a32565b60035460008181526009602052604090206002015442908111156134ea5760008281526009602052604090206003015460ff1615156134995761347a84613e92565b6000838152600960205260409020600301805460ff1916600117905593505b600380546001908101909155919091016000818152600960205260408120600401839055549091906134d790610e238361012c63ffffffff613cea16565b6000838152600960205260409020600201555b6000858152600660205260409020600501548214613552576000858152600660205260409020600501541561353657600085815260066020526040902060050154613536908690614ec7565b60008581526006602052604090206005018290558351600a0184525b50919392505050565b60035460008181526009602081905260408220015481908190670de0b6b3a76400009061358e908a63ffffffff614e3216565b1015806135a75750600084815260096020526040902054155b156136085760008481526009602052604090205489146135d35760008481526009602052604090208990555b60008481526009602052604090206001015487146136005760008481526009602052604090206001018790555b845160640185525b600089815260076020908152604080832087845290915290206003015461363690899063ffffffff613cea16565b60008a8152600760209081526040808320888452825280832060030193909355600990819052919020015461367290899063ffffffff613cea16565b600085815260096020818152604080842090920193909355600a83528082208a835290925220546136aa90899063ffffffff613cea16565b6000858152600a602090815260408083208b84529091529020556136d2848a8a898b8a614f5e565b6000888152600b60205260409020549095506064906136f8908a9063ffffffff614b2916565b81151561370157fe5b6000868152600960205260409020600a0154919004935061372990849063ffffffff613cea16565b6000858152600960205260409020600a0155600154606489049250613754908363ffffffff613cea16565b60019081556000888152600b6020526040902001546137cb908490612f9d906137be9060649061378b908e9063ffffffff614b2916565b81151561379457fe5b0460646137a88e600e63ffffffff614b2916565b8115156137b157fe5b049063ffffffff613cea16565b8b9063ffffffff614ba016565b6000858152600960205260409020600701549091506137f190829063ffffffff613cea16565b60008581526009602052604090206007015560e085015161381990849063ffffffff613cea16565b60e08601526101008501819052611085848a898b60008a6151cf565b60035460008181526009602052604081206006015481901580156138685750600083815260096020819052604082200154115b15613876576138768361533c565b60008881526007602090815260408083208684529091529020600101541580156138ba57506000888152600760209081526040808320868452909152812060030154115b156138f1576138c98884612400565b6000898152600760209081526040808320878452909152812060018101929092556003909101555b600083815260096020526040902060060154613913908863ffffffff614e3216565b9150670de0b6b3a7640000821061398a5761392e828461549d565b60008381526009602052604090205488146139555760008381526009602052604090208890555b60008381526009602052604090206001015485146139825760008381526009602052604090206001018590555b835160640184525b67016345785d8a00008710613bca576002805460010190556139aa61552b565b151560011415613bca57678ac7230489e800008710613a4b576001546064906139da90604b63ffffffff614b2916565b8115156139e357fe5b60008a8152600660205260409020600201549190049150613a0a908263ffffffff613cea16565b600089815260066020526040902060020155600154613a2f908263ffffffff614ba016565b60015583516d0eca8847c4129106ce8300000000018452613b9f565b670de0b6b3a76400008710158015613a6a5750678ac7230489e8000087105b15613af757600154606490613a8690603263ffffffff614b2916565b811515613a8f57fe5b60008a8152600660205260409020600201549190049150613ab6908263ffffffff613cea16565b600089815260066020526040902060020155600154613adb908263ffffffff614ba016565b60015583516d09dc5ada82b70b59df0200000000018452613b9f565b67016345785d8a00008710158015613b165750670de0b6b3a764000087105b15613b9f57600154606490613b3290601963ffffffff614b2916565b811515613b3b57fe5b60008a8152600660205260409020600201549190049150613b62908263ffffffff613cea16565b600089815260066020526040902060020155600154613b87908263ffffffff614ba016565b60015583516d04ee2d6d415b85acef81000000000184525b83516d314dc6448d9338c15b0a000000008202016c7e37be2022c0914b268000000001845260006002555b60025484516103e89091020184526000888152600760209081526040808320868452909152902060010154613c0690839063ffffffff613cea16565b6000898152600760209081526040808320878452825280832060010193909355600990522060050154613c4090839063ffffffff613cea16565b6000848152600960205260409020600581019190915560060154613c6b90889063ffffffff613cea16565b600084815260096020908152604080832060060193909355600a815282822088835290522054613ca290889063ffffffff613cea16565b6000848152600a60209081526040808320898452909152902055613cca838989898989614f5e565b9350613cda838989888689615742565b93506114fd8389878a86896151cf565b818101828110156124c7576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b6000613d6b613d62613d5d858563ffffffff614ba016565b614e58565b612f9d85614e58565b9392505050565b6000655af3107a40006131e86d027716b6a0adc2d677c080000000612f9d613de57a0613c0fa4ffe7d36a9e5fb5b8e3b592fda87c04000000000000000610e236d09dc5ada82b70b59df0200000000613dd98a670de0b6b3a764000063ffffffff614b2916565b9063ffffffff614b2916565b61589a565b600080821080613dfa5750600382115b15613e07575060026131f5565b50806131f5565b613e188582613430565b9050613e2782612f9d8761428f565b60008681526006602090815260408083206003908101949094558254935483526009909152902060040154014211613e7e5780516c25dd85d670d35ec9bec0000000018152613e79858385878561355b565b613e8b565b613e8b8583868685613835565b5050505050565b613e9a615a32565b60008060008060008060008060008060006003549a50600960008c8152602001908152602001600020600601546000148015613ee5575060008b815260096020819052604082200154115b15613ef357613ef38b61533c565b60008b815260096020526040902080546001820154600790920154909b5090995097506064613f2989603063ffffffff614b2916565b811515613f3257fe5b04965060328860008b8152600c60205260409020549190049650606490613f60908a9063ffffffff614b2916565b811515613f6957fe5b60008b8152600c60205260409020600101549190049550606490613f94908a9063ffffffff614b2916565b811515613f9d57fe5b049350613fb884612f9d87818a818e8e63ffffffff614ba016565b60008c815260096020526040902060050154909350613fe586670de0b6b3a764000063ffffffff614b2916565b811515613fee57fe5b60008d815260096020526040902060050154919004925061403c90670de0b6b3a76400009061402490859063ffffffff614b2916565b81151561402d57fe5b8791900463ffffffff614ba016565b9050600081111561406c57614057858263ffffffff614ba016565b9450614069838263ffffffff613cea16565b92505b60008a81526006602052604090206002015461408f90889063ffffffff613cea16565b60008b8152600660205260408082206002019290925581517f6465706f736974282900000000000000000000000000000000000000000000008152825190819003600901812063ffffffff60e060020a918290049081169091028252925173dd4950f977ee28d2c132f1353d1595035db444ee93928a9260048082019391829003018185885af19350505050151561413857614131848763ffffffff613cea16565b9350600095505b60008b81526009602052604090206008015461415b90839063ffffffff613cea16565b60008c8152600960205260408120600801919091558411156141e35773c0c001140319c5f114f8467295b1f22f86929ad0600160a060020a031663d0e30db0856040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156141c957600080fd5b505af11580156141dd573d6000803e3d6000fd5b50505050505b50506001808a0160009081526009602090815260408083206007018054860190559b82528b8220600201548e51620f4240909102018e528d810180516a52b7d2dcc80cd2e40000008d020167016345785d8a0000909b029a909a019099528981526006808a528b82208054600160a060020a03169c8f019c909c5299905297909652969095015460608901525060808701525060e085019190915260c084019190915260a08301525090565b60008181526006602052604081206005015481906142ae908490614ec7565b6000838152600660205260409020600481015460038201546002909201546142e092610e23919063ffffffff613cea16565b9050600081111561430c5760008381526006602052604081206002810182905560038101829055600401555b8091505b50919050565b80516000908290828080602084118015906143315750600084115b15156143ad576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b8460008151811015156143bc57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015614423575084600185038151811015156143fb57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b151561449f576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8460008151811015156144ae57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a0214156145f1578460018151811015156144e857fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515614565576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b84600181518110151561457457fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a02141515156145f1576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b83821015614ac15784517f40000000000000000000000000000000000000000000000000000000000000009086908490811061462e57fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156146a2575084517f5b000000000000000000000000000000000000000000000000000000000000009086908490811061468357fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1561470f5784828151811015156146b557fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a0285838151811015156146e657fe5b906020010190600160f860020a031916908160001a90535082151561470a57600192505b614ab6565b848281518110151561471d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214806147ed575084517f60000000000000000000000000000000000000000000000000000000000000009086908490811061477957fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156147ed575084517f7b00000000000000000000000000000000000000000000000000000000000000908690849081106147ce57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80614897575084517f2f000000000000000000000000000000000000000000000000000000000000009086908490811061482357fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015614897575084517f3a000000000000000000000000000000000000000000000000000000000000009086908490811061487857fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515614913576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b848281518110151561492157fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415614a0057848260010181518110151561495d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515614a00576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b82158015614aac575084517f300000000000000000000000000000000000000000000000000000000000000090869084908110614a3957fe5b90602001015160f860020a900460f860020a02600160f860020a0319161080614aac575084517f390000000000000000000000000000000000000000000000000000000000000090869084908110614a8d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b15614ab657600192505b6001909101906145f6565b600183151514614b1b576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b6000821515614b3a575060006124c7565b50818102818382811515614b4a57fe5b04146124c7576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b600082821115614bfa576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b6000858152600760209081526040808320600354845282528083206002015460098352818420600101548452600c909252822054614cad9190670de0b6b3a764000090614c97908690613dd9908990614c7f908690606490614c69908f9063ffffffff614b2916565b811515614c7257fe5b049063ffffffff614b2916565b811515614c8857fe5b8c91900463ffffffff613cea16565b811515614ca057fe5b049063ffffffff614ba016565b9695505050505050565b60008281526007602090815260408083208484529091528120600301541515614d28576000838152600760209081526040808320858452825280832060028101546001909101546009909352922060080154614d219291670de0b6b3a764000091614c9791614b29565b90506124c7565b6000805483825260096020526040909120600401540142118015614d5b5750600082815260096020526040902060060154155b15614ddd576000838152600760209081526040808320858452909152902060020154614d2190670de0b6b3a7640000614c97614d978787612400565b60008781526009602081905260409091200154614db390613d72565b6000888152600960205260409020600a0154614c6990670de0b6b3a764000063ffffffff614b2916565b6000838152600760209081526040808320858452909152902060020154614d2190670de0b6b3a7640000614c97614e148787612400565b6000878152600960205260409020600801549063ffffffff614b2916565b6000613d6b614e4084613d72565b612f9d614e53868663ffffffff613cea16565b613d72565b6000614e6b670de0b6b3a76400006158ed565b6131e86002614e9e614e8b86670de0b6b3a764000063ffffffff614b2916565b655af3107a40009063ffffffff614b2916565b811515614ea757fe5b04610e23614eb4866158ed565b652d79883d20009063ffffffff614b2916565b6000614ed38383614cb7565b90506000811115614f5957600083815260066020526040902060030154614f0190829063ffffffff613cea16565b6000848152600660209081526040808320600301939093556007815282822085835290522060020154614f3b90829063ffffffff613cea16565b60008481526007602090815260408083208684529091529020600201555b505050565b614f66615a32565b600080808060328904935073dd4950f977ee28d2c132f1353d1595035db444ee600160a060020a03168460405180807f6465706f736974282900000000000000000000000000000000000000000000008152506009019050604051809103902060e060020a9004906040518263ffffffff1660e060020a02815260040160006040518083038185885af1935050505015156150015760009392505b5050600189016000908152600960205260409020600701805460648904908101909155600a8804878a14801590615048575060008881526006602052604090206001015415155b156150e85760008881526006602052604090206004015461507090829063ffffffff613cea16565b600089815260066020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101839052426060830152518b918d918b917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a46150ec565b8092505b6000878152600b602052604090206001015461512e90606490615116908c9063ffffffff614b2916565b81151561511f57fe5b8591900463ffffffff613cea16565b925060008311156151c05773c0c001140319c5f114f8467295b1f22f86929ad0600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b15801561518b57600080fd5b505af115801561519f573d6000803e3d6000fd5b50505060c08801516151ba925085915063ffffffff613cea16565b60c08701525b50939998505050505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a7640000028260000151010181600001818152505085751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160066000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600154604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a1505050505050565b60008181526009602081905260408220908101546006909101819055819061536390613d72565b60008481526009602052604090206005015561537e836131a2565b6000848152600960205260409020600b8101919091556005810154600a909101546153b790670de0b6b3a764000063ffffffff614b2916565b8115156153c057fe5b600085815260096020526040902060050154919004925061541f90670de0b6b3a7640000906153f690859063ffffffff614b2916565b8115156153ff57fe5b6000868152600960205260409020600a015491900463ffffffff614ba016565b905060008111156154605760008381526009602052604090206007015461544d90829063ffffffff613cea16565b6000848152600960205260409020600701555b60008381526009602052604090206008015461548390839063ffffffff613cea16565b600093845260096020526040909320600801929092555050565b60008181526009602052604081206002015481906154ca90610e2361012c670de0b6b3a764000088614c72565b91504290506154e161012c8263ffffffff613cea16565b821015615501576000838152600960205260409020600201829055610d2e565b61551361012c8263ffffffff613cea16565b60008481526009602052604090206002015550505050565b60008061569c43610e2342336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106155a65780518252601f199092019160209182019101615587565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120925050508115156155dc57fe5b04610e2345610e2342416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106156555780518252601f199092019160209182019101615636565b5181516020939093036101000a600019018019909116921691909117905260405192018290039091209250505081151561568b57fe5b04610e23424463ffffffff613cea16565b604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b602083106156ea5780518252601f1990920191602091820191016156cb565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060025490945092506103e89150839050046103e80282031015615739576001915061573e565b600091505b5090565b61574a615a32565b6000848152600b6020526040812054819081908190606490615773908b9063ffffffff614b2916565b81151561577c57fe5b04935060648904925061579a83600154613cea90919063ffffffff16565b60019081556000898152600b6020526040902001546157f5906157e8906064906157cb908d9063ffffffff614b2916565b8115156157d457fe5b0460646137a88d600e63ffffffff614b2916565b8a9063ffffffff614ba016565b9850615807898563ffffffff614ba016565b91506158158b8b868a6158f9565b9050600081111561583357615830848263ffffffff614ba016565b93505b60008b81526009602052604090206007015461585990610e23848463ffffffff613cea16565b60008c81526009602052604090206007015560e086015161588190859063ffffffff613cea16565b60e0870152506101008501525091979650505050505050565b60008060026158aa846001613cea565b8115156158b357fe5b0490508291505b818110156143105780915060026158dc82858115156158d557fe5b0483613cea565b8115156158e557fe5b0490506158ba565b60006124c78283614b29565b6000848152600960205260408120600501548190819061592786670de0b6b3a764000063ffffffff614b2916565b81151561593057fe5b600089815260096020526040902060080154919004925061595890839063ffffffff613cea16565b600088815260096020526040902060080155670de0b6b3a7640000615983838663ffffffff614b2916565b81151561598c57fe5b60008881526007602090815260408083208c84528252808320600201546009909252909120600801549290910492506159df91610e23908490670de0b6b3a764000090614c97908a63ffffffff614b2916565b60008781526007602090815260408083208b8452825280832060020193909355600990522060050154615a2790670de0b6b3a76400009061402490859063ffffffff614b2916565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a03168152602001600080191681526020016000815260200160008152602001600081526020016000815260200160008152509056006e20646973636f72640000000000000000000000000000000000000000000000706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a72305820fd2d093d2ba46083b8d49b47f85778858a875411264a02ac3f6b94e5bf34b3050029
Deployed Bytecode
0x6080604052600436106101be5763ffffffff60e060020a600035041663018a25e8811461036b57806306fdde0314610392578063079ce3271461041c5780630f15f4c01461043c57806310f01eba1461045157806311a09ae71461047257806324c33d33146104875780632660316e146104fe5780632ce219991461052d5780632e19ebdc1461055e578063349cdcac146105765780633ccfd60b146105945780633ddd4698146105a957806349cc635d146106055780635893d4811461062f578063624ae5c01461064a578063630664341461065f578063685ffd8314610695578063747dff42146106e857806375661f4c1461077357806382bfc7391461078e5780638f38f309146107b55780638f7140ea146107c3578063921dec21146107de57806395d89b411461083157806398a0871d14610846578063a2bccae91461085d578063a65b37a11461089e578063c519500e146108ac578063c7e284b8146108c4578063ce89c80c146108d9578063cf808000146108f4578063d53b26791461090c578063d87574e014610921578063dcb6af4814610936578063de7874f31461094e578063ed78cf4a146109a8578063ee0b5d8b146109b0575b6101c6615a32565b600d5460009060ff16151560011461022a576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461023957600080fd5b50803b8015610280576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca008110156102d8576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610328576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b61033185610a09565b33600090815260046020908152604080832054808452600692839052922001549196509450610364908590600288610cbe565b5050505050005b34801561037757600080fd5b50610380610d34565b60408051918252519081900360200190f35b34801561039e57600080fd5b506103a7610e3e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103e15781810151838201526020016103c9565b50505050905090810190601f16801561040e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561042857600080fd5b5061043a600435602435604435610e75565b005b34801561044857600080fd5b5061043a611090565b34801561045d57600080fd5b50610380600160a060020a036004351661123f565b34801561047e57600080fd5b50610380611251565b34801561049357600080fd5b5061049f600435611257565b604080519c8d5260208d019b909b528b8b019990995296151560608b015260808a019590955260a089019390935260c088019190915260e087015261010086015261012085015261014084015261016083015251908190036101800190f35b34801561050a57600080fd5b506105196004356024356112c4565b604080519115158252519081900360200190f35b34801561053957600080fd5b506105456004356112e4565b6040805192835260208301919091528051918290030190f35b34801561056a57600080fd5b506103806004356112fd565b34801561058257600080fd5b5061043a60043560243560443561130f565b3480156105a057600080fd5b5061043a611507565b6040805160206004803580820135601f810184900484028501840190955284845261043a94369492936024939284019190819084018382808284375094975050600160a060020a0385351695505050505060200135151561187e565b34801561061157600080fd5b5061043a600435600160a060020a0360243516604435606435611a45565b34801561063b57600080fd5b50610380600435602435611c37565b34801561065657600080fd5b50610380611c54565b34801561066b57600080fd5b50610677600435611c5a565b60408051938452602084019290925282820152519081900360600190f35b6040805160206004803580820135601f810184900484028501840190955284845261043a943694929360249392840191908190840183828082843750949750508435955050505050602001351515611f2f565b3480156106f457600080fd5b506106fd61201d565b604080519e8f5260208f019d909d528d8d019b909b5260608d019990995260808c019790975260a08b019590955260c08a0193909352600160a060020a0390911660e08901526101008801526101208701526101408601526101608501526101808401526101a083015251908190036101c00190f35b34801561077f57600080fd5b50610380600435602435612400565b34801561079a57600080fd5b5061043a600160a060020a03600435166024356044356124cd565b61043a6004356024356126d8565b3480156107cf57600080fd5b5061043a6004356024356128d1565b6040805160206004803580820135601f810184900484028501840190955284845261043a9436949293602493928401919081908401838280828437509497505084359550505050506020013515156129ae565b34801561083d57600080fd5b506103a7612a9c565b61043a600160a060020a0360043516602435612ad3565b34801561086957600080fd5b50610878600435602435612cf9565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61043a600435602435612d2b565b3480156108b857600080fd5b50610545600435612f37565b3480156108d057600080fd5b50610380612f50565b3480156108e557600080fd5b50610380600435602435612fed565b34801561090057600080fd5b506103806004356130b8565b34801561091857600080fd5b50610519613193565b34801561092d57600080fd5b5061038061319c565b34801561094257600080fd5b506103806004356131a2565b34801561095a57600080fd5b506109666004356131fa565b60408051600160a060020a0390981688526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b61043a613242565b3480156109bc57600080fd5b506109d1600160a060020a03600435166132bf565b604080519788526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b610a11615a32565b336000908152600460205260408120549080821515610cb557604080517fe56556a9000000000000000000000000000000000000000000000000000000008152336004820152905173d60d353610d9a5ca478769d371b53cefaa7b6e4c9163e56556a99160248083019260209291908290030181600087803b158015610a9657600080fd5b505af1158015610aaa573d6000803e3d6000fd5b505050506040513d6020811015610ac057600080fd5b5051604080517f82e37b2c00000000000000000000000000000000000000000000000000000000815260048101839052905191945073d60d353610d9a5ca478769d371b53cefaa7b6e4c916382e37b2c916024808201926020929091908290030181600087803b158015610b3357600080fd5b505af1158015610b47573d6000803e3d6000fd5b505050506040513d6020811015610b5d57600080fd5b5051604080517fe3c08adf00000000000000000000000000000000000000000000000000000000815260048101869052905191935073d60d353610d9a5ca478769d371b53cefaa7b6e4c9163e3c08adf916024808201926020929091908290030181600087803b158015610bd057600080fd5b505af1158015610be4573d6000803e3d6000fd5b505050506040513d6020811015610bfa57600080fd5b505133600081815260046020908152604080832088905587835260069091529020805473ffffffffffffffffffffffffffffffffffffffff1916909117905590508115610c8357600082815260056020908152604080832086905585835260068252808320600190810186905560088352818420868552909252909120805460ff191690911790555b8015801590610c925750828114155b15610cad576000838152600660208190526040909120018190555b845160010185525b50929392505050565b610cc88482613430565b6000805460035482526009602052604090912060040154919250014211610d0e5780516c193e5939a08ce9dbd480000000018152610d09843484868561355b565b610d2e565b80516c0c9f2c9cd04674edea40000000018152610d2e8434858585613835565b50505050565b600354600080548282526009602052604082206004015491929142910181118015610d6f575060008281526009602052604090206006015415155b8015610d8c57506000828152600960205260409020600201548111155b15610dd457600082815260096020526040902060050154610dcd90670de0b6b3a764000090610dc1908263ffffffff613cea16565b9063ffffffff613d4516565b9250610e39565b6000828152600960205260409020600201548111610e2f57610dcd670de0b6b3a7640000610dc1670de0b6b3a7640000610e236009600088815260200190815260200160002060090154613d72565b9063ffffffff613cea16565b655af3107a400092505b505090565b60408051808201909152601781527f466f4d6f334420536f6f6e28746d292045646974696f6e000000000000000000602082015281565b610e7d615a32565b600d54600090819060ff161515600114610ee3576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b336000328214610ef257600080fd5b50803b8015610f39576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b85633b9aca00811015610f91576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115610fe1576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b336000908152600460205260409020549450881580611010575060008581526006602052604090206001015489145b1561102f5760008581526006602081905260409091200154935061106d565b60008981526005602090815260408083205488845260069283905292200154909450841461106d576000858152600660208190526040909120018490555b61107688613dea565b975061108585858a8a8a613e0e565b505050505050505050565b7318e90fc6f70344f53ebd4f6070bf6aa23e2d748c3314806110c55750738b4da1827932d71759687f925d17f81fc94e3a9d33145b806110e35750738e0d985f3ec1857bec39b76aaabdea6b31b67d5333145b806111015750737ac74fcc1a71b106f12c55ee8f802c9f672ce40c33145b8061111f575073f39e044e1ab204460e06e87c6dca2c6319fc69e333145b1515611175576040805160e560020a62461bcd02815260206004820152601b60248201527f6f6e6c79207465616d206a7573742063616e2061637469766174650000000000604482015290519081900360640190fd5b600d5460ff16156111d0576040805160e560020a62461bcd02815260206004820152601860248201527f666f6d6f336420616c7265616479206163746976617465640000000000000000604482015290519081900360640190fd5b600d805460ff19166001908117909155600381905560009081526009602052427f92e85d02570a8092d09a6e3a57665bc3815a2699a4074001bf1ccabf660f5a3a81905590540161012c017f92e85d02570a8092d09a6e3a57665bc3815a2699a4074001bf1ccabf660f5a3855565b60046020526000908152604090205481565b60025481565b60096020528060005260406000206000915090508060000154908060010154908060020154908060030160009054906101000a900460ff169080600401549080600501549080600601549080600701549080600801549080600901549080600a01549080600b015490508c565b600860209081526000928352604080842090915290825290205460ff1681565b600b602052600090815260409020805460019091015482565b60056020526000908152604090205481565b611317615a32565b600d5460009060ff16151560011461137b576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461138a57600080fd5b50803b80156113d1576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b84633b9aca00811015611429576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115611479576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b33600090815260046020526040902054935087158061149757508388145b156114b6576000848152600660208190526040909120015497506114e5565b6000848152600660208190526040909120015488146114e5576000848152600660208190526040909120018890555b6114ee87613dea565b96506114fd8489898989613e0e565b5050505050505050565b600080600080611515615a32565b600d5460ff161515600114611576576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461158557600080fd5b50803b80156115cc576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b60035433600090815260046020908152604080832054848452600990925290912060020154919850429750955086118015611619575060008781526009602052604090206003015460ff16155b156117bf576000878152600960205260409020600301805460ff1916600117905561164383613e92565b925061164e8561428f565b9350600084111561169f57600085815260066020526040808220549051600160a060020a039091169186156108fc02918791818181858888f1935050505015801561169d573d6000803e3d6000fd5b505b85670de0b6b3a764000002836000015101836000018181525050848360200151018360200181815250507f0bd0dba8ab932212fa78150cdb7b0275da72e255875967b5cad11464cf71bedc3360066000888152602001908152602001600020600101548686600001518760200151886040015189606001518a608001518b60a001518c60c001518d60e00151604051808c600160a060020a0316600160a060020a031681526020018b600019166000191681526020018a815260200189815260200188815260200187600160a060020a0316600160a060020a0316815260200186600019166000191681526020018581526020018481526020018381526020018281526020019b50505050505050505050505060405180910390a1611875565b6117c88561428f565b9350600084111561181957600085815260066020526040808220549051600160a060020a039091169186156108fc02918791818181858888f19350505050158015611817573d6000803e3d6000fd5b505b6000858152600660209081526040918290206001015482513381529182015280820186905260608101889052905186917f8f36579a548bc439baa172a6521207464154da77f411e2da3db2f53affe6cc3a919081900360800190a25b50505050505050565b60008080808080338132821461189357600080fd5b50803b80156118da576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b6118e38b614316565b604080517faa4d490b000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052600160a060020a038e1660448301528c151560648301528251939b50995034985073d60d353610d9a5ca478769d371b53cefaa7b6e4c9263aa4d490b928a926084808201939182900301818588803b15801561197457600080fd5b505af1158015611988573d6000803e3d6000fd5b50505050506040513d604081101561199f57600080fd5b508051602091820151600160a060020a03808b1660008181526004865260408082205485835260068852918190208054600190910154825188151581529889018790529416878201526060870193909352608086018c90524260a0870152915193995091975095508a92909186917fdd6176433ff5026bbce96b068584b7bbe3514227e72df9c630b749ae87e64442919081900360c00190a45050505050505050505050565b3373d60d353610d9a5ca478769d371b53cefaa7b6e4c14611ad6576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600160a060020a0383166000908152600460205260409020548414611b1157600160a060020a03831660009081526004602052604090208490555b6000828152600560205260409020548414611b385760008281526005602052604090208490555b600084815260066020526040902054600160a060020a03848116911614611b8e576000848152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385161790555b6000848152600660205260409020600101548214611bbb5760008481526006602052604090206001018290555b600084815260066020819052604090912001548114611bea576000848152600660208190526040909120018190555b600084815260086020908152604080832085845290915290205460ff161515610d2e5760008481526008602090815260408083208584529091529020805460ff1916600117905550505050565b600a60209081526000928352604080842090915290825290205481565b60035481565b60008060008060008060008060006003549550600960008781526020019081526020016000206002015442118015611ca4575060008681526009602052604090206003015460ff16155b15611efa57600086815260096020526040902060060154158015611cd75750600086815260096020819052604082200154115b15611da257600086815260096020819052604090912001549350611cfa84613d72565b6000878152600960205260409020600a01549093508390611d2990670de0b6b3a764000063ffffffff614b2916565b811515611d3257fe5b049450611d9b611d7d670de0b6b3a7640000611d54888763ffffffff614b2916565b811515611d5d57fe5b60008a8152600960205260409020600a015491900463ffffffff614ba016565b6000888152600960205260409020600701549063ffffffff613cea16565b9150611dd0565b6000868152600960205260409020600681015460058201546008830154600790930154929750909550935091505b60008a8152600760209081526040808320600683528184206005015484529091529020600301541515611e2a5750600089815260076020908152604080832060068352818420600501548452909152902060010154611e37565b611e348a87612400565b90505b6000868152600960205260409020548a1415611ed857611e8c6064611e6384603063ffffffff614b2916565b811515611e6c57fe5b60008d81526006602052604090206002015491900463ffffffff613cea16565b611eba611e9c8c88868887614c00565b60008d8152600660205260409020600301549063ffffffff613cea16565b60008c815260066020526040902060040154919a5098509650611f22565b60008a815260066020526040902060020154611eba611e9c8c88868887614c00565b60008a81526006602052604090206002810154600590910154611eba90611e9c908d90614cb7565b5050505050509193909250565b600080808080803381328214611f4457600080fd5b50803b8015611f8b576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b611f948b614316565b604080517f745ea0c1000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018e90528c151560648301528251939b50995034985073d60d353610d9a5ca478769d371b53cefaa7b6e4c9263745ea0c1928a926084808201939182900301818588803b15801561197457600080fd5b600080600080600080600080600080600080600080600060035490506009600082815260200190815260200160002060060154600014151561222f5760096000828152602001908152602001600020600901548160096000848152602001908152602001600020600501546009600085815260200190815260200160002060020154600960008681526020019081526020016000206004015460096000878152602001908152602001600020600701546009600088815260200190815260200160002060000154600a0260096000898152602001908152602001600020600101540160066000600960008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660066000600960008c815260200190815260200160002060000154815260200190815260200160002060010154600a60008b8152602001908152602001600020600080815260200190815260200160002054600a60008c815260200190815260200160002060006001815260200190815260200160002054600a60008d815260200190815260200160002060006002815260200190815260200160002054600a60008e8152602001908152602001600020600060038152602001908152602001600020546001546103e802600254019e509e509e509e509e509e509e509e509e509e509e509e509e509e506123ef565b600081815260096020819052604090912001548161224c82613d72565b6009600085815260200190815260200160002060020154600960008681526020019081526020016000206004015460096000878152602001908152602001600020600701546009600088815260200190815260200160002060000154600a0260096000898152602001908152602001600020600101540160066000600960008b815260200190815260200160002060000154815260200190815260200160002060000160009054906101000a9004600160a060020a031660066000600960008c815260200190815260200160002060000154815260200190815260200160002060010154600a60008b8152602001908152602001600020600080815260200190815260200160002054600a60008c815260200190815260200160002060006001815260200190815260200160002054600a60008d815260200190815260200160002060006002815260200190815260200160002054600a60008e8152602001908152602001600020600060038152602001908152602001600020546001546103e802600254019e509e509e509e509e509e509e509e509e509e509e509e509e509e505b50909192939495969798999a9b9c9d565b6000818152600960205260408120600b015415158061242f575060008281526009602081905260409091200154155b15612489576000828152600960209081526040808320600b0154868452600783528184208685529092529091206003015461247890670de0b6b3a764000063ffffffff614b2916565b81151561248157fe5b0490506124c7565b612492826131a2565b600084815260076020908152604080832086845290915290206003015461247890670de0b6b3a764000063ffffffff614b2916565b92915050565b6124d5615a32565b600d54600090819060ff16151560011461253b576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461254a57600080fd5b50803b8015612591576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b85633b9aca008110156125e9576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612639576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b336000908152600460205260409020549450600160a060020a03891615806126695750600160a060020a03891633145b156126885760008581526006602081905260409091200154935061106d565b600160a060020a03891660009081526004602090815260408083205488845260069283905292200154909450841461106d5760008581526006602081905260409091200184905561107688613dea565b6126e0615a32565b600d5460009060ff161515600114612744576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b33600032821461275357600080fd5b50803b801561279a576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca008110156127f2576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612842576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b61284b85610a09565b33600090815260046020526040902054909550935086158061286c57508387145b1561288b576000848152600660208190526040909120015496506128ba565b6000848152600660208190526040909120015487146128ba576000848152600660208190526040909120018790555b6128c386613dea565b955061187584888888610cbe565b3373d60d353610d9a5ca478769d371b53cefaa7b6e4c14612962576040805160e560020a62461bcd02815260206004820152602760248201527f796f7572206e6f7420706c617965724e616d657320636f6e74726163742e2e2e60448201527f20686d6d6d2e2e00000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b600082815260086020908152604080832084845290915290205460ff1615156129aa5760008281526008602090815260408083208484529091529020805460ff191660011790555b5050565b6000808080808033813282146129c357600080fd5b50803b8015612a0a576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b612a138b614316565b604080517fc0942dfd000000000000000000000000000000000000000000000000000000008152336004820181905260248201849052604482018e90528c151560648301528251939b50995034985073d60d353610d9a5ca478769d371b53cefaa7b6e4c9263c0942dfd928a926084808201939182900301818588803b15801561197457600080fd5b60408051808201909152600381527f4633440000000000000000000000000000000000000000000000000000000000602082015281565b612adb615a32565b600d54600090819060ff161515600114612b41576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b336000328214612b5057600080fd5b50803b8015612b97576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca00811015612bef576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612c3f576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b612c4886610a09565b336000908152600460205260409020549096509450600160a060020a0388161580612c7b5750600160a060020a03881633145b15612c9a57600085815260066020819052604090912001549350612ce2565b600160a060020a038816600090815260046020908152604080832054888452600692839052922001549094508414612ce2576000858152600660208190526040909120018490555b612ceb87613dea565b96506114fd85858989610cbe565b600760209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b612d33615a32565b600d54600090819060ff161515600114612d99576040805160e560020a62461bcd0281526020600482015260296024820152600080516020615acc8339815191526044820152600080516020615a8c833981519152606482015290519081900360840190fd5b336000328214612da857600080fd5b50803b8015612def576040805160e560020a62461bcd0281526020600482015260116024820152600080516020615b0c833981519152604482015290519081900360640190fd5b34633b9aca00811015612e47576040805160e560020a62461bcd0281526020600482015260216024820152600080516020615aac833981519152604482015260f860020a607902606482015290519081900360840190fd5b69152d02c7e14af6800000811115612e97576040805160e560020a62461bcd02815260206004820152600e6024820152600080516020615aec833981519152604482015290519081900360640190fd5b612ea086610a09565b336000908152600460205260409020549096509450871580612ed2575060008581526006602052604090206001015488145b15612ef157600085815260066020819052604090912001549350612ce2565b600088815260056020908152604080832054888452600692839052922001549094508414612ce257600085815260066020819052604090912001849055612ceb87613dea565b600c602052600090815260409020805460019091015482565b60035460008054828252600960205260408220600401549192914291018111612fa957600082815260096020526040902060020154610dcd908290612f9d9061012c63ffffffff614ba016565b9063ffffffff614ba016565b600082815260096020526040902060020154811015612fe457600082815260096020526040902060020154610dcd908263ffffffff614ba016565b60009250610e39565b600080548382526009602052604082206004015442910181118015613022575060008481526009602052604090206006015415155b801561303f57506000848152600960205260409020600201548111155b1561306d57600084815260096020526040902060060154613066908463ffffffff614e3216565b91506130b1565b60008481526009602052604090206002015481116130a85760008481526009602081905260409091200154613066908463ffffffff614e3216565b61306683613d72565b5092915050565b6003546000805482825260096020526040822060040154919291429101811180156130f3575060008281526009602052604090206006015415155b801561311057506000828152600960205260409020600201548111155b156131445760008281526009602052604090206005015461313d908590610dc1908263ffffffff613cea16565b925061318c565b60008281526009602052604090206002015481116131835761313d84610dc186610e236009600088815260200190815260200160002060090154613d72565b61313d84614e58565b5050919050565b600d5460ff1681565b60015481565b6000818152600960208190526040822001546131bd90613d72565b600083815260096020819052604090912001546131e890670de0b6b3a764000063ffffffff614b2916565b8115156131f157fe5b0490505b919050565b60066020819052600091825260409091208054600182015460028301546003840154600485015460058601549590960154600160a060020a0390941695929491939092919087565b60035460010160008181526009602052604090206007015461326a903463ffffffff613cea16565b600082815260096020908152604091829020600701929092558051838152349281019290925280517f74b1d2f771e0eff1b2c36c38499febdbea80fe4013bdace4fc4b653322c2895c9281900390910190a150565b6000806000806000806000806000600354915050600160a060020a038916600090815260046020908152604080832054808452600783528184208585529092529091206003015415156133a257600081815260066020818152604080842060018082015460078552838720898852855292862001549486905292909152600282015460059092015484939192906133799061335b908690614cb7565b6000878152600660205260409020600301549063ffffffff613cea16565b600086815260066020526040812060040154959e50939c50919a50985096509094509250613423565b60008181526006602052604090206001015481906133c08285612400565b600084815260066020526040902060028101546005909101546133e89061335b908790614cb7565b600086815260066020908152604080832060040154600783528184208b855290925290912060030154959e50939c50919a5098509650945092505b5050919395979092949650565b613438615a32565b60035460008181526009602052604090206002015442908111156134ea5760008281526009602052604090206003015460ff1615156134995761347a84613e92565b6000838152600960205260409020600301805460ff1916600117905593505b600380546001908101909155919091016000818152600960205260408120600401839055549091906134d790610e238361012c63ffffffff613cea16565b6000838152600960205260409020600201555b6000858152600660205260409020600501548214613552576000858152600660205260409020600501541561353657600085815260066020526040902060050154613536908690614ec7565b60008581526006602052604090206005018290558351600a0184525b50919392505050565b60035460008181526009602081905260408220015481908190670de0b6b3a76400009061358e908a63ffffffff614e3216565b1015806135a75750600084815260096020526040902054155b156136085760008481526009602052604090205489146135d35760008481526009602052604090208990555b60008481526009602052604090206001015487146136005760008481526009602052604090206001018790555b845160640185525b600089815260076020908152604080832087845290915290206003015461363690899063ffffffff613cea16565b60008a8152600760209081526040808320888452825280832060030193909355600990819052919020015461367290899063ffffffff613cea16565b600085815260096020818152604080842090920193909355600a83528082208a835290925220546136aa90899063ffffffff613cea16565b6000858152600a602090815260408083208b84529091529020556136d2848a8a898b8a614f5e565b6000888152600b60205260409020549095506064906136f8908a9063ffffffff614b2916565b81151561370157fe5b6000868152600960205260409020600a0154919004935061372990849063ffffffff613cea16565b6000858152600960205260409020600a0155600154606489049250613754908363ffffffff613cea16565b60019081556000888152600b6020526040902001546137cb908490612f9d906137be9060649061378b908e9063ffffffff614b2916565b81151561379457fe5b0460646137a88e600e63ffffffff614b2916565b8115156137b157fe5b049063ffffffff613cea16565b8b9063ffffffff614ba016565b6000858152600960205260409020600701549091506137f190829063ffffffff613cea16565b60008581526009602052604090206007015560e085015161381990849063ffffffff613cea16565b60e08601526101008501819052611085848a898b60008a6151cf565b60035460008181526009602052604081206006015481901580156138685750600083815260096020819052604082200154115b15613876576138768361533c565b60008881526007602090815260408083208684529091529020600101541580156138ba57506000888152600760209081526040808320868452909152812060030154115b156138f1576138c98884612400565b6000898152600760209081526040808320878452909152812060018101929092556003909101555b600083815260096020526040902060060154613913908863ffffffff614e3216565b9150670de0b6b3a7640000821061398a5761392e828461549d565b60008381526009602052604090205488146139555760008381526009602052604090208890555b60008381526009602052604090206001015485146139825760008381526009602052604090206001018590555b835160640184525b67016345785d8a00008710613bca576002805460010190556139aa61552b565b151560011415613bca57678ac7230489e800008710613a4b576001546064906139da90604b63ffffffff614b2916565b8115156139e357fe5b60008a8152600660205260409020600201549190049150613a0a908263ffffffff613cea16565b600089815260066020526040902060020155600154613a2f908263ffffffff614ba016565b60015583516d0eca8847c4129106ce8300000000018452613b9f565b670de0b6b3a76400008710158015613a6a5750678ac7230489e8000087105b15613af757600154606490613a8690603263ffffffff614b2916565b811515613a8f57fe5b60008a8152600660205260409020600201549190049150613ab6908263ffffffff613cea16565b600089815260066020526040902060020155600154613adb908263ffffffff614ba016565b60015583516d09dc5ada82b70b59df0200000000018452613b9f565b67016345785d8a00008710158015613b165750670de0b6b3a764000087105b15613b9f57600154606490613b3290601963ffffffff614b2916565b811515613b3b57fe5b60008a8152600660205260409020600201549190049150613b62908263ffffffff613cea16565b600089815260066020526040902060020155600154613b87908263ffffffff614ba016565b60015583516d04ee2d6d415b85acef81000000000184525b83516d314dc6448d9338c15b0a000000008202016c7e37be2022c0914b268000000001845260006002555b60025484516103e89091020184526000888152600760209081526040808320868452909152902060010154613c0690839063ffffffff613cea16565b6000898152600760209081526040808320878452825280832060010193909355600990522060050154613c4090839063ffffffff613cea16565b6000848152600960205260409020600581019190915560060154613c6b90889063ffffffff613cea16565b600084815260096020908152604080832060060193909355600a815282822088835290522054613ca290889063ffffffff613cea16565b6000848152600a60209081526040808320898452909152902055613cca838989898989614f5e565b9350613cda838989888689615742565b93506114fd8389878a86896151cf565b818101828110156124c7576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820616464206661696c656400000000000000000000000000604482015290519081900360640190fd5b6000613d6b613d62613d5d858563ffffffff614ba016565b614e58565b612f9d85614e58565b9392505050565b6000655af3107a40006131e86d027716b6a0adc2d677c080000000612f9d613de57a0613c0fa4ffe7d36a9e5fb5b8e3b592fda87c04000000000000000610e236d09dc5ada82b70b59df0200000000613dd98a670de0b6b3a764000063ffffffff614b2916565b9063ffffffff614b2916565b61589a565b600080821080613dfa5750600382115b15613e07575060026131f5565b50806131f5565b613e188582613430565b9050613e2782612f9d8761428f565b60008681526006602090815260408083206003908101949094558254935483526009909152902060040154014211613e7e5780516c25dd85d670d35ec9bec0000000018152613e79858385878561355b565b613e8b565b613e8b8583868685613835565b5050505050565b613e9a615a32565b60008060008060008060008060008060006003549a50600960008c8152602001908152602001600020600601546000148015613ee5575060008b815260096020819052604082200154115b15613ef357613ef38b61533c565b60008b815260096020526040902080546001820154600790920154909b5090995097506064613f2989603063ffffffff614b2916565b811515613f3257fe5b04965060328860008b8152600c60205260409020549190049650606490613f60908a9063ffffffff614b2916565b811515613f6957fe5b60008b8152600c60205260409020600101549190049550606490613f94908a9063ffffffff614b2916565b811515613f9d57fe5b049350613fb884612f9d87818a818e8e63ffffffff614ba016565b60008c815260096020526040902060050154909350613fe586670de0b6b3a764000063ffffffff614b2916565b811515613fee57fe5b60008d815260096020526040902060050154919004925061403c90670de0b6b3a76400009061402490859063ffffffff614b2916565b81151561402d57fe5b8791900463ffffffff614ba016565b9050600081111561406c57614057858263ffffffff614ba016565b9450614069838263ffffffff613cea16565b92505b60008a81526006602052604090206002015461408f90889063ffffffff613cea16565b60008b8152600660205260408082206002019290925581517f6465706f736974282900000000000000000000000000000000000000000000008152825190819003600901812063ffffffff60e060020a918290049081169091028252925173dd4950f977ee28d2c132f1353d1595035db444ee93928a9260048082019391829003018185885af19350505050151561413857614131848763ffffffff613cea16565b9350600095505b60008b81526009602052604090206008015461415b90839063ffffffff613cea16565b60008c8152600960205260408120600801919091558411156141e35773c0c001140319c5f114f8467295b1f22f86929ad0600160a060020a031663d0e30db0856040518263ffffffff1660e060020a0281526004016000604051808303818588803b1580156141c957600080fd5b505af11580156141dd573d6000803e3d6000fd5b50505050505b50506001808a0160009081526009602090815260408083206007018054860190559b82528b8220600201548e51620f4240909102018e528d810180516a52b7d2dcc80cd2e40000008d020167016345785d8a0000909b029a909a019099528981526006808a528b82208054600160a060020a03169c8f019c909c5299905297909652969095015460608901525060808701525060e085019190915260c084019190915260a08301525090565b60008181526006602052604081206005015481906142ae908490614ec7565b6000838152600660205260409020600481015460038201546002909201546142e092610e23919063ffffffff613cea16565b9050600081111561430c5760008381526006602052604081206002810182905560038101829055600401555b8091505b50919050565b80516000908290828080602084118015906143315750600084115b15156143ad576040805160e560020a62461bcd02815260206004820152602a60248201527f737472696e67206d757374206265206265747765656e203120616e642033322060448201527f6368617261637465727300000000000000000000000000000000000000000000606482015290519081900360840190fd5b8460008151811015156143bc57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214158015614423575084600185038151811015156143fb57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214155b151561449f576040805160e560020a62461bcd02815260206004820152602560248201527f737472696e672063616e6e6f74207374617274206f7220656e6420776974682060448201527f7370616365000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b8460008151811015156144ae57fe5b90602001015160f860020a900460f860020a02600160f860020a031916603060f860020a0214156145f1578460018151811015156144e857fe5b90602001015160f860020a900460f860020a02600160f860020a031916607860f860020a0214151515614565576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030780000000000604482015290519081900360640190fd5b84600181518110151561457457fe5b90602001015160f860020a900460f860020a02600160f860020a031916605860f860020a02141515156145f1576040805160e560020a62461bcd02815260206004820152601b60248201527f737472696e672063616e6e6f7420737461727420776974682030580000000000604482015290519081900360640190fd5b600091505b83821015614ac15784517f40000000000000000000000000000000000000000000000000000000000000009086908490811061462e57fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156146a2575084517f5b000000000000000000000000000000000000000000000000000000000000009086908490811061468357fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1561470f5784828151811015156146b557fe5b90602001015160f860020a900460f860020a0260f860020a900460200160f860020a0285838151811015156146e657fe5b906020010190600160f860020a031916908160001a90535082151561470a57600192505b614ab6565b848281518110151561471d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214806147ed575084517f60000000000000000000000000000000000000000000000000000000000000009086908490811061477957fe5b90602001015160f860020a900460f860020a02600160f860020a0319161180156147ed575084517f7b00000000000000000000000000000000000000000000000000000000000000908690849081106147ce57fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b80614897575084517f2f000000000000000000000000000000000000000000000000000000000000009086908490811061482357fe5b90602001015160f860020a900460f860020a02600160f860020a031916118015614897575084517f3a000000000000000000000000000000000000000000000000000000000000009086908490811061487857fe5b90602001015160f860020a900460f860020a02600160f860020a031916105b1515614913576040805160e560020a62461bcd02815260206004820152602260248201527f737472696e6720636f6e7461696e7320696e76616c696420636861726163746560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b848281518110151561492157fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a021415614a0057848260010181518110151561495d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916602060f860020a0214151515614a00576040805160e560020a62461bcd02815260206004820152602860248201527f737472696e672063616e6e6f7420636f6e7461696e20636f6e7365637574697660448201527f6520737061636573000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b82158015614aac575084517f300000000000000000000000000000000000000000000000000000000000000090869084908110614a3957fe5b90602001015160f860020a900460f860020a02600160f860020a0319161080614aac575084517f390000000000000000000000000000000000000000000000000000000000000090869084908110614a8d57fe5b90602001015160f860020a900460f860020a02600160f860020a031916115b15614ab657600192505b6001909101906145f6565b600183151514614b1b576040805160e560020a62461bcd02815260206004820152601d60248201527f737472696e672063616e6e6f74206265206f6e6c79206e756d62657273000000604482015290519081900360640190fd5b505050506020015192915050565b6000821515614b3a575060006124c7565b50818102818382811515614b4a57fe5b04146124c7576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d617468206d756c206661696c656400000000000000000000000000604482015290519081900360640190fd5b600082821115614bfa576040805160e560020a62461bcd02815260206004820152601360248201527f536166654d61746820737562206661696c656400000000000000000000000000604482015290519081900360640190fd5b50900390565b6000858152600760209081526040808320600354845282528083206002015460098352818420600101548452600c909252822054614cad9190670de0b6b3a764000090614c97908690613dd9908990614c7f908690606490614c69908f9063ffffffff614b2916565b811515614c7257fe5b049063ffffffff614b2916565b811515614c8857fe5b8c91900463ffffffff613cea16565b811515614ca057fe5b049063ffffffff614ba016565b9695505050505050565b60008281526007602090815260408083208484529091528120600301541515614d28576000838152600760209081526040808320858452825280832060028101546001909101546009909352922060080154614d219291670de0b6b3a764000091614c9791614b29565b90506124c7565b6000805483825260096020526040909120600401540142118015614d5b5750600082815260096020526040902060060154155b15614ddd576000838152600760209081526040808320858452909152902060020154614d2190670de0b6b3a7640000614c97614d978787612400565b60008781526009602081905260409091200154614db390613d72565b6000888152600960205260409020600a0154614c6990670de0b6b3a764000063ffffffff614b2916565b6000838152600760209081526040808320858452909152902060020154614d2190670de0b6b3a7640000614c97614e148787612400565b6000878152600960205260409020600801549063ffffffff614b2916565b6000613d6b614e4084613d72565b612f9d614e53868663ffffffff613cea16565b613d72565b6000614e6b670de0b6b3a76400006158ed565b6131e86002614e9e614e8b86670de0b6b3a764000063ffffffff614b2916565b655af3107a40009063ffffffff614b2916565b811515614ea757fe5b04610e23614eb4866158ed565b652d79883d20009063ffffffff614b2916565b6000614ed38383614cb7565b90506000811115614f5957600083815260066020526040902060030154614f0190829063ffffffff613cea16565b6000848152600660209081526040808320600301939093556007815282822085835290522060020154614f3b90829063ffffffff613cea16565b60008481526007602090815260408083208684529091529020600201555b505050565b614f66615a32565b600080808060328904935073dd4950f977ee28d2c132f1353d1595035db444ee600160a060020a03168460405180807f6465706f736974282900000000000000000000000000000000000000000000008152506009019050604051809103902060e060020a9004906040518263ffffffff1660e060020a02815260040160006040518083038185885af1935050505015156150015760009392505b5050600189016000908152600960205260409020600701805460648904908101909155600a8804878a14801590615048575060008881526006602052604090206001015415155b156150e85760008881526006602052604090206004015461507090829063ffffffff613cea16565b600089815260066020908152604091829020600481019390935582546001909301548251600160a060020a03909416845290830152818101839052426060830152518b918d918b917f590bbc0fc16915a85269a48f74783c39842b7ae9eceb7c295c95dbe8b3ec7331919081900360800190a46150ec565b8092505b6000878152600b602052604090206001015461512e90606490615116908c9063ffffffff614b2916565b81151561511f57fe5b8591900463ffffffff613cea16565b925060008311156151c05773c0c001140319c5f114f8467295b1f22f86929ad0600160a060020a031663d0e30db0846040518263ffffffff1660e060020a0281526004016000604051808303818588803b15801561518b57600080fd5b505af115801561519f573d6000803e3d6000fd5b50505060c08801516151ba925085915063ffffffff613cea16565b60c08701525b50939998505050505050505050565b836c01431e0fae6d7217caa00000000242670de0b6b3a7640000028260000151010181600001818152505085751aba4714957d300d0e549208b31adb100000000000000285826020015101018160200181815250507f500e72a0e114930aebdbcb371ccdbf43922c49f979794b5de4257ff7e310c7468160000151826020015160066000898152602001908152602001600020600101543387878760400151886060015189608001518a60a001518b60c001518c60e001518d6101000151600154604051808f81526020018e81526020018d600019166000191681526020018c600160a060020a0316600160a060020a031681526020018b81526020018a815260200189600160a060020a0316600160a060020a0316815260200188600019166000191681526020018781526020018681526020018581526020018481526020018381526020018281526020019e50505050505050505050505050505060405180910390a1505050505050565b60008181526009602081905260408220908101546006909101819055819061536390613d72565b60008481526009602052604090206005015561537e836131a2565b6000848152600960205260409020600b8101919091556005810154600a909101546153b790670de0b6b3a764000063ffffffff614b2916565b8115156153c057fe5b600085815260096020526040902060050154919004925061541f90670de0b6b3a7640000906153f690859063ffffffff614b2916565b8115156153ff57fe5b6000868152600960205260409020600a015491900463ffffffff614ba016565b905060008111156154605760008381526009602052604090206007015461544d90829063ffffffff613cea16565b6000848152600960205260409020600701555b60008381526009602052604090206008015461548390839063ffffffff613cea16565b600093845260096020526040909320600801929092555050565b60008181526009602052604081206002015481906154ca90610e2361012c670de0b6b3a764000088614c72565b91504290506154e161012c8263ffffffff613cea16565b821015615501576000838152600960205260409020600201829055610d2e565b61551361012c8263ffffffff613cea16565b60008481526009602052604090206002015550505050565b60008061569c43610e2342336040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106155a65780518252601f199092019160209182019101615587565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120925050508115156155dc57fe5b04610e2345610e2342416040516020018082600160a060020a0316600160a060020a03166c010000000000000000000000000281526014019150506040516020818303038152906040526040518082805190602001908083835b602083106156555780518252601f199092019160209182019101615636565b5181516020939093036101000a600019018019909116921691909117905260405192018290039091209250505081151561568b57fe5b04610e23424463ffffffff613cea16565b604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b602083106156ea5780518252601f1990920191602091820191016156cb565b5181516020939093036101000a6000190180199091169216919091179052604051920182900390912060025490945092506103e89150839050046103e80282031015615739576001915061573e565b600091505b5090565b61574a615a32565b6000848152600b6020526040812054819081908190606490615773908b9063ffffffff614b2916565b81151561577c57fe5b04935060648904925061579a83600154613cea90919063ffffffff16565b60019081556000898152600b6020526040902001546157f5906157e8906064906157cb908d9063ffffffff614b2916565b8115156157d457fe5b0460646137a88d600e63ffffffff614b2916565b8a9063ffffffff614ba016565b9850615807898563ffffffff614ba016565b91506158158b8b868a6158f9565b9050600081111561583357615830848263ffffffff614ba016565b93505b60008b81526009602052604090206007015461585990610e23848463ffffffff613cea16565b60008c81526009602052604090206007015560e086015161588190859063ffffffff613cea16565b60e0870152506101008501525091979650505050505050565b60008060026158aa846001613cea565b8115156158b357fe5b0490508291505b818110156143105780915060026158dc82858115156158d557fe5b0483613cea565b8115156158e557fe5b0490506158ba565b60006124c78283614b29565b6000848152600960205260408120600501548190819061592786670de0b6b3a764000063ffffffff614b2916565b81151561593057fe5b600089815260096020526040902060080154919004925061595890839063ffffffff613cea16565b600088815260096020526040902060080155670de0b6b3a7640000615983838663ffffffff614b2916565b81151561598c57fe5b60008881526007602090815260408083208c84528252808320600201546009909252909120600801549290910492506159df91610e23908490670de0b6b3a764000090614c97908a63ffffffff614b2916565b60008781526007602090815260408083208b8452825280832060020193909355600990522060050154615a2790670de0b6b3a76400009061402490859063ffffffff614b2916565b979650505050505050565b6101206040519081016040528060008152602001600081526020016000600160a060020a03168152602001600080191681526020016000815260200160008152602001600081526020016000815260200160008152509056006e20646973636f72640000000000000000000000000000000000000000000000706f636b6574206c696e743a206e6f7420612076616c69642063757272656e63697473206e6f74207265616479207965742e2020636865636b203f65746120696e6f20766974616c696b2c206e6f000000000000000000000000000000000000736f7272792068756d616e73206f6e6c79000000000000000000000000000000a165627a7a72305820fd2d093d2ba46083b8d49b47f85778858a875411264a02ac3f6b94e5bf34b3050029
Swarm Source
bzzr://fd2d093d2ba46083b8d49b47f85778858a875411264a02ac3f6b94e5bf34b305
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,249.52 | 84.6909 | $275,204.41 |
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.