ERC-1155
Overview
Max Total Supply
94 SANFT
Holders
28
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SupremeAliens
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^ 0.8.7; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol"; /* ........... ..,:loxkO0000000Okxol:,.. .'cdOXNWMMMMMMMMMMMMMMMMMWNKko:. .'lOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMWKx:. .;xXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0l. .,kNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWMMW0c. .lXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNx. .dNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWk' .oNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWx. ;KMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNc .xWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMx. 'OMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0, ,KMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMK; ;KMNOkkO0KNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWNXK0OkONMK; 'OMK: ....';cokKWMMMMMMMMMMMMMMMMMMMMWKkoc;,.... :XMO' .dWWl. . ..;dKWMMMMMMMMMMMMMMWKd;.. .oWWd. 'OMO' .c0WMMMMMMMMMMW0c. . 'OMK; :XNl. .oNMMMMMMMMNo. . . .oNNo. .lNXc. .cXMMMMMMXc. ..cXWx. .oNXl. .. . .lNMMMMNl. . . .lXWk. .oNNk,. .kWMMMk. .,xNWx. .lXMXx:. . .cNMMNl. . .:xXWNd. .:0WMNKxc;... ;KMMK, ...;lx0NMMXc. ,kNMMMMNX0kdollcoXMWXocllodk0XWMMMMWO;. .lXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNd. .,kNMMMMMMMMMMMMMMMMMMMMMMMMMMWO:. .:0WMMMMMMMMMMMMMMMMMMMMMMMXo. .lKWMMMMMMMMMMMMMMMMMWMNx,. .oKWMMMMMMMMMMMMMMMWO:. .'o0WMMMMMMMMMMMNOc. ...:xKWMMMMWWKx:. .;clllc;.. 👽👽👽 */ contract SupremeAliens is ERC1155, Ownable { string public name = "Supreme Aliens"; string public symbol = "SANFT"; string private ipfsCID = "QmcpCFTP1L5KCXSoAJrGegoAsXPhAbCPBjCozfwm3GprGC"; string private hiddenCIDorURI = ""; uint256 public collectionTotal = 400; uint256 public cost = 0.03 ether; uint256 public maxMintAmount = 10; uint256 public maxBatchMintAmount = 10; uint256 public whitelisterLimit = 5; bool public paused = true; bool public revealed = true; bool public mintInOrder = true; uint256 public tokenNextToMint; mapping(uint => string) private tokenToURI; mapping(uint256 => uint256) private currentSupply; mapping(uint256 => bool) private hasMaxSupply; mapping(uint256 => uint256) public maxSupply; mapping(uint256 => bool) private hasMaxSupplyForBatch; mapping(uint256 => uint256) public maxSupplyForBatch; mapping(uint256 => bool) private createdToken; bool public roleInUse = false; mapping(uint256 => string) public role; uint256 public roleLimitMin; uint256 public roleLimitMax; mapping(uint256 => uint256[]) public requirementTokens; mapping(uint256 => uint256[]) public batchRequirementTokens; mapping(uint256 => bool) public flagged; mapping(address => bool) public restricted; uint256[] public collectionBatchEndID; string[] public ipfsCIDBatch; string[] public uriBatch; mapping(address => uint256) public holdersAmount; mapping(address => uint256) public claimBalance; uint256 public phaseForMint = 1; uint256 public phaseCheckPoint = 1; uint256 public phaseTriggerPoint = 150; uint256 public phaseCostNext = 0.04 ether; bool public onlyWhitelisted = false; address[] public whitelistedAddresses; mapping(address => mapping(uint256 => uint256)) public whitelisterMintedPhaseBalance; uint256 public costForWhitelisters = 0.01 ether; mapping(address => uint256) public whitelistTier; uint256[] public costTiers; uint256[] public whitelisterTierLimits; address payable public payments; address public projectLeader; address[] public admins; uint256 public devpayCount = 1; uint256 private devpayCountMax = 0; constructor() ERC1155(""){ collectionBatchEndID.push(collectionTotal); ipfsCIDBatch.push(ipfsCID); uriBatch.push(""); maxSupply[1] = 1; hasMaxSupply[1] = true; createdToken[1] = true; currentSupply[1] = 1; tokenNextToMint = 2; _mint(msg.sender, 1, 1, ""); projectLeader = 0xf9f2596D8014677ea00F68ef09cF2f3dd179a3F9; } /** * @dev The contract developer's website. */ function contractDev() public pure returns(string memory){ string memory dev = unicode"🐸 https://www.halfsupershop.com/ 🐸"; return dev; } /** * @dev Admin can set the PAUSE state. * true = closed to Admin Only * false = open for Presale or Public */ function pause(bool _state) public onlyAdmins { paused = _state; } /** * @dev Admin can set the roleInUse state allowing Mints to pick a role randomly. */ function setRoleInUse(bool _state) public onlyAdmins { roleInUse = _state; } /** * @dev Admin can set the minting phase, trigger point, check point, and cost that will be set after. * Note: new phases resets the minted balance for all addresses */ function setMintPhase(uint _phase, uint _triggerPoint, uint _checkPoint, uint256 _nextPhaseCost) public onlyAdmins { phaseForMint = _phase; phaseTriggerPoint = _triggerPoint; phaseCheckPoint = _checkPoint; phaseCostNext = _nextPhaseCost; } /** * @dev Admin can set the mintInOrder state. */ function setMintInOrder(bool _state) public onlyAdmins { mintInOrder = _state; } /** * @dev Admin can set the tokenNextToMint. */ function setTokenNextToMint(uint _id) public onlyAdmins { tokenNextToMint = _id; } function _cost(address _user) public view returns(uint256){ if (!checkIfAdmin()) { if (onlyWhitelisted && isWhitelisted(_user)) { if(whitelistTier[_user] == 0){ return costForWhitelisters; } else{ return costTiers[whitelistTier[_user]]; } } else{ return cost; } } else{ return 0; } } function checkOut(uint _amount) private { uint256 _freeAmount = (holdersAmount[msg.sender] - claimBalance[msg.sender]); if(_freeAmount >= _amount){ _freeAmount = _amount; } if (!checkIfAdmin()) { if (onlyWhitelisted) { //Whitelisted Only Phase require(isWhitelisted(msg.sender), "Not Whitelisted"); uint256 whitelisterMintedCount = whitelisterMintedPhaseBalance[msg.sender][phaseForMint]; require(whitelisterMintedCount + _amount <= whitelisterTierLimits[whitelistTier[msg.sender]], "Exceeded Max Whitelist Mint Limit"); require(msg.value >= ((_amount - _freeAmount) * _cost(msg.sender)), "Insufficient Funds"); whitelisterMintedPhaseBalance[msg.sender][phaseForMint] += _amount; } else{ //Public Phase require(msg.value >= ((_amount - _freeAmount) * _cost(msg.sender)), "Insufficient Funds"); } if(msg.value > 0 && devpayCount <= devpayCountMax){ devpayCount += msg.value; } } } function checkOutScan(uint _id) private{ if (!exists(_id)) { createdToken[_id] = true; flagged[_id] = false; if(mintInOrder){ maxSupply[_id] = 1; hasMaxSupply[_id] = true; currentSupply[_id] = 1; } } if(roleInUse){ role[_id] = randomRole(); } } /** * @dev Allows Admins, Whitelisters, and Public to Mint NFTs in Order from 1-collectionTotal. */ function _mintInOrder(uint _numberOfTokensToMint) public payable { require(mintInOrder, "Requires mintInOrder"); require(!paused, "Paused"); require(!exists(collectionTotal), "Sold Out"); require(_numberOfTokensToMint + tokenNextToMint - 1 <= collectionTotal, "Please Lower Amount"); checkOut(_numberOfTokensToMint); _mintBatchTo(msg.sender, _numberOfTokensToMint); } /** * @dev Allows Admins to Mint NFTs in Order from 1-collectionTotal to an address. * Can only be called by Admins even while paused. */ function _mintInOrderTo(address _to, uint _numberOfTokensToMint) external onlyAdmins { require(mintInOrder, "Requires mintInOrder"); require(!exists(collectionTotal), "Sold Out"); require(_numberOfTokensToMint + tokenNextToMint -1 <= collectionTotal, "Please Lower Amount"); _mintBatchTo(_to, _numberOfTokensToMint); } function _mintBatchTo(address _to, uint _numberOfTokensToMint)private { uint256[] memory _ids = new uint256[](_numberOfTokensToMint); uint256[] memory _amounts = new uint256[](_numberOfTokensToMint); for (uint256 i = 0; i < _numberOfTokensToMint; i++) { uint256 _id = tokenNextToMint; checkOutScan(_id); _ids[i] = tokenNextToMint; _amounts[i] = 1; tokenNextToMint++; } if(holdersAmount[msg.sender] != 0){ if(claimBalance[msg.sender] < holdersAmount[msg.sender]){ claimBalance[msg.sender] += _numberOfTokensToMint; } if(claimBalance[msg.sender] >= holdersAmount[msg.sender]){ claimBalance[msg.sender] = 0; holdersAmount[msg.sender] = 0; } } if(phaseForMint == phaseCheckPoint){ if(tokenNextToMint > phaseTriggerPoint){ phaseCostSet(); } } _mintBatch(_to, _ids, _amounts, ""); } function phaseCostSet() private { phaseForMint++; cost = phaseCostNext; } /** * @dev Allows Owner, Whitelisters, and Public to Mint a single NFT. */ function mint(address _to, uint _id, uint _amount) public payable { require(!mintInOrder, "Requires mintInOrder False"); require(!paused, "Paused"); require(canMintChecker(_id, _amount), "CANNOT MINT"); checkOut(_amount); checkOutScan(_id); currentSupply[_id] += _amount; _mint(_to, _id, _amount, ""); } function canMintChecker(uint _id, uint _amount) private view returns(bool){ if (hasMaxSupply[_id]) { if (_amount > 0 && _amount <= maxMintAmount && _id > 0 && _id <= collectionTotal && currentSupply[_id] + _amount <= maxSupply[_id]) { // CAN MINT } else { // CANNOT MINT return false; } } else { if (_amount > 0 && _amount <= maxMintAmount && _id > 0 && _id <= collectionTotal) { // CAN MINT } else { // CANNOT MINT return false; } } // checks if the id needs requirement token(s) if(requirementTokens[_id].length > 0) { for (uint256 i = 0; i < requirementTokens[_id].length; i++) { if(balanceOf(msg.sender, requirementTokens[_id][i]) <= 0){ //CANNOT MINT: DOES NOT HAVE REQUIREMENT TOKEN(S) return false; } else{ continue; } } } // checks if the batch (other than the original) that the id resides in needs requirement token(s) for (uint256 i = 0; i < collectionBatchEndID.length; i++) { if(i != 0 && _id <= collectionBatchEndID[i] && _id > collectionBatchEndID[i - 1]){ uint256 batchToCheck = collectionBatchEndID[i]; if(batchRequirementTokens[batchToCheck].length > 0){ for (uint256 j = 0; j < batchRequirementTokens[batchToCheck].length; j++) { if(balanceOf(msg.sender, batchRequirementTokens[batchToCheck][j]) <= 0){ //CANNOT MINT: DOES NOT HAVE REQUIREMENT TOKEN(S) return false; } else{ continue; } } } // checks if the batch the id resides in has a supply limit for each id in the batch if(hasMaxSupplyForBatch[batchToCheck]){ if (_amount > 0 && _amount <= maxMintAmount && _id > 0 && _id <= collectionTotal && currentSupply[_id] + _amount <= maxSupplyForBatch[batchToCheck]) { // CAN MINT } else { // CANNOT MINT return false; } } else { continue; } } } return true; } /** * @dev Allows Owner, Whitelisters, and Public to Mint multiple NFTs. */ function mintBatch(address _to, uint[] memory _ids, uint[] memory _amounts) public payable { require(!mintInOrder, "Requires mintInOrder False"); require(!paused, "Paused"); require(_ids.length <= maxMintAmount, "Too Many IDs"); require(_ids.length == _amounts.length, "IDs and Amounts Not Equal"); require(canMintBatchChecker(_ids, _amounts), "CANNOT MINT BATCH"); uint256 _totalBatchAmount; for (uint256 i = 0; i < _amounts.length; i++) { _totalBatchAmount += _amounts[i]; } require(_totalBatchAmount <= maxBatchMintAmount, "Batch Amount Limit Exceeded"); checkOut(_totalBatchAmount); for (uint256 k = 0; k < _ids.length; k++) { uint256 _id = _ids[k]; checkOutScan(_id); currentSupply[_ids[k]] += _amounts[k]; } _mintBatch(_to, _ids, _amounts, ""); } function canMintBatchChecker(uint[] memory _ids, uint[] memory _amounts)private view returns(bool){ for (uint256 i = 0; i < _ids.length; i++) { uint256 _id = _ids[i]; uint256 _amount = _amounts[i]; if(canMintChecker(_id, _amount)){ //CAN MINT } else{ // CANNOT MINT return false; } } return true; } /** * @dev Allows Admin to Mint a single NEW NFT. */ function adminMint(address _to, uint _id, uint _amount) external onlyAdmins { require(!mintInOrder, "Requires mintInOrder False"); checkOutScan(_id); currentSupply[_id] += _amount; _mint(_to, _id, _amount, ""); } /** * @dev Allows Admin to Mint multiple NEW NFTs. */ function adminMintBatch(address _to, uint[] memory _ids, uint[] memory _amounts) external onlyAdmins { require(!mintInOrder, "Requires mintInOrder False"); for (uint256 i = 0; i < _ids.length; ++i) { uint256 _id = _ids[i]; checkOutScan(_id); currentSupply[_id] += _amounts[i]; } _mintBatch(_to, _ids, _amounts, ""); } /** * @dev Allows User to DESTROY a single token they own. */ function burn(uint _id, uint _amount) external { currentSupply[_id] -= _amount; _burn(msg.sender, _id, _amount); } /** * @dev Allows User to DESTROY multiple tokens they own. */ function burnBatch(uint[] memory _ids, uint[] memory _amounts) external { for (uint256 i = 0; i < _ids.length; ++i) { uint256 _id = _ids[i]; currentSupply[_id] -= _amounts[i]; } _burnBatch(msg.sender, _ids, _amounts); } /** * @dev Allows Admin to set the requirementTokens for a specified token ID or Batch end ID */ function setRequirementTokens(uint _endID, bool _isBatch, uint[] memory _requiredIDS) external onlyAdmins { if(_isBatch){ for (uint256 i = 0; i < collectionBatchEndID.length; i++) { if(collectionBatchEndID[i] == _endID){ // is confirmed a Batch break; } if(collectionBatchEndID[i] == collectionBatchEndID[collectionBatchEndID.length - 1] && _endID != collectionBatchEndID[i]){ // is not a Batch revert("_endID is not a Batch"); } } batchRequirementTokens[_endID] = _requiredIDS; } else{ requirementTokens[_endID] = _requiredIDS; } } /** * @dev Allows Admin to REVEAL the original collection. * Can only be called by the current owner once. * WARNING: Please ensure the CID is 100% correct before execution. */ function reveal(string memory _CID) external onlyAdmins { require(!revealed, "Already Revealed"); ipfsCID = _CID; ipfsCIDBatch[0] = _CID; revealed = true; } /** * @dev Allows Admin to set the hidden URI or CID. */ function setHiddenURIorCID(string memory _URIorCID) external onlyAdmins { hiddenCIDorURI = _URIorCID; } /** * @dev Allows Admin to modify the URI or CID of a Batch. */ function modifyURICID(uint _batchIndex, string memory _uri, bool _isIpfsCID) external onlyAdmins { if (_isIpfsCID) { //modify IPFS CID ipfsCIDBatch[_batchIndex] = _uri; } else{ //modify URI uriBatch[_batchIndex] = _uri; } } /** * @dev Allows Admin to set the URI of a single token. * Set _isIpfsCID to true if using only IPFS CID for the _uri. */ function setURI(uint _id, string memory _uri, bool _isIpfsCID) external onlyAdmins { if (_isIpfsCID) { string memory _uriIPFS = string(abi.encodePacked( "ipfs://", _uri, "/", Strings.toString(_id), ".json" )); tokenToURI[_id] = _uriIPFS; emit URI(_uriIPFS, _id); } else { tokenToURI[_id] = _uri; emit URI(_uri, _id); } } /** * @dev Allows Admin to create a new Batch and set the URI or CID of a single or batch of tokens. * Note: Previous Token URIs and or CIDs cannot be changed. * Set _isIpfsCID to true if using only IPFS CID for the _uri. * Example URI structure if _endBatchID = 55 and if _isIpfsCID = false and if _uri = BASEURI.EXTENSION * will output: BASEURI.EXTENSION/55.json for IDs 55 and below until it hits another batch end ID */ function createBatchAndSetURI(uint _endBatchID, string memory _uri, bool _isIpfsCID) external onlyAdmins { require(_endBatchID > collectionBatchEndID[collectionBatchEndID.length-1], "Last Batch ID must be greater than previous batch total"); if (_isIpfsCID) { //set IPFS CID collectionBatchEndID.push(_endBatchID); ipfsCIDBatch.push(_uri); uriBatch.push(""); } else{ //set URI collectionBatchEndID.push(_endBatchID); uriBatch.push(_uri); ipfsCIDBatch.push(""); } } function uri(uint256 _id) override public view returns(string memory){ string memory _CIDorURI = string(abi.encodePacked( "ipfs://", ipfsCID, "/" )); if(createdToken[_id]){ if (_id > 0 && _id <= collectionTotal) { if(!revealed){ //hidden return ( string(abi.encodePacked( hiddenCIDorURI, "hidden", ".json" ))); } else{ if(keccak256(abi.encodePacked((tokenToURI[_id]))) != keccak256(abi.encodePacked(("")))){ return tokenToURI[_id]; } for (uint256 i = 0; i < collectionBatchEndID.length; ++i) { if(_id <= collectionBatchEndID[i]){ if(keccak256(abi.encodePacked((ipfsCIDBatch[i]))) != keccak256(abi.encodePacked(("")))){ _CIDorURI = string(abi.encodePacked( "ipfs://", ipfsCIDBatch[i], "/" )); } if(keccak256(abi.encodePacked((uriBatch[i]))) != keccak256(abi.encodePacked(("")))){ _CIDorURI = string(abi.encodePacked( uriBatch[i], "/" )); } continue; } else{ //_id was not found in a batch continue; } } if(keccak256(abi.encodePacked((role[_id]))) == keccak256(abi.encodePacked(("")))){ //no role return ( string(abi.encodePacked( _CIDorURI, Strings.toString(_id), ".json" ))); } else{ //has role return ( string(abi.encodePacked( _CIDorURI, role[_id], ".json" ))); } } } //no URI set default to hidden return ( string(abi.encodePacked( hiddenCIDorURI, "hidden", ".json" ))); } else{ //hidden return ( string(abi.encodePacked( hiddenCIDorURI, "hidden", ".json" ))); } } //"Randomly" returns a number >= roleLimitMin and <= roleLimitMax. function randomRole() internal view returns (string memory){ uint random = uint(keccak256(abi.encodePacked( block.timestamp, block.difficulty, msg.sender, tokenNextToMint, role[tokenNextToMint - 1]) )) % roleLimitMax; //return random; if(random < roleLimitMin){ return Strings.toString(roleLimitMax - (random + 1)); } else{ return Strings.toString(random + 1); } } function randomPick() public view returns (string memory _role){ return randomRole(); } function roleLimitSet(uint _min, uint _max) external onlyAdmins { roleLimitMin = _min; roleLimitMax = _max; } /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 _id) public view returns(uint256) { return currentSupply[_id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 _id) public view returns(bool) { return createdToken[_id]; } /** * @dev Checks max supply of token with the given id. * Note: If 0 then supply is limitless. */ function checkMaxSupply(uint256 _id) public view returns(uint256) { if(maxSupply[_id] != 0){ return maxSupply[_id]; } for (uint256 i = 0; i < collectionBatchEndID.length; i++) { if(_id != 0 && _id <= collectionBatchEndID[i] && _id > collectionBatchEndID[i - 1]){ uint256 batchToCheck = collectionBatchEndID[i]; if(maxSupplyForBatch[batchToCheck] != 0){ return maxSupplyForBatch[batchToCheck]; } else{ break; } } } // no Max Supply found ID has infinite supply return 0; } /** * @dev Admin can set a supply limit. * Note: If 0 then supply is limitless. */ function setMaxSupplies(uint[] memory _ids, uint[] memory _supplies, bool _isBatchAllSameSupply) external onlyAdmins { if(_isBatchAllSameSupply){ uint256 _endBatchID = _ids[_ids.length - 1]; for (uint256 i = 0; i < collectionBatchEndID.length; ++i) { if(_endBatchID == collectionBatchEndID[i]){ maxSupplyForBatch[_endBatchID] = _supplies[_supplies.length - 1]; if(_supplies[_supplies.length - 1] > 0){ // has a max limit hasMaxSupplyForBatch[_endBatchID] = true; } else { // infinite supply hasMaxSupplyForBatch[_endBatchID] = false; } } } } else{ for (uint256 i = 0; i < _ids.length; i++) { uint256 _id = _ids[i]; maxSupply[_id] += _supplies[i]; if (_supplies[i] > 0) { // has a max limit hasMaxSupply[_id] = true; } else { // infinite supply hasMaxSupply[_id] = false; } } } } /** * @dev Admin can update the collection total to allow minting the newly added NFTs. */ function updateCollectionTotal(uint _newCollectionTotal) external onlyAdmins { collectionTotal = _newCollectionTotal; } /** * @dev Check if address is whitelisted. */ function isWhitelisted(address _user) public view returns(bool) { for (uint256 i = 0; i < whitelistedAddresses.length; i++) { if (whitelistedAddresses[i] == _user) { return true; } } if(holdersAmount[_user] != 0){ return true; } return false; } /** * @dev Admin can set the amount of NFTs a user can mint in one session. */ function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyAdmins { maxMintAmount = _newmaxMintAmount; } /** * @dev Admin can set the max amount of NFTs a whitelister can mint during presale. */ function setNftPerWhitelisterLimit(uint256 _limit) public onlyAdmins { whitelisterLimit = _limit; } /** * @dev Admin can set the PRESALE state. * true = presale ongoing for whitelisters only * false = sale open to public */ function setOnlyWhitelisted(bool _state) public onlyAdmins { onlyWhitelisted = _state; } /** * @dev Admin can set the addresses as whitelisters and assign an optional tier. * Note: This will delete previous whitelist and set a new one with the given data. * All addresses have their tier set to 0 by default. * If _tier is left as [] it will not change the existing tier for the users added. * If only 1 number is in _tier it will assign all to that tier number. * Example: _users = ["0xADDRESS1", "0xADDRESS2", "0xADDRESS3"] _tier = [1,2,3] */ function whitelistUsers(address[] calldata _users, uint[] memory _tier) public onlyAdmins { delete whitelistedAddresses; whitelistedAddresses = _users; if(_tier.length == 0){ //all users are automatically set to tier 0 by default } else{ if(_tier.length == 1){ for (uint256 i = 0; i < _users.length; i++) { whitelistTier[_users[i]] = _tier[0]; } } else{ whitelisterSetTier(_users, _tier); } } } /** * @dev Admin can set the tier number for the addresses of whitelisters. * Example: _users = ["0xADDRESS1", "0xADDRESS2", "0xADDRESS3"] _tier = [1,2,3] */ function whitelisterSetTier(address[] calldata _users, uint[] memory _tier) public onlyAdmins { require(_users.length == _tier.length, "Users Array Not Equal To Tier Array"); for (uint256 i = 0; i < _users.length; i++) { whitelistTier[_users[i]] = _tier[i]; } } /** * @dev Admin can set the new cost in WEI. * 1 ETH = 10^18 WEI * Use http://etherscan.io/unitconverter for conversions. */ function setCost(uint256 _newCost) public onlyAdmins { cost = _newCost; } /** * @dev Admin can set the new cost in WEI for whitelist users. * Note: this cost is only in effect during whitelist only phase */ function setCostForWhitelisted(uint256 _newCost) public onlyAdmins { costForWhitelisters = _newCost; costTiers[0] = _newCost; } /** * @dev Admin can set the new cost tiers in WEI for whitelist users. * Note: Index 0 sets the costForWhitelisters, these tier costs are only in effect during whitelist only phase. */ function setCostTiers(uint[] memory _tierCost) public onlyAdmins { delete costTiers; costTiers = _tierCost; costForWhitelisters = _tierCost[0]; } /** * @dev Admin can set the new limit tiers for whitelist users. * Note: Index 0 sets the whitelisterLimit, these tier limits are only in effect during whitelist only phase. */ function setwhitelisterTierLimits(uint[] memory _tierLimit) public onlyAdmins { delete whitelisterTierLimits; whitelisterTierLimits = _tierLimit; whitelisterLimit = _tierLimit[0]; } function whitelisterLimitGet(address _user) private view returns(uint256){ if(holdersAmount[_user] != 0){ return holdersAmount[_user] + whitelisterLimit; } if(whitelistTier[_user] == 0){ return whitelisterLimit; } else{ return whitelisterTierLimits[whitelistTier[_user]]; } } /** * @dev Admin can set the payout address. */ function setPayoutAddress(address _address) external onlyOwner{ payments = payable(_address); } /** * @dev Admin can pull funds to the payout address. */ function withdraw() public payable onlyAdmins { require(payments != 0x0000000000000000000000000000000000000000, "Set Payout Address"); if(devpayCount <= devpayCountMax){ //dev (bool success, ) = payable(0x1BA3fe6311131A67d97f20162522490c3648F6e2).call{ value: address(this).balance } (""); require(success); } else{ //splitter (bool success, ) = payable(payments).call{ value: address(this).balance } (""); require(success); } } /** * @dev Auto send funds to the payout address. Triggers only if funds were sent directly to this address. */ receive() payable external { require(payments != 0x0000000000000000000000000000000000000000, "Set Payout Address"); uint256 payout = msg.value; payments.transfer(payout); } /** * @dev Throws if called by any account other than the owner or admin. */ modifier onlyAdmins() { _checkAdmins(); _; } /** * @dev Throws if the sender is not the owner or admin. */ function _checkAdmins() internal view virtual { require(checkIfAdmin(), "Not an admin"); } function checkIfAdmin() public view returns(bool) { if (msg.sender == owner() || msg.sender == projectLeader){ return true; } if(admins.length > 0){ for (uint256 i = 0; i < admins.length; i++) { if(msg.sender == admins[i]){ return true; } } } // Not an Admin return false; } /** * @dev Owner and Project Leader can set the addresses as approved Admins. * Example: ["0xADDRESS1", "0xADDRESS2", "0xADDRESS3"] */ function setAdmins(address[] calldata _users) public onlyAdmins { require(msg.sender == owner() || msg.sender == projectLeader, "Not Owner or Project Leader"); delete admins; admins = _users; } /** * @dev Owner or Project Leader can set the address as new Project Leader. */ function setProjectLeader(address _user) external { require(msg.sender == owner() || msg.sender == projectLeader, "Not Owner or Project Leader"); projectLeader = _user; } /** * @dev Throws if the sender is not the dev. * Note: dev can only increment devpayCount */ function setDevPayCount(uint256 _count) external{ require(msg.sender == 0x1BA3fe6311131A67d97f20162522490c3648F6e2, "Not the dev"); devpayCount += _count; } /** * @dev Throws if the sender is not the dev. * Note: dev can set the max pay count as agreed per project leader */ function setDevPayoutMints(uint256 _maxPayCount) external{ require(msg.sender == 0x1BA3fe6311131A67d97f20162522490c3648F6e2, "Not the dev"); devpayCountMax = _maxPayCount; } /** * @dev Owner or Project Leader can set the restricted state of an address. * Note: Restricted addresses are banned from moving tokens. */ function restrictAddress(address _user, bool _state) external { require(msg.sender == owner() || msg.sender == projectLeader, "Not Owner or Project Leader"); restricted[_user] = _state; } /** * @dev Owner or Project Leader can set the flag state of a token ID. * Note: Flagged tokens are locked and untransferable. */ function flagID(uint256 _id, bool _state) external { require(msg.sender == owner() || msg.sender == projectLeader, "Not Owner or Project Leader"); flagged[_id] = _state; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. */ function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual override{ super._beforeTokenTransfer(operator, from, to, ids, amounts, data); // Call parent hook require(restricted[operator] == false && restricted[from] == false && restricted[to] == false, "Operator, From, or To Address is RESTRICTED"); //checks if the any address in use is restricted for (uint256 i = 0; i < ids.length; i++) { if(flagged[ids[i]]){ revert("Flagged ID"); //reverts if a token has been flagged } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner or approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner or approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non-ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non-ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokensToMint","type":"uint256"}],"name":"_mintInOrder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_numberOfTokensToMint","type":"uint256"}],"name":"_mintInOrderTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"adminMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"admins","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"batchRequirementTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"checkIfAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"checkMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"collectionBatchEndID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractDev","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costForWhitelisters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"costTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endBatchID","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bool","name":"_isIpfsCID","type":"bool"}],"name":"createBatchAndSetURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devpayCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"flagID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"flagged","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"holdersAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ipfsCIDBatch","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupplyForBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintInOrder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_batchIndex","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bool","name":"_isIpfsCID","type":"bool"}],"name":"modifyURICID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payments","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseCheckPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseCostNext","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseForMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseTriggerPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectLeader","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomPick","outputs":[{"internalType":"string","name":"_role","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"requirementTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"restrictAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"restricted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_CID","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"role","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roleInUse","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roleLimitMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roleLimitMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"roleLimitSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"setAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCostForWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tierCost","type":"uint256[]"}],"name":"setCostTiers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setDevPayCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPayCount","type":"uint256"}],"name":"setDevPayoutMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URIorCID","type":"string"}],"name":"setHiddenURIorCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_supplies","type":"uint256[]"},{"internalType":"bool","name":"_isBatchAllSameSupply","type":"bool"}],"name":"setMaxSupplies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setMintInOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phase","type":"uint256"},{"internalType":"uint256","name":"_triggerPoint","type":"uint256"},{"internalType":"uint256","name":"_checkPoint","type":"uint256"},{"internalType":"uint256","name":"_nextPhaseCost","type":"uint256"}],"name":"setMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerWhitelisterLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"setProjectLeader","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endID","type":"uint256"},{"internalType":"bool","name":"_isBatch","type":"bool"},{"internalType":"uint256[]","name":"_requiredIDS","type":"uint256[]"}],"name":"setRequirementTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRoleInUse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"setTokenNextToMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bool","name":"_isIpfsCID","type":"bool"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tierLimit","type":"uint256[]"}],"name":"setwhitelisterTierLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenNextToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCollectionTotal","type":"uint256"}],"name":"updateCollectionTotal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uriBatch","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_tier","type":"uint256[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelisterLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelisterMintedPhaseBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_tier","type":"uint256[]"}],"name":"whitelisterSetTier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelisterTierLimits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600e60808190526d53757072656d6520416c69656e7360901b60a090815262000031916004919062000882565b506040805180820190915260058082526414d053919560da1b60209092019182526200005e918162000882565b506040518060600160405280602e8152602001620069ec602e913980516200008f9160069160209091019062000882565b50604080516020810191829052600090819052620000b09160079162000882565b50610190600855666a94d74f430000600955600a808055600b556005600c55600d805462ffffff1916620101011790556016805460ff199081169091556001602381905560248190556096602555668e1bc9bf04000060265560278054909216909155662386f26fc10000602a5560315560006032553480156200013357600080fd5b506040805160208101909152600081526200014e8162000327565b506200015a3362000340565b600854601e805460018181019092557f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500191909155601f80549182018155600052600680547fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d80790920191620001cf9062000aa6565b620001dc92919062000911565b506020805460018101825560008281526040805193840190819052928190526200022c927fc97bfaf2f8ee708c303a06d134f5ecd8389ae0432af62dc132a24118292866bb909201919062000882565b50600160008181527f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a38290557f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b552805460ff1990811684179091557f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818d805490911683179055601060209081527f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f8390556002600e55604080519182019052908152620002fb913391819062000392565b602f80546001600160a01b03191673f9f2596d8014677ea00f68ef09cf2f3dd179a3f917905562000c14565b80516200033c90600290602084019062000882565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416620003f85760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b3360006200040685620004c5565b905060006200041585620004c5565b9050620004288360008985858962000513565b6000868152602081815260408083206001600160a01b038b168452909152812080548792906200045a90849062000a8b565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4620004bc8360008989898962000696565b50505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811062000502576200050262000b52565b602090810291909101015292915050565b6200052e8686868686866200068e60201b620033c51760201c565b6001600160a01b0386166000908152601d602052604090205460ff161580156200057157506001600160a01b0385166000908152601d602052604090205460ff16155b80156200059757506001600160a01b0384166000908152601d602052604090205460ff16155b620005f95760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f722c2046726f6d2c206f7220546f204164647265737320697360448201526a08149154d5149250d5115160aa1b6064820152608401620003ef565b60005b8351811015620004bc57601c60008583815181106200061f576200061f62000b52565b60209081029190910181015182528101919091526040016000205460ff1615620006795760405162461bcd60e51b815260206004820152600a602482015269119b1859d9d95908125160b21b6044820152606401620003ef565b80620006858162000b1e565b915050620005fc565b505050505050565b620006b5846001600160a01b03166200087360201b620033cd1760201c565b156200068e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190620006f1908990899088908890889060040162000a2f565b602060405180830381600087803b1580156200070c57600080fd5b505af19250505080156200073f575060408051601f3d908101601f191682019092526200073c91810190620009ac565b60015b62000800576200074e62000b68565b806308c379a014156200078f57506200076662000b85565b8062000773575062000791565b8060405162461bcd60e51b8152600401620003ef919062000a76565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401620003ef565b6001600160e01b0319811663f23a6e6160e01b14620004bc5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401620003ef565b6001600160a01b03163b151590565b828054620008909062000aa6565b90600052602060002090601f016020900481019282620008b45760008555620008ff565b82601f10620008cf57805160ff1916838001178555620008ff565b82800160010185558215620008ff579182015b82811115620008ff578251825591602001919060010190620008e2565b506200090d92915062000995565b5090565b8280546200091f9062000aa6565b90600052602060002090601f016020900481019282620009435760008555620008ff565b82601f10620009565780548555620008ff565b82800160010185558215620008ff57600052602060002091601f016020900482015b82811115620008ff57825482559160010191906001019062000978565b5b808211156200090d576000815560010162000996565b600060208284031215620009bf57600080fd5b81516001600160e01b031981168114620009d857600080fd5b9392505050565b6000815180845260005b8181101562000a0757602081850181015186830182015201620009e9565b8181111562000a1a576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009062000a6b90830184620009df565b979650505050505050565b602081526000620009d86020830184620009df565b6000821982111562000aa15762000aa162000b3c565b500190565b600181811c9082168062000abb57607f821691505b6020821081141562000add57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f191681016001600160401b038111828210171562000b1757634e487b7160e01b600052604160045260246000fd5b6040525050565b600060001982141562000b355762000b3562000b3c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060033d111562000b825760046000803e5060005160e01c5b90565b600060443d101562000b945790565b6040516003193d81016004833e81513d6001600160401b03808311602484018310171562000bc457505050505090565b828501915081518181111562000bdd5750505050505090565b843d870101602082850101111562000bf85750505050505090565b62000c096020828601018762000ae3565b509095945050505050565b615dc88062000c246000396000f3fe6080604052600436106105765760003560e01c80637d929b4f116102d8578063b6906eca11610180578063d8d9d6bc116100e7578063f2fde38b116100a0578063f73f4e471161007a578063f73f4e47146111c9578063f8f3a1ca146111df578063fa0fda35146111ff578063ff0814811461123757600080fd5b8063f2fde38b14611173578063f384031e14611193578063f5ce5dcb146111b357600080fd5b8063d8d9d6bc1461108f578063e5211d8b146110bf578063e985e9c5146110df578063ea7aef5c14611128578063ed00e6531461113e578063f242432a1461115357600080fd5b8063cc979f2711610139578063cc979f2714610fe7578063d261b6e414611007578063d3c8efdb14611027578063d6199f8d14611047578063d81d0a1514611067578063d85ed0f41461107a57600080fd5b8063b6906eca14610f24578063b82741a014610f3a578063ba4e5c4914610f5a578063bd85b03914610f7a578063bff67e9b14610fa7578063c6b1fe5814610fc757600080fd5b8063a22cb4651161023f578063a684c471116101f8578063b390c0ab116101d2578063b390c0ab14610e97578063b5b13abc14610eb7578063b5e0e87b14610ed7578063b633e4cd14610ef757600080fd5b8063a684c47114610e37578063a6d23e1014610e57578063accc1d5e14610e7757600080fd5b8063a22cb46514610d67578063a2c4c60214610d87578063a370c66814610da7578063a48fc3a914610dd7578063a4c2f65114610df7578063a5492f4414610e1757600080fd5b806388199c2b1161029157806388199c2b14610cba5780638da5cb5b14610cda57806394357c2514610cf857806395d89b4114610d185780639c70b51214610d2d578063a1fc693714610d4757600080fd5b80637d929b4f14610bfd5780637f00c7a614610c1d57806383ca4b6f14610c3d57806384c6ef2f14610c5d5780638555d6f014610c77578063869f759414610c8d57600080fd5b80633af32abf1161043b5780634f558e79116103a25780635c975abb1161035b578063650e926f11610335578063650e926f14610ba75780636f5924e514610bbd578063715018a614610bd35780637724bad814610be857600080fd5b80635c975abb14610b5757806362e6031b14610b71578063644e54ab14610b9157600080fd5b80634f558e7914610a885780635183022714610ab857806351ede79114610ad757806352addee514610af7578063533c7cfa14610b175780635c78222f14610b3757600080fd5b80634378dfa5116103f45780634378dfa5146109c557806344166417146109e557806344a0d68a14610a055780634c26124714610a255780634cafdb6d14610a455780634e1273f414610a5b57600080fd5b80633af32abf146109275780633c952764146109475780633ccfd60b146109675780633e4a4e771461096f57806341c63b851461098f5780634271c5fd146109af57600080fd5b80631c60094b116104df5780632eb2c2d6116104985780632eb2c2d6146108715780632ed6cd46146108915780632fad845c146108be5780632fd72393146108d457806333ea51a8146108f457806339ba02d01461091457600080fd5b80631c60094b146107b85780631ee33ca9146107e557806321d0a2a0146107fb578063239c70ae1461081b578063293d8bb5146108315780632a9abcb91461085157600080fd5b80630ec7359f116105315780630ec7359f146106f757806313faede61461071757806314bfd6d01461072d578063156e29f6146107655780631973ea06146107785780631b1004501461079857600080fd5b80624a84cb14610610578062fdd58e1461063257806301ffc9a71461066557806302329a291461069557806306fdde03146106b55780630e89341c146106d757600080fd5b3661060b57602e546001600160a01b03166105cd5760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064015b60405180910390fd5b602e5460405134916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610607573d6000803e3d6000fd5b5050005b600080fd5b34801561061c57600080fd5b5061063061062b3660046150c4565b611264565b005b34801561063e57600080fd5b5061065261064d36600461509a565b6112e3565b6040519081526020015b60405180910390f35b34801561067157600080fd5b5061068561068036600461536f565b611377565b604051901515815260200161065c565b3480156106a157600080fd5b506106306106b0366004615354565b6113c7565b3480156106c157600080fd5b506106ca6113e2565b60405161065c919061585c565b3480156106e357600080fd5b506106ca6106f23660046153dd565b611470565b34801561070357600080fd5b50610630610712366004615259565b611804565b34801561072357600080fd5b5061065260095481565b34801561073957600080fd5b5061074d6107483660046153dd565b611850565b6040516001600160a01b03909116815260200161065c565b6106306107733660046150c4565b61187a565b34801561078457600080fd5b50610630610793366004615138565b611913565b3480156107a457600080fd5b506106306107b33660046153dd565b6119d7565b3480156107c457600080fd5b506106526107d3366004614e9b565b602b6020526000908152604090205481565b3480156107f157600080fd5b50610652602a5481565b34801561080757600080fd5b506106ca6108163660046153dd565b611a42565b34801561082757600080fd5b50610652600a5481565b34801561083d57600080fd5b5061063061084c3660046153dd565b611a5b565b34801561085d57600080fd5b5061063061086c366004615465565b611a8e565b34801561087d57600080fd5b5061063061088c366004614ef0565b611b87565b34801561089d57600080fd5b506106526108ac3660046153dd565b60146020526000908152604090205481565b3480156108ca57600080fd5b5061065260185481565b3480156108e057600080fd5b506106306108ef3660046153dd565b611bd3565b34801561090057600080fd5b5061063061090f366004614e9b565b611be0565b6106306109223660046153dd565b611c0a565b34801561093357600080fd5b50610685610942366004614e9b565b611d40565b34801561095357600080fd5b50610630610962366004615354565b611dd0565b610630611deb565b34801561097b57600080fd5b5061063061098a3660046152e1565b611f03565b34801561099b57600080fd5b506106306109aa366004615419565b6120f2565b3480156109bb57600080fd5b5061065260315481565b3480156109d157600080fd5b506106306109e0366004615259565b612240565b3480156109f157600080fd5b50610630610a00366004615465565b61228c565b348015610a1157600080fd5b50610630610a203660046153dd565b6124b4565b348015610a3157600080fd5b50610630610a403660046153a9565b6124c1565b348015610a5157600080fd5b5061065260085481565b348015610a6757600080fd5b50610a7b610a76366004615189565b61256d565b60405161065c919061581b565b348015610a9457600080fd5b50610685610aa33660046153dd565b60009081526015602052604090205460ff1690565b348015610ac457600080fd5b50600d5461068590610100900460ff1681565b348015610ae357600080fd5b50610630610af23660046153dd565b612696565b348015610b0357600080fd5b50610652610b123660046153dd565b6126a3565b348015610b2357600080fd5b50610652610b32366004614e9b565b6126c4565b348015610b4357600080fd5b50610630610b52366004615354565b61275f565b348015610b6357600080fd5b50600d546106859060ff1681565b348015610b7d57600080fd5b50610630610b8c36600461509a565b61277a565b348015610b9d57600080fd5b50610652600b5481565b348015610bb357600080fd5b50610652600e5481565b348015610bc957600080fd5b5061065260245481565b348015610bdf57600080fd5b5061063061288d565b348015610bf457600080fd5b506106ca61289f565b348015610c0957600080fd5b50610652610c183660046154a3565b6128c2565b348015610c2957600080fd5b50610630610c383660046153dd565b6128f3565b348015610c4957600080fd5b50610630610c58366004615295565b612900565b348015610c6957600080fd5b506016546106859060ff1681565b348015610c8357600080fd5b5061065260265481565b348015610c9957600080fd5b50610652610ca83660046153dd565b60126020526000908152604090205481565b348015610cc657600080fd5b50610630610cd53660046154c5565b61298a565b348015610ce657600080fd5b506003546001600160a01b031661074d565b348015610d0457600080fd5b50610652610d133660046154a3565b6129a6565b348015610d2457600080fd5b506106ca6129c2565b348015610d3957600080fd5b506027546106859060ff1681565b348015610d5357600080fd5b50610652610d623660046153dd565b6129cf565b348015610d7357600080fd5b50610630610d82366004615070565b6129df565b348015610d9357600080fd5b50610630610da2366004615354565b6129ea565b348015610db357600080fd5b50610685610dc23660046153dd565b601c6020526000908152604090205460ff1681565b348015610de357600080fd5b50600d546106859062010000900460ff1681565b348015610e0357600080fd5b50610630610e12366004614e9b565b612a0e565b348015610e2357600080fd5b50610630610e32366004615070565b612a6f565b348015610e4357600080fd5b50602f5461074d906001600160a01b031681565b348015610e6357600080fd5b50602e5461074d906001600160a01b031681565b348015610e8357600080fd5b50610630610e923660046150f7565b612ad9565b348015610ea357600080fd5b50610630610eb23660046154a3565b612b38565b348015610ec357600080fd5b50610630610ed23660046153dd565b612b67565b348015610ee357600080fd5b50610630610ef2366004615138565b612bbd565b348015610f0357600080fd5b50610652610f12366004614e9b565b60226020526000908152604090205481565b348015610f3057600080fd5b5061065260235481565b348015610f4657600080fd5b50610630610f55366004615465565b612c9d565b348015610f6657600080fd5b5061074d610f753660046153dd565b612cf0565b348015610f8657600080fd5b50610652610f953660046153dd565b60009081526010602052604090205490565b348015610fb357600080fd5b506106ca610fc23660046153dd565b612d00565b348015610fd357600080fd5b50610652610fe23660046153dd565b612d2b565b348015610ff357600080fd5b50610630611002366004614ffd565b612e36565b34801561101357600080fd5b506106306110223660046153dd565b612f0a565b34801561103357600080fd5b506106306110423660046154a3565b612f17565b34801561105357600080fd5b506106ca6110623660046153dd565b612f2a565b610630611075366004614ffd565b612f3a565b34801561108657600080fd5b506106ca6131c3565b34801561109b57600080fd5b506106856110aa366004614e9b565b601d6020526000908152604090205460ff1681565b3480156110cb57600080fd5b506106306110da3660046153f6565b6131d2565b3480156110eb57600080fd5b506106856110fa366004614ebd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561113457600080fd5b50610652600c5481565b34801561114a57600080fd5b50610685613231565b34801561115f57600080fd5b5061063061116e366004614f99565b6132df565b34801561117f57600080fd5b5061063061118e366004614e9b565b613324565b34801561119f57600080fd5b506106306111ae3660046153a9565b61339a565b3480156111bf57600080fd5b5061065260195481565b3480156111d557600080fd5b5061065260255481565b3480156111eb57600080fd5b506106526111fa3660046153dd565b6133b5565b34801561120b57600080fd5b5061065261121a36600461509a565b602960209081526000928352604080842090915290825290205481565b34801561124357600080fd5b50610652611252366004614e9b565b60216020526000908152604090205481565b61126c6133dc565b600d5462010000900460ff16156112955760405162461bcd60e51b81526004016105c49061591b565b61129e8261341f565b600082815260106020526040812080548392906112bc908490615b55565b925050819055506112de838383604051806020016040528060008152506134dc565b505050565b60006001600160a01b03831661134e5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084016105c4565b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806113a857506001600160e01b031982166303a24d0760e21b145b8061137157506301ffc9a760e01b6001600160e01b0319831614611371565b6113cf6133dc565b600d805460ff1916911515919091179055565b600480546113ef90615bcf565b80601f016020809104026020016040519081016040528092919081815260200182805461141b90615bcf565b80156114685780601f1061143d57610100808354040283529160200191611468565b820191906000526020600020905b81548152906001019060200180831161144b57829003601f168201915b505050505081565b6060600060066040516020016114869190615726565b60408051601f1981840301815291815260008581526015602052205490915060ff16156117ec576000831180156114bf57506008548311155b156117ec57600d54610100900460ff166114fc5760076040516020016114e59190615678565b604051602081830303815290604052915050919050565b604080516000808252602080830180855283519020878352600f909152908390209092611529920161566c565b60405160208183030381529060405280519060200120146115e3576000838152600f60205260409020805461155d90615bcf565b80601f016020809104026020016040519081016040528092919081815260200182805461158990615bcf565b80156115d65780601f106115ab576101008083540402835291602001916115d6565b820191906000526020600020905b8154815290600101906020018083116115b957829003601f168201915b5050505050915050919050565b60005b601e5481101561176257601e818154811061160357611603615c83565b906000526020600020015484116117525760408051600081526020810191829052519020601f80548390811061163b5761163b615c83565b90600052602060002001604051602001611655919061566c565b60405160208183030381529060405280519060200120146116af57601f818154811061168357611683615c83565b9060005260206000200160405160200161169d9190615726565b60405160208183030381529060405291505b60405160200160405160208183030381529060405280519060200120602082815481106116de576116de615c83565b906000526020600020016040516020016116f8919061566c565b6040516020818303038152906040528051906020012014611752576020818154811061172657611726615c83565b9060005260206000200160405160200161174091906156a8565b60405160208183030381529060405291505b61175b81615c30565b90506115e6565b506040805160008082526020808301808552835190208783526017909152908390209092611790920161566c565b6040516020818303038152906040528051906020012014156117c757806117b6846135c5565b6040516020016114e59291906155f8565b80601760008581526020019081526020016000206040516020016114e5929190615637565b60076040516020016114e59190615678565b50919050565b61180c6133dc565b611818602c6000614bff565b805161182b90602c906020840190614c1d565b508060008151811061183f5761183f615c83565b6020026020010151602a8190555050565b6030818154811061186057600080fd5b6000918252602090912001546001600160a01b0316905081565b600d5462010000900460ff16156118a35760405162461bcd60e51b81526004016105c49061591b565b600d5460ff16156118c65760405162461bcd60e51b81526004016105c4906158b7565b6118d08282613659565b61190a5760405162461bcd60e51b815260206004820152600b60248201526a10d0539393d5081352539560aa1b60448201526064016105c4565b6112958161394f565b61191b6133dc565b61192760286000614bff565b61193360288484614c64565b50805161193f57505050565b8051600114156119cc5760005b828110156119c6578160008151811061196757611967615c83565b6020026020010151602b600086868581811061198557611985615c83565b905060200201602081019061199a9190614e9b565b6001600160a01b03168152602081019190915260400160002055806119be81615c30565b91505061194c565b50505050565b6112de838383612bbd565b731ba3fe6311131a67d97f20162522490c3648f6e23314611a285760405162461bcd60e51b815260206004820152600b60248201526a2737ba103a3432903232bb60a91b60448201526064016105c4565b8060316000828254611a3a9190615b55565b909155505050565b601760205260009081526040902080546113ef90615bcf565b611a636133dc565b80602a8190555080602c600081548110611a7f57611a7f615c83565b60009182526020909120015550565b611a966133dc565b8015611b2a57600082611aa8856135c5565b604051602001611ab99291906156c5565b60408051601f198184030181529181526000868152600f60209081529190208251929350611aeb929091840190614cb7565b50837f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b82604051611b1c919061585c565b60405180910390a250505050565b6000838152600f602090815260409091208351611b4992850190614cb7565b50827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83604051611b7a919061585c565b60405180910390a2505050565b6001600160a01b038516331480611ba35750611ba385336110fa565b611bbf5760405162461bcd60e51b81526004016105c490615952565b611bcc8585858585613bb8565b5050505050565b611bdb6133dc565b600e55565b611be8613d5a565b602e80546001600160a01b0319166001600160a01b0392909216919091179055565b600d5462010000900460ff16611c595760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016105c4565b600d5460ff1615611c7c5760405162461bcd60e51b81526004016105c4906158b7565b60085460009081526015602052604090205460ff1615611cc95760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016105c4565b6008546001600e5483611cdc9190615b55565b611ce69190615b8c565b1115611d2a5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016105c4565b611d338161394f565b611d3d3382613db4565b50565b6000805b602854811015611da157826001600160a01b031660288281548110611d6b57611d6b615c83565b6000918252602090912001546001600160a01b03161415611d8f5750600192915050565b80611d9981615c30565b915050611d44565b506001600160a01b03821660009081526021602052604090205415611dc857506001919050565b506000919050565b611dd86133dc565b6027805460ff1916911515919091179055565b611df36133dc565b602e546001600160a01b0316611e405760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064016105c4565b60325460315411611eb457604051600090731ba3fe6311131a67d97f20162522490c3648f6e29047908381818185875af1925050503d8060008114611ea1576040519150601f19603f3d011682016040523d82523d6000602084013e611ea6565b606091505b5050905080611d3d57600080fd5b602e546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611ea1576040519150601f19603f3d011682016040523d82523d6000602084013e611ea6565b565b611f0b6133dc565b801561201b5760008360018551611f229190615b8c565b81518110611f3257611f32615c83565b6020026020010151905060005b601e54811015611bcc57601e8181548110611f5c57611f5c615c83565b906000526020600020015482141561200b578360018551611f7d9190615b8c565b81518110611f8d57611f8d615c83565b60209081029190910181015160008481526014909252604082205584518590611fb890600190615b8c565b81518110611fc857611fc8615c83565b60200260200101511115611ff4576000828152601360205260409020805460ff1916600117905561200b565b6000828152601360205260409020805460ff191690555b61201481615c30565b9050611f3f565b60005b83518110156119c657600084828151811061203b5761203b615c83565b6020026020010151905083828151811061205757612057615c83565b60200260200101516012600083815260200190815260200160002060008282546120819190615b55565b92505081905550600084838151811061209c5761209c615c83565b602002602001015111156120c8576000818152601160205260409020805460ff191660011790556120df565b6000818152601160205260409020805460ff191690555b50806120ea81615c30565b91505061201e565b6120fa6133dc565b81156122215760005b601e548110156122015783601e828154811061212157612121615c83565b9060005260206000200154141561213757612201565b601e805461214790600190615b8c565b8154811061215757612157615c83565b9060005260206000200154601e828154811061217557612175615c83565b90600052602060002001541480156121aa5750601e818154811061219b5761219b615c83565b90600052602060002001548414155b156121ef5760405162461bcd60e51b81526020600482015260156024820152740becadcc8928840d2e640dcdee840c24084c2e8c6d605b1b60448201526064016105c4565b806121f981615c30565b915050612103565b506000838152601b6020908152604090912082516119c692840190614c1d565b6000838152601a6020908152604090912082516119c692840190614c1d565b6122486133dc565b612254602d6000614bff565b805161226790602d906020840190614c1d565b508060008151811061227b5761227b615c83565b6020026020010151600c8190555050565b6122946133dc565b601e80546122a490600190615b8c565b815481106122b4576122b4615c83565b906000526020600020015483116123335760405162461bcd60e51b815260206004820152603760248201527f4c617374204261746368204944206d757374206265206772656174657220746860448201527f616e2070726576696f757320626174636820746f74616c00000000000000000060648201526084016105c4565b80156123f757601e805460018181019092557f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e35001849055601f8054918201815560005282516123a9917fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d80701906020850190614cb7565b506020805460018101825560008281526040805193840190819052928190526119c6927fc97bfaf2f8ee708c303a06d134f5ecd8389ae0432af62dc132a24118292866bb9092019190614cb7565b601e805460018181019092557f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500184905560208054918201815560008190528351612467927fc97bfaf2f8ee708c303a06d134f5ecd8389ae0432af62dc132a24118292866bb0191850190614cb7565b50601f805460018101825560009182526040805160208101918290528390526119c6927fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d80790920191614cb7565b6124bc6133dc565b600955565b6124c96133dc565b600d54610100900460ff16156125145760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e4814995d99585b195960821b60448201526064016105c4565b8051612527906006906020840190614cb7565b5080601f60008154811061253d5761253d615c83565b90600052602060002001908051906020019061255a929190614cb7565b5050600d805461ff001916610100179055565b606081518351146125d25760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016105c4565b600083516001600160401b038111156125ed576125ed615c99565b604051908082528060200260200182016040528015612616578160200160208202803683370190505b50905060005b845181101561268e5761266185828151811061263a5761263a615c83565b602002602001015185838151811061265457612654615c83565b60200260200101516112e3565b82828151811061267357612673615c83565b602090810291909101015261268781615c30565b905061261c565b509392505050565b61269e6133dc565b600c55565b601e81815481106126b357600080fd5b600091825260209091200154905081565b60006126ce613231565b611dc85760275460ff1680156126e857506126e882611d40565b15612752576001600160a01b0382166000908152602b6020526040902054612712575050602a5490565b6001600160a01b0382166000908152602b6020526040902054602c8054909190811061274057612740615c83565b90600052602060002001549050919050565b505060095490565b919050565b6127676133dc565b6016805460ff1916911515919091179055565b6127826133dc565b600d5462010000900460ff166127d15760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016105c4565b60085460009081526015602052604090205460ff161561281e5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016105c4565b6008546001600e54836128319190615b55565b61283b9190615b8c565b111561287f5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016105c4565b6128898282613db4565b5050565b612895613d5a565b611f016000613f97565b60606000604051806060016040528060288152602001615d6b6028913992915050565b601b60205281600052604060002081815481106128de57600080fd5b90600052602060002001600091509150505481565b6128fb6133dc565b600a55565b60005b825181101561297e57600083828151811061292057612920615c83565b6020026020010151905082828151811061293c5761293c615c83565b60200260200101516010600083815260200190815260200160002060008282546129669190615b8c565b909155506129779150829050615c30565b9050612903565b50612889338383613fe9565b6129926133dc565b602393909355602591909155602455602655565b601a60205281600052604060002081815481106128de57600080fd5b600580546113ef90615bcf565b602c81815481106126b357600080fd5b612889338383614185565b6129f26133dc565b600d8054911515620100000262ff000019909216919091179055565b6003546001600160a01b0316331480612a315750602f546001600160a01b031633145b612a4d5760405162461bcd60e51b81526004016105c490615a72565b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b0316331480612a925750602f546001600160a01b031633145b612aae5760405162461bcd60e51b81526004016105c490615a72565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b612ae16133dc565b6003546001600160a01b0316331480612b045750602f546001600160a01b031633145b612b205760405162461bcd60e51b81526004016105c490615a72565b612b2c60306000614bff565b6112de60308383614c64565b60008281526010602052604081208054839290612b56908490615b8c565b909155506128899050338383614266565b731ba3fe6311131a67d97f20162522490c3648f6e23314612bb85760405162461bcd60e51b815260206004820152600b60248201526a2737ba103a3432903232bb60a91b60448201526064016105c4565b603255565b612bc56133dc565b80518214612c215760405162461bcd60e51b815260206004820152602360248201527f5573657273204172726179204e6f7420457175616c20546f205469657220417260448201526272617960e81b60648201526084016105c4565b60005b828110156119c657818181518110612c3e57612c3e615c83565b6020026020010151602b6000868685818110612c5c57612c5c615c83565b9050602002016020810190612c719190614e9b565b6001600160a01b0316815260208101919091526040016000205580612c9581615c30565b915050612c24565b612ca56133dc565b8015612cdc5781601f8481548110612cbf57612cbf615c83565b9060005260206000200190805190602001906119c6929190614cb7565b8160208481548110612cbf57612cbf615c83565b6028818154811061186057600080fd5b60208181548110612d1057600080fd5b9060005260206000200160009150905080546113ef90615bcf565b60008181526012602052604081205415612d52575060009081526012602052604090205490565b60005b601e54811015612e2d578215801590612d8b5750601e8181548110612d7c57612d7c615c83565b90600052602060002001548311155b8015612dbd5750601e612d9f600183615b8c565b81548110612daf57612daf615c83565b906000526020600020015483115b15612e1b576000601e8281548110612dd757612dd7615c83565b906000526020600020015490506014600082815260200190815260200160002054600014612e15576000908152601460205260409020549392505050565b50612e2d565b80612e2581615c30565b915050612d55565b50600092915050565b612e3e6133dc565b600d5462010000900460ff1615612e675760405162461bcd60e51b81526004016105c49061591b565b60005b8251811015612eee576000838281518110612e8757612e87615c83565b60200260200101519050612e9a8161341f565b828281518110612eac57612eac615c83565b6020026020010151601060008381526020019081526020016000206000828254612ed69190615b55565b90915550612ee79150829050615c30565b9050612e6a565b506112de8383836040518060200160405280600081525061437e565b612f126133dc565b600855565b612f1f6133dc565b601891909155601955565b601f8181548110612d1057600080fd5b600d5462010000900460ff1615612f635760405162461bcd60e51b81526004016105c49061591b565b600d5460ff1615612f865760405162461bcd60e51b81526004016105c4906158b7565b600a5482511115612fc85760405162461bcd60e51b815260206004820152600c60248201526b546f6f204d616e792049447360a01b60448201526064016105c4565b80518251146130195760405162461bcd60e51b815260206004820152601960248201527f49447320616e6420416d6f756e7473204e6f7420457175616c0000000000000060448201526064016105c4565b61302382826144d8565b6130635760405162461bcd60e51b8152602060048201526011602482015270086829c9c9ea8409a929ca8408482a8869607b1b60448201526064016105c4565b6000805b82518110156130a95782818151811061308257613082615c83565b6020026020010151826130959190615b55565b9150806130a181615c30565b915050613067565b50600b548111156130fc5760405162461bcd60e51b815260206004820152601b60248201527f426174636820416d6f756e74204c696d6974204578636565646564000000000060448201526064016105c4565b6131058161394f565b60005b83518110156131a757600084828151811061312557613125615c83565b602002602001015190506131388161341f565b83828151811061314a5761314a615c83565b60200260200101516010600087858151811061316857613168615c83565b60200260200101518152602001908152602001600020600082825461318d9190615b55565b9091555082915061319f905081615c30565b915050613108565b506119c68484846040518060200160405280600081525061437e565b60606131cd614556565b905090565b6003546001600160a01b03163314806131f55750602f546001600160a01b031633145b6132115760405162461bcd60e51b81526004016105c490615a72565b6000918252601c6020526040909120805460ff1916911515919091179055565b60006132456003546001600160a01b031690565b6001600160a01b0316336001600160a01b0316148061326e5750602f546001600160a01b031633145b156132795750600190565b603054156132d95760005b6030548110156132d757603081815481106132a1576132a1615c83565b6000918252602090912001546001600160a01b03163314156132c557600191505090565b806132cf81615c30565b915050613284565b505b50600090565b6001600160a01b0385163314806132fb57506132fb85336110fa565b6133175760405162461bcd60e51b81526004016105c490615952565b611bcc85858585856145ff565b61332c613d5a565b6001600160a01b0381166133915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c4565b611d3d81613f97565b6133a26133dc565b8051612889906007906020840190614cb7565b602d81815481106126b357600080fd5b505050505050565b6001600160a01b03163b151590565b6133e4613231565b611f015760405162461bcd60e51b815260206004820152600c60248201526b2737ba1030b71030b236b4b760a11b60448201526064016105c4565b60008181526015602052604090205460ff166134a6576000818152601560209081526040808320805460ff19908116600117909155601c90925290912080549091169055600d5462010000900460ff16156134a657600081815260126020908152604080832060019081905560118352818420805460ff1916821790556010909252909120555b60165460ff1615611d3d576134b9614556565b600082815260176020908152604090912082516128899391929190910190614cb7565b6001600160a01b0384166135025760405162461bcd60e51b81526004016105c490615af1565b33600061350e85614737565b9050600061351b85614737565b905061352c83600089858589614782565b6000868152602081815260408083206001600160a01b038b1684529091528120805487929061355c908490615b55565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46135bc836000898989896148d5565b50505050505050565b606060006135d283614a40565b60010190506000816001600160401b038111156135f1576135f1615c99565b6040519080825280601f01601f19166020018201604052801561361b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846136545761268e565b613625565b60008281526011602052604081205460ff16156136de576000821180156136825750600a548211155b801561368e5750600083115b801561369c57506008548311155b80156136cc57506000838152601260209081526040808320546010909252909120546136c9908490615b55565b11155b156136d65761370d565b506000611371565b6000821180156136f05750600a548211155b80156136fc5750600083115b80156136cc575060085483116136d6575b6000838152601a6020526040902054156137935760005b6000848152601a6020526040902054811015613791576000848152601a6020526040812080546137709133918590811061376057613760615c83565b90600052602060002001546112e3565b1161377f576000915050611371565b8061378981615c30565b915050613724565b505b60005b601e548110156139455780158015906137cc5750601e81815481106137bd576137bd615c83565b90600052602060002001548411155b80156137fe5750601e6137e0600183615b8c565b815481106137f0576137f0615c83565b906000526020600020015484115b15613933576000601e828154811061381857613818615c83565b6000918252602080832090910154808352601b909152604090912054909150156138a05760005b6000828152601b602052604090205481101561389e576000828152601b60205260408120805461387b9133918590811061376057613760615c83565b1161388c5760009350505050611371565b8061389681615c30565b91505061383f565b505b60008181526013602052604090205460ff161561392b576000841180156138c95750600a548411155b80156138d55750600085115b80156138e357506008548511155b80156139165750600081815260146020908152604080832054888452601090925290912054613913908690615b55565b11155b1561392057613931565b600092505050611371565b50613933565b505b8061393d81615c30565b915050613796565b5060019392505050565b3360009081526022602090815260408083205460219092528220546139749190615b8c565b90508181106139805750805b613988613231565b6128895760275460ff1615613b23576139a033611d40565b6139de5760405162461bcd60e51b815260206004820152600f60248201526e139bdd0815da1a5d195b1a5cdd1959608a1b60448201526064016105c4565b3360008181526029602090815260408083206023548452825280832054938352602b909152902054602d80549091908110613a1b57613a1b615c83565b90600052602060002001548382613a329190615b55565b1115613a8a5760405162461bcd60e51b815260206004820152602160248201527f4578636565646564204d61782057686974656c697374204d696e74204c696d696044820152601d60fa1b60648201526084016105c4565b613a93336126c4565b613a9d8385615b8c565b613aa79190615b6d565b341015613aeb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016105c4565b336000908152602960209081526040808320602354845290915281208054859290613b17908490615b55565b90915550613b84915050565b613b2c336126c4565b613b368284615b8c565b613b409190615b6d565b341015613b845760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016105c4565b600034118015613b98575060325460315411155b15612889573460316000828254613baf9190615b55565b90915550505050565b8151835114613bd95760405162461bcd60e51b81526004016105c490615aa9565b6001600160a01b038416613bff5760405162461bcd60e51b81526004016105c4906159a0565b33613c0e818787878787614782565b60005b8451811015613cf4576000858281518110613c2e57613c2e615c83565b602002602001015190506000858381518110613c4c57613c4c615c83565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015613c9c5760405162461bcd60e51b81526004016105c490615a28565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290613cd9908490615b55565b9250508190555050505080613ced90615c30565b9050613c11565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613d4492919061582e565b60405180910390a46133c5818787878787614b18565b6003546001600160a01b03163314611f015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c4565b6000816001600160401b03811115613dce57613dce615c99565b604051908082528060200260200182016040528015613df7578160200160208202803683370190505b5090506000826001600160401b03811115613e1457613e14615c99565b604051908082528060200260200182016040528015613e3d578160200160208202803683370190505b50905060005b83811015613ec057600e54613e578161341f565b600e54848381518110613e6c57613e6c615c83565b6020026020010181815250506001838381518110613e8c57613e8c615c83565b6020908102919091010152600e8054906000613ea783615c30565b9190505550508080613eb890615c30565b915050613e43565b503360009081526021602052604090205415613f5c57336000908152602160209081526040808320546022909252909120541015613f1d573360009081526022602052604081208054859290613f17908490615b55565b90915550505b3360009081526021602090815260408083205460229092529091205410613f5c5733600090815260226020908152604080832083905560219091528120555b6024546023541415613f7c57602554600e541115613f7c57613f7c614be2565b6119c68483836040518060200160405280600081525061437e565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661400f5760405162461bcd60e51b81526004016105c4906159e5565b80518251146140305760405162461bcd60e51b81526004016105c490615aa9565b600033905061405381856000868660405180602001604052806000815250614782565b60005b835181101561411857600084828151811061407357614073615c83565b60200260200101519050600084838151811061409157614091615c83565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156140e15760405162461bcd60e51b81526004016105c4906158d7565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061411081615c30565b915050614056565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161416992919061582e565b60405180910390a46040805160208101909152600090526119c6565b816001600160a01b0316836001600160a01b031614156141f95760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016105c4565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03831661428c5760405162461bcd60e51b81526004016105c4906159e5565b33600061429884614737565b905060006142a584614737565b90506142c583876000858560405180602001604052806000815250614782565b6000858152602081815260408083206001600160a01b038a168452909152902054848110156143065760405162461bcd60e51b81526004016105c4906158d7565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526135bc565b6001600160a01b0384166143a45760405162461bcd60e51b81526004016105c490615af1565b81518351146143c55760405162461bcd60e51b81526004016105c490615aa9565b336143d581600087878787614782565b60005b8451811015614470578381815181106143f3576143f3615c83565b602002602001015160008087848151811061441057614410615c83565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546144589190615b55565b9091555081905061446881615c30565b9150506143d8565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516144c192919061582e565b60405180910390a4611bcc81600087878787614b18565b6000805b83518110156139455760008482815181106144f9576144f9615c83565b60200260200101519050600084838151811061451757614517615c83565b6020026020010151905061452b8282613659565b1561453557614541565b60009350505050611371565b5050808061454e90615c30565b9150506144dc565b60606000601954424433600e54601760006001600e546145769190615b8c565b8152602001908152602001600020604051602001614598959493929190615742565b6040516020818303038152906040528051906020012060001c6145bb9190615c4b565b90506018548110156145ed576145e76145d5826001615b55565b6019546145e29190615b8c565b6135c5565b91505090565b6145e76145e2826001615b55565b5090565b6001600160a01b0384166146255760405162461bcd60e51b81526004016105c4906159a0565b33600061463185614737565b9050600061463e85614737565b905061464e838989858589614782565b6000868152602081815260408083206001600160a01b038c1684529091529020548581101561468f5760405162461bcd60e51b81526004016105c490615a28565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906146cc908490615b55565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461472c848a8a8a8a8a6148d5565b505050505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061477157614771615c83565b602090810291909101015292915050565b6001600160a01b0386166000908152601d602052604090205460ff161580156147c457506001600160a01b0385166000908152601d602052604090205460ff16155b80156147e957506001600160a01b0384166000908152601d602052604090205460ff16155b6148495760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f722c2046726f6d2c206f7220546f204164647265737320697360448201526a08149154d5149250d5115160aa1b60648201526084016105c4565b60005b83518110156135bc57601c600085838151811061486b5761486b615c83565b60209081029190910181015182528101919091526040016000205460ff16156148c35760405162461bcd60e51b815260206004820152600a602482015269119b1859d9d95908125160b21b60448201526064016105c4565b806148cd81615c30565b91505061484c565b6001600160a01b0384163b156133c55760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061491990899089908890889088906004016157e1565b602060405180830381600087803b15801561493357600080fd5b505af1925050508015614963575060408051601f3d908101601f191682019092526149609181019061538c565b60015b614a105761496f615caf565b806308c379a014156149a95750614984615ccb565b8061498f57506149ab565b8060405162461bcd60e51b81526004016105c4919061585c565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016105c4565b6001600160e01b0319811663f23a6e6160e01b146135bc5760405162461bcd60e51b81526004016105c49061586f565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310614a7f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310614aab576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310614ac957662386f26fc10000830492506010015b6305f5e1008310614ae1576305f5e100830492506008015b6127108310614af557612710830492506004015b60648310614b07576064830492506002015b600a83106113715760010192915050565b6001600160a01b0384163b156133c55760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190614b5c9089908990889088908890600401615783565b602060405180830381600087803b158015614b7657600080fd5b505af1925050508015614ba6575060408051601f3d908101601f19168201909252614ba39181019061538c565b60015b614bb25761496f615caf565b6001600160e01b0319811663bc197c8160e01b146135bc5760405162461bcd60e51b81526004016105c49061586f565b60238054906000614bf283615c30565b9091555050602654600955565b5080546000825590600052602060002090810190611d3d9190614d2a565b828054828255906000526020600020908101928215614c58579160200282015b82811115614c58578251825591602001919060010190614c3d565b506145fb929150614d2a565b828054828255906000526020600020908101928215614c58579160200282015b82811115614c585781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190614c84565b828054614cc390615bcf565b90600052602060002090601f016020900481019282614ce55760008555614c58565b82601f10614cfe57805160ff1916838001178555614c58565b82800160010185558215614c585791820182811115614c58578251825591602001919060010190614c3d565b5b808211156145fb5760008155600101614d2b565b80356001600160a01b038116811461275a57600080fd5b60008083601f840112614d6857600080fd5b5081356001600160401b03811115614d7f57600080fd5b6020830191508360208260051b8501011115614d9a57600080fd5b9250929050565b600082601f830112614db257600080fd5b81356020614dbf82615b32565b604051614dcc8282615c04565b8381528281019150858301600585901b87018401881015614dec57600080fd5b60005b85811015614e0b57813584529284019290840190600101614def565b5090979650505050505050565b8035801515811461275a57600080fd5b600082601f830112614e3957600080fd5b81356001600160401b03811115614e5257614e52615c99565b604051614e69601f8301601f191660200182615c04565b818152846020838601011115614e7e57600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215614ead57600080fd5b614eb682614d3f565b9392505050565b60008060408385031215614ed057600080fd5b614ed983614d3f565b9150614ee760208401614d3f565b90509250929050565b600080600080600060a08688031215614f0857600080fd5b614f1186614d3f565b9450614f1f60208701614d3f565b935060408601356001600160401b0380821115614f3b57600080fd5b614f4789838a01614da1565b94506060880135915080821115614f5d57600080fd5b614f6989838a01614da1565b93506080880135915080821115614f7f57600080fd5b50614f8c88828901614e28565b9150509295509295909350565b600080600080600060a08688031215614fb157600080fd5b614fba86614d3f565b9450614fc860208701614d3f565b9350604086013592506060860135915060808601356001600160401b03811115614ff157600080fd5b614f8c88828901614e28565b60008060006060848603121561501257600080fd5b61501b84614d3f565b925060208401356001600160401b038082111561503757600080fd5b61504387838801614da1565b9350604086013591508082111561505957600080fd5b5061506686828701614da1565b9150509250925092565b6000806040838503121561508357600080fd5b61508c83614d3f565b9150614ee760208401614e18565b600080604083850312156150ad57600080fd5b6150b683614d3f565b946020939093013593505050565b6000806000606084860312156150d957600080fd5b6150e284614d3f565b95602085013595506040909401359392505050565b6000806020838503121561510a57600080fd5b82356001600160401b0381111561512057600080fd5b61512c85828601614d56565b90969095509350505050565b60008060006040848603121561514d57600080fd5b83356001600160401b038082111561516457600080fd5b61517087838801614d56565b9095509350602086013591508082111561505957600080fd5b6000806040838503121561519c57600080fd5b82356001600160401b03808211156151b357600080fd5b818501915085601f8301126151c757600080fd5b813560206151d482615b32565b6040516151e18282615c04565b8381528281019150858301600585901b870184018b101561520157600080fd5b600096505b8487101561522b5761521781614d3f565b835260019690960195918301918301615206565b509650508601359250508082111561524257600080fd5b5061524f85828601614da1565b9150509250929050565b60006020828403121561526b57600080fd5b81356001600160401b0381111561528157600080fd5b61528d84828501614da1565b949350505050565b600080604083850312156152a857600080fd5b82356001600160401b03808211156152bf57600080fd5b6152cb86838701614da1565b9350602085013591508082111561524257600080fd5b6000806000606084860312156152f657600080fd5b83356001600160401b038082111561530d57600080fd5b61531987838801614da1565b9450602086013591508082111561532f57600080fd5b5061533c86828701614da1565b92505061534b60408501614e18565b90509250925092565b60006020828403121561536657600080fd5b614eb682614e18565b60006020828403121561538157600080fd5b8135614eb681615d54565b60006020828403121561539e57600080fd5b8151614eb681615d54565b6000602082840312156153bb57600080fd5b81356001600160401b038111156153d157600080fd5b61528d84828501614e28565b6000602082840312156153ef57600080fd5b5035919050565b6000806040838503121561540957600080fd5b82359150614ee760208401614e18565b60008060006060848603121561542e57600080fd5b8335925061543e60208501614e18565b915060408401356001600160401b0381111561545957600080fd5b61506686828701614da1565b60008060006060848603121561547a57600080fd5b8335925060208401356001600160401b0381111561549757600080fd5b61533c86828701614e28565b600080604083850312156154b657600080fd5b50508035926020909101359150565b600080600080608085870312156154db57600080fd5b5050823594602084013594506040840135936060013592509050565b600081518084526020808501945080840160005b838110156155275781518752958201959082019060010161550b565b509495945050505050565b6000815180845261554a816020860160208601615ba3565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061557857607f831692505b602080841082141561559a57634e487b7160e01b600052602260045260246000fd5b8180156155ae57600181146155bf576155ec565b60ff198616895284890196506155ec565b60008881526020902060005b868110156155e45781548b8201529085019083016155cb565b505084890196505b50505050505092915050565b6000835161560a818460208801615ba3565b83519083019061561e818360208801615ba3565b64173539b7b760d91b9101908152600501949350505050565b60008351615649818460208801615ba3565b6156558184018561555e565b64173539b7b760d91b815260050195945050505050565b6000614eb6828461555e565b6000615684828461555e565b653434b23232b760d11b815264173539b7b760d91b6006820152600b019392505050565b60006156b4828461555e565b602f60f81b81526001019392505050565b66697066733a2f2f60c81b8152600083516156e7816007850160208801615ba3565b602f60f81b6007918401918201528351615708816008840160208801615ba3565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b815260006156b4600783018461555e565b8581528460208201526bffffffffffffffffffffffff198460601b1660408201528260548201526000615778607483018461555e565b979650505050505050565b6001600160a01b0386811682528516602082015260a0604082018190526000906157af908301866154f7565b82810360608401526157c181866154f7565b905082810360808401526157d58185615532565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061577890830184615532565b602081526000614eb660208301846154f7565b60408152600061584160408301856154f7565b828103602084015261585381856154f7565b95945050505050565b602081526000614eb66020830184615532565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526006908201526514185d5cd95960d21b604082015260600190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6020808252601a908201527f5265717569726573206d696e74496e4f726465722046616c7365000000000000604082015260600190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252601b908201527f4e6f74204f776e6572206f722050726f6a656374204c65616465720000000000604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60006001600160401b03821115615b4b57615b4b615c99565b5060051b60200190565b60008219821115615b6857615b68615c6d565b500190565b6000816000190483118215151615615b8757615b87615c6d565b500290565b600082821015615b9e57615b9e615c6d565b500390565b60005b83811015615bbe578181015183820152602001615ba6565b838111156119c65750506000910152565b600181811c90821680615be357607f821691505b602082108114156117fe57634e487b7160e01b600052602260045260246000fd5b601f8201601f191681016001600160401b0381118282101715615c2957615c29615c99565b6040525050565b6000600019821415615c4457615c44615c6d565b5060010190565b600082615c6857634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115615cc85760046000803e5060005160e01c5b90565b600060443d1015615cd95790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715615d0857505050505090565b8285019150815181811115615d205750505050505090565b843d8701016020828501011115615d3a5750505050505090565b615d4960208286010187615c04565b509095945050505050565b6001600160e01b031981168114611d3d57600080fdfef09f90b82068747470733a2f2f7777772e68616c66737570657273686f702e636f6d2f20f09f90b8a26469706673582212208df07c26968e694902bd8a425bb2699d55fbbbff7e5f7b1176ba0edb2823709164736f6c63430008070033516d637043465450314c354b4358536f414a724765676f417358506841624350426a436f7a66776d334770724743
Deployed Bytecode
0x6080604052600436106105765760003560e01c80637d929b4f116102d8578063b6906eca11610180578063d8d9d6bc116100e7578063f2fde38b116100a0578063f73f4e471161007a578063f73f4e47146111c9578063f8f3a1ca146111df578063fa0fda35146111ff578063ff0814811461123757600080fd5b8063f2fde38b14611173578063f384031e14611193578063f5ce5dcb146111b357600080fd5b8063d8d9d6bc1461108f578063e5211d8b146110bf578063e985e9c5146110df578063ea7aef5c14611128578063ed00e6531461113e578063f242432a1461115357600080fd5b8063cc979f2711610139578063cc979f2714610fe7578063d261b6e414611007578063d3c8efdb14611027578063d6199f8d14611047578063d81d0a1514611067578063d85ed0f41461107a57600080fd5b8063b6906eca14610f24578063b82741a014610f3a578063ba4e5c4914610f5a578063bd85b03914610f7a578063bff67e9b14610fa7578063c6b1fe5814610fc757600080fd5b8063a22cb4651161023f578063a684c471116101f8578063b390c0ab116101d2578063b390c0ab14610e97578063b5b13abc14610eb7578063b5e0e87b14610ed7578063b633e4cd14610ef757600080fd5b8063a684c47114610e37578063a6d23e1014610e57578063accc1d5e14610e7757600080fd5b8063a22cb46514610d67578063a2c4c60214610d87578063a370c66814610da7578063a48fc3a914610dd7578063a4c2f65114610df7578063a5492f4414610e1757600080fd5b806388199c2b1161029157806388199c2b14610cba5780638da5cb5b14610cda57806394357c2514610cf857806395d89b4114610d185780639c70b51214610d2d578063a1fc693714610d4757600080fd5b80637d929b4f14610bfd5780637f00c7a614610c1d57806383ca4b6f14610c3d57806384c6ef2f14610c5d5780638555d6f014610c77578063869f759414610c8d57600080fd5b80633af32abf1161043b5780634f558e79116103a25780635c975abb1161035b578063650e926f11610335578063650e926f14610ba75780636f5924e514610bbd578063715018a614610bd35780637724bad814610be857600080fd5b80635c975abb14610b5757806362e6031b14610b71578063644e54ab14610b9157600080fd5b80634f558e7914610a885780635183022714610ab857806351ede79114610ad757806352addee514610af7578063533c7cfa14610b175780635c78222f14610b3757600080fd5b80634378dfa5116103f45780634378dfa5146109c557806344166417146109e557806344a0d68a14610a055780634c26124714610a255780634cafdb6d14610a455780634e1273f414610a5b57600080fd5b80633af32abf146109275780633c952764146109475780633ccfd60b146109675780633e4a4e771461096f57806341c63b851461098f5780634271c5fd146109af57600080fd5b80631c60094b116104df5780632eb2c2d6116104985780632eb2c2d6146108715780632ed6cd46146108915780632fad845c146108be5780632fd72393146108d457806333ea51a8146108f457806339ba02d01461091457600080fd5b80631c60094b146107b85780631ee33ca9146107e557806321d0a2a0146107fb578063239c70ae1461081b578063293d8bb5146108315780632a9abcb91461085157600080fd5b80630ec7359f116105315780630ec7359f146106f757806313faede61461071757806314bfd6d01461072d578063156e29f6146107655780631973ea06146107785780631b1004501461079857600080fd5b80624a84cb14610610578062fdd58e1461063257806301ffc9a71461066557806302329a291461069557806306fdde03146106b55780630e89341c146106d757600080fd5b3661060b57602e546001600160a01b03166105cd5760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064015b60405180910390fd5b602e5460405134916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610607573d6000803e3d6000fd5b5050005b600080fd5b34801561061c57600080fd5b5061063061062b3660046150c4565b611264565b005b34801561063e57600080fd5b5061065261064d36600461509a565b6112e3565b6040519081526020015b60405180910390f35b34801561067157600080fd5b5061068561068036600461536f565b611377565b604051901515815260200161065c565b3480156106a157600080fd5b506106306106b0366004615354565b6113c7565b3480156106c157600080fd5b506106ca6113e2565b60405161065c919061585c565b3480156106e357600080fd5b506106ca6106f23660046153dd565b611470565b34801561070357600080fd5b50610630610712366004615259565b611804565b34801561072357600080fd5b5061065260095481565b34801561073957600080fd5b5061074d6107483660046153dd565b611850565b6040516001600160a01b03909116815260200161065c565b6106306107733660046150c4565b61187a565b34801561078457600080fd5b50610630610793366004615138565b611913565b3480156107a457600080fd5b506106306107b33660046153dd565b6119d7565b3480156107c457600080fd5b506106526107d3366004614e9b565b602b6020526000908152604090205481565b3480156107f157600080fd5b50610652602a5481565b34801561080757600080fd5b506106ca6108163660046153dd565b611a42565b34801561082757600080fd5b50610652600a5481565b34801561083d57600080fd5b5061063061084c3660046153dd565b611a5b565b34801561085d57600080fd5b5061063061086c366004615465565b611a8e565b34801561087d57600080fd5b5061063061088c366004614ef0565b611b87565b34801561089d57600080fd5b506106526108ac3660046153dd565b60146020526000908152604090205481565b3480156108ca57600080fd5b5061065260185481565b3480156108e057600080fd5b506106306108ef3660046153dd565b611bd3565b34801561090057600080fd5b5061063061090f366004614e9b565b611be0565b6106306109223660046153dd565b611c0a565b34801561093357600080fd5b50610685610942366004614e9b565b611d40565b34801561095357600080fd5b50610630610962366004615354565b611dd0565b610630611deb565b34801561097b57600080fd5b5061063061098a3660046152e1565b611f03565b34801561099b57600080fd5b506106306109aa366004615419565b6120f2565b3480156109bb57600080fd5b5061065260315481565b3480156109d157600080fd5b506106306109e0366004615259565b612240565b3480156109f157600080fd5b50610630610a00366004615465565b61228c565b348015610a1157600080fd5b50610630610a203660046153dd565b6124b4565b348015610a3157600080fd5b50610630610a403660046153a9565b6124c1565b348015610a5157600080fd5b5061065260085481565b348015610a6757600080fd5b50610a7b610a76366004615189565b61256d565b60405161065c919061581b565b348015610a9457600080fd5b50610685610aa33660046153dd565b60009081526015602052604090205460ff1690565b348015610ac457600080fd5b50600d5461068590610100900460ff1681565b348015610ae357600080fd5b50610630610af23660046153dd565b612696565b348015610b0357600080fd5b50610652610b123660046153dd565b6126a3565b348015610b2357600080fd5b50610652610b32366004614e9b565b6126c4565b348015610b4357600080fd5b50610630610b52366004615354565b61275f565b348015610b6357600080fd5b50600d546106859060ff1681565b348015610b7d57600080fd5b50610630610b8c36600461509a565b61277a565b348015610b9d57600080fd5b50610652600b5481565b348015610bb357600080fd5b50610652600e5481565b348015610bc957600080fd5b5061065260245481565b348015610bdf57600080fd5b5061063061288d565b348015610bf457600080fd5b506106ca61289f565b348015610c0957600080fd5b50610652610c183660046154a3565b6128c2565b348015610c2957600080fd5b50610630610c383660046153dd565b6128f3565b348015610c4957600080fd5b50610630610c58366004615295565b612900565b348015610c6957600080fd5b506016546106859060ff1681565b348015610c8357600080fd5b5061065260265481565b348015610c9957600080fd5b50610652610ca83660046153dd565b60126020526000908152604090205481565b348015610cc657600080fd5b50610630610cd53660046154c5565b61298a565b348015610ce657600080fd5b506003546001600160a01b031661074d565b348015610d0457600080fd5b50610652610d133660046154a3565b6129a6565b348015610d2457600080fd5b506106ca6129c2565b348015610d3957600080fd5b506027546106859060ff1681565b348015610d5357600080fd5b50610652610d623660046153dd565b6129cf565b348015610d7357600080fd5b50610630610d82366004615070565b6129df565b348015610d9357600080fd5b50610630610da2366004615354565b6129ea565b348015610db357600080fd5b50610685610dc23660046153dd565b601c6020526000908152604090205460ff1681565b348015610de357600080fd5b50600d546106859062010000900460ff1681565b348015610e0357600080fd5b50610630610e12366004614e9b565b612a0e565b348015610e2357600080fd5b50610630610e32366004615070565b612a6f565b348015610e4357600080fd5b50602f5461074d906001600160a01b031681565b348015610e6357600080fd5b50602e5461074d906001600160a01b031681565b348015610e8357600080fd5b50610630610e923660046150f7565b612ad9565b348015610ea357600080fd5b50610630610eb23660046154a3565b612b38565b348015610ec357600080fd5b50610630610ed23660046153dd565b612b67565b348015610ee357600080fd5b50610630610ef2366004615138565b612bbd565b348015610f0357600080fd5b50610652610f12366004614e9b565b60226020526000908152604090205481565b348015610f3057600080fd5b5061065260235481565b348015610f4657600080fd5b50610630610f55366004615465565b612c9d565b348015610f6657600080fd5b5061074d610f753660046153dd565b612cf0565b348015610f8657600080fd5b50610652610f953660046153dd565b60009081526010602052604090205490565b348015610fb357600080fd5b506106ca610fc23660046153dd565b612d00565b348015610fd357600080fd5b50610652610fe23660046153dd565b612d2b565b348015610ff357600080fd5b50610630611002366004614ffd565b612e36565b34801561101357600080fd5b506106306110223660046153dd565b612f0a565b34801561103357600080fd5b506106306110423660046154a3565b612f17565b34801561105357600080fd5b506106ca6110623660046153dd565b612f2a565b610630611075366004614ffd565b612f3a565b34801561108657600080fd5b506106ca6131c3565b34801561109b57600080fd5b506106856110aa366004614e9b565b601d6020526000908152604090205460ff1681565b3480156110cb57600080fd5b506106306110da3660046153f6565b6131d2565b3480156110eb57600080fd5b506106856110fa366004614ebd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561113457600080fd5b50610652600c5481565b34801561114a57600080fd5b50610685613231565b34801561115f57600080fd5b5061063061116e366004614f99565b6132df565b34801561117f57600080fd5b5061063061118e366004614e9b565b613324565b34801561119f57600080fd5b506106306111ae3660046153a9565b61339a565b3480156111bf57600080fd5b5061065260195481565b3480156111d557600080fd5b5061065260255481565b3480156111eb57600080fd5b506106526111fa3660046153dd565b6133b5565b34801561120b57600080fd5b5061065261121a36600461509a565b602960209081526000928352604080842090915290825290205481565b34801561124357600080fd5b50610652611252366004614e9b565b60216020526000908152604090205481565b61126c6133dc565b600d5462010000900460ff16156112955760405162461bcd60e51b81526004016105c49061591b565b61129e8261341f565b600082815260106020526040812080548392906112bc908490615b55565b925050819055506112de838383604051806020016040528060008152506134dc565b505050565b60006001600160a01b03831661134e5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084016105c4565b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806113a857506001600160e01b031982166303a24d0760e21b145b8061137157506301ffc9a760e01b6001600160e01b0319831614611371565b6113cf6133dc565b600d805460ff1916911515919091179055565b600480546113ef90615bcf565b80601f016020809104026020016040519081016040528092919081815260200182805461141b90615bcf565b80156114685780601f1061143d57610100808354040283529160200191611468565b820191906000526020600020905b81548152906001019060200180831161144b57829003601f168201915b505050505081565b6060600060066040516020016114869190615726565b60408051601f1981840301815291815260008581526015602052205490915060ff16156117ec576000831180156114bf57506008548311155b156117ec57600d54610100900460ff166114fc5760076040516020016114e59190615678565b604051602081830303815290604052915050919050565b604080516000808252602080830180855283519020878352600f909152908390209092611529920161566c565b60405160208183030381529060405280519060200120146115e3576000838152600f60205260409020805461155d90615bcf565b80601f016020809104026020016040519081016040528092919081815260200182805461158990615bcf565b80156115d65780601f106115ab576101008083540402835291602001916115d6565b820191906000526020600020905b8154815290600101906020018083116115b957829003601f168201915b5050505050915050919050565b60005b601e5481101561176257601e818154811061160357611603615c83565b906000526020600020015484116117525760408051600081526020810191829052519020601f80548390811061163b5761163b615c83565b90600052602060002001604051602001611655919061566c565b60405160208183030381529060405280519060200120146116af57601f818154811061168357611683615c83565b9060005260206000200160405160200161169d9190615726565b60405160208183030381529060405291505b60405160200160405160208183030381529060405280519060200120602082815481106116de576116de615c83565b906000526020600020016040516020016116f8919061566c565b6040516020818303038152906040528051906020012014611752576020818154811061172657611726615c83565b9060005260206000200160405160200161174091906156a8565b60405160208183030381529060405291505b61175b81615c30565b90506115e6565b506040805160008082526020808301808552835190208783526017909152908390209092611790920161566c565b6040516020818303038152906040528051906020012014156117c757806117b6846135c5565b6040516020016114e59291906155f8565b80601760008581526020019081526020016000206040516020016114e5929190615637565b60076040516020016114e59190615678565b50919050565b61180c6133dc565b611818602c6000614bff565b805161182b90602c906020840190614c1d565b508060008151811061183f5761183f615c83565b6020026020010151602a8190555050565b6030818154811061186057600080fd5b6000918252602090912001546001600160a01b0316905081565b600d5462010000900460ff16156118a35760405162461bcd60e51b81526004016105c49061591b565b600d5460ff16156118c65760405162461bcd60e51b81526004016105c4906158b7565b6118d08282613659565b61190a5760405162461bcd60e51b815260206004820152600b60248201526a10d0539393d5081352539560aa1b60448201526064016105c4565b6112958161394f565b61191b6133dc565b61192760286000614bff565b61193360288484614c64565b50805161193f57505050565b8051600114156119cc5760005b828110156119c6578160008151811061196757611967615c83565b6020026020010151602b600086868581811061198557611985615c83565b905060200201602081019061199a9190614e9b565b6001600160a01b03168152602081019190915260400160002055806119be81615c30565b91505061194c565b50505050565b6112de838383612bbd565b731ba3fe6311131a67d97f20162522490c3648f6e23314611a285760405162461bcd60e51b815260206004820152600b60248201526a2737ba103a3432903232bb60a91b60448201526064016105c4565b8060316000828254611a3a9190615b55565b909155505050565b601760205260009081526040902080546113ef90615bcf565b611a636133dc565b80602a8190555080602c600081548110611a7f57611a7f615c83565b60009182526020909120015550565b611a966133dc565b8015611b2a57600082611aa8856135c5565b604051602001611ab99291906156c5565b60408051601f198184030181529181526000868152600f60209081529190208251929350611aeb929091840190614cb7565b50837f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b82604051611b1c919061585c565b60405180910390a250505050565b6000838152600f602090815260409091208351611b4992850190614cb7565b50827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83604051611b7a919061585c565b60405180910390a2505050565b6001600160a01b038516331480611ba35750611ba385336110fa565b611bbf5760405162461bcd60e51b81526004016105c490615952565b611bcc8585858585613bb8565b5050505050565b611bdb6133dc565b600e55565b611be8613d5a565b602e80546001600160a01b0319166001600160a01b0392909216919091179055565b600d5462010000900460ff16611c595760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016105c4565b600d5460ff1615611c7c5760405162461bcd60e51b81526004016105c4906158b7565b60085460009081526015602052604090205460ff1615611cc95760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016105c4565b6008546001600e5483611cdc9190615b55565b611ce69190615b8c565b1115611d2a5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016105c4565b611d338161394f565b611d3d3382613db4565b50565b6000805b602854811015611da157826001600160a01b031660288281548110611d6b57611d6b615c83565b6000918252602090912001546001600160a01b03161415611d8f5750600192915050565b80611d9981615c30565b915050611d44565b506001600160a01b03821660009081526021602052604090205415611dc857506001919050565b506000919050565b611dd86133dc565b6027805460ff1916911515919091179055565b611df36133dc565b602e546001600160a01b0316611e405760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064016105c4565b60325460315411611eb457604051600090731ba3fe6311131a67d97f20162522490c3648f6e29047908381818185875af1925050503d8060008114611ea1576040519150601f19603f3d011682016040523d82523d6000602084013e611ea6565b606091505b5050905080611d3d57600080fd5b602e546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611ea1576040519150601f19603f3d011682016040523d82523d6000602084013e611ea6565b565b611f0b6133dc565b801561201b5760008360018551611f229190615b8c565b81518110611f3257611f32615c83565b6020026020010151905060005b601e54811015611bcc57601e8181548110611f5c57611f5c615c83565b906000526020600020015482141561200b578360018551611f7d9190615b8c565b81518110611f8d57611f8d615c83565b60209081029190910181015160008481526014909252604082205584518590611fb890600190615b8c565b81518110611fc857611fc8615c83565b60200260200101511115611ff4576000828152601360205260409020805460ff1916600117905561200b565b6000828152601360205260409020805460ff191690555b61201481615c30565b9050611f3f565b60005b83518110156119c657600084828151811061203b5761203b615c83565b6020026020010151905083828151811061205757612057615c83565b60200260200101516012600083815260200190815260200160002060008282546120819190615b55565b92505081905550600084838151811061209c5761209c615c83565b602002602001015111156120c8576000818152601160205260409020805460ff191660011790556120df565b6000818152601160205260409020805460ff191690555b50806120ea81615c30565b91505061201e565b6120fa6133dc565b81156122215760005b601e548110156122015783601e828154811061212157612121615c83565b9060005260206000200154141561213757612201565b601e805461214790600190615b8c565b8154811061215757612157615c83565b9060005260206000200154601e828154811061217557612175615c83565b90600052602060002001541480156121aa5750601e818154811061219b5761219b615c83565b90600052602060002001548414155b156121ef5760405162461bcd60e51b81526020600482015260156024820152740becadcc8928840d2e640dcdee840c24084c2e8c6d605b1b60448201526064016105c4565b806121f981615c30565b915050612103565b506000838152601b6020908152604090912082516119c692840190614c1d565b6000838152601a6020908152604090912082516119c692840190614c1d565b6122486133dc565b612254602d6000614bff565b805161226790602d906020840190614c1d565b508060008151811061227b5761227b615c83565b6020026020010151600c8190555050565b6122946133dc565b601e80546122a490600190615b8c565b815481106122b4576122b4615c83565b906000526020600020015483116123335760405162461bcd60e51b815260206004820152603760248201527f4c617374204261746368204944206d757374206265206772656174657220746860448201527f616e2070726576696f757320626174636820746f74616c00000000000000000060648201526084016105c4565b80156123f757601e805460018181019092557f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e35001849055601f8054918201815560005282516123a9917fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d80701906020850190614cb7565b506020805460018101825560008281526040805193840190819052928190526119c6927fc97bfaf2f8ee708c303a06d134f5ecd8389ae0432af62dc132a24118292866bb9092019190614cb7565b601e805460018181019092557f50bb669a95c7b50b7e8a6f09454034b2b14cf2b85c730dca9a539ca82cb6e3500184905560208054918201815560008190528351612467927fc97bfaf2f8ee708c303a06d134f5ecd8389ae0432af62dc132a24118292866bb0191850190614cb7565b50601f805460018101825560009182526040805160208101918290528390526119c6927fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d80790920191614cb7565b6124bc6133dc565b600955565b6124c96133dc565b600d54610100900460ff16156125145760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e4814995d99585b195960821b60448201526064016105c4565b8051612527906006906020840190614cb7565b5080601f60008154811061253d5761253d615c83565b90600052602060002001908051906020019061255a929190614cb7565b5050600d805461ff001916610100179055565b606081518351146125d25760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016105c4565b600083516001600160401b038111156125ed576125ed615c99565b604051908082528060200260200182016040528015612616578160200160208202803683370190505b50905060005b845181101561268e5761266185828151811061263a5761263a615c83565b602002602001015185838151811061265457612654615c83565b60200260200101516112e3565b82828151811061267357612673615c83565b602090810291909101015261268781615c30565b905061261c565b509392505050565b61269e6133dc565b600c55565b601e81815481106126b357600080fd5b600091825260209091200154905081565b60006126ce613231565b611dc85760275460ff1680156126e857506126e882611d40565b15612752576001600160a01b0382166000908152602b6020526040902054612712575050602a5490565b6001600160a01b0382166000908152602b6020526040902054602c8054909190811061274057612740615c83565b90600052602060002001549050919050565b505060095490565b919050565b6127676133dc565b6016805460ff1916911515919091179055565b6127826133dc565b600d5462010000900460ff166127d15760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016105c4565b60085460009081526015602052604090205460ff161561281e5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016105c4565b6008546001600e54836128319190615b55565b61283b9190615b8c565b111561287f5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016105c4565b6128898282613db4565b5050565b612895613d5a565b611f016000613f97565b60606000604051806060016040528060288152602001615d6b6028913992915050565b601b60205281600052604060002081815481106128de57600080fd5b90600052602060002001600091509150505481565b6128fb6133dc565b600a55565b60005b825181101561297e57600083828151811061292057612920615c83565b6020026020010151905082828151811061293c5761293c615c83565b60200260200101516010600083815260200190815260200160002060008282546129669190615b8c565b909155506129779150829050615c30565b9050612903565b50612889338383613fe9565b6129926133dc565b602393909355602591909155602455602655565b601a60205281600052604060002081815481106128de57600080fd5b600580546113ef90615bcf565b602c81815481106126b357600080fd5b612889338383614185565b6129f26133dc565b600d8054911515620100000262ff000019909216919091179055565b6003546001600160a01b0316331480612a315750602f546001600160a01b031633145b612a4d5760405162461bcd60e51b81526004016105c490615a72565b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b0316331480612a925750602f546001600160a01b031633145b612aae5760405162461bcd60e51b81526004016105c490615a72565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b612ae16133dc565b6003546001600160a01b0316331480612b045750602f546001600160a01b031633145b612b205760405162461bcd60e51b81526004016105c490615a72565b612b2c60306000614bff565b6112de60308383614c64565b60008281526010602052604081208054839290612b56908490615b8c565b909155506128899050338383614266565b731ba3fe6311131a67d97f20162522490c3648f6e23314612bb85760405162461bcd60e51b815260206004820152600b60248201526a2737ba103a3432903232bb60a91b60448201526064016105c4565b603255565b612bc56133dc565b80518214612c215760405162461bcd60e51b815260206004820152602360248201527f5573657273204172726179204e6f7420457175616c20546f205469657220417260448201526272617960e81b60648201526084016105c4565b60005b828110156119c657818181518110612c3e57612c3e615c83565b6020026020010151602b6000868685818110612c5c57612c5c615c83565b9050602002016020810190612c719190614e9b565b6001600160a01b0316815260208101919091526040016000205580612c9581615c30565b915050612c24565b612ca56133dc565b8015612cdc5781601f8481548110612cbf57612cbf615c83565b9060005260206000200190805190602001906119c6929190614cb7565b8160208481548110612cbf57612cbf615c83565b6028818154811061186057600080fd5b60208181548110612d1057600080fd5b9060005260206000200160009150905080546113ef90615bcf565b60008181526012602052604081205415612d52575060009081526012602052604090205490565b60005b601e54811015612e2d578215801590612d8b5750601e8181548110612d7c57612d7c615c83565b90600052602060002001548311155b8015612dbd5750601e612d9f600183615b8c565b81548110612daf57612daf615c83565b906000526020600020015483115b15612e1b576000601e8281548110612dd757612dd7615c83565b906000526020600020015490506014600082815260200190815260200160002054600014612e15576000908152601460205260409020549392505050565b50612e2d565b80612e2581615c30565b915050612d55565b50600092915050565b612e3e6133dc565b600d5462010000900460ff1615612e675760405162461bcd60e51b81526004016105c49061591b565b60005b8251811015612eee576000838281518110612e8757612e87615c83565b60200260200101519050612e9a8161341f565b828281518110612eac57612eac615c83565b6020026020010151601060008381526020019081526020016000206000828254612ed69190615b55565b90915550612ee79150829050615c30565b9050612e6a565b506112de8383836040518060200160405280600081525061437e565b612f126133dc565b600855565b612f1f6133dc565b601891909155601955565b601f8181548110612d1057600080fd5b600d5462010000900460ff1615612f635760405162461bcd60e51b81526004016105c49061591b565b600d5460ff1615612f865760405162461bcd60e51b81526004016105c4906158b7565b600a5482511115612fc85760405162461bcd60e51b815260206004820152600c60248201526b546f6f204d616e792049447360a01b60448201526064016105c4565b80518251146130195760405162461bcd60e51b815260206004820152601960248201527f49447320616e6420416d6f756e7473204e6f7420457175616c0000000000000060448201526064016105c4565b61302382826144d8565b6130635760405162461bcd60e51b8152602060048201526011602482015270086829c9c9ea8409a929ca8408482a8869607b1b60448201526064016105c4565b6000805b82518110156130a95782818151811061308257613082615c83565b6020026020010151826130959190615b55565b9150806130a181615c30565b915050613067565b50600b548111156130fc5760405162461bcd60e51b815260206004820152601b60248201527f426174636820416d6f756e74204c696d6974204578636565646564000000000060448201526064016105c4565b6131058161394f565b60005b83518110156131a757600084828151811061312557613125615c83565b602002602001015190506131388161341f565b83828151811061314a5761314a615c83565b60200260200101516010600087858151811061316857613168615c83565b60200260200101518152602001908152602001600020600082825461318d9190615b55565b9091555082915061319f905081615c30565b915050613108565b506119c68484846040518060200160405280600081525061437e565b60606131cd614556565b905090565b6003546001600160a01b03163314806131f55750602f546001600160a01b031633145b6132115760405162461bcd60e51b81526004016105c490615a72565b6000918252601c6020526040909120805460ff1916911515919091179055565b60006132456003546001600160a01b031690565b6001600160a01b0316336001600160a01b0316148061326e5750602f546001600160a01b031633145b156132795750600190565b603054156132d95760005b6030548110156132d757603081815481106132a1576132a1615c83565b6000918252602090912001546001600160a01b03163314156132c557600191505090565b806132cf81615c30565b915050613284565b505b50600090565b6001600160a01b0385163314806132fb57506132fb85336110fa565b6133175760405162461bcd60e51b81526004016105c490615952565b611bcc85858585856145ff565b61332c613d5a565b6001600160a01b0381166133915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c4565b611d3d81613f97565b6133a26133dc565b8051612889906007906020840190614cb7565b602d81815481106126b357600080fd5b505050505050565b6001600160a01b03163b151590565b6133e4613231565b611f015760405162461bcd60e51b815260206004820152600c60248201526b2737ba1030b71030b236b4b760a11b60448201526064016105c4565b60008181526015602052604090205460ff166134a6576000818152601560209081526040808320805460ff19908116600117909155601c90925290912080549091169055600d5462010000900460ff16156134a657600081815260126020908152604080832060019081905560118352818420805460ff1916821790556010909252909120555b60165460ff1615611d3d576134b9614556565b600082815260176020908152604090912082516128899391929190910190614cb7565b6001600160a01b0384166135025760405162461bcd60e51b81526004016105c490615af1565b33600061350e85614737565b9050600061351b85614737565b905061352c83600089858589614782565b6000868152602081815260408083206001600160a01b038b1684529091528120805487929061355c908490615b55565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46135bc836000898989896148d5565b50505050505050565b606060006135d283614a40565b60010190506000816001600160401b038111156135f1576135f1615c99565b6040519080825280601f01601f19166020018201604052801561361b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846136545761268e565b613625565b60008281526011602052604081205460ff16156136de576000821180156136825750600a548211155b801561368e5750600083115b801561369c57506008548311155b80156136cc57506000838152601260209081526040808320546010909252909120546136c9908490615b55565b11155b156136d65761370d565b506000611371565b6000821180156136f05750600a548211155b80156136fc5750600083115b80156136cc575060085483116136d6575b6000838152601a6020526040902054156137935760005b6000848152601a6020526040902054811015613791576000848152601a6020526040812080546137709133918590811061376057613760615c83565b90600052602060002001546112e3565b1161377f576000915050611371565b8061378981615c30565b915050613724565b505b60005b601e548110156139455780158015906137cc5750601e81815481106137bd576137bd615c83565b90600052602060002001548411155b80156137fe5750601e6137e0600183615b8c565b815481106137f0576137f0615c83565b906000526020600020015484115b15613933576000601e828154811061381857613818615c83565b6000918252602080832090910154808352601b909152604090912054909150156138a05760005b6000828152601b602052604090205481101561389e576000828152601b60205260408120805461387b9133918590811061376057613760615c83565b1161388c5760009350505050611371565b8061389681615c30565b91505061383f565b505b60008181526013602052604090205460ff161561392b576000841180156138c95750600a548411155b80156138d55750600085115b80156138e357506008548511155b80156139165750600081815260146020908152604080832054888452601090925290912054613913908690615b55565b11155b1561392057613931565b600092505050611371565b50613933565b505b8061393d81615c30565b915050613796565b5060019392505050565b3360009081526022602090815260408083205460219092528220546139749190615b8c565b90508181106139805750805b613988613231565b6128895760275460ff1615613b23576139a033611d40565b6139de5760405162461bcd60e51b815260206004820152600f60248201526e139bdd0815da1a5d195b1a5cdd1959608a1b60448201526064016105c4565b3360008181526029602090815260408083206023548452825280832054938352602b909152902054602d80549091908110613a1b57613a1b615c83565b90600052602060002001548382613a329190615b55565b1115613a8a5760405162461bcd60e51b815260206004820152602160248201527f4578636565646564204d61782057686974656c697374204d696e74204c696d696044820152601d60fa1b60648201526084016105c4565b613a93336126c4565b613a9d8385615b8c565b613aa79190615b6d565b341015613aeb5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016105c4565b336000908152602960209081526040808320602354845290915281208054859290613b17908490615b55565b90915550613b84915050565b613b2c336126c4565b613b368284615b8c565b613b409190615b6d565b341015613b845760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016105c4565b600034118015613b98575060325460315411155b15612889573460316000828254613baf9190615b55565b90915550505050565b8151835114613bd95760405162461bcd60e51b81526004016105c490615aa9565b6001600160a01b038416613bff5760405162461bcd60e51b81526004016105c4906159a0565b33613c0e818787878787614782565b60005b8451811015613cf4576000858281518110613c2e57613c2e615c83565b602002602001015190506000858381518110613c4c57613c4c615c83565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015613c9c5760405162461bcd60e51b81526004016105c490615a28565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290613cd9908490615b55565b9250508190555050505080613ced90615c30565b9050613c11565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613d4492919061582e565b60405180910390a46133c5818787878787614b18565b6003546001600160a01b03163314611f015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c4565b6000816001600160401b03811115613dce57613dce615c99565b604051908082528060200260200182016040528015613df7578160200160208202803683370190505b5090506000826001600160401b03811115613e1457613e14615c99565b604051908082528060200260200182016040528015613e3d578160200160208202803683370190505b50905060005b83811015613ec057600e54613e578161341f565b600e54848381518110613e6c57613e6c615c83565b6020026020010181815250506001838381518110613e8c57613e8c615c83565b6020908102919091010152600e8054906000613ea783615c30565b9190505550508080613eb890615c30565b915050613e43565b503360009081526021602052604090205415613f5c57336000908152602160209081526040808320546022909252909120541015613f1d573360009081526022602052604081208054859290613f17908490615b55565b90915550505b3360009081526021602090815260408083205460229092529091205410613f5c5733600090815260226020908152604080832083905560219091528120555b6024546023541415613f7c57602554600e541115613f7c57613f7c614be2565b6119c68483836040518060200160405280600081525061437e565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661400f5760405162461bcd60e51b81526004016105c4906159e5565b80518251146140305760405162461bcd60e51b81526004016105c490615aa9565b600033905061405381856000868660405180602001604052806000815250614782565b60005b835181101561411857600084828151811061407357614073615c83565b60200260200101519050600084838151811061409157614091615c83565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156140e15760405162461bcd60e51b81526004016105c4906158d7565b6000928352602083815260408085206001600160a01b038b168652909152909220910390558061411081615c30565b915050614056565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161416992919061582e565b60405180910390a46040805160208101909152600090526119c6565b816001600160a01b0316836001600160a01b031614156141f95760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016105c4565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03831661428c5760405162461bcd60e51b81526004016105c4906159e5565b33600061429884614737565b905060006142a584614737565b90506142c583876000858560405180602001604052806000815250614782565b6000858152602081815260408083206001600160a01b038a168452909152902054848110156143065760405162461bcd60e51b81526004016105c4906158d7565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526135bc565b6001600160a01b0384166143a45760405162461bcd60e51b81526004016105c490615af1565b81518351146143c55760405162461bcd60e51b81526004016105c490615aa9565b336143d581600087878787614782565b60005b8451811015614470578381815181106143f3576143f3615c83565b602002602001015160008087848151811061441057614410615c83565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546144589190615b55565b9091555081905061446881615c30565b9150506143d8565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516144c192919061582e565b60405180910390a4611bcc81600087878787614b18565b6000805b83518110156139455760008482815181106144f9576144f9615c83565b60200260200101519050600084838151811061451757614517615c83565b6020026020010151905061452b8282613659565b1561453557614541565b60009350505050611371565b5050808061454e90615c30565b9150506144dc565b60606000601954424433600e54601760006001600e546145769190615b8c565b8152602001908152602001600020604051602001614598959493929190615742565b6040516020818303038152906040528051906020012060001c6145bb9190615c4b565b90506018548110156145ed576145e76145d5826001615b55565b6019546145e29190615b8c565b6135c5565b91505090565b6145e76145e2826001615b55565b5090565b6001600160a01b0384166146255760405162461bcd60e51b81526004016105c4906159a0565b33600061463185614737565b9050600061463e85614737565b905061464e838989858589614782565b6000868152602081815260408083206001600160a01b038c1684529091529020548581101561468f5760405162461bcd60e51b81526004016105c490615a28565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906146cc908490615b55565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461472c848a8a8a8a8a6148d5565b505050505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061477157614771615c83565b602090810291909101015292915050565b6001600160a01b0386166000908152601d602052604090205460ff161580156147c457506001600160a01b0385166000908152601d602052604090205460ff16155b80156147e957506001600160a01b0384166000908152601d602052604090205460ff16155b6148495760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f722c2046726f6d2c206f7220546f204164647265737320697360448201526a08149154d5149250d5115160aa1b60648201526084016105c4565b60005b83518110156135bc57601c600085838151811061486b5761486b615c83565b60209081029190910181015182528101919091526040016000205460ff16156148c35760405162461bcd60e51b815260206004820152600a602482015269119b1859d9d95908125160b21b60448201526064016105c4565b806148cd81615c30565b91505061484c565b6001600160a01b0384163b156133c55760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061491990899089908890889088906004016157e1565b602060405180830381600087803b15801561493357600080fd5b505af1925050508015614963575060408051601f3d908101601f191682019092526149609181019061538c565b60015b614a105761496f615caf565b806308c379a014156149a95750614984615ccb565b8061498f57506149ab565b8060405162461bcd60e51b81526004016105c4919061585c565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016105c4565b6001600160e01b0319811663f23a6e6160e01b146135bc5760405162461bcd60e51b81526004016105c49061586f565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310614a7f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310614aab576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310614ac957662386f26fc10000830492506010015b6305f5e1008310614ae1576305f5e100830492506008015b6127108310614af557612710830492506004015b60648310614b07576064830492506002015b600a83106113715760010192915050565b6001600160a01b0384163b156133c55760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190614b5c9089908990889088908890600401615783565b602060405180830381600087803b158015614b7657600080fd5b505af1925050508015614ba6575060408051601f3d908101601f19168201909252614ba39181019061538c565b60015b614bb25761496f615caf565b6001600160e01b0319811663bc197c8160e01b146135bc5760405162461bcd60e51b81526004016105c49061586f565b60238054906000614bf283615c30565b9091555050602654600955565b5080546000825590600052602060002090810190611d3d9190614d2a565b828054828255906000526020600020908101928215614c58579160200282015b82811115614c58578251825591602001919060010190614c3d565b506145fb929150614d2a565b828054828255906000526020600020908101928215614c58579160200282015b82811115614c585781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190614c84565b828054614cc390615bcf565b90600052602060002090601f016020900481019282614ce55760008555614c58565b82601f10614cfe57805160ff1916838001178555614c58565b82800160010185558215614c585791820182811115614c58578251825591602001919060010190614c3d565b5b808211156145fb5760008155600101614d2b565b80356001600160a01b038116811461275a57600080fd5b60008083601f840112614d6857600080fd5b5081356001600160401b03811115614d7f57600080fd5b6020830191508360208260051b8501011115614d9a57600080fd5b9250929050565b600082601f830112614db257600080fd5b81356020614dbf82615b32565b604051614dcc8282615c04565b8381528281019150858301600585901b87018401881015614dec57600080fd5b60005b85811015614e0b57813584529284019290840190600101614def565b5090979650505050505050565b8035801515811461275a57600080fd5b600082601f830112614e3957600080fd5b81356001600160401b03811115614e5257614e52615c99565b604051614e69601f8301601f191660200182615c04565b818152846020838601011115614e7e57600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215614ead57600080fd5b614eb682614d3f565b9392505050565b60008060408385031215614ed057600080fd5b614ed983614d3f565b9150614ee760208401614d3f565b90509250929050565b600080600080600060a08688031215614f0857600080fd5b614f1186614d3f565b9450614f1f60208701614d3f565b935060408601356001600160401b0380821115614f3b57600080fd5b614f4789838a01614da1565b94506060880135915080821115614f5d57600080fd5b614f6989838a01614da1565b93506080880135915080821115614f7f57600080fd5b50614f8c88828901614e28565b9150509295509295909350565b600080600080600060a08688031215614fb157600080fd5b614fba86614d3f565b9450614fc860208701614d3f565b9350604086013592506060860135915060808601356001600160401b03811115614ff157600080fd5b614f8c88828901614e28565b60008060006060848603121561501257600080fd5b61501b84614d3f565b925060208401356001600160401b038082111561503757600080fd5b61504387838801614da1565b9350604086013591508082111561505957600080fd5b5061506686828701614da1565b9150509250925092565b6000806040838503121561508357600080fd5b61508c83614d3f565b9150614ee760208401614e18565b600080604083850312156150ad57600080fd5b6150b683614d3f565b946020939093013593505050565b6000806000606084860312156150d957600080fd5b6150e284614d3f565b95602085013595506040909401359392505050565b6000806020838503121561510a57600080fd5b82356001600160401b0381111561512057600080fd5b61512c85828601614d56565b90969095509350505050565b60008060006040848603121561514d57600080fd5b83356001600160401b038082111561516457600080fd5b61517087838801614d56565b9095509350602086013591508082111561505957600080fd5b6000806040838503121561519c57600080fd5b82356001600160401b03808211156151b357600080fd5b818501915085601f8301126151c757600080fd5b813560206151d482615b32565b6040516151e18282615c04565b8381528281019150858301600585901b870184018b101561520157600080fd5b600096505b8487101561522b5761521781614d3f565b835260019690960195918301918301615206565b509650508601359250508082111561524257600080fd5b5061524f85828601614da1565b9150509250929050565b60006020828403121561526b57600080fd5b81356001600160401b0381111561528157600080fd5b61528d84828501614da1565b949350505050565b600080604083850312156152a857600080fd5b82356001600160401b03808211156152bf57600080fd5b6152cb86838701614da1565b9350602085013591508082111561524257600080fd5b6000806000606084860312156152f657600080fd5b83356001600160401b038082111561530d57600080fd5b61531987838801614da1565b9450602086013591508082111561532f57600080fd5b5061533c86828701614da1565b92505061534b60408501614e18565b90509250925092565b60006020828403121561536657600080fd5b614eb682614e18565b60006020828403121561538157600080fd5b8135614eb681615d54565b60006020828403121561539e57600080fd5b8151614eb681615d54565b6000602082840312156153bb57600080fd5b81356001600160401b038111156153d157600080fd5b61528d84828501614e28565b6000602082840312156153ef57600080fd5b5035919050565b6000806040838503121561540957600080fd5b82359150614ee760208401614e18565b60008060006060848603121561542e57600080fd5b8335925061543e60208501614e18565b915060408401356001600160401b0381111561545957600080fd5b61506686828701614da1565b60008060006060848603121561547a57600080fd5b8335925060208401356001600160401b0381111561549757600080fd5b61533c86828701614e28565b600080604083850312156154b657600080fd5b50508035926020909101359150565b600080600080608085870312156154db57600080fd5b5050823594602084013594506040840135936060013592509050565b600081518084526020808501945080840160005b838110156155275781518752958201959082019060010161550b565b509495945050505050565b6000815180845261554a816020860160208601615ba3565b601f01601f19169290920160200192915050565b8054600090600181811c908083168061557857607f831692505b602080841082141561559a57634e487b7160e01b600052602260045260246000fd5b8180156155ae57600181146155bf576155ec565b60ff198616895284890196506155ec565b60008881526020902060005b868110156155e45781548b8201529085019083016155cb565b505084890196505b50505050505092915050565b6000835161560a818460208801615ba3565b83519083019061561e818360208801615ba3565b64173539b7b760d91b9101908152600501949350505050565b60008351615649818460208801615ba3565b6156558184018561555e565b64173539b7b760d91b815260050195945050505050565b6000614eb6828461555e565b6000615684828461555e565b653434b23232b760d11b815264173539b7b760d91b6006820152600b019392505050565b60006156b4828461555e565b602f60f81b81526001019392505050565b66697066733a2f2f60c81b8152600083516156e7816007850160208801615ba3565b602f60f81b6007918401918201528351615708816008840160208801615ba3565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b815260006156b4600783018461555e565b8581528460208201526bffffffffffffffffffffffff198460601b1660408201528260548201526000615778607483018461555e565b979650505050505050565b6001600160a01b0386811682528516602082015260a0604082018190526000906157af908301866154f7565b82810360608401526157c181866154f7565b905082810360808401526157d58185615532565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061577890830184615532565b602081526000614eb660208301846154f7565b60408152600061584160408301856154f7565b828103602084015261585381856154f7565b95945050505050565b602081526000614eb66020830184615532565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526006908201526514185d5cd95960d21b604082015260600190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6020808252601a908201527f5265717569726573206d696e74496e4f726465722046616c7365000000000000604082015260600190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252601b908201527f4e6f74204f776e6572206f722050726f6a656374204c65616465720000000000604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60006001600160401b03821115615b4b57615b4b615c99565b5060051b60200190565b60008219821115615b6857615b68615c6d565b500190565b6000816000190483118215151615615b8757615b87615c6d565b500290565b600082821015615b9e57615b9e615c6d565b500390565b60005b83811015615bbe578181015183820152602001615ba6565b838111156119c65750506000910152565b600181811c90821680615be357607f821691505b602082108114156117fe57634e487b7160e01b600052602260045260246000fd5b601f8201601f191681016001600160401b0381118282101715615c2957615c29615c99565b6040525050565b6000600019821415615c4457615c44615c6d565b5060010190565b600082615c6857634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115615cc85760046000803e5060005160e01c5b90565b600060443d1015615cd95790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715615d0857505050505090565b8285019150815181811115615d205750505050505090565b843d8701016020828501011115615d3a5750505050505090565b615d4960208286010187615c04565b509095945050505050565b6001600160e01b031981168114611d3d57600080fdfef09f90b82068747470733a2f2f7777772e68616c66737570657273686f702e636f6d2f20f09f90b8a26469706673582212208df07c26968e694902bd8a425bb2699d55fbbbff7e5f7b1176ba0edb2823709164736f6c63430008070033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.