ETH Price: $3,244.37 (-2.70%)

Token

PoorLandMetaverse (PLM)
 

Overview

Max Total Supply

102 PLM

Holders

53

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
just1love.eth
Balance
1 PLM
0x3d108a899ff04627643673d440aee51df17c8154
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:
PoorLandMetaverse

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : PoorLandMetaverse.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IBuilderMaterial.sol";
import "./IPasscard.sol";
import "./ERC721A.sol";


contract PoorLandMetaverse is ERC721A, Ownable {

    /// @dev Library
    using Strings for uint256;

    event BuildEvent(address indexed builder, bytes buildingInfo, uint256 buildTime);

    /// @dev mapIndex=>bytes((i32 x1, i32 y1), (x2,y2))
    mapping(int32=>bytes) private _mapInfo;

    /// @dev mapIndex=>existedBuilding[]
    mapping(int32=>uint256[]) private _buildingBelong;

    // /// @dev ID=>(u256 type, i32 mx, i32 my)
    mapping(uint256=>bytes) private _buildingInfo;

    // map=> build type=>(1=disable,0=enable)
    mapping(int32=>mapping(uint256=>uint256)) private _disabledBuilding;

    bool private _passcardRequired = false;

    address private _passcard;

    string private _base_URI = "https://gateway.poorland.io/";

    string private _path = "ipfs/QmYYHeMkuZAoPpBpijnpwADcdfRXaa7jpwcnpW71uT8NDF/";

    address public constant _poorlandMaterialContract = 0x045737619bb0FE286FFB8c9C81117bC4aB5C997f;

    bool private _building = true;

    /// @notice legal map indexs
    uint[] private _mapIndexs;

    mapping(int32=>uint256) private _mapBuildFee;

    /// extra NFT type and build price 
    /// type=>(poorlandmaterial, width, height)
    mapping(uint256=>bytes) private _typeExtension;

    constructor() ERC721A("PoorLandMetaverse", "PLM") {      
        // map index
        int32 x1 = -112;
        int32 y1 = 112;
        int32 x2 = 112;
        int32 y2 = -112;
        bytes memory mapSize = abi.encode(x1,y1,x2,y2);
        _mapInfo[1] = mapSize;
        _disabledBuilding[1][41] = 1;
    }

    function _baseURI() internal view override returns (string memory) {
        return _base_URI;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "nonexistent token");
        return bytes(_base_URI).length > 0 ? string(abi.encodePacked(_base_URI, _path, tokenId.toString(), ".json")) : "";
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721A) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function build(int32 mapIndex, uint256 nftType, int32 x, int32 y) external payable {
        require(_building, "not start yet");
        // type must be supported.
        require(_typeSupport(nftType), "not support");
        require(_mapExists(mapIndex), "not exist");
        require(_availableToBuild(mapIndex, nftType), "can't build now");
        require(_passcardRequirement(msg.sender, nftType), "passcard required");
        require(_noHit(mapIndex, nftType, x, y), "hit another area");

        //check balance
        uint256 buildFee = _mapBuildFee[mapIndex];
        if (buildFee > 0) {
            require (msg.value >= buildFee, "build fee is not enough" );
        }
            
        uint256 requiredMaterial = calculatePayment(nftType);
        // is balance enough
        uint256 ownedMaterial = IERC1155(_poorlandMaterialContract).balanceOf(msg.sender, 0);
        require(ownedMaterial >= requiredMaterial, "Fragment is not enough");

        // spend material and burn
        IBuilderMaterial(_poorlandMaterialContract).spendMaterialToBuild(msg.sender, requiredMaterial);
        uint256 tokenID = _startTokenId() + _totalMinted();
        mintTo(msg.sender, 1);
        bytes memory buildInfo = abi.encode(mapIndex, tokenID, nftType, x, y);
        bytes memory building = abi.encode(nftType, x, y);
        _buildingInfo[tokenID] = building;
        _buildingBelong[mapIndex].push(tokenID);
        emit BuildEvent(msg.sender, buildInfo, block.timestamp);

    }

    function _passcardRequirement(address builder, uint256 buildType) private returns (bool) {
        if (_passcard == address(0) || _passcardRequired == false) {
            return true;
        }
        return IPasscard(_passcard).qualified(builder, buildType);
    }

    function calculatePayment(uint nftType) public view returns(uint256 poorlandMaterial) {
        if (nftType == 11) {
            return 10;
        }
        if (nftType == 21) {
            return 100;
        }
        if (nftType == 31) {
            return 1000;
        }
        if (nftType == 41) {
            return 10000;
        }
        (uint256 material, int32 bw, int32 bh) = abi.decode(_typeExtension[nftType], (uint256, int32, int32));
        return material;

    }

    function _typeSupport(uint nftType) public view returns(bool) {
        
        if (nftType == 11 || nftType == 21 || nftType == 31 || nftType == 41) {return true;}
        // extension
        return _typeExtension[nftType].length > 0;

    }

    /// @dev map 1 is default
    function _mapExists(int32 mapIndex) public view returns(bool) {
        if (mapIndex == 1) {
            return true;
        }
        return _mapInfo[mapIndex].length > 0;
    }  

    function boxHit(int32 x11, int32 y11, int32 w1, int32 h1, int32 x21, int32 y21, int32 w2, int32 h2) internal pure {
        int32 x12 = x11 + w1 - 1;
        int32 y12 = y11 - h1 + 1;
        int32 x22 = x21 + w2 - 1;
        int32 y22 = y21 - h2 + 1;
        if (x11 >= x21 && x11 <= x22 && y11 <= y21 && y11 >= y22) {
            require (false, "left top hit");
        }

        if (x12 >= x21 && x12 <= x22 && y11 <= y21 && y11 >= y22) {
            require (false, "right top hit");
        }

        if (x11 >= x21 && x11 <= x22 && y12 <= y21 && y12 >= y22) {
            require (false, "left bottom hit");
        }

        if (x12 >= x21 && x12 <= x22 && y12 <= y21 && y12 >= y22) {
            require (false, "right bottom hit");
        }
    }

    function _noHit(int32 mapIndex, uint256 nftType, int32 x, int32 y) internal view returns (bool) {
        require(_mapBorderNoHit(mapIndex, nftType, x, y), "hit border");
        uint256[] memory mapBuildings = _buildingBelong[mapIndex];
        (int32 w, int32 h) = _buildingSize(nftType);
        for(uint256 i=0; i<mapBuildings.length; i++) {
            (uint256 buildingType, int32 x1, int32 y1)  = abi.decode(_buildingInfo[mapBuildings[i]], (uint256, int32, int32));
            (int32 w1, int32 h1) =_buildingSize(buildingType);
            boxHit(x, y, w, h , x1, y1, w1, h1);
        }
        return true;
    }
    
    function _mapBorderNoHit(int32 mapIndex, uint256 nftType, int32 x, int32 y) internal view returns (bool) {
        (int32 mx1, int32 my1, int32 mx2, int32 my2) = abi.decode(_mapInfo[mapIndex], (int32, int32, int32, int32));
        (int32 w, int32 h) = _buildingSize(nftType);
        require ( x >= mx1 && x <= mx2, "x out");
        require ( y <= my1 && y >= my2, "y out");
        require ( x + w - 1 <= mx2, "x + w - 1 border out");
        require ( y - h + 1>= my2, "y - h + 1 border out");
        return true;
    }

    function _availableToBuild(int32 mapIndex_, uint256 nftType) public view returns (bool) {
        if (_disabledBuilding[mapIndex_][nftType] == 0) {
            return true;
        }
        return false;
    }

    function _buildingSize(uint256 nftType) public view returns (int32 width, int32 height) {
        if (nftType == 11) {return (3,3);}
        if (nftType == 21) {return (10,10);}
        if (nftType == 31) {return (32,32);}
        if (nftType == 41) {return (100,100);}
        // extension
        if(_typeSupport(nftType)){ 
            (uint256 material, int32 bw, int32 bh) = abi.decode(_typeExtension[nftType], (uint256, int32, int32));
            return (bw, bh);
        }
    }

    function minted(address addr) external view returns(uint256) {
        return _numberMinted(addr);
    }

    function listMyNFT(address owner) external view returns (uint256[] memory tokens) {
        uint256 owned = balanceOf(owner);
        tokens = new uint256[](owned);
        uint256 start = 0;
        for (uint i=0; i<totalSupply(); i++) {
            if (ownerOf(i) == owner) {
                tokens[start] = i;
                start ++;
            }
        }
    }

    function getMapInfo(int32 mapIndex) external view returns(int32 x1, int32 y1, int32 x2, int32 y2) {
        (x1,y1,x2,y2) = abi.decode(_mapInfo[mapIndex], (int32, int32, int32, int32));
    }

    /// @dev mint function
    function mintTo(address purchaseUser, uint256 amount) private {
        _safeMint(purchaseUser, amount);
    }

    function updatePasscard(address contract_, bool require_) external onlyOwner {
        _passcard = contract_;
        _passcardRequired = require_;
    }

    function updateMapBuildFee(int32 mapIndex_, uint256 buildFee_) external onlyOwner {
        _mapBuildFee[mapIndex_] = buildFee_;
    }

    function updateMapIndex(int32 mapIndex_, int32 x1, int32 y1, int32 x2, int32 y2) external onlyOwner {
        _mapInfo[mapIndex_] = abi.encode(x1,y1,x2,y2);
    }

    function updateBuildType(uint256 nftType, uint256 fragmentNeeded, int32 w, int32 h) external onlyOwner {
        _typeExtension[nftType] = abi.encode(fragmentNeeded, w, h);
    }

    function updateURI(string memory uri_) external onlyOwner {
        _base_URI = uri_;
    }

    function updatePath(string memory path_) external onlyOwner {
        _path = path_;
    }

    function updateBuildStatus(bool build_) external onlyOwner {
        _building = build_;
    }

    function setBuildingDisable(int32 mapIndex, uint256 nftType, uint256 flag) external onlyOwner {
        _disabledBuilding[mapIndex][nftType] = flag;
    }

    function withdrawTo(address targetAddress) external onlyOwner {
        payable(targetAddress).transfer(address(this).balance);
    }

    function withdrawLimit(address targetAddress, uint256 amount) external onlyOwner {
        payable(targetAddress).transfer(amount);
    }
}

File 2 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 be 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 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 4 of 14 : IBuilderMaterial.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IBuilderMaterial {
      function spendMaterialToBuild(address owner, uint256 spend) external;
}

File 5 of 14 : IPasscard.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IPasscard {
      function qualified(address owner, uint256 buildType) external returns(bool);
}

File 6 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement 
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex != end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 7 of 14 : 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 8 of 14 : 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 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 10 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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://diligence.consensys.net/posts/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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 14 of 14 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":"builder","type":"address"},{"indexed":false,"internalType":"bytes","name":"buildingInfo","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"buildTime","type":"uint256"}],"name":"BuildEvent","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"int32","name":"mapIndex_","type":"int32"},{"internalType":"uint256","name":"nftType","type":"uint256"}],"name":"_availableToBuild","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"}],"name":"_buildingSize","outputs":[{"internalType":"int32","name":"width","type":"int32"},{"internalType":"int32","name":"height","type":"int32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int32","name":"mapIndex","type":"int32"}],"name":"_mapExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_poorlandMaterialContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"}],"name":"_typeSupport","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int32","name":"mapIndex","type":"int32"},{"internalType":"uint256","name":"nftType","type":"uint256"},{"internalType":"int32","name":"x","type":"int32"},{"internalType":"int32","name":"y","type":"int32"}],"name":"build","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"}],"name":"calculatePayment","outputs":[{"internalType":"uint256","name":"poorlandMaterial","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int32","name":"mapIndex","type":"int32"}],"name":"getMapInfo","outputs":[{"internalType":"int32","name":"x1","type":"int32"},{"internalType":"int32","name":"y1","type":"int32"},{"internalType":"int32","name":"x2","type":"int32"},{"internalType":"int32","name":"y2","type":"int32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"listMyNFT","outputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","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":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","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":"int32","name":"mapIndex","type":"int32"},{"internalType":"uint256","name":"nftType","type":"uint256"},{"internalType":"uint256","name":"flag","type":"uint256"}],"name":"setBuildingDisable","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"build_","type":"bool"}],"name":"updateBuildStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftType","type":"uint256"},{"internalType":"uint256","name":"fragmentNeeded","type":"uint256"},{"internalType":"int32","name":"w","type":"int32"},{"internalType":"int32","name":"h","type":"int32"}],"name":"updateBuildType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int32","name":"mapIndex_","type":"int32"},{"internalType":"uint256","name":"buildFee_","type":"uint256"}],"name":"updateMapBuildFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int32","name":"mapIndex_","type":"int32"},{"internalType":"int32","name":"x1","type":"int32"},{"internalType":"int32","name":"y1","type":"int32"},{"internalType":"int32","name":"x2","type":"int32"},{"internalType":"int32","name":"y2","type":"int32"}],"name":"updateMapIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contract_","type":"address"},{"internalType":"bool","name":"require_","type":"bool"}],"name":"updatePasscard","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"path_","type":"string"}],"name":"updatePath","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"targetAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"targetAddress","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600d60006101000a81548160ff0219169083151502179055506040518060400160405280601c81526020017f68747470733a2f2f676174657761792e706f6f726c616e642e696f2f00000000815250600e90805190602001906200006c9291906200035b565b5060405180606001604052806034815260200162005ee260349139600f90805190602001906200009e9291906200035b565b506001601060006101000a81548160ff021916908315150217905550348015620000c757600080fd5b506040518060400160405280601181526020017f506f6f724c616e644d65746176657273650000000000000000000000000000008152506040518060400160405280600381526020017f504c4d000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200014c9291906200035b565b508060039080519060200190620001659291906200035b565b50620001766200028860201b60201c565b60008190555050506200019e620001926200028d60201b60201c565b6200029560201b60201c565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90905060006070905060006070905060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9090506000848484846040516020016200020f9493929190620004ad565b60405160208183030381529060405290508060096000600160030b815260200190815260200160002090805190602001906200024d929190620003ec565b506001600c6000600160030b81526020019081526020016000206000602981526020019081526020016000208190555050505050506200056c565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003699062000507565b90600052602060002090601f0160209004810192826200038d5760008555620003d9565b82601f10620003a857805160ff1916838001178555620003d9565b82800160010185558215620003d9579182015b82811115620003d8578251825591602001919060010190620003bb565b5b509050620003e891906200047d565b5090565b828054620003fa9062000507565b90600052602060002090601f0160209004810192826200041e57600085556200046a565b82601f106200043957805160ff19168380011785556200046a565b828001600101855582156200046a579182015b82811115620004695782518255916020019190600101906200044c565b5b5090506200047991906200047d565b5090565b5b80821115620004985760008160009055506001016200047e565b5090565b620004a781620004fa565b82525050565b6000608082019050620004c460008301876200049c565b620004d360208301866200049c565b620004e260408301856200049c565b620004f160608301846200049c565b95945050505050565b60008160030b9050919050565b600060028204905060018216806200052057607f821691505b602082108114156200053757620005366200053d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b615966806200057c6000396000f3fe60806040526004361061021a5760003560e01c806372b0d90c11610123578063a848a45b116100ab578063d6f487c91161006f578063d6f487c914610819578063e04081dd14610844578063e985e9c514610884578063ed1048c8146108c1578063f2fde38b146108ea5761021a565b8063a848a45b14610724578063acf422041461074d578063b88d4fde1461078a578063c30f4a5a146107b3578063c87b56dd146107dc5761021a565b806391afc05d116100f257806391afc05d146106625780639586ecde1461068b57806395d89b41146106b4578063976595f5146106df578063a22cb465146106fb5761021a565b806372b0d90c146105945780638c11e7e7146105bd5780638c67f63a146105fa5780638da5cb5b146106375761021a565b80633c43dc25116101a657806342842e0e1161017557806342842e0e146104b15780634e23ae6c146104da5780636352211e1461050357806370a0823114610540578063715018a61461057d5761021a565b80633c43dc25146103d05780633e62cf501461040e5780633f14e8d51461043757806342184a2d146104745761021a565b80630fb5ae27116101ed5780630fb5ae27146102ed57806318160ddd146103165780631a48fe32146103415780631e7269c51461036a57806323b872dd146103a75761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190614288565b610913565b6040516102539190614bf8565b60405180910390f35b34801561026857600080fd5b50610271610925565b60405161027e9190614d04565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a9919061450c565b6109b7565b6040516102bb9190614b1d565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906141fa565b610a33565b005b3480156102f957600080fd5b50610314600480360381019061030f91906145ad565b610b3e565b005b34801561032257600080fd5b5061032b610c0b565b6040516103389190614fa6565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190614236565b610c22565b005b34801561037657600080fd5b50610391600480360381019061038c919061408f565b610cbb565b60405161039e9190614fa6565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c991906140f4565b610ccd565b005b3480156103dc57600080fd5b506103f760048036038101906103f2919061450c565b610cdd565b604051610405929190614c43565b60405180910390f35b34801561041a57600080fd5b50610435600480360381019061043091906144cb565b610e10565b005b34801561044357600080fd5b5061045e6004803603810190610459919061408f565b610ea6565b60405161046b9190614bd6565b60405180910390f35b34801561048057600080fd5b5061049b600480360381019061049691906143dd565b610fe5565b6040516104a89190614bf8565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d391906140f4565b61102d565b005b3480156104e657600080fd5b5061050160048036038101906104fc91906141fa565b61104d565b005b34801561050f57600080fd5b5061052a6004803603810190610525919061450c565b611114565b6040516105379190614b1d565b60405180910390f35b34801561054c57600080fd5b506105676004803603810190610562919061408f565b61112a565b6040516105749190614fa6565b60405180910390f35b34801561058957600080fd5b506105926111fa565b005b3480156105a057600080fd5b506105bb60048036038101906105b6919061408f565b611282565b005b3480156105c957600080fd5b506105e460048036038101906105df91906142da565b611348565b6040516105f19190614bf8565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c919061450c565b611390565b60405161062e9190614fa6565b60405180910390f35b34801561064357600080fd5b5061064c6114a2565b6040516106599190614b1d565b60405180910390f35b34801561066e57600080fd5b50610689600480360381019061068491906143dd565b6114cc565b005b34801561069757600080fd5b506106b260048036038101906106ad91906141be565b61156a565b005b3480156106c057600080fd5b506106c9611645565b6040516106d69190614d04565b60405180910390f35b6106f960048036038101906106f49190614419565b6116d7565b005b34801561070757600080fd5b50610722600480360381019061071d91906141be565b611bb3565b005b34801561073057600080fd5b5061074b60048036038101906107469190614366565b611d2b565b005b34801561075957600080fd5b50610774600480360381019061076f919061450c565b611e01565b6040516107819190614bf8565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac9190614143565b611e61565b005b3480156107bf57600080fd5b506107da60048036038101906107d591906144cb565b611edd565b005b3480156107e857600080fd5b5061080360048036038101906107fe919061450c565b611f73565b6040516108109190614d04565b60405180910390f35b34801561082557600080fd5b5061082e61201e565b60405161083b9190614b1d565b60405180910390f35b34801561085057600080fd5b5061086b600480360381019061086691906142da565b612036565b60405161087b9493929190614c6c565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a691906140b8565b612108565b6040516108b89190614bf8565b60405180910390f35b3480156108cd57600080fd5b506108e860048036038101906108e3919061447c565b61219c565b005b3480156108f657600080fd5b50610911600480360381019061090c919061408f565b61224c565b005b600061091e82612344565b9050919050565b60606002805461093490615390565b80601f016020809104026020016040519081016040528092919081815260200182805461096090615390565b80156109ad5780601f10610982576101008083540402835291602001916109ad565b820191906000526020600020905b81548152906001019060200180831161099057829003601f168201915b5050505050905090565b60006109c282612426565b6109f8576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3e82611114565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac5612474565b73ffffffffffffffffffffffffffffffffffffffff1614158015610af75750610af581610af0612474565b612108565b155b15610b2e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3983838361247c565b505050565b610b46612474565b73ffffffffffffffffffffffffffffffffffffffff16610b646114a2565b73ffffffffffffffffffffffffffffffffffffffff1614610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb190614ea6565b60405180910390fd5b828282604051602001610bcf93929190614fc1565b604051602081830303815290604052601360008681526020019081526020016000209080519060200190610c04929190613d96565b5050505050565b6000610c1561252e565b6001546000540303905090565b610c2a612474565b73ffffffffffffffffffffffffffffffffffffffff16610c486114a2565b73ffffffffffffffffffffffffffffffffffffffff1614610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590614ea6565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000610cc682612533565b9050919050565b610cd883838361259d565b505050565b600080600b831415610cf55760038091509150610e0b565b6015831415610d0a57600a8091509150610e0b565b601f831415610d1f5760208091509150610e0b565b6029831415610d345760648091509150610e0b565b610d3d83611e01565b15610e0a576000806000601360008781526020019081526020016000208054610d6590615390565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9190615390565b8015610dde5780601f10610db357610100808354040283529160200191610dde565b820191906000526020600020905b815481529060010190602001808311610dc157829003601f168201915b5050505050806020019051810190610df6919061455e565b925092509250818194509450505050610e0b565b5b915091565b610e18612474565b73ffffffffffffffffffffffffffffffffffffffff16610e366114a2565b73ffffffffffffffffffffffffffffffffffffffff1614610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8390614ea6565b60405180910390fd5b80600f9080519060200190610ea2929190613e1c565b5050565b60606000610eb38361112a565b90508067ffffffffffffffff811115610ef5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f235781602001602082028036833780820191505090505b5091506000805b610f32610c0b565b811015610fdd578473ffffffffffffffffffffffffffffffffffffffff16610f5982611114565b73ffffffffffffffffffffffffffffffffffffffff161415610fca5780848381518110610faf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610fc6906153f3565b9250505b8080610fd5906153f3565b915050610f2a565b505050919050565b600080600c60008560030b60030b815260200190815260200160002060008481526020019081526020016000205414156110225760019050611027565b600090505b92915050565b61104883838360405180602001604052806000815250611e61565b505050565b611055612474565b73ffffffffffffffffffffffffffffffffffffffff166110736114a2565b73ffffffffffffffffffffffffffffffffffffffff16146110c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c090614ea6565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561110f573d6000803e3d6000fd5b505050565b600061111f82612a53565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611192576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611202612474565b73ffffffffffffffffffffffffffffffffffffffff166112206114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90614ea6565b60405180910390fd5b6112806000612ce2565b565b61128a612474565b73ffffffffffffffffffffffffffffffffffffffff166112a86114a2565b73ffffffffffffffffffffffffffffffffffffffff16146112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f590614ea6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611344573d6000803e3d6000fd5b5050565b600060018260030b141561135f576001905061138b565b6000600960008460030b60030b8152602001908152602001600020805461138590615390565b90501190505b919050565b6000600b8214156113a457600a905061149d565b60158214156113b6576064905061149d565b601f8214156113c9576103e8905061149d565b60298214156113dc57612710905061149d565b60008060006013600086815260200190815260200160002080546113ff90615390565b80601f016020809104026020016040519081016040528092919081815260200182805461142b90615390565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b5050505050806020019051810190611490919061455e565b9250925092508293505050505b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114d4612474565b73ffffffffffffffffffffffffffffffffffffffff166114f26114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f90614ea6565b60405180910390fd5b80601260008460030b60030b8152602001908152602001600020819055505050565b611572612474565b73ffffffffffffffffffffffffffffffffffffffff166115906114a2565b73ffffffffffffffffffffffffffffffffffffffff16146115e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dd90614ea6565b60405180910390fd5b81600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a81548160ff0219169083151502179055505050565b60606003805461165490615390565b80601f016020809104026020016040519081016040528092919081815260200182805461168090615390565b80156116cd5780601f106116a2576101008083540402835291602001916116cd565b820191906000526020600020905b8154815290600101906020018083116116b057829003601f168201915b5050505050905090565b601060009054906101000a900460ff16611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90614e26565b60405180910390fd5b61172f83611e01565b61176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590614da6565b60405180910390fd5b61177784611348565b6117b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ad90614de6565b60405180910390fd5b6117c08484610fe5565b6117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614e66565b60405180910390fd5b6118093384612da8565b611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f90614e86565b60405180910390fd5b61185484848484612edf565b611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90614ee6565b60405180910390fd5b6000601260008660030b60030b815260200190815260200160002054905060008111156118fe57803410156118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490614d66565b60405180910390fd5b5b600061190985611390565b9050600073045737619bb0fe286ffb8c9c81117bc4ab5c997f73ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b815260040161195c929190614b84565b60206040518083038186803b15801561197457600080fd5b505afa158015611988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ac9190614535565b9050818110156119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890614ec6565b60405180910390fd5b73045737619bb0fe286ffb8c9c81117bc4ab5c997f73ffffffffffffffffffffffffffffffffffffffff16636a73efb833846040518363ffffffff1660e01b8152600401611a40929190614bad565b600060405180830381600087803b158015611a5a57600080fd5b505af1158015611a6e573d6000803e3d6000fd5b505050506000611a7c6130f6565b611a8461252e565b611a8e9190615188565b9050611a9b336001613109565b60008882898989604051602001611ab6959493929190614cb1565b60405160208183030381529060405290506000888888604051602001611ade93929190614fc1565b604051602081830303815290604052905080600b60008581526020019081526020016000209080519060200190611b16929190613d96565b50600a60008b60030b60030b81526020019081526020016000208390806001815401808255809150506001900390600052602060002001600090919091909150553373ffffffffffffffffffffffffffffffffffffffff167f8a111a7a78a35acf322272447bb91f85a96c0c2f5055f15c29271f479a6b3b8f8342604051611b9f929190614c13565b60405180910390a250505050505050505050565b611bbb612474565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c20576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c2d612474565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cda612474565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d1f9190614bf8565b60405180910390a35050565b611d33612474565b73ffffffffffffffffffffffffffffffffffffffff16611d516114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9e90614ea6565b60405180910390fd5b83838383604051602001611dbe9493929190614c6c565b604051602081830303815290604052600960008760030b60030b81526020019081526020016000209080519060200190611df9929190613d96565b505050505050565b6000600b821480611e125750601582145b80611e1d5750601f82145b80611e285750602982145b15611e365760019050611e5c565b6000601360008481526020019081526020016000208054611e5690615390565b90501190505b919050565b611e6c84848461259d565b611e8b8373ffffffffffffffffffffffffffffffffffffffff16613117565b8015611ea05750611e9e8484848461313a565b155b15611ed7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611ee5612474565b73ffffffffffffffffffffffffffffffffffffffff16611f036114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5090614ea6565b60405180910390fd5b80600e9080519060200190611f6f929190613e1c565b5050565b6060611f7e82612426565b611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb490614e46565b60405180910390fd5b6000600e8054611fcc90615390565b905011611fe85760405180602001604052806000815250612017565b600e600f611ff58461329a565b60405160200161200793929190614ae1565b6040516020818303038152906040525b9050919050565b73045737619bb0fe286ffb8c9c81117bc4ab5c997f81565b600080600080600960008660030b60030b8152602001908152602001600020805461206090615390565b80601f016020809104026020016040519081016040528092919081815260200182805461208c90615390565b80156120d95780601f106120ae576101008083540402835291602001916120d9565b820191906000526020600020905b8154815290600101906020018083116120bc57829003601f168201915b50505050508060200190518101906120f19190614303565b809450819550829650839750505050509193509193565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121a4612474565b73ffffffffffffffffffffffffffffffffffffffff166121c26114a2565b73ffffffffffffffffffffffffffffffffffffffff1614612218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220f90614ea6565b60405180910390fd5b80600c60008560030b60030b8152602001908152602001600020600084815260200190815260200160002081905550505050565b612254612474565b73ffffffffffffffffffffffffffffffffffffffff166122726114a2565b73ffffffffffffffffffffffffffffffffffffffff16146122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf90614ea6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614d86565b60405180910390fd5b61234181612ce2565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061240f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061241f575061241e82613447565b5b9050919050565b60008161243161252e565b11158015612440575060005482105b801561246d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60006125a882612a53565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612613576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612634612474565b73ffffffffffffffffffffffffffffffffffffffff16148061266357506126628561265d612474565b612108565b5b806126a85750612671612474565b73ffffffffffffffffffffffffffffffffffffffff16612690846109b7565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806126e1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612748576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61275585858560016134b1565b6127616000848761247c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156129e15760005482146129e057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a4c85858560016134b7565b5050505050565b612a5b613ea2565b600082905080612a6961252e565b11158015612a78575060005481105b15612cab576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612ca957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b8d578092505050612cdd565b5b600115612ca857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ca3578092505050612cdd565b612b8e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480612e19575060001515600d60009054906101000a900460ff161515145b15612e275760019050612ed9565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637be4072184846040518363ffffffff1660e01b8152600401612e84929190614bad565b602060405180830381600087803b158015612e9e57600080fd5b505af1158015612eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed6919061425f565b90505b92915050565b6000612eed858585856134bd565b612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2390614d46565b60405180910390fd5b6000600a60008760030b60030b8152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612f9157602002820191906000526020600020905b815481526020019060010190808311612f7d575b50505050509050600080612fa487610cdd565b9150915060005b83518110156130e6576000806000600b6000888681518110612ff6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020805461301790615390565b80601f016020809104026020016040519081016040528092919081815260200182805461304390615390565b80156130905780601f1061306557610100808354040283529160200191613090565b820191906000526020600020905b81548152906001019060200180831161307357829003601f168201915b50505050508060200190518101906130a8919061455e565b9250925092506000806130ba85610cdd565b915091506130ce8c8c8a8a8888888861371a565b505050505080806130de906153f3565b915050612fab565b5060019350505050949350505050565b600061310061252e565b60005403905090565b61311382826139b4565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613160612474565b8786866040518563ffffffff1660e01b81526004016131829493929190614b38565b602060405180830381600087803b15801561319c57600080fd5b505af19250505080156131cd57506040513d601f19601f820116820180604052508101906131ca91906142b1565b60015b613247573d80600081146131fd576040519150601f19603f3d011682016040523d82523d6000602084013e613202565b606091505b5060008151141561323f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156132e2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613442565b600082905060005b600082146133145780806132fd906153f3565b915050600a8261330d91906151de565b91506132ea565b60008167ffffffffffffffff811115613356577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133885781602001600182028036833780820191505090505b5090505b6000851461343b576001826133a19190615287565b9150600a856133b0919061543c565b60306133bc9190615188565b60f81b8183815181106133f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561343491906151de565b945061338c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b6000806000806000600960008a60030b60030b815260200190815260200160002080546134e990615390565b80601f016020809104026020016040519081016040528092919081815260200182805461351590615390565b80156135625780601f1061353757610100808354040283529160200191613562565b820191906000526020600020905b81548152906001019060200180831161354557829003601f168201915b505050505080602001905181019061357a9190614303565b935093509350935060008061358e8a610cdd565b915091508560030b8960030b121580156135ae57508360030b8960030b13155b6135ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e490614e06565b60405180910390fd5b8460030b8860030b1315801561360957508260030b8860030b12155b613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90614dc6565b60405180910390fd5b8360030b6001838b61365a9190615110565b613664919061520f565b60030b13156136a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369f90614f06565b60405180910390fd5b8260030b6001828a6136ba919061520f565b6136c49190615110565b60030b1215613708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ff90614f66565b60405180910390fd5b60019650505050505050949350505050565b60006001878a61372a9190615110565b613734919061520f565b905060006001878a613746919061520f565b6137509190615110565b90506000600185886137629190615110565b61376c919061520f565b905060006001858861377e919061520f565b6137889190615110565b90508760030b8c60030b121580156137a657508160030b8c60030b13155b80156137b857508660030b8b60030b13155b80156137ca57508060030b8b60030b12155b15613811576000613810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380790614f86565b60405180910390fd5b5b8760030b8460030b1215801561382d57508160030b8460030b13155b801561383f57508660030b8b60030b13155b801561385157508060030b8b60030b12155b15613898576000613897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388e90614f26565b60405180910390fd5b5b8760030b8c60030b121580156138b457508160030b8c60030b13155b80156138c657508660030b8360030b13155b80156138d857508060030b8360030b12155b1561391f57600061391e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391590614d26565b60405180910390fd5b5b8760030b8460030b1215801561393b57508160030b8460030b13155b801561394d57508660030b8360030b13155b801561395f57508060030b8360030b12155b156139a65760006139a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399c90614f46565b60405180910390fd5b5b505050505050505050505050565b6139ce8282604051806020016040528060008152506139d2565b5050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613a3f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613a7a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a8760008583866134b1565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050613c488673ffffffffffffffffffffffffffffffffffffffff16613117565b15613d0e575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cbd600087848060010195508761313a565b613cf3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613c4e578260005414613d0957600080fd5b613d7a565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d0f575b816000819055505050613d9060008583866134b7565b50505050565b828054613da290615390565b90600052602060002090601f016020900481019282613dc45760008555613e0b565b82601f10613ddd57805160ff1916838001178555613e0b565b82800160010185558215613e0b579182015b82811115613e0a578251825591602001919060010190613def565b5b509050613e189190613ee5565b5090565b828054613e2890615390565b90600052602060002090601f016020900481019282613e4a5760008555613e91565b82601f10613e6357805160ff1916838001178555613e91565b82800160010185558215613e91579182015b82811115613e90578251825591602001919060010190613e75565b5b509050613e9e9190613ee5565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613efe576000816000905550600101613ee6565b5090565b6000613f15613f108461501d565b614ff8565b905082815260208101848484011115613f2d57600080fd5b613f3884828561534e565b509392505050565b6000613f53613f4e8461504e565b614ff8565b905082815260208101848484011115613f6b57600080fd5b613f7684828561534e565b509392505050565b600081359050613f8d816158bd565b92915050565b600081359050613fa2816158d4565b92915050565b600081519050613fb7816158d4565b92915050565b600081359050613fcc816158eb565b92915050565b600081519050613fe1816158eb565b92915050565b600082601f830112613ff857600080fd5b8135614008848260208601613f02565b91505092915050565b60008135905061402081615902565b92915050565b60008151905061403581615902565b92915050565b600082601f83011261404c57600080fd5b813561405c848260208601613f40565b91505092915050565b60008135905061407481615919565b92915050565b60008151905061408981615919565b92915050565b6000602082840312156140a157600080fd5b60006140af84828501613f7e565b91505092915050565b600080604083850312156140cb57600080fd5b60006140d985828601613f7e565b92505060206140ea85828601613f7e565b9150509250929050565b60008060006060848603121561410957600080fd5b600061411786828701613f7e565b935050602061412886828701613f7e565b925050604061413986828701614065565b9150509250925092565b6000806000806080858703121561415957600080fd5b600061416787828801613f7e565b945050602061417887828801613f7e565b935050604061418987828801614065565b925050606085013567ffffffffffffffff8111156141a657600080fd5b6141b287828801613fe7565b91505092959194509250565b600080604083850312156141d157600080fd5b60006141df85828601613f7e565b92505060206141f085828601613f93565b9150509250929050565b6000806040838503121561420d57600080fd5b600061421b85828601613f7e565b925050602061422c85828601614065565b9150509250929050565b60006020828403121561424857600080fd5b600061425684828501613f93565b91505092915050565b60006020828403121561427157600080fd5b600061427f84828501613fa8565b91505092915050565b60006020828403121561429a57600080fd5b60006142a884828501613fbd565b91505092915050565b6000602082840312156142c357600080fd5b60006142d184828501613fd2565b91505092915050565b6000602082840312156142ec57600080fd5b60006142fa84828501614011565b91505092915050565b6000806000806080858703121561431957600080fd5b600061432787828801614026565b945050602061433887828801614026565b935050604061434987828801614026565b925050606061435a87828801614026565b91505092959194509250565b600080600080600060a0868803121561437e57600080fd5b600061438c88828901614011565b955050602061439d88828901614011565b94505060406143ae88828901614011565b93505060606143bf88828901614011565b92505060806143d088828901614011565b9150509295509295909350565b600080604083850312156143f057600080fd5b60006143fe85828601614011565b925050602061440f85828601614065565b9150509250929050565b6000806000806080858703121561442f57600080fd5b600061443d87828801614011565b945050602061444e87828801614065565b935050604061445f87828801614011565b925050606061447087828801614011565b91505092959194509250565b60008060006060848603121561449157600080fd5b600061449f86828701614011565b93505060206144b086828701614065565b92505060406144c186828701614065565b9150509250925092565b6000602082840312156144dd57600080fd5b600082013567ffffffffffffffff8111156144f757600080fd5b6145038482850161403b565b91505092915050565b60006020828403121561451e57600080fd5b600061452c84828501614065565b91505092915050565b60006020828403121561454757600080fd5b60006145558482850161407a565b91505092915050565b60008060006060848603121561457357600080fd5b60006145818682870161407a565b935050602061459286828701614026565b92505060406145a386828701614026565b9150509250925092565b600080600080608085870312156145c357600080fd5b60006145d187828801614065565b94505060206145e287828801614065565b93505060406145f387828801614011565b925050606061460487828801614011565b91505092959194509250565b600061461c8383614ac3565b60208301905092915050565b614631816152bb565b82525050565b6000614642826150a4565b61464c81856150d2565b93506146578361507f565b8060005b8381101561468857815161466f8882614610565b975061467a836150c5565b92505060018101905061465b565b5085935050505092915050565b61469e816152cd565b82525050565b60006146af826150af565b6146b981856150e3565b93506146c981856020860161535d565b6146d281615529565b840191505092915050565b6146e681615305565b82525050565b6146f58161533c565b82525050565b6000614706826150ba565b61471081856150f4565b935061472081856020860161535d565b61472981615529565b840191505092915050565b600061473f826150ba565b6147498185615105565b935061475981856020860161535d565b80840191505092915050565b6000815461477281615390565b61477c8186615105565b9450600182166000811461479757600181146147a8576147db565b60ff198316865281860193506147db565b6147b18561508f565b60005b838110156147d3578154818901526001820191506020810190506147b4565b838801955050505b50505092915050565b60006147f1600f836150f4565b91506147fc8261553a565b602082019050919050565b6000614814600a836150f4565b915061481f82615563565b602082019050919050565b60006148376017836150f4565b91506148428261558c565b602082019050919050565b600061485a6026836150f4565b9150614865826155b5565b604082019050919050565b600061487d600b836150f4565b915061488882615604565b602082019050919050565b60006148a06005836150f4565b91506148ab8261562d565b602082019050919050565b60006148c36009836150f4565b91506148ce82615656565b602082019050919050565b60006148e66005836150f4565b91506148f18261567f565b602082019050919050565b6000614909600d836150f4565b9150614914826156a8565b602082019050919050565b600061492c6011836150f4565b9150614937826156d1565b602082019050919050565b600061494f600583615105565b915061495a826156fa565b600582019050919050565b6000614972600f836150f4565b915061497d82615723565b602082019050919050565b60006149956011836150f4565b91506149a08261574c565b602082019050919050565b60006149b86020836150f4565b91506149c382615775565b602082019050919050565b60006149db6016836150f4565b91506149e68261579e565b602082019050919050565b60006149fe6010836150f4565b9150614a09826157c7565b602082019050919050565b6000614a216014836150f4565b9150614a2c826157f0565b602082019050919050565b6000614a44600d836150f4565b9150614a4f82615819565b602082019050919050565b6000614a676010836150f4565b9150614a7282615842565b602082019050919050565b6000614a8a6014836150f4565b9150614a958261586b565b602082019050919050565b6000614aad600c836150f4565b9150614ab882615894565b602082019050919050565b614acc81615332565b82525050565b614adb81615332565b82525050565b6000614aed8286614765565b9150614af98285614765565b9150614b058284614734565b9150614b1082614942565b9150819050949350505050565b6000602082019050614b326000830184614628565b92915050565b6000608082019050614b4d6000830187614628565b614b5a6020830186614628565b614b676040830185614ad2565b8181036060830152614b7981846146a4565b905095945050505050565b6000604082019050614b996000830185614628565b614ba660208301846146ec565b9392505050565b6000604082019050614bc26000830185614628565b614bcf6020830184614ad2565b9392505050565b60006020820190508181036000830152614bf08184614637565b905092915050565b6000602082019050614c0d6000830184614695565b92915050565b60006040820190508181036000830152614c2d81856146a4565b9050614c3c6020830184614ad2565b9392505050565b6000604082019050614c5860008301856146dd565b614c6560208301846146dd565b9392505050565b6000608082019050614c8160008301876146dd565b614c8e60208301866146dd565b614c9b60408301856146dd565b614ca860608301846146dd565b95945050505050565b600060a082019050614cc660008301886146dd565b614cd36020830187614ad2565b614ce06040830186614ad2565b614ced60608301856146dd565b614cfa60808301846146dd565b9695505050505050565b60006020820190508181036000830152614d1e81846146fb565b905092915050565b60006020820190508181036000830152614d3f816147e4565b9050919050565b60006020820190508181036000830152614d5f81614807565b9050919050565b60006020820190508181036000830152614d7f8161482a565b9050919050565b60006020820190508181036000830152614d9f8161484d565b9050919050565b60006020820190508181036000830152614dbf81614870565b9050919050565b60006020820190508181036000830152614ddf81614893565b9050919050565b60006020820190508181036000830152614dff816148b6565b9050919050565b60006020820190508181036000830152614e1f816148d9565b9050919050565b60006020820190508181036000830152614e3f816148fc565b9050919050565b60006020820190508181036000830152614e5f8161491f565b9050919050565b60006020820190508181036000830152614e7f81614965565b9050919050565b60006020820190508181036000830152614e9f81614988565b9050919050565b60006020820190508181036000830152614ebf816149ab565b9050919050565b60006020820190508181036000830152614edf816149ce565b9050919050565b60006020820190508181036000830152614eff816149f1565b9050919050565b60006020820190508181036000830152614f1f81614a14565b9050919050565b60006020820190508181036000830152614f3f81614a37565b9050919050565b60006020820190508181036000830152614f5f81614a5a565b9050919050565b60006020820190508181036000830152614f7f81614a7d565b9050919050565b60006020820190508181036000830152614f9f81614aa0565b9050919050565b6000602082019050614fbb6000830184614ad2565b92915050565b6000606082019050614fd66000830186614ad2565b614fe360208301856146dd565b614ff060408301846146dd565b949350505050565b6000615002615013565b905061500e82826153c2565b919050565b6000604051905090565b600067ffffffffffffffff821115615038576150376154fa565b5b61504182615529565b9050602081019050919050565b600067ffffffffffffffff821115615069576150686154fa565b5b61507282615529565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061511b82615305565b915061512683615305565b925081637fffffff038313600083121516156151455761514461546d565b5b817fffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000000003831260008312161561517d5761517c61546d565b5b828201905092915050565b600061519382615332565b915061519e83615332565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151d3576151d261546d565b5b828201905092915050565b60006151e982615332565b91506151f483615332565b9250826152045761520361549c565b5b828204905092915050565b600061521a82615305565b915061522583615305565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000018212600084121516156152605761525f61546d565b5b82637fffffff01821360008412161561527c5761527b61546d565b5b828203905092915050565b600061529282615332565b915061529d83615332565b9250828210156152b0576152af61546d565b5b828203905092915050565b60006152c682615312565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008160030b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061534782615332565b9050919050565b82818337600083830152505050565b60005b8381101561537b578082015181840152602081019050615360565b8381111561538a576000848401525b50505050565b600060028204905060018216806153a857607f821691505b602082108114156153bc576153bb6154cb565b5b50919050565b6153cb82615529565b810181811067ffffffffffffffff821117156153ea576153e96154fa565b5b80604052505050565b60006153fe82615332565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154315761543061546d565b5b600182019050919050565b600061544782615332565b915061545283615332565b9250826154625761546161549c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6c65667420626f74746f6d206869740000000000000000000000000000000000600082015250565b7f68697420626f7264657200000000000000000000000000000000000000000000600082015250565b7f6275696c6420666565206973206e6f7420656e6f756768000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420737570706f7274000000000000000000000000000000000000000000600082015250565b7f79206f7574000000000000000000000000000000000000000000000000000000600082015250565b7f6e6f742065786973740000000000000000000000000000000000000000000000600082015250565b7f78206f7574000000000000000000000000000000000000000000000000000000600082015250565b7f6e6f742073746172742079657400000000000000000000000000000000000000600082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f63616e2774206275696c64206e6f770000000000000000000000000000000000600082015250565b7f7061737363617264207265717569726564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f467261676d656e74206973206e6f7420656e6f75676800000000000000000000600082015250565b7f68697420616e6f74686572206172656100000000000000000000000000000000600082015250565b7f78202b2077202d203120626f72646572206f7574000000000000000000000000600082015250565b7f726967687420746f702068697400000000000000000000000000000000000000600082015250565b7f726967687420626f74746f6d2068697400000000000000000000000000000000600082015250565b7f79202d2068202b203120626f72646572206f7574000000000000000000000000600082015250565b7f6c65667420746f70206869740000000000000000000000000000000000000000600082015250565b6158c6816152bb565b81146158d157600080fd5b50565b6158dd816152cd565b81146158e857600080fd5b50565b6158f4816152d9565b81146158ff57600080fd5b50565b61590b81615305565b811461591657600080fd5b50565b61592281615332565b811461592d57600080fd5b5056fea2646970667358221220ea218294b43d4e4480f727ad99907596ac1ea89fc829e4943cfc6d29eb0ff95f64736f6c63430008040033697066732f516d595948654d6b755a416f50704270696a6e7077414463646652586161376a7077636e705737317554384e44462f

Deployed Bytecode

0x60806040526004361061021a5760003560e01c806372b0d90c11610123578063a848a45b116100ab578063d6f487c91161006f578063d6f487c914610819578063e04081dd14610844578063e985e9c514610884578063ed1048c8146108c1578063f2fde38b146108ea5761021a565b8063a848a45b14610724578063acf422041461074d578063b88d4fde1461078a578063c30f4a5a146107b3578063c87b56dd146107dc5761021a565b806391afc05d116100f257806391afc05d146106625780639586ecde1461068b57806395d89b41146106b4578063976595f5146106df578063a22cb465146106fb5761021a565b806372b0d90c146105945780638c11e7e7146105bd5780638c67f63a146105fa5780638da5cb5b146106375761021a565b80633c43dc25116101a657806342842e0e1161017557806342842e0e146104b15780634e23ae6c146104da5780636352211e1461050357806370a0823114610540578063715018a61461057d5761021a565b80633c43dc25146103d05780633e62cf501461040e5780633f14e8d51461043757806342184a2d146104745761021a565b80630fb5ae27116101ed5780630fb5ae27146102ed57806318160ddd146103165780631a48fe32146103415780631e7269c51461036a57806323b872dd146103a75761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190614288565b610913565b6040516102539190614bf8565b60405180910390f35b34801561026857600080fd5b50610271610925565b60405161027e9190614d04565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a9919061450c565b6109b7565b6040516102bb9190614b1d565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906141fa565b610a33565b005b3480156102f957600080fd5b50610314600480360381019061030f91906145ad565b610b3e565b005b34801561032257600080fd5b5061032b610c0b565b6040516103389190614fa6565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190614236565b610c22565b005b34801561037657600080fd5b50610391600480360381019061038c919061408f565b610cbb565b60405161039e9190614fa6565b60405180910390f35b3480156103b357600080fd5b506103ce60048036038101906103c991906140f4565b610ccd565b005b3480156103dc57600080fd5b506103f760048036038101906103f2919061450c565b610cdd565b604051610405929190614c43565b60405180910390f35b34801561041a57600080fd5b50610435600480360381019061043091906144cb565b610e10565b005b34801561044357600080fd5b5061045e6004803603810190610459919061408f565b610ea6565b60405161046b9190614bd6565b60405180910390f35b34801561048057600080fd5b5061049b600480360381019061049691906143dd565b610fe5565b6040516104a89190614bf8565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d391906140f4565b61102d565b005b3480156104e657600080fd5b5061050160048036038101906104fc91906141fa565b61104d565b005b34801561050f57600080fd5b5061052a6004803603810190610525919061450c565b611114565b6040516105379190614b1d565b60405180910390f35b34801561054c57600080fd5b506105676004803603810190610562919061408f565b61112a565b6040516105749190614fa6565b60405180910390f35b34801561058957600080fd5b506105926111fa565b005b3480156105a057600080fd5b506105bb60048036038101906105b6919061408f565b611282565b005b3480156105c957600080fd5b506105e460048036038101906105df91906142da565b611348565b6040516105f19190614bf8565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c919061450c565b611390565b60405161062e9190614fa6565b60405180910390f35b34801561064357600080fd5b5061064c6114a2565b6040516106599190614b1d565b60405180910390f35b34801561066e57600080fd5b50610689600480360381019061068491906143dd565b6114cc565b005b34801561069757600080fd5b506106b260048036038101906106ad91906141be565b61156a565b005b3480156106c057600080fd5b506106c9611645565b6040516106d69190614d04565b60405180910390f35b6106f960048036038101906106f49190614419565b6116d7565b005b34801561070757600080fd5b50610722600480360381019061071d91906141be565b611bb3565b005b34801561073057600080fd5b5061074b60048036038101906107469190614366565b611d2b565b005b34801561075957600080fd5b50610774600480360381019061076f919061450c565b611e01565b6040516107819190614bf8565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac9190614143565b611e61565b005b3480156107bf57600080fd5b506107da60048036038101906107d591906144cb565b611edd565b005b3480156107e857600080fd5b5061080360048036038101906107fe919061450c565b611f73565b6040516108109190614d04565b60405180910390f35b34801561082557600080fd5b5061082e61201e565b60405161083b9190614b1d565b60405180910390f35b34801561085057600080fd5b5061086b600480360381019061086691906142da565b612036565b60405161087b9493929190614c6c565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a691906140b8565b612108565b6040516108b89190614bf8565b60405180910390f35b3480156108cd57600080fd5b506108e860048036038101906108e3919061447c565b61219c565b005b3480156108f657600080fd5b50610911600480360381019061090c919061408f565b61224c565b005b600061091e82612344565b9050919050565b60606002805461093490615390565b80601f016020809104026020016040519081016040528092919081815260200182805461096090615390565b80156109ad5780601f10610982576101008083540402835291602001916109ad565b820191906000526020600020905b81548152906001019060200180831161099057829003601f168201915b5050505050905090565b60006109c282612426565b6109f8576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3e82611114565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac5612474565b73ffffffffffffffffffffffffffffffffffffffff1614158015610af75750610af581610af0612474565b612108565b155b15610b2e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3983838361247c565b505050565b610b46612474565b73ffffffffffffffffffffffffffffffffffffffff16610b646114a2565b73ffffffffffffffffffffffffffffffffffffffff1614610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb190614ea6565b60405180910390fd5b828282604051602001610bcf93929190614fc1565b604051602081830303815290604052601360008681526020019081526020016000209080519060200190610c04929190613d96565b5050505050565b6000610c1561252e565b6001546000540303905090565b610c2a612474565b73ffffffffffffffffffffffffffffffffffffffff16610c486114a2565b73ffffffffffffffffffffffffffffffffffffffff1614610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590614ea6565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000610cc682612533565b9050919050565b610cd883838361259d565b505050565b600080600b831415610cf55760038091509150610e0b565b6015831415610d0a57600a8091509150610e0b565b601f831415610d1f5760208091509150610e0b565b6029831415610d345760648091509150610e0b565b610d3d83611e01565b15610e0a576000806000601360008781526020019081526020016000208054610d6590615390565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9190615390565b8015610dde5780601f10610db357610100808354040283529160200191610dde565b820191906000526020600020905b815481529060010190602001808311610dc157829003601f168201915b5050505050806020019051810190610df6919061455e565b925092509250818194509450505050610e0b565b5b915091565b610e18612474565b73ffffffffffffffffffffffffffffffffffffffff16610e366114a2565b73ffffffffffffffffffffffffffffffffffffffff1614610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8390614ea6565b60405180910390fd5b80600f9080519060200190610ea2929190613e1c565b5050565b60606000610eb38361112a565b90508067ffffffffffffffff811115610ef5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f235781602001602082028036833780820191505090505b5091506000805b610f32610c0b565b811015610fdd578473ffffffffffffffffffffffffffffffffffffffff16610f5982611114565b73ffffffffffffffffffffffffffffffffffffffff161415610fca5780848381518110610faf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180610fc6906153f3565b9250505b8080610fd5906153f3565b915050610f2a565b505050919050565b600080600c60008560030b60030b815260200190815260200160002060008481526020019081526020016000205414156110225760019050611027565b600090505b92915050565b61104883838360405180602001604052806000815250611e61565b505050565b611055612474565b73ffffffffffffffffffffffffffffffffffffffff166110736114a2565b73ffffffffffffffffffffffffffffffffffffffff16146110c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c090614ea6565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561110f573d6000803e3d6000fd5b505050565b600061111f82612a53565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611192576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611202612474565b73ffffffffffffffffffffffffffffffffffffffff166112206114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90614ea6565b60405180910390fd5b6112806000612ce2565b565b61128a612474565b73ffffffffffffffffffffffffffffffffffffffff166112a86114a2565b73ffffffffffffffffffffffffffffffffffffffff16146112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f590614ea6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611344573d6000803e3d6000fd5b5050565b600060018260030b141561135f576001905061138b565b6000600960008460030b60030b8152602001908152602001600020805461138590615390565b90501190505b919050565b6000600b8214156113a457600a905061149d565b60158214156113b6576064905061149d565b601f8214156113c9576103e8905061149d565b60298214156113dc57612710905061149d565b60008060006013600086815260200190815260200160002080546113ff90615390565b80601f016020809104026020016040519081016040528092919081815260200182805461142b90615390565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b5050505050806020019051810190611490919061455e565b9250925092508293505050505b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114d4612474565b73ffffffffffffffffffffffffffffffffffffffff166114f26114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f90614ea6565b60405180910390fd5b80601260008460030b60030b8152602001908152602001600020819055505050565b611572612474565b73ffffffffffffffffffffffffffffffffffffffff166115906114a2565b73ffffffffffffffffffffffffffffffffffffffff16146115e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dd90614ea6565b60405180910390fd5b81600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a81548160ff0219169083151502179055505050565b60606003805461165490615390565b80601f016020809104026020016040519081016040528092919081815260200182805461168090615390565b80156116cd5780601f106116a2576101008083540402835291602001916116cd565b820191906000526020600020905b8154815290600101906020018083116116b057829003601f168201915b5050505050905090565b601060009054906101000a900460ff16611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90614e26565b60405180910390fd5b61172f83611e01565b61176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590614da6565b60405180910390fd5b61177784611348565b6117b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ad90614de6565b60405180910390fd5b6117c08484610fe5565b6117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614e66565b60405180910390fd5b6118093384612da8565b611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f90614e86565b60405180910390fd5b61185484848484612edf565b611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a90614ee6565b60405180910390fd5b6000601260008660030b60030b815260200190815260200160002054905060008111156118fe57803410156118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490614d66565b60405180910390fd5b5b600061190985611390565b9050600073045737619bb0fe286ffb8c9c81117bc4ab5c997f73ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b815260040161195c929190614b84565b60206040518083038186803b15801561197457600080fd5b505afa158015611988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ac9190614535565b9050818110156119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890614ec6565b60405180910390fd5b73045737619bb0fe286ffb8c9c81117bc4ab5c997f73ffffffffffffffffffffffffffffffffffffffff16636a73efb833846040518363ffffffff1660e01b8152600401611a40929190614bad565b600060405180830381600087803b158015611a5a57600080fd5b505af1158015611a6e573d6000803e3d6000fd5b505050506000611a7c6130f6565b611a8461252e565b611a8e9190615188565b9050611a9b336001613109565b60008882898989604051602001611ab6959493929190614cb1565b60405160208183030381529060405290506000888888604051602001611ade93929190614fc1565b604051602081830303815290604052905080600b60008581526020019081526020016000209080519060200190611b16929190613d96565b50600a60008b60030b60030b81526020019081526020016000208390806001815401808255809150506001900390600052602060002001600090919091909150553373ffffffffffffffffffffffffffffffffffffffff167f8a111a7a78a35acf322272447bb91f85a96c0c2f5055f15c29271f479a6b3b8f8342604051611b9f929190614c13565b60405180910390a250505050505050505050565b611bbb612474565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c20576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611c2d612474565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611cda612474565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d1f9190614bf8565b60405180910390a35050565b611d33612474565b73ffffffffffffffffffffffffffffffffffffffff16611d516114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9e90614ea6565b60405180910390fd5b83838383604051602001611dbe9493929190614c6c565b604051602081830303815290604052600960008760030b60030b81526020019081526020016000209080519060200190611df9929190613d96565b505050505050565b6000600b821480611e125750601582145b80611e1d5750601f82145b80611e285750602982145b15611e365760019050611e5c565b6000601360008481526020019081526020016000208054611e5690615390565b90501190505b919050565b611e6c84848461259d565b611e8b8373ffffffffffffffffffffffffffffffffffffffff16613117565b8015611ea05750611e9e8484848461313a565b155b15611ed7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611ee5612474565b73ffffffffffffffffffffffffffffffffffffffff16611f036114a2565b73ffffffffffffffffffffffffffffffffffffffff1614611f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5090614ea6565b60405180910390fd5b80600e9080519060200190611f6f929190613e1c565b5050565b6060611f7e82612426565b611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb490614e46565b60405180910390fd5b6000600e8054611fcc90615390565b905011611fe85760405180602001604052806000815250612017565b600e600f611ff58461329a565b60405160200161200793929190614ae1565b6040516020818303038152906040525b9050919050565b73045737619bb0fe286ffb8c9c81117bc4ab5c997f81565b600080600080600960008660030b60030b8152602001908152602001600020805461206090615390565b80601f016020809104026020016040519081016040528092919081815260200182805461208c90615390565b80156120d95780601f106120ae576101008083540402835291602001916120d9565b820191906000526020600020905b8154815290600101906020018083116120bc57829003601f168201915b50505050508060200190518101906120f19190614303565b809450819550829650839750505050509193509193565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121a4612474565b73ffffffffffffffffffffffffffffffffffffffff166121c26114a2565b73ffffffffffffffffffffffffffffffffffffffff1614612218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220f90614ea6565b60405180910390fd5b80600c60008560030b60030b8152602001908152602001600020600084815260200190815260200160002081905550505050565b612254612474565b73ffffffffffffffffffffffffffffffffffffffff166122726114a2565b73ffffffffffffffffffffffffffffffffffffffff16146122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf90614ea6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90614d86565b60405180910390fd5b61234181612ce2565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061240f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061241f575061241e82613447565b5b9050919050565b60008161243161252e565b11158015612440575060005482105b801561246d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60006125a882612a53565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612613576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612634612474565b73ffffffffffffffffffffffffffffffffffffffff16148061266357506126628561265d612474565b612108565b5b806126a85750612671612474565b73ffffffffffffffffffffffffffffffffffffffff16612690846109b7565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806126e1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612748576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61275585858560016134b1565b6127616000848761247c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156129e15760005482146129e057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a4c85858560016134b7565b5050505050565b612a5b613ea2565b600082905080612a6961252e565b11158015612a78575060005481105b15612cab576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612ca957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612b8d578092505050612cdd565b5b600115612ca857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ca3578092505050612cdd565b612b8e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480612e19575060001515600d60009054906101000a900460ff161515145b15612e275760019050612ed9565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637be4072184846040518363ffffffff1660e01b8152600401612e84929190614bad565b602060405180830381600087803b158015612e9e57600080fd5b505af1158015612eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed6919061425f565b90505b92915050565b6000612eed858585856134bd565b612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2390614d46565b60405180910390fd5b6000600a60008760030b60030b8152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612f9157602002820191906000526020600020905b815481526020019060010190808311612f7d575b50505050509050600080612fa487610cdd565b9150915060005b83518110156130e6576000806000600b6000888681518110612ff6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020805461301790615390565b80601f016020809104026020016040519081016040528092919081815260200182805461304390615390565b80156130905780601f1061306557610100808354040283529160200191613090565b820191906000526020600020905b81548152906001019060200180831161307357829003601f168201915b50505050508060200190518101906130a8919061455e565b9250925092506000806130ba85610cdd565b915091506130ce8c8c8a8a8888888861371a565b505050505080806130de906153f3565b915050612fab565b5060019350505050949350505050565b600061310061252e565b60005403905090565b61311382826139b4565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613160612474565b8786866040518563ffffffff1660e01b81526004016131829493929190614b38565b602060405180830381600087803b15801561319c57600080fd5b505af19250505080156131cd57506040513d601f19601f820116820180604052508101906131ca91906142b1565b60015b613247573d80600081146131fd576040519150601f19603f3d011682016040523d82523d6000602084013e613202565b606091505b5060008151141561323f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156132e2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613442565b600082905060005b600082146133145780806132fd906153f3565b915050600a8261330d91906151de565b91506132ea565b60008167ffffffffffffffff811115613356577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156133885781602001600182028036833780820191505090505b5090505b6000851461343b576001826133a19190615287565b9150600a856133b0919061543c565b60306133bc9190615188565b60f81b8183815181106133f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561343491906151de565b945061338c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b6000806000806000600960008a60030b60030b815260200190815260200160002080546134e990615390565b80601f016020809104026020016040519081016040528092919081815260200182805461351590615390565b80156135625780601f1061353757610100808354040283529160200191613562565b820191906000526020600020905b81548152906001019060200180831161354557829003601f168201915b505050505080602001905181019061357a9190614303565b935093509350935060008061358e8a610cdd565b915091508560030b8960030b121580156135ae57508360030b8960030b13155b6135ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e490614e06565b60405180910390fd5b8460030b8860030b1315801561360957508260030b8860030b12155b613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90614dc6565b60405180910390fd5b8360030b6001838b61365a9190615110565b613664919061520f565b60030b13156136a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369f90614f06565b60405180910390fd5b8260030b6001828a6136ba919061520f565b6136c49190615110565b60030b1215613708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136ff90614f66565b60405180910390fd5b60019650505050505050949350505050565b60006001878a61372a9190615110565b613734919061520f565b905060006001878a613746919061520f565b6137509190615110565b90506000600185886137629190615110565b61376c919061520f565b905060006001858861377e919061520f565b6137889190615110565b90508760030b8c60030b121580156137a657508160030b8c60030b13155b80156137b857508660030b8b60030b13155b80156137ca57508060030b8b60030b12155b15613811576000613810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380790614f86565b60405180910390fd5b5b8760030b8460030b1215801561382d57508160030b8460030b13155b801561383f57508660030b8b60030b13155b801561385157508060030b8b60030b12155b15613898576000613897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388e90614f26565b60405180910390fd5b5b8760030b8c60030b121580156138b457508160030b8c60030b13155b80156138c657508660030b8360030b13155b80156138d857508060030b8360030b12155b1561391f57600061391e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391590614d26565b60405180910390fd5b5b8760030b8460030b1215801561393b57508160030b8460030b13155b801561394d57508660030b8360030b13155b801561395f57508060030b8360030b12155b156139a65760006139a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399c90614f46565b60405180910390fd5b5b505050505050505050505050565b6139ce8282604051806020016040528060008152506139d2565b5050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613a3f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613a7a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613a8760008583866134b1565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050613c488673ffffffffffffffffffffffffffffffffffffffff16613117565b15613d0e575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613cbd600087848060010195508761313a565b613cf3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613c4e578260005414613d0957600080fd5b613d7a565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613d0f575b816000819055505050613d9060008583866134b7565b50505050565b828054613da290615390565b90600052602060002090601f016020900481019282613dc45760008555613e0b565b82601f10613ddd57805160ff1916838001178555613e0b565b82800160010185558215613e0b579182015b82811115613e0a578251825591602001919060010190613def565b5b509050613e189190613ee5565b5090565b828054613e2890615390565b90600052602060002090601f016020900481019282613e4a5760008555613e91565b82601f10613e6357805160ff1916838001178555613e91565b82800160010185558215613e91579182015b82811115613e90578251825591602001919060010190613e75565b5b509050613e9e9190613ee5565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613efe576000816000905550600101613ee6565b5090565b6000613f15613f108461501d565b614ff8565b905082815260208101848484011115613f2d57600080fd5b613f3884828561534e565b509392505050565b6000613f53613f4e8461504e565b614ff8565b905082815260208101848484011115613f6b57600080fd5b613f7684828561534e565b509392505050565b600081359050613f8d816158bd565b92915050565b600081359050613fa2816158d4565b92915050565b600081519050613fb7816158d4565b92915050565b600081359050613fcc816158eb565b92915050565b600081519050613fe1816158eb565b92915050565b600082601f830112613ff857600080fd5b8135614008848260208601613f02565b91505092915050565b60008135905061402081615902565b92915050565b60008151905061403581615902565b92915050565b600082601f83011261404c57600080fd5b813561405c848260208601613f40565b91505092915050565b60008135905061407481615919565b92915050565b60008151905061408981615919565b92915050565b6000602082840312156140a157600080fd5b60006140af84828501613f7e565b91505092915050565b600080604083850312156140cb57600080fd5b60006140d985828601613f7e565b92505060206140ea85828601613f7e565b9150509250929050565b60008060006060848603121561410957600080fd5b600061411786828701613f7e565b935050602061412886828701613f7e565b925050604061413986828701614065565b9150509250925092565b6000806000806080858703121561415957600080fd5b600061416787828801613f7e565b945050602061417887828801613f7e565b935050604061418987828801614065565b925050606085013567ffffffffffffffff8111156141a657600080fd5b6141b287828801613fe7565b91505092959194509250565b600080604083850312156141d157600080fd5b60006141df85828601613f7e565b92505060206141f085828601613f93565b9150509250929050565b6000806040838503121561420d57600080fd5b600061421b85828601613f7e565b925050602061422c85828601614065565b9150509250929050565b60006020828403121561424857600080fd5b600061425684828501613f93565b91505092915050565b60006020828403121561427157600080fd5b600061427f84828501613fa8565b91505092915050565b60006020828403121561429a57600080fd5b60006142a884828501613fbd565b91505092915050565b6000602082840312156142c357600080fd5b60006142d184828501613fd2565b91505092915050565b6000602082840312156142ec57600080fd5b60006142fa84828501614011565b91505092915050565b6000806000806080858703121561431957600080fd5b600061432787828801614026565b945050602061433887828801614026565b935050604061434987828801614026565b925050606061435a87828801614026565b91505092959194509250565b600080600080600060a0868803121561437e57600080fd5b600061438c88828901614011565b955050602061439d88828901614011565b94505060406143ae88828901614011565b93505060606143bf88828901614011565b92505060806143d088828901614011565b9150509295509295909350565b600080604083850312156143f057600080fd5b60006143fe85828601614011565b925050602061440f85828601614065565b9150509250929050565b6000806000806080858703121561442f57600080fd5b600061443d87828801614011565b945050602061444e87828801614065565b935050604061445f87828801614011565b925050606061447087828801614011565b91505092959194509250565b60008060006060848603121561449157600080fd5b600061449f86828701614011565b93505060206144b086828701614065565b92505060406144c186828701614065565b9150509250925092565b6000602082840312156144dd57600080fd5b600082013567ffffffffffffffff8111156144f757600080fd5b6145038482850161403b565b91505092915050565b60006020828403121561451e57600080fd5b600061452c84828501614065565b91505092915050565b60006020828403121561454757600080fd5b60006145558482850161407a565b91505092915050565b60008060006060848603121561457357600080fd5b60006145818682870161407a565b935050602061459286828701614026565b92505060406145a386828701614026565b9150509250925092565b600080600080608085870312156145c357600080fd5b60006145d187828801614065565b94505060206145e287828801614065565b93505060406145f387828801614011565b925050606061460487828801614011565b91505092959194509250565b600061461c8383614ac3565b60208301905092915050565b614631816152bb565b82525050565b6000614642826150a4565b61464c81856150d2565b93506146578361507f565b8060005b8381101561468857815161466f8882614610565b975061467a836150c5565b92505060018101905061465b565b5085935050505092915050565b61469e816152cd565b82525050565b60006146af826150af565b6146b981856150e3565b93506146c981856020860161535d565b6146d281615529565b840191505092915050565b6146e681615305565b82525050565b6146f58161533c565b82525050565b6000614706826150ba565b61471081856150f4565b935061472081856020860161535d565b61472981615529565b840191505092915050565b600061473f826150ba565b6147498185615105565b935061475981856020860161535d565b80840191505092915050565b6000815461477281615390565b61477c8186615105565b9450600182166000811461479757600181146147a8576147db565b60ff198316865281860193506147db565b6147b18561508f565b60005b838110156147d3578154818901526001820191506020810190506147b4565b838801955050505b50505092915050565b60006147f1600f836150f4565b91506147fc8261553a565b602082019050919050565b6000614814600a836150f4565b915061481f82615563565b602082019050919050565b60006148376017836150f4565b91506148428261558c565b602082019050919050565b600061485a6026836150f4565b9150614865826155b5565b604082019050919050565b600061487d600b836150f4565b915061488882615604565b602082019050919050565b60006148a06005836150f4565b91506148ab8261562d565b602082019050919050565b60006148c36009836150f4565b91506148ce82615656565b602082019050919050565b60006148e66005836150f4565b91506148f18261567f565b602082019050919050565b6000614909600d836150f4565b9150614914826156a8565b602082019050919050565b600061492c6011836150f4565b9150614937826156d1565b602082019050919050565b600061494f600583615105565b915061495a826156fa565b600582019050919050565b6000614972600f836150f4565b915061497d82615723565b602082019050919050565b60006149956011836150f4565b91506149a08261574c565b602082019050919050565b60006149b86020836150f4565b91506149c382615775565b602082019050919050565b60006149db6016836150f4565b91506149e68261579e565b602082019050919050565b60006149fe6010836150f4565b9150614a09826157c7565b602082019050919050565b6000614a216014836150f4565b9150614a2c826157f0565b602082019050919050565b6000614a44600d836150f4565b9150614a4f82615819565b602082019050919050565b6000614a676010836150f4565b9150614a7282615842565b602082019050919050565b6000614a8a6014836150f4565b9150614a958261586b565b602082019050919050565b6000614aad600c836150f4565b9150614ab882615894565b602082019050919050565b614acc81615332565b82525050565b614adb81615332565b82525050565b6000614aed8286614765565b9150614af98285614765565b9150614b058284614734565b9150614b1082614942565b9150819050949350505050565b6000602082019050614b326000830184614628565b92915050565b6000608082019050614b4d6000830187614628565b614b5a6020830186614628565b614b676040830185614ad2565b8181036060830152614b7981846146a4565b905095945050505050565b6000604082019050614b996000830185614628565b614ba660208301846146ec565b9392505050565b6000604082019050614bc26000830185614628565b614bcf6020830184614ad2565b9392505050565b60006020820190508181036000830152614bf08184614637565b905092915050565b6000602082019050614c0d6000830184614695565b92915050565b60006040820190508181036000830152614c2d81856146a4565b9050614c3c6020830184614ad2565b9392505050565b6000604082019050614c5860008301856146dd565b614c6560208301846146dd565b9392505050565b6000608082019050614c8160008301876146dd565b614c8e60208301866146dd565b614c9b60408301856146dd565b614ca860608301846146dd565b95945050505050565b600060a082019050614cc660008301886146dd565b614cd36020830187614ad2565b614ce06040830186614ad2565b614ced60608301856146dd565b614cfa60808301846146dd565b9695505050505050565b60006020820190508181036000830152614d1e81846146fb565b905092915050565b60006020820190508181036000830152614d3f816147e4565b9050919050565b60006020820190508181036000830152614d5f81614807565b9050919050565b60006020820190508181036000830152614d7f8161482a565b9050919050565b60006020820190508181036000830152614d9f8161484d565b9050919050565b60006020820190508181036000830152614dbf81614870565b9050919050565b60006020820190508181036000830152614ddf81614893565b9050919050565b60006020820190508181036000830152614dff816148b6565b9050919050565b60006020820190508181036000830152614e1f816148d9565b9050919050565b60006020820190508181036000830152614e3f816148fc565b9050919050565b60006020820190508181036000830152614e5f8161491f565b9050919050565b60006020820190508181036000830152614e7f81614965565b9050919050565b60006020820190508181036000830152614e9f81614988565b9050919050565b60006020820190508181036000830152614ebf816149ab565b9050919050565b60006020820190508181036000830152614edf816149ce565b9050919050565b60006020820190508181036000830152614eff816149f1565b9050919050565b60006020820190508181036000830152614f1f81614a14565b9050919050565b60006020820190508181036000830152614f3f81614a37565b9050919050565b60006020820190508181036000830152614f5f81614a5a565b9050919050565b60006020820190508181036000830152614f7f81614a7d565b9050919050565b60006020820190508181036000830152614f9f81614aa0565b9050919050565b6000602082019050614fbb6000830184614ad2565b92915050565b6000606082019050614fd66000830186614ad2565b614fe360208301856146dd565b614ff060408301846146dd565b949350505050565b6000615002615013565b905061500e82826153c2565b919050565b6000604051905090565b600067ffffffffffffffff821115615038576150376154fa565b5b61504182615529565b9050602081019050919050565b600067ffffffffffffffff821115615069576150686154fa565b5b61507282615529565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061511b82615305565b915061512683615305565b925081637fffffff038313600083121516156151455761514461546d565b5b817fffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000000003831260008312161561517d5761517c61546d565b5b828201905092915050565b600061519382615332565b915061519e83615332565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156151d3576151d261546d565b5b828201905092915050565b60006151e982615332565b91506151f483615332565b9250826152045761520361549c565b5b828204905092915050565b600061521a82615305565b915061522583615305565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000018212600084121516156152605761525f61546d565b5b82637fffffff01821360008412161561527c5761527b61546d565b5b828203905092915050565b600061529282615332565b915061529d83615332565b9250828210156152b0576152af61546d565b5b828203905092915050565b60006152c682615312565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008160030b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061534782615332565b9050919050565b82818337600083830152505050565b60005b8381101561537b578082015181840152602081019050615360565b8381111561538a576000848401525b50505050565b600060028204905060018216806153a857607f821691505b602082108114156153bc576153bb6154cb565b5b50919050565b6153cb82615529565b810181811067ffffffffffffffff821117156153ea576153e96154fa565b5b80604052505050565b60006153fe82615332565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154315761543061546d565b5b600182019050919050565b600061544782615332565b915061545283615332565b9250826154625761546161549c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6c65667420626f74746f6d206869740000000000000000000000000000000000600082015250565b7f68697420626f7264657200000000000000000000000000000000000000000000600082015250565b7f6275696c6420666565206973206e6f7420656e6f756768000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420737570706f7274000000000000000000000000000000000000000000600082015250565b7f79206f7574000000000000000000000000000000000000000000000000000000600082015250565b7f6e6f742065786973740000000000000000000000000000000000000000000000600082015250565b7f78206f7574000000000000000000000000000000000000000000000000000000600082015250565b7f6e6f742073746172742079657400000000000000000000000000000000000000600082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f63616e2774206275696c64206e6f770000000000000000000000000000000000600082015250565b7f7061737363617264207265717569726564000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f467261676d656e74206973206e6f7420656e6f75676800000000000000000000600082015250565b7f68697420616e6f74686572206172656100000000000000000000000000000000600082015250565b7f78202b2077202d203120626f72646572206f7574000000000000000000000000600082015250565b7f726967687420746f702068697400000000000000000000000000000000000000600082015250565b7f726967687420626f74746f6d2068697400000000000000000000000000000000600082015250565b7f79202d2068202b203120626f72646572206f7574000000000000000000000000600082015250565b7f6c65667420746f70206869740000000000000000000000000000000000000000600082015250565b6158c6816152bb565b81146158d157600080fd5b50565b6158dd816152cd565b81146158e857600080fd5b50565b6158f4816152d9565b81146158ff57600080fd5b50565b61590b81615305565b811461591657600080fd5b50565b61592281615332565b811461592d57600080fd5b5056fea2646970667358221220ea218294b43d4e4480f727ad99907596ac1ea89fc829e4943cfc6d29eb0ff95f64736f6c63430008040033

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.