ETH Price: $2,631.32 (+7.85%)
 

Overview

Max Total Supply

3,022 RVRINSIGNIA

Holders

2,498

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 RVRINSIGNIA
0x2d866ef7d54fcaacae1313564e7e264f0008dbd0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ReeverFactionInsigniaNFT

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : ReeverFactionInsigniaNFT.sol
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./ERC721A.sol";
// import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

contract ReeverFactionInsigniaNFT is Ownable, ERC721A, ReentrancyGuard {
    bool public saleIsActive = false;
    string private _baseURIextended;
    string public baseExtension = "";

    // Variables controling wheather the NFTs are revealed or not.
    string _contractURI;

    uint256 public maxSupply = 3022;
    uint256 public maxPublicMint = 1;
    uint256 private pricePerToken = 0 ether;

    constructor(
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI,
    string memory _contractURIParam,
    uint256 maxBatchSize_,
    uint256 collectionSize_
    ) ERC721A(_name, _symbol, maxBatchSize_, collectionSize_) {
        maxPublicMint = maxBatchSize_;  
        setBaseURI(_initBaseURI);
        _contractURI = _contractURIParam;
    } 

    // Function used to update the maxPublicMint
    function setMaxPublicMint(uint256 n) public onlyOwner {
        maxPublicMint = n;
    }

    function setMaxSupply(uint256 n) public onlyOwner {
        maxSupply = n;
    }

    // Function used to update the pricePerToken
    function setPricePerToken(uint256 newPrice) public onlyOwner {
        pricePerToken = newPrice;
    }

    function getPricePerToken() public view returns (uint256){
        return pricePerToken;
    }

    // Function used to return tokenURI based on the reveal status
    function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
    {
      require(
        _exists(tokenId),
        "ERC721Metadata: URI query for nonexistent token"
      );

    //   string memory currentBaseURI = _baseURI();
      return string(abi.encodePacked(super.tokenURI(tokenId), baseExtension));
    }

    function setBaseURI(string memory baseURI_) public onlyOwner {
        _baseURIextended = baseURI_;
    }

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

    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
      baseExtension = _newBaseExtension;
    }

    // contractURI returns a URL for the storefront-level metadata for your contract
    function contractURI() public view returns (string memory) {
        return _contractURI;
    }

    /*
    * Function used to mint a reserve supply of NFTS to the owner of the contract
    */
    function reserve(uint256 n) public onlyOwner {
      uint supply = totalSupply();
      uint i;
      for (i = 0; i < n; i++) {
          _safeMint(msg.sender, supply + i);
      }
    }

    /*
    * Function to change the state of the sale from active to inactive and vice-versa
    */
    function setSaleState(bool newState) public onlyOwner {
        saleIsActive = newState;
    }

    /**
    * Mints NFT on public sale
    */
    function mint(uint numberOfTokens) public payable {
        uint256 ts = totalSupply();
        uint256 walletBalance = numberMinted(msg.sender);

        require(saleIsActive, "Sale must be active to mint tokens");

        require(numberOfTokens <= maxPublicMint, "Exceeded max token purchase");

        require(walletBalance + numberOfTokens <= maxPublicMint, "Can not mint this many");

        require(ts + numberOfTokens <= maxSupply, "Purchase would exceed max tokens");

        require(pricePerToken * numberOfTokens <= msg.value, "Ether value sent is not correct");

        _safeMint(msg.sender, numberOfTokens);
    }

    /*
    * Function responsible for withdrawal of funds from the contract
    */
    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    // ERC721A functions

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

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

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

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // 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 Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: 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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 5 of 15 : 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 6 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 7 of 15 : 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 = 0;

  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_;
  }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 12 of 15 : 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 13 of 15 : 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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_contractURIParam","type":"string"},{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"collectionSize_","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"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":"baseExtension","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":"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":[],"name":"getPricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxPublicMint","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":"numberOfTokens","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"uint256","name":"n","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"setMaxPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"setMaxSupply","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":"setPricePerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"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"}]

60c0604052600060015560006008556000600a60006101000a81548160ff02191690831515021790555060405180602001604052806000815250600c9080519060200190620000509291906200036f565b50610bce600e556001600f5560006010553480156200006e57600080fd5b5060405162005a4338038062005a438339818101604052810190620000949190620004a8565b85858383620000b8620000ac620001cf60201b60201c565b620001d760201b60201c565b60008111620000fe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000f5906200065b565b60405180910390fd5b6000821162000144576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200013b9062000617565b60405180910390fd5b83600290805190602001906200015c9291906200036f565b508260039080519060200190620001759291906200036f565b508160a08181525050806080818152505050505050600160098190555081600f81905550620001aa846200029b60201b60201c565b82600d9080519060200190620001c29291906200036f565b50505050505050620008e9565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002ab620001cf60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002d16200034660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200032a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003219062000639565b60405180910390fd5b80600b9080519060200190620003429291906200036f565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200037d906200072d565b90600052602060002090601f016020900481019282620003a15760008555620003ed565b82601f10620003bc57805160ff1916838001178555620003ed565b82800160010185558215620003ed579182015b82811115620003ec578251825591602001919060010190620003cf565b5b509050620003fc919062000400565b5090565b5b808211156200041b57600081600090555060010162000401565b5090565b6000620004366200043084620006a6565b6200067d565b9050828152602081018484840111156200044f57600080fd5b6200045c848285620006f7565b509392505050565b600082601f8301126200047657600080fd5b8151620004888482602086016200041f565b91505092915050565b600081519050620004a281620008cf565b92915050565b60008060008060008060c08789031215620004c257600080fd5b600087015167ffffffffffffffff811115620004dd57600080fd5b620004eb89828a0162000464565b965050602087015167ffffffffffffffff8111156200050957600080fd5b6200051789828a0162000464565b955050604087015167ffffffffffffffff8111156200053557600080fd5b6200054389828a0162000464565b945050606087015167ffffffffffffffff8111156200056157600080fd5b6200056f89828a0162000464565b93505060806200058289828a0162000491565b92505060a06200059589828a0162000491565b9150509295509295509295565b6000620005b1602783620006dc565b9150620005be8262000808565b604082019050919050565b6000620005d8602083620006dc565b9150620005e58262000857565b602082019050919050565b6000620005ff602e83620006dc565b91506200060c8262000880565b604082019050919050565b600060208201905081810360008301526200063281620005a2565b9050919050565b600060208201905081810360008301526200065481620005c9565b9050919050565b600060208201905081810360008301526200067681620005f0565b9050919050565b6000620006896200069c565b905062000697828262000763565b919050565b6000604051905090565b600067ffffffffffffffff821115620006c457620006c3620007c8565b5b620006cf82620007f7565b9050602081019050919050565b600082825260208201905092915050565b6000819050919050565b60005b8381101562000717578082015181840152602081019050620006fa565b8381111562000727576000848401525b50505050565b600060028204905060018216806200074657607f821691505b602082108114156200075d576200075c62000799565b5b50919050565b6200076e82620007f7565b810181811067ffffffffffffffff8211171562000790576200078f620007c8565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b620008da81620006ed565b8114620008e657600080fd5b50565b60805160a05161511f62000924600039600081816127cb015281816127f40152612e510152600081816125530152612587015261511f6000f3fe6080604052600436106102255760003560e01c80638da5cb5b11610123578063ca1e9738116100ab578063dc33e6811161006f578063dc33e681146107f4578063e8a3d48514610831578063e985e9c51461085c578063eb8d244414610899578063f2fde38b146108c457610225565b8063ca1e97381461071f578063cabadaa01461074a578063d5abeb0114610775578063d7224ba0146107a0578063da3ef23f146107cb57610225565b8063a22cb465116100f2578063a22cb4651461063c578063b88d4fde14610665578063c4e370951461068e578063c6682862146106b7578063c87b56dd146106e257610225565b80638da5cb5b1461058d5780639231ab2a146105b857806395d89b41146105f5578063a0712d681461062057610225565b80632f745c59116101b15780636352211e116101755780636352211e146104aa5780636f8b44b0146104e757806370a0823114610510578063715018a61461054d578063819b25ba1461056457610225565b80632f745c59146103c75780633ccfd60b1461040457806342842e0e1461041b5780634f6ccce71461044457806355f804b31461048157610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd14610323578063270ab52c1461034c5780632bf2762f146103755780632d20fb601461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906138b7565b6108ed565b60405161025e9190613fb5565b60405180910390f35b34801561027357600080fd5b5061027c610a37565b6040516102899190613fd0565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061394a565b610ac9565b6040516102c69190613f4e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613852565b610b4e565b005b34801561030457600080fd5b5061030d610c67565b60405161031a91906143ad565b60405180910390f35b34801561032f57600080fd5b5061034a6004803603810190610345919061374c565b610c71565b005b34801561035857600080fd5b50610373600480360381019061036e919061394a565b610c81565b005b34801561038157600080fd5b5061039c6004803603810190610397919061394a565b610d07565b005b3480156103aa57600080fd5b506103c560048036038101906103c0919061394a565b610d8d565b005b3480156103d357600080fd5b506103ee60048036038101906103e99190613852565b610e6b565b6040516103fb91906143ad565b60405180910390f35b34801561041057600080fd5b50610419611069565b005b34801561042757600080fd5b50610442600480360381019061043d919061374c565b611134565b005b34801561045057600080fd5b5061046b6004803603810190610466919061394a565b611154565b60405161047891906143ad565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a39190613909565b6111a7565b005b3480156104b657600080fd5b506104d160048036038101906104cc919061394a565b61123d565b6040516104de9190613f4e565b60405180910390f35b3480156104f357600080fd5b5061050e6004803603810190610509919061394a565b611253565b005b34801561051c57600080fd5b50610537600480360381019061053291906136e7565b6112d9565b60405161054491906143ad565b60405180910390f35b34801561055957600080fd5b506105626113c2565b005b34801561057057600080fd5b5061058b6004803603810190610586919061394a565b61144a565b005b34801561059957600080fd5b506105a261150a565b6040516105af9190613f4e565b60405180910390f35b3480156105c457600080fd5b506105df60048036038101906105da919061394a565b611533565b6040516105ec9190614392565b60405180910390f35b34801561060157600080fd5b5061060a61154b565b6040516106179190613fd0565b60405180910390f35b61063a6004803603810190610635919061394a565b6115dd565b005b34801561064857600080fd5b50610663600480360381019061065e9190613816565b611789565b005b34801561067157600080fd5b5061068c6004803603810190610687919061379b565b61190a565b005b34801561069a57600080fd5b506106b560048036038101906106b0919061388e565b611966565b005b3480156106c357600080fd5b506106cc6119ff565b6040516106d99190613fd0565b60405180910390f35b3480156106ee57600080fd5b506107096004803603810190610704919061394a565b611a8d565b6040516107169190613fd0565b60405180910390f35b34801561072b57600080fd5b50610734611b09565b60405161074191906143ad565b60405180910390f35b34801561075657600080fd5b5061075f611b13565b60405161076c91906143ad565b60405180910390f35b34801561078157600080fd5b5061078a611b19565b60405161079791906143ad565b60405180910390f35b3480156107ac57600080fd5b506107b5611b1f565b6040516107c291906143ad565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed9190613909565b611b25565b005b34801561080057600080fd5b5061081b600480360381019061081691906136e7565b611bbb565b60405161082891906143ad565b60405180910390f35b34801561083d57600080fd5b50610846611bcd565b6040516108539190613fd0565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190613710565b611c5f565b6040516108909190613fb5565b60405180910390f35b3480156108a557600080fd5b506108ae611cf3565b6040516108bb9190613fb5565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e691906136e7565b611d06565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a2057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a305750610a2f82611dfe565b5b9050919050565b606060028054610a4690614746565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7290614746565b8015610abf5780601f10610a9457610100808354040283529160200191610abf565b820191906000526020600020905b815481529060010190602001808311610aa257829003601f168201915b5050505050905090565b6000610ad482611e68565b610b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0a90614352565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b598261123d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc190614252565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be9611e76565b73ffffffffffffffffffffffffffffffffffffffff161480610c185750610c1781610c12611e76565b611c5f565b5b610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906140f2565b60405180910390fd5b610c62838383611e7e565b505050565b6000600154905090565b610c7c838383611f30565b505050565b610c89611e76565b73ffffffffffffffffffffffffffffffffffffffff16610ca761150a565b73ffffffffffffffffffffffffffffffffffffffff1614610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf490614192565b60405180910390fd5b80600f8190555050565b610d0f611e76565b73ffffffffffffffffffffffffffffffffffffffff16610d2d61150a565b73ffffffffffffffffffffffffffffffffffffffff1614610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614192565b60405180910390fd5b8060108190555050565b610d95611e76565b73ffffffffffffffffffffffffffffffffffffffff16610db361150a565b73ffffffffffffffffffffffffffffffffffffffff1614610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0090614192565b60405180910390fd5b60026009541415610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690614312565b60405180910390fd5b6002600981905550610e60816124e9565b600160098190555050565b6000610e76836112d9565b8210610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae90613ff2565b60405180910390fd5b6000610ec1610c67565b905060008060005b83811015611027576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610fbb57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110135786841415611004578195505050505050611063565b838061100f906147a9565b9450505b50808061101f906147a9565b915050610ec9565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a906142d2565b60405180910390fd5b92915050565b611071611e76565b73ffffffffffffffffffffffffffffffffffffffff1661108f61150a565b73ffffffffffffffffffffffffffffffffffffffff16146110e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dc90614192565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611130573d6000803e3d6000fd5b5050565b61114f8383836040518060200160405280600081525061190a565b505050565b600061115e610c67565b821061119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690614072565b60405180910390fd5b819050919050565b6111af611e76565b73ffffffffffffffffffffffffffffffffffffffff166111cd61150a565b73ffffffffffffffffffffffffffffffffffffffff1614611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614192565b60405180910390fd5b80600b90805190602001906112399291906134d1565b5050565b600061124882612777565b600001519050919050565b61125b611e76565b73ffffffffffffffffffffffffffffffffffffffff1661127961150a565b73ffffffffffffffffffffffffffffffffffffffff16146112cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c690614192565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561134a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134190614152565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6113ca611e76565b73ffffffffffffffffffffffffffffffffffffffff166113e861150a565b73ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590614192565b60405180910390fd5b611448600061297a565b565b611452611e76565b73ffffffffffffffffffffffffffffffffffffffff1661147061150a565b73ffffffffffffffffffffffffffffffffffffffff16146114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd90614192565b60405180910390fd5b60006114d0610c67565b905060005b82811015611505576114f23382846114ed91906144ed565b612a3e565b80806114fd906147a9565b9150506114d5565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61153b613557565b61154482612777565b9050919050565b60606003805461155a90614746565b80601f016020809104026020016040519081016040528092919081815260200182805461158690614746565b80156115d35780601f106115a8576101008083540402835291602001916115d3565b820191906000526020600020905b8154815290600101906020018083116115b657829003601f168201915b5050505050905090565b60006115e7610c67565b905060006115f433611bbb565b9050600a60009054906101000a900460ff16611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614212565b60405180910390fd5b600f5483111561168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190614232565b60405180910390fd5b600f54838261169991906144ed565b11156116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190614132565b60405180910390fd5b600e5483836116e991906144ed565b111561172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190614032565b60405180910390fd5b34836010546117399190614574565b111561177a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611771906140d2565b60405180910390fd5b6117843384612a3e565b505050565b611791611e76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f6906141d2565b60405180910390fd5b806007600061180c611e76565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118b9611e76565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118fe9190613fb5565b60405180910390a35050565b611915848484611f30565b61192184848484612a5c565b611960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195790614272565b60405180910390fd5b50505050565b61196e611e76565b73ffffffffffffffffffffffffffffffffffffffff1661198c61150a565b73ffffffffffffffffffffffffffffffffffffffff16146119e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d990614192565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b600c8054611a0c90614746565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3890614746565b8015611a855780601f10611a5a57610100808354040283529160200191611a85565b820191906000526020600020905b815481529060010190602001808311611a6857829003601f168201915b505050505081565b6060611a9882611e68565b611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace906141b2565b60405180910390fd5b611ae082612bf3565b600c604051602001611af3929190613f2a565b6040516020818303038152906040529050919050565b6000601054905090565b600f5481565b600e5481565b60085481565b611b2d611e76565b73ffffffffffffffffffffffffffffffffffffffff16611b4b61150a565b73ffffffffffffffffffffffffffffffffffffffff1614611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9890614192565b60405180910390fd5b80600c9080519060200190611bb79291906134d1565b5050565b6000611bc682612c9a565b9050919050565b6060600d8054611bdc90614746565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0890614746565b8015611c555780601f10611c2a57610100808354040283529160200191611c55565b820191906000526020600020905b815481529060010190602001808311611c3857829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60009054906101000a900460ff1681565b611d0e611e76565b73ffffffffffffffffffffffffffffffffffffffff16611d2c61150a565b73ffffffffffffffffffffffffffffffffffffffff1614611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7990614192565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611df2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de990614012565b60405180910390fd5b611dfb8161297a565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611f3b82612777565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611f62611e76565b73ffffffffffffffffffffffffffffffffffffffff161480611fbe5750611f87611e76565b73ffffffffffffffffffffffffffffffffffffffff16611fa684610ac9565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fda5750611fd98260000151611fd4611e76565b611c5f565b5b90508061201c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612013906141f2565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590614172565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f590614092565b60405180910390fd5b61210b8585856001612d83565b61211b6000848460000151611e7e565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661218991906145ce565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661222d91906144a7565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461233391906144ed565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612479576123a981611e68565b15612478576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124e18686866001612d89565b505050505050565b6000600854905060008211612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a90614112565b60405180910390fd5b60006001838361254391906144ed565b61254d9190614602565b905060017f000000000000000000000000000000000000000000000000000000000000000061257c9190614602565b8111156125b35760017f00000000000000000000000000000000000000000000000000000000000000006125b09190614602565b90505b6125bc81611e68565b6125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f2906142f2565b60405180910390fd5b60008290505b81811161275e57600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561274b57600061267e82612777565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b8080612756906147a9565b915050612601565b5060018161276c91906144ed565b600881905550505050565b61277f613557565b61278882611e68565b6127c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127be90614052565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000831061282b5760017f00000000000000000000000000000000000000000000000000000000000000008461281e9190614602565b61282891906144ed565b90505b60008390505b818110612939576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461292557809350505050612975565b5080806129319061471c565b915050612831565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296c90614332565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a58828260405180602001604052806000815250612d8f565b5050565b6000612a7d8473ffffffffffffffffffffffffffffffffffffffff1661326f565b15612be6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aa6611e76565b8786866040518563ffffffff1660e01b8152600401612ac89493929190613f69565b602060405180830381600087803b158015612ae257600080fd5b505af1925050508015612b1357506040513d601f19601f82011682018060405250810190612b1091906138e0565b60015b612b96573d8060008114612b43576040519150601f19603f3d011682016040523d82523d6000602084013e612b48565b606091505b50600081511415612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8590614272565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612beb565b600190505b949350505050565b6060612bfe82611e68565b612c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c34906141b2565b60405180910390fd5b6000612c47613292565b90506000815111612c675760405180602001604052806000815250612c92565b80612c7184613324565b604051602001612c82929190613f06565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d02906140b2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b50505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfd906142b2565b60405180910390fd5b612e0f81611e68565b15612e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4690614292565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115612eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea990614372565b60405180910390fd5b612ebf6000858386612d83565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612fbc91906144a7565b6fffffffffffffffffffffffffffffffff168152602001858360200151612fe391906144a7565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561325257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131f26000888488612a5c565b613231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322890614272565b60405180910390fd5b818061323c906147a9565b925050808061324a906147a9565b915050613181565b50806001819055506132676000878588612d89565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600b80546132a190614746565b80601f01602080910402602001604051908101604052809291908181526020018280546132cd90614746565b801561331a5780601f106132ef5761010080835404028352916020019161331a565b820191906000526020600020905b8154815290600101906020018083116132fd57829003601f168201915b5050505050905090565b6060600082141561336c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134cc565b600082905060005b6000821461339e578080613387906147a9565b915050600a826133979190614543565b9150613374565b60008167ffffffffffffffff8111156133e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134125781602001600182028036833780820191505090505b5090505b600085146134c55760018261342b9190614602565b9150600a8561343a91906147f2565b603061344691906144ed565b60f81b818381518110613482577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134be9190614543565b9450613416565b8093505050505b919050565b8280546134dd90614746565b90600052602060002090601f0160209004810192826134ff5760008555613546565b82601f1061351857805160ff1916838001178555613546565b82800160010185558215613546579182015b8281111561354557825182559160200191906001019061352a565b5b5090506135539190613591565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156135aa576000816000905550600101613592565b5090565b60006135c16135bc846143ed565b6143c8565b9050828152602081018484840111156135d957600080fd5b6135e48482856146da565b509392505050565b60006135ff6135fa8461441e565b6143c8565b90508281526020810184848401111561361757600080fd5b6136228482856146da565b509392505050565b6000813590506136398161508d565b92915050565b60008135905061364e816150a4565b92915050565b600081359050613663816150bb565b92915050565b600081519050613678816150bb565b92915050565b600082601f83011261368f57600080fd5b813561369f8482602086016135ae565b91505092915050565b600082601f8301126136b957600080fd5b81356136c98482602086016135ec565b91505092915050565b6000813590506136e1816150d2565b92915050565b6000602082840312156136f957600080fd5b60006137078482850161362a565b91505092915050565b6000806040838503121561372357600080fd5b60006137318582860161362a565b92505060206137428582860161362a565b9150509250929050565b60008060006060848603121561376157600080fd5b600061376f8682870161362a565b93505060206137808682870161362a565b9250506040613791868287016136d2565b9150509250925092565b600080600080608085870312156137b157600080fd5b60006137bf8782880161362a565b94505060206137d08782880161362a565b93505060406137e1878288016136d2565b925050606085013567ffffffffffffffff8111156137fe57600080fd5b61380a8782880161367e565b91505092959194509250565b6000806040838503121561382957600080fd5b60006138378582860161362a565b92505060206138488582860161363f565b9150509250929050565b6000806040838503121561386557600080fd5b60006138738582860161362a565b9250506020613884858286016136d2565b9150509250929050565b6000602082840312156138a057600080fd5b60006138ae8482850161363f565b91505092915050565b6000602082840312156138c957600080fd5b60006138d784828501613654565b91505092915050565b6000602082840312156138f257600080fd5b600061390084828501613669565b91505092915050565b60006020828403121561391b57600080fd5b600082013567ffffffffffffffff81111561393557600080fd5b613941848285016136a8565b91505092915050565b60006020828403121561395c57600080fd5b600061396a848285016136d2565b91505092915050565b61397c81614636565b82525050565b61398b81614636565b82525050565b61399a81614648565b82525050565b60006139ab82614464565b6139b5818561447a565b93506139c58185602086016146e9565b6139ce816148df565b840191505092915050565b60006139e48261446f565b6139ee818561448b565b93506139fe8185602086016146e9565b613a07816148df565b840191505092915050565b6000613a1d8261446f565b613a27818561449c565b9350613a378185602086016146e9565b80840191505092915050565b60008154613a5081614746565b613a5a818661449c565b94506001821660008114613a755760018114613a8657613ab9565b60ff19831686528186019350613ab9565b613a8f8561444f565b60005b83811015613ab157815481890152600182019150602081019050613a92565b838801955050505b50505092915050565b6000613acf60228361448b565b9150613ada826148f0565b604082019050919050565b6000613af260268361448b565b9150613afd8261493f565b604082019050919050565b6000613b1560208361448b565b9150613b208261498e565b602082019050919050565b6000613b38602a8361448b565b9150613b43826149b7565b604082019050919050565b6000613b5b60238361448b565b9150613b6682614a06565b604082019050919050565b6000613b7e60258361448b565b9150613b8982614a55565b604082019050919050565b6000613ba160318361448b565b9150613bac82614aa4565b604082019050919050565b6000613bc4601f8361448b565b9150613bcf82614af3565b602082019050919050565b6000613be760398361448b565b9150613bf282614b1c565b604082019050919050565b6000613c0a60188361448b565b9150613c1582614b6b565b602082019050919050565b6000613c2d60168361448b565b9150613c3882614b94565b602082019050919050565b6000613c50602b8361448b565b9150613c5b82614bbd565b604082019050919050565b6000613c7360268361448b565b9150613c7e82614c0c565b604082019050919050565b6000613c9660208361448b565b9150613ca182614c5b565b602082019050919050565b6000613cb9602f8361448b565b9150613cc482614c84565b604082019050919050565b6000613cdc601a8361448b565b9150613ce782614cd3565b602082019050919050565b6000613cff60328361448b565b9150613d0a82614cfc565b604082019050919050565b6000613d2260228361448b565b9150613d2d82614d4b565b604082019050919050565b6000613d45601b8361448b565b9150613d5082614d9a565b602082019050919050565b6000613d6860228361448b565b9150613d7382614dc3565b604082019050919050565b6000613d8b60338361448b565b9150613d9682614e12565b604082019050919050565b6000613dae601d8361448b565b9150613db982614e61565b602082019050919050565b6000613dd160218361448b565b9150613ddc82614e8a565b604082019050919050565b6000613df4602e8361448b565b9150613dff82614ed9565b604082019050919050565b6000613e1760268361448b565b9150613e2282614f28565b604082019050919050565b6000613e3a601f8361448b565b9150613e4582614f77565b602082019050919050565b6000613e5d602f8361448b565b9150613e6882614fa0565b604082019050919050565b6000613e80602d8361448b565b9150613e8b82614fef565b604082019050919050565b6000613ea360228361448b565b9150613eae8261503e565b604082019050919050565b604082016000820151613ecf6000850182613973565b506020820151613ee26020850182613ef7565b50505050565b613ef1816146bc565b82525050565b613f00816146c6565b82525050565b6000613f128285613a12565b9150613f1e8284613a12565b91508190509392505050565b6000613f368285613a12565b9150613f428284613a43565b91508190509392505050565b6000602082019050613f636000830184613982565b92915050565b6000608082019050613f7e6000830187613982565b613f8b6020830186613982565b613f986040830185613ee8565b8181036060830152613faa81846139a0565b905095945050505050565b6000602082019050613fca6000830184613991565b92915050565b60006020820190508181036000830152613fea81846139d9565b905092915050565b6000602082019050818103600083015261400b81613ac2565b9050919050565b6000602082019050818103600083015261402b81613ae5565b9050919050565b6000602082019050818103600083015261404b81613b08565b9050919050565b6000602082019050818103600083015261406b81613b2b565b9050919050565b6000602082019050818103600083015261408b81613b4e565b9050919050565b600060208201905081810360008301526140ab81613b71565b9050919050565b600060208201905081810360008301526140cb81613b94565b9050919050565b600060208201905081810360008301526140eb81613bb7565b9050919050565b6000602082019050818103600083015261410b81613bda565b9050919050565b6000602082019050818103600083015261412b81613bfd565b9050919050565b6000602082019050818103600083015261414b81613c20565b9050919050565b6000602082019050818103600083015261416b81613c43565b9050919050565b6000602082019050818103600083015261418b81613c66565b9050919050565b600060208201905081810360008301526141ab81613c89565b9050919050565b600060208201905081810360008301526141cb81613cac565b9050919050565b600060208201905081810360008301526141eb81613ccf565b9050919050565b6000602082019050818103600083015261420b81613cf2565b9050919050565b6000602082019050818103600083015261422b81613d15565b9050919050565b6000602082019050818103600083015261424b81613d38565b9050919050565b6000602082019050818103600083015261426b81613d5b565b9050919050565b6000602082019050818103600083015261428b81613d7e565b9050919050565b600060208201905081810360008301526142ab81613da1565b9050919050565b600060208201905081810360008301526142cb81613dc4565b9050919050565b600060208201905081810360008301526142eb81613de7565b9050919050565b6000602082019050818103600083015261430b81613e0a565b9050919050565b6000602082019050818103600083015261432b81613e2d565b9050919050565b6000602082019050818103600083015261434b81613e50565b9050919050565b6000602082019050818103600083015261436b81613e73565b9050919050565b6000602082019050818103600083015261438b81613e96565b9050919050565b60006040820190506143a76000830184613eb9565b92915050565b60006020820190506143c26000830184613ee8565b92915050565b60006143d26143e3565b90506143de8282614778565b919050565b6000604051905090565b600067ffffffffffffffff821115614408576144076148b0565b5b614411826148df565b9050602081019050919050565b600067ffffffffffffffff821115614439576144386148b0565b5b614442826148df565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006144b282614680565b91506144bd83614680565b9250826fffffffffffffffffffffffffffffffff038211156144e2576144e1614823565b5b828201905092915050565b60006144f8826146bc565b9150614503836146bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561453857614537614823565b5b828201905092915050565b600061454e826146bc565b9150614559836146bc565b92508261456957614568614852565b5b828204905092915050565b600061457f826146bc565b915061458a836146bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145c3576145c2614823565b5b828202905092915050565b60006145d982614680565b91506145e483614680565b9250828210156145f7576145f6614823565b5b828203905092915050565b600061460d826146bc565b9150614618836146bc565b92508282101561462b5761462a614823565b5b828203905092915050565b60006146418261469c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156147075780820151818401526020810190506146ec565b83811115614716576000848401525b50505050565b6000614727826146bc565b9150600082141561473b5761473a614823565b5b600182039050919050565b6000600282049050600182168061475e57607f821691505b6020821081141561477257614771614881565b5b50919050565b614781826148df565b810181811067ffffffffffffffff821117156147a05761479f6148b0565b5b80604052505050565b60006147b4826146bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147e7576147e6614823565b5b600182019050919050565b60006147fd826146bc565b9150614808836146bc565b92508261481857614817614852565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f43616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b61509681614636565b81146150a157600080fd5b50565b6150ad81614648565b81146150b857600080fd5b50565b6150c481614654565b81146150cf57600080fd5b50565b6150db816146bc565b81146150e657600080fd5b5056fea26469706673582212201b40d0e4bd6b0750eb97ec7074f6d8e4028cc729dffa9f051165e3897356e2f364736f6c6343000801003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001052656576657220496e7369676e69617300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b525652494e5349474e4941000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b68747470733a2f2f757365722d736572766963652d73746167652e656c617269756d2e6465762f6e66742f696e7369676e69612f5265657665722f0000000000000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6176616e742d333032322d63646e2e667261312e63646e2e6469676974616c6f6365616e7370616365732e636f6d2f6e66742f696e7369676e69612f636f6e74726163744d657461646174612e6a736f6e00000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c80638da5cb5b11610123578063ca1e9738116100ab578063dc33e6811161006f578063dc33e681146107f4578063e8a3d48514610831578063e985e9c51461085c578063eb8d244414610899578063f2fde38b146108c457610225565b8063ca1e97381461071f578063cabadaa01461074a578063d5abeb0114610775578063d7224ba0146107a0578063da3ef23f146107cb57610225565b8063a22cb465116100f2578063a22cb4651461063c578063b88d4fde14610665578063c4e370951461068e578063c6682862146106b7578063c87b56dd146106e257610225565b80638da5cb5b1461058d5780639231ab2a146105b857806395d89b41146105f5578063a0712d681461062057610225565b80632f745c59116101b15780636352211e116101755780636352211e146104aa5780636f8b44b0146104e757806370a0823114610510578063715018a61461054d578063819b25ba1461056457610225565b80632f745c59146103c75780633ccfd60b1461040457806342842e0e1461041b5780634f6ccce71461044457806355f804b31461048157610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd14610323578063270ab52c1461034c5780632bf2762f146103755780632d20fb601461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906138b7565b6108ed565b60405161025e9190613fb5565b60405180910390f35b34801561027357600080fd5b5061027c610a37565b6040516102899190613fd0565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061394a565b610ac9565b6040516102c69190613f4e565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613852565b610b4e565b005b34801561030457600080fd5b5061030d610c67565b60405161031a91906143ad565b60405180910390f35b34801561032f57600080fd5b5061034a6004803603810190610345919061374c565b610c71565b005b34801561035857600080fd5b50610373600480360381019061036e919061394a565b610c81565b005b34801561038157600080fd5b5061039c6004803603810190610397919061394a565b610d07565b005b3480156103aa57600080fd5b506103c560048036038101906103c0919061394a565b610d8d565b005b3480156103d357600080fd5b506103ee60048036038101906103e99190613852565b610e6b565b6040516103fb91906143ad565b60405180910390f35b34801561041057600080fd5b50610419611069565b005b34801561042757600080fd5b50610442600480360381019061043d919061374c565b611134565b005b34801561045057600080fd5b5061046b6004803603810190610466919061394a565b611154565b60405161047891906143ad565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a39190613909565b6111a7565b005b3480156104b657600080fd5b506104d160048036038101906104cc919061394a565b61123d565b6040516104de9190613f4e565b60405180910390f35b3480156104f357600080fd5b5061050e6004803603810190610509919061394a565b611253565b005b34801561051c57600080fd5b50610537600480360381019061053291906136e7565b6112d9565b60405161054491906143ad565b60405180910390f35b34801561055957600080fd5b506105626113c2565b005b34801561057057600080fd5b5061058b6004803603810190610586919061394a565b61144a565b005b34801561059957600080fd5b506105a261150a565b6040516105af9190613f4e565b60405180910390f35b3480156105c457600080fd5b506105df60048036038101906105da919061394a565b611533565b6040516105ec9190614392565b60405180910390f35b34801561060157600080fd5b5061060a61154b565b6040516106179190613fd0565b60405180910390f35b61063a6004803603810190610635919061394a565b6115dd565b005b34801561064857600080fd5b50610663600480360381019061065e9190613816565b611789565b005b34801561067157600080fd5b5061068c6004803603810190610687919061379b565b61190a565b005b34801561069a57600080fd5b506106b560048036038101906106b0919061388e565b611966565b005b3480156106c357600080fd5b506106cc6119ff565b6040516106d99190613fd0565b60405180910390f35b3480156106ee57600080fd5b506107096004803603810190610704919061394a565b611a8d565b6040516107169190613fd0565b60405180910390f35b34801561072b57600080fd5b50610734611b09565b60405161074191906143ad565b60405180910390f35b34801561075657600080fd5b5061075f611b13565b60405161076c91906143ad565b60405180910390f35b34801561078157600080fd5b5061078a611b19565b60405161079791906143ad565b60405180910390f35b3480156107ac57600080fd5b506107b5611b1f565b6040516107c291906143ad565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed9190613909565b611b25565b005b34801561080057600080fd5b5061081b600480360381019061081691906136e7565b611bbb565b60405161082891906143ad565b60405180910390f35b34801561083d57600080fd5b50610846611bcd565b6040516108539190613fd0565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190613710565b611c5f565b6040516108909190613fb5565b60405180910390f35b3480156108a557600080fd5b506108ae611cf3565b6040516108bb9190613fb5565b60405180910390f35b3480156108d057600080fd5b506108eb60048036038101906108e691906136e7565b611d06565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a2057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a305750610a2f82611dfe565b5b9050919050565b606060028054610a4690614746565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7290614746565b8015610abf5780601f10610a9457610100808354040283529160200191610abf565b820191906000526020600020905b815481529060010190602001808311610aa257829003601f168201915b5050505050905090565b6000610ad482611e68565b610b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0a90614352565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b598261123d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc190614252565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be9611e76565b73ffffffffffffffffffffffffffffffffffffffff161480610c185750610c1781610c12611e76565b611c5f565b5b610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e906140f2565b60405180910390fd5b610c62838383611e7e565b505050565b6000600154905090565b610c7c838383611f30565b505050565b610c89611e76565b73ffffffffffffffffffffffffffffffffffffffff16610ca761150a565b73ffffffffffffffffffffffffffffffffffffffff1614610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf490614192565b60405180910390fd5b80600f8190555050565b610d0f611e76565b73ffffffffffffffffffffffffffffffffffffffff16610d2d61150a565b73ffffffffffffffffffffffffffffffffffffffff1614610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90614192565b60405180910390fd5b8060108190555050565b610d95611e76565b73ffffffffffffffffffffffffffffffffffffffff16610db361150a565b73ffffffffffffffffffffffffffffffffffffffff1614610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0090614192565b60405180910390fd5b60026009541415610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690614312565b60405180910390fd5b6002600981905550610e60816124e9565b600160098190555050565b6000610e76836112d9565b8210610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae90613ff2565b60405180910390fd5b6000610ec1610c67565b905060008060005b83811015611027576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610fbb57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110135786841415611004578195505050505050611063565b838061100f906147a9565b9450505b50808061101f906147a9565b915050610ec9565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105a906142d2565b60405180910390fd5b92915050565b611071611e76565b73ffffffffffffffffffffffffffffffffffffffff1661108f61150a565b73ffffffffffffffffffffffffffffffffffffffff16146110e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dc90614192565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611130573d6000803e3d6000fd5b5050565b61114f8383836040518060200160405280600081525061190a565b505050565b600061115e610c67565b821061119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690614072565b60405180910390fd5b819050919050565b6111af611e76565b73ffffffffffffffffffffffffffffffffffffffff166111cd61150a565b73ffffffffffffffffffffffffffffffffffffffff1614611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614192565b60405180910390fd5b80600b90805190602001906112399291906134d1565b5050565b600061124882612777565b600001519050919050565b61125b611e76565b73ffffffffffffffffffffffffffffffffffffffff1661127961150a565b73ffffffffffffffffffffffffffffffffffffffff16146112cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c690614192565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561134a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134190614152565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6113ca611e76565b73ffffffffffffffffffffffffffffffffffffffff166113e861150a565b73ffffffffffffffffffffffffffffffffffffffff161461143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590614192565b60405180910390fd5b611448600061297a565b565b611452611e76565b73ffffffffffffffffffffffffffffffffffffffff1661147061150a565b73ffffffffffffffffffffffffffffffffffffffff16146114c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bd90614192565b60405180910390fd5b60006114d0610c67565b905060005b82811015611505576114f23382846114ed91906144ed565b612a3e565b80806114fd906147a9565b9150506114d5565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61153b613557565b61154482612777565b9050919050565b60606003805461155a90614746565b80601f016020809104026020016040519081016040528092919081815260200182805461158690614746565b80156115d35780601f106115a8576101008083540402835291602001916115d3565b820191906000526020600020905b8154815290600101906020018083116115b657829003601f168201915b5050505050905090565b60006115e7610c67565b905060006115f433611bbb565b9050600a60009054906101000a900460ff16611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614212565b60405180910390fd5b600f5483111561168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190614232565b60405180910390fd5b600f54838261169991906144ed565b11156116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190614132565b60405180910390fd5b600e5483836116e991906144ed565b111561172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190614032565b60405180910390fd5b34836010546117399190614574565b111561177a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611771906140d2565b60405180910390fd5b6117843384612a3e565b505050565b611791611e76565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f6906141d2565b60405180910390fd5b806007600061180c611e76565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118b9611e76565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118fe9190613fb5565b60405180910390a35050565b611915848484611f30565b61192184848484612a5c565b611960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195790614272565b60405180910390fd5b50505050565b61196e611e76565b73ffffffffffffffffffffffffffffffffffffffff1661198c61150a565b73ffffffffffffffffffffffffffffffffffffffff16146119e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d990614192565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b600c8054611a0c90614746565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3890614746565b8015611a855780601f10611a5a57610100808354040283529160200191611a85565b820191906000526020600020905b815481529060010190602001808311611a6857829003601f168201915b505050505081565b6060611a9882611e68565b611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace906141b2565b60405180910390fd5b611ae082612bf3565b600c604051602001611af3929190613f2a565b6040516020818303038152906040529050919050565b6000601054905090565b600f5481565b600e5481565b60085481565b611b2d611e76565b73ffffffffffffffffffffffffffffffffffffffff16611b4b61150a565b73ffffffffffffffffffffffffffffffffffffffff1614611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9890614192565b60405180910390fd5b80600c9080519060200190611bb79291906134d1565b5050565b6000611bc682612c9a565b9050919050565b6060600d8054611bdc90614746565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0890614746565b8015611c555780601f10611c2a57610100808354040283529160200191611c55565b820191906000526020600020905b815481529060010190602001808311611c3857829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a60009054906101000a900460ff1681565b611d0e611e76565b73ffffffffffffffffffffffffffffffffffffffff16611d2c61150a565b73ffffffffffffffffffffffffffffffffffffffff1614611d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7990614192565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611df2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de990614012565b60405180910390fd5b611dfb8161297a565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611f3b82612777565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611f62611e76565b73ffffffffffffffffffffffffffffffffffffffff161480611fbe5750611f87611e76565b73ffffffffffffffffffffffffffffffffffffffff16611fa684610ac9565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fda5750611fd98260000151611fd4611e76565b611c5f565b5b90508061201c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612013906141f2565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461208e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208590614172565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f590614092565b60405180910390fd5b61210b8585856001612d83565b61211b6000848460000151611e7e565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661218991906145ce565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661222d91906144a7565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461233391906144ed565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612479576123a981611e68565b15612478576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124e18686866001612d89565b505050505050565b6000600854905060008211612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a90614112565b60405180910390fd5b60006001838361254391906144ed565b61254d9190614602565b905060017f000000000000000000000000000000000000000000000000000000000000000161257c9190614602565b8111156125b35760017f00000000000000000000000000000000000000000000000000000000000000016125b09190614602565b90505b6125bc81611e68565b6125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f2906142f2565b60405180910390fd5b60008290505b81811161275e57600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561274b57600061267e82612777565b90506040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015167ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050505b8080612756906147a9565b915050612601565b5060018161276c91906144ed565b600881905550505050565b61277f613557565b61278882611e68565b6127c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127be90614052565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000001831061282b5760017f00000000000000000000000000000000000000000000000000000000000000018461281e9190614602565b61282891906144ed565b90505b60008390505b818110612939576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461292557809350505050612975565b5080806129319061471c565b915050612831565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296c90614332565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a58828260405180602001604052806000815250612d8f565b5050565b6000612a7d8473ffffffffffffffffffffffffffffffffffffffff1661326f565b15612be6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612aa6611e76565b8786866040518563ffffffff1660e01b8152600401612ac89493929190613f69565b602060405180830381600087803b158015612ae257600080fd5b505af1925050508015612b1357506040513d601f19601f82011682018060405250810190612b1091906138e0565b60015b612b96573d8060008114612b43576040519150601f19603f3d011682016040523d82523d6000602084013e612b48565b606091505b50600081511415612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8590614272565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612beb565b600190505b949350505050565b6060612bfe82611e68565b612c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c34906141b2565b60405180910390fd5b6000612c47613292565b90506000815111612c675760405180602001604052806000815250612c92565b80612c7184613324565b604051602001612c82929190613f06565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d02906140b2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b50505050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfd906142b2565b60405180910390fd5b612e0f81611e68565b15612e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4690614292565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000001831115612eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea990614372565b60405180910390fd5b612ebf6000858386612d83565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151612fbc91906144a7565b6fffffffffffffffffffffffffffffffff168152602001858360200151612fe391906144a7565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561325257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131f26000888488612a5c565b613231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322890614272565b60405180910390fd5b818061323c906147a9565b925050808061324a906147a9565b915050613181565b50806001819055506132676000878588612d89565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600b80546132a190614746565b80601f01602080910402602001604051908101604052809291908181526020018280546132cd90614746565b801561331a5780601f106132ef5761010080835404028352916020019161331a565b820191906000526020600020905b8154815290600101906020018083116132fd57829003601f168201915b5050505050905090565b6060600082141561336c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134cc565b600082905060005b6000821461339e578080613387906147a9565b915050600a826133979190614543565b9150613374565b60008167ffffffffffffffff8111156133e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156134125781602001600182028036833780820191505090505b5090505b600085146134c55760018261342b9190614602565b9150600a8561343a91906147f2565b603061344691906144ed565b60f81b818381518110613482577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134be9190614543565b9450613416565b8093505050505b919050565b8280546134dd90614746565b90600052602060002090601f0160209004810192826134ff5760008555613546565b82601f1061351857805160ff1916838001178555613546565b82800160010185558215613546579182015b8281111561354557825182559160200191906001019061352a565b5b5090506135539190613591565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156135aa576000816000905550600101613592565b5090565b60006135c16135bc846143ed565b6143c8565b9050828152602081018484840111156135d957600080fd5b6135e48482856146da565b509392505050565b60006135ff6135fa8461441e565b6143c8565b90508281526020810184848401111561361757600080fd5b6136228482856146da565b509392505050565b6000813590506136398161508d565b92915050565b60008135905061364e816150a4565b92915050565b600081359050613663816150bb565b92915050565b600081519050613678816150bb565b92915050565b600082601f83011261368f57600080fd5b813561369f8482602086016135ae565b91505092915050565b600082601f8301126136b957600080fd5b81356136c98482602086016135ec565b91505092915050565b6000813590506136e1816150d2565b92915050565b6000602082840312156136f957600080fd5b60006137078482850161362a565b91505092915050565b6000806040838503121561372357600080fd5b60006137318582860161362a565b92505060206137428582860161362a565b9150509250929050565b60008060006060848603121561376157600080fd5b600061376f8682870161362a565b93505060206137808682870161362a565b9250506040613791868287016136d2565b9150509250925092565b600080600080608085870312156137b157600080fd5b60006137bf8782880161362a565b94505060206137d08782880161362a565b93505060406137e1878288016136d2565b925050606085013567ffffffffffffffff8111156137fe57600080fd5b61380a8782880161367e565b91505092959194509250565b6000806040838503121561382957600080fd5b60006138378582860161362a565b92505060206138488582860161363f565b9150509250929050565b6000806040838503121561386557600080fd5b60006138738582860161362a565b9250506020613884858286016136d2565b9150509250929050565b6000602082840312156138a057600080fd5b60006138ae8482850161363f565b91505092915050565b6000602082840312156138c957600080fd5b60006138d784828501613654565b91505092915050565b6000602082840312156138f257600080fd5b600061390084828501613669565b91505092915050565b60006020828403121561391b57600080fd5b600082013567ffffffffffffffff81111561393557600080fd5b613941848285016136a8565b91505092915050565b60006020828403121561395c57600080fd5b600061396a848285016136d2565b91505092915050565b61397c81614636565b82525050565b61398b81614636565b82525050565b61399a81614648565b82525050565b60006139ab82614464565b6139b5818561447a565b93506139c58185602086016146e9565b6139ce816148df565b840191505092915050565b60006139e48261446f565b6139ee818561448b565b93506139fe8185602086016146e9565b613a07816148df565b840191505092915050565b6000613a1d8261446f565b613a27818561449c565b9350613a378185602086016146e9565b80840191505092915050565b60008154613a5081614746565b613a5a818661449c565b94506001821660008114613a755760018114613a8657613ab9565b60ff19831686528186019350613ab9565b613a8f8561444f565b60005b83811015613ab157815481890152600182019150602081019050613a92565b838801955050505b50505092915050565b6000613acf60228361448b565b9150613ada826148f0565b604082019050919050565b6000613af260268361448b565b9150613afd8261493f565b604082019050919050565b6000613b1560208361448b565b9150613b208261498e565b602082019050919050565b6000613b38602a8361448b565b9150613b43826149b7565b604082019050919050565b6000613b5b60238361448b565b9150613b6682614a06565b604082019050919050565b6000613b7e60258361448b565b9150613b8982614a55565b604082019050919050565b6000613ba160318361448b565b9150613bac82614aa4565b604082019050919050565b6000613bc4601f8361448b565b9150613bcf82614af3565b602082019050919050565b6000613be760398361448b565b9150613bf282614b1c565b604082019050919050565b6000613c0a60188361448b565b9150613c1582614b6b565b602082019050919050565b6000613c2d60168361448b565b9150613c3882614b94565b602082019050919050565b6000613c50602b8361448b565b9150613c5b82614bbd565b604082019050919050565b6000613c7360268361448b565b9150613c7e82614c0c565b604082019050919050565b6000613c9660208361448b565b9150613ca182614c5b565b602082019050919050565b6000613cb9602f8361448b565b9150613cc482614c84565b604082019050919050565b6000613cdc601a8361448b565b9150613ce782614cd3565b602082019050919050565b6000613cff60328361448b565b9150613d0a82614cfc565b604082019050919050565b6000613d2260228361448b565b9150613d2d82614d4b565b604082019050919050565b6000613d45601b8361448b565b9150613d5082614d9a565b602082019050919050565b6000613d6860228361448b565b9150613d7382614dc3565b604082019050919050565b6000613d8b60338361448b565b9150613d9682614e12565b604082019050919050565b6000613dae601d8361448b565b9150613db982614e61565b602082019050919050565b6000613dd160218361448b565b9150613ddc82614e8a565b604082019050919050565b6000613df4602e8361448b565b9150613dff82614ed9565b604082019050919050565b6000613e1760268361448b565b9150613e2282614f28565b604082019050919050565b6000613e3a601f8361448b565b9150613e4582614f77565b602082019050919050565b6000613e5d602f8361448b565b9150613e6882614fa0565b604082019050919050565b6000613e80602d8361448b565b9150613e8b82614fef565b604082019050919050565b6000613ea360228361448b565b9150613eae8261503e565b604082019050919050565b604082016000820151613ecf6000850182613973565b506020820151613ee26020850182613ef7565b50505050565b613ef1816146bc565b82525050565b613f00816146c6565b82525050565b6000613f128285613a12565b9150613f1e8284613a12565b91508190509392505050565b6000613f368285613a12565b9150613f428284613a43565b91508190509392505050565b6000602082019050613f636000830184613982565b92915050565b6000608082019050613f7e6000830187613982565b613f8b6020830186613982565b613f986040830185613ee8565b8181036060830152613faa81846139a0565b905095945050505050565b6000602082019050613fca6000830184613991565b92915050565b60006020820190508181036000830152613fea81846139d9565b905092915050565b6000602082019050818103600083015261400b81613ac2565b9050919050565b6000602082019050818103600083015261402b81613ae5565b9050919050565b6000602082019050818103600083015261404b81613b08565b9050919050565b6000602082019050818103600083015261406b81613b2b565b9050919050565b6000602082019050818103600083015261408b81613b4e565b9050919050565b600060208201905081810360008301526140ab81613b71565b9050919050565b600060208201905081810360008301526140cb81613b94565b9050919050565b600060208201905081810360008301526140eb81613bb7565b9050919050565b6000602082019050818103600083015261410b81613bda565b9050919050565b6000602082019050818103600083015261412b81613bfd565b9050919050565b6000602082019050818103600083015261414b81613c20565b9050919050565b6000602082019050818103600083015261416b81613c43565b9050919050565b6000602082019050818103600083015261418b81613c66565b9050919050565b600060208201905081810360008301526141ab81613c89565b9050919050565b600060208201905081810360008301526141cb81613cac565b9050919050565b600060208201905081810360008301526141eb81613ccf565b9050919050565b6000602082019050818103600083015261420b81613cf2565b9050919050565b6000602082019050818103600083015261422b81613d15565b9050919050565b6000602082019050818103600083015261424b81613d38565b9050919050565b6000602082019050818103600083015261426b81613d5b565b9050919050565b6000602082019050818103600083015261428b81613d7e565b9050919050565b600060208201905081810360008301526142ab81613da1565b9050919050565b600060208201905081810360008301526142cb81613dc4565b9050919050565b600060208201905081810360008301526142eb81613de7565b9050919050565b6000602082019050818103600083015261430b81613e0a565b9050919050565b6000602082019050818103600083015261432b81613e2d565b9050919050565b6000602082019050818103600083015261434b81613e50565b9050919050565b6000602082019050818103600083015261436b81613e73565b9050919050565b6000602082019050818103600083015261438b81613e96565b9050919050565b60006040820190506143a76000830184613eb9565b92915050565b60006020820190506143c26000830184613ee8565b92915050565b60006143d26143e3565b90506143de8282614778565b919050565b6000604051905090565b600067ffffffffffffffff821115614408576144076148b0565b5b614411826148df565b9050602081019050919050565b600067ffffffffffffffff821115614439576144386148b0565b5b614442826148df565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006144b282614680565b91506144bd83614680565b9250826fffffffffffffffffffffffffffffffff038211156144e2576144e1614823565b5b828201905092915050565b60006144f8826146bc565b9150614503836146bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561453857614537614823565b5b828201905092915050565b600061454e826146bc565b9150614559836146bc565b92508261456957614568614852565b5b828204905092915050565b600061457f826146bc565b915061458a836146bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145c3576145c2614823565b5b828202905092915050565b60006145d982614680565b91506145e483614680565b9250828210156145f7576145f6614823565b5b828203905092915050565b600061460d826146bc565b9150614618836146bc565b92508282101561462b5761462a614823565b5b828203905092915050565b60006146418261469c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156147075780820151818401526020810190506146ec565b83811115614716576000848401525b50505050565b6000614727826146bc565b9150600082141561473b5761473a614823565b5b600182039050919050565b6000600282049050600182168061475e57607f821691505b6020821081141561477257614771614881565b5b50919050565b614781826148df565b810181811067ffffffffffffffff821117156147a05761479f6148b0565b5b80604052505050565b60006147b4826146bc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147e7576147e6614823565b5b600182019050919050565b60006147fd826146bc565b9150614808836146bc565b92508261481857614817614852565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f7175616e74697479206d757374206265206e6f6e7a65726f0000000000000000600082015250565b7f43616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565646564206d617820746f6b656e2070757263686173650000000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360008201527f6c65616e75700000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b61509681614636565b81146150a157600080fd5b50565b6150ad81614648565b81146150b857600080fd5b50565b6150c481614654565b81146150cf57600080fd5b50565b6150db816146bc565b81146150e657600080fd5b5056fea26469706673582212201b40d0e4bd6b0750eb97ec7074f6d8e4028cc729dffa9f051165e3897356e2f364736f6c63430008010033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001052656576657220496e7369676e69617300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b525652494e5349474e4941000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b68747470733a2f2f757365722d736572766963652d73746167652e656c617269756d2e6465762f6e66742f696e7369676e69612f5265657665722f0000000000000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6176616e742d333032322d63646e2e667261312e63646e2e6469676974616c6f6365616e7370616365732e636f6d2f6e66742f696e7369676e69612f636f6e74726163744d657461646174612e6a736f6e00000000000000

-----Decoded View---------------
Arg [0] : _name (string): Reever Insignias
Arg [1] : _symbol (string): RVRINSIGNIA
Arg [2] : _initBaseURI (string): https://user-service-stage.elarium.dev/nft/insignia/Reever/
Arg [3] : _contractURIParam (string): https://avant-3022-cdn.fra1.cdn.digitaloceanspaces.com/nft/insignia/contractMetadata.json
Arg [4] : maxBatchSize_ (uint256): 1
Arg [5] : collectionSize_ (uint256): 1

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [7] : 52656576657220496e7369676e69617300000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [9] : 525652494e5349474e4941000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000003b
Arg [11] : 68747470733a2f2f757365722d736572766963652d73746167652e656c617269
Arg [12] : 756d2e6465762f6e66742f696e7369676e69612f5265657665722f0000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000059
Arg [14] : 68747470733a2f2f6176616e742d333032322d63646e2e667261312e63646e2e
Arg [15] : 6469676974616c6f6365616e7370616365732e636f6d2f6e66742f696e736967
Arg [16] : 6e69612f636f6e74726163744d657461646174612e6a736f6e00000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.