ETH Price: $2,491.48 (-1.05%)

Token

LOT 22 (LOT22)
 

Overview

Max Total Supply

110 LOT22

Holders

45

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
komardsnfts.eth
0xd2cea0939a06a0131f730201d2d44b97125af554
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LOT22

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : LOT22.sol
// 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";
import "./DefaultOperatorFilterer.sol";

/*

LLLLLLLLLLL                  OOOOOOOOO     TTTTTTTTTTTTTTTTTTTTTTT      222222222222222     222222222222222    
L:::::::::L                OO:::::::::OO   T:::::::::::::::::::::T     2:::::::::::::::22  2:::::::::::::::22  
L:::::::::L              OO:::::::::::::OO T:::::::::::::::::::::T     2::::::222222:::::2 2::::::222222:::::2 
LL:::::::LL             O:::::::OOO:::::::OT:::::TT:::::::TT:::::T     2222222     2:::::2 2222222     2:::::2 
  L:::::L               O::::::O   O::::::OTTTTTT  T:::::T  TTTTTT                 2:::::2             2:::::2 
  L:::::L               O:::::O     O:::::O        T:::::T                         2:::::2             2:::::2 
  L:::::L               O:::::O     O:::::O        T:::::T                      2222::::2           2222::::2  
  L:::::L               O:::::O     O:::::O        T:::::T                 22222::::::22       22222::::::22   
  L:::::L               O:::::O     O:::::O        T:::::T               22::::::::222       22::::::::222     
  L:::::L               O:::::O     O:::::O        T:::::T              2:::::22222         2:::::22222        
  L:::::L               O:::::O     O:::::O        T:::::T             2:::::2             2:::::2             
  L:::::L         LLLLLLO::::::O   O::::::O        T:::::T             2:::::2             2:::::2             
LL:::::::LLLLLLLLL:::::LO:::::::OOO:::::::O      TT:::::::TT           2:::::2       2222222:::::2       222222
L::::::::::::::::::::::L OO:::::::::::::OO       T:::::::::T           2::::::2222222:::::22::::::2222222:::::2
L::::::::::::::::::::::L   OO:::::::::OO         T:::::::::T           2::::::::::::::::::22::::::::::::::::::2
LLLLLLLLLLLLLLLLLLLLLLLL     OOOOOOOOO           TTTTTTTTTTT           2222222222222222222222222222222222222222

*/

contract LOT22 is ERC1155, Ownable, DefaultOperatorFilterer {
    string public name = "LOT 22";
    string public symbol = "LOT22";
    string private ipfsCID = "CID";
    string private hiddenCIDorURI = "ipfs://QmVeDNugK48LQGvTggJvAMTHrCT83L6f1adTqcPqcuYUEU/";
    uint256 public collectionTotal = 5555;
    uint256 private cost = 0.012 ether;
    uint256 public maxMintAmount = 20;
    uint256 public maxBatchMintAmount = 20;
    string private storefront = "ipfs://QmV4X4ZNq4yP8L2ftjR3uHq784zXD32k94x67Y1QyyexhT/storefront.json";


    bool public paused = true;
    mapping(uint256 => bool) private mintInOrder;

    bool private useMintOnDate = false;
    uint public mintDateStart;

    uint256 public randomCounter = 1;
    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;

    uint256[] public collectionBatchEndID;
    uint256[] public tokenNextToMintInBatch;
    string[] public ipfsCIDBatch;
    string[] public uriBatch;
    uint256[] public batchCost;
    mapping(uint256 => uint256) public batchTriggerPoint;
    mapping(uint256 => uint256) public batchCostNext;
    mapping(uint256 => bool) public pausedBatch;
    mapping(uint256 => bool) public revealedBatch;

    address payable public payments;
    address public projectLeader;
    address[] public admins;

    mapping(uint256 => bool) public bindOnMintBatch; //BOM or BOMB are the tokens that cannot be moved after being minted
    mapping(uint256 => bool) public flagged; //flagged tokens cannot be moved
    mapping(address => bool) public restricted; //restricted addresses cannot move tokens

    constructor() ERC1155(""){
        collectionBatchEndID.push(55);
        ipfsCIDBatch.push(ipfsCID);
        uriBatch.push("");
        maxSupply[1] = 1;
        hasMaxSupply[1] = true;
        createdToken[1] = true;
        currentSupply[1] = 1;
        tokenNextToMintInBatch.push(2);
        _mint(msg.sender, 1, 1, "");

        mintInOrder[0] = true;
        batchCost.push(cost);
    }

    /**
     * @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 for all or just a batch.
     * true = closed to Admin Only
     * false = open for Presale or Public
     */
    function pause(bool _pauseAll, uint _fromBatch, bool _state) public onlyAdmins {
        if(_pauseAll){
            paused = _state;
        }
        else{
            pausedBatch[_fromBatch] = _state;
        }
        
    }

    /**
     * @dev Admin can set the REVEALED state for a batch.
     * true = revealed
     * false = hidden
     */
    function reveal(uint _fromBatch, bool _state) public onlyAdmins {
        revealedBatch[_fromBatch] = _state;
    }

    /**
     * @dev Admin can set the DATE to mint.
     * true = use date
     * false = don't use date
     * _unixDate = unix date used if true
     */
    function setMintDate(bool _state, uint _unixDate) public onlyAdmins {
        useMintOnDate = _state;
        if(_state){
            //future start date
            mintDateStart = _unixDate;
        }
    }

    /**
     * @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 mintInOrder state for a batch.
     */
    function setMintInOrder(bool _state, uint _fromBatch) public onlyAdmins {
        mintInOrder[_fromBatch] = _state;
    }

    /**
     * @dev Admin can set the tokenNextToMintInBatch.
     */
    function setTokenNextToMintInBatch(uint _id, uint _fromBatch) public onlyAdmins {
        tokenNextToMintInBatch[_fromBatch] = _id;
    }

    /**
     * @dev Admin can set the new cost for the batch in WEI.
     * 1 ETH = 10^18 WEI
     * Use http://etherscan.io/unitconverter for conversions.
     */
    function setCost(uint256 _newCost, uint _fromBatch) public onlyAdmins {
        batchCost[_fromBatch] = _newCost;
    }

    /**
     * @dev Admin can set the cost to change to for a batch after a specific token is minted.
     */
    function setCostNextOnTrigger(uint256 _nextCost, uint _triggerPointID, uint _fromBatch) public onlyAdmins {
        batchTriggerPoint[_fromBatch] = _triggerPointID;
        batchCostNext[_fromBatch] = _nextCost;
    }

    function _cost(uint _batchID) public view returns(uint256){
        if (!checkIfAdmin()) {
            return batchCost[_batchID];
        }
        else{
            return 0;
        }
    }

    function checkOut(uint _amount, uint _batchID) private {
        if (!checkIfAdmin()) {
            if(useMintOnDate){
                require(block.timestamp >= mintDateStart, "Not Mint Date Yet");
            }
            //Required Funds
            require(msg.value >= (_amount * _cost(_batchID)), "Insufficient Funds");
        }
    }

    function checkOutScan(uint _id, uint _fromBatch) private{
        if (!exists(_id)) {
            createdToken[_id] = true;
            flagged[_id] = false;
            if(mintInOrder[_fromBatch]){
                maxSupply[_id] = 1;
                hasMaxSupply[_id] = true;
                currentSupply[_id] = 1;
            }
        }

        if(roleInUse){
            role[_id] = randomRole();
        }

        if(batchCost[_fromBatch] != batchCostNext[_fromBatch] && tokenNextToMintInBatch[_fromBatch] >= batchTriggerPoint[_fromBatch]){
            batchCost[_fromBatch] = batchCostNext[_fromBatch];
        }
        randomCounter++;
    }

    function checkInBatch(uint _id, uint _fromBatch) public view returns(bool){
        if(_fromBatch != 0 && _id <= collectionBatchEndID[_fromBatch] && _id > collectionBatchEndID[_fromBatch - 1]){
            return true;
        }
        if(_fromBatch <= 0 && _id > 0 && _id <= collectionBatchEndID[_fromBatch]){
            return true;
        }
        return false;
    }

    /**
     * @dev Allows Admins, Whitelisters, and Public to Mint NFTs in Order from a collection batch.
     */
    function _mintInOrder(uint _numberOfTokensToMint, uint _fromBatch) public payable {
        require(mintInOrder[_fromBatch], "Requires mintInOrder");
        require(!paused, "Paused");
        require(!pausedBatch[_fromBatch], "Paused Batch");
        require(!exists(collectionBatchEndID[_fromBatch]), "Sold Out");
        require(_fromBatch >= 0, "From Batch Required");
        require(_numberOfTokensToMint + tokenNextToMintInBatch[_fromBatch] - 1 <= collectionBatchEndID[_fromBatch], "Please Lower Amount");

        checkOut(_numberOfTokensToMint, _fromBatch);
        _mintBatchTo(msg.sender, _numberOfTokensToMint, _fromBatch);
    }

    /**
     * @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, uint _fromBatch) external onlyAdmins {
        require(mintInOrder[_fromBatch], "Requires mintInOrder");
        require(!exists(collectionBatchEndID[_fromBatch]), "Sold Out");
        require(_numberOfTokensToMint + tokenNextToMintInBatch[_fromBatch] - 1 <= collectionBatchEndID[_fromBatch], "Please Lower Amount");

        _mintBatchTo(_to, _numberOfTokensToMint, _fromBatch);
    }

    function _mintBatchTo(address _to, uint _numberOfTokensToMint, uint _fromBatch)private {
        uint256[] memory _ids = new uint256[](_numberOfTokensToMint);
        uint256[] memory _amounts = new uint256[](_numberOfTokensToMint);
        for (uint256 i = 0; i < _numberOfTokensToMint; i++) {
            uint256 _id = tokenNextToMintInBatch[_fromBatch];
            
            checkOutScan(_id, _fromBatch);

            _ids[i] = tokenNextToMintInBatch[_fromBatch];
            _amounts[i] = 1;
            tokenNextToMintInBatch[_fromBatch]++;
        }

        _mintBatch(_to, _ids, _amounts, "");
    }

    /**
    * @dev Allows Owner, Whitelisters, and Public to Mint a single NFT.
    */
    function mint(address _to, uint _id, uint _amount, uint _fromBatch) public payable {
        require(!mintInOrder[_fromBatch], "Requires mintInOrder False");
        require(checkInBatch(_id, _fromBatch), "ID Must Be From Batch");
        require(!paused, "Paused");
        require(!pausedBatch[_fromBatch], "Paused Batch");
        require(canMintChecker(_id, _amount), "CANNOT MINT");

        checkOut(_amount, _fromBatch);
        checkOutScan(_id, _fromBatch);
        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, uint _fromBatch) public payable {
        require(!mintInOrder[_fromBatch], "Requires mintInOrder False");
        require(!paused, "Paused");
        require(!pausedBatch[_fromBatch], "Paused Batch");
        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++) {
            require(checkInBatch(_ids[i], _fromBatch), "IDs Must Be From Same Batch");
            _totalBatchAmount += _amounts[i];
        }
        require(_totalBatchAmount <= maxBatchMintAmount, "Batch Amount Limit Exceeded");

        checkOut(_totalBatchAmount, _fromBatch);
        
        for (uint256 k = 0; k < _ids.length; k++) {
            uint256 _id = _ids[k];
            checkOutScan(_id, _fromBatch);
            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, uint _fromBatch) external onlyAdmins {
        require(!mintInOrder[_fromBatch], "Requires mintInOrder False");
        checkOutScan(_id, _fromBatch);
        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, uint _fromBatch) external onlyAdmins {
        require(!mintInOrder[_fromBatch], "Requires mintInOrder False");
        for (uint256 i = 0; i < _ids.length; ++i) {
            uint256 _id = _ids[i];
            checkOutScan(_id, _fromBatch);
            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 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 that batch of tokens.
    * Note: Set _isIpfsCID to true if using only IPFS CID for the _uri.
    *       Set _isMintInOrder if the batch should be minted in order.
    *       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, bool _isMintInOrder) external onlyAdmins {
        require(_endBatchID > collectionBatchEndID[collectionBatchEndID.length-1], "Last Batch ID must be greater than previous batch total");
        
        tokenNextToMintInBatch.push(collectionBatchEndID[collectionBatchEndID.length-1] + 1); //set mint start ID for batch

        if (_isIpfsCID) {
            //set IPFS CID
            collectionBatchEndID.push(_endBatchID);
            ipfsCIDBatch.push(_uri);
            uriBatch.push("");
        }
        else{
            //set URI
            collectionBatchEndID.push(_endBatchID);
            uriBatch.push(_uri);
            ipfsCIDBatch.push("");
        }

        batchCost.push(cost);
        if(_isMintInOrder){
            setMintInOrder(true, collectionBatchEndID.length-1);
        }
    }

    function uri(uint256 _id) override public view returns(string memory){
        bool _batched = true;
        uint256 _batchID;
        string memory _CIDorURI = string(abi.encodePacked(
            "ipfs://",
            ipfsCID,
            "/"
        ));
        string memory _HIDDEN = string(abi.encodePacked(
            hiddenCIDorURI,
            "hidden",
            ".json"
        ));

        if(createdToken[_id]){
            if (_id > 0 && _id <= collectionTotal) {
                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],
                                "/"
                            ));
                            _batchID = i;
                            break;
                        }
                        if(keccak256(abi.encodePacked((uriBatch[i]))) != keccak256(abi.encodePacked(("")))){
                            _CIDorURI = string(abi.encodePacked(
                                uriBatch[i],
                                "/"
                            ));
                            _batchID = i;
                            break;
                        }
                        continue;
                    }
                    else{
                        //_id was not found in a batch
                        continue;
                    }
                }

                if(_id > collectionBatchEndID[collectionBatchEndID.length - 1]){
                    _batched = false;
                }

                if(_batched && revealedBatch[_batchID]){
                    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"
                        )));
                    }
                }
                else{
                    //no URI set default to hidden
                    return _HIDDEN;
                }
            }
            //no URI set default to hidden
            return _HIDDEN;
        }
        else{
            //hidden
            return _HIDDEN;
        }
    }

    //"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,
            randomCounter,
            role[randomCounter - 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();
    }

    /**
    * @dev Admin can set the min and max of the role limit. 
    * Note: min value is excluded while max is included.
    */
    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 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 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");
        //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 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
            }
        }
    }

    /**
     * @dev Admin can set the bind on mint state for a batch.
     * Note: Bound tokens cannot be moved once minted.
     */
    function setBindOnMintBatch(bool _state, uint _batchID) public onlyAdmins {
        bindOnMintBatch[_batchID] = _state;
    }

    /**
     * @dev Check if an ID is in a bind on mint batch.
     */
    function bindOnMint(uint _id) public view returns(bool){
        uint256 _batchID;
        for (uint256 i = 0; i < collectionBatchEndID.length; i++) {
            if(i != 0 && _id <= collectionBatchEndID[i] && _id > collectionBatchEndID[i - 1]){
                _batchID = i;
                break;
            }
            if(i <= 0 && _id > 0 && _id <= collectionBatchEndID[i]){
                _batchID = i;
                break;
            }
        }
        return bindOnMintBatch[_batchID];
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     */
    function _afterTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual override{
        super._afterTokenTransfer(operator, from, to, ids, amounts, data); // Call parent hook

        for (uint256 i = 0; i < ids.length; i++) {
            if(bindOnMint(ids[i])){
                flagged[ids[i]] = true;
            }
        }
    }

    /**
    * @dev Allows Admin to set the storefront URI or CID.
    */
    function setStoreFrontURIorCID(string memory _URIorCID) external onlyAdmins {
        storefront = _URIorCID;
    }

    function contractURI() public view returns (string memory) {
        return storefront;
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, uint256 amount, bytes memory data)
        public
        override
        onlyAllowedOperator()
    {
        super.safeTransferFrom(from, to, tokenId, amount, data);
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override onlyAllowedOperator() {
        super.safeBatchTransferFrom(from, to, ids, amounts, data);
    }

}

File 2 of 16 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 3 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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);
    }
}

File 4 of 16 : Ownable.sol
// 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);
    }
}

File 5 of 16 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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;
    }
}

File 6 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 << 3) < value ? 1 : 0);
        }
    }
}

File 7 of 16 : ERC165.sol
// 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;
    }
}

File 8 of 16 : Context.sol
// 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;
    }
}

File 9 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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);
        }
    }
}

File 10 of 16 : IERC1155MetadataURI.sol
// 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);
}

File 11 of 16 : IERC1155Receiver.sol
// 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);
}

File 12 of 16 : IERC1155.sol
// 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;
}

File 13 of 16 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator() virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 14 of 16 : IERC165.sol
// 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);
}

File 15 of 16 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 16 of 16 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"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":"uint256","name":"_batchID","type":"uint256"}],"name":"_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokensToMint","type":"uint256"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"}],"name":"_mintInOrder","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_numberOfTokensToMint","type":"uint256"},{"internalType":"uint256","name":"_fromBatch","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"},{"internalType":"uint256","name":"_fromBatch","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[]"},{"internalType":"uint256","name":"_fromBatch","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"}],"name":"batchCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"batchCostNext","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":"","type":"uint256"}],"name":"batchTriggerPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"bindOnMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bindOnMintBatch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"}],"name":"checkInBatch","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":"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endBatchID","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"bool","name":"_isIpfsCID","type":"bool"},{"internalType":"bool","name":"_isMintInOrder","type":"bool"}],"name":"createBatchAndSetURI","outputs":[],"stateMutability":"nonpayable","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":"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":[],"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"},{"internalType":"uint256","name":"_fromBatch","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[]"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintDateStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_pauseAll","type":"bool"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"},{"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pausedBatch","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":"projectLeader","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_fromBatch","type":"uint256"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"revealedBatch","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":"tokenId","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":"bool","name":"_state","type":"bool"},{"internalType":"uint256","name":"_batchID","type":"uint256"}],"name":"setBindOnMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nextCost","type":"uint256"},{"internalType":"uint256","name":"_triggerPointID","type":"uint256"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"}],"name":"setCostNextOnTrigger","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"},{"internalType":"uint256","name":"_unixDate","type":"uint256"}],"name":"setMintDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"}],"name":"setMintInOrder","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":"string","name":"_URIorCID","type":"string"}],"name":"setStoreFrontURIorCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_fromBatch","type":"uint256"}],"name":"setTokenNextToMintInBatch","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":"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenNextToMintInBatch","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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405260066080819052652627aa10191960d11b60a090815262000029916004919062000c0e565b50604080518082019091526005808252642627aa191960d91b602090920191825262000056918162000c0e565b506040805180820190915260038082526210d25160ea1b6020909201918252620000839160069162000c0e565b5060405180606001604052806036815260200162006d06603691398051620000b49160079160209091019062000c0e565b506115b3600855662aa1efb94e00006009556014600a556014600b5560405180608001604052806045815260200162006d3c6045913980516200010091600c9160209091019062000c0e565b50600d8054600160ff199182168117909255600f8054821690556011919091556019805490911690553480156200013657600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806020016040528060008152506200016f81620004f960201b60201c565b506200017b3362000512565b6daaeb6d7670e522a718067333cd4e3b15620002c05780156200020e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001ef57600080fd5b505af115801562000204573d6000803e3d6000fd5b50505050620002c0565b6001600160a01b038216156200025f5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001d4565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002a657600080fd5b505af1158015620002bb573d6000803e3d6000fd5b505050505b5050601f8054600181810190925560377fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d80790910155602180549182018155600052600680547f3a6357012c1a3ae0a17d304c9920310382d968ebcc4b1771f41c6b304205b57090920191620003359062000d38565b6200034292919062000c9d565b5060228054600181018255600091825260408051602081019182905283905262000391927f61035b26e3e9eee00e0d72fd1ee8ddca6894550dca6916ea2ac6baa90d11e5109092019162000c0e565b5060017f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818d8190557fb6c61a840592cc84133e4b25bd509abf4659307c57b160799b38490a5aa48f2c805460ff1990811683179091557ff3794665d3af9b6fb6f858b70185898134f96768ef31c325d52e04f0ac195a4d805490911682179055601360209081527f4155c2f711f2cdd34f8262ab8fb9b7020a700fe7b6948222152f7670d1fdf34d82905580548083018255600082815260027fc97bfaf2f8ee708c303a06d134f5ecd8389ae0432af62dc132a24118292866bb9092019190915560408051928301905281526200048b913391819062000564565b600e6020527fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c805460ff191660019081179091556009546023805492830181556000527fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f42309091015562000fb7565b80516200050e90600290602084019062000c0e565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038416620005ca5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b336000620005d885620006a8565b90506000620005e785620006a8565b9050620005fa83600089858589620006f6565b6000868152602081815260408083206001600160a01b038b168452909152812080548792906200062c90849062000d8a565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46200068e8360008985858962000871565b6200069f836000898989896200092a565b50505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110620006e557620006e562000da5565b602090810291909101015292915050565b6200071186868686868662000af660201b620032d31760201c565b6001600160a01b0386166000908152602d602052604090205460ff161580156200075457506001600160a01b0385166000908152602d602052604090205460ff16155b80156200077a57506001600160a01b0384166000908152602d602052604090205460ff16155b620007dc5760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f722c2046726f6d2c206f7220546f204164647265737320697360448201526a08149154d5149250d5115160aa1b6064820152608401620005c1565b60005b83518110156200069f57602c600085838151811062000802576200080262000da5565b60209081029190910181015182528101919091526040016000205460ff16156200085c5760405162461bcd60e51b815260206004820152600a602482015269119b1859d9d95908125160b21b6044820152606401620005c1565b80620008688162000dbb565b915050620007df565b6200088c86868686868662000af660201b620032d31760201c565b60005b83518110156200069f57620008c6848281518110620008b257620008b262000da5565b602002602001015162000afe60201b60201c565b1562000915576001602c6000868481518110620008e757620008e762000da5565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80620009218162000dbb565b9150506200088f565b62000949846001600160a01b031662000bff60201b620032db1760201c565b1562000af65760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619062000985908990899088908890889060040162000e27565b6020604051808303816000875af1925050508015620009c3575060408051601f3d908101601f19168201909252620009c09181019062000e6e565b60015b62000a8357620009d262000ea1565b806308c379a00362000a125750620009e962000ef9565b80620009f6575062000a14565b8060405162461bcd60e51b8152600401620005c1919062000f88565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401620005c1565b6001600160e01b0319811663f23a6e6160e01b146200069f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401620005c1565b505050505050565b60008060005b601f5481101562000be657801580159062000b3f5750601f818154811062000b305762000b3062000da5565b90600052602060002001548411155b801562000b775750601f62000b5660018362000f9d565b8154811062000b695762000b6962000da5565b906000526020600020015484115b1562000b865780915062000be6565b8015801562000b955750600084115b801562000bc25750601f818154811062000bb35762000bb362000da5565b90600052602060002001548411155b1562000bd15780915062000be6565b8062000bdd8162000dbb565b91505062000b04565b506000908152602b602052604090205460ff1692915050565b6001600160a01b03163b151590565b82805462000c1c9062000d38565b90600052602060002090601f01602090048101928262000c40576000855562000c8b565b82601f1062000c5b57805160ff191683800117855562000c8b565b8280016001018555821562000c8b579182015b8281111562000c8b57825182559160200191906001019062000c6e565b5062000c9992915062000d21565b5090565b82805462000cab9062000d38565b90600052602060002090601f01602090048101928262000ccf576000855562000c8b565b82601f1062000ce2578054855562000c8b565b8280016001018555821562000c8b57600052602060002091601f016020900482015b8281111562000c8b57825482559160010191906001019062000d04565b5b8082111562000c99576000815560010162000d22565b600181811c9082168062000d4d57607f821691505b60208210810362000d6e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000da05762000da062000d74565b500190565b634e487b7160e01b600052603260045260246000fd5b60006001820162000dd05762000dd062000d74565b5060010190565b6000815180845260005b8181101562000dff5760208185018101518683018201520162000de1565b8181111562000e12576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009062000e639083018462000dd7565b979650505050505050565b60006020828403121562000e8157600080fd5b81516001600160e01b03198116811462000e9a57600080fd5b9392505050565b600060033d111562000ebb5760046000803e5060005160e01c5b90565b601f8201601f191681016001600160401b038111828210171562000ef257634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d101562000f085790565b6040516003193d81016004833e81513d6001600160401b03808311602484018310171562000f3857505050505090565b828501915081518181111562000f515750505050505090565b843d870101602082850101111562000f6c5750505050505090565b62000f7d6020828601018762000ebe565b509095945050505050565b60208152600062000e9a602083018462000dd7565b60008282101562000fb25762000fb262000d74565b500390565b615d3f8062000fc76000396000f3fe6080604052600436106104a25760003560e01c80638da5cb5b11610260578063c791d96811610144578063dde6c47f116100c1578063ed00e65311610085578063ed00e65314610f51578063f0610e2714610f66578063f242432a14610f86578063f2fde38b14610fa6578063f5ce5dcb14610fc6578063fc2f0fd814610fdc57600080fd5b8063dde6c47f14610e93578063e30a2e0514610eb3578063e5211d8b14610ed3578063e8a3d48514610ef3578063e985e9c514610f0857600080fd5b8063d3c8efdb11610108578063d3c8efdb14610de1578063d6199f8d14610e01578063d85ed0f414610e21578063d8d9d6bc14610e36578063dc8519c114610e6657600080fd5b8063c791d96814610d3b578063c848d6c714610d6b578063ca397ed914610d81578063cc0142c514610da1578063d261b6e414610dc157600080fd5b8063a684c471116101dd578063b65f732d116101a1578063b65f732d14610c6e578063b82741a014610c81578063bb1e052814610ca1578063bd85b03914610cce578063bff67e9b14610cfb578063c6b1fe5814610d1b57600080fd5b8063a684c47114610bbe578063a6d23e1014610bde578063abc7c86614610bfe578063accc1d5e14610c2e578063b390c0ab14610c4e57600080fd5b8063a2b7258511610224578063a2b7258514610b1b578063a370c66814610b3b578063a4c2f65114610b6b578063a5492f4414610b8b578063a647e8ec14610bab57600080fd5b80638da5cb5b14610a8857806394357c2514610aa657806395d89b4114610ac657806399e5a1f614610adb578063a22cb46514610afb57600080fd5b80634cafdb6d116103875780636c30a22f116103045780637ce8fab0116102c85780637ce8fab0146109c15780637d929b4f146109e15780637f00c7a614610a0157806383ca4b6f14610a2157806384c6ef2f14610a41578063869f759414610a5b57600080fd5b80636c30a22f14610937578063715018a614610957578063743efaf01461096c5780637696e0881461098c5780637724bad8146109ac57600080fd5b80635c975abb1161034b5780635c975abb146108a7578063644e54ab146108c157806366f3fd64146108d757806368fd7eee146108f75780636be8730f1461091757600080fd5b80634cafdb6d146107f45780634e1273f41461080a5780634f558e791461083757806352addee5146108675780635c78222f1461088757600080fd5b806324b978bc1161042057806330182278116103e4578063301822781461074657806333ea51a81461075c5780633ccfd60b1461077c5780633e4a4e771461078457806341c63b85146107a4578063446f0617146107c457600080fd5b806324b978bc146106a35780632a9abcb9146106c35780632eb2c2d6146106e35780632ed6cd46146107035780632fad845c1461073057600080fd5b806314bfd6d01161046757806314bfd6d0146105f5578063165da72a1461062d57806320ed26e61461064d57806321d0a2a01461066d578063239c70ae1461068d57600080fd5b8062fdd58e1461053d57806301ffc9a71461057057806306fdde03146105a057806309f3e20b146105c25780630e89341c146105d557600080fd5b36610538576028546001600160a01b03166000036104fc5760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064015b60405180910390fd5b60285460405134916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610536573d6000803e3d6000fd5b005b600080fd5b34801561054957600080fd5b5061055d610558366004614c20565b610ffc565b6040519081526020015b60405180910390f35b34801561057c57600080fd5b5061059061058b366004614c60565b611090565b6040519015158152602001610567565b3480156105ac57600080fd5b506105b56110e0565b6040516105679190614cdc565b6105366105d0366004614dc5565b61116e565b3480156105e157600080fd5b506105b56105f0366004614e40565b6114a4565b34801561060157600080fd5b50610615610610366004614e40565b61187d565b6040516001600160a01b039091168152602001610567565b34801561063957600080fd5b50610590610648366004614e40565b6118a7565b34801561065957600080fd5b50610536610668366004614e67565b611991565b34801561067957600080fd5b506105b5610688366004614e40565b6119b9565b34801561069957600080fd5b5061055d600a5481565b3480156106af57600080fd5b506105366106be366004614f0a565b6119d2565b3480156106cf57600080fd5b506105366106de366004614f75565b611ca9565b3480156106ef57600080fd5b506105366106fe366004614fcf565b611da3565b34801561070f57600080fd5b5061055d61071e366004614e40565b60176020526000908152604090205481565b34801561073c57600080fd5b5061055d601b5481565b34801561075257600080fd5b5061055d60105481565b34801561076857600080fd5b50610536610777366004615078565b611e59565b610536611e83565b34801561079057600080fd5b5061053661079f366004615093565b611f3e565b3480156107b057600080fd5b506105366107bf3660046150ee565b61212c565b3480156107d057600080fd5b506105906107df366004614e40565b602b6020526000908152604090205460ff1681565b34801561080057600080fd5b5061055d60085481565b34801561081657600080fd5b5061082a610825366004615146565b612275565b604051610567919061524b565b34801561084357600080fd5b50610590610852366004614e40565b60009081526018602052604090205460ff1690565b34801561087357600080fd5b5061055d610882366004614e40565b61239e565b34801561089357600080fd5b506105366108a236600461525e565b6123bf565b3480156108b357600080fd5b50600d546105909060ff1681565b3480156108cd57600080fd5b5061055d600b5481565b3480156108e357600080fd5b506105366108f236600461527b565b6123da565b34801561090357600080fd5b50610590610912366004615299565b612403565b34801561092357600080fd5b506105366109323660046152bb565b6124bd565b34801561094357600080fd5b506105366109523660046152ee565b61262a565b34801561096357600080fd5b5061053661264f565b34801561097857600080fd5b50610536610987366004615299565b612663565b34801561099857600080fd5b506105366109a7366004615299565b61268f565b3480156109b857600080fd5b506105b56126ab565b3480156109cd57600080fd5b5061055d6109dc366004614e40565b6126ce565b3480156109ed57600080fd5b5061055d6109fc366004615299565b6126de565b348015610a0d57600080fd5b50610536610a1c366004614e40565b61270f565b348015610a2d57600080fd5b50610536610a3c36600461531a565b61271c565b348015610a4d57600080fd5b506019546105909060ff1681565b348015610a6757600080fd5b5061055d610a76366004614e40565b60156020526000908152604090205481565b348015610a9457600080fd5b506003546001600160a01b0316610615565b348015610ab257600080fd5b5061055d610ac1366004615299565b6127a6565b348015610ad257600080fd5b506105b56127c2565b348015610ae757600080fd5b50610536610af636600461527b565b6127cf565b348015610b0757600080fd5b50610536610b16366004615366565b6127f6565b348015610b2757600080fd5b5061055d610b36366004614e40565b612801565b348015610b4757600080fd5b50610590610b56366004614e40565b602c6020526000908152604090205460ff1681565b348015610b7757600080fd5b50610536610b86366004615078565b612811565b348015610b9757600080fd5b50610536610ba6366004615366565b612872565b610536610bb9366004615392565b6128dc565b348015610bca57600080fd5b50602954610615906001600160a01b031681565b348015610bea57600080fd5b50602854610615906001600160a01b031681565b348015610c0a57600080fd5b50610590610c19366004614e40565b60266020526000908152604090205460ff1681565b348015610c3a57600080fd5b50610536610c493660046153cb565b612a43565b348015610c5a57600080fd5b50610536610c69366004615299565b612aa2565b610536610c7c366004615299565b612ad1565b348015610c8d57600080fd5b50610536610c9c366004614f75565b612c72565b348015610cad57600080fd5b5061055d610cbc366004614e40565b60256020526000908152604090205481565b348015610cda57600080fd5b5061055d610ce9366004614e40565b60009081526013602052604090205490565b348015610d0757600080fd5b506105b5610d16366004614e40565b612cc5565b348015610d2757600080fd5b5061055d610d36366004614e40565b612cf0565b348015610d4757600080fd5b50610590610d56366004614e40565b60276020526000908152604090205460ff1681565b348015610d7757600080fd5b5061055d60115481565b348015610d8d57600080fd5b5061055d610d9c366004614e40565b612df2565b348015610dad57600080fd5b50610536610dbc366004614dc5565b612e32565b348015610dcd57600080fd5b50610536610ddc366004614e40565b612f0d565b348015610ded57600080fd5b50610536610dfc366004615299565b612f1a565b348015610e0d57600080fd5b506105b5610e1c366004614e40565b612f2d565b348015610e2d57600080fd5b506105b5612f3d565b348015610e4257600080fd5b50610590610e51366004615078565b602d6020526000908152604090205460ff1681565b348015610e7257600080fd5b5061055d610e81366004614e40565b60246020526000908152604090205481565b348015610e9f57600080fd5b50610536610eae36600461527b565b612f4c565b348015610ebf57600080fd5b50610536610ece36600461543f565b612f73565b348015610edf57600080fd5b50610536610eee366004614e67565b612f8e565b348015610eff57600080fd5b506105b5612fed565b348015610f1457600080fd5b50610590610f2336600461547b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b348015610f5d57600080fd5b5061059061307f565b348015610f7257600080fd5b50610536610f81366004615392565b61312c565b348015610f9257600080fd5b50610536610fa13660046154ae565b613163565b348015610fb257600080fd5b50610536610fc1366004615078565b613219565b348015610fd257600080fd5b5061055d601c5481565b348015610fe857600080fd5b50610536610ff7366004615512565b61328f565b60006001600160a01b0383166110675760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084016104f3565b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806110c157506001600160e01b031982166303a24d0760e21b145b8061108a57506301ffc9a760e01b6001600160e01b031983161461108a565b600480546110ed90615549565b80601f016020809104026020016040519081016040528092919081815260200182805461111990615549565b80156111665780601f1061113b57610100808354040283529160200191611166565b820191906000526020600020905b81548152906001019060200180831161114957829003601f168201915b505050505081565b6000818152600e602052604090205460ff161561119d5760405162461bcd60e51b81526004016104f390615583565b600d5460ff16156111c05760405162461bcd60e51b81526004016104f3906155ba565b60008181526026602052604090205460ff16156111ef5760405162461bcd60e51b81526004016104f3906155da565b600a54835111156112315760405162461bcd60e51b815260206004820152600c60248201526b546f6f204d616e792049447360a01b60448201526064016104f3565b81518351146112825760405162461bcd60e51b815260206004820152601960248201527f49447320616e6420416d6f756e7473204e6f7420457175616c0000000000000060448201526064016104f3565b61128c83836132ea565b6112cc5760405162461bcd60e51b8152602060048201526011602482015270086829c9c9ea8409a929ca8408482a8869607b1b60448201526064016104f3565b6000805b8351811015611381576112fc8582815181106112ee576112ee615600565b602002602001015184612403565b6113485760405162461bcd60e51b815260206004820152601b60248201527f494473204d7573742042652046726f6d2053616d65204261746368000000000060448201526064016104f3565b83818151811061135a5761135a615600565b60200260200101518261136d919061562c565b91508061137981615644565b9150506112d0565b50600b548111156113d45760405162461bcd60e51b815260206004820152601b60248201527f426174636820416d6f756e74204c696d6974204578636565646564000000000060448201526064016104f3565b6113de818361336c565b60005b84518110156114815760008582815181106113fe576113fe615600565b602002602001015190506114128185613420565b84828151811061142457611424615600565b60200260200101516013600088858151811061144257611442615600565b602002602001015181526020019081526020016000206000828254611467919061562c565b90915550829150611479905081615644565b9150506113e1565b5061149d8585856040518060200160405280600081525061359a565b5050505050565b606060006001905060008060066040516020016114c191906156f6565b6040516020818303038152906040529050600060076040516020016114e69190615723565b60408051601f1981840301815291815260008881526018602052205490915060ff16156118745760008611801561151f57506008548611155b15611874576040805160008082526020808301808552835190208a835260129091529083902090926115519201615753565b604051602081830303815290604052805190602001201461160e576000868152601260205260409020805461158590615549565b80601f01602080910402602001604051908101604052809291908181526020018280546115b190615549565b80156115fe5780601f106115d3576101008083540402835291602001916115fe565b820191906000526020600020905b8154815290600101906020018083116115e157829003601f168201915b5050505050945050505050919050565b60005b601f5481101561177a57601f818154811061162e5761162e615600565b9060005260206000200154871161176a5760408051600081526020810191829052519020602180548390811061166657611666615600565b906000526020600020016040516020016116809190615753565b60405160208183030381529060405280519060200120146116e157602181815481106116ae576116ae615600565b906000526020600020016040516020016116c891906156f6565b604051602081830303815290604052925080935061177a565b60408051600081526020810191829052519020602280548390811061170857611708615600565b906000526020600020016040516020016117229190615753565b604051602081830303815290604052805190602001201461176a576022818154811061175057611750615600565b906000526020600020016040516020016116c8919061575f565b61177381615644565b9050611611565b50601f805461178b9060019061576b565b8154811061179b5761179b615600565b90600052602060002001548611156117b257600093505b8380156117cd575060008381526027602052604090205460ff165b15611874576040805160008082526020808301808552835190208a8352601a9091529083902090926117ff9201615753565b604051602081830303815290604052805190602001200361184f578161182487613703565b604051602001611835929190615782565b604051602081830303815290604052945050505050919050565b81601a60008881526020019081526020016000206040516020016118359291906157c1565b95945050505050565b602a818154811061188d57600080fd5b6000918252602090912001546001600160a01b0316905081565b60008060005b601f548110156119785780158015906118e35750601f81815481106118d4576118d4615600565b90600052602060002001548411155b80156119155750601f6118f760018361576b565b8154811061190757611907615600565b906000526020600020015484115b1561192257809150611978565b801580156119305750600084115b80156119595750601f818154811061194a5761194a615600565b90600052602060002001548411155b1561196657809150611978565b8061197081615644565b9150506118ad565b506000908152602b602052604090205460ff1692915050565b611999613795565b600091825260276020526040909120805460ff1916911515919091179055565b601a60205260009081526040902080546110ed90615549565b6119da613795565b601f80546119ea9060019061576b565b815481106119fa576119fa615600565b90600052602060002001548411611a795760405162461bcd60e51b815260206004820152603760248201527f4c617374204261746368204944206d757374206265206772656174657220746860448201527f616e2070726576696f757320626174636820746f74616c00000000000000000060648201526084016104f3565b601f805460209190611a8d9060019061576b565b81548110611a9d57611a9d615600565b90600052602060002001546001611ab4919061562c565b815460018101835560009283526020909220909101558115611b9357601f805460018181019092557fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d807018590556021805491820181556000528351611b40917f3a6357012c1a3ae0a17d304c9920310382d968ebcc4b1771f41c6b304205b57001906020860190614ac9565b50602280546001810182556000918252604080516020810191829052839052611b8d927f61035b26e3e9eee00e0d72fd1ee8ddca6894550dca6916ea2ac6baa90d11e51090920191614ac9565b50611c52565b601f805460018181019092557fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d807018590556022805491820181556000528351611c03917f61035b26e3e9eee00e0d72fd1ee8ddca6894550dca6916ea2ac6baa90d11e51001906020860190614ac9565b50602180546001810182556000918252604080516020810191829052839052611c50927f3a6357012c1a3ae0a17d304c9920310382d968ebcc4b1771f41c6b304205b57090920191614ac9565b505b600954602380546001810182556000919091527fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f423001558015611ca357601f54611ca390600190610eae90829061576b565b50505050565b611cb1613795565b8015611d4557600082611cc385613703565b604051602001611cd49291906157f6565b60408051601f198184030181529181526000868152601260209081529190208251929350611d06929091840190614ac9565b50837f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b82604051611d379190614cdc565b60405180910390a250505050565b60008381526012602090815260409091208351611d6492850190614ac9565b50827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83604051611d959190614cdc565b60405180910390a25b505050565b6daaeb6d7670e522a718067333cd4e3b15611e4c57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015611e09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2d9190615857565b611e4c57604051633b79c77360e21b81523360048201526024016104f3565b61149d85858585856137d8565b611e6161381d565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b611e8b613795565b6028546001600160a01b0316600003611edb5760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064016104f3565b6028546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611f28576040519150601f19603f3d011682016040523d82523d6000602084013e611f2d565b606091505b5050905080611f3b57600080fd5b50565b611f46613795565b80156120555760008360018551611f5d919061576b565b81518110611f6d57611f6d615600565b6020026020010151905060005b601f5481101561149d57601f8181548110611f9757611f97615600565b90600052602060002001548203612045578360018551611fb7919061576b565b81518110611fc757611fc7615600565b60209081029190910181015160008481526017909252604082205584518590611ff29060019061576b565b8151811061200257612002615600565b6020026020010151111561202e576000828152601660205260409020805460ff19166001179055612045565b6000828152601660205260409020805460ff191690555b61204e81615644565b9050611f7a565b60005b8351811015611ca357600084828151811061207557612075615600565b6020026020010151905083828151811061209157612091615600565b60200260200101516015600083815260200190815260200160002060008282546120bb919061562c565b9250508190555060008483815181106120d6576120d6615600565b60200260200101511115612102576000818152601460205260409020805460ff19166001179055612119565b6000818152601460205260409020805460ff191690555b508061212481615644565b915050612058565b612134613795565b81156122565760005b601f548110156122365783601f828154811061215b5761215b615600565b9060005260206000200154031561223657601f805461217c9060019061576b565b8154811061218c5761218c615600565b9060005260206000200154601f82815481106121aa576121aa615600565b90600052602060002001541480156121df5750601f81815481106121d0576121d0615600565b90600052602060002001548414155b156122245760405162461bcd60e51b81526020600482015260156024820152740becadcc8928840d2e640dcdee840c24084c2e8c6d605b1b60448201526064016104f3565b8061222e81615644565b91505061213d565b506000838152601e602090815260409091208251611ca392840190614b49565b6000838152601d602090815260409091208251611ca392840190614b49565b606081518351146122da5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016104f3565b600083516001600160401b038111156122f5576122f5614cef565b60405190808252806020026020018201604052801561231e578160200160208202803683370190505b50905060005b84518110156123965761236985828151811061234257612342615600565b602002602001015185838151811061235c5761235c615600565b6020026020010151610ffc565b82828151811061237b5761237b615600565b602090810291909101015261238f81615644565b9050612324565b509392505050565b601f81815481106123ae57600080fd5b600091825260209091200154905081565b6123c7613795565b6019805460ff1916911515919091179055565b6123e2613795565b600f805460ff191683158015919091179091556123ff5760108190555b5050565b600081158015906124315750601f828154811061242257612422615600565b90600052602060002001548311155b80156124635750601f61244560018461576b565b8154811061245557612455615600565b906000526020600020015483115b156124705750600161108a565b8115801561247e5750600083115b80156124a75750601f828154811061249857612498615600565b90600052602060002001548311155b156124b45750600161108a565b50600092915050565b6124c5613795565b6000818152600e602052604090205460ff1661251a5760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016104f3565b612550601f828154811061253057612530615600565b906000526020600020015460009081526018602052604090205460ff1690565b156125885760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016104f3565b601f818154811061259b5761259b615600565b90600052602060002001546001602083815481106125bb576125bb615600565b9060005260206000200154846125d1919061562c565b6125db919061576b565b111561261f5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016104f3565b611d9e838383613877565b612632613795565b600090815260246020908152604080832093909355602590522055565b61265761381d565b61266160006139f4565b565b61266b613795565b816020828154811061267f5761267f615600565b6000918252602090912001555050565b612697613795565b816023828154811061267f5761267f615600565b60606000604051806060016040528060288152602001615ce26028913992915050565b602081815481106123ae57600080fd5b601e60205281600052604060002081815481106126fa57600080fd5b90600052602060002001600091509150505481565b612717613795565b600a55565b60005b825181101561279a57600083828151811061273c5761273c615600565b6020026020010151905082828151811061275857612758615600565b6020026020010151601360008381526020019081526020016000206000828254612782919061576b565b909155506127939150829050615644565b905061271f565b506123ff338383613a46565b601d60205281600052604060002081815481106126fa57600080fd5b600580546110ed90615549565b6127d7613795565b6000908152602b60205260409020805460ff1916911515919091179055565b6123ff338383613bec565b602381815481106123ae57600080fd5b6003546001600160a01b031633148061283457506029546001600160a01b031633145b6128505760405162461bcd60e51b81526004016104f390615874565b602980546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031633148061289557506029546001600160a01b031633145b6128b15760405162461bcd60e51b81526004016104f390615874565b6001600160a01b03919091166000908152602d60205260409020805460ff1916911515919091179055565b6000818152600e602052604090205460ff161561290b5760405162461bcd60e51b81526004016104f390615583565b6129158382612403565b6129595760405162461bcd60e51b815260206004820152601560248201527409288409aeae6e84084ca408ce4deda4084c2e8c6d605b1b60448201526064016104f3565b600d5460ff161561297c5760405162461bcd60e51b81526004016104f3906155ba565b60008181526026602052604090205460ff16156129ab5760405162461bcd60e51b81526004016104f3906155da565b6129b58383613ccc565b6129ef5760405162461bcd60e51b815260206004820152600b60248201526a10d0539393d5081352539560aa1b60448201526064016104f3565b6129f9828261336c565b612a038382613420565b60008381526013602052604081208054849290612a2190849061562c565b92505081905550611ca384848460405180602001604052806000815250613fb4565b612a4b613795565b6003546001600160a01b0316331480612a6e57506029546001600160a01b031633145b612a8a5760405162461bcd60e51b81526004016104f390615874565b612a96602a6000614b83565b611d9e602a8383614ba1565b60008281526013602052604081208054839290612ac090849061576b565b909155506123ff90503383836140ac565b6000818152600e602052604090205460ff16612b265760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016104f3565b600d5460ff1615612b495760405162461bcd60e51b81526004016104f3906155ba565b60008181526026602052604090205460ff1615612b785760405162461bcd60e51b81526004016104f3906155da565b612b8e601f828154811061253057612530615600565b15612bc65760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016104f3565b601f8181548110612bd957612bd9615600565b9060005260206000200154600160208381548110612bf957612bf9615600565b906000526020600020015484612c0f919061562c565b612c19919061576b565b1115612c5d5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016104f3565b612c67828261336c565b6123ff338383613877565b612c7a613795565b8015612cb1578160218481548110612c9457612c94615600565b906000526020600020019080519060200190611ca3929190614ac9565b8160228481548110612c9457612c94615600565b60228181548110612cd557600080fd5b9060005260206000200160009150905080546110ed90615549565b60008181526015602052604081205415612d17575060009081526015602052604090205490565b60005b601f548110156124b4578215801590612d505750601f8181548110612d4157612d41615600565b90600052602060002001548311155b8015612d825750601f612d6460018361576b565b81548110612d7457612d74615600565b906000526020600020015483115b15612de0576000601f8281548110612d9c57612d9c615600565b906000526020600020015490506017600082815260200190815260200160002054600014612dda576000908152601760205260409020549392505050565b506124b4565b80612dea81615644565b915050612d1a565b6000612dfc61307f565b612e255760238281548110612e1357612e13615600565b90600052602060002001549050919050565b506000919050565b919050565b612e3a613795565b6000818152600e602052604090205460ff1615612e695760405162461bcd60e51b81526004016104f390615583565b60005b8351811015612ef1576000848281518110612e8957612e89615600565b60200260200101519050612e9d8184613420565b838281518110612eaf57612eaf615600565b6020026020010151601360008381526020019081526020016000206000828254612ed9919061562c565b90915550612eea9150829050615644565b9050612e6c565b50611ca38484846040518060200160405280600081525061359a565b612f15613795565b600855565b612f22613795565b601b91909155601c55565b60218181548110612cd557600080fd5b6060612f476141ce565b905090565b612f54613795565b6000908152600e60205260409020805460ff1916911515919091179055565b612f7b613795565b80516123ff90600c906020840190614ac9565b6003546001600160a01b0316331480612fb157506029546001600160a01b031633145b612fcd5760405162461bcd60e51b81526004016104f390615874565b6000918252602c6020526040909120805460ff1916911515919091179055565b6060600c8054612ffc90615549565b80601f016020809104026020016040519081016040528092919081815260200182805461302890615549565b80156130755780601f1061304a57610100808354040283529160200191613075565b820191906000526020600020905b81548152906001019060200180831161305857829003601f168201915b5050505050905090565b60006130936003546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806130bc57506029546001600160a01b031633145b156130c75750600190565b602a54156131265760005b602a5481101561312457602a81815481106130ef576130ef615600565b6000918252602090912001546001600160a01b0316330361311257600191505090565b8061311c81615644565b9150506130d2565b505b50600090565b613134613795565b6000818152600e602052604090205460ff16156129f95760405162461bcd60e51b81526004016104f390615583565b6daaeb6d7670e522a718067333cd4e3b1561320c57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af11580156131c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ed9190615857565b61320c57604051633b79c77360e21b81523360048201526024016104f3565b61149d8585858585614277565b61322161381d565b6001600160a01b0381166132865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104f3565b611f3b816139f4565b613297613795565b82156132b257600d805482151560ff19909116179055505050565b6000828152602660205260409020805482151560ff19909116179055505050565b505050505050565b6001600160a01b03163b151590565b6000805b835181101561336257600084828151811061330b5761330b615600565b60200260200101519050600084838151811061332957613329615600565b6020026020010151905061333d8282613ccc565b61334d576000935050505061108a565b5050808061335a90615644565b9150506132ee565b5060019392505050565b61337461307f565b6123ff57600f5460ff16156133c9576010544210156133c95760405162461bcd60e51b8152602060048201526011602482015270139bdd08135a5b9d0811185d194816595d607a1b60448201526064016104f3565b6133d281612df2565b6133dc90836158ab565b3410156123ff5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016104f3565b60008281526018602052604090205460ff166134a8576000828152601860209081526040808320805460ff19908116600117909155602c835281842080549091169055838352600e90915290205460ff16156134a857600082815260156020908152604080832060019081905560148352818420805460ff1916821790556013909252909120555b60195460ff16156134e0576134bb6141ce565b6000838152601a6020908152604090912082516134de9391929190910190614ac9565b505b600081815260256020526040902054602380548390811061350357613503615600565b90600052602060002001541415801561354c575060246000828152602001908152602001600020546020828154811061353e5761353e615600565b906000526020600020015410155b1561358157600081815260256020526040902054602380548390811061357457613574615600565b6000918252602090912001555b6011805490600061359183615644565b91905055505050565b6001600160a01b0384166135c05760405162461bcd60e51b81526004016104f3906158ca565b81518351146135e15760405162461bcd60e51b81526004016104f39061590b565b336135f1816000878787876142bc565b60005b845181101561368c5783818151811061360f5761360f615600565b602002602001015160008087848151811061362c5761362c615600565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254613674919061562c565b9091555081905061368481615644565b9150506135f4565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516136dd929190615953565b60405180910390a46136f48160008787878761440f565b61149d8160008787878761449a565b60606000613710836145f5565b60010190506000816001600160401b0381111561372f5761372f614cef565b6040519080825280601f01601f191660200182016040528015613759576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461376357509392505050565b61379d61307f565b6126615760405162461bcd60e51b815260206004820152600c60248201526b2737ba1030b71030b236b4b760a11b60448201526064016104f3565b6001600160a01b0385163314806137f457506137f48533610f23565b6138105760405162461bcd60e51b81526004016104f390615978565b61149d85858585856146cd565b6003546001600160a01b031633146126615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104f3565b6000826001600160401b0381111561389157613891614cef565b6040519080825280602002602001820160405280156138ba578160200160208202803683370190505b5090506000836001600160401b038111156138d7576138d7614cef565b604051908082528060200260200182016040528015613900578160200160208202803683370190505b50905060005b848110156139d85760006020858154811061392357613923615600565b9060005260206000200154905061393a8186613420565b6020858154811061394d5761394d615600565b906000526020600020015484838151811061396a5761396a615600565b602002602001018181525050600183838151811061398a5761398a615600565b602002602001018181525050602085815481106139a9576139a9615600565b600091825260208220018054916139bf83615644565b91905055505080806139d090615644565b915050613906565b5061149d8583836040518060200160405280600081525061359a565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316613a6c5760405162461bcd60e51b81526004016104f3906159c6565b8051825114613a8d5760405162461bcd60e51b81526004016104f39061590b565b6000339050613ab0818560008686604051806020016040528060008152506142bc565b60005b8351811015613b75576000848281518110613ad057613ad0615600565b602002602001015190506000848381518110613aee57613aee615600565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015613b3e5760405162461bcd60e51b81526004016104f390615a09565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580613b6d81615644565b915050613ab3565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051613bc6929190615953565b60405180910390a4611ca38185600086866040518060200160405280600081525061440f565b816001600160a01b0316836001600160a01b031603613c5f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016104f3565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008281526014602052604081205460ff1615613d4b57600082118015613cf55750600a548211155b8015613d015750600083115b8015613d0f57506008548311155b8015613d3f5750600083815260156020908152604080832054601390925290912054613d3c90849061562c565b11155b613d825750600061108a565b600082118015613d5d5750600a548211155b8015613d695750600083115b8015613d3f5750600854831115613d825750600061108a565b6000838152601d602052604090205415613e085760005b6000848152601d6020526040902054811015613e06576000848152601d602052604081208054613de591339185908110613dd557613dd5615600565b9060005260206000200154610ffc565b11613df457600091505061108a565b80613dfe81615644565b915050613d99565b505b60005b601f54811015613362578015801590613e415750601f8181548110613e3257613e32615600565b90600052602060002001548411155b8015613e735750601f613e5560018361576b565b81548110613e6557613e65615600565b906000526020600020015484115b15613fa2576000601f8281548110613e8d57613e8d615600565b6000918252602080832090910154808352601e90915260409091205490915015613f155760005b6000828152601e6020526040902054811015613f13576000828152601e602052604081208054613ef091339185908110613dd557613dd5615600565b11613f01576000935050505061108a565b80613f0b81615644565b915050613eb4565b505b60008181526016602052604090205460ff1615613f9a57600084118015613f3e5750600a548411155b8015613f4a5750600085115b8015613f5857506008548511155b8015613f8b5750600081815260176020908152604080832054888452601390925290912054613f8890869061562c565b11155b613fa05760009250505061108a565b50613fa2565b505b80613fac81615644565b915050613e0b565b6001600160a01b038416613fda5760405162461bcd60e51b81526004016104f3906158ca565b336000613fe68561487d565b90506000613ff38561487d565b9050614004836000898585896142bc565b6000868152602081815260408083206001600160a01b038b1684529091528120805487929061403490849061562c565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46140948360008985858961440f565b6140a3836000898989896148c8565b50505050505050565b6001600160a01b0383166140d25760405162461bcd60e51b81526004016104f3906159c6565b3360006140de8461487d565b905060006140eb8461487d565b905061410b838760008585604051806020016040528060008152506142bc565b6000858152602081815260408083206001600160a01b038a1684529091529020548481101561414c5760405162461bcd60e51b81526004016104f390615a09565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46140a38488600086866040518060200160405280600081525061440f565b60606000601c54424433601154601a600060016011546141ee919061576b565b8152602001908152602001600020604051602001614210959493929190615a4d565b6040516020818303038152906040528051906020012060001c6142339190615a8e565b9050601b548110156142655761425f61424d82600161562c565b601c5461425a919061576b565b613703565b91505090565b61425f61425a82600161562c565b5090565b6001600160a01b03851633148061429357506142938533610f23565b6142af5760405162461bcd60e51b81526004016104f390615978565b61149d8585858585614983565b6001600160a01b0386166000908152602d602052604090205460ff161580156142fe57506001600160a01b0385166000908152602d602052604090205460ff16155b801561432357506001600160a01b0384166000908152602d602052604090205460ff16155b6143835760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f722c2046726f6d2c206f7220546f204164647265737320697360448201526a08149154d5149250d5115160aa1b60648201526084016104f3565b60005b83518110156140a357602c60008583815181106143a5576143a5615600565b60209081029190910181015182528101919091526040016000205460ff16156143fd5760405162461bcd60e51b815260206004820152600a602482015269119b1859d9d95908125160b21b60448201526064016104f3565b8061440781615644565b915050614386565b60005b83518110156140a35761443d84828151811061443057614430615600565b60200260200101516118a7565b15614488576001602c600086848151811061445a5761445a615600565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8061449281615644565b915050614412565b6001600160a01b0384163b156132d35760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906144de9089908990889088908890600401615ab0565b6020604051808303816000875af1925050508015614519575060408051601f3d908101601f1916820190925261451691810190615b0e565b60015b6145c557614525615b2b565b806308c379a00361455e5750614539615b47565b806145445750614560565b8060405162461bcd60e51b81526004016104f39190614cdc565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016104f3565b6001600160e01b0319811663bc197c8160e01b146140a35760405162461bcd60e51b81526004016104f390615bd0565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106146345772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310614660576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061467e57662386f26fc10000830492506010015b6305f5e1008310614696576305f5e100830492506008015b61271083106146aa57612710830492506004015b606483106146bc576064830492506002015b600a831061108a5760010192915050565b81518351146146ee5760405162461bcd60e51b81526004016104f39061590b565b6001600160a01b0384166147145760405162461bcd60e51b81526004016104f390615c18565b336147238187878787876142bc565b60005b845181101561480957600085828151811061474357614743615600565b60200260200101519050600085838151811061476157614761615600565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156147b15760405162461bcd60e51b81526004016104f390615c5d565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906147ee90849061562c565b925050819055505050508061480290615644565b9050614726565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051614859929190615953565b60405180910390a461486f81878787878761440f565b6132d381878787878761449a565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106148b7576148b7615600565b602090810291909101015292915050565b6001600160a01b0384163b156132d35760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061490c9089908990889088908890600401615ca7565b6020604051808303816000875af1925050508015614947575060408051601f3d908101601f1916820190925261494491810190615b0e565b60015b61495357614525615b2b565b6001600160e01b0319811663f23a6e6160e01b146140a35760405162461bcd60e51b81526004016104f390615bd0565b6001600160a01b0384166149a95760405162461bcd60e51b81526004016104f390615c18565b3360006149b58561487d565b905060006149c28561487d565b90506149d28389898585896142bc565b6000868152602081815260408083206001600160a01b038c16845290915290205485811015614a135760405162461bcd60e51b81526004016104f390615c5d565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290614a5090849061562c565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4614ab0848a8a86868a61440f565b614abe848a8a8a8a8a6148c8565b505050505050505050565b828054614ad590615549565b90600052602060002090601f016020900481019282614af75760008555614b3d565b82601f10614b1057805160ff1916838001178555614b3d565b82800160010185558215614b3d579182015b82811115614b3d578251825591602001919060010190614b22565b50614273929150614bf4565b828054828255906000526020600020908101928215614b3d5791602002820182811115614b3d578251825591602001919060010190614b22565b5080546000825590600052602060002090810190611f3b9190614bf4565b828054828255906000526020600020908101928215614b3d579160200282015b82811115614b3d5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190614bc1565b5b808211156142735760008155600101614bf5565b80356001600160a01b0381168114612e2d57600080fd5b60008060408385031215614c3357600080fd5b614c3c83614c09565b946020939093013593505050565b6001600160e01b031981168114611f3b57600080fd5b600060208284031215614c7257600080fd5b8135614c7d81614c4a565b9392505050565b60005b83811015614c9f578181015183820152602001614c87565b83811115611ca35750506000910152565b60008151808452614cc8816020860160208601614c84565b601f01601f19169290920160200192915050565b602081526000614c7d6020830184614cb0565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715614d2a57614d2a614cef565b6040525050565b60006001600160401b03821115614d4a57614d4a614cef565b5060051b60200190565b600082601f830112614d6557600080fd5b81356020614d7282614d31565b604051614d7f8282614d05565b83815260059390931b8501820192828101915086841115614d9f57600080fd5b8286015b84811015614dba5780358352918301918301614da3565b509695505050505050565b60008060008060808587031215614ddb57600080fd5b614de485614c09565b935060208501356001600160401b0380821115614e0057600080fd5b614e0c88838901614d54565b94506040870135915080821115614e2257600080fd5b50614e2f87828801614d54565b949793965093946060013593505050565b600060208284031215614e5257600080fd5b5035919050565b8015158114611f3b57600080fd5b60008060408385031215614e7a57600080fd5b823591506020830135614e8c81614e59565b809150509250929050565b600082601f830112614ea857600080fd5b81356001600160401b03811115614ec157614ec1614cef565b604051614ed8601f8301601f191660200182614d05565b818152846020838601011115614eed57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215614f2057600080fd5b8435935060208501356001600160401b03811115614f3d57600080fd5b614f4987828801614e97565b9350506040850135614f5a81614e59565b91506060850135614f6a81614e59565b939692955090935050565b600080600060608486031215614f8a57600080fd5b8335925060208401356001600160401b03811115614fa757600080fd5b614fb386828701614e97565b9250506040840135614fc481614e59565b809150509250925092565b600080600080600060a08688031215614fe757600080fd5b614ff086614c09565b9450614ffe60208701614c09565b935060408601356001600160401b038082111561501a57600080fd5b61502689838a01614d54565b9450606088013591508082111561503c57600080fd5b61504889838a01614d54565b9350608088013591508082111561505e57600080fd5b5061506b88828901614e97565b9150509295509295909350565b60006020828403121561508a57600080fd5b614c7d82614c09565b6000806000606084860312156150a857600080fd5b83356001600160401b03808211156150bf57600080fd5b6150cb87838801614d54565b945060208601359150808211156150e157600080fd5b50614fb386828701614d54565b60008060006060848603121561510357600080fd5b83359250602084013561511581614e59565b915060408401356001600160401b0381111561513057600080fd5b61513c86828701614d54565b9150509250925092565b6000806040838503121561515957600080fd5b82356001600160401b038082111561517057600080fd5b818501915085601f83011261518457600080fd5b8135602061519182614d31565b60405161519e8282614d05565b83815260059390931b85018201928281019150898411156151be57600080fd5b948201945b838610156151e3576151d486614c09565b825294820194908201906151c3565b965050860135925050808211156151f957600080fd5b5061520685828601614d54565b9150509250929050565b600081518084526020808501945080840160005b8381101561524057815187529582019590820190600101615224565b509495945050505050565b602081526000614c7d6020830184615210565b60006020828403121561527057600080fd5b8135614c7d81614e59565b6000806040838503121561528e57600080fd5b8235614c3c81614e59565b600080604083850312156152ac57600080fd5b50508035926020909101359150565b6000806000606084860312156152d057600080fd5b6152d984614c09565b95602085013595506040909401359392505050565b60008060006060848603121561530357600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561532d57600080fd5b82356001600160401b038082111561534457600080fd5b61535086838701614d54565b935060208501359150808211156151f957600080fd5b6000806040838503121561537957600080fd5b61538283614c09565b91506020830135614e8c81614e59565b600080600080608085870312156153a857600080fd5b6153b185614c09565b966020860135965060408601359560600135945092505050565b600080602083850312156153de57600080fd5b82356001600160401b03808211156153f557600080fd5b818501915085601f83011261540957600080fd5b81358181111561541857600080fd5b8660208260051b850101111561542d57600080fd5b60209290920196919550909350505050565b60006020828403121561545157600080fd5b81356001600160401b0381111561546757600080fd5b61547384828501614e97565b949350505050565b6000806040838503121561548e57600080fd5b61549783614c09565b91506154a560208401614c09565b90509250929050565b600080600080600060a086880312156154c657600080fd5b6154cf86614c09565b94506154dd60208701614c09565b9350604086013592506060860135915060808601356001600160401b0381111561550657600080fd5b61506b88828901614e97565b60008060006060848603121561552757600080fd5b833561553281614e59565b9250602084013591506040840135614fc481614e59565b600181811c9082168061555d57607f821691505b60208210810361557d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601a908201527f5265717569726573206d696e74496e4f726465722046616c7365000000000000604082015260600190565b60208082526006908201526514185d5cd95960d21b604082015260600190565b6020808252600c908201526b0a0c2eae6cac84084c2e8c6d60a31b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561563f5761563f615616565b500190565b60006001820161565657615656615616565b5060010190565b8054600090600181811c908083168061567757607f831692505b6020808410820361569857634e487b7160e01b600052602260045260246000fd5b8180156156ac57600181146156bd576156ea565b60ff198616895284890196506156ea565b60008881526020902060005b868110156156e25781548b8201529085019083016156c9565b505084890196505b50505050505092915050565b66697066733a2f2f60c81b81526000615712600783018461565d565b602f60f81b81526001019392505050565b600061572f828461565d565b653434b23232b760d11b815264173539b7b760d91b6006820152600b019392505050565b6000614c7d828461565d565b6000615712828461565d565b60008282101561577d5761577d615616565b500390565b60008351615794818460208801614c84565b8351908301906157a8818360208801614c84565b64173539b7b760d91b9101908152600501949350505050565b600083516157d3818460208801614c84565b6157df8184018561565d565b64173539b7b760d91b815260050195945050505050565b66697066733a2f2f60c81b815260008351615818816007850160208801614c84565b602f60f81b6007918401918201528351615839816008840160208801614c84565b64173539b7b760d91b60089290910191820152600d01949350505050565b60006020828403121561586957600080fd5b8151614c7d81614e59565b6020808252601b908201527f4e6f74204f776e6572206f722050726f6a656374204c65616465720000000000604082015260600190565b60008160001904831182151516156158c5576158c5615616565b500290565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6040815260006159666040830185615210565b82810360208401526118748185615210565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b8581528460208201526bffffffffffffffffffffffff198460601b1660408201528260548201526000615a83607483018461565d565b979650505050505050565b600082615aab57634e487b7160e01b600052601260045260246000fd5b500690565b6001600160a01b0386811682528516602082015260a060408201819052600090615adc90830186615210565b8281036060840152615aee8186615210565b90508281036080840152615b028185614cb0565b98975050505050505050565b600060208284031215615b2057600080fd5b8151614c7d81614c4a565b600060033d1115615b445760046000803e5060005160e01c5b90565b600060443d1015615b555790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715615b8457505050505090565b8285019150815181811115615b9c5750505050505090565b843d8701016020828501011115615bb65750505050505090565b615bc560208286010187614d05565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090615a8390830184614cb056fef09f90b82068747470733a2f2f7777772e68616c66737570657273686f702e636f6d2f20f09f90b8a26469706673582212209f5626a3f2ade39c11b53ec4e669669b840b62302428b8c545605d100a0f5e5c64736f6c634300080d0033697066733a2f2f516d5665444e75674b34384c5147765467674a76414d544872435438334c366631616454716350716375595545552f697066733a2f2f516d563458345a4e71347950384c3266746a52337548713738347a584433326b39347836375931517979657868542f73746f726566726f6e742e6a736f6e

Deployed Bytecode

0x6080604052600436106104a25760003560e01c80638da5cb5b11610260578063c791d96811610144578063dde6c47f116100c1578063ed00e65311610085578063ed00e65314610f51578063f0610e2714610f66578063f242432a14610f86578063f2fde38b14610fa6578063f5ce5dcb14610fc6578063fc2f0fd814610fdc57600080fd5b8063dde6c47f14610e93578063e30a2e0514610eb3578063e5211d8b14610ed3578063e8a3d48514610ef3578063e985e9c514610f0857600080fd5b8063d3c8efdb11610108578063d3c8efdb14610de1578063d6199f8d14610e01578063d85ed0f414610e21578063d8d9d6bc14610e36578063dc8519c114610e6657600080fd5b8063c791d96814610d3b578063c848d6c714610d6b578063ca397ed914610d81578063cc0142c514610da1578063d261b6e414610dc157600080fd5b8063a684c471116101dd578063b65f732d116101a1578063b65f732d14610c6e578063b82741a014610c81578063bb1e052814610ca1578063bd85b03914610cce578063bff67e9b14610cfb578063c6b1fe5814610d1b57600080fd5b8063a684c47114610bbe578063a6d23e1014610bde578063abc7c86614610bfe578063accc1d5e14610c2e578063b390c0ab14610c4e57600080fd5b8063a2b7258511610224578063a2b7258514610b1b578063a370c66814610b3b578063a4c2f65114610b6b578063a5492f4414610b8b578063a647e8ec14610bab57600080fd5b80638da5cb5b14610a8857806394357c2514610aa657806395d89b4114610ac657806399e5a1f614610adb578063a22cb46514610afb57600080fd5b80634cafdb6d116103875780636c30a22f116103045780637ce8fab0116102c85780637ce8fab0146109c15780637d929b4f146109e15780637f00c7a614610a0157806383ca4b6f14610a2157806384c6ef2f14610a41578063869f759414610a5b57600080fd5b80636c30a22f14610937578063715018a614610957578063743efaf01461096c5780637696e0881461098c5780637724bad8146109ac57600080fd5b80635c975abb1161034b5780635c975abb146108a7578063644e54ab146108c157806366f3fd64146108d757806368fd7eee146108f75780636be8730f1461091757600080fd5b80634cafdb6d146107f45780634e1273f41461080a5780634f558e791461083757806352addee5146108675780635c78222f1461088757600080fd5b806324b978bc1161042057806330182278116103e4578063301822781461074657806333ea51a81461075c5780633ccfd60b1461077c5780633e4a4e771461078457806341c63b85146107a4578063446f0617146107c457600080fd5b806324b978bc146106a35780632a9abcb9146106c35780632eb2c2d6146106e35780632ed6cd46146107035780632fad845c1461073057600080fd5b806314bfd6d01161046757806314bfd6d0146105f5578063165da72a1461062d57806320ed26e61461064d57806321d0a2a01461066d578063239c70ae1461068d57600080fd5b8062fdd58e1461053d57806301ffc9a71461057057806306fdde03146105a057806309f3e20b146105c25780630e89341c146105d557600080fd5b36610538576028546001600160a01b03166000036104fc5760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064015b60405180910390fd5b60285460405134916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610536573d6000803e3d6000fd5b005b600080fd5b34801561054957600080fd5b5061055d610558366004614c20565b610ffc565b6040519081526020015b60405180910390f35b34801561057c57600080fd5b5061059061058b366004614c60565b611090565b6040519015158152602001610567565b3480156105ac57600080fd5b506105b56110e0565b6040516105679190614cdc565b6105366105d0366004614dc5565b61116e565b3480156105e157600080fd5b506105b56105f0366004614e40565b6114a4565b34801561060157600080fd5b50610615610610366004614e40565b61187d565b6040516001600160a01b039091168152602001610567565b34801561063957600080fd5b50610590610648366004614e40565b6118a7565b34801561065957600080fd5b50610536610668366004614e67565b611991565b34801561067957600080fd5b506105b5610688366004614e40565b6119b9565b34801561069957600080fd5b5061055d600a5481565b3480156106af57600080fd5b506105366106be366004614f0a565b6119d2565b3480156106cf57600080fd5b506105366106de366004614f75565b611ca9565b3480156106ef57600080fd5b506105366106fe366004614fcf565b611da3565b34801561070f57600080fd5b5061055d61071e366004614e40565b60176020526000908152604090205481565b34801561073c57600080fd5b5061055d601b5481565b34801561075257600080fd5b5061055d60105481565b34801561076857600080fd5b50610536610777366004615078565b611e59565b610536611e83565b34801561079057600080fd5b5061053661079f366004615093565b611f3e565b3480156107b057600080fd5b506105366107bf3660046150ee565b61212c565b3480156107d057600080fd5b506105906107df366004614e40565b602b6020526000908152604090205460ff1681565b34801561080057600080fd5b5061055d60085481565b34801561081657600080fd5b5061082a610825366004615146565b612275565b604051610567919061524b565b34801561084357600080fd5b50610590610852366004614e40565b60009081526018602052604090205460ff1690565b34801561087357600080fd5b5061055d610882366004614e40565b61239e565b34801561089357600080fd5b506105366108a236600461525e565b6123bf565b3480156108b357600080fd5b50600d546105909060ff1681565b3480156108cd57600080fd5b5061055d600b5481565b3480156108e357600080fd5b506105366108f236600461527b565b6123da565b34801561090357600080fd5b50610590610912366004615299565b612403565b34801561092357600080fd5b506105366109323660046152bb565b6124bd565b34801561094357600080fd5b506105366109523660046152ee565b61262a565b34801561096357600080fd5b5061053661264f565b34801561097857600080fd5b50610536610987366004615299565b612663565b34801561099857600080fd5b506105366109a7366004615299565b61268f565b3480156109b857600080fd5b506105b56126ab565b3480156109cd57600080fd5b5061055d6109dc366004614e40565b6126ce565b3480156109ed57600080fd5b5061055d6109fc366004615299565b6126de565b348015610a0d57600080fd5b50610536610a1c366004614e40565b61270f565b348015610a2d57600080fd5b50610536610a3c36600461531a565b61271c565b348015610a4d57600080fd5b506019546105909060ff1681565b348015610a6757600080fd5b5061055d610a76366004614e40565b60156020526000908152604090205481565b348015610a9457600080fd5b506003546001600160a01b0316610615565b348015610ab257600080fd5b5061055d610ac1366004615299565b6127a6565b348015610ad257600080fd5b506105b56127c2565b348015610ae757600080fd5b50610536610af636600461527b565b6127cf565b348015610b0757600080fd5b50610536610b16366004615366565b6127f6565b348015610b2757600080fd5b5061055d610b36366004614e40565b612801565b348015610b4757600080fd5b50610590610b56366004614e40565b602c6020526000908152604090205460ff1681565b348015610b7757600080fd5b50610536610b86366004615078565b612811565b348015610b9757600080fd5b50610536610ba6366004615366565b612872565b610536610bb9366004615392565b6128dc565b348015610bca57600080fd5b50602954610615906001600160a01b031681565b348015610bea57600080fd5b50602854610615906001600160a01b031681565b348015610c0a57600080fd5b50610590610c19366004614e40565b60266020526000908152604090205460ff1681565b348015610c3a57600080fd5b50610536610c493660046153cb565b612a43565b348015610c5a57600080fd5b50610536610c69366004615299565b612aa2565b610536610c7c366004615299565b612ad1565b348015610c8d57600080fd5b50610536610c9c366004614f75565b612c72565b348015610cad57600080fd5b5061055d610cbc366004614e40565b60256020526000908152604090205481565b348015610cda57600080fd5b5061055d610ce9366004614e40565b60009081526013602052604090205490565b348015610d0757600080fd5b506105b5610d16366004614e40565b612cc5565b348015610d2757600080fd5b5061055d610d36366004614e40565b612cf0565b348015610d4757600080fd5b50610590610d56366004614e40565b60276020526000908152604090205460ff1681565b348015610d7757600080fd5b5061055d60115481565b348015610d8d57600080fd5b5061055d610d9c366004614e40565b612df2565b348015610dad57600080fd5b50610536610dbc366004614dc5565b612e32565b348015610dcd57600080fd5b50610536610ddc366004614e40565b612f0d565b348015610ded57600080fd5b50610536610dfc366004615299565b612f1a565b348015610e0d57600080fd5b506105b5610e1c366004614e40565b612f2d565b348015610e2d57600080fd5b506105b5612f3d565b348015610e4257600080fd5b50610590610e51366004615078565b602d6020526000908152604090205460ff1681565b348015610e7257600080fd5b5061055d610e81366004614e40565b60246020526000908152604090205481565b348015610e9f57600080fd5b50610536610eae36600461527b565b612f4c565b348015610ebf57600080fd5b50610536610ece36600461543f565b612f73565b348015610edf57600080fd5b50610536610eee366004614e67565b612f8e565b348015610eff57600080fd5b506105b5612fed565b348015610f1457600080fd5b50610590610f2336600461547b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b348015610f5d57600080fd5b5061059061307f565b348015610f7257600080fd5b50610536610f81366004615392565b61312c565b348015610f9257600080fd5b50610536610fa13660046154ae565b613163565b348015610fb257600080fd5b50610536610fc1366004615078565b613219565b348015610fd257600080fd5b5061055d601c5481565b348015610fe857600080fd5b50610536610ff7366004615512565b61328f565b60006001600160a01b0383166110675760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084016104f3565b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806110c157506001600160e01b031982166303a24d0760e21b145b8061108a57506301ffc9a760e01b6001600160e01b031983161461108a565b600480546110ed90615549565b80601f016020809104026020016040519081016040528092919081815260200182805461111990615549565b80156111665780601f1061113b57610100808354040283529160200191611166565b820191906000526020600020905b81548152906001019060200180831161114957829003601f168201915b505050505081565b6000818152600e602052604090205460ff161561119d5760405162461bcd60e51b81526004016104f390615583565b600d5460ff16156111c05760405162461bcd60e51b81526004016104f3906155ba565b60008181526026602052604090205460ff16156111ef5760405162461bcd60e51b81526004016104f3906155da565b600a54835111156112315760405162461bcd60e51b815260206004820152600c60248201526b546f6f204d616e792049447360a01b60448201526064016104f3565b81518351146112825760405162461bcd60e51b815260206004820152601960248201527f49447320616e6420416d6f756e7473204e6f7420457175616c0000000000000060448201526064016104f3565b61128c83836132ea565b6112cc5760405162461bcd60e51b8152602060048201526011602482015270086829c9c9ea8409a929ca8408482a8869607b1b60448201526064016104f3565b6000805b8351811015611381576112fc8582815181106112ee576112ee615600565b602002602001015184612403565b6113485760405162461bcd60e51b815260206004820152601b60248201527f494473204d7573742042652046726f6d2053616d65204261746368000000000060448201526064016104f3565b83818151811061135a5761135a615600565b60200260200101518261136d919061562c565b91508061137981615644565b9150506112d0565b50600b548111156113d45760405162461bcd60e51b815260206004820152601b60248201527f426174636820416d6f756e74204c696d6974204578636565646564000000000060448201526064016104f3565b6113de818361336c565b60005b84518110156114815760008582815181106113fe576113fe615600565b602002602001015190506114128185613420565b84828151811061142457611424615600565b60200260200101516013600088858151811061144257611442615600565b602002602001015181526020019081526020016000206000828254611467919061562c565b90915550829150611479905081615644565b9150506113e1565b5061149d8585856040518060200160405280600081525061359a565b5050505050565b606060006001905060008060066040516020016114c191906156f6565b6040516020818303038152906040529050600060076040516020016114e69190615723565b60408051601f1981840301815291815260008881526018602052205490915060ff16156118745760008611801561151f57506008548611155b15611874576040805160008082526020808301808552835190208a835260129091529083902090926115519201615753565b604051602081830303815290604052805190602001201461160e576000868152601260205260409020805461158590615549565b80601f01602080910402602001604051908101604052809291908181526020018280546115b190615549565b80156115fe5780601f106115d3576101008083540402835291602001916115fe565b820191906000526020600020905b8154815290600101906020018083116115e157829003601f168201915b5050505050945050505050919050565b60005b601f5481101561177a57601f818154811061162e5761162e615600565b9060005260206000200154871161176a5760408051600081526020810191829052519020602180548390811061166657611666615600565b906000526020600020016040516020016116809190615753565b60405160208183030381529060405280519060200120146116e157602181815481106116ae576116ae615600565b906000526020600020016040516020016116c891906156f6565b604051602081830303815290604052925080935061177a565b60408051600081526020810191829052519020602280548390811061170857611708615600565b906000526020600020016040516020016117229190615753565b604051602081830303815290604052805190602001201461176a576022818154811061175057611750615600565b906000526020600020016040516020016116c8919061575f565b61177381615644565b9050611611565b50601f805461178b9060019061576b565b8154811061179b5761179b615600565b90600052602060002001548611156117b257600093505b8380156117cd575060008381526027602052604090205460ff165b15611874576040805160008082526020808301808552835190208a8352601a9091529083902090926117ff9201615753565b604051602081830303815290604052805190602001200361184f578161182487613703565b604051602001611835929190615782565b604051602081830303815290604052945050505050919050565b81601a60008881526020019081526020016000206040516020016118359291906157c1565b95945050505050565b602a818154811061188d57600080fd5b6000918252602090912001546001600160a01b0316905081565b60008060005b601f548110156119785780158015906118e35750601f81815481106118d4576118d4615600565b90600052602060002001548411155b80156119155750601f6118f760018361576b565b8154811061190757611907615600565b906000526020600020015484115b1561192257809150611978565b801580156119305750600084115b80156119595750601f818154811061194a5761194a615600565b90600052602060002001548411155b1561196657809150611978565b8061197081615644565b9150506118ad565b506000908152602b602052604090205460ff1692915050565b611999613795565b600091825260276020526040909120805460ff1916911515919091179055565b601a60205260009081526040902080546110ed90615549565b6119da613795565b601f80546119ea9060019061576b565b815481106119fa576119fa615600565b90600052602060002001548411611a795760405162461bcd60e51b815260206004820152603760248201527f4c617374204261746368204944206d757374206265206772656174657220746860448201527f616e2070726576696f757320626174636820746f74616c00000000000000000060648201526084016104f3565b601f805460209190611a8d9060019061576b565b81548110611a9d57611a9d615600565b90600052602060002001546001611ab4919061562c565b815460018101835560009283526020909220909101558115611b9357601f805460018181019092557fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d807018590556021805491820181556000528351611b40917f3a6357012c1a3ae0a17d304c9920310382d968ebcc4b1771f41c6b304205b57001906020860190614ac9565b50602280546001810182556000918252604080516020810191829052839052611b8d927f61035b26e3e9eee00e0d72fd1ee8ddca6894550dca6916ea2ac6baa90d11e51090920191614ac9565b50611c52565b601f805460018181019092557fa03837a25210ee280c2113ff4b77ca23440b19d4866cca721c801278fd08d807018590556022805491820181556000528351611c03917f61035b26e3e9eee00e0d72fd1ee8ddca6894550dca6916ea2ac6baa90d11e51001906020860190614ac9565b50602180546001810182556000918252604080516020810191829052839052611c50927f3a6357012c1a3ae0a17d304c9920310382d968ebcc4b1771f41c6b304205b57090920191614ac9565b505b600954602380546001810182556000919091527fd57b2b5166478fd4318d2acc6cc2c704584312bdd8781b32d5d06abda57f423001558015611ca357601f54611ca390600190610eae90829061576b565b50505050565b611cb1613795565b8015611d4557600082611cc385613703565b604051602001611cd49291906157f6565b60408051601f198184030181529181526000868152601260209081529190208251929350611d06929091840190614ac9565b50837f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b82604051611d379190614cdc565b60405180910390a250505050565b60008381526012602090815260409091208351611d6492850190614ac9565b50827f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b83604051611d959190614cdc565b60405180910390a25b505050565b6daaeb6d7670e522a718067333cd4e3b15611e4c57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015611e09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2d9190615857565b611e4c57604051633b79c77360e21b81523360048201526024016104f3565b61149d85858585856137d8565b611e6161381d565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b611e8b613795565b6028546001600160a01b0316600003611edb5760405162461bcd60e51b8152602060048201526012602482015271536574205061796f7574204164647265737360701b60448201526064016104f3565b6028546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611f28576040519150601f19603f3d011682016040523d82523d6000602084013e611f2d565b606091505b5050905080611f3b57600080fd5b50565b611f46613795565b80156120555760008360018551611f5d919061576b565b81518110611f6d57611f6d615600565b6020026020010151905060005b601f5481101561149d57601f8181548110611f9757611f97615600565b90600052602060002001548203612045578360018551611fb7919061576b565b81518110611fc757611fc7615600565b60209081029190910181015160008481526017909252604082205584518590611ff29060019061576b565b8151811061200257612002615600565b6020026020010151111561202e576000828152601660205260409020805460ff19166001179055612045565b6000828152601660205260409020805460ff191690555b61204e81615644565b9050611f7a565b60005b8351811015611ca357600084828151811061207557612075615600565b6020026020010151905083828151811061209157612091615600565b60200260200101516015600083815260200190815260200160002060008282546120bb919061562c565b9250508190555060008483815181106120d6576120d6615600565b60200260200101511115612102576000818152601460205260409020805460ff19166001179055612119565b6000818152601460205260409020805460ff191690555b508061212481615644565b915050612058565b612134613795565b81156122565760005b601f548110156122365783601f828154811061215b5761215b615600565b9060005260206000200154031561223657601f805461217c9060019061576b565b8154811061218c5761218c615600565b9060005260206000200154601f82815481106121aa576121aa615600565b90600052602060002001541480156121df5750601f81815481106121d0576121d0615600565b90600052602060002001548414155b156122245760405162461bcd60e51b81526020600482015260156024820152740becadcc8928840d2e640dcdee840c24084c2e8c6d605b1b60448201526064016104f3565b8061222e81615644565b91505061213d565b506000838152601e602090815260409091208251611ca392840190614b49565b6000838152601d602090815260409091208251611ca392840190614b49565b606081518351146122da5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016104f3565b600083516001600160401b038111156122f5576122f5614cef565b60405190808252806020026020018201604052801561231e578160200160208202803683370190505b50905060005b84518110156123965761236985828151811061234257612342615600565b602002602001015185838151811061235c5761235c615600565b6020026020010151610ffc565b82828151811061237b5761237b615600565b602090810291909101015261238f81615644565b9050612324565b509392505050565b601f81815481106123ae57600080fd5b600091825260209091200154905081565b6123c7613795565b6019805460ff1916911515919091179055565b6123e2613795565b600f805460ff191683158015919091179091556123ff5760108190555b5050565b600081158015906124315750601f828154811061242257612422615600565b90600052602060002001548311155b80156124635750601f61244560018461576b565b8154811061245557612455615600565b906000526020600020015483115b156124705750600161108a565b8115801561247e5750600083115b80156124a75750601f828154811061249857612498615600565b90600052602060002001548311155b156124b45750600161108a565b50600092915050565b6124c5613795565b6000818152600e602052604090205460ff1661251a5760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016104f3565b612550601f828154811061253057612530615600565b906000526020600020015460009081526018602052604090205460ff1690565b156125885760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016104f3565b601f818154811061259b5761259b615600565b90600052602060002001546001602083815481106125bb576125bb615600565b9060005260206000200154846125d1919061562c565b6125db919061576b565b111561261f5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016104f3565b611d9e838383613877565b612632613795565b600090815260246020908152604080832093909355602590522055565b61265761381d565b61266160006139f4565b565b61266b613795565b816020828154811061267f5761267f615600565b6000918252602090912001555050565b612697613795565b816023828154811061267f5761267f615600565b60606000604051806060016040528060288152602001615ce26028913992915050565b602081815481106123ae57600080fd5b601e60205281600052604060002081815481106126fa57600080fd5b90600052602060002001600091509150505481565b612717613795565b600a55565b60005b825181101561279a57600083828151811061273c5761273c615600565b6020026020010151905082828151811061275857612758615600565b6020026020010151601360008381526020019081526020016000206000828254612782919061576b565b909155506127939150829050615644565b905061271f565b506123ff338383613a46565b601d60205281600052604060002081815481106126fa57600080fd5b600580546110ed90615549565b6127d7613795565b6000908152602b60205260409020805460ff1916911515919091179055565b6123ff338383613bec565b602381815481106123ae57600080fd5b6003546001600160a01b031633148061283457506029546001600160a01b031633145b6128505760405162461bcd60e51b81526004016104f390615874565b602980546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031633148061289557506029546001600160a01b031633145b6128b15760405162461bcd60e51b81526004016104f390615874565b6001600160a01b03919091166000908152602d60205260409020805460ff1916911515919091179055565b6000818152600e602052604090205460ff161561290b5760405162461bcd60e51b81526004016104f390615583565b6129158382612403565b6129595760405162461bcd60e51b815260206004820152601560248201527409288409aeae6e84084ca408ce4deda4084c2e8c6d605b1b60448201526064016104f3565b600d5460ff161561297c5760405162461bcd60e51b81526004016104f3906155ba565b60008181526026602052604090205460ff16156129ab5760405162461bcd60e51b81526004016104f3906155da565b6129b58383613ccc565b6129ef5760405162461bcd60e51b815260206004820152600b60248201526a10d0539393d5081352539560aa1b60448201526064016104f3565b6129f9828261336c565b612a038382613420565b60008381526013602052604081208054849290612a2190849061562c565b92505081905550611ca384848460405180602001604052806000815250613fb4565b612a4b613795565b6003546001600160a01b0316331480612a6e57506029546001600160a01b031633145b612a8a5760405162461bcd60e51b81526004016104f390615874565b612a96602a6000614b83565b611d9e602a8383614ba1565b60008281526013602052604081208054839290612ac090849061576b565b909155506123ff90503383836140ac565b6000818152600e602052604090205460ff16612b265760405162461bcd60e51b81526020600482015260146024820152732932b8bab4b932b99036b4b73a24b727b93232b960611b60448201526064016104f3565b600d5460ff1615612b495760405162461bcd60e51b81526004016104f3906155ba565b60008181526026602052604090205460ff1615612b785760405162461bcd60e51b81526004016104f3906155da565b612b8e601f828154811061253057612530615600565b15612bc65760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016104f3565b601f8181548110612bd957612bd9615600565b9060005260206000200154600160208381548110612bf957612bf9615600565b906000526020600020015484612c0f919061562c565b612c19919061576b565b1115612c5d5760405162461bcd60e51b8152602060048201526013602482015272141b19585cd948131bddd95c88105b5bdd5b9d606a1b60448201526064016104f3565b612c67828261336c565b6123ff338383613877565b612c7a613795565b8015612cb1578160218481548110612c9457612c94615600565b906000526020600020019080519060200190611ca3929190614ac9565b8160228481548110612c9457612c94615600565b60228181548110612cd557600080fd5b9060005260206000200160009150905080546110ed90615549565b60008181526015602052604081205415612d17575060009081526015602052604090205490565b60005b601f548110156124b4578215801590612d505750601f8181548110612d4157612d41615600565b90600052602060002001548311155b8015612d825750601f612d6460018361576b565b81548110612d7457612d74615600565b906000526020600020015483115b15612de0576000601f8281548110612d9c57612d9c615600565b906000526020600020015490506017600082815260200190815260200160002054600014612dda576000908152601760205260409020549392505050565b506124b4565b80612dea81615644565b915050612d1a565b6000612dfc61307f565b612e255760238281548110612e1357612e13615600565b90600052602060002001549050919050565b506000919050565b919050565b612e3a613795565b6000818152600e602052604090205460ff1615612e695760405162461bcd60e51b81526004016104f390615583565b60005b8351811015612ef1576000848281518110612e8957612e89615600565b60200260200101519050612e9d8184613420565b838281518110612eaf57612eaf615600565b6020026020010151601360008381526020019081526020016000206000828254612ed9919061562c565b90915550612eea9150829050615644565b9050612e6c565b50611ca38484846040518060200160405280600081525061359a565b612f15613795565b600855565b612f22613795565b601b91909155601c55565b60218181548110612cd557600080fd5b6060612f476141ce565b905090565b612f54613795565b6000908152600e60205260409020805460ff1916911515919091179055565b612f7b613795565b80516123ff90600c906020840190614ac9565b6003546001600160a01b0316331480612fb157506029546001600160a01b031633145b612fcd5760405162461bcd60e51b81526004016104f390615874565b6000918252602c6020526040909120805460ff1916911515919091179055565b6060600c8054612ffc90615549565b80601f016020809104026020016040519081016040528092919081815260200182805461302890615549565b80156130755780601f1061304a57610100808354040283529160200191613075565b820191906000526020600020905b81548152906001019060200180831161305857829003601f168201915b5050505050905090565b60006130936003546001600160a01b031690565b6001600160a01b0316336001600160a01b031614806130bc57506029546001600160a01b031633145b156130c75750600190565b602a54156131265760005b602a5481101561312457602a81815481106130ef576130ef615600565b6000918252602090912001546001600160a01b0316330361311257600191505090565b8061311c81615644565b9150506130d2565b505b50600090565b613134613795565b6000818152600e602052604090205460ff16156129f95760405162461bcd60e51b81526004016104f390615583565b6daaeb6d7670e522a718067333cd4e3b1561320c57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af11580156131c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ed9190615857565b61320c57604051633b79c77360e21b81523360048201526024016104f3565b61149d8585858585614277565b61322161381d565b6001600160a01b0381166132865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104f3565b611f3b816139f4565b613297613795565b82156132b257600d805482151560ff19909116179055505050565b6000828152602660205260409020805482151560ff19909116179055505050565b505050505050565b6001600160a01b03163b151590565b6000805b835181101561336257600084828151811061330b5761330b615600565b60200260200101519050600084838151811061332957613329615600565b6020026020010151905061333d8282613ccc565b61334d576000935050505061108a565b5050808061335a90615644565b9150506132ee565b5060019392505050565b61337461307f565b6123ff57600f5460ff16156133c9576010544210156133c95760405162461bcd60e51b8152602060048201526011602482015270139bdd08135a5b9d0811185d194816595d607a1b60448201526064016104f3565b6133d281612df2565b6133dc90836158ab565b3410156123ff5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e647360701b60448201526064016104f3565b60008281526018602052604090205460ff166134a8576000828152601860209081526040808320805460ff19908116600117909155602c835281842080549091169055838352600e90915290205460ff16156134a857600082815260156020908152604080832060019081905560148352818420805460ff1916821790556013909252909120555b60195460ff16156134e0576134bb6141ce565b6000838152601a6020908152604090912082516134de9391929190910190614ac9565b505b600081815260256020526040902054602380548390811061350357613503615600565b90600052602060002001541415801561354c575060246000828152602001908152602001600020546020828154811061353e5761353e615600565b906000526020600020015410155b1561358157600081815260256020526040902054602380548390811061357457613574615600565b6000918252602090912001555b6011805490600061359183615644565b91905055505050565b6001600160a01b0384166135c05760405162461bcd60e51b81526004016104f3906158ca565b81518351146135e15760405162461bcd60e51b81526004016104f39061590b565b336135f1816000878787876142bc565b60005b845181101561368c5783818151811061360f5761360f615600565b602002602001015160008087848151811061362c5761362c615600565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254613674919061562c565b9091555081905061368481615644565b9150506135f4565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516136dd929190615953565b60405180910390a46136f48160008787878761440f565b61149d8160008787878761449a565b60606000613710836145f5565b60010190506000816001600160401b0381111561372f5761372f614cef565b6040519080825280601f01601f191660200182016040528015613759576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461376357509392505050565b61379d61307f565b6126615760405162461bcd60e51b815260206004820152600c60248201526b2737ba1030b71030b236b4b760a11b60448201526064016104f3565b6001600160a01b0385163314806137f457506137f48533610f23565b6138105760405162461bcd60e51b81526004016104f390615978565b61149d85858585856146cd565b6003546001600160a01b031633146126615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104f3565b6000826001600160401b0381111561389157613891614cef565b6040519080825280602002602001820160405280156138ba578160200160208202803683370190505b5090506000836001600160401b038111156138d7576138d7614cef565b604051908082528060200260200182016040528015613900578160200160208202803683370190505b50905060005b848110156139d85760006020858154811061392357613923615600565b9060005260206000200154905061393a8186613420565b6020858154811061394d5761394d615600565b906000526020600020015484838151811061396a5761396a615600565b602002602001018181525050600183838151811061398a5761398a615600565b602002602001018181525050602085815481106139a9576139a9615600565b600091825260208220018054916139bf83615644565b91905055505080806139d090615644565b915050613906565b5061149d8583836040518060200160405280600081525061359a565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316613a6c5760405162461bcd60e51b81526004016104f3906159c6565b8051825114613a8d5760405162461bcd60e51b81526004016104f39061590b565b6000339050613ab0818560008686604051806020016040528060008152506142bc565b60005b8351811015613b75576000848281518110613ad057613ad0615600565b602002602001015190506000848381518110613aee57613aee615600565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015613b3e5760405162461bcd60e51b81526004016104f390615a09565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580613b6d81615644565b915050613ab3565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051613bc6929190615953565b60405180910390a4611ca38185600086866040518060200160405280600081525061440f565b816001600160a01b0316836001600160a01b031603613c5f5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016104f3565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008281526014602052604081205460ff1615613d4b57600082118015613cf55750600a548211155b8015613d015750600083115b8015613d0f57506008548311155b8015613d3f5750600083815260156020908152604080832054601390925290912054613d3c90849061562c565b11155b613d825750600061108a565b600082118015613d5d5750600a548211155b8015613d695750600083115b8015613d3f5750600854831115613d825750600061108a565b6000838152601d602052604090205415613e085760005b6000848152601d6020526040902054811015613e06576000848152601d602052604081208054613de591339185908110613dd557613dd5615600565b9060005260206000200154610ffc565b11613df457600091505061108a565b80613dfe81615644565b915050613d99565b505b60005b601f54811015613362578015801590613e415750601f8181548110613e3257613e32615600565b90600052602060002001548411155b8015613e735750601f613e5560018361576b565b81548110613e6557613e65615600565b906000526020600020015484115b15613fa2576000601f8281548110613e8d57613e8d615600565b6000918252602080832090910154808352601e90915260409091205490915015613f155760005b6000828152601e6020526040902054811015613f13576000828152601e602052604081208054613ef091339185908110613dd557613dd5615600565b11613f01576000935050505061108a565b80613f0b81615644565b915050613eb4565b505b60008181526016602052604090205460ff1615613f9a57600084118015613f3e5750600a548411155b8015613f4a5750600085115b8015613f5857506008548511155b8015613f8b5750600081815260176020908152604080832054888452601390925290912054613f8890869061562c565b11155b613fa05760009250505061108a565b50613fa2565b505b80613fac81615644565b915050613e0b565b6001600160a01b038416613fda5760405162461bcd60e51b81526004016104f3906158ca565b336000613fe68561487d565b90506000613ff38561487d565b9050614004836000898585896142bc565b6000868152602081815260408083206001600160a01b038b1684529091528120805487929061403490849061562c565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46140948360008985858961440f565b6140a3836000898989896148c8565b50505050505050565b6001600160a01b0383166140d25760405162461bcd60e51b81526004016104f3906159c6565b3360006140de8461487d565b905060006140eb8461487d565b905061410b838760008585604051806020016040528060008152506142bc565b6000858152602081815260408083206001600160a01b038a1684529091529020548481101561414c5760405162461bcd60e51b81526004016104f390615a09565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46140a38488600086866040518060200160405280600081525061440f565b60606000601c54424433601154601a600060016011546141ee919061576b565b8152602001908152602001600020604051602001614210959493929190615a4d565b6040516020818303038152906040528051906020012060001c6142339190615a8e565b9050601b548110156142655761425f61424d82600161562c565b601c5461425a919061576b565b613703565b91505090565b61425f61425a82600161562c565b5090565b6001600160a01b03851633148061429357506142938533610f23565b6142af5760405162461bcd60e51b81526004016104f390615978565b61149d8585858585614983565b6001600160a01b0386166000908152602d602052604090205460ff161580156142fe57506001600160a01b0385166000908152602d602052604090205460ff16155b801561432357506001600160a01b0384166000908152602d602052604090205460ff16155b6143835760405162461bcd60e51b815260206004820152602b60248201527f4f70657261746f722c2046726f6d2c206f7220546f204164647265737320697360448201526a08149154d5149250d5115160aa1b60648201526084016104f3565b60005b83518110156140a357602c60008583815181106143a5576143a5615600565b60209081029190910181015182528101919091526040016000205460ff16156143fd5760405162461bcd60e51b815260206004820152600a602482015269119b1859d9d95908125160b21b60448201526064016104f3565b8061440781615644565b915050614386565b60005b83518110156140a35761443d84828151811061443057614430615600565b60200260200101516118a7565b15614488576001602c600086848151811061445a5761445a615600565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8061449281615644565b915050614412565b6001600160a01b0384163b156132d35760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906144de9089908990889088908890600401615ab0565b6020604051808303816000875af1925050508015614519575060408051601f3d908101601f1916820190925261451691810190615b0e565b60015b6145c557614525615b2b565b806308c379a00361455e5750614539615b47565b806145445750614560565b8060405162461bcd60e51b81526004016104f39190614cdc565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016104f3565b6001600160e01b0319811663bc197c8160e01b146140a35760405162461bcd60e51b81526004016104f390615bd0565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106146345772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310614660576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061467e57662386f26fc10000830492506010015b6305f5e1008310614696576305f5e100830492506008015b61271083106146aa57612710830492506004015b606483106146bc576064830492506002015b600a831061108a5760010192915050565b81518351146146ee5760405162461bcd60e51b81526004016104f39061590b565b6001600160a01b0384166147145760405162461bcd60e51b81526004016104f390615c18565b336147238187878787876142bc565b60005b845181101561480957600085828151811061474357614743615600565b60200260200101519050600085838151811061476157614761615600565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156147b15760405162461bcd60e51b81526004016104f390615c5d565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906147ee90849061562c565b925050819055505050508061480290615644565b9050614726565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051614859929190615953565b60405180910390a461486f81878787878761440f565b6132d381878787878761449a565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106148b7576148b7615600565b602090810291909101015292915050565b6001600160a01b0384163b156132d35760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061490c9089908990889088908890600401615ca7565b6020604051808303816000875af1925050508015614947575060408051601f3d908101601f1916820190925261494491810190615b0e565b60015b61495357614525615b2b565b6001600160e01b0319811663f23a6e6160e01b146140a35760405162461bcd60e51b81526004016104f390615bd0565b6001600160a01b0384166149a95760405162461bcd60e51b81526004016104f390615c18565b3360006149b58561487d565b905060006149c28561487d565b90506149d28389898585896142bc565b6000868152602081815260408083206001600160a01b038c16845290915290205485811015614a135760405162461bcd60e51b81526004016104f390615c5d565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290614a5090849061562c565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4614ab0848a8a86868a61440f565b614abe848a8a8a8a8a6148c8565b505050505050505050565b828054614ad590615549565b90600052602060002090601f016020900481019282614af75760008555614b3d565b82601f10614b1057805160ff1916838001178555614b3d565b82800160010185558215614b3d579182015b82811115614b3d578251825591602001919060010190614b22565b50614273929150614bf4565b828054828255906000526020600020908101928215614b3d5791602002820182811115614b3d578251825591602001919060010190614b22565b5080546000825590600052602060002090810190611f3b9190614bf4565b828054828255906000526020600020908101928215614b3d579160200282015b82811115614b3d5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190614bc1565b5b808211156142735760008155600101614bf5565b80356001600160a01b0381168114612e2d57600080fd5b60008060408385031215614c3357600080fd5b614c3c83614c09565b946020939093013593505050565b6001600160e01b031981168114611f3b57600080fd5b600060208284031215614c7257600080fd5b8135614c7d81614c4a565b9392505050565b60005b83811015614c9f578181015183820152602001614c87565b83811115611ca35750506000910152565b60008151808452614cc8816020860160208601614c84565b601f01601f19169290920160200192915050565b602081526000614c7d6020830184614cb0565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715614d2a57614d2a614cef565b6040525050565b60006001600160401b03821115614d4a57614d4a614cef565b5060051b60200190565b600082601f830112614d6557600080fd5b81356020614d7282614d31565b604051614d7f8282614d05565b83815260059390931b8501820192828101915086841115614d9f57600080fd5b8286015b84811015614dba5780358352918301918301614da3565b509695505050505050565b60008060008060808587031215614ddb57600080fd5b614de485614c09565b935060208501356001600160401b0380821115614e0057600080fd5b614e0c88838901614d54565b94506040870135915080821115614e2257600080fd5b50614e2f87828801614d54565b949793965093946060013593505050565b600060208284031215614e5257600080fd5b5035919050565b8015158114611f3b57600080fd5b60008060408385031215614e7a57600080fd5b823591506020830135614e8c81614e59565b809150509250929050565b600082601f830112614ea857600080fd5b81356001600160401b03811115614ec157614ec1614cef565b604051614ed8601f8301601f191660200182614d05565b818152846020838601011115614eed57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215614f2057600080fd5b8435935060208501356001600160401b03811115614f3d57600080fd5b614f4987828801614e97565b9350506040850135614f5a81614e59565b91506060850135614f6a81614e59565b939692955090935050565b600080600060608486031215614f8a57600080fd5b8335925060208401356001600160401b03811115614fa757600080fd5b614fb386828701614e97565b9250506040840135614fc481614e59565b809150509250925092565b600080600080600060a08688031215614fe757600080fd5b614ff086614c09565b9450614ffe60208701614c09565b935060408601356001600160401b038082111561501a57600080fd5b61502689838a01614d54565b9450606088013591508082111561503c57600080fd5b61504889838a01614d54565b9350608088013591508082111561505e57600080fd5b5061506b88828901614e97565b9150509295509295909350565b60006020828403121561508a57600080fd5b614c7d82614c09565b6000806000606084860312156150a857600080fd5b83356001600160401b03808211156150bf57600080fd5b6150cb87838801614d54565b945060208601359150808211156150e157600080fd5b50614fb386828701614d54565b60008060006060848603121561510357600080fd5b83359250602084013561511581614e59565b915060408401356001600160401b0381111561513057600080fd5b61513c86828701614d54565b9150509250925092565b6000806040838503121561515957600080fd5b82356001600160401b038082111561517057600080fd5b818501915085601f83011261518457600080fd5b8135602061519182614d31565b60405161519e8282614d05565b83815260059390931b85018201928281019150898411156151be57600080fd5b948201945b838610156151e3576151d486614c09565b825294820194908201906151c3565b965050860135925050808211156151f957600080fd5b5061520685828601614d54565b9150509250929050565b600081518084526020808501945080840160005b8381101561524057815187529582019590820190600101615224565b509495945050505050565b602081526000614c7d6020830184615210565b60006020828403121561527057600080fd5b8135614c7d81614e59565b6000806040838503121561528e57600080fd5b8235614c3c81614e59565b600080604083850312156152ac57600080fd5b50508035926020909101359150565b6000806000606084860312156152d057600080fd5b6152d984614c09565b95602085013595506040909401359392505050565b60008060006060848603121561530357600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561532d57600080fd5b82356001600160401b038082111561534457600080fd5b61535086838701614d54565b935060208501359150808211156151f957600080fd5b6000806040838503121561537957600080fd5b61538283614c09565b91506020830135614e8c81614e59565b600080600080608085870312156153a857600080fd5b6153b185614c09565b966020860135965060408601359560600135945092505050565b600080602083850312156153de57600080fd5b82356001600160401b03808211156153f557600080fd5b818501915085601f83011261540957600080fd5b81358181111561541857600080fd5b8660208260051b850101111561542d57600080fd5b60209290920196919550909350505050565b60006020828403121561545157600080fd5b81356001600160401b0381111561546757600080fd5b61547384828501614e97565b949350505050565b6000806040838503121561548e57600080fd5b61549783614c09565b91506154a560208401614c09565b90509250929050565b600080600080600060a086880312156154c657600080fd5b6154cf86614c09565b94506154dd60208701614c09565b9350604086013592506060860135915060808601356001600160401b0381111561550657600080fd5b61506b88828901614e97565b60008060006060848603121561552757600080fd5b833561553281614e59565b9250602084013591506040840135614fc481614e59565b600181811c9082168061555d57607f821691505b60208210810361557d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601a908201527f5265717569726573206d696e74496e4f726465722046616c7365000000000000604082015260600190565b60208082526006908201526514185d5cd95960d21b604082015260600190565b6020808252600c908201526b0a0c2eae6cac84084c2e8c6d60a31b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111561563f5761563f615616565b500190565b60006001820161565657615656615616565b5060010190565b8054600090600181811c908083168061567757607f831692505b6020808410820361569857634e487b7160e01b600052602260045260246000fd5b8180156156ac57600181146156bd576156ea565b60ff198616895284890196506156ea565b60008881526020902060005b868110156156e25781548b8201529085019083016156c9565b505084890196505b50505050505092915050565b66697066733a2f2f60c81b81526000615712600783018461565d565b602f60f81b81526001019392505050565b600061572f828461565d565b653434b23232b760d11b815264173539b7b760d91b6006820152600b019392505050565b6000614c7d828461565d565b6000615712828461565d565b60008282101561577d5761577d615616565b500390565b60008351615794818460208801614c84565b8351908301906157a8818360208801614c84565b64173539b7b760d91b9101908152600501949350505050565b600083516157d3818460208801614c84565b6157df8184018561565d565b64173539b7b760d91b815260050195945050505050565b66697066733a2f2f60c81b815260008351615818816007850160208801614c84565b602f60f81b6007918401918201528351615839816008840160208801614c84565b64173539b7b760d91b60089290910191820152600d01949350505050565b60006020828403121561586957600080fd5b8151614c7d81614e59565b6020808252601b908201527f4e6f74204f776e6572206f722050726f6a656374204c65616465720000000000604082015260600190565b60008160001904831182151516156158c5576158c5615616565b500290565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6040815260006159666040830185615210565b82810360208401526118748185615210565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b8581528460208201526bffffffffffffffffffffffff198460601b1660408201528260548201526000615a83607483018461565d565b979650505050505050565b600082615aab57634e487b7160e01b600052601260045260246000fd5b500690565b6001600160a01b0386811682528516602082015260a060408201819052600090615adc90830186615210565b8281036060840152615aee8186615210565b90508281036080840152615b028185614cb0565b98975050505050505050565b600060208284031215615b2057600080fd5b8151614c7d81614c4a565b600060033d1115615b445760046000803e5060005160e01c5b90565b600060443d1015615b555790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715615b8457505050505090565b8285019150815181811115615b9c5750505050505090565b843d8701016020828501011115615bb65750505050505090565b615bc560208286010187614d05565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090615a8390830184614cb056fef09f90b82068747470733a2f2f7777772e68616c66737570657273686f702e636f6d2f20f09f90b8a26469706673582212209f5626a3f2ade39c11b53ec4e669669b840b62302428b8c545605d100a0f5e5c64736f6c634300080d0033

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.