ETH Price: $3,430.65 (-2.43%)

Contract

0x1c41E878268Af6Efff922ceC80c47f8104B32bA8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...195452992024-03-30 7:29:23265 days ago1711783763IN
0x1c41E878...104B32bA8
0 ETH0.0009952521.33852489
Set Approval For...190801982024-01-25 0:55:23330 days ago1706144123IN
0x1c41E878...104B32bA8
0 ETH0.0002899311.72445678
Set Approval For...183501352023-10-14 17:33:23433 days ago1697304803IN
0x1c41E878...104B32bA8
0 ETH0.000336227.19577017
Set Approval For...183501312023-10-14 17:32:23433 days ago1697304743IN
0x1c41E878...104B32bA8
0 ETH0.000345247.4020863
Set Approval For...169883632023-04-06 8:14:35624 days ago1680768875IN
0x1c41E878...104B32bA8
0 ETH0.0011640724.9581447
Set Approval For...168964632023-03-24 9:26:59637 days ago1679650019IN
0x1c41E878...104B32bA8
0 ETH0.0007661316.41782701
Set Approval For...167136952023-02-26 16:49:11663 days ago1677430151IN
0x1c41E878...104B32bA8
0 ETH0.0004756519.23461433
Set Approval For...165818152023-02-08 4:56:35681 days ago1675832195IN
0x1c41E878...104B32bA8
0 ETH0.0011869225.44806627
Set Approval For...162565552022-12-24 19:02:11726 days ago1671908531IN
0x1c41E878...104B32bA8
0 ETH0.0005878512.60372363
Safe Transfer Fr...162037012022-12-17 10:04:23734 days ago1671271463IN
0x1c41E878...104B32bA8
0 ETH0.0010064614.00313839
Safe Transfer Fr...162035512022-12-17 9:34:23734 days ago1671269663IN
0x1c41E878...104B32bA8
0 ETH0.0010664811.50080277
Set Approval For...160955672022-12-02 7:15:59749 days ago1669965359IN
0x1c41E878...104B32bA8
0 ETH0.0006060912.98821789
Set Approval For...160879942022-12-01 5:53:59750 days ago1669874039IN
0x1c41E878...104B32bA8
0 ETH0.0005797612.43033588
Set Approval For...160870442022-12-01 2:43:11750 days ago1669862591IN
0x1c41E878...104B32bA8
0 ETH0.0005110710.95194173
Set Approval For...160041212022-11-19 12:40:23762 days ago1668861623IN
0x1c41E878...104B32bA8
0 ETH0.0005760912.32940159
Set Approval For...159188542022-11-07 14:50:35774 days ago1667832635IN
0x1c41E878...104B32bA8
0 ETH0.0014383730.82334509
Set Approval For...158897162022-11-03 13:12:47778 days ago1667481167IN
0x1c41E878...104B32bA8
0 ETH0.0006891814.74975847
Safe Transfer Fr...158879412022-11-03 7:14:59778 days ago1667459699IN
0x1c41E878...104B32bA8
0 ETH0.0010627114.79895794
Set Approval For...158812582022-11-02 8:51:35779 days ago1667379095IN
0x1c41E878...104B32bA8
0 ETH0.0005463711.70849368
Set Approval For...158807662022-11-02 7:12:11779 days ago1667373131IN
0x1c41E878...104B32bA8
0 ETH0.0004894910.48954531
Set Approval For...158647662022-10-31 1:29:59781 days ago1667179799IN
0x1c41E878...104B32bA8
0 ETH0.000402438.62384527
Set Approval For...158315292022-10-26 10:04:23786 days ago1666778663IN
0x1c41E878...104B32bA8
0 ETH0.0005984812.82514879
Set Approval For...158262372022-10-25 16:18:11787 days ago1666714691IN
0x1c41E878...104B32bA8
0 ETH0.0011336424.293248
Transfer From158250342022-10-25 12:14:59787 days ago1666700099IN
0x1c41E878...104B32bA8
0 ETH0.0005611910.82310966
Transfer From158250312022-10-25 12:14:23787 days ago1666700063IN
0x1c41E878...104B32bA8
0 ETH0.0009890711.01309554
View all transactions

Latest 14 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
155304332022-09-14 2:19:32828 days ago1663121972
0x1c41E878...104B32bA8
9.1025 ETH
154408312022-08-30 14:15:11843 days ago1661868911
0x1c41E878...104B32bA8
0.0005 ETH
154408312022-08-30 14:15:11843 days ago1661868911
0x1c41E878...104B32bA8
0.0055 ETH
154408292022-08-30 14:14:40843 days ago1661868880
0x1c41E878...104B32bA8
0.0055 ETH
154408272022-08-30 14:14:14843 days ago1661868854
0x1c41E878...104B32bA8
0.0055 ETH
154408262022-08-30 14:14:09843 days ago1661868849
0x1c41E878...104B32bA8
0.0055 ETH
154408262022-08-30 14:14:09843 days ago1661868849
0x1c41E878...104B32bA8
0.0055 ETH
154408242022-08-30 14:12:55843 days ago1661868775
0x1c41E878...104B32bA8
0.0055 ETH
154408242022-08-30 14:12:55843 days ago1661868775
0x1c41E878...104B32bA8
0.0055 ETH
154408232022-08-30 14:12:24843 days ago1661868744
0x1c41E878...104B32bA8
0.005 ETH
154408052022-08-30 14:09:37843 days ago1661868577
0x1c41E878...104B32bA8
0.0055 ETH
154408002022-08-30 14:08:23843 days ago1661868503
0x1c41E878...104B32bA8
0.0055 ETH
154407942022-08-30 14:07:43843 days ago1661868463
0x1c41E878...104B32bA8
0.0055 ETH
154407812022-08-30 14:04:27843 days ago1661868267
0x1c41E878...104B32bA8
0.0055 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FLIGHTLESSBIRD

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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


import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ERC721A.sol";


contract FLIGHTLESSBIRD is ERC721A, Ownable, ReentrancyGuard {

    using ECDSA for bytes32;

    enum Status {
        Pending,
        PreSale,
        PublicSale,
        Finished
    }

    Status public status;
    string public baseURI;

    uint256 public PRICE = 0.0055 * 10**18;

    mapping(address => uint256) public freeMinted;

    uint256 public tokensReserved;
    uint256 public immutable reserveAmount;
    uint256 public immutable maxPerMint;

    string private _contractMetadataURI = "ipfs://QmXfwCe6uaHFFqHMGtwhpzwDbxDmoj7NJ4mbRrwv61Mkmu";

    event Minted(address minter, uint256 amount);
    event StatusChanged(Status status);
    event BaseURIChanged(string newBaseURI);
    event ReservedToken(address minter, address recipient, uint256 amount);
    event PriceChange(uint256 price);
    event Withdrawed(address addr, uint amount);

    constructor(
        string memory initBaseURI,
        uint256 _maxPerMint,
        uint256 _reserveAmount
    ) ERC721A("The Flightless Bird", "The Flightless Bird", _maxPerMint, 5555) {
        baseURI = initBaseURI;
        maxPerMint = _maxPerMint;
        reserveAmount = _reserveAmount;
        status = Status.Pending;
    }

    function reserve(address recipient, uint256 amount) external onlyOwner {
        require(recipient != address(0), "TFB: zero address");
        require(amount > 0, "TFB: invalid amount");
        require(
            totalSupply() + amount <= collectionSize,
            "TFB: max supply exceeded"
        );

        require(
            tokensReserved + amount <= reserveAmount,
            "TFB: max reserve amount exceeded"
        );
        require(
            amount % maxPerMint == 0,
            "TFB: can only mint a multiple of the maxBatchSize"
        );

        uint256 numChunks = amount / maxPerMint;
        for (uint256 i = 0; i < numChunks; i++) {
            _safeMint(recipient, maxPerMint);
        }
        tokensReserved += amount;
        emit ReservedToken(msg.sender, recipient, amount);
    }

    function mint(uint256 amount) external payable {
        require(status == Status.PublicSale, "TFB: Public sale is not active.");
        require(
            tx.origin == msg.sender,
            "TFB: contract is not allowed to mint."
        );

        require(amount > 0, "TFB: invalid amount");

        require(
            amount <= maxPerMint,
            "TFB: Exceeds the single maximum limit."
        );

        require(
            totalSupply() + amount + reserveAmount - tokensReserved <= collectionSize,
            "TFB: Max supply exceeded."
        );

        uint256 totalPrice;

        if(freeMinted[msg.sender] == 0){
            freeMinted[msg.sender] = 1;
            totalPrice = (amount - 1) * PRICE;
        }else{
            totalPrice = amount * PRICE;
        }

        _safeMint(msg.sender, amount);
        refundIfOver(totalPrice);

        emit Minted(msg.sender, amount);
    }

    function withdraw() external nonReentrant onlyOwner {
        require(address(this).balance > 0, "TFB: Insufficient balance");
        Address.sendValue(payable(owner()), address(this).balance);
        emit Withdrawed(owner(), address(this).balance);
    }

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

    function setContractMetadataURI(string calldata newContractMetadataUri) public onlyOwner {
        _contractMetadataURI = newContractMetadataUri;
    }

    function setBaseURI(string calldata newBaseURI) external onlyOwner {
        baseURI = newBaseURI;
        emit BaseURIChanged(newBaseURI);
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        PRICE = newPrice;
        emit PriceChange(newPrice);
    }

    function setStatus(Status _status) external onlyOwner {
        status = _status;
        emit StatusChanged(_status);
    }

    function setOwnersExplicit(uint256 quantity)
    external
    onlyOwner
    nonReentrant
    {
        _setOwnersExplicit(quantity);
    }

    function maxSupply() external view returns (uint256) {
        return collectionSize;
    }

    function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
    {
        return ownershipOf(tokenId);
    }

    function refundIfOver(uint256 price) private {
        require(msg.value >= price, "TFB: Need to send more ETH.");
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

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

    // start from 1
    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }
    
}

File 2 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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/token/ERC721/extensions/IERC721Enumerable.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";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
Context,
ERC165,
IERC721,
IERC721Metadata,
IERC721Enumerable
{
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex;

    uint256 internal immutable collectionSize;
    uint256 internal immutable maxBatchSize;

    // 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) private _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;

    /**
     * @dev
     * `maxBatchSize` refers to how much a minter can mint at a time.
     * `collectionSize_` refers to how many tokens are in the collection.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_,
        uint256 collectionSize_
    ) {
        require(
            collectionSize_ > 0,
            "ERC721A: collection must have a nonzero supply"
        );
        require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
        collectionSize = collectionSize_;
        currentIndex  = _startTokenId();
    }

    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return currentIndex - _startTokenId();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index)
    public
    view
    override
    returns (uint256)
    {
        require(index < totalSupply(), "ERC721A: global index out of bounds");
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
    {
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @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 ||
    interfaceId == type(IERC721Enumerable).interfaceId ||
    super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: balance query for the zero address"
        );
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
    {
        require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("ERC721A: unable to determine the owner of token");
    }

    /**
     * @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)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        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);
        require(to != owner, "ERC721A: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721A: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
    public
    view
    override
    returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721A: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
    public
    override
    {
        require(operator != _msgSender(), "ERC721A: approve to caller");

        _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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @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 tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - there must be `quantity` tokens remaining unminted in the total collection.
     * - `to` cannot be the zero address.
     * - `quantity` cannot be larger than the max batch size.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "ERC721A: mint to the zero address");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "ERC721A: token already minted");
        require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721A: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }

        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);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
        getApproved(tokenId) == _msgSender() ||
        isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        require(
            prevOwnership.addr == from,
            "ERC721A: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721A: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, 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;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(
                    prevOwnership.addr,
                    prevOwnership.startTimestamp
                );
            }
        }

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

    /**
     * @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);
    }

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
     */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "quantity must be nonzero");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > collectionSize - 1) {
            endIndex = collectionSize - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "not enough minted yet for this cleanup");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(
                    ownership.addr,
                    ownership.startTimestamp
                );
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            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(
                    "ERC721A: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 4 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 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;
    }
}

File 7 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 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 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"},{"internalType":"uint256","name":"_maxPerMint","type":"uint256"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","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":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReservedToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum FLIGHTLESSBIRD.Status","name":"status","type":"uint8"}],"name":"StatusChanged","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawed","type":"event"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMinted","outputs":[{"internalType":"uint256","name":"","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":[],"name":"maxPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveAmount","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":"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":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractMetadataUri","type":"string"}],"name":"setContractMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum FLIGHTLESSBIRD.Status","name":"_status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum FLIGHTLESSBIRD.Status","name":"","type":"uint8"}],"stateMutability":"view","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokensReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610100604052600060075566138a388a43c000600c5560405180606001604052806035815260200162005f7f60359139600f90805190602001906200004692919062000331565b503480156200005457600080fd5b5060405162005fb438038062005fb483398181016040528101906200007a919062000476565b6040518060400160405280601381526020017f54686520466c696768746c6573732042697264000000000000000000000000008152506040518060400160405280601381526020017f54686520466c696768746c657373204269726400000000000000000000000000815250836115b36000811162000130576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001279062000561565b60405180910390fd5b6000821162000176576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200016d906200053f565b60405180910390fd5b83600190805190602001906200018e92919062000331565b508260029080519060200190620001a792919062000331565b508160a081815250508060808181525050620001c86200025a60201b60201c565b60008190555050505050620001f2620001e66200026360201b60201c565b6200026b60201b60201c565b600160098190555082600b90805190602001906200021292919062000331565b508160e081815250508060c081815250506000600a60006101000a81548160ff021916908360038111156200024c576200024b6200069f565b5b021790555050505062000809565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200033f9062000633565b90600052602060002090601f016020900481019282620003635760008555620003af565b82601f106200037e57805160ff1916838001178555620003af565b82800160010185558215620003af579182015b82811115620003ae57825182559160200191906001019062000391565b5b509050620003be9190620003c2565b5090565b5b80821115620003dd576000816000905550600101620003c3565b5090565b6000620003f8620003f284620005ac565b62000583565b90508281526020810184848401111562000417576200041662000731565b5b62000424848285620005fd565b509392505050565b600082601f8301126200044457620004436200072c565b5b815162000456848260208601620003e1565b91505092915050565b6000815190506200047081620007ef565b92915050565b6000806000606084860312156200049257620004916200073b565b5b600084015167ffffffffffffffff811115620004b357620004b262000736565b5b620004c1868287016200042c565b9350506020620004d4868287016200045f565b9250506040620004e7868287016200045f565b9150509250925092565b600062000500602783620005e2565b91506200050d8262000751565b604082019050919050565b600062000527602e83620005e2565b91506200053482620007a0565b604082019050919050565b600060208201905081810360008301526200055a81620004f1565b9050919050565b600060208201905081810360008301526200057c8162000518565b9050919050565b60006200058f620005a2565b90506200059d828262000669565b919050565b6000604051905090565b600067ffffffffffffffff821115620005ca57620005c9620006fd565b5b620005d58262000740565b9050602081019050919050565b600082825260208201905092915050565b6000819050919050565b60005b838110156200061d57808201518184015260208101905062000600565b838111156200062d576000848401525b50505050565b600060028204905060018216806200064c57607f821691505b60208210811415620006635762000662620006ce565b5b50919050565b620006748262000740565b810181811067ffffffffffffffff82111715620006965762000695620006fd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b620007fa81620005f3565b81146200080657600080fd5b50565b60805160a05160c05160e0516156e862000897600039600081816111290152818161158f01528181611bf301528181611c610152611c9e0152600081816110b2015281816116160152611b81015260008181612a4e01528181612a7701526131d90152600081816115f201528181611b0c01528181611d33015281816126e2015261271601526156e86000f3fe6080604052600436106102255760003560e01c80636c0360eb11610123578063a201fc50116100ab578063d5abeb011161006f578063d5abeb011461080a578063d7224ba014610835578063e8a3d48514610860578063e985e9c51461088b578063f2fde38b146108c857610225565b8063a201fc5014610729578063a22cb46514610752578063b88d4fde1461077b578063c87b56dd146107a4578063cc47a40b146107e157610225565b80638da5cb5b116100f25780638da5cb5b1461065157806391b7f5ed1461067c5780639231ab2a146106a557806395d89b41146106e2578063a0712d681461070d57610225565b80636c0360eb146105a757806370a08231146105d2578063715018a61461060f5780638d859f3e1461062657610225565b80632f745c59116101b15780634b09b72a116101755780634b09b72a146104ae5780634f6ccce7146104d9578063507e094f1461051657806355f804b3146105415780636352211e1461056a57610225565b80632f745c59146103c9578063389fcf06146104065780633ccfd60b1461044357806342842e0e1461045a578063433adb051461048357610225565b806318160ddd116101f857806318160ddd146102f8578063200d2ed21461032357806323b872dd1461034e5780632d20fb60146103775780632e49d78b146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906139fe565b6108f1565b60405161025e9190614267565b60405180910390f35b34801561027357600080fd5b5061027c610a3b565b60405161028991906142c1565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613ad2565b610acd565b6040516102c691906141a0565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f191906139be565b610b52565b005b34801561030457600080fd5b5061030d610c6b565b60405161031a919061477e565b60405180910390f35b34801561032f57600080fd5b50610338610c87565b6040516103459190614282565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906138a8565b610c9a565b005b34801561038357600080fd5b5061039e60048036038101906103999190613ad2565b610caa565b005b3480156103ac57600080fd5b506103c760048036038101906103c29190613a58565b610d14565b005b3480156103d557600080fd5b506103f060048036038101906103eb91906139be565b610d80565b6040516103fd919061477e565b60405180910390f35b34801561041257600080fd5b5061042d6004803603810190610428919061383b565b610f7e565b60405161043a919061477e565b60405180910390f35b34801561044f57600080fd5b50610458610f96565b005b34801561046657600080fd5b50610481600480360381019061047c91906138a8565b61108a565b005b34801561048f57600080fd5b506104986110aa565b6040516104a5919061477e565b60405180910390f35b3480156104ba57600080fd5b506104c36110b0565b6040516104d0919061477e565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190613ad2565b6110d4565b60405161050d919061477e565b60405180910390f35b34801561052257600080fd5b5061052b611127565b604051610538919061477e565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613a85565b61114b565b005b34801561057657600080fd5b50610591600480360381019061058c9190613ad2565b6111a2565b60405161059e91906141a0565b60405180910390f35b3480156105b357600080fd5b506105bc6111b8565b6040516105c991906142c1565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f4919061383b565b611246565b604051610606919061477e565b60405180910390f35b34801561061b57600080fd5b5061062461132f565b005b34801561063257600080fd5b5061063b611343565b604051610648919061477e565b60405180910390f35b34801561065d57600080fd5b50610666611349565b60405161067391906141a0565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613ad2565b611373565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613ad2565b6113bc565b6040516106d99190614763565b60405180910390f35b3480156106ee57600080fd5b506106f76113d4565b60405161070491906142c1565b60405180910390f35b61072760048036038101906107229190613ad2565b611466565b005b34801561073557600080fd5b50610750600480360381019061074b9190613a85565b6117ad565b005b34801561075e57600080fd5b506107796004803603810190610774919061397e565b6117cb565b005b34801561078757600080fd5b506107a2600480360381019061079d91906138fb565b61194c565b005b3480156107b057600080fd5b506107cb60048036038101906107c69190613ad2565b6119a8565b6040516107d891906142c1565b60405180910390f35b3480156107ed57600080fd5b50610808600480360381019061080391906139be565b611a4f565b005b34801561081657600080fd5b5061081f611d2f565b60405161082c919061477e565b60405180910390f35b34801561084157600080fd5b5061084a611d57565b604051610857919061477e565b60405180910390f35b34801561086c57600080fd5b50610875611d5d565b60405161088291906142c1565b60405180910390f35b34801561089757600080fd5b506108b260048036038101906108ad9190613868565b611def565b6040516108bf9190614267565b60405180910390f35b3480156108d457600080fd5b506108ef60048036038101906108ea919061383b565b611e83565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109bc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a2457507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a345750610a3382611f07565b5b9050919050565b606060018054610a4a90614b01565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7690614b01565b8015610ac35780601f10610a9857610100808354040283529160200191610ac3565b820191906000526020600020905b815481529060010190602001808311610aa657829003601f168201915b5050505050905090565b6000610ad882611f71565b610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e90614723565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5d826111a2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc5906145c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bed611f7e565b73ffffffffffffffffffffffffffffffffffffffff161480610c1c5750610c1b81610c16611f7e565b611def565b5b610c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5290614463565b60405180910390fd5b610c66838383611f86565b505050565b6000610c75612038565b600054610c829190614998565b905090565b600a60009054906101000a900460ff1681565b610ca5838383612041565b505050565b610cb26125fa565b60026009541415610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef906146c3565b60405180910390fd5b6002600981905550610d0981612678565b600160098190555050565b610d1c6125fa565b80600a60006101000a81548160ff02191690836003811115610d4157610d40614c3c565b5b02179055507fafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e81604051610d759190614282565b60405180910390a150565b6000610d8b83611246565b8210610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc3906142e3565b60405180910390fd5b6000610dd6610c6b565b905060008060005b83811015610f3c576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610ed057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f285786841415610f19578195505050505050610f78565b8380610f2490614b64565b9450505b508080610f3490614b64565b915050610dde565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90614663565b60405180910390fd5b92915050565b600d6020528060005260406000206000915090505481565b60026009541415610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd3906146c3565b60405180910390fd5b6002600981905550610fec6125fa565b6000471161102f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611026906144e3565b60405180910390fd5b61104061103a611349565b47612906565b7f6cca423c6ffc06e62a0acc433965e074b11c28479b0449250ce3ff65ac9e39fe611069611349565b4760405161107892919061423e565b60405180910390a16001600981905550565b6110a58383836040518060200160405280600081525061194c565b505050565b600e5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006110de610c6b565b821061111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690614383565b60405180910390fd5b819050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6111536125fa565b8181600b919061116492919061361a565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6828260405161119692919061429d565b60405180910390a15050565b60006111ad826129fa565b600001519050919050565b600b80546111c590614b01565b80601f01602080910402602001604051908101604052809291908181526020018280546111f190614b01565b801561123e5780601f106112135761010080835404028352916020019161123e565b820191906000526020600020905b81548152906001019060200180831161122157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ae906144a3565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6113376125fa565b6113416000612bfd565b565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61137b6125fa565b80600c819055507ff347ee99503bf19c028bd6b18f3c676e82a9bb5b2bb5225aebe0fd62fd6a0d19816040516113b1919061477e565b60405180910390a150565b6113c46136a0565b6113cd826129fa565b9050919050565b6060600280546113e390614b01565b80601f016020809104026020016040519081016040528092919081815260200182805461140f90614b01565b801561145c5780601f106114315761010080835404028352916020019161145c565b820191906000526020600020905b81548152906001019060200180831161143f57829003601f168201915b5050505050905090565b6002600381111561147a57611479614c3c565b5b600a60009054906101000a900460ff16600381111561149c5761149b614c3c565b5b146114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390614363565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154190614603565b60405180910390fd5b6000811161158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490614303565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008111156115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e790614703565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600e547f00000000000000000000000000000000000000000000000000000000000000008361163e610c6b565b6116489190614883565b6116529190614883565b61165c9190614998565b111561169d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611694906146a3565b60405180910390fd5b600080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561174c576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c5460018361173b9190614998565b611745919061490a565b905061175d565b600c548261175a919061490a565b90505b6117673383612cc3565b61177081612ce1565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33836040516117a192919061423e565b60405180910390a15050565b6117b56125fa565b8181600f91906117c692919061361a565b505050565b6117d3611f7e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183890614583565b60405180910390fd5b806006600061184e611f7e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118fb611f7e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119409190614267565b60405180910390a35050565b611957848484612041565b61196384848484612d82565b6119a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611999906145e3565b60405180910390fd5b50505050565b60606119b382611f71565b6119f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e990614563565b60405180910390fd5b60006119fc612f19565b90506000815111611a1c5760405180602001604052806000815250611a47565b80611a2684612fab565b604051602001611a37929190614167565b6040516020818303038152906040525b915050919050565b611a576125fa565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe906143c3565b60405180910390fd5b60008111611b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0190614303565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081611b34610c6b565b611b3e9190614883565b1115611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b76906144c3565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081600e54611bae9190614883565b1115611bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be690614403565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000082611c1d9190614bad565b14611c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490614443565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000082611c8b91906148d9565b905060005b81811015611cd557611cc2847f0000000000000000000000000000000000000000000000000000000000000000612cc3565b8080611ccd90614b64565b915050611c90565b5081600e6000828254611ce89190614883565b925050819055507fd729ebd340be850113adba35e3218ac6bd77c375ce35c256e3493fdf30b99f3e338484604051611d22939291906141bb565b60405180910390a1505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60075481565b6060600f8054611d6c90614b01565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9890614b01565b8015611de55780601f10611dba57610100808354040283529160200191611de5565b820191906000526020600020905b815481529060010190602001808311611dc857829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e8b6125fa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef290614323565b60405180910390fd5b611f0481612bfd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061204c826129fa565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612073611f7e565b73ffffffffffffffffffffffffffffffffffffffff1614806120cf5750612098611f7e565b73ffffffffffffffffffffffffffffffffffffffff166120b784610acd565b73ffffffffffffffffffffffffffffffffffffffff16145b806120eb57506120ea82600001516120e5611f7e565b611def565b5b90508061212d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612124906145a3565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690614503565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561220f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612206906143a3565b60405180910390fd5b61221c858585600161310c565b61222c6000848460000151611f86565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661229a9190614964565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661233e919061483d565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846124449190614883565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561258a576124ba81611f71565b15612589576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125f28686866001613112565b505050505050565b612602611f7e565b73ffffffffffffffffffffffffffffffffffffffff16612620611349565b73ffffffffffffffffffffffffffffffffffffffff1614612676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266d90614523565b60405180910390fd5b565b60006007549050600082116126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990614483565b60405180910390fd5b6000600183836126d29190614883565b6126dc9190614998565b905060017f000000000000000000000000000000000000000000000000000000000000000061270b9190614998565b8111156127425760017f000000000000000000000000000000000000000000000000000000000000000061273f9190614998565b90505b61274b81611f71565b61278a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278190614683565b60405180910390fd5b60008290505b8181116128ed57600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128da57600061280d826129fa565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b80806128e590614b64565b915050612790565b506001816128fb9190614883565b600781905550505050565b80471015612949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294090614423565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161296f9061418b565b60006040518083038185875af1925050503d80600081146129ac576040519150601f19603f3d011682016040523d82523d6000602084013e6129b1565b606091505b50509050806129f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ec906143e3565b60405180910390fd5b505050565b612a026136a0565b612a0b82611f71565b612a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4190614343565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310612aae5760017f000000000000000000000000000000000000000000000000000000000000000084612aa19190614998565b612aab9190614883565b90505b60008390505b818110612bbc576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ba857809350505050612bf8565b508080612bb490614ad7565b915050612ab4565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bef906146e3565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612cdd828260405180602001604052806000815250613118565b5050565b80341015612d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1b90614543565b60405180910390fd5b80341115612d7f573373ffffffffffffffffffffffffffffffffffffffff166108fc8234612d529190614998565b9081150290604051600060405180830381858888f19350505050158015612d7d573d6000803e3d6000fd5b505b50565b6000612da38473ffffffffffffffffffffffffffffffffffffffff166135f7565b15612f0c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dcc611f7e565b8786866040518563ffffffff1660e01b8152600401612dee94939291906141f2565b602060405180830381600087803b158015612e0857600080fd5b505af1925050508015612e3957506040513d601f19601f82011682018060405250810190612e369190613a2b565b60015b612ebc573d8060008114612e69576040519150601f19603f3d011682016040523d82523d6000602084013e612e6e565b606091505b50600081511415612eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eab906145e3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f11565b600190505b949350505050565b6060600b8054612f2890614b01565b80601f0160208091040260200160405190810160405280929190818152602001828054612f5490614b01565b8015612fa15780601f10612f7657610100808354040283529160200191612fa1565b820191906000526020600020905b815481529060010190602001808311612f8457829003601f168201915b5050505050905090565b60606000821415612ff3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613107565b600082905060005b6000821461302557808061300e90614b64565b915050600a8261301e91906148d9565b9150612ffb565b60008167ffffffffffffffff81111561304157613040614cc9565b5b6040519080825280601f01601f1916602001820160405280156130735781602001600182028036833780820191505090505b5090505b600085146131005760018261308c9190614998565b9150600a8561309b9190614bad565b60306130a79190614883565b60f81b8183815181106130bd576130bc614c9a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130f991906148d9565b9450613077565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561318e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318590614643565b60405180910390fd5b61319781611f71565b156131d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ce90614623565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083111561323a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323190614743565b60405180910390fd5b613247600085838661310c565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613344919061483d565b6fffffffffffffffffffffffffffffffff16815260200185836020015161336b919061483d565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156135da57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461357a6000888488612d82565b6135b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b0906145e3565b60405180910390fd5b81806135c490614b64565b92505080806135d290614b64565b915050613509565b50806000819055506135ef6000878588613112565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461362690614b01565b90600052602060002090601f016020900481019282613648576000855561368f565b82601f1061366157803560ff191683800117855561368f565b8280016001018555821561368f579182015b8281111561368e578235825591602001919060010190613673565b5b50905061369c91906136da565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156136f35760008160009055506001016136db565b5090565b600061370a613705846147be565b614799565b90508281526020810184848401111561372657613725614d07565b5b613731848285614a95565b509392505050565b60008135905061374881615646565b92915050565b60008135905061375d8161565d565b92915050565b60008135905061377281615674565b92915050565b60008151905061378781615674565b92915050565b600082601f8301126137a2576137a1614cfd565b5b81356137b28482602086016136f7565b91505092915050565b6000813590506137ca8161568b565b92915050565b60008083601f8401126137e6576137e5614cfd565b5b8235905067ffffffffffffffff81111561380357613802614cf8565b5b60208301915083600182028301111561381f5761381e614d02565b5b9250929050565b6000813590506138358161569b565b92915050565b60006020828403121561385157613850614d11565b5b600061385f84828501613739565b91505092915050565b6000806040838503121561387f5761387e614d11565b5b600061388d85828601613739565b925050602061389e85828601613739565b9150509250929050565b6000806000606084860312156138c1576138c0614d11565b5b60006138cf86828701613739565b93505060206138e086828701613739565b92505060406138f186828701613826565b9150509250925092565b6000806000806080858703121561391557613914614d11565b5b600061392387828801613739565b945050602061393487828801613739565b935050604061394587828801613826565b925050606085013567ffffffffffffffff81111561396657613965614d0c565b5b6139728782880161378d565b91505092959194509250565b6000806040838503121561399557613994614d11565b5b60006139a385828601613739565b92505060206139b48582860161374e565b9150509250929050565b600080604083850312156139d5576139d4614d11565b5b60006139e385828601613739565b92505060206139f485828601613826565b9150509250929050565b600060208284031215613a1457613a13614d11565b5b6000613a2284828501613763565b91505092915050565b600060208284031215613a4157613a40614d11565b5b6000613a4f84828501613778565b91505092915050565b600060208284031215613a6e57613a6d614d11565b5b6000613a7c848285016137bb565b91505092915050565b60008060208385031215613a9c57613a9b614d11565b5b600083013567ffffffffffffffff811115613aba57613ab9614d0c565b5b613ac6858286016137d0565b92509250509250929050565b600060208284031215613ae857613ae7614d11565b5b6000613af684828501613826565b91505092915050565b613b08816149cc565b82525050565b613b17816149cc565b82525050565b613b26816149de565b82525050565b6000613b37826147ef565b613b418185614805565b9350613b51818560208601614aa4565b613b5a81614d16565b840191505092915050565b613b6e81614a83565b82525050565b6000613b808385614821565b9350613b8d838584614a95565b613b9683614d16565b840190509392505050565b6000613bac826147fa565b613bb68185614821565b9350613bc6818560208601614aa4565b613bcf81614d16565b840191505092915050565b6000613be5826147fa565b613bef8185614832565b9350613bff818560208601614aa4565b80840191505092915050565b6000613c18602283614821565b9150613c2382614d27565b604082019050919050565b6000613c3b601383614821565b9150613c4682614d76565b602082019050919050565b6000613c5e602683614821565b9150613c6982614d9f565b604082019050919050565b6000613c81602a83614821565b9150613c8c82614dee565b604082019050919050565b6000613ca4601f83614821565b9150613caf82614e3d565b602082019050919050565b6000613cc7602383614821565b9150613cd282614e66565b604082019050919050565b6000613cea602583614821565b9150613cf582614eb5565b604082019050919050565b6000613d0d601183614821565b9150613d1882614f04565b602082019050919050565b6000613d30603a83614821565b9150613d3b82614f2d565b604082019050919050565b6000613d53602083614821565b9150613d5e82614f7c565b602082019050919050565b6000613d76601d83614821565b9150613d8182614fa5565b602082019050919050565b6000613d99603183614821565b9150613da482614fce565b604082019050919050565b6000613dbc603983614821565b9150613dc78261501d565b604082019050919050565b6000613ddf601883614821565b9150613dea8261506c565b602082019050919050565b6000613e02602b83614821565b9150613e0d82615095565b604082019050919050565b6000613e25601883614821565b9150613e30826150e4565b602082019050919050565b6000613e48601983614821565b9150613e538261510d565b602082019050919050565b6000613e6b602683614821565b9150613e7682615136565b604082019050919050565b6000613e8e602083614821565b9150613e9982615185565b602082019050919050565b6000613eb1601b83614821565b9150613ebc826151ae565b602082019050919050565b6000613ed4602f83614821565b9150613edf826151d7565b604082019050919050565b6000613ef7601a83614821565b9150613f0282615226565b602082019050919050565b6000613f1a603283614821565b9150613f258261524f565b604082019050919050565b6000613f3d602283614821565b9150613f488261529e565b604082019050919050565b6000613f60600083614816565b9150613f6b826152ed565b600082019050919050565b6000613f83603383614821565b9150613f8e826152f0565b604082019050919050565b6000613fa6602583614821565b9150613fb18261533f565b604082019050919050565b6000613fc9601d83614821565b9150613fd48261538e565b602082019050919050565b6000613fec602183614821565b9150613ff7826153b7565b604082019050919050565b600061400f602e83614821565b915061401a82615406565b604082019050919050565b6000614032602683614821565b915061403d82615455565b604082019050919050565b6000614055601983614821565b9150614060826154a4565b602082019050919050565b6000614078601f83614821565b9150614083826154cd565b602082019050919050565b600061409b602f83614821565b91506140a6826154f6565b604082019050919050565b60006140be602683614821565b91506140c982615545565b604082019050919050565b60006140e1602d83614821565b91506140ec82615594565b604082019050919050565b6000614104602283614821565b915061410f826155e3565b604082019050919050565b6040820160008201516141306000850182613aff565b5060208201516141436020850182614158565b50505050565b61415281614a65565b82525050565b61416181614a6f565b82525050565b60006141738285613bda565b915061417f8284613bda565b91508190509392505050565b600061419682613f53565b9150819050919050565b60006020820190506141b56000830184613b0e565b92915050565b60006060820190506141d06000830186613b0e565b6141dd6020830185613b0e565b6141ea6040830184614149565b949350505050565b60006080820190506142076000830187613b0e565b6142146020830186613b0e565b6142216040830185614149565b81810360608301526142338184613b2c565b905095945050505050565b60006040820190506142536000830185613b0e565b6142606020830184614149565b9392505050565b600060208201905061427c6000830184613b1d565b92915050565b60006020820190506142976000830184613b65565b92915050565b600060208201905081810360008301526142b8818486613b74565b90509392505050565b600060208201905081810360008301526142db8184613ba1565b905092915050565b600060208201905081810360008301526142fc81613c0b565b9050919050565b6000602082019050818103600083015261431c81613c2e565b9050919050565b6000602082019050818103600083015261433c81613c51565b9050919050565b6000602082019050818103600083015261435c81613c74565b9050919050565b6000602082019050818103600083015261437c81613c97565b9050919050565b6000602082019050818103600083015261439c81613cba565b9050919050565b600060208201905081810360008301526143bc81613cdd565b9050919050565b600060208201905081810360008301526143dc81613d00565b9050919050565b600060208201905081810360008301526143fc81613d23565b9050919050565b6000602082019050818103600083015261441c81613d46565b9050919050565b6000602082019050818103600083015261443c81613d69565b9050919050565b6000602082019050818103600083015261445c81613d8c565b9050919050565b6000602082019050818103600083015261447c81613daf565b9050919050565b6000602082019050818103600083015261449c81613dd2565b9050919050565b600060208201905081810360008301526144bc81613df5565b9050919050565b600060208201905081810360008301526144dc81613e18565b9050919050565b600060208201905081810360008301526144fc81613e3b565b9050919050565b6000602082019050818103600083015261451c81613e5e565b9050919050565b6000602082019050818103600083015261453c81613e81565b9050919050565b6000602082019050818103600083015261455c81613ea4565b9050919050565b6000602082019050818103600083015261457c81613ec7565b9050919050565b6000602082019050818103600083015261459c81613eea565b9050919050565b600060208201905081810360008301526145bc81613f0d565b9050919050565b600060208201905081810360008301526145dc81613f30565b9050919050565b600060208201905081810360008301526145fc81613f76565b9050919050565b6000602082019050818103600083015261461c81613f99565b9050919050565b6000602082019050818103600083015261463c81613fbc565b9050919050565b6000602082019050818103600083015261465c81613fdf565b9050919050565b6000602082019050818103600083015261467c81614002565b9050919050565b6000602082019050818103600083015261469c81614025565b9050919050565b600060208201905081810360008301526146bc81614048565b9050919050565b600060208201905081810360008301526146dc8161406b565b9050919050565b600060208201905081810360008301526146fc8161408e565b9050919050565b6000602082019050818103600083015261471c816140b1565b9050919050565b6000602082019050818103600083015261473c816140d4565b9050919050565b6000602082019050818103600083015261475c816140f7565b9050919050565b6000604082019050614778600083018461411a565b92915050565b60006020820190506147936000830184614149565b92915050565b60006147a36147b4565b90506147af8282614b33565b919050565b6000604051905090565b600067ffffffffffffffff8211156147d9576147d8614cc9565b5b6147e282614d16565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061484882614a29565b915061485383614a29565b9250826fffffffffffffffffffffffffffffffff0382111561487857614877614bde565b5b828201905092915050565b600061488e82614a65565b915061489983614a65565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148ce576148cd614bde565b5b828201905092915050565b60006148e482614a65565b91506148ef83614a65565b9250826148ff576148fe614c0d565b5b828204905092915050565b600061491582614a65565b915061492083614a65565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561495957614958614bde565b5b828202905092915050565b600061496f82614a29565b915061497a83614a29565b92508282101561498d5761498c614bde565b5b828203905092915050565b60006149a382614a65565b91506149ae83614a65565b9250828210156149c1576149c0614bde565b5b828203905092915050565b60006149d782614a45565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614a2482615632565b919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b6000614a8e82614a16565b9050919050565b82818337600083830152505050565b60005b83811015614ac2578082015181840152602081019050614aa7565b83811115614ad1576000848401525b50505050565b6000614ae282614a65565b91506000821415614af657614af5614bde565b5b600182039050919050565b60006002820490506001821680614b1957607f821691505b60208210811415614b2d57614b2c614c6b565b5b50919050565b614b3c82614d16565b810181811067ffffffffffffffff82111715614b5b57614b5a614cc9565b5b80604052505050565b6000614b6f82614a65565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ba257614ba1614bde565b5b600182019050919050565b6000614bb882614a65565b9150614bc383614a65565b925082614bd357614bd2614c0d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5446423a20696e76616c696420616d6f756e7400000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f5446423a205075626c69632073616c65206973206e6f74206163746976652e00600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f5446423a207a65726f2061646472657373000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f5446423a206d6178207265736572766520616d6f756e74206578636565646564600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f5446423a2063616e206f6e6c79206d696e742061206d756c7469706c65206f6660008201527f20746865206d6178426174636853697a65000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5446423a206d617820737570706c792065786365656465640000000000000000600082015250565b7f5446423a20496e73756666696369656e742062616c616e636500000000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5446423a204e65656420746f2073656e64206d6f7265204554482e0000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f5446423a20636f6e7472616374206973206e6f7420616c6c6f77656420746f2060008201527f6d696e742e000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f5446423a204d617820737570706c792065786365656465642e00000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f5446423a2045786365656473207468652073696e676c65206d6178696d756d2060008201527f6c696d69742e0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6004811061564357615642614c3c565b5b50565b61564f816149cc565b811461565a57600080fd5b50565b615666816149de565b811461567157600080fd5b50565b61567d816149ea565b811461568857600080fd5b50565b6004811061569857600080fd5b50565b6156a481614a65565b81146156af57600080fd5b5056fea2646970667358221220012bb48029a5775db986029b92d9e1fd03a9814299e03254aebfe8e6b0986ff664736f6c63430008070033697066733a2f2f516d586677436536756148464671484d47747768707a77446278446d6f6a374e4a346d625272777636314d6b6d7500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a3872586f5843597554594e5447513657774b7a554539777552535a73344534413132474d4a3851394d57632f00000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636c0360eb11610123578063a201fc50116100ab578063d5abeb011161006f578063d5abeb011461080a578063d7224ba014610835578063e8a3d48514610860578063e985e9c51461088b578063f2fde38b146108c857610225565b8063a201fc5014610729578063a22cb46514610752578063b88d4fde1461077b578063c87b56dd146107a4578063cc47a40b146107e157610225565b80638da5cb5b116100f25780638da5cb5b1461065157806391b7f5ed1461067c5780639231ab2a146106a557806395d89b41146106e2578063a0712d681461070d57610225565b80636c0360eb146105a757806370a08231146105d2578063715018a61461060f5780638d859f3e1461062657610225565b80632f745c59116101b15780634b09b72a116101755780634b09b72a146104ae5780634f6ccce7146104d9578063507e094f1461051657806355f804b3146105415780636352211e1461056a57610225565b80632f745c59146103c9578063389fcf06146104065780633ccfd60b1461044357806342842e0e1461045a578063433adb051461048357610225565b806318160ddd116101f857806318160ddd146102f8578063200d2ed21461032357806323b872dd1461034e5780632d20fb60146103775780632e49d78b146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906139fe565b6108f1565b60405161025e9190614267565b60405180910390f35b34801561027357600080fd5b5061027c610a3b565b60405161028991906142c1565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613ad2565b610acd565b6040516102c691906141a0565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f191906139be565b610b52565b005b34801561030457600080fd5b5061030d610c6b565b60405161031a919061477e565b60405180910390f35b34801561032f57600080fd5b50610338610c87565b6040516103459190614282565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906138a8565b610c9a565b005b34801561038357600080fd5b5061039e60048036038101906103999190613ad2565b610caa565b005b3480156103ac57600080fd5b506103c760048036038101906103c29190613a58565b610d14565b005b3480156103d557600080fd5b506103f060048036038101906103eb91906139be565b610d80565b6040516103fd919061477e565b60405180910390f35b34801561041257600080fd5b5061042d6004803603810190610428919061383b565b610f7e565b60405161043a919061477e565b60405180910390f35b34801561044f57600080fd5b50610458610f96565b005b34801561046657600080fd5b50610481600480360381019061047c91906138a8565b61108a565b005b34801561048f57600080fd5b506104986110aa565b6040516104a5919061477e565b60405180910390f35b3480156104ba57600080fd5b506104c36110b0565b6040516104d0919061477e565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190613ad2565b6110d4565b60405161050d919061477e565b60405180910390f35b34801561052257600080fd5b5061052b611127565b604051610538919061477e565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613a85565b61114b565b005b34801561057657600080fd5b50610591600480360381019061058c9190613ad2565b6111a2565b60405161059e91906141a0565b60405180910390f35b3480156105b357600080fd5b506105bc6111b8565b6040516105c991906142c1565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f4919061383b565b611246565b604051610606919061477e565b60405180910390f35b34801561061b57600080fd5b5061062461132f565b005b34801561063257600080fd5b5061063b611343565b604051610648919061477e565b60405180910390f35b34801561065d57600080fd5b50610666611349565b60405161067391906141a0565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613ad2565b611373565b005b3480156106b157600080fd5b506106cc60048036038101906106c79190613ad2565b6113bc565b6040516106d99190614763565b60405180910390f35b3480156106ee57600080fd5b506106f76113d4565b60405161070491906142c1565b60405180910390f35b61072760048036038101906107229190613ad2565b611466565b005b34801561073557600080fd5b50610750600480360381019061074b9190613a85565b6117ad565b005b34801561075e57600080fd5b506107796004803603810190610774919061397e565b6117cb565b005b34801561078757600080fd5b506107a2600480360381019061079d91906138fb565b61194c565b005b3480156107b057600080fd5b506107cb60048036038101906107c69190613ad2565b6119a8565b6040516107d891906142c1565b60405180910390f35b3480156107ed57600080fd5b50610808600480360381019061080391906139be565b611a4f565b005b34801561081657600080fd5b5061081f611d2f565b60405161082c919061477e565b60405180910390f35b34801561084157600080fd5b5061084a611d57565b604051610857919061477e565b60405180910390f35b34801561086c57600080fd5b50610875611d5d565b60405161088291906142c1565b60405180910390f35b34801561089757600080fd5b506108b260048036038101906108ad9190613868565b611def565b6040516108bf9190614267565b60405180910390f35b3480156108d457600080fd5b506108ef60048036038101906108ea919061383b565b611e83565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109bc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a2457507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a345750610a3382611f07565b5b9050919050565b606060018054610a4a90614b01565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7690614b01565b8015610ac35780601f10610a9857610100808354040283529160200191610ac3565b820191906000526020600020905b815481529060010190602001808311610aa657829003601f168201915b5050505050905090565b6000610ad882611f71565b610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e90614723565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5d826111a2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc5906145c3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bed611f7e565b73ffffffffffffffffffffffffffffffffffffffff161480610c1c5750610c1b81610c16611f7e565b611def565b5b610c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5290614463565b60405180910390fd5b610c66838383611f86565b505050565b6000610c75612038565b600054610c829190614998565b905090565b600a60009054906101000a900460ff1681565b610ca5838383612041565b505050565b610cb26125fa565b60026009541415610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef906146c3565b60405180910390fd5b6002600981905550610d0981612678565b600160098190555050565b610d1c6125fa565b80600a60006101000a81548160ff02191690836003811115610d4157610d40614c3c565b5b02179055507fafa725e7f44cadb687a7043853fa1a7e7b8f0da74ce87ec546e9420f04da8c1e81604051610d759190614282565b60405180910390a150565b6000610d8b83611246565b8210610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc3906142e3565b60405180910390fd5b6000610dd6610c6b565b905060008060005b83811015610f3c576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610ed057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f285786841415610f19578195505050505050610f78565b8380610f2490614b64565b9450505b508080610f3490614b64565b915050610dde565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90614663565b60405180910390fd5b92915050565b600d6020528060005260406000206000915090505481565b60026009541415610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd3906146c3565b60405180910390fd5b6002600981905550610fec6125fa565b6000471161102f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611026906144e3565b60405180910390fd5b61104061103a611349565b47612906565b7f6cca423c6ffc06e62a0acc433965e074b11c28479b0449250ce3ff65ac9e39fe611069611349565b4760405161107892919061423e565b60405180910390a16001600981905550565b6110a58383836040518060200160405280600081525061194c565b505050565b600e5481565b7f000000000000000000000000000000000000000000000000000000000000012c81565b60006110de610c6b565b821061111f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111690614383565b60405180910390fd5b819050919050565b7f000000000000000000000000000000000000000000000000000000000000001481565b6111536125fa565b8181600b919061116492919061361a565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6828260405161119692919061429d565b60405180910390a15050565b60006111ad826129fa565b600001519050919050565b600b80546111c590614b01565b80601f01602080910402602001604051908101604052809291908181526020018280546111f190614b01565b801561123e5780601f106112135761010080835404028352916020019161123e565b820191906000526020600020905b81548152906001019060200180831161122157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ae906144a3565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6113376125fa565b6113416000612bfd565b565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61137b6125fa565b80600c819055507ff347ee99503bf19c028bd6b18f3c676e82a9bb5b2bb5225aebe0fd62fd6a0d19816040516113b1919061477e565b60405180910390a150565b6113c46136a0565b6113cd826129fa565b9050919050565b6060600280546113e390614b01565b80601f016020809104026020016040519081016040528092919081815260200182805461140f90614b01565b801561145c5780601f106114315761010080835404028352916020019161145c565b820191906000526020600020905b81548152906001019060200180831161143f57829003601f168201915b5050505050905090565b6002600381111561147a57611479614c3c565b5b600a60009054906101000a900460ff16600381111561149c5761149b614c3c565b5b146114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390614363565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461154a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154190614603565b60405180910390fd5b6000811161158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490614303565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000148111156115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e790614703565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000015b3600e547f000000000000000000000000000000000000000000000000000000000000012c8361163e610c6b565b6116489190614883565b6116529190614883565b61165c9190614998565b111561169d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611694906146a3565b60405180910390fd5b600080600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561174c576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c5460018361173b9190614998565b611745919061490a565b905061175d565b600c548261175a919061490a565b90505b6117673383612cc3565b61177081612ce1565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe33836040516117a192919061423e565b60405180910390a15050565b6117b56125fa565b8181600f91906117c692919061361a565b505050565b6117d3611f7e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183890614583565b60405180910390fd5b806006600061184e611f7e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118fb611f7e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119409190614267565b60405180910390a35050565b611957848484612041565b61196384848484612d82565b6119a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611999906145e3565b60405180910390fd5b50505050565b60606119b382611f71565b6119f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e990614563565b60405180910390fd5b60006119fc612f19565b90506000815111611a1c5760405180602001604052806000815250611a47565b80611a2684612fab565b604051602001611a37929190614167565b6040516020818303038152906040525b915050919050565b611a576125fa565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe906143c3565b60405180910390fd5b60008111611b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0190614303565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000015b381611b34610c6b565b611b3e9190614883565b1115611b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b76906144c3565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000012c81600e54611bae9190614883565b1115611bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be690614403565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000001482611c1d9190614bad565b14611c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490614443565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000001482611c8b91906148d9565b905060005b81811015611cd557611cc2847f0000000000000000000000000000000000000000000000000000000000000014612cc3565b8080611ccd90614b64565b915050611c90565b5081600e6000828254611ce89190614883565b925050819055507fd729ebd340be850113adba35e3218ac6bd77c375ce35c256e3493fdf30b99f3e338484604051611d22939291906141bb565b60405180910390a1505050565b60007f00000000000000000000000000000000000000000000000000000000000015b3905090565b60075481565b6060600f8054611d6c90614b01565b80601f0160208091040260200160405190810160405280929190818152602001828054611d9890614b01565b8015611de55780601f10611dba57610100808354040283529160200191611de5565b820191906000526020600020905b815481529060010190602001808311611dc857829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e8b6125fa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef290614323565b60405180910390fd5b611f0481612bfd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061204c826129fa565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612073611f7e565b73ffffffffffffffffffffffffffffffffffffffff1614806120cf5750612098611f7e565b73ffffffffffffffffffffffffffffffffffffffff166120b784610acd565b73ffffffffffffffffffffffffffffffffffffffff16145b806120eb57506120ea82600001516120e5611f7e565b611def565b5b90508061212d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612124906145a3565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690614503565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561220f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612206906143a3565b60405180910390fd5b61221c858585600161310c565b61222c6000848460000151611f86565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661229a9190614964565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661233e919061483d565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846124449190614883565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561258a576124ba81611f71565b15612589576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125f28686866001613112565b505050505050565b612602611f7e565b73ffffffffffffffffffffffffffffffffffffffff16612620611349565b73ffffffffffffffffffffffffffffffffffffffff1614612676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266d90614523565b60405180910390fd5b565b60006007549050600082116126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990614483565b60405180910390fd5b6000600183836126d29190614883565b6126dc9190614998565b905060017f00000000000000000000000000000000000000000000000000000000000015b361270b9190614998565b8111156127425760017f00000000000000000000000000000000000000000000000000000000000015b361273f9190614998565b90505b61274b81611f71565b61278a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278190614683565b60405180910390fd5b60008290505b8181116128ed57600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128da57600061280d826129fa565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b80806128e590614b64565b915050612790565b506001816128fb9190614883565b600781905550505050565b80471015612949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294090614423565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161296f9061418b565b60006040518083038185875af1925050503d80600081146129ac576040519150601f19603f3d011682016040523d82523d6000602084013e6129b1565b606091505b50509050806129f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ec906143e3565b60405180910390fd5b505050565b612a026136a0565b612a0b82611f71565b612a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4190614343565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000148310612aae5760017f000000000000000000000000000000000000000000000000000000000000001484612aa19190614998565b612aab9190614883565b90505b60008390505b818110612bbc576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ba857809350505050612bf8565b508080612bb490614ad7565b915050612ab4565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bef906146e3565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612cdd828260405180602001604052806000815250613118565b5050565b80341015612d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1b90614543565b60405180910390fd5b80341115612d7f573373ffffffffffffffffffffffffffffffffffffffff166108fc8234612d529190614998565b9081150290604051600060405180830381858888f19350505050158015612d7d573d6000803e3d6000fd5b505b50565b6000612da38473ffffffffffffffffffffffffffffffffffffffff166135f7565b15612f0c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dcc611f7e565b8786866040518563ffffffff1660e01b8152600401612dee94939291906141f2565b602060405180830381600087803b158015612e0857600080fd5b505af1925050508015612e3957506040513d601f19601f82011682018060405250810190612e369190613a2b565b60015b612ebc573d8060008114612e69576040519150601f19603f3d011682016040523d82523d6000602084013e612e6e565b606091505b50600081511415612eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eab906145e3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f11565b600190505b949350505050565b6060600b8054612f2890614b01565b80601f0160208091040260200160405190810160405280929190818152602001828054612f5490614b01565b8015612fa15780601f10612f7657610100808354040283529160200191612fa1565b820191906000526020600020905b815481529060010190602001808311612f8457829003601f168201915b5050505050905090565b60606000821415612ff3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613107565b600082905060005b6000821461302557808061300e90614b64565b915050600a8261301e91906148d9565b9150612ffb565b60008167ffffffffffffffff81111561304157613040614cc9565b5b6040519080825280601f01601f1916602001820160405280156130735781602001600182028036833780820191505090505b5090505b600085146131005760018261308c9190614998565b9150600a8561309b9190614bad565b60306130a79190614883565b60f81b8183815181106130bd576130bc614c9a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130f991906148d9565b9450613077565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561318e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318590614643565b60405180910390fd5b61319781611f71565b156131d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ce90614623565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000001483111561323a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323190614743565b60405180910390fd5b613247600085838661310c565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613344919061483d565b6fffffffffffffffffffffffffffffffff16815260200185836020015161336b919061483d565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156135da57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461357a6000888488612d82565b6135b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b0906145e3565b60405180910390fd5b81806135c490614b64565b92505080806135d290614b64565b915050613509565b50806000819055506135ef6000878588613112565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461362690614b01565b90600052602060002090601f016020900481019282613648576000855561368f565b82601f1061366157803560ff191683800117855561368f565b8280016001018555821561368f579182015b8281111561368e578235825591602001919060010190613673565b5b50905061369c91906136da565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156136f35760008160009055506001016136db565b5090565b600061370a613705846147be565b614799565b90508281526020810184848401111561372657613725614d07565b5b613731848285614a95565b509392505050565b60008135905061374881615646565b92915050565b60008135905061375d8161565d565b92915050565b60008135905061377281615674565b92915050565b60008151905061378781615674565b92915050565b600082601f8301126137a2576137a1614cfd565b5b81356137b28482602086016136f7565b91505092915050565b6000813590506137ca8161568b565b92915050565b60008083601f8401126137e6576137e5614cfd565b5b8235905067ffffffffffffffff81111561380357613802614cf8565b5b60208301915083600182028301111561381f5761381e614d02565b5b9250929050565b6000813590506138358161569b565b92915050565b60006020828403121561385157613850614d11565b5b600061385f84828501613739565b91505092915050565b6000806040838503121561387f5761387e614d11565b5b600061388d85828601613739565b925050602061389e85828601613739565b9150509250929050565b6000806000606084860312156138c1576138c0614d11565b5b60006138cf86828701613739565b93505060206138e086828701613739565b92505060406138f186828701613826565b9150509250925092565b6000806000806080858703121561391557613914614d11565b5b600061392387828801613739565b945050602061393487828801613739565b935050604061394587828801613826565b925050606085013567ffffffffffffffff81111561396657613965614d0c565b5b6139728782880161378d565b91505092959194509250565b6000806040838503121561399557613994614d11565b5b60006139a385828601613739565b92505060206139b48582860161374e565b9150509250929050565b600080604083850312156139d5576139d4614d11565b5b60006139e385828601613739565b92505060206139f485828601613826565b9150509250929050565b600060208284031215613a1457613a13614d11565b5b6000613a2284828501613763565b91505092915050565b600060208284031215613a4157613a40614d11565b5b6000613a4f84828501613778565b91505092915050565b600060208284031215613a6e57613a6d614d11565b5b6000613a7c848285016137bb565b91505092915050565b60008060208385031215613a9c57613a9b614d11565b5b600083013567ffffffffffffffff811115613aba57613ab9614d0c565b5b613ac6858286016137d0565b92509250509250929050565b600060208284031215613ae857613ae7614d11565b5b6000613af684828501613826565b91505092915050565b613b08816149cc565b82525050565b613b17816149cc565b82525050565b613b26816149de565b82525050565b6000613b37826147ef565b613b418185614805565b9350613b51818560208601614aa4565b613b5a81614d16565b840191505092915050565b613b6e81614a83565b82525050565b6000613b808385614821565b9350613b8d838584614a95565b613b9683614d16565b840190509392505050565b6000613bac826147fa565b613bb68185614821565b9350613bc6818560208601614aa4565b613bcf81614d16565b840191505092915050565b6000613be5826147fa565b613bef8185614832565b9350613bff818560208601614aa4565b80840191505092915050565b6000613c18602283614821565b9150613c2382614d27565b604082019050919050565b6000613c3b601383614821565b9150613c4682614d76565b602082019050919050565b6000613c5e602683614821565b9150613c6982614d9f565b604082019050919050565b6000613c81602a83614821565b9150613c8c82614dee565b604082019050919050565b6000613ca4601f83614821565b9150613caf82614e3d565b602082019050919050565b6000613cc7602383614821565b9150613cd282614e66565b604082019050919050565b6000613cea602583614821565b9150613cf582614eb5565b604082019050919050565b6000613d0d601183614821565b9150613d1882614f04565b602082019050919050565b6000613d30603a83614821565b9150613d3b82614f2d565b604082019050919050565b6000613d53602083614821565b9150613d5e82614f7c565b602082019050919050565b6000613d76601d83614821565b9150613d8182614fa5565b602082019050919050565b6000613d99603183614821565b9150613da482614fce565b604082019050919050565b6000613dbc603983614821565b9150613dc78261501d565b604082019050919050565b6000613ddf601883614821565b9150613dea8261506c565b602082019050919050565b6000613e02602b83614821565b9150613e0d82615095565b604082019050919050565b6000613e25601883614821565b9150613e30826150e4565b602082019050919050565b6000613e48601983614821565b9150613e538261510d565b602082019050919050565b6000613e6b602683614821565b9150613e7682615136565b604082019050919050565b6000613e8e602083614821565b9150613e9982615185565b602082019050919050565b6000613eb1601b83614821565b9150613ebc826151ae565b602082019050919050565b6000613ed4602f83614821565b9150613edf826151d7565b604082019050919050565b6000613ef7601a83614821565b9150613f0282615226565b602082019050919050565b6000613f1a603283614821565b9150613f258261524f565b604082019050919050565b6000613f3d602283614821565b9150613f488261529e565b604082019050919050565b6000613f60600083614816565b9150613f6b826152ed565b600082019050919050565b6000613f83603383614821565b9150613f8e826152f0565b604082019050919050565b6000613fa6602583614821565b9150613fb18261533f565b604082019050919050565b6000613fc9601d83614821565b9150613fd48261538e565b602082019050919050565b6000613fec602183614821565b9150613ff7826153b7565b604082019050919050565b600061400f602e83614821565b915061401a82615406565b604082019050919050565b6000614032602683614821565b915061403d82615455565b604082019050919050565b6000614055601983614821565b9150614060826154a4565b602082019050919050565b6000614078601f83614821565b9150614083826154cd565b602082019050919050565b600061409b602f83614821565b91506140a6826154f6565b604082019050919050565b60006140be602683614821565b91506140c982615545565b604082019050919050565b60006140e1602d83614821565b91506140ec82615594565b604082019050919050565b6000614104602283614821565b915061410f826155e3565b604082019050919050565b6040820160008201516141306000850182613aff565b5060208201516141436020850182614158565b50505050565b61415281614a65565b82525050565b61416181614a6f565b82525050565b60006141738285613bda565b915061417f8284613bda565b91508190509392505050565b600061419682613f53565b9150819050919050565b60006020820190506141b56000830184613b0e565b92915050565b60006060820190506141d06000830186613b0e565b6141dd6020830185613b0e565b6141ea6040830184614149565b949350505050565b60006080820190506142076000830187613b0e565b6142146020830186613b0e565b6142216040830185614149565b81810360608301526142338184613b2c565b905095945050505050565b60006040820190506142536000830185613b0e565b6142606020830184614149565b9392505050565b600060208201905061427c6000830184613b1d565b92915050565b60006020820190506142976000830184613b65565b92915050565b600060208201905081810360008301526142b8818486613b74565b90509392505050565b600060208201905081810360008301526142db8184613ba1565b905092915050565b600060208201905081810360008301526142fc81613c0b565b9050919050565b6000602082019050818103600083015261431c81613c2e565b9050919050565b6000602082019050818103600083015261433c81613c51565b9050919050565b6000602082019050818103600083015261435c81613c74565b9050919050565b6000602082019050818103600083015261437c81613c97565b9050919050565b6000602082019050818103600083015261439c81613cba565b9050919050565b600060208201905081810360008301526143bc81613cdd565b9050919050565b600060208201905081810360008301526143dc81613d00565b9050919050565b600060208201905081810360008301526143fc81613d23565b9050919050565b6000602082019050818103600083015261441c81613d46565b9050919050565b6000602082019050818103600083015261443c81613d69565b9050919050565b6000602082019050818103600083015261445c81613d8c565b9050919050565b6000602082019050818103600083015261447c81613daf565b9050919050565b6000602082019050818103600083015261449c81613dd2565b9050919050565b600060208201905081810360008301526144bc81613df5565b9050919050565b600060208201905081810360008301526144dc81613e18565b9050919050565b600060208201905081810360008301526144fc81613e3b565b9050919050565b6000602082019050818103600083015261451c81613e5e565b9050919050565b6000602082019050818103600083015261453c81613e81565b9050919050565b6000602082019050818103600083015261455c81613ea4565b9050919050565b6000602082019050818103600083015261457c81613ec7565b9050919050565b6000602082019050818103600083015261459c81613eea565b9050919050565b600060208201905081810360008301526145bc81613f0d565b9050919050565b600060208201905081810360008301526145dc81613f30565b9050919050565b600060208201905081810360008301526145fc81613f76565b9050919050565b6000602082019050818103600083015261461c81613f99565b9050919050565b6000602082019050818103600083015261463c81613fbc565b9050919050565b6000602082019050818103600083015261465c81613fdf565b9050919050565b6000602082019050818103600083015261467c81614002565b9050919050565b6000602082019050818103600083015261469c81614025565b9050919050565b600060208201905081810360008301526146bc81614048565b9050919050565b600060208201905081810360008301526146dc8161406b565b9050919050565b600060208201905081810360008301526146fc8161408e565b9050919050565b6000602082019050818103600083015261471c816140b1565b9050919050565b6000602082019050818103600083015261473c816140d4565b9050919050565b6000602082019050818103600083015261475c816140f7565b9050919050565b6000604082019050614778600083018461411a565b92915050565b60006020820190506147936000830184614149565b92915050565b60006147a36147b4565b90506147af8282614b33565b919050565b6000604051905090565b600067ffffffffffffffff8211156147d9576147d8614cc9565b5b6147e282614d16565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061484882614a29565b915061485383614a29565b9250826fffffffffffffffffffffffffffffffff0382111561487857614877614bde565b5b828201905092915050565b600061488e82614a65565b915061489983614a65565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148ce576148cd614bde565b5b828201905092915050565b60006148e482614a65565b91506148ef83614a65565b9250826148ff576148fe614c0d565b5b828204905092915050565b600061491582614a65565b915061492083614a65565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561495957614958614bde565b5b828202905092915050565b600061496f82614a29565b915061497a83614a29565b92508282101561498d5761498c614bde565b5b828203905092915050565b60006149a382614a65565b91506149ae83614a65565b9250828210156149c1576149c0614bde565b5b828203905092915050565b60006149d782614a45565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614a2482615632565b919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b6000614a8e82614a16565b9050919050565b82818337600083830152505050565b60005b83811015614ac2578082015181840152602081019050614aa7565b83811115614ad1576000848401525b50505050565b6000614ae282614a65565b91506000821415614af657614af5614bde565b5b600182039050919050565b60006002820490506001821680614b1957607f821691505b60208210811415614b2d57614b2c614c6b565b5b50919050565b614b3c82614d16565b810181811067ffffffffffffffff82111715614b5b57614b5a614cc9565b5b80604052505050565b6000614b6f82614a65565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ba257614ba1614bde565b5b600182019050919050565b6000614bb882614a65565b9150614bc383614a65565b925082614bd357614bd2614c0d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f5446423a20696e76616c696420616d6f756e7400000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f5446423a205075626c69632073616c65206973206e6f74206163746976652e00600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f5446423a207a65726f2061646472657373000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f5446423a206d6178207265736572766520616d6f756e74206578636565646564600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f5446423a2063616e206f6e6c79206d696e742061206d756c7469706c65206f6660008201527f20746865206d6178426174636853697a65000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f5446423a206d617820737570706c792065786365656465640000000000000000600082015250565b7f5446423a20496e73756666696369656e742062616c616e636500000000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5446423a204e65656420746f2073656e64206d6f7265204554482e0000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f5446423a20636f6e7472616374206973206e6f7420616c6c6f77656420746f2060008201527f6d696e742e000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f5446423a204d617820737570706c792065786365656465642e00000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f5446423a2045786365656473207468652073696e676c65206d6178696d756d2060008201527f6c696d69742e0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6004811061564357615642614c3c565b5b50565b61564f816149cc565b811461565a57600080fd5b50565b615666816149de565b811461567157600080fd5b50565b61567d816149ea565b811461568857600080fd5b50565b6004811061569857600080fd5b50565b6156a481614a65565b81146156af57600080fd5b5056fea2646970667358221220012bb48029a5775db986029b92d9e1fd03a9814299e03254aebfe8e6b0986ff664736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a3872586f5843597554594e5447513657774b7a554539777552535a73344534413132474d4a3851394d57632f00000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string): ipfs://QmZ8rXoXCYuTYNTGQ6WwKzUE9wuRSZs4E4A12GMJ8Q9MWc/
Arg [1] : _maxPerMint (uint256): 20
Arg [2] : _reserveAmount (uint256): 300

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [2] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d5a3872586f5843597554594e5447513657774b7a554539
Arg [5] : 777552535a73344534413132474d4a3851394d57632f00000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.